Can't download Bangumi from bilibili

Checklist

[X] I'm reporting a broken site
[X] I've verified that I'm running yt-dlp version 2022.07.18 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
China
Provide a description that is worded well enough to be understood
I try to download bangumi with url: https://www.bilibili.com/bangumi/play/ss37587 and it failed.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
e$ yt-dlp -vU https://www.bilibili.com/bangumi/play/ss37587
[debug] Command-line config: ['-vU', 'https://www.bilibili.com/bangumi/play/ss37587']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.07.18 [135f05e]
[debug] Python 3.10.4 (CPython 64bit) - Linux-5.15.0-41-generic-x86_64-with-glibc2.35 (glibc 2.35)
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 4.4.2 (setts), ffprobe 4.4.2
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {'https': 'http://<IP_ADDRESS>:1081', 'http': 'http://<IP_ADDRESS>:1081'}
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.07.18, Current version: 2022.07.18
yt-dlp is up to date (2022.07.18)
[debug] [generic] Extracting URL: https://www.bilibili.com/bangumi/play/ss37587
[generic] ss37587: Downloading webpage
WARNING: [generic] Falling back on generic information extractor.
[generic] ss37587: Extracting information
[debug] Looking for video embeds
ERROR: Unsupported URL: https://www.bilibili.com/bangumi/play/ss37587
Traceback (most recent call last):
  File "/home/duhan/source/bbgame/.pygame/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 1431, in wrapper
    return func(self, *args, **kwargs)
  File "/home/duhan/source/bbgame/.pygame/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 1506, in __extract_info
    ie_result = ie.extract(url)
  File "/home/duhan/source/bbgame/.pygame/lib/python3.10/site-packages/yt_dlp/extractor/common.py", line 644, in extract
    ie_result = self._real_extract(url)
  File "/home/duhan/source/bbgame/.pygame/lib/python3.10/site-packages/yt_dlp/extractor/generic.py", line 4108, in _real_extract
    raise UnsupportedError(url)
yt_dlp.utils.UnsupportedError: Unsupported URL: https://www.bilibili.com/bangumi/play/ss37587

Duplicate of #1878


looping service road is skipped, as result parking gets low capacity

https://www.openstreetmap.org/way/60420319
I remember seeing code somewhere that deliberately throws out looping roads.

https://github.com/dabreegster/abstreet/blob/fc761ae0325c2a553201af4b8abf98c881d6a0d2/map_model/src/make/buildings.rs#L237
Geometry is hard. Trying to extract the loops and use them, but it fails sometimes. I'll see if this example reveals some problem in https://github.com/dabreegster/abstreet/blob/fc761ae0325c2a553201af4b8abf98c881d6a0d2/geom/src/polygon.rs#L312

Thanks, it is really great to have this notifications about issues getting fixed :)
Let me know once valuable bug report will be fixed and only ones that are unlikely to be fixed are left (due to them being overly specific or with low ROI or blocked by other issues). Then I can look for some additional stuff being broken :)
(I have plans to submit more code but I admit that it is in category of vague plans and classified as entertaiment)

Let me know once valuable bug report will be fixed and only ones that are unlikely to be fixed are left

All the open issues you've filed are still valuable (good ROI), I'd say most are just blocked / I haven't hit the right mood to attempt them yet. Separate footways, cycleways, trams, etc all need some kind of generalized snapping. Things like #150 and #145 are easier, I'll consider them for warmup tasks this week. #156, #180, and #239 might be blocked another month or so till our UX expert finishes her internship and can give advice again. Feel free to keep submitting bugs if you find more things broken, but I also understand if you'd prefer to wait for more of the current round to be fixed first.


Display expression result in script

It would be very nice to display the result of the expression entered by the user in the script program.

Done. Two lines of code.


[jenkins/stable] Need a way of using an internal LB with helm install

I have a corporate install i'm working on in an EKS cluster and I can't use something like alb-ingress because it is a private cluster also using private subnets with nat gateways. Is there a way to expose the jenkins service to an application internal load balancer in AWS?

Add serviceAnnotations like what I have below to your myvalues.yaml parameter you pass.  Mine are specific to azure AKS.  If you google you can find the annotations you need to EKS.   There are several to get your ALB to work as you wish.
master:
  useSecurity: true
  serviceType: LoadBalancer
  servicePort: 80
  loadBalancerSourceRanges:
    - <IP_ADDRESS>/0
  serviceAnnotations:
    service.beta.kubernetes.io/azure-load-balancer-internal: "true"
    service.beta.kubernetes.io/azure-dns-label-name: jenkins


do not stop when a "MySQL has gone away" error pops

Integrate the https://github.com/facile-it/doctrine-mysql-come-back library in RedCall.
It should be as easy as adding the library and the following configuration:
                wrapper_class: 'Facile\DoctrineMySQLComeBack\Doctrine\DBAL\Connections\MasterSlaveConnection'
                driver_class: 'Facile\DoctrineMySQLComeBack\Doctrine\DBAL\Driver\PDOMySql\Driver'
                options:
                    x_reconnect_attempts: 3

edit: looks not working on GCP, should investigate why.

test last two parameter of this screenshot to avoid "MySQL Server has gone away"

wait_timeout=60
max_allowed_packet=256000
set in dev & prod as of 3rd of July

It doesn't seem to improve the issue.
However, I found that another project based on Symfony implemented a periodic query to DB.
Either set the connection as persistent
if (true === $this->pdo->getAttribute(\PDO::ATTR_PERSISTENT)) {
or implement the ping
https://github.com/GeniusesOfSymfony/WebSocketBundle/issues/197
https://github.com/GeniusesOfSymfony/WebSocketBundle/blob/3.x/docs/PeriodicSetup.md
https://github.com/GeniusesOfSymfony/WebSocketBundle/blob/3.x/src/Periodic/PdoPeriodicPing.php

another try with

set in prod & dev

Still the same issues
Could this be an issue in the session handling ?
Message
Uncaught PHP Exception Doctrine\DBAL\Driver\PDOException: "SQLSTATE[HY000]: General error: 2006 MySQL server has gone away" at /srv/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php line 129
Level
CRITICAL
Env
prod
Platform
fpm-fcgi
Exception
```{
   "class": "Doctrine\\DBAL\\Driver\\PDOException",
   "message": "SQLSTATE[HY000]: General error: 2006 MySQL server has gone away",
   "code": 0,
   "file": "/srv/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:129",
   "trace": [
       "/srv/vendor/symfony/http-foundation/Session/Storage/Handler/PdoSessionHandler.php:401",
       "/srv/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:51",
       "/srv/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:268",
       "/srv/vendor/symfony/http-foundation/Session/Session.php:189",
       "/srv/vendor/symfony/http-kernel/EventListener/AbstractSessionListener.php:121",
       "/srv/vendor/symfony/event-dispatcher/EventDispatcher.php:304",
       "/srv/vendor/symfony/event-dispatcher/EventDispatcher.php:264",
       "/srv/vendor/symfony/event-dispatcher/EventDispatcher.php:239",
       "/srv/vendor/symfony/event-dispatcher/EventDispatcher.php:73",
       "/srv/vendor/symfony/http-kernel/HttpKernel.php:191",
       "/srv/vendor/symfony/http-kernel/HttpKernel.php:179",
       "/srv/vendor/symfony/http-kernel/HttpKernel.php:80",
       "/srv/vendor/symfony/http-kernel/Kernel.php:201",
       "/srv/public/index.php:46"
   ],
   "previous": {
       "class": "PDOException",
       "message": "SQLSTATE[HY000]: General error: 2006 MySQL server has gone away",
       "code": 0,
       "file": "/srv/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:127",
       "trace": [
           "/srv/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:127",
           "/srv/vendor/symfony/http-foundation/Session/Storage/Handler/PdoSessionHandler.php:401",
           "/srv/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:51",
           "/srv/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:268",
           "/srv/vendor/symfony/http-foundation/Session/Session.php:189",
…
Today at 12:22 AM

Even with increase values compared to default, the error keeps occuring while I'm doing nothing (with a tab open on the page), one message per minute.
After closing the tab, the error keep reproducing once per minute.
Removing flags on both DB for now

after removing flags, the error still occurs once per minute

For some reasons, the flags where not removed.
When I stopped the instance this morning, the flags were still there.
the error on the MySQL Serveur side :
(Got a packet bigger than 'max_allowed_packet' bytes)
with a setting of 256'000 which is way less than the default value of 16M
So I removed all flags excepted max_allowed_packet and set it to 32M, which is 33554432 (2^25)(we can use 32M in the google cloud console).
Since then the error does not occurs on a minute frequency.

the max_allowed_packed improved the situation.
however, there's still some occurence of mysql has gone away but for different reason in the MySQL Logs
I've added the slow query monitoring just to check

details about this error :
https://dev.mysql.com/doc/refman/8.0/en/communication-errors.html
other resource :
https://cloud.google.com/sql/docs/mysql/diagnose-issues

@ninsuo maybe there's something to check in the code about closing connection ?

I successfully installed mysql-come-back on symfony side (had an issue with composer caching on GAE, fixed since a few weeks), it should reduce the number of errors related to MySQL.


Signatures are not validated and can cause #request_token to raise errors

See #125 for implementation examples

I got same error when following step 4 in the guide:

token = session.request_token(params).

Is there a workaround to this issue? We'd love to be able to use this rather than rest-client.
Though we've found that if we fetch the token by accessing the API directly using rest-client, it kinda works. By kinda, 'products' API works but the other APIs return 403.

Did you require more scopes than just products? The default example just shows read_orders.
If you are using our omniauth gem, make sure you update your configuration to include the additional permissions you require


added Prims algorithm and different versions of other algorithms in C…

C Language

Added Prims algorithm
HeapSort version 3 with the time taken to run the program (for time complexity calculation)
InsertionSort with the time taken to run the program (for time complexity calculation)

We don't follow the version pattern in the repo, Please follow the mentioned folder structure.
Please add tests.

We don't follow the version pattern in the repo, Please follow the mentioned folder structure.
Please add tests.

Sure , will keep that in mind. And make another pull request.


Reference Paper

Do you have a link to the reference paper?

Sorry, it comes from my lecture notes. I don't know the reference paper.


Horizontal scrolling is not working

Hello all,
I am using  http://app.raw.densitydesign.org/#%2F application and have used twitter bootstrap for accordion. Now, the problem is that when I am adding ui-bootstrap library, it is hiding the default horizontal scrolling functionality. Without this, it works fine. So any suggestion, how can I make it working with this library.
Thanks
Pawan

Please ask support questions on the IRC channel or in Stack Overflow


4.9.3

cc @sipayRT

ok

Coverage remained the same at 83.691% when pulling 448095a218a09dbe7e724266788c09e225fa49d8 on version/4.9.3 into e21a153e8987f11e708a4aae01e72922a5d7543e on master.


Bug: arrow keys do not move cursor in and out of nested editor wrapped in contenteditable="false" in Firefox

Lexical version: 0.5.0
Steps To Reproduce

Open Lexical Playground
Insert sample image
Add a caption
Try pressing the up or down arrow keys to move the cursor from the caption to the parent editor. This will work in Chrome but not in Firefox

The expected behavior
We expect the cursor to move in and out of the nested editor as in Chrome.
It is a Firefox limitation, the problem can be reproduced by having:

1

2

In Chrome the cursor can be moved freely between the first and second div with the arrow keys. The same is not true for Firefox.
Here's a related Firefox issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1289880

Thanks for the report @GiacomoRandazzo!
I'm going to close this though as I'm not sure what we can within Lexical to fix the issue. We tend to use browser-sniffing logic to fix only critical bugs (e.g. composition and pasteboard issues), and this arrow navigation seems more like an inconsistency than a blocking bug.
The error report on the Firefox side seems to encapsulate the issue well enough, and even though its old, it seems they've increased its importance only a few days ago.

Ok, hopefully they will fix it on the Firefox side!


Fix emacs-lsp runnables support with native json

(In that case args is a vector, which string-join doesn't like.)

bors r+


Make warnings page variable missing more explicit

at least add where the warning was thrown from (e.g. {{fill title}} but no title)

Yes please :) I was just trying to sort out where those errors are coming from....

now supported by #603 (released in 0.9.11)


get_similarity issue with overlap

I was curious as to why overlap similarity was so slow. Since there is really no operation other than the intersection going on with it and all the other metrics are just variants on this, not sure why this would be the case.
This slowness has been exhibited in two different corpora (i2b2 and mipacq). I am about to test it on a 3rd internal corpus.
Any insight would be most welcome.
def get_similarity(x, y, n, similarity_name):
    if len(x) == 0 or len(y) == 0:
        # we define similarity between two strings
        # to be 0 if any of the two is empty.
        return 0.

    X, Y = set(make_ngrams(x, n)), set(make_ngrams(y, n))
    intersec = len(X.intersection(Y))

    if similarity_name == 'dice':
        return 2 * intersec / (len(X) + len(Y))
    elif similarity_name == 'jaccard':
        return intersec / (len(X) + len(Y) - intersec)
    elif similarity_name == 'cosine':
        return intersec / numpy.sqrt(len(X) * len(Y))
    elif similarity_name == 'overlap':
        return intersec
    else:
        msg = 'Similarity {} not recognized'.format(similarity_name)
        raise TypeError(msg)

Howdy Luca!
Will do... it might be a bit before I get to it, but it will happen.
Grazie!
On Wed, Jun 19, 2019 at 10:00 AM Luca Soldaini<EMAIL_ADDRESS>wrote:

Hi Greg!
I looked at this briefly and I cannot find any reason why overlap should
be slower. It might have something to do with how the similarity is
implemented in simstring, the underlying matching library, but I couldn't
find any indication of that when I looked at its code.
Since you have the data ready, could you profile the code and check where
the diff in performance is?
-Luca
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Georgetown-IR-Lab/QuickUMLS/issues/45?email_source=notifications&email_token=AAHV3OXRAE75RED263V72K3P3JCZLA5CNFSM4HUTON72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYCESUA#issuecomment-503597392,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHV3OUQDJCJZSYRIZEB4U3P3JCZLANCNFSM4HUTON7Q
.

--
Greg M. Silverman
Senior Systems Developer
NLP/IE https://healthinformatics.umn.edu/research/nlpie-group
University of Minnesota
<EMAIL_ADDRESS>›  evaluate-it.org  ‹


[bump] client: 2.10.0 => 2.11.0 (minor)

Description
Bumped client from 2.10.0 to 2.11.0.
Reviewer Guidance
The review process is outlined on this wiki page.

This must not merge until https://github.com/microsoft/FluidFramework/pull/23132 is merged and possibly a new release blocking issue is resolved.


Ensure cleanup file system before docker build. Opinion needed.

I opened PR that adds vendor/bundle to .dockerignore file template in Rails repo: https://github.com/rails/rails/pull/48540.
However, @byroot correctly mentioned that vendor/bundle can be used by some applications, and maybe it is not a good idea to add it to .dockerignore and .gitignore. Instead, he proposed that Kamal ensure a clean file system before docker build.
I want to hear your opinion on this case and find the best solution.

To clarify, I think beyond this specific vendor/bundle issue that is happening to you, building from a directory that may contain local modifications that weren't committed is risky, as you may accidentally include things you didn't intent do.
It may make sense for kamal to build from a temporary directory created with git archive or similar.
I'm really unfamiliar with kamal though so not too sure.


1789 Implement recommendations from the GradebookNG accessibility audit

Delivers #1789.
Hi @steveswinsburg, sorry, kind of a large PR.
The big changes in here are custom implementations of the DataTable and HeaderToolbar as GbDataTable and GbHeaderToolbar respectively.  I didn't really want to subclass DataTable, but had trouble applying the generics required for the newCellItem override!  Any tips?  I've also customised the HTML for DataTable, adding the row role in there.. but that could be moved to an override of newRowItem if the generics can be fudged!
One trick I had to pull was passing the assignments and categories to the GbHeaderToolbar.  At the moment these are passed to the GbDataTable and stored there.  I wonder if these could become final attributes on the GradebookPage and made accessible via a public getter?  I use these in GbHeaderToolbar to build the categories row.
Cheers,
Payten

OK, big one. Let me have a look and I'll get back to you. I'll merge in the others after a once over. This one is in conflict btw :(

Okidokes! My brain figured out the generics stuff finally.. so I've dropped GbDataTable and now only override the methods we need to inline.  I've also updated GbHeaderToolbar to take the model data it requires to build the extra category header row.  I think that should solve the issues raised in the conversation above.  But let me know there's anything else I can do to improve it..  Thanks!


super-slicer: <IP_ADDRESS> -> <IP_ADDRESS>

super-slicer-latest: <IP_ADDRESS> -> <IP_ADDRESS>
super-slicer-beta: <IP_ADDRESS> -> <IP_ADDRESS>

Update all super-slicer packages to latest stable verison or pre-release where applicable (changelog here)
Add patches for boost 1.86 support
Remove patches for boost 1.79

@cab404 This fixes the build error currently present on master.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

/cc @cab404 @hesiod

Add a :+1: reaction to pull requests you find important.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/5026

lgtm!

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 368795

x86_64-linux

:white_check_mark: 4 packages built:

super-slicer (super-slicer-latest)
super-slicer-beta
super-slicer-beta.debug
super-slicer.debug (super-slicer-latest.debug)


VSCode doesn't provide suggestions after some time

Related to #28396
Issue 1: I am getting completely unrelated diagnostics now

Issue 2: Now I am not getting any suggestions

No logs in the output tab

This could be fixed with https://github.com/ballerina-platform/ballerina-lang/pull/28568

This fix has been merged. Hence closing the issue, if the issue exists still, please reopen


exp/ingest/ledgerbackend: Stream stellar-core logs to file

PR Checklist
PR Structure

[x] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[x] This PR avoids mixing refactoring changes with feature changes (split into two PRs
otherwise).
[x] This PR's title starts with name of package that is most changed in the PR, ex.
services/friendbot, or all or doc if the changes are broad or impact many
packages.

Thoroughness

[ ] This PR adds tests for the most critical parts of the new functionality or fixes.
[x] I've updated any docs (developer docs, .md
files, etc... affected by this change). Take a look in the docs folder for a given service,
like this one.

Release planning

[ ] I've updated the relevant CHANGELOG (here for Horizon) if
needed with deprecations, added features, breaking changes, and DB schema changes.
[ ] I've decided if this PR requires a new major/minor version according to
semver, or if it's mainly a patch change. The PR is targeted at the next
release branch if it's not a patch change.

What
Stream stellar-core logs to file.
Why
Currently we stream logs to stdout what can be hard to read when also Horizon logs are streamed.

shall we create an issue to make this configurable?

Do you mean if logs should be streamed to a file? I'm not sure. We create a file in a tempdir that gets removed when ledger backend is closed so it shouldn't be an issue.

Do you mean if logs should be streamed to a file? I'm not sure. We create a file in a tempdir that gets removed when ledger backend is closed so it shouldn't be an issue.
👍

I think you could use the same writer for both (assuming stellar core writes line by line, which it should).
On top of that, the line writer goroutines should be stopped on Close() (it didn't matter for debugging, when it was commented out, but now they will cause a memory leak).

Originally posted by @2opremio in https://github.com/stellar/go/pull/2694


Draggable property is ignored on custom event renderer

          1. you have typo `draggabe`, should be `draggable`.

It will not work when you do props.draggable = false, then you also spread the {...props}. This will override it.
If you don't want it to be draggable,you can ignore spearding the props

Here is your example event in a snadbox: https://codesandbox.io/p/sandbox/standard-forked-slkl8m?file=%2Fsrc%2FApp.js
Originally posted by @aldabil21 in https://github.com/aldabil21/react-scheduler/issues/297#issuecomment-1896253636

@aldabil21 - I appreciate the quick responses. I will remove the spread {...props}
Sorry to reopen the issue, I was still able to drag it in the sandbox example.
It is not apparent at first, but if you long press on the event, it becomes draggable. Here is a screenshot of me dragging it and
it throws an error after dragging though.

I took more time to check this.
There is no dragging issue within the eventItem it self.
Event item is not draggable.
But you can long press and drag the entier row or multiple cells togather, which may cause this issue.
This is a different kind of a bug, not related to your issue. I will see how can I fix this

Check version 2.8.2


Cannot read property 'source' of undefined

I have upgraded angular to 1.5.0 and am using ui-select version 0.13.1
I get the following error:
Cannot read property 'source' of undefined, at line 1598 of select.js ( var data = $select.parserResult.source (scope, { $select : {search:''}}), //Overwrite $search)
This is my html code:
<ui-select
    required
    ng-model="myController.selectedItem"
    ng-disabled="myController.contract.employee.id !== null &&
    myController.contract.employee.id !== undefined"
    theme="bootstrap">
    <ui-select-match placeholder="Zoek naar medewerker...">{{$select.selected.fullName}}</ui-select-match>
    <ui-select-choices repeat="employee in myController.employees | filter: $select.search | orderBy: 'fullName'">

    </ui-select-choices>
</ui-select>

How can I fix this issue?

https://github.com/angular-ui/ui-select/commit/0e85670ed377148ac3a7d5ef6ff5ed7c46446858

So I have to wait until this fix gets released and then upgrade to Angular 1.5.0?

you can base your dependencies on master, not advised but it should work for now:
#bower.json
    "ui-select": "angular-ui/ui-select#master"

This has been fixed in the v0.14.3 release.


v0.8.9_12: ‘Constant’ option is truncated in landscape view

SEVERITY: Major
MODULE: Bubble Chart
Platform: MAC / Safari 9.0
RELEASE: v0.8.9
STEPS TO REPRODUCE:

Navigate URL: http://static.gapminderdev.org/vizabi/release/v0.8.9/preview/bubblechart.html
Bubble chart page will be loaded
Click “Landscape” view under RESPONSIVENESS
Click “Color” options
Note that ‘Constant’ option is truncated

ACTUAL RESULTS:
‘Constant’ option is truncated in landscape view
EXPECTED RESULTS:
‘Constant’ option should not truncate in landscape view
SCREENSHOT:

that looks very wrong ))) maybe we can overflow: scroll it together with the accordeon?


Documentation does not build

Prework

[x] Read and agree to the code of conduct and contributing guidelines.
[x] If there is already a relevant issue, whether open or closed, comment on the existing thread instead of posting a new issue.

Description
Describe the bug clearly and concisely.
Reproducible example

[x] Post a minimal reproducible example (MRE) so the maintainer can troubleshoot the problems you identify. A reproducible example is:

[x] Runnable: post enough code and data so any onlooker can create the error on their own computer.
[x] Minimal: reduce runtime wherever possible and remove complicated details that are irrelevant to the issue at hand.
[x] Readable: format your code according to the Style Guide for Python Code.

make docs-build fails.

This worked just fine with 0.13.0

    python -m build --wheel --skip-dependency-check --no-isolation

    python -m installer --destdir=tmp_install dist/*.whl
    PYTHONPATH="${PWD}/tmp_install//usr/lib/python3.12/site-packages" make docs-build

gives
ERROR: NotFound: No such file or directory (os error 2): readfile '/home/manuel/src/aur/python-great-tables/src/python-great-tables-0.14.0/docs/a-latex_examples/index.log'
Path: /home/manuel/src/aur/python-great-tables/src/python-great-tables-0.14.0/docs/a-latex_examples/index.log

Stack trace:
Path: /home/manuel/src/aur/python-great-tables/src/python-great-tables-0.14.0/docs/a-latex_examples/index.log
    at readTextFileSync (ext:deno_fs/30_fs.js:859:10)
    at Object.Deno.readTextFileSync (file:///opt/quarto/bin/quarto.js:5047:25)
    at initialCompileLatex (file:///opt/quarto/bin/quarto.js:77172:18)
    at eventLoopTick (ext:core/01_core.js:153:7)
    at async generatePdf (file:///opt/quarto/bin/quarto.js:77118:22)
    at async Object.complete (file:///opt/quarto/bin/quarto.js:77398:27)
    at async file:///opt/quarto/bin/quarto.js:70765:31
    at async withTimingAsync (file:///opt/quarto/bin/quarto.js:19479:25)
    at async Object.complete (file:///opt/quarto/bin/quarto.js:70763:13)
    at async Object.onPostProcess (file:///opt/quarto/bin/quarto.js:78273:36)
make: *** [Makefile:45: docs-build] Error 1

Expected result
Docs build
Development environment

Operating System: Arch Linux
great_tables Version: 0.14.0

Additional context

Deleting docs/a-latex_examples fixes the issue and the docs build as expected

I wonder if this could be related to quarto needing a latex install, or something similar? We regenerate the docs every CI run, and it seems to work okay, so I'm a bit puzzled by what might be causing this error :/


Error message in Data Source configuration

Upon configuring the datasource I receive the error:
_Error

Azure Monitor: MissingSubscription. The request did not have a provided subscription. All requests must have an associated subscription Id. 2. Application Insights: MissingApiVersionParameter. The api-version query parameter (?api-version=) is required for all requests._

Doublechecked subscription-id, definitely nothing wrong with that.

Any suggestions?

Solved: Grafana was not updated to required version.


Create components.xml

This is a high-level block diagram that can be opened/reviewed with https://www.draw.io.
The goal of this PR is to discuss/review and then figure out how to be integrate into the docs.

Codecov Report

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

@@           Coverage Diff           @@
##           master      #34   +/-   ##
=======================================
  Coverage   86.15%   86.15%
=======================================
  Files          40       40
  Lines        2420     2420
=======================================
  Hits         2085     2085
  Misses        335      335

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 ede93f8...9735b96. Read the comment docs.


⚠ Fortnite has degraded performance

In 1413d17, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1622 ms

Resolved: Fortnite performance has improved in 06302c3.


Depth observation in viewer.py has overlapping with previous frames

Habitat-Sim version
v0.2.3
Habitat is under active development, and we advise users to restrict themselves to stable releases. Are you using the latest release version of Habitat-Sim? Your question may already be addressed in the latest version. We may also not be able to help with problems in earlier versions because they sometimes lack the more verbose logging needed for debugging.
Main branch contains 'bleeding edge' code and should be used at your own risk.
Docs and Tutorials
Did you read the docs? https://aihabitat.org/docs/habitat-sim/
yes
Did you check out the tutorials? https://aihabitat.org/tutorial/2020/
yes
Perhaps your question is answered there. If not, carry on!
❓ Questions and Help
I am playing with examples/viewer.py
I added sim_settings['depth_sensor'] = True and use self.sim.get_sensor_observations() after each agent.act(x) to get depth observation and color observation.
The color observation is correct without error, but it seems the buffer of depth observation is not cleared. There is a huge overlapping between the current frame and the previous frames. You can find the effect in the attached images.

That's odd. If you give us a minimal reproducible example script (with details of the scene), we can look at reproducing it.

Please find the testing data and script here
just cd to the directory and
sh run_my_inter_replica.sh

Some of my previous outputs can be found in test_output

Can we get a github repository where we can actually look at code?

sure I also uploaded it to https://github.com/moyutianque/habitat-viewer-test

@moyutianque
This appears to be caused by the depth buffer not being cleared between draws.
Can you add this code immediately before self.sim.get_sensor_observations():
mn.gl.default_framebuffer.clear(mn.gl.FramebufferClear.COLOR | mn.gl.FramebufferClear.DEPTH)

@moyutianque
This appears to be caused by the depth buffer not being cleared between draws.
Can you add this code immediately before self.sim.get_sensor_observations():
mn.gl.default_framebuffer.clear(mn.gl.FramebufferClear.COLOR | mn.gl.FramebufferClear.DEPTH)

I tried to add this line in multiple places, but it seems the depth buffer is still not being cleared. It is strange that rgb and semantic observations do not have these overlapping effects.

Update, it seems without using from magnum.platform.glfw import Application as the interactive interface, the depth rendering does not have problems. I tried to keep settings the same but directly visualize observations by PIL.

Hi. Have you guys solved this problem? Same problem with me and any response will be greatly appreciated.

Hi. Have you guys solved this problem? Same problem with me and any response will be greatly appreciated.

not solved. I give up using this interactive version

I managed to "solve" this in a residual way.
if self.has_prev_depth:
                render_depth = obs['depth_sensor'] - self.prev_depth
            else:
                self.has_prev_depth = True
                render_depth = obs['depth_sensor']

            self.prev_depth = obs['depth_sensor']

And the render_depth is the depth value I get. Although this method doesnt tackle the root cause, it helps me get the depth observation.

@DummyNodeHead how did you run the viewer for the replica dataset? How to find the proper json file for that?
For me it never works.

@DummyNodeHead how did you run the viewer for the replica dataset? How to find the proper json file for that? For me it never works.

Hi. I met this problem before but I almost forget it now. Maybe you can show some details so I can help you. :)
Now this command works for me.
./build/viewer --dataset /PATH/TO/REPLICA/replica.scene_dataset_config.json -- frl_apartment_0


Ignoring RPC to TreeServerRpc.contextClick as no RPC implementation is registered

This is a really weird issue. I have two Trees on the application. One is defined in the UI class and one in a custom component. When I click on the first Tree I get the context menus, but I get this warning when I try the same on the tree in the custom component:
WARNING: Ignoring RPC call to com.vaadin.shared.ui.tree.TreeServerRpc.contextClick in connector com.vaadin.ui.Tree(99) as no RPC implementation is registered

Any idea?
The sources are here. The custom component is here.
This is on version 0.7.5 since I'm using Vaadin 7.7.10.

Is 3.0.0 compatible with Vaadin 7?

Ooops... I read it wrong.
Implemented for 8 but not for 7.

Thanks!


Improve CucumberExpression creation performance

🤔 What's changed?
I rewrote a regular expression to improve CucumberExpression creation performance.
⚡ What's your motivation?
My motivation is to have a better performance for the Cucumber framework.
I made a benchmark with JMH which shows that the modified method is about 15% faster (see escapeRegex2 below) :
Benchmark                                  Mode  Cnt       Score       Error  Units
CucumberExpressionBenchmark.escapeRegex0  thrpt   25  726563,091 ± 15558,020  ops/s
CucumberExpressionBenchmark.escapeRegex2  thrpt   25  833512,235 ± 25088,968  ops/s
🏷 What kind of change is this?

:bank: Refactoring/debt/DX (improvement to code design, tooling, documentation etc. without changing behaviour)

♻ Anything particular you want feedback on?
Nothing.
📋 Checklist:

[x] I agree to respect and uphold the Cucumber Community Code of Conduct
[ ] I've changed the behaviour of the code

Merged with 2ab6baddc52752a7394beb5d46198151f67e4b3a


Hugging Face Error

Looks like the hugging face space no longer exist. https://limcheekin-bge-small-en-v1-5.hf.space/v1
Receiving the following error
Your space is on error, check its status on hf.co

Thanks for report the issue.
I fixed the HF_HOME environment variable error. Next, it return 500 Internal Server Error with the following error trace:
    | Traceback (most recent call last):
    |   File "/usr/local/lib/python3.11/site-packages/uvicorn/protocols/http/h11_impl.py", line 408, in run_asgi
    |     result = await app(  # type: ignore[func-returns-value]
    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "/usr/local/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in __call__
    |     return await self.app(scope, receive, send)
    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |   File "/usr/local/lib/python3.11/site-packages/fastapi/applications.py", line 1054, in __call__
    |     await super().__call__(scope, receive, send)
    |   File "/usr/local/lib/python3.11/site-packages/starlette/applications.py", line 116, in __call__
    |     await self.middleware_stack(scope, receive, send)
    |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 186, in __call__
    |     raise exc
    |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 164, in __call__
    |     await self.app(scope, receive, _send)
    |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/gzip.py", line 24, in __call__
    |     await responder(scope, receive, send)
    |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/gzip.py", line 44, in __call__
    |     await self.app(scope, receive, self.send_with_gzip)
    |   File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 189, in __call__
    |     with collapse_excgroups():
    |   File "/usr/local/lib/python3.11/contextlib.py", line 158, in __exit__
    |     self.gen.throw(typ, value, traceback)

I think the error is HF space specific as it is not happened in AWS Lambda function.
As I am busy on other stuff now, please help to look into it if you are urgent. Just duplicate the space and comment out the code at https://github.com/limcheekin/open-text-embeddings/blob/main/open/text/embeddings/server/app.py#L43 to see whether it fix the error (You need to modify the Dockfile to use the code instead of the open-text-embeddings package).

Fixed in release 1.0.4


Fix use of deprecated functionality

  Error: Test failures
  In addition: Warning messages:
  1: Cookies argument is depcrated
  2: Cookies argument is depcrated
  3: Cookies argument is depcrated

Noticed in PR #83

Looks like the use of cookies param only occurs in some tests.


Error in SAML Single Log Out (POST Binding)

Describe the issue:

Single Log out with SAML not working for the 2 applications saml2-web-app-pickup-dispatch and saml2-web-app-pickup-manager even though Single Sign On works without issue.
Issue is common for users in both primary and secondary user stores.

How to reproduce:

Log in to web app 1 (saml2-web-app-pickup-dispatch) app using the credentials of a user in primary or secondary user store.
SSO will allow automatic signing in to the web app 2 (saml2-web-app-pickup-manager).
Sign out of web app 1.
Go to web app 2 home page and refresh the page.
User will not be logged out of web app 2.

Expected behavior:

User should be automatically logged out of web app 2 when he logged out of web app 1.

https://user-images.githubusercontent.com/43103902/170529674-cc958f4b-deed-4a79-8ea0-e98fa788733c.mov
Environment information

Product Version: IS 6.0.0
OS: Mac OS 12.4
Database: MySQL 8.0.29
User store: Primary and Secondary
Browser: Firefox 91.0

PS:- Even though refreshing the web app 2 page won't log out the user, you can go to the login page manually using the URL. From there, user credentials will be requested again to sign in to the app.

Since these are back-channel logouts, apps doesn't logout automatically. Becuase, back-channel logouts are received by the backend. Frontend needs to talk to back-end and logout the app. SAML pickup-dispatch and pickup-manager don't have the support for that yet. We can implement some polling mechanism and logout the app automatically.
If you try to go to index.jsp and click there, you will be prompted with login page when the other app is logged out.

@piraveena do we have any example for corss protocal logout, i have checked pickup dispatch(OIDC) and pickup manager(smal) app with the wso2 6.0.0 , here also single logout not working.
Even though refreshing the app page won't log out the user.

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


[Bug]: Streaming Issue (no HKSV)

What happened?
Pre-posting Checklist:
This guide is essential for addressing streaming-related issues effectively.
Step 1: Verify Your Plugin Version: It should be 3.0.0+
Step 2: Ensure Compatibility with NodeJS Versions:
Avoid using versions ^18.19.1 || ^20.11.1 || ^21.6.2
If encountering the following warnings:
[04/16/2024, 20:17:55]  [EufySecurity]  ERROR   Unable to start the livestream: No livestream emitted... An issue exists between HB and your camera!

or
      ***************************
      ****** ERROR MESSAGE ******
      ***************************
      Error: Your current Node.js version (${version}) is incompatible with the RSA_PKCS1_PADDING used by the plugin.
      Operating the plugin with an incompatible Node.js version may disrupt livestream functionality.

      To override this warning, configure a specific parameter in the global configuration.
      To resolve this issue, consider downgrading to a compatible version using a command like: sudo hb-service update-node 20.11.0.

      Incompatible Node.js versions include those within the following ranges:
      - Node.js 18.x.x (from 18.19.1 to the next major release)
      - Node.js 20.x.x (from 20.11.1 to the next major release)
      - Node.js 21.x.x (from 21.6.2 to the next major release)

      For guidance on upgrading or downgrading Node.js, see: https://github.com/homebridge/homebridge/wiki/How-To-Update-Node.js
      For details on the security vulnerability affecting Node.js, visit:
      https://nodejs.org/en/blog/vulnerability/february-2024-security-releases#nodejs-is-vulnerable-to-the-marvin-attack-timing-variant-of-the-bleichenbacher-attack-against-pkcs1-v15-padding-cve-2023-46809---medium
      ***************************

Step 3: Utilize Default Video Configuration
Ensure adherence to the default video configuration; thus, your JSON configuration file must align with the provided one below.
Step 4: Activate Debug Mode; some debug messages are highly informative.
Device Type
Doorbell (Supported)
Plugin Version
v3.0.x (Best Effort)
HomeBridge Version
v1.7.x (Supported)
NodeJS Version
v20 (Supported)
Operating System
Raspbian 10+ (Supported)
Relevant log output
*

config
{
  platform: 'EufySecurity',
  username: '[***]',
  password: '[***]',
  deviceName: 'IPHONE12',
  enableDetailedLogging: true,
  omitLogFiles: false,
  CameraMaxLivestreamDuration: 30,
  pollingIntervalMinutes: 10,
  hkHome: 1,
  hkAway: 0,
  hkNight: 3,
  hkOff: 63,
  ignoreStations: '[***]',
  ignoreDevices: '[***]',
  country: 'FR',
  stations: [],
  cameras: [
    {
      serialNumber: '[***]',
      rtsp: false
    },
    {
      serialNumber: '[***]',
      rtsp: false,
      snapshotHandlingMethod: 2
    },
    {
      serialNumber: '[***]',
      rtsp: false,
      snapshotHandlingMethod: 2
    },
    {
      serialNumber: '[***]',
      rtsp: false
    },
    {
      serialNumber: '[***]',
      rtsp: false
    },
    {
      serialNumber: '[***]',
      rtsp: false,
      enableCamera: true,
      videoConfig: {
        maxWidth: 640,
        maxHeight: 480,
        maxFPS: 15,
        useSeparateProcesses: true
      },
      snapshotHandlingMethod: 2,
      talkback: true
    },
    {
      serialNumber: '[***]',
      rtsp: false
    },
    {
      serialNumber: '[***]',
      rtsp: false,
      talkback: false
    },
    {
      serialNumber: '[***]',
      rtsp: false,
      talkback: false
    },
    {
      serialNumber: '[***]',
      rtsp: false,
      talkback: false
    },
    {
      serialNumber: '[***]',
      rtsp: false,
      snapshotHandlingMethod: 2,
      enableButton: false,
      motionButton: true,
      lightButton: false,
      hsv: true
    }
  ],
  cleanCache: true,
  ignoreMultipleDevicesWarning: false,
  autoSyncStation: false,
  nodejs_security: false
}

I'm confused on the node version to use, pre-posting checklist has 20.11.1 as avoid but under step 4 is has v20 as supported. I'm running v20.11.0 and am not sure if that's the reason why my HKSV isn't working or not?


[Bug]: Wallet provider not updating correctly when network is changed

Current Behavior
Wallet provider isn't updated correctly after the network is changed to the correct network.
Expected Behavior
Wallet provider should change when new network is selected instead of changing when the network select process begins.
Steps To Reproduce

Create default Onboard() object with network set to 1
Connect to network (walletSelect(), walletCheck())
walletReset()
onBoard.config({networkId: 4});
Connect to network (walletSelect(), walletCheck())

Onboard Version
1.37.2
Node Version
14
What browsers are you seeing the problem on?
Firefox
Relevant log output
No response
Anything else?
No response

@chiuzon Which wallet are you using? And what do you mean by "Wallet provider should change"?

@greedythib This seems like a separate issue? Is this the issue with the network value returned from the network callback?

Some users are reporting a similar issue with the 1inch mobile wallet. When changing networks on the app (eg Ethereum to Polygon) it doesn't trigger the subscriptions network callback so it makes it impossible to do any transactions because onboardjs doesn't detect the mobile wallet network
...
subscriptions: {
  network: (connectedNetworkId) => {
   // this doesn't get trigged on network change on certain wallets
  }
}

@miguelmota is this still an issue you are experiencing? Our current recommendation would be to upgrade to the latest version of web3-onboard that has active development teams working on features, enhancements and bugs

Closing this issue as I have been unable to contact. Please reopen if the issue persists


[FALSE-POSITIVE]

Domains or links
baky.com.br
More Information
How did you discover your web site or domain was listed here?
Through the ImunifyAv plugin for cPanel
Have you requested removal from other sources?
A few weeks ago I requested the delist of several services, but I don't remember exactly which ones. According to the report on the virustotal website, there are no more records.
Additional context
The site used outdated laravel dependencies that allowed remote code injection. We updated the framework and now these vulnerabilities no longer exist.
I requested the removal through a pull request in the other repository but it was closed, however the domain baky.com.br is still listed here. https://github.com/mitchellkrogza/phishing/pull/407

My search tool is usually quit stable... Let us see if you have found a bug. How re-opened https://github.com/mitchellkrogza/phishing/pull/407, let talk there, rather than just give up

Closing. -- Will be solved by the next batch of updates.


Are you planning integrate recaptcha v3 ?

btw. thanks for your great plugin :)

Hi, thanks for the kind words! Unfortunately I don't have the time to support newer versions, but you could contribute a PR!


Assert that commented out mocks got called in test_device_discovery.py

We have some tests that shall assert whether some methods had been called. Therefore we use mocks and the mock.assert_called_once() method. assert_called_once is however only available in Python 3.6, our testing environment uses Python 3.5.
Either the commented-out code is back-ported to Python 3.5 or we use Python 3.6 in the future.
The commented code can be found here (with direct links to the according lines):
https://github.com/getsenic/senic-hub/pull/229/files#diff-5e3a700b278df8631d124b40d528682fR34
and here:
https://github.com/getsenic/senic-hub/pull/229/files#diff-5e3a700b278df8631d124b40d528682fR51

@kelada : This seems to be doing something with HomeAssistant. Should I investigate right away, or decide it's fate later?


Tray icon invisible on Linux

Ramme's tray icon is invisible.

OS: Linux Mint 18.1 Cinnamon Edition
Theme: Adapta-Nokto
Icons: Numix-Circle

Happens on Arch Linux, too. (KDE5 Plasma desktop)

@Fincer can you maybe take a look at this? I don't have a linux desktop

I could but do you have any instructions how to debug the program? I'm currently using AUR version of the program which is based on the Ramme .deb installation package.
I don't have any terminal output for ramme executable and when I try gdb tool (GNU Debugger) it complains that the executable is not compiled with debug symbols.
You may consider setting up a virtual linux desktop environment (VirtualBox + Lubuntu) for quick testing purposes if you care.
One thing that came to mind:
there have been issues like this one (electron) so this may relate to electron after all. Hard to say right now.

It's seems that electron's nativeImage returns an empty object when we use nativeImage.createFromPath. There's an open issue about that.
Also, the tray icons are not perfect for now (the icon sizes shouldn't be 18x18)
I will see how i can workaround this

Fixed that on master!

Can you reproduce this issue with the latest version?

I can confirm this issue appears fixed in version 3.2.1 on Ubuntu 16.10 64 bit. Thanks!

It's visible :)

Perfect! We will try to make it look better on the next versions :)


Move TIME_FORMAT_STRINGS to SasFileConstants

The DataWriterUtil class contains the following private static method:
    private static final List<String> TIME_FORMAT_STRINGS = Arrays.asList("TIME", "HHMM");
As SasFileConstants has been recently changed to a public interface, could TIME_FORMAT_STRINGS be moved to it, to accompany DATE_FORMAT_STRINGS and DATE_TIME_FORMAT_STRINGS? If so, then other formats could be added as well such as  "E8601LZ", "E8601TM", "MMSS", "HOUR" and "TIMEAMPM".

Currently TIME_FORMAT_STRINGS is used only to format time while writing to .csv file. We can add other formats that you listed above to support more formats when writing to the output file, but I'm not sure that we need to move TIME_FORMAT_STRINGS from DataWriterUtil class to SasFileConstants. Are you going to use these formats in any way if they bacome public?

Yes, I already use DATE_FORMAT_STRINGS and DATE_TIME_FORMAT_STRINGS from SasFileConstants and was looking for an equivalent for time-related formats. I thought it would be handy to have it available in SasFileConstants. For the moment I'm defining it myself within my project, as:
    Set<String> TIME_FORMAT_STRINGS = new HashSet<String>(Arrays.asList(
            "E8601LZ", "E8601TM", "HHMM", "HOUR", "MMSS", "TIME", "TIMEAMPM"
    ));

Ok, I'll move it to public interface. Maybe you have source sas7bdat files which you can share with us to test these new formats? If yes, I'll try to use these formats when writing to .csv file.

That's great, thanks. I've created a dataset for this and added it via pull request https://github.com/epam/parso/pull/49.

Thanks very much!

TIME_FORMAT_STRINGS moved to DateTimeConstants.


Canon - New utility classes for the Box component

We are removing @vanilla-extract/sprinkles in favour of our own CSS utilities tooling. This PR is a first step towards that direction.

Creation of the new CSS utility classes in CSS.
Create a new function to map props to the right CSS class names.
Update the Box component to use these new class names.
Improve stories for Box so we can be confident in our testing.
Improve types across the board.
Remove sprinkles from the Box component.

lots of code but much better than relying on generating these at build-time imo. It could be that it's worth having a script that can generate the CSS, but we could wait to see how many changes we are making first.

Yes 100% agree with you. It took me a day in total to build all these classes with AI. They should not change much overtime so. The only thing is about testing. If we had a script we would be more confident about not missing anything. But we'll need a script anyway before releasing the library to minify everything. So maybe I'll do a pass after to do that.


Cannot use env var as a release name

Orb version: 1.0.0
What happened:
I used the example and set my release name to CircleCI: ${CIRCLE_JOB}/${CIRCLE_BUILD_NUM}
Unfortunately the env var are not processed and therefore on Instana I have literally
CircleCI: ${CIRCLE_JOB}/${CIRCLE_BUILD_NUM}.
Expected behavior:
Release name should be like CircleCI: my-job/1024
Additional informations

Hi, thanks for the bug report! Fixed it with #a323b00ed5974ccf96f43073341aaa12a289cc9b


emplace does not exist on registry

I read through the docs and decided to try out a test run but noticed that registry.emplace(entity, ...) doesn't exist?

emplace is only available from master (where assign is deprecated). The wiki refers to it. The documentation for the last release is here instead.
Maybe you're trying to use emplace with the last tag? In this case, the right name is assign.

I assume this has been answered. I'm closing the issue. Feel free to reopen it if you still have doubts.

Yes this is answered now thank you. Sorry, I missed the part of the documentation mentioning the change.

Not a problem. Thanks for asking! :+1: :wink:

emplace is only available from master (where assign is deprecated). The wiki refers to it. The documentation for the last release is here instead.
Maybe you're trying to use emplace with the last tag? In this case, the right name is assign.

I am completely new to entt. I am trying to adapt the example given in "Code Example" from the wiki and it does contain emplace. I don't know what "last tag" means. Using vcpkg to get entt, it is at version v3.3.2-057721244e I believe.

@LiliumAtratum vcpkg contains now the last stable version (v3.4.0). Just update it and the example in the README should compile.

Indeed it does. I forgot to update the ports repository. My apologies.

Don't worry. You're welcome. :+1:

@LiliumAtratum vcpkg contains now the last stable version (v3.4.0). Just update it and the example in the README should compile.

vcpkg search entt only lists entt v 3.3.2

@DanielGarwart You might need to do a git pull in the vcpkg directory. The EnTT portfile is at v3.4.0

@DanielGarwart You might need to do a git pull in the vcpkg directory. The EnTT portfile is at v3.4.0

Yup fixed it.


feat(dockerfiles): add support to docker secrets for configs (#58)

Add support to pass sensitive config fields through docker secrets in addition to env variables (for security reasons).
Configurable docker secrets fields: (s3-registry) access-key-id and secret-access-key.
Add SECRETS_FILE_PATH env variable to customize secrets location inside the container.

fixes #58

Thanks for the contribution! I'll look at it as soon as I can

Generally this is a really good approach, and a good implementation (👍 for adding documentation 😃)  Can you add an implementation for the other implementations (azure blobs, redis) please?

@eladav Thank you for the feedback 😀

Can you add an implementation for the other implementations (azure blobs, redis) please?
Since all the configs in the other implementations are already read from a file, using docker secrets through file is already possible.
However, I agree we still can offer a clearer way to specify docker secrets (documentation and examples). I'll think of a way to implement this as soon as I can.

Since we have some issues with GH actions I'll merge it using admin super powers... we'll work on fixing this ASAP


chore(vendor): sync go mod vendor

Required after the backport in 491640b1d22d1ab39e1d7a6b5275d43d0a136fbd

Release Note
NONE

cc @astefanutti mind having a quick look?

Damn, I forgot API are also vendored.

:)
One more reason to have some automation to sync and take care of mod vendor as well!


Mock Regionprop throws error

Describe the bug
See screenshot below.  The bug is caused by mock regionprop's automatic calculation of "mean_intensity", which slices a subregion of the "intensity_image".  Specifically, mock regionprop receives a centroid coordinate that is negative, which causes the errant slicing.
To Reproduce
Steps to reproduce the behavior:

Run well "B3" from this data:
/Volumes/GoogleDrive/My Drive/ELISAarrayReader/images_cuttlefish/2020-05-01-17-29-54-COVID_May1_JBassay_images/rotated
use master branch (5-11-2020)

Expected behavior
Error with the screenshot below
Screenshots

Operating environment (please complete the following information):

OS: MacOSX, Master, branch=fishy_registration, branch=enhance_spot_contrast

There are many potential solutions to this:

we can catch the error at mock regionprop
we can catch the error before "get_spot_intensity" is called by catching negative spot coordinates

I prefer option 2 -- it enables us to do some upfront catches to flag poor data.

Thanks for catching this @bryantChhun , I'll work on it this afternoon.

@jennyfolkesson another note.  I think this can happen if the centroid is too close to the edge of the cropped image as well.
This makes me wonder if there's a way we can impose boundaries on the position of the grid.  Or even fancier, some kind of nonlinear loss on the grid positioning such that grids far from center are penalized.

@bryantChhun There was a bug in how images were cropped which I fixed now, as well as discontinuing the analysis when registration fails. I hope that has solved the problem.
Ideally grid positioning far from the center would be less likely due to less particles there, if the problem persists we can look into tuning the particle x, y standard deviations.

This looks fixed in the newest #60 PR.  Will close after we merge.


Draft UML 2.5.1 Chapter 15 figures using PlantUML

Figures from Chapter 15, UML 2.5.1 Specification available at:
https://www.omg.org/spec/UML/2.5.1/PDF
List of Figures

[x] Figure 15.1 Activities
[x] Figure 15.2 Activity notation
[x] Figure 15.3 Activity class notation
[x] Figure 15.4 ActivityNode notation
[x] Figure 15.5 ActivityEdge notation
[ ] Figure 15.6 ActivityEdge connector notation
[ ] Figure 15.7 ActivityEdge notation
[ ] Figure 15.8 ControlFlow notation
[ ] Figure 15.9 ObjectFlow notations
[ ] Figure 15.10 Specifying selection behavior on an ObjectFlow
[ ] Figure 15.11 Eliding objects flowing on the edge
[ ] Figure 15.12 Activity node example (where the arrowed lines are the only non-activity node symbols)
[ ] Figure 15.13 ActivityEdge examples
[ ] Figure 15.14 ObjectFlow example
[ ] Figure 15.15 Eliding objects flowing on the edge
[ ] Figure 15.16 Specifying selection and transformation Behaviors on an ObjectFlow
[ ] Figure 15.17 Linking a class diagram to an object node
[ ] Figure 15.18 Specifying multicast and multireceive on the edge
[ ] Figure 15.19 ActivityEdge connector example
[ ] Figure 15.20 Equivalent model
[ ] Figure 15.21 ActivityEdge weight examples
[ ] Figure 15.22 Example of an activity with input parameter
[ ] Figure 15.23 Part selection workflow example
[ ] Figure 15.24 Trouble ticket workflow example
[ ] Figure 15.25 Activity with attributes and operations
[ ] Figure 15.26 Control Nodes
[x] Figure 15.27 InitialNode notation
[x] Figure 15.28 FinalNode notation
[ ] Figure 15.29 ForkNode and JoinNode notation
[ ] Figure 15.30 joinSpec notation
[ ] Figure 15.31 Combined JoinNode/ ForkNode notation
[ ] Figure 15.32 MergeNode notation
[ ] Figure 15.33 DecisionNode notation
[ ] Figure 15.34 Combined MergeNode/DecisionNode notation
[ ] Figure 15.35 InitialNode example
[ ] Figure 15.36 ForkNode example
[ ] Figure 15.37 JoinNode example
[ ] Figure 15.38 joinSpec example
[ ] Figure 15.39 MergeNode example
[ ] Figure 15.40 DecisionNode example
[ ] Figure 15.41 DecisionNode example with decisionInput
[ ] Figure 15.42 ActivityFinalNode example
[ ] Figure 15.43 ActivityFinalNode example
[ ] Figure 15.44 ActivityFinalNode example
[ ] Figure 15.45 FlowFinalNode example
[ ] Figure 15.46 FlowFinalNode and ActivityFinalNode example
[ ] Figure 15.47 ControlNode examples (with accompanying actions and control flows)
[ ] Figure 15.48 Object Nodes
[ ] Figure 15.49 ObjectNode notations
[ ] Figure 15.50 ObjectNode annotations
[ ] Figure 15.51 Specifying selection behavior on an ObjectNode
[ ] Figure 15.52 Notation for stream and exception parameters
[ ] Figure 15.53 Presentation option for flows between pins and parameter nodes
[ ] Figure 15.54 Optional CentralBufferNode notation
[ ] Figure 15.55 DataStoreNode notation
[ ] Figure 15.56 Example of ActivityParameterNodes for regular and exception Parameters
[ ] Figure 15.57 Example of ActivityParameterNodes for streaming Parameters
[ ] Figure 15.58 CentralBufferNode example
[ ] Figure 15.59 DataStoreNode example
[ ] Figure 15.60 Executable Nodes
[ ] Figure 15.61 ExecutableNode notation
[ ] Figure 15.62 ExceptionHandler notation
[ ] Figure 15.63 Alternative ExceptionHandler notation
[ ] Figure 15.64 ExceptionHandler example
[ ] Figure 15.65 ActivityGroups
[ ] Figure 15.66 ActivityPartition notations
[ ] Figure 15.67 ActivityPartition notations
[ ] Figure 15.68 InterruptableActivityRegion
[ ] Figure 15.69 InterruptableActivityRegion alternative notation
[ ] Figure 15.70 ActivityPartitions using swimlane notation
[ ] Figure 15.71 ActivityPartitions using annotation
[ ] Figure 15.72 ActivityPartitions using multidimensional swimlane notation
[ ] Figure 15.73 InterruptableActivityRegion example

Possible issue on UML Specification: Figure 15.5 and Figure 15.7 have the same examples. Figure 15.5 has no example of guards, "square brackets near tail of the line.".


python311Packages.pyqtgraph: 0.13.4 -> 0.13.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.pyqtgraph is: Scientific Graphics and GUI Library for Python
meta.homepage for python311Packages.pyqtgraph is: https://www.pyqtgraph.org/
meta.changelog for python311Packages.pyqtgraph is: https://github.com/pyqtgraph/pyqtgraph/blob/master/CHANGELOG
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.13.5 with grep in /nix/store/y74zbf7j2zda1pjqj5wpcazyyx77w1a5-python3.11-pyqtgraph-0.13.5
found 0.13.5 in filename of file in /nix/store/y74zbf7j2zda1pjqj5wpcazyyx77w1a5-python3.11-pyqtgraph-0.13.5

Rebuild report (if merged into master) (click to expand)

24 total rebuild path(s)

24 package rebuild(s)

First fifty rebuilds by attrpath

gnss-sdr
gnuradio
gnuradio3_9
gnuradio3_9Minimal
gnuradio3_9Packages.grnet
gnuradio3_9Packages.osmosdr
gnuradioMinimal
gnuradioPackages.osmosdr
gqrx
gqrx-gr-audio
gqrx-portaudio
hifiscan
inkcut
inkscape-extensions.inkcut
linien-gui
opcua-client-gui
python311Packages.binwalk-full
python311Packages.enamlx
python311Packages.orange-widget-base
python311Packages.orange3
python311Packages.pyqtgraph
python311Packages.stytra
tribler

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/y74zbf7j2zda1pjqj5wpcazyyx77w1a5-python3.11-pyqtgraph-0.13.5 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python311Packages.pyqtgraph https://github.com/r-ryantm/nixpkgs/archive/e6c8fa79d5f04ca6c6eae1cc8ec3094288e109b5.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/e6c8fa79d5f04ca6c6eae1cc8ec3094288e109b5#python311Packages.pyqtgraph

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/y74zbf7j2zda1pjqj5wpcazyyx77w1a5-python3.11-pyqtgraph-0.13.5
ls -la /nix/store/y74zbf7j2zda1pjqj5wpcazyyx77w1a5-python3.11-pyqtgraph-0.13.5/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

2 packages marked as broken and skipped:

python311Packages.stytra
python311Packages.stytra.dist

4 packages failed to build:

python311Packages.orange-widget-base
python311Packages.orange-widget-base.dist
python311Packages.orange3
python311Packages.orange3.dist

28 packages built:

gnss-sdr
gnuradio
gnuradio3_9
gnuradioMinimal (gnuradio3_9Minimal)
gnuradio3_9Packages.grnet
gnuradio3_9Packages.osmosdr
gnuradio3_9Packages.osmosdr.dev
gnuradioPackages.osmosdr
gnuradioPackages.osmosdr.dev
gqrx
gqrx-gr-audio
gqrx-portaudio
hifiscan
hifiscan.dist
inkcut
inkcut.dist
inkscape-extensions.inkcut
linien-gui
linien-gui.dist
opcua-client-gui
opcua-client-gui.dist
python311Packages.binwalk-full
python311Packages.binwalk-full.dist
python311Packages.enamlx
python311Packages.enamlx.dist
python311Packages.pyqtgraph
python311Packages.pyqtgraph.dist
tribler

Maintainer pings
cc @k0ral for testing.

Looks good to me :+1: .

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.pyqtgraph is: Scientific Graphics and GUI Library for Python
meta.homepage for python311Packages.pyqtgraph is: https://www.pyqtgraph.org/
meta.changelog for python311Packages.pyqtgraph is: https://github.com/pyqtgraph/pyqtgraph/blob/master/CHANGELOG
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.13.6 with grep in /nix/store/sbik90sk4jck4cf5n37q9x7frk4lgla5-python3.11-pyqtgraph-0.13.6
found 0.13.6 in filename of file in /nix/store/sbik90sk4jck4cf5n37q9x7frk4lgla5-python3.11-pyqtgraph-0.13.6

Rebuild report (if merged into master) (click to expand)

24 total rebuild path(s)

24 package rebuild(s)

First fifty rebuilds by attrpath

gnss-sdr
gnuradio
gnuradio3_9
gnuradio3_9Minimal
gnuradio3_9Packages.grnet
gnuradio3_9Packages.osmosdr
gnuradioMinimal
gnuradioPackages.osmosdr
gqrx
gqrx-gr-audio
gqrx-portaudio
hifiscan
inkcut
inkscape-extensions.inkcut
linien-gui
opcua-client-gui
python311Packages.binwalk-full
python311Packages.enamlx
python311Packages.orange-widget-base
python311Packages.orange3
python311Packages.pyqtgraph
python311Packages.stytra
tribler

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/sbik90sk4jck4cf5n37q9x7frk4lgla5-python3.11-pyqtgraph-0.13.6 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python311Packages.pyqtgraph https://github.com/r-ryantm/nixpkgs/archive/09668973876ce24c92d245a64a76a9ee6695aa12.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/09668973876ce24c92d245a64a76a9ee6695aa12#python311Packages.pyqtgraph

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/sbik90sk4jck4cf5n37q9x7frk4lgla5-python3.11-pyqtgraph-0.13.6
ls -la /nix/store/sbik90sk4jck4cf5n37q9x7frk4lgla5-python3.11-pyqtgraph-0.13.6/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

2 packages marked as broken and skipped:

python311Packages.stytra
python311Packages.stytra.dist

4 packages failed to build:

python311Packages.orange-widget-base
python311Packages.orange-widget-base.dist
python311Packages.orange3
python311Packages.orange3.dist

28 packages built:

gnss-sdr
gnuradio
gnuradio3_9
gnuradioMinimal (gnuradio3_9Minimal)
gnuradio3_9Packages.grnet
gnuradio3_9Packages.osmosdr
gnuradio3_9Packages.osmosdr.dev
gnuradioPackages.osmosdr
gnuradioPackages.osmosdr.dev
gqrx
gqrx-gr-audio
gqrx-portaudio
hifiscan
hifiscan.dist
inkcut
inkcut.dist
inkscape-extensions.inkcut
linien-gui
linien-gui.dist
opcua-client-gui
opcua-client-gui.dist
python311Packages.binwalk-full
python311Packages.binwalk-full.dist
python311Packages.enamlx
python311Packages.enamlx.dist
python311Packages.pyqtgraph
python311Packages.pyqtgraph.dist
tribler

Maintainer pings
cc @k0ral for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.pyqtgraph is: Scientific Graphics and GUI Library for Python
meta.homepage for python311Packages.pyqtgraph is: https://www.pyqtgraph.org/
meta.changelog for python311Packages.pyqtgraph is: https://github.com/pyqtgraph/pyqtgraph/blob/master/CHANGELOG
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.13.7 with grep in /nix/store/3xqbxi77967s0vf8hj9ngcv3ldpq50c1-python3.11-pyqtgraph-0.13.7
found 0.13.7 in filename of file in /nix/store/3xqbxi77967s0vf8hj9ngcv3ldpq50c1-python3.11-pyqtgraph-0.13.7

Rebuild report (if merged into master) (click to expand)

24 total rebuild path(s)

24 package rebuild(s)

First fifty rebuilds by attrpath

gnss-sdr
gnuradio
gnuradio3_9
gnuradio3_9Minimal
gnuradio3_9Packages.grnet
gnuradio3_9Packages.osmosdr
gnuradioMinimal
gnuradioPackages.osmosdr
gqrx
gqrx-gr-audio
gqrx-portaudio
hifiscan
inkcut
inkscape-extensions.inkcut
linien-gui
opcua-client-gui
python311Packages.binwalk-full
python311Packages.enamlx
python311Packages.orange-widget-base
python311Packages.orange3
python311Packages.pyqtgraph
python311Packages.stytra
tribler

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/3xqbxi77967s0vf8hj9ngcv3ldpq50c1-python3.11-pyqtgraph-0.13.7 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python311Packages.pyqtgraph https://github.com/r-ryantm/nixpkgs/archive/c5087996ec38893bbdea196c5f60a20890c00b23.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/c5087996ec38893bbdea196c5f60a20890c00b23#python311Packages.pyqtgraph

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/3xqbxi77967s0vf8hj9ngcv3ldpq50c1-python3.11-pyqtgraph-0.13.7
ls -la /nix/store/3xqbxi77967s0vf8hj9ngcv3ldpq50c1-python3.11-pyqtgraph-0.13.7/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

2 packages marked as broken and skipped:

python311Packages.stytra
python311Packages.stytra.dist

8 packages failed to build:

gnuradio3_9
gnuradio3_9Packages.grnet
gnuradio3_9Packages.osmosdr
gnuradio3_9Packages.osmosdr.dev
python311Packages.orange-widget-base
python311Packages.orange-widget-base.dist
python311Packages.orange3
python311Packages.orange3.dist

24 packages built:

gnss-sdr
gnuradio
gnuradioMinimal (gnuradio3_9Minimal)
gnuradioPackages.osmosdr
gnuradioPackages.osmosdr.dev
gqrx
gqrx-gr-audio
gqrx-portaudio
hifiscan
hifiscan.dist
inkcut
inkcut.dist
inkscape-extensions.inkcut
linien-gui
linien-gui.dist
opcua-client-gui
opcua-client-gui.dist
python311Packages.binwalk-full
python311Packages.binwalk-full.dist
python311Packages.enamlx
python311Packages.enamlx.dist
python311Packages.pyqtgraph
python311Packages.pyqtgraph.dist
tribler

Maintainer pings
cc @k0ral for testing.

@ofborg build gnuradio3_9


GET Requests not protected by CSRF

Describe the bug
Every GET request does not have CSRF Protection
FIX
Change the configuration for Flask-WTF to allow for GET requests to be protected by CSRF

Not possible using the CSRF method, exploring different options.


Drop Database command doesn't drop database on all cluster nodes

It seems that it drops database only on node on which it was executed.
Following test fails:
    final OServerAdmin serverAdmin = new OServerAdmin(embeddedOrientDB.getRemoteConnectionString());
    serverAdmin.connect(embeddedOrientDB.getUser(), embeddedOrientDB.getPassword());
    try{
        serverAdmin.dropDatabase(embeddedOrientDB.getDbStorageMode());
    }catch(Throwable t){
        serverAdmin.close();
        throw t;
    }

    // Wait a bit
    Thread.sleep(10000);

    final AbstractOrientDBCluster cluster = ((EmbeddedOrientDBRule)embeddedOrientDB).getCluster();
    for(int i=0; i<cluster.size(); ++i){
        final String user = cluster.getAdminName(i);
        final String pwd = cluster.getAdminPassword(i);
        final String connection = String.format("remote:%s/%s", cluster.getConnectionString(i), embeddedOrientDB.getDBName());
        final OServerAdmin a = new OServerAdmin(connection).connect(user, pwd);
        try{
            if(a.existsDatabase()){
                fail(String.format("Database '%s' was dropped, but still exists on node %s",
                        embeddedOrientDB.getDBName(),
                        connection
                    ));
            }
        }catch(Exception e){
            a.close();
            throw e;
        }
    }

I've got:

"Database 'testdb' was dropped, but still exists on node remote:<IP_ADDRESS>:63005/testdb"

I'm going to work on this in the next days. I was thinking to drop the database from all the nodes by default and adding this new setting:
DROP DATABASE -server=china2

To drop the database only on server china2. Sounds good?

Supported distributed DROP DATABASE. Now, the only way to selectively drop a database is to use the Enterprise command stop replication <server> -dropDatabase.


52580 changes test

What
Use uniquely named databases for ChangeNotificationsTest to try and resolve intermittent NoDocumentException failures in the travis checks, which appear to be caused by overlap of a single database.
How
Create JUnit ExternalResource types for both the CloudantClient and Database objects. This allows before and after methods to be applied at either the test method or test class level by using the @Rule and @ClassRule annotations respectively. It has the advantage of keeping the setup and
teardown code for these resources in a single place, allowing for easier enforcement of test best practice (such as using a unique name for a Database).
Refactor the ChangeNotificationsTest to use these resources.
Testing
Existing ChangeNotificationsTest pass.
reviewer @tomblench
reviewer @emlaver

+1

+1


Retweets and likes

would be nice to add the feature or new tool for delete retweets and likes

Yes, I would also appreciate the ability to remove likes

would be nice to add the feature or new tool for delete retweets and likes

There's already an option to remove the retweets, read the description ;)
As for the like there's another tool I made: https://github.com/Lyfhael/UnlikeAllTweets


Support portable packages in user mode without Developer Mode enabled

Description of the new feature / enhancement
During testing for installing portable packages in user mode with Developer Mode disabled, we identified an error:

#2364

Users will be prompted for administrator mode to install portable packages if Developer Mode is disabled.
Reference: https://docs.microsoft.com/windows/win32/api/winbase/nf-winbase-createsymboliclinkw
Proposed technical implementation details
A solution for installing portable packages in user mode without requiring Developer Mode to be enabled.

Hardlinks and NTFS Junctions (for folders) don't require administrator rights (at least, they don't seem to based on my reading of the docs for mklink): https://docs.microsoft.com/en-us/windows/win32/fileio/hard-links-and-junctions
It probably changes a lot of the portable app implementation, but wouldn't that be better to do now before people have a bunch of apps installed with symlinks that winget would have to migrate?

I could see that potentially being a problem when we support installing to different locations.

It probably changes a lot of the portable app implementation, but wouldn't that be better to do now before people have a bunch of apps installed with symlinks that winget would have to migrate? The only functional difference I note is that hardlinks can't link to a different partition, but are we planning to support that for portable apps anyway?

We already support that; one can provide the install location for portables.
Hard links also won't work for archive portables that potentially need to be colocated with their satellite files, the hard link would execute at the "links" directory, not the package one.
I'm not sure that there is enough value to having a 3rd strategy that supports only standalone portables on the same volume.

Despite the PR supposedly fixing it, this issue still exists. Trying to install a portable package without admin or developer mode yields this error

That is despite the fact that according to the merged PR, it should have been fixed to not create a symlink - what's going on with this?

In case others don't know, the PR says

This fix first appears in v1.4.3132-preview


Remove stat text on japanese industry pages

https://uktrade.atlassian.net/browse/CMS-273

Codecov Report

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

@@           Coverage Diff           @@
##           master     #124   +/-   ##
=======================================
  Coverage   93.97%   93.97%
=======================================
  Files          23       23
  Lines         564      564
=======================================
  Hits          530      530
  Misses         34       34

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 ab1ff8b...e5b6041. Read the comment docs.


ModContainers aren't present early enough, causing crashes

Describe the bug
On fabric, all ModContainer are usable within mixin plugins. This is not the case here
Steps to reproduce

Install mod getting own/other mod containers (for example Polymer)
Run it
Crash!
...

Logs
No response
Additional context
Technically speaking polymer will crash later down the line. But this is first crash happening

I will add that ModContainer is usable even in language adapter phrase :)

Should be fixed with 8d72c2e547dbeb29165fc0def4f3d1faa44b5492. Fabric loader is now initialized on the SERVICE layer rather than GAME, meaning we don't load any game classes which would otherwise lead to initializing mixin plugins.


Fix typo

a Azure -> an Azure

@changeworld : Thanks for your contribution! The author, @CelesteDG, has been notified to review your proposed change.

Merging typo fix.


Update to TEST-002 for PR Testing

Status Flag 'Pre-Test Inspection' - Auto Inspected - Inspection Is Not Necessary for this Pull Request.

Status Flag 'Pull Request AutoTest' - Testing Jenkins Projects:
Pull Request Auto Testing STARTING
Build Information

Test Name: BSSW_PR_AutoTest
Build Num: 19
Status: STARTED

Jenkins Parameters

Parameter Name
Value

BSSW_SOURCE_BRANCH
pr-test-pass

BSSW_SOURCE_REPO
https://github.com/william76/betterscientificsoftware.github.io

BSSW_SOURCE_SHA
9049aaabf2fe14cdd60b39e794b2c6344ba3ea7a

BSSW_TARGET_BRANCH
develop

BSSW_TARGET_REPO
https://github.com/william76/betterscientificsoftware.github.io

BSSW_TARGET_SHA
a0f8b44f74f424a4b01da19f35fec87ece7c020c

JENKINS_JOB_TYPE
Experimental

TEST_REPO_ALIAS
BSSW

Using Repos:

Repo: BSSW (william76/betterscientificsoftware.github.io)
Branch: pr-test-pass
SHA: 9049aaabf2fe14cdd60b39e794b2c6344ba3ea7a
Mode: TEST_REPO

Pull Request Author: william76 (William)

Status Flag 'Pull Request AutoTest' - Jenkins Testing: all Jobs PASSED
Pull Request Auto Testing has PASSED
Build Information

Test Name: BSSW_PR_AutoTest
Build Num: 19
Status: PASSED

Jenkins Parameters

Parameter Name
Value

BSSW_SOURCE_BRANCH
pr-test-pass

BSSW_SOURCE_REPO
https://github.com/william76/betterscientificsoftware.github.io

BSSW_SOURCE_SHA
9049aaabf2fe14cdd60b39e794b2c6344ba3ea7a

BSSW_TARGET_BRANCH
develop

BSSW_TARGET_REPO
https://github.com/william76/betterscientificsoftware.github.io

BSSW_TARGET_SHA
a0f8b44f74f424a4b01da19f35fec87ece7c020c

JENKINS_JOB_TYPE
Experimental

TEST_REPO_ALIAS
BSSW

Status Flag 'Pre-Merge Inspection' - - This Pull Request Requires Inspection... The code must be inspected by a member of the Team before Testing/Merging
WARNING: NO REVIEWERS HAVE BEEN REQUESTED FOR THIS PULL REQUEST!

All Jobs Finished; status = PASSED, However Inspection must be performed before merge can occur...

Status Flag 'Pre-Merge Inspection' - SUCCESS: The last commit to this Pull Request has been INSPECTED AND APPROVED by [ BSSW-Entity ]!

Status Flag 'Pull Request AutoTest' - Pull Request MUST BE MERGED MANUALLY BY Project Team - Master Automerge is disabled (in .cfg file)

Status Flag 'Pull Request AutoTest' - Pull Request will be Automerged

Merge on Pull Request# 41: IS A SUCCESS - Pull Request successfully merged


Unable to load Civil Tank

When attempting to add the Civil Tank to the CAD portion of the entrance tank, this error appears: Civil Tank 1 did not regenerate properly: cannot resolve entities. I am also unable to change it's location. Does anyone know why this may be? Thanks!

There is a blue rectangle near the bottom of the Civil Tank dialog where you need to specify the location in the Part Studio where you want the tank. If that isn't set the tank isn't able to draw. To specify the location put your mouse near the origin of the Part Studio and when the mate connector shows up, click. As soon as you've completed that step the civil tank should appear.

Got it ! Thank you so much!!


[Question] Naming convention for ores in 1.10.2

I'm trying to boost Mekanism oregen using OreSpawn, which requires providing the name of the ores in a JSON file as their block names; metadata is also available. I have been trying a lot of things. For example, for copper:
mekanism:oreCopper
mekanism:oreBlock (metadata 1)
mekanism:oreBlock#type=copper
I'll be soon trying:
mekanism:oreBlock (metadata "#type=copper" if that's even legal)
It's not detecting that regardless what I do. I don't think it's a problem with oreSpawn. Really, my problem is I can't get a straightforward answer from 1.10.2 mods what these ores are named. NEI would traditionally dump that, but it didn't look like NEI was working at all. JEI was a no-go. Minetweaker is supposed to be able to dump it, but gives a bland oreBlock name w/o metadata. Finally, WAILA hasn't implemented block names yet. I figured I'd just ask at this point.
(tweaking oregen settings would be nice. I haven't even found osmium and copper yet at all).

You should be able to see the block ID when looking at the block with the debug (F3) screen open. It's listed in the bottom-right of the screen.

"F3 + H" works very well.


Void duplicate event message on pub/sub

Is there a way to prevent receiving duplicate event when using pub/sub?
This is my code:
On some place of my system I have pub:
redis_pub.publish("new-message", JSON.stringify(data.message));

And other hands, I have sub and .on("message") event:
...
redis_subscriber.subscribe("new-message");
redis_subscriber.addListener("message", fireNotificationOnNewMessages);

Everytime a data is stored on redis is fired an event but after the first one, then duplicate events and more and more...

Hi @ithustle ,
I don't think normally there will be duplicate events. Can it be caused by subscribing to the channel multiple times with different Redis instance?
Closing this. Feel free to reopen it with details. Thanks!

Hi @luin ,
I think I run into this issue as well.
My Code looks like this:
subClient.on("message", (channel: string, message: string) => {
    subCallback(channel, message);
});

subCallback(c, m) {
   console.log(c, m);
}

I then subscribe to 2 channels.
subClient.subscribe('c1');
subClient.subscribe('c2');

and after this I publish 1 message to channel 'c1'
pubClient.publish('c1', 'message :) ')
now the message is printed twice in the console:
log: 'c1', 'message :) '
log: 'c1', 'message :) '

How should my code look like to avoid getting mutiple times the same message?
Do I need to destroy and reinit the subClient every time I need a new subscription?
Thank you!
@ithustle have you solve this somehow?