text:
Strange visual attention results

Hello @DeepRNN !
I took a look at attentions that model generates in test mode.
I did the following: in base_model.py:200 i changed the code as following
                memory, output, scores, attentions = sess.run(
                    [self.memory, self.output, self.probs, self.attentions],
                    feed_dict = {self.contexts: contexts,
                                 self.last_word: last_word,
                                 self.last_memory: last_memory,
                                 self.last_output: last_output})

So after that, every attentions array has the shape batch_size, 196, beam_size and for simplicity I set beam_size=1 when testing. Next, I simply stack all attentions in one numpy array and visualize its content.
I found two concerns:

Attentions maps for different tokens vary negligibly (for 1.jpg the maximum difference between 1st and 2nd tokens is  ~e^-9).
The maps itself looks rather strange. For the test image with bus:

However, the caption of the image is both grammatically and semantically correct.
I would like to discuss these results.

Yeah. I encountered the same problem. I find that the self.attentions is only defined in the train mode, so I also add self.attentions in the test mode. However, the difference between attention maps is still negligible.

May this occur because of some mistake that makes attention shared across all timestamps? 1e-9 difference can be explained them. If so, how can it be fixed?

@JiayunLi I think self.attentions is only used to be shown.

@mojesty I haven't figured it out.

@RoronoaZA Yeah. Are you able to get reasonable attention maps for evaluation images?

Same problem

Hi @mojesty , how long does it take to train one epoch?
What machines did you use?
Thank you!

Has anyone solve the problem? Anyone can help me? Thank you all.

The attention layer defined in model.py is:
image context (49,2048) ->fc1 -> hidden vector a (49,)
word vector (num of lstm unit) ->fc2-> hideen vector b (49,)
attention = softmax(hidden vector a + hidden vector b)
I don't think the attention could work, because:

hidden vector a is constant as image context never change
hidden vector b is generate from lstm output, which shouldn't contain location information

So in the end, fc2 will generate very small hidden vector b, and attention is mainly depend on the hidden vector a.
That's why you observe attention maps are pretty similar across token.

authors: Fanshia JiayunLi RoronoaZA bright1993ff66 chansongoal minizon mojesty


text:
V0.1.1merge restructure

Resolved the conflict between #5  and #4.

Switched to openblas libraries from mkl.

@shyamd, some of the definitions are missing from the python class structure which are causing the doctest to fail. Could you fix the missing methods and also check with doctest.

Can you clarify what you mean by doctest. Typically this refers to tests in the docstrings in python and since we're not using that, i'm not sure what is breaking.

Can you clarify what you mean by doctest. Typically this refers to tests in the docstrings in python and since we're not using that, i'm not sure what is breaking.

I have test in documentation under the "docs/" folder to make sure the current build is consistent with the documentation. With new Site, Spectrum and Isotopomer class, the documentation and the build do not agree. I suggest we add the "--doctest-glob='docs/*.rst" to pytest.

@shyamd I think the PR is ready for merge with the master. It is now using openblas and builds on linux. Do you have anything else you like me to do before the merge?

Let's merge. We should make a series of issues that cover what needs to happen next. We can then organize using the GitHub board for post-review progress.

source: gharchive/pull-request

authors: DeepanshS shyamd

repo: DeepanshS/mrsimulator

license_type: permissive

license_source: github-api


text:
Surveys migration script - DEV branch

Bug description
When running the command "python3 manage.py migrate_surveys", it says table not found.
Steps to reproduce
Steps to reproduce the behavior:

Go to 'DEV branch'
Click on 'Click on questionnaires, then a message will pop-up saying to run the migration command'
Go to Server 'run python3 manage.py migrate_surveys'
See error

Expected behavior
The migration script should complete and show as successfully completed.
Deployment method (select with an X)

[ ] Kubernetes
[ ] Docker
[x] setup.bash / legacy-setup.bash

Environment information

Operating System: [Ubuntu 18.04]
DefectDojo Commit Message: (DEV)  Commit ID: 414e10fd8b7aa51a27edfdce8a02ad3a512fe45c

Console logs (optional)

(dojo) root@ip-x-x-x-x:/opt/dojo/django-DefectDojo# python3 manage.py migrate_surveys
enabling audit logging
patching TagDescriptor
Popen(['git', 'version'], cwd=/opt/dojo/django-DefectDojo, universal_newlines=False, shell=None, istream=None)
Popen(['git', 'version'], cwd=/opt/dojo/django-DefectDojo, universal_newlines=False, shell=None, istream=None)
Traceback (most recent call last):
File "/opt/dojo/lib/python3.6/site-packages/django/db/backends/utils.py", line 82, in _execute
return self.cursor.execute(sql)
File "/opt/dojo/lib/python3.6/site-packages/django/db/backends/mysql/base.py", line 71, in execute
return self.cursor.execute(query, args)
File "/opt/dojo/lib/python3.6/site-packages/MySQLdb/cursors.py", line 209, in execute
res = self._query(query)
File "/opt/dojo/lib/python3.6/site-packages/MySQLdb/cursors.py", line 315, in _query
db.query(q)
File "/opt/dojo/lib/python3.6/site-packages/MySQLdb/connections.py", line 239, in query
_mysql.connection.query(self, query)
MySQLdb._exceptions.ProgrammingError: (1146, "Table 'dojodb.defectDojo_engagement_survey_question' doesn't exist")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "manage.py", line 11, in
execute_from_command_line(sys.argv)
File "/opt/dojo/lib/python3.6/site-packages/django/core/management/init.py", line 381, in execute_from_command_line
utility.execute()
File "/opt/dojo/lib/python3.6/site-packages/django/core/management/init.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/opt/dojo/lib/python3.6/site-packages/django/core/management/base.py", line 323, in run_from_argv
self.execute(*args, **cmd_options)
File "/opt/dojo/lib/python3.6/site-packages/django/core/management/base.py", line 364, in execute
output = self.handle(*args, **options)
File "/opt/dojo/django-DefectDojo/dojo/management/commands/migrate_surveys.py", line 52, in handle
cursor.execute(str(copy_string))
File "/opt/dojo/lib/python3.6/site-packages/django/db/backends/utils.py", line 67, in execute
return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
File "/opt/dojo/lib/python3.6/site-packages/django/db/backends/utils.py", line 76, in _execute_with_wrappers
return executor(sql, params, many, context)
File "/opt/dojo/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute
return self.cursor.execute(sql, params)
File "/opt/dojo/lib/python3.6/site-packages/django/db/utils.py", line 89, in exit
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/opt/dojo/lib/python3.6/site-packages/django/db/backends/utils.py", line 82, in _execute
return self.cursor.execute(sql)
File "/opt/dojo/lib/python3.6/site-packages/django/db/backends/mysql/base.py", line 71, in execute
return self.cursor.execute(query, args)
File "/opt/dojo/lib/python3.6/site-packages/MySQLdb/cursors.py", line 209, in execute
res = self._query(query)
File "/opt/dojo/lib/python3.6/site-packages/MySQLdb/cursors.py", line 315, in _query
db.query(q)
File "/opt/dojo/lib/python3.6/site-packages/MySQLdb/connections.py", line 239, in query
_mysql.connection.query(self, query)
django.db.utils.ProgrammingError: (1146, "Table 'dojodb.defectDojo_engagement_survey_question' doesn't exist")

I think you should run the normal django migrations first: manage.py migrate. You may first have to manually copy the files from dojo/db_migrations into dojo/migrations

I did a fresh installation I guess the migrate.py is part of setup.bash, anyways I'll give it a shot again today and make sure to copy the db_migrations to migrations. Will update you.

Same thing, fresh installation --
Dev branch (this doesn't have the dojo/migrations folder) I copied the dojo/db_migrations to dojo/migrations.
I run the makemigrations, and here is the output:
(dojo) root@ip-10-40-133-49:/opt/dojo/django-DefectDojo# python3 manage.py makemigrations
enabling audit logging
patching TagDescriptor
Popen(['git', 'version'], cwd=/opt/dojo/django-DefectDojo, universal_newlines=False, shell=None, istream=None)
Popen(['git', 'version'], cwd=/opt/dojo/django-DefectDojo, universal_newlines=False, shell=None, istream=None)
No changes detected
(dojo) root@ip-10-40-133-49:/opt/dojo/django-DefectDojo# python3 manage.py migrate_surveys
_enabling audit logging
patching TagDescriptor
Popen(['git', 'version'], cwd=/opt/dojo/django-DefectDojo, universal_newlines=False, shell=None, istream=None)
Popen(['git', 'version'], cwd=/opt/dojo/django-DefectDojo, universal_newlines=False, shell=None, istream=None)
Traceback (most recent call last):
File "/opt/dojo/lib/python3.6/site-packages/django/db/backends/utils.py", line 82, in _execute
return self.cursor.execute(sql)
File "/opt/dojo/lib/python3.6/site-packages/django/db/backends/mysql/base.py", line 71, in execute
return self.cursor.execute(query, args)
File "/opt/dojo/lib/python3.6/site-packages/MySQLdb/cursors.py", line 209, in execute
res = self._query(query)
File "/opt/dojo/lib/python3.6/site-packages/MySQLdb/cursors.py", line 315, in _query
db.query(q)
File "/opt/dojo/lib/python3.6/site-packages/MySQLdb/connections.py", line 239, in query
_mysql.connection.query(self, query)
MySQLdb._exceptions.ProgrammingError: (1146, "Table 'dojodb.defectDojo_engagement_survey_question' doesn't exist")
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "manage.py", line 11, in
execute_from_command_line(sys.argv)
File "/opt/dojo/lib/python3.6/site-packages/django/core/management/init.py", line 381, in execute_from_command_line
utility.execute()
File "/opt/dojo/lib/python3.6/site-packages/django/core/management/init.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/opt/dojo/lib/python3.6/site-packages/django/core/management/base.py", line 323, in run_from_argv
self.execute(*args, **cmd_options)
File "/opt/dojo/lib/python3.6/site-packages/django/core/management/base.py", line 364, in execute
output = self.handle(*args, **options)
File "/opt/dojo/django-DefectDojo/dojo/management/commands/migrate_surveys.py", line 52, in handle
cursor.execute(str(copy_string))
File "/opt/dojo/lib/python3.6/site-packages/django/db/backends/utils.py", line 67, in execute
return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
File "/opt/dojo/lib/python3.6/site-packages/django/db/backends/utils.py", line 76, in _execute_with_wrappers
return executor(sql, params, many, context)
File "/opt/dojo/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute
return self.cursor.execute(sql, params)
File "/opt/dojo/lib/python3.6/site-packages/django/db/utils.py", line 89, in exit
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/opt/dojo/lib/python3.6/site-packages/django/db/backends/utils.py", line 82, in _execute
return self.cursor.execute(sql)
File "/opt/dojo/lib/python3.6/site-packages/django/db/backends/mysql/base.py", line 71, in execute
return self.cursor.execute(query, args)
File "/opt/dojo/lib/python3.6/site-packages/MySQLdb/cursors.py", line 209, in execute
res = self._query(query)
File "/opt/dojo/lib/python3.6/site-packages/MySQLdb/cursors.py", line 315, in _query
db.query(q)
File "/opt/dojo/lib/python3.6/site-packages/MySQLdb/connections.py", line 239, in query
mysql.connection.query(self, query)
django.db.utils.ProgrammingError: (1146, "Table 'dojodb.defectDojo_engagement_survey_question' doesn't exist")

This issue seems still be present.
As suggested:
$ docker exec -it django-defectdojo_uwsgi_1 ./manage.py migrate
[08/Dec/2021 10:59:55] INFO [dojo.models:3623] enabling audit logging
Operations to perform:
  Apply all migrations: admin, auditlog, auth, authtoken, contenttypes, django_celery_results, sessions, sites, social_django, tagging, watson
Running migrations:
  No migrations to apply.

Then
$ docker exec -it django-defectdojo_uwsgi_1 ./manage.py migrate_surveys
[08/Dec/2021 11:00:08] INFO [dojo.models:3623] enabling audit logging
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py", line 82, in _execute
    return self.cursor.execute(sql)
  File "/usr/local/lib/python3.8/site-packages/django/db/backends/mysql/base.py", line 73, in execute
    return self.cursor.execute(query, args)
  File "/usr/local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 206, in execute
    res = self._query(query)
  File "/usr/local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 319, in _query
    db.query(q)
  File "/usr/local/lib/python3.8/site-packages/MySQLdb/connections.py", line 254, in query
    _mysql.connection.query(self, query)
MySQLdb._exceptions.ProgrammingError: (1146, "Table 'defectdojo.defectDojo_engagement_survey_question' doesn't exist")

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/app/./manage.py", line 11, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python3.8/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.8/site-packages/django/core/management/__init__.py", line 413, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python3.8/site-packages/django/core/management/base.py", line 354, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/local/lib/python3.8/site-packages/django/core/management/base.py", line 398, in execute
    output = self.handle(*args, **options)
  File "/app/dojo/management/commands/migrate_surveys.py", line 52, in handle
    cursor.execute(str(copy_string))
  File "/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py", line 66, in execute
    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
  File "/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py", line 75, in _execute_with_wrappers
    return executor(sql, params, many, context)
  File "/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
  File "/usr/local/lib/python3.8/site-packages/django/db/utils.py", line 90, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py", line 82, in _execute
    return self.cursor.execute(sql)
  File "/usr/local/lib/python3.8/site-packages/django/db/backends/mysql/base.py", line 73, in execute
    return self.cursor.execute(query, args)
  File "/usr/local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 206, in execute
    res = self._query(query)
  File "/usr/local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 319, in _query
    db.query(q)
  File "/usr/local/lib/python3.8/site-packages/MySQLdb/connections.py", line 254, in query
    _mysql.connection.query(self, query)
django.db.utils.ProgrammingError: (1146, "Table 'defectdojo.defectDojo_engagement_survey_question' doesn't exist")

@adayrodri you're issue seems different, can you create a new one?

source: gharchive/issue

authors: dayal18 fabaff valentijnscholten

repo: DefectDojo/django-DefectDojo


text:
jira_link.helper bombs on add_comment_task

ERROR:django.request:Internal Server Error: /finding/1096260
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
    response = get_response(request)
  File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py", line 115, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py", line 113, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "./dojo/user/helper.py", line 78, in _wrapped
    return view_func(request, lookup_value, *args, **kwargs)
  File "./dojo/finding/views.py", line 304, in view_finding
    jira_helper.add_comment_task(finding, new_note)
AttributeError: module 'dojo.jira_link.helper' has no attribute 'add_comment_task'

duplicate of #3453 and fixed in dev

authors: madchap valentijnscholten


text:
doc: add docker-compose build

add docker-compose build to docker readme

I don't think this is really necessary due to the 'Building images' section that is a little above the 'Run with Docker compose in development mode with hot-reloading' section.

I don't think this is really necessary due to the 'Building images' section that is a little above the 'Run with Docker compose in development mode with hot-reloading' section.

Maybe.. but I'd rather see one time too much than not enough :-)

authors: Maffooch madchap wurstbrot


text:
tsd reinstall does not remove stale typings

I updated my tsd.json to remove touch-events.d.ts, because the new typescript 1.5 beta includes those natively in the lib.d.ts, and the compilation fails due to duplicate type definitions.
I run tsd reinstall, and the touch-events.d.ts is left in the typings folder. Based on the documentation for reinstall:
Reset the definitions to the commits listed in tsd.json
I would expect any typings not in tsd.json to be removed.
The current workaround is everyone on the team needs to remove the typings folder whenever something is removed from tsd.json.

@alexeagle You're right, I'd expect this too. I plan on doing a lot of refactoring on this project and that's one of the first things being fixed in #150. Thanks for the report :+1:

Nice, I noticed your roadmap this morning, and glad to see you are laying plans for those fixes. Soon we will figure out the right way to distribute the type definitions for Angular, likely with tsd.

I think this should be resolved by adding an uninstall command. With this I'll ensure that any of my own typing (if exists) in the same directory (typings) will not be removed.
What do you think?

I don't think that solves our problem: we check in a tsd.json as a means to
keep the typings directories on the machines of all our team members in
sync. What command would we put in 'npm install' that would cause all the
typings to be synced? tsd uninstall --all && tsd reinstall?
On Sat, Jun 6, 2015 at 10:12 PM, Diullei Gomes notifications@github.com
wrote:

I think this should be resolved by adding an uninstall command. With this
I'll ensure that any of my own typing (if exists) in the same directory (
typings) will not be removed.
What do you think?
—
Reply to this email directly or view it on GitHub
https://github.com/DefinitelyTyped/tsd/issues/151#issuecomment-109694432
.

Ok @alexeagle, I Got your point. In this case the reinstall command must remove the typings not referenced by tsd.json

@alexeagle see the discussion in #179. Would do you think of tsd reinstall --clean as a solution for your problem?

@jimlloyd thanks for the notification, I commented over there.

Hi @alexeagle! I published a new version (tsd@0.6.5-beta) to fix the bug that you reported here https://github.com/DefinitelyTyped/tsd/issues/184#issuecomment-136424203
Could you verify if it is ok now?
To install:
npm install tsd@0.6.5-beta

yes, it looks good now, I sent a PR to use it in Angular:
https://github.com/angular/angular/pull/3940
Thanks!
On Tue, Sep 1, 2015 at 7:18 AM Diullei Gomes notifications@github.com
wrote:

Hi @alexeagle https://github.com/alexeagle! I published a new version (
tsd@0.6.5-beta) to fix the bug that you reported here #184 (comment)
https://github.com/DefinitelyTyped/tsd/issues/184#issuecomment-136424203
Could you verify if it is ok now?
To install:
npm install tsd@0.6.5-beta
—
Reply to this email directly or view it on GitHub
https://github.com/DefinitelyTyped/tsd/issues/151#issuecomment-136736564
.

Nice! I'm glad to help you with this issue!
I'll close this issue for now, feel free to reopen it if you got another problem.
Thanks!

authors: Diullei alexeagle blakeembrey jimlloyd

repo: DefinitelyTyped/tsd

license_source: bigquery


text:
🛑 VoIP is down

In 568c856, VoIP (voip.delta-core.app) was down:

HTTP code: 0
Response time: 0 ms

Resolved: VoIP is back up in 8141bde.

repo: Delta-Core/status

license: MIT


text:
Design Document/ToDo List

Alright, now that I'm finally back home and can actually begin work on this project, here's my submission for the Perihelion design document. This list will serve as a guideline for what we need to do in order to make an English HRP server work correctly. The requirements for HRP are radically different from many design decisions that Wizden has made for SS14, and some may require making certain changes to core game code. As a whole, the purpose of an HRP server is to provide what is essentially a very advanced form of writers chat room, rather than an actual "Game" that someone can win. Therefore certain "Gamifications" need to be reworked or removed in order to better support this intended goal.
The Hard Requirements are design elements that must be completed before an HRP server can be opened to the public. These are not optional, and some of them may be quite involved. A few of them I have worked on design documents for, but will require discussion on how they may be implemented.
Soft Requirements are those we do not explicitly require to launch an HRP server, but are helpful to have for the player experience.
Hard Requirements

[ ] Removal/Rework of "Greentext" Antagonists

The entire gameplay concept of the "Greentext" is antithetical to an HRP server. An HRP round cannot be "Won", and no effort should be made to encourage such playing to win behavior. Therefore a majority of the game's antagonists will need to be commented out or removed from rotation. The only antagonist that currently exists in the game which we can rework easily is the Traitor, which I'd like to invite an open ended discussion for what their new objectives should be. Since removing the Greentext itself is not easily done without touching Wizden's side of things, a temporary approach may be made whereby all objectives are automatically "Green" at the end of the round, provided the traitor is alive.

[ ] Rework Traitors to have open-ended objectives with explicit RP directions.

To give an example of a some open ended objectives, Kill/Maroon might be replaced with Poach/Recruit/Kill. With the goal being to meet with the target player, and attempt to convince them to join the Syndicate, or quit Nanotrasen. This is an explicitly RP oriented objective, whose solution comes from talking with your target and actually meaningfully interacting with them. Another objective might be to Infiltrate a certain department, that is, get yourself hired on to a specific department, so you can observe and steal company secrets. A traitor might be instructed to get themselves hired by the Security department.

[ ] Character Backstory/Exploitable Information(Employee Records, Medical Records, Blackmailable Records, Security Records)

I'll expand more upon this one with a separate design document. The gist of this is that in the character customization screen, the "Description" tab needs to be reworked as an Information tab, which will include the Description, as well as a character's Backstory. Backstory will be written in four different form fields, for each of the 4 different Exploitables. Employee Records will be readable by anyone who is a head of staff via a corporate records console. Medical Records will be readable by anyone with Medical access(they have to put an ID into a medical records computer, then they can read the records). Same with Security records, they can put an ID in a special computer, then read up on anyone's security records.
The last one is Blackmailable information. Traitor players will be able to buy a laptop item that lets them search for, and read a character's blackmail information. The rules for this will be thus: By invoking a given character's blackmailable information, that character is temporarily considered a minor antagonist, and is expected to provide some assistance to the traitor in exchange for the traitor's silence. What form of assistance this may take is up to the two players, but generally should not include extreme crimes such as terrorism or murder.
Only the player themself should be able to write what's in their character's backstory. They cannot be edited ingame, only in the lobby.

[ ] Create a Lore Document/Lore Wiki
[ ] Write up Rules for the HRP server.
[ ] Rework to player slots/whitelist.

This last one is very important. To prevent the server from being just a Clique, there needs to be a certain number of player slots explicitly set aside for non-whitelisted players. Rather than locking the server to new people when the player count is above 20, there needs to explicitly be slots set aside that can only be taken by people who aren't whitelisted, likely no more than 15 to 20 people. The main purpose of this would be to allow people who aren't whitelisted to come on the server and advertise themselves as a writer for the purpose of getting whitelisted. The standards for who is whitelisted should take into account people's skill in writing a character. That is, we should mainly consider the quality of people's ingame character sheets, and whether or not their character is a good fit for the server.
Soft Requirements

[ ] Develop the Extended-Secret gamemode
[ ] Opt-In Sleeper Agent traitors, traitors that can spontaneously become traitors some significant amount of time during the round. Essentially, Midround traitor activations.
[ ] Implement Aurora Station's Cryostasis system. Players need to be able to leave a round(and have their job specific equipment returned to the original department). Captain John Greytider needs to be able to join, leave via cryostasis, and then Jill Greytider can  join as the newly opened Captain role, and pick up John's shit at her captain's quarters.
[ ] Implement leaving and rejoining rounds(as different character). Basically an extension of Cryostasis, you can leave a round via either permanent death or cryostasis, and then rejoin the round as a different character entirely. For obvious reasons, same rules as Ghost Roles apply, players cannot act on information they have learned from previous lifes.
[ ] Expanding visual character customization (I have a separate design document for this, and am actively working on it)
Underclothes as Markings
Tattoo/Barber shop ingame to change markings
Toggleable Clothing States via a right click dropdown menu
Prosthetic Limb sprites

Just a quick place to organize stuff that I'll set up later because I was randomly motivated to look at this again.
https://go.delta-v.org/perihelion

authors: DebugOk evilexecutive

repo: DeltaV-Station/Perihelion


text:
Use dynamic github contributions chart

Instead of a static screenshot,can use something like ghchart.

Allows for customising colours.

It is not a static screenshot :smile:
I have used github-calender.js
It doens't allow customized colors though, would be interesting to combine the goods of both of them.

Did not know this. Will also use this :open_mouth:

authors: Demfier kaustubhhiware


text:
added hello word in PL/SQL language

added hello word in PL/SQL language

Also, please add this language to the implementation list alphabetically.


text:
Скласти таймлайн

Скласти список всіх (важливих) життєвих подій, визначних дат, досягнень, періодів, що дали приємний і неприємний досвід, тощо. В цьому конкретному випадку довгих списків не буває, натомість бувають погано згорнуті, тому пакуємо сюди все підряд, а про "лишні" події можна буде промовчати пізніше. Список повинен бути систематизованим і посортованим в такий спосіб, щоб читач швидко зрозумів "паттерн" і міг легко орієнтуватись в просторі і часі цього резюме.

2

repo: DenHelsing/homepage


text:
A command return me to "report this error"

java.lang.NoClassDefFoundError:
org/bukkit/event/player/PlayerItemDamageEvent
[15:22:43] [INFO] Kenjiraw issued server command: /denizen reload scripts
[15:22:43] [INFO] +> [Denizen] Processing outside scripts...
[15:22:43] [INFO] +> [Denizen] Processing unnamed script...
[15:22:43] [INFO] +> [Denizen] Processing '/mercenariat.yml'...
[15:22:43] [INFO] OKAY! All scripts loaded!
[15:22:43] [INFO] +> [Denizen] Adding script MERCENAIRE as type INTERACT
[15:22:43] [INFO] +> [Denizen] Adding script MERCENARIAT as type ASSIGNMENT
[15:22:43] [INFO] +> [Denizen] Adding script BUILTIN_LOAD_TESTER as type COMMAND
[15:22:43] [INFO] +> [Denizen] Scanning 0 world scripts...
[15:22:43] [INFO] +> [Denizen] Reloading script events...
[15:22:43] [WARN] java.lang.NoClassDefFoundError: org/bukkit/event/player/PlayerItemDamageEvent
[15:22:43] [WARN] at net.aufdemrand.denizen.events.player.PlayerItemTakesDamageScriptEvent.destroy(PlayerItemTakesDamageScriptEvent.java:88)
[15:22:43] [WARN] at net.aufdemrand.denizencore.events.ScriptEvent.reload(ScriptEvent.java:86)
[15:22:43] [WARN] at net.aufdemrand.denizencore.DenizenCore.loadScripts(DenizenCore.java:107)
[15:22:43] [WARN] at net.aufdemrand.denizencore.DenizenCore.reloadScripts(DenizenCore.java:121)
[15:22:43] [WARN] at net.aufdemrand.denizen.DenizenCommandHandler.reload(DenizenCommandHandler.java:441)
[15:22:43] [WARN] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[15:22:43] [WARN] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[15:22:43] [WARN] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[15:22:43] [WARN] at java.lang.reflect.Method.invoke(Method.java:498)
[15:22:43] [WARN] at net.aufdemrand.denizen.utilities.command.CommandManager.executeMethod(CommandManager.java:140)
[15:22:43] [WARN] at net.aufdemrand.denizen.utilities.command.CommandManager.execute(CommandManager.java:66)
[15:22:43] [WARN] at net.aufdemrand.denizen.utilities.command.CommandManager.executeSafe(CommandManager.java:168)
[15:22:43] [WARN] at net.aufdemrand.denizen.Denizen.onCommand(Denizen.java:1230)
[15:22:43] [WARN] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
[15:22:43] [WARN] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:140)
[15:22:43] [WARN] at org.bukkit.craftbukkit.v1_10_R1.CraftServer.dispatchCommand(CraftServer.java:625)
[15:22:43] [WARN] at net.minecraft.server.v1_10_R1.PlayerConnection.handleCommand(PlayerConnection.java:1299)
[15:22:43] [WARN] at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:1159)
[15:22:43] [WARN] at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(SourceFile:37)
[15:22:43] [WARN] at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(SourceFile:9)
[15:22:43] [WARN] at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13)
[15:22:43] [WARN] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[15:22:43] [WARN] at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[15:22:43] [WARN] at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45)
[15:22:43] [WARN] at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:690)
[15:22:43] [WARN] at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:360)
[15:22:43] [WARN] at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:646)
[15:22:43] [WARN] at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:550)
[15:22:43] [WARN] at java.lang.Thread.run(Thread.java:745)

What version of denizen are you using? And of spigot?
/version
/version denizen

You can find the stable version of denizen for your version of spigot here.
Nightly builds can be found here and are built against the latest version of spigot.

@kenjiraw Please ensure you are running Spigot not CraftBukkit. Bukkit is no longer an active project. Spigot is. Because of this, we target Spigot and use its APIs, not Bukkit's.

authors: AnthonyAMC kenjiraw mcmonkey4eva

repo: DenizenScript/Denizen-For-Bukkit


text:
Add favicons

Description
Added favicons to demo page
Fixes #143
Type of change

[ ] Bug fix (added a non-breaking change which fixes an issue)
[x] New feature (added a non-breaking change which adds functionality)
[ ] Updated documentation (updated the readme, templates, or other repo files)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested?
Tested on Safari 15.0, Edge 94.0.992.38, Firefox 92.0.1.

[x] Tested locally with a valid username
[ ] Tested locally with an invalid username
[ ] Ran tests with composer test
[ ] Added or updated test cases to test new features

Checklist:

[x] I have checked to make sure no other pull requests are open for this issue
[x] The code is properly formatted and is consistent with the existing code style
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

Screenshots
Safari tab

Edge Tab

Safari Bookmark

Edge Bookmark

Thanks for contributing!


text:
Emit a single result event for vulnerability scans

We currently emit N+1 events for N capable scanners. The +1 being the completion event, which marks when no more scan results are to be expected by consumers.
While this works, it requires additional state keeping on the consumer side for various use cases (e.g. determining when no scanner reports a given vulnerability anymore, which is something we'll need to tackle soon-ish).
Also, it puts more stress on both the broker and the consumer, as more events need to be transmitted and processed. 1000 scan commands can easily morph into 4000 result events.
We initially decided against aggregating all results in a single event, out of fear that we'd hit the 1MB event size limit. Now, with both Protobuf for serialization, and Snappy for compression, even events with 80 vulnerabilities barely hit the 100kB mark. This makes aggregating results in a single event more feasible.
Dealing with only a single result event simplifies things drastically for consumers.

Warning
This PR introduces the dtrack.vuln-analysis.scanner.result topic. It also modifies the names of some internal topics. I will add a list of what topic names changed to make it more transparent.

LGTM

authors: nscuro sahibamittal

repo: DependencyTrack/hyades


text:
Separate leader port and local port

For running multiple derecho instances on a single node as different processes, the nodes need to use different ports for TCP connections. However, ports for all the nodes are assumed to be the same in the code currently. Instead we can provide the leader port as an input and have the port for the local node in the config file. Then the leader can be contacted by any starting member and the leader can then share the port of the existing members so that other nodes can be contacted. This can be conveniently achieved by sharing the ports using the SST, just as IP addresses currently are shared.

Whoever tackles this change might consider just having us store a Linux ip_addr struct, rather than treating IP addresses as an int_32 and adding an additional int_32 for the port number.  The standard Linux struct has a type field (IPv4 or IPv6), a value field, and a field for the port number.  So the code change is minimized (one int_32 becomes one instance of the struct), existing code that needs the IP address does need to change but in a fairly simple way, and we benefit because of some network out there is pure IPv6, we could run on it rather than being limited to IPv4 networks.

Related to this issue, we verified that Derecho works on a local machine. We tested:

Separate derecho instances on the same set of machines
Derecho test with two VMs on the same machine
Derecho test with a VM and a different laptop
Derecho test with a VM and a Fractus machine

It would be worth the effort to think about situations where some Derecho processes are TCP only (and yes, not locked to specific port numbers unless capable of playing the leader role), while some have RDMA interfaces and “switch” to those if all members of a given subgroup or shard are equally capable.
Then we could have a big group, a rack of RDMA-capable servers, and a larger set of TCP-only “clients” using the LibFabrics to TCP mapping, but still benefitting from the high efficiency of that version of TCP, the zero-copy marshalling logic, etc.  I think this might be an ideal mix, in the long term, for many developers

While that is definitely something to do in the long run because we will have clients outside the system unable to use RDMA, we currently only support all TCP or all RDMA nodes. Weijia might know how much time implementing this will take.
The feature will be that every node can join the group regardless of whether they use TCP or RDMA (but only one). All nodes can talk to all nodes. So if a subgroup has some members using RDMA and some TCP, atomic multicast should still work just fine.

I agree.  Basically, it is probably either easy to do this, or impossible to do this!  And it will depend entirely on whether LibFabrics already supports the needed functionality.

Commit 3ee59730da83505fd9d867059b0a40ee4c8e0c66 says it closes this issue, but Git didn't notice and auto-close it. (The exact text has to be "closes #60", not "closes issue #60").

authors: KenBirman etremel sagarjha

repo: Derecho-Project/derecho-unified


text:
Created Issues template and pull request template.

fixes #9
fixes #11

@akshatvirmani There are some minor conflicts, that I want you to resolve to get an idea.
The old code of this project is conflicting with your code changes. Please look into it :)

Okay

There's a small thing, Those who have created PRs, for the last time create a new branch with your name and then raise a Pull Request.

authors: akshatvirmani yashsehgal


text:
🛑 IEEC is down

In 3a8f574, IEEC (https://ieec.mx/) was down:

HTTP code: 403
Response time: 153 ms

Resolved: IEEC is back up in 16e9897.

repo: DesignaAdmin/Monitor


text:
bootspec: offer TryInto conversion from Generation to any schema version

This utilizes the derive_more crate so that we don't have to manually add new implementations for each version.
Description
Closes https://github.com/DeterminateSystems/bootspec/pull/109.
Checklist

[x] Built with cargo build
[x] Formatted with cargo fmt
[x] Linted with cargo clippy
[x] Ran tests with cargo test
[x] Added or updated relevant tests (leave unchecked if not applicable)
[ ] Added or updated relevant documentation (leave unchecked if not applicable)

I just realized that "any" here is kinda incorrect... Since deserializing the BootSpec will only return the latest generation version. So, once we have one more version, it will only ever deserialize the latest version (the first one in the enum) (if it exists)...
Maybe for v2 we should change BootSpec's generation field to be a Vec<Generation>... I think that might require a custom deserializer, but it also might not. Then we could maybe provide a helper function for "give me version X if it exists (and error otherwise)"...

I think this is "not bad" for the moment, though. Assuming @RaitoBezarius doesn't report anything wrong with it, I'll probably cut a 1.0.0 tomorrow.

repo: DeterminateSystems/bootspec


text:
🛑 deuchnord.fr is down

In 9cf6af7, deuchnord.fr (https://deuchnord.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: deuchnord.fr is back up in 7c9dbcf after 3 hours, 16 minutes.

repo: Deuchnord/uptime


text:
add inititlize for local bucketing

Changes

DevCycle client now does initialization for both cloud and local bucketing
added an initialize callback to DVCClient
moved enable_local_bucketing from the Configuration class to the DVCOptions class

Current dependencies on/for this PR:

main

PR #22   👈

This comment was auto-generated by Graphite.

repo: DevCycleHQ/ruby-server-sdk


text:
Error when using TimeSpan data

When I use TimeSpan data to display time, when filtering or grouping, next error is retruned:
Unable to cast object of type 'System.TimeSpan' to type 'System.IConvertible'
Could you add TimeSpan type ?

There are some known issues related to TimeSpan data type:
https://devexpress.com/issue=T458296
https://stackoverflow.com/questions/9725732
https://stackoverflow.com/questions/4703046
What version of the library are you using?
What is the data source (in-memory lists, Entity Framework, etc)?
What kind of filter causes the error (filter row or header filter with checkboxes)?
Are there any summaries configured?
Stack traces or a sample project would be helpful.

UPDATE
We have published a release candidate build 1.4.0-rc1 which addresses some issues related to TimeSpan.
Details: #200.
Would you please give it a try and check if the issue is resolved?

Closing due to inactivity.

license: mit


text:
Node.js unit testing

Are you requesting a feature or reporting a bug?
feature
What is the current behavior?
TestCafe supports e2e testing only
What is the expected behavior?
TestCafe could support node.js unit testing as well. "One tool to rule them all"

I'm looking at adding unit and end-to-end tests to a large, mature web app... and if I could go with a single solution I would.

I'm interested in having TestCafe being able to run unit tests, but I'd see more value if it could run them on real browsers, as for e2e, otherwise there are many solutions for running tests on node.js. Afaik only karma support unit tests on real-browsers.
Unit tests on node.js are supported by many but that way your tests run on the only engine that nobody uses among your users. TestCafe may strive for more.

@riquito Thanks for you idea. It requires careful consideration (because it should be new API, new approach..). I'm not sure we're ready to do it right now but we can consider it in the future.

I think your team should focus more on http testing. Like postman or supertest.

@devdelpiero
TestCafe already has some functionality for intercepting HTTP Requests. Please refer to the following article: https://devexpress.github.io/testcafe/documentation/test-api/intercepting-http-requests/
At the moment we think that implemented functionality is sufficient to satisfy needs of most users, so at this moment we don't have plans of moving in this way.

Yes, that would be a nice addition. Something like what Cypress advertises - Unit, Integration and End-End tests

If you could just add some configuration option to fixture and/or test so that I can prevent the browser from starting it would be really easy to use testcafe for both api and end-to-end tests in the same suite. Starting the browser can be very slow so would be great if that could be stopped.

@cattermo Thank you for your suggestion. You can run TestCafe without specifying the testing page and in headless browser mode. In this case, the test would be launched much faster.
For example:
fixture ('Fixture');
test('test', async => {
 //test API
});

@cattermo There is still no way to avoid opening a browser when TestCafe test execution starts. However, in 1.20.0+, TestCafe offers the t.request method designed for API testing.

@cattermo There is still no way to avoid opening a browser when TestCafe test execution starts. However, in 1.20.0+, TestCafe offers the t.request method designed for API testing.

I agree, is there any way just running API tests using TestCafe and without opening browser at all?

@jiteshsojitra You can use headless mode. Unit testing isn't supported.

@jiteshsojitra You can use headless mode. Unit testing isn't supported.

Agree, already using it that way. Will it not take any browser resources if headless mode used?

Yes, that is true. It behaves as described.

Hi folks,
We decided not to introduce the all-in-one tool. We want to focus on implementing E2E-specific features. Please use mocha, ava, and other tools to run Node.js unit tests. Also, you can use the built-in Node.js test runner.

authors: Aleksey28 AlexKamaev AlexanderMoskovkin Dmitry-Ostashev RoyTinker cattermo devdelpiero helen-dikareva inikulin jiteshsojitra miherlosev riquito saimanoharnethi

repo: DevExpress/testcafe


text:
Enable testcafe remote with fixed URL

Are you requesting a feature or reporting a bug?
feature
What is the current behavior?
each time I run testcafe remote new url is generated and need to copy & paste it to the remote simulator this turn to be a pain when debug a test and need to redo this many time,
What is the expected behavior?
if testcafe will generate the same URL each time it will simplify the flow as all is needed it to hit refresh on the remote browser
How would you reproduce the current behavior (if this is a bug)?
Provide the test code and the tested page URL (if applicable)
Tested page URL:
Test code

Specify your

operating system:
testcafe version:
node.js version:

Hello @mulyoved! We need some time to discuss that feature. At the moment, you can vote for this feature : Automatically copy remote worker URL to the system clipboard. Just add 👍 to the post. Also, if you are talking about iOS simulator, you can try FBSimCtl browser provider, or we can consider creating a dedicated browser provider. So what is the simulator you are talking about?

Hi @AndreyBelym
I am working on Windows and iOS simulator work on a OSX VM
Automatically copy remote worker URL to the system clipboard. does not help my use case as still hard to paste and sometimes paste really does not work across this stack of software (Host->VM->iOS Simulator)
Just a preconfigured URL will do the work much better

@mulyoved,
Yeah, I see that the current way is painful for you. Now a remote browser connect url looks like:
http://some-hostname:{port}/browser/connect/{uid}.
You can fix the {port} in the url via the --ports option.
I see the following way to resolve the problem - simplify the last part of the url, for example if you would like to run several remote browsers:
http://hostname:port/browser/connect/
http://hostname:port/browser/connect/2

Or even just use only http://hostname:port/browser/connect url to connect each next remote browser.
In this case you just reenter the same url as before to start the tests in the remote browser (the url is stored in the browser history).
Does this approach work for you?

@AlexanderMoskovkin
yes that will work nicely

Nice. It seems it shouldn't take much time to implement this. We will think over it one more time and if we will not find any unexpected side effects we'll do it.

authors: AlexanderMoskovkin AndreyBelym mulyoved


text:
Does testcafe support chrome to save session

Are you requesting a feature or reporting a bug?
What is the current behavior?
What is the expected behavior?
How would you reproduce the current behavior (if this is a bug)?
Provide the test code and the tested page URL (if applicable)
Tested page URL:
Test code

Specify your

operating system:mac
testcafe version:
node.js version:

I do not want to log in every time I use the test case

Hi @haoshasha,
The User Roles feature should meet your need.

Hello @AlekseyMartynov i tried using User Roles feature, but it's always failed when i try switch roles
can you provide an example how to use it as the helpers file? Thanks!

Hi @fkartika,
Take a look at the An Easier Way to Authenticate Users in E2E Tests article.
You can find an example in the Example: Authenticating on GitHub section there.

Thanks for the reply @AlekseyMartynov !
and then i found the problem is the first credential still stored on session, so when i switch to other role the page is reloaded to login page, but not with the new credential. It's still previous credential. I test an Angular page. Do you know why this happen?

@fkartika Do you reproduce the same for example on github.com with the same test code?

no @AlexanderMoskovkin it's not happen in your example. Your example works well.

no @AlexanderMoskovkin it's not happen in your example. Your example works well.

In this case it seems the problem is specific for you page. Could you please share your page and test code with us or create a simple example that allows to reproduce the problem on our side?
Meanwhile try to set the preserveUrl option to true. It possible it has a sense for your project.

Is that settled?

@haoshasha TestCafe runs each test in a clear environment (with empty cookie, local storage etc..). Have you tried the User Role feature? Does it meet your need?

@AlexanderMoskovkin   I'll try it

@AlexanderMoskovkin Each test case requires each login，but I don't want to

authors: AlexanderMoskovkin fitriakartika fkartika haoshasha


text:
click/.visible on dropdown list element: action target (xxx) is too small to be visible

What is your Scenario?
After updating TestCafe, every .visible or .click on a list item failed.
This seems to be related to versions 3.6.1 and 3.6.2, as there are no such problems with version 3.6.0.
N.B.: with or without :headless
What is the Current behavior?
In TestCafe versions >3.6.0, assertions on listElement.visible or clicking on these elements fail despite the fact that they are visible.
What is the Expected behavior?
A visible element should be .visible and clickable
What is the public URL of the test page? (attach your complete example)
I've tried to reproduce it with examples like https://www.w3schools.com/css/css_dropdowns.asp, but the problem doesn't appear.
I think it may be linked to the list, which is dynamic.
What is your TestCafe test code?
I can't reveal all steps, as there are a lot. But only the following is failing
await t
     .expect(page.calculator.typeSelect.options(optionsNumber)[0].selector.visible)
    .ok()
    .click(page.calculator.typeSelect.options(optionsNumber)[0].selector);

Your complete configuration file
No response
Your complete test report

The action target (...) is too small to be visible:
224px x 24px.
Browser: Chrome 127.0.0.0 / Ubuntu 22.04
394 |  const optionsNumber: number = await page.calculator.typeSelect.count();
395 |  await t.expect(page.calculator.typeSelectTest.visible).ok();
396 |  await t
397 |    /*   .expect(page.calculator.typeSelect.options(optionsNumber)[0].selector.visible)
398 |    .ok()*/

399 |    .click(page.calculator.typeSelect.options(optionsNumber)[0].selector);
400 |});
401 |

at  (/home/xx.ts:399:6)
at fulfilled (/home/xx.ts:28:58)

Rem : .visible in comment so error is more explicit
Screenshots

Here is the list
Steps to Reproduce

run a test with a dropdown list (dynamic?) using TestCafe > 3.6.0
.visible or click on an element of this list
run the same with TestCafe 3.6.0

TestCafe version
3.6.2
Node.js version
22.1.0
Command-line arguments
-b chrome
Browser name(s) and version(s)
Chrome 127
Platform(s) and version(s)
Linux, Ubuntu 22.04
Other
No response

I tried to find an example on a public site, but I'm afraid I couldn't find any.
If you know of one that uses select with dynamic data (in angular would be perfect), I'd be happy to give it a try.

Hello, thank you for your report.
Please refer to the https://github.com/DevExpress/testcafe/issues/8237 issue.
I'll close this issue as a duplicate.

authors: Bayheck Hellswing


text:
Prepare management accounts for organization GuardDuty

[ ]  Enable trusted access between Organizations and GuardDuty in mgmt-resources.
[ ]  Register the security accounts as delegated admins for GuardDuty in all enabled regions in mgmt-resources.

I ran into a lot of problems with this task related to performing an action in all enabled regions of an account:

Although a data source exists to fetch a list of enabled regions in an account, the list can't be looped over in a resource block because Terraform needs to know at plan time the number of instances of a resource being created with for_each or count, as well as the keys for for_each, whereas the list from the data source wouldn't be known until apply time.
Even given a list of enabled regions that's known at plan time, Terraform doesn't support looping through that list in a providers block. Instead, a separate providers block needs to be declared per region with the region hard-coded.
Likewise, a separate resource or module block needs to be declared for each region.
Much like CloudTrail, enabling org GuardDuty will require separate changes to multiple accounts. As much as I like having one Terraform config per account (e.g., to make it easy to track all resources created within each account), I very much don't like separate parts of the same capability being scattered across multiple Terraform configs.

It's possible the upcoming Terraform Stacks feature will provide solutions for the above issues, but in the meantime, I'm exploring other ways to approach this type of task, even if means some rearchitecture.

repo: DevShrekOps/aws-org-tf-demo


text:
Fixed deprecated issues with numpy

The program was crashing due to the deprecated numpy object np.int.
I also added the possibility to install the package via poetry for local sandbox and future contributions.

Thanks for raising the PR. THe deprecation issue was resolved in #8 .

repo: DiGyt/asrpy


text:
Improve junit output on test failure due to MissingStateChangeMethod

Currently, when a test fails due a MissingStateChangeMethod, it is impossible to know which pact and interaction the state originates from. Neither the stacktrace nor the standard output mention anything that helps. You need to go and find the state somewhere, which can be difficult when there is more than one consumer.
It would ideal if, at least, the consumer name was included and, perhaps, which interaction(s) are involved.
Current stacktrace
java.lang.AssertionError: Provider state change callback failed
Caused by: au.com.dius.pact.provider.junit.MissingStateChangeMethod: Did not find a test class method annotated with @State("a state")

Current standard output
au.com.dius.pact.provider.junit.MissingStateChangeMethod: Did not find a test class method annotated with @State("a state")
	at au.com.dius.pact.provider.junit5.PactVerificationStateChangeExtension.invokeStateChangeMethods(PactJUnit5VerificationProvider.kt:339)
	at au.com.dius.pact.provider.junit5.PactVerificationStateChangeExtension.beforeTestExecution(PactJUnit5VerificationProvider.kt:289)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeBeforeTestExecutionCallbacks$4(TestMethodTestDescriptor.java:186)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeBeforeMethodsOrCallbacksUntilExceptionOccurs$5(TestMethodTestDescriptor.java:197)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeBeforeMethodsOrCallbacksUntilExceptionOccurs(TestMethodTestDescriptor.java:197)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeBeforeTestExecutionCallbacks(TestMethodTestDescriptor.java:185)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:71)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:135)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask$DefaultDynamicTestExecutor.execute(NodeTestTask.java:198)
	at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:138)
	at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.lambda$execute$2(TestTemplateTestDescriptor.java:106)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654)
	at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658)
	at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:274)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
	at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:106)
	at org.junit.jupiter.engine.descriptor.TestTemplateTestDescriptor.execute(TestTemplateTestDescriptor.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:135)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1540)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1540)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:125)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:135)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:123)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:122)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:80)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220)
	at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188)
	at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:150)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:124)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)

This is done for both junit4 and junit5

repo: DiUS/pact-jvm


text:
Added dash character to series name regex in provider addic7ed

Fixes this bug: https://github.com/Diaoul/subliminal/issues/563#issuecomment-174997560

Done with unittests in d125ffa

repo: Diaoul/subliminal


text:
Test adding a user and access control rule to a particular MQTT topic

On our EMQ deployment, we need to be able to add new users and publish to various topics. We will also want to restrict topics, so they are only accessible for specific users.
See #124 for suggestion on where to start testing.
User story

As an API Manager
I want to proxy my MQTT traffic through the Apinf platform
so that I can view analytics, perform rate limiting, etc

As an API Manager
I want to be the only authorized user to publish messages to a given topic
so that all messages on that topic come only from my real-time API

@frenchbread Can you take this task? If yes, please keep us updated, because we need this to move forward.

@bajiat Self-assigned

@frenchbread Any updates on this task? Can you keep us updated regularly, e.g. daily? You can add you status update e.g. as comments to the issue. Or post to Apinf channel in RC.

@bajiat I was just about to. Doing a research on EMQTTD since, as noted, it doesn't provide open REST interface to POST data into it (e.g. users, subscriptions, messages etc.) and everything related to adding stuff to there supposed to be done through user interface, MQTT dashboard. EMQTTD also doesn't have a detailed documentation for developers that allows them to extend the broker internally, only by adding plugins. So I had to dig into the code, and understand what's going on there.
Database
To add users to MQTT, some storage is needed. By default MQTT uses mnesia as a core database to store data in. Since we need to somehow access it, add entities, we need some REST interface which is not provided. The only idea I came up with so far is to code it ourselves. Because there is no other way to add user to emqtt, and existing REST interface is for only for listing data, not adding.

The suggestion is to create a separate plugin, or extend existing one emqttd_plugin_apinf to have rest endpoint that will allow to write/read items similarly to these:

@frenchbread Remember that this should be an upstream contribution only and start with users only. You can give your recommendation about storage mechanism. Keep in mind we want to define ACL rules for the users to publish messages to EMQ topics.

@frenchbread Can you also check the research comments from #124 before writing any code?

@frenchbread Why does the picture you have added in one of the comments above contain 'Y' (= yes) for POST for /api/users? Isn't POST for adding?

'Y' (= yes) for POST for /api/users? Isn't POST for adding?

@bajiat It is, but still it doesn't allow to add entities. (There is no was to pass params to that POST req). Did not find anything about that in code as well.

Added an endpoint for adding user, tested it with postman and it worked. Working in https://github.com/apinf/emq_dashboard repo (forked). It works in a way, that you have to pass username and password key/value in the headers. Later will add same endpoints for topics, acls etc.

It looks like you may be reinventing the wheel. If you need a user and acl management system, you can store it outside emqttd and use one of its plugins. Have you considered any of these?

https://github.com/emqtt/emq-auth-http : Expose HTTP endpoints (REST) in your app that will be used by emqttd to check whether to allow connections and pubsub.
https://github.com/emqtt/emq-auth-mongo : Ask emqttd to read authentications and acl from mongodb and create a separate api layer in node to manage entries in this mongodb
https://github.com/emqtt/emq-auth-mysql : Same as above, but with mysql
https://github.com/emqtt/emq-auth-pgsql : Same as above, but with postgres
https://github.com/emqtt/emq-auth-redis : Same as above but with redis
https://github.com/emqtt/emq-auth-ldap : Same as above but with LDAP

PS: Chandra requested me to have a look at this and comment here.

@frenchbread Will you be able to carry this forward? Can I assign this to you? Please see the comments above from @phanimahesh. Does this need re-estimation based on the comments? We can also re-define the scope with @brylie

@bajiat Yes, I'll continue this one. Estimation is the same.

@frenchbread Let's have a meeting about this task to check what should be the deliverable.

@phanimahesh our understanding of the HTTP API is that it is mainly useful for getting data but does not allow the creation of data. For example, we would like to use the REST API to create the following:

users for submitting messages to topics (using whichever authentication method is appropriate)
topics for publishing and subscribing to messages
ACL rules to control which users can publish/subscribe to which topics

To this end, we are tracking the following tasks separately:

https://github.com/apinf/emq_dashboard/issues/1
https://github.com/apinf/emq_dashboard/issues/2

/cc @bajiat @frenchbread

The idea is to manage this data out of emqttd. Consider this like any other application data you track, pick an appropriate storage like postgres, redis, mongodb etc, create a new table/collection in an existing or new database, and create an api for getting and creating data in this database. For instance, this can be a new collection alongside other apinf data, with api for creation, and web interface managed by apinf dashboard.
Now, the final piece of the puzzle is to make emqttd use this data. Here we have two options.

Create apis to check user's password and permissions, and use emq-auth-http pointed at those apis. Then for every incoming mqtt packet, emqttd will make a request to the api and use the response to decide whether connections and publish/subscribe requests should be allowed. It does not matter how the api server internally manages the data.
Alternatively, make emqttd directly talk to underlying datastore, using the appropriate plugin among emq-auth-{mongo,pgsql,mysql,redis} etc.

In other words:

For every new connection
emqttd will ask you whether it should be allowed. In option 1, you'll get a request, and have to respond with a yes or no. In option 2, we tell emqttd to go look for the data in a database directly. In both cases, emqttd does not manage the data, it only reads it. You manage that data using a separate web interface and assosciated apis, probably a part of apinf dashboard.
Emqttd will use the response (or data in the database) to make the decision whether to allow a connection or not.

Similar flow happens for access control rules. Every subscription request and publish request is checked against access control rules.
There is no need to create topics, just like there is no need to create urls on a server. They just exist. Topics in emqttd are created the first time they are encountered, and cleaned up after long periods of disuse. A topic is usable only when there is an access control rule that allows either publishes or subscriptions to atleast some clients. Make sure to check the default or catch-all mode applied when no other matching acl is found, it should ideally be deny.
Hope that clears things up.

Opened an upstream issue, suggestion about extending the list of existing API endpoints.

As of our discussion with @brylie and @bajiat, I added a draft code to https://github.com/apinf/emq_dashboard that allows to get request method from the request headers (e.g. POST, GET, UPDATE, DELETE) and check with what action to proceed with specific request.

make emqttd directly talk to underlying datastore, using the appropriate plugin among emq-auth-{mongo,pgsql,mysql,redis} etc.

@phanimahesh that sounds close to our goal. I.e. we are considering how to define EMQ ACL rules, regardless of underlying datastore, via a REST API.
E.g. we would like to be able to call /api/acl with HTTP to do the following:

get a list of ACL rules
get a single ACL rule
create an ACL rule
update an ACL rule
delete an ACL rule

There is no need to create topics, just like there is no need to create urls on a server. They just exist. Topics in emqttd are created the first time they are encountered, and cleaned up after long periods of disuse. A topic is usable only when there is an access control rule that allows either publishes or subscriptions to atleast some clients. Make sure to check the default or catch-all mode applied when no other matching acl is found, it should ideally be deny.

We will remove the requirement for 'defining' topics from our task.

/cc @bajiat @ccsr

If you need a user and acl management system, you can store it outside emqttd and use one of its plugins.

This offers great flexibility as well.
My understanding is that a REST API would still be useful, once the datastore was configured, so that we can do the following via HTTP calls:

get a list of users
get a single user
create a user
update a user
delete a user

I may be misunderstanding our goal, but it seems like we want a common interface (REST) for managing users.

/cc @bajiat @ccsr

@brylie I recommend storing the users and acl rules completely outside emqttd. Working with mnesia without good experience with erlang and mnesia is not a good idea IMO.
If you'd like concrete suggestions, with most choices made for you based on what I know about the team:

Create a new project - Probably call it Apinf MQTT user and access control manager
Make it a nodejs based one with postgres for the datastore
Create a REST API in this project to manage (CRUD) users and ACL rules
Create a database view that looks more or less like the example in emq-auth-pgsql's README. You can skip this step if your internal database schemas are directly what emq-auth-pgsql accepts.
On the emqttd instance, install emq-auth-pgsql and configure it to talk to a database shared by this and the above mentioned project.

(I suggested postgres instead of mongo because I honestly believe mongo is a bad data store, and trusting auth and acl data to it doesn't feel right. You can substitute mongodb for postgres if you desire, but be warned that mongo's design makes it unreliable for data storage in clustered mode, and postgres is considered objectively superior by many.)
If you want to communicate strictly over http without sharing the database directly, implement two additional http endpoints as required by emq-auth-http. See its README for more details.

Regarding the upstream issue adding support for user management to emqttd dashboard itself, it is planned to work with emqttd auth username module, which is not ideal for this usecase. Having an external datastore offers greater flexibility.

what is this Integrator?

Basically, we are the integrators - developers integrating the systems.
Creating a stand-alone project sounds like a viable idea.
I would like to wait for a bit to see how the EMQ management API progresses, before committing to a new integration project.
/cc @bajiat

@phanimahesh What is the timeline for the user management API to be available?

I would like to wait for a bit to see how the EMQ management API progresses, before committing to a new integration project.
@brylie do you mean we wait for this feature to be available for this phase? I dont recommend this has been in the most requested feature.

Sorry closed this issues by accident. I reopned it again

@ccsr a day ago, @emqplus said:

"We are working on the the management/monitor API these days."
https://github.com/emqtt/emq-dashboard/issues/90#issuecomment-271820809

My recommendation is to clarify the progress and scope of the EMQ Management API.
We can see if the EMQ Management API might meet our needs before committing to build and maintain a stand-alone application to integrate Apinf with EMQ.

This issue was moved to apinf/platform#2043

authors: bajiat brylie ccsr frenchbread phanimahesh

repo: Digipalvelutehdas/APIKA


text:
managed_switch triggers incorrectly during shutdown

🐜 Bug description
Stopping automation code can inadvertently use managed_switch to produce incorrect states on shutdown.
Code should be adjusted to not run during teardown

There appears to be a relationship with synapse. It sends "going offline" -> entities are no longer cleanly "on/off" -> invalid result calculation

repo: Digital-Alchemy-TS/automation


text:
Blog hyperlink pointing relative to post vs. root

Page links are not working properly from blog post. Try:

Home ->
Blog ->
Alan's post ->
Click "Home" on the bar.

You get a 404 from here: https://digitalglobe.github.io/DeepCore/2017/04/11/index.html

Fixed.  The Home link was not using the liquid syntax everything else was.

authors: geovations mrabenhorst

repo: DigitalGlobe/DeepCore


text:
Running service under URL prefix

Hi,
do you have experience running Digital Slide Archive under URL prefix?
We are running a common web service on the main domain (e.g. https://custom.domain.com/) and then running Digital Slide Archive within the prefix /services/dsa (e.g. https://custom.domain.com/services/dsa/ )
I was following the guide for Girder https://girder.readthedocs.io/en/latest/deployment-alternatives.html#reverse-proxy
but still have issues with some http requests not using URL prefix and just using e.g. /static/... instead of /services/dsa/static/.... So it seems like most requests are working but some are not following the settings:
[server]
api_root = "/services/dsa/api/v1"
static_public_path = "/services/dsa/static"

We do this on one of our demo servers (and test it on CI).  The nginx fragment is
location /histomicstk/ {
  proxy_set_header X-Forwarded-Host $http_host;
  proxy_set_header X-Forwarded-Server $host;
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  proxy_set_header X-Forwarded-Proto $scheme;
  proxy_pass http://172.17.0.2:8080/;
}

In the girder.cfg we have
[global]
tools.proxy.on = True
[server]
api_root = "/histomicstk/api/v1"
static_public_path = "/histomicstk/static"

The only different I see here is we are only one path deep in the reverse proxy.  Did you include the tools.proxy.on = True?

That gets created as part of the girder build process based on the value of static_public_path from the config file.  I think that means that you either changed the config file without rebuilding or rebuilt in a different environment than where the config file is located.

@manthey oh, I see. I was using docker-compose setup, removing and creating new container every time I change the config. Based on the logs it seems like it is doing some build right after the start.
Is it fine to build for production then? At least that seems to solve css paths.
docker exec -ti dsa_girder_1 bash -lc "girder build --mode production"

I still get some 502 and cancelled stream, but that I think I need to figure out with NGINX proxy.

Yes, doing the build that way is fine.  You can also use a provisioning file to ask it to build the files on docker-compose up (e.g., modify provision.yaml or mount your own version of it and have rebuild-client: True in that file.

authors: manthey matuskosut


text:
🛑 M17-NZD is down

In 87d65e6, M17-NZD (https://m17-nzd.m1m0n.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: M17-NZD is back up in 9887518.

repo: DigitalVoiceNZ/upptime


text:
🛑 ZL1AMK Repeater is down

In 34fa967, ZL1AMK Repeater (http://zl1amk.ddns.net:82) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ZL1AMK Repeater is back up in 2bdedbd.


text:
🛑 ZL1OTD Repeater is down

In c67f4d9, ZL1OTD Repeater (https://zl1otd.dvnz.nz) was down:

HTTP code: 502
Response time: 19199 ms

Resolved: ZL1OTD Repeater is back up in 60e1043.


text:
🛑 ZL1OTD Repeater is down

In 20b4f81, ZL1OTD Repeater (https://zl1otd.dvnz.nz) was down:

HTTP code: 502
Response time: 19233 ms

Resolved: ZL1OTD Repeater is back up in e7efa5e.


text:
🛑 Timeline Cache (Social) is down

In 0164195, Timeline Cache (Social) ($URL_SCHEDULER_JOBS/health/timeline/social) was down:

HTTP code: 404
Response time: 8 ms

Resolved: Timeline Cache (Social) is back up in 3bfde50.


text:
⚠ API - Lens has degraded performance

In aaff9c4, API - Lens ($LENS_API_URL) experienced degraded performance:

HTTP code: 504
Response time: 10619 ms

Resolved: API - Lens performance has improved in 7fca926 after 8 minutes.

repo: DimensionDev/status


text:
Very big lag and then crash

crash-2022-04-01_12.15.59-client.txt

https://www.mediafire.com/file/a1tklydyhii6g1g/latest.log/file

PLEASE HELP ASAP !!!

repo: DimensionalDevelopment/VanillaFix


text:
Notebook: Enable Interactivity on Plots

Problem
Currently the plots generated in the notebooks (e.g. from the reconstruction error) are not "zoomable".
Solution
Update the notebooks with the following magic command: %matplotlib widget

Implemented with: cfc4ed92c0a4f806b38fcd43d8b1dcce634c891f

repo: DiogenesAnalytics/autoencoder


text:
Add Dependabot configuration for GitHub Actions updates

This PR adds a Dependabot configuration that checks once a week if the GitHub Actions are still using the latest version. If not, it opens a PR to update them.
It will actually open few PRs, since only major versions are specified (like v3), so only on a major release (like v4) it will update and open a PR. But it helps actively keep GitHub Actions workflows up to date and secure.
See Keeping your actions up to date with Dependabot.

Awesome, thank you!

authors: EwoutH jkelleyrtp

repo: DioxusLabs/dioxus


text:
Checking for already handled orders should not use orders with zero invoices

Actually the last website scrape is determined by only the latest one but it's possible that the latest order is not shipped and therefore there is no invoice present.
Instead of checking only the lastest order  we should check the lastest order with at least one invoice and all invoices should be saved. If there are invoices which are not saved, the run should be repeated.

:tada: This issue has been resolved in version 2.0.0-dev.1 :tada:
The release is available on:

npm package (@dev dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 2.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 2.0.1-dev.1 :tada:
The release is available on:

npm package (@dev dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


text:
Adding MS Login

There is now a login page before you can get to the app! Let me know if it works for you and how it looks.
Closes #36, #86, #96, #104
Currently there is no logout button... This will go on the profile page to be built in the future.

Latest commit closes #111

Awesome! I was able to log in using my own account, and it stays logged in if I close and reopen the app.

I also didn’t have to do the 2 factor authentication! I guess that’s only for faculty
Get Outlook for iOShttps://aka.ms/o0ukef

From: Simon Reid @.>
Sent: Thursday, July 20, 2023 1:36:59 PM
To: DiscoTrayStudios/hendrix-today @.>
Cc: Larson, Olivia @.>; Review requested @.>
Subject: Re: [DiscoTrayStudios/hendrix-today] Adding MS Login (PR #110)
Awesome! I was able to log in using my own account, and it stays logged in if I close and reopen the app.
—
Reply to this email directly, view it on GitHubhttps://github.com/DiscoTrayStudios/hendrix-today/pull/110#issuecomment-1644410863, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASQ2BN4GJE6NUVC5VOQNJKLXRF3EXANCNFSM6AAAAAA2QPVOV4.
You are receiving this because your review was requested.Message ID: @.***>

authors: Larsonog mgoadric reidst

repo: DiscoTrayStudios/hendrix-today


text:
[YBUG.IO] I did do some USDT/RBTC trades....

I did do some USDT/RBTC trades. They are not listed in this "Trading activity" history list.
Source url: https://live.sovryn.app/trade
Reported by: r21online@pm.me
Reported at: 18 Apr at 04:19 UTC
Location: SG, Singapore
Browser: Firefox 87.0
OS: macOS 10.15
Screen: 1440x900
Viewport: 1355x731
Screenshot:

For more details please visit report page on Ybug:
https://ybug.io/dashboard/reports/detail/7x9z3ptc18hwxhhjxatc

Closing this as Swap history is currently visible in Portfolio page, and we will be moving it to the appropriate place on Swap page in upcoming release. I have emailed the user explaining this

authors: creed-victor soulBit

repo: DistributedCollective/Sovryn-frontend


text:
Dublicated orders in admin html, by creation via REST from kue queue VSF

Dublicated orders in admin html, by creation via REST
Magento 2.2.6
Out of the box Search Engine using Mysql.
Expected result:
See one order in admin html
Actual result:
Multiple orders

tail -f var/log/exception
[2019-03-25 05:47:44] main.CRITICAL: Report ID: webapi-5c986b806ec6e; Message: {"error":{"root_cause":[{"type":"parsing_exception","reason":"[terms] query does not support [5082] within lookup element","line":1,"col":89}],"type":"parsing_exception","reason":"[terms] query does not support [5082] within lookup element","line":1,"col":89},"status":400} {"exception":"[object] (Exception(code: 400): Report ID: webapi-5c986b806ec6e; Message: {\"error\":{\"root_cause\":[{\"type\":\"parsing_exception\",\"reason\":\"[terms] query does not support [5082] within lookup element\",\"line\":1,\"col\":89}],\"type\":\"parsing_exception\",\"reason\":\"[terms] query does not support [5082] within lookup element\",\"line\":1,\"col\":89},\"status\":400} at /home/vuestorefront/magento2/vendor/magento/framework/Webapi/ErrorProcessor.php:205, Elasticsearch\\Common\\Exceptions\\BadRequest400Exception(code: 400): {\"error\":{\"root_cause\":[{\"type\":\"parsing_exception\",\"reason\":\"[terms] query does not support [5082] within lookup element\",\"line\":1,\"col\":89}],\"type\":\"parsing_exception\",\"reason\":\"[terms] query does not support [5082] within lookup element\",\"line\":1,\"col\":89},\"status\":400} at /home/vuestorefront/magento2/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:610)"} []

Which versoon of VSF are You on? It has been fixed in 1.8.4 I believe @patzick

Yeah, this problem shouldn't appear in current stable version. Has been fixed in 1.8.3 with https://github.com/DivanteLtd/vue-storefront/issues/2409

@dimasch
I think we can close this?

Yes, need close. Thanks.

authors: afirlejczyk dimasch patzick pkarw


text:
[FEATURE] Page size (items per page number) selection for pagination

Sometimes one might want to give their users possibility to change page size on paginated list.
For now it's not clear whether this would be a part of pagination component or should be handled separately.
Current SfPagination component lacks such possibility and also example pages do not suggest any other components controlling this particular option.
I think two approaches could be considered here:

building page size select as a part of SfPagination component
suggesting usage of SfSelect (BTW: it shouts now that it doesn't accept number for now, but works with it :grin:) by placing it somewhere on the example pages

Some points of view:

beauty of the UI - either solution can be perfectly designed to fit the styles
User eXperience - depends on the usage of SfPagination; if it's used only on the bottom, it might be annoying to the user to scroll down just to change the page size if it's a part of pagination component - separate control item would be useful
Developer eXperience - One ring to bring them all and in the darkness bind them :ring: single component holding entire logic of one function is better in terms of DX

@mbaran-dvnt can you propose some solution for page size selector

It's done:) You can find two ways of using this component. In the top search filters bar and at the bottom along with pagination:)

authors: Qrzy mbaran-dvnt pspaczek

repo: DivanteLtd/storefront-ui


text:
Improved: Spacing of elements of product page(#481)

Improved tab content padding top, review list padding, spacing of color label, product bottom.
Improved spacing around product info.
Related Issues

Closes #481
Short Description and Why It's Useful

Improved tab content padding top, review list padding, spacing of color label, product bottom.
Improved spacing around product info.
Screenshots of Visual Changes before/after (If There Are Any)

Before

After

IMPORTANT NOTICE - Remember to update CHANGELOG.md with description of your change
Contribution and Currently Important Rules Acceptance

[x] I read and followed contribution rules

 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.

Many thanks to @dt2patel for suggesting these changes !!

It's important to add that we did this so that in future if someone where to add new elements to the product_info section they don't have to remember to add a horizontal margin to it. Instead, by having padding defined on the parent component, even though padding is doubled up on the tabs, the experience of adding components and elements to the product_info section is smoother and leaves less room for error.

repo: DivanteLtd/vsf-capybara


text:
Suggestion: Add an example to list_all_serial_ports

An example to list all serial ports present, is like a hello word example for this kind of lib.
People should just type deno run <address_of_the_example> in their terminal and get to know if the lib can detect its own serial ports.
Normally if the lib pass this step, they believe it may be work in their project.
You should also add up above command line in the README.md so lib's lead can just copy and past in your terminal.
Note: I can pull request this change if necessary. Just let me know.
Thank you for write this amazing lib.

Sounds good to me, PRs are welcome :)
FYI this library currently doesn't work on Linux and macOS. Only Windows implementation is there, but I do plan to work on supporting other platforms. Initial release will be made when it supports all these major platforms.

Added the example

authors: DjDeveloperr fvilante


text:
Impossible d'arreter ou redemarrer ES par le manager

Issue reportée par des users, que je viens de vérifier avec le dernier commit.
Restart et Stop ne marchent pas, par contre Start oui. Aucune erreur n'apparait sur la console serveur quand j'utilise un des boutons qui déconne.

La version proposée aux utilisateurs est laquelle (même si toi tu as testé avec le dernier commit) ?

la 2-0-beta

Ha ok je suis en retard sur ma borne alors !
Je corrigerais cela, mettrais à jour les langues, et ferais une 2.0.1 car il y a eu qqs corrections depuis.

Tu devances ma prochaine question pour une release ^^

[ ] Vérifier l'arrêt / le redémarrage d'ES
[ ] Lors de l'arrêt, renvoyer vers une page disant "Bye bye le manager ne va plus fonctionner car recalbox est éteint"
[ ] Lors du redémarrage, renvoyer vers une page disant "Wait mon petit le manager va être indisponible le temps du redémarrage"

authors: DjLeChuck substring

repo: DjLeChuck/recalbox-manager


text:
fix #98 - use -m64 for 64 bit windows

This should in theory fix #98 - I need to wait a couple of minutes until AppVeyor builds, so will let it open ;-)

BTW, why unittest-cov??

BTW, why unittest-cov??

I originally planned to upload the result to codecov too, but that seems a bit more difficult. Changed ;-)

Current coverage is 98.12%

Merging #100 into master will not affect coverage as of 18c8922

@@            master    #100   diff @@
======================================
  Files            7       7
  Stmts         2500    2500
  Branches         0       0
  Methods          0       0
======================================
  Hit           2453    2453
  Partial          0       0
  Missed          47      47

Review entire Coverage Diff as of 18c8922

Powered by Codecov. Updated on successful CI builds.

authors: 9il codecov-io wilzbach

repo: DlangScience/mir


text:
Chore#80 clean dev

Cleaned up Dev code

i went through clean dev and did my fixes, pls rereview; also, github says build failed but it works fine on my end :// github did say the issue was in climber but that's not even used so 😭
major changes:

in PIDController, sometimes we use tolerance as a percent of the setpoint and other times we use it as a hardcoded value (like 200 RPM or smth) it was a pretty even split so i didn't standardize that, instead I added tolerance/tolerancePercent to PIDController and updated the atSetpoint calculations accordingly
updated and added to the readme :))
added all values used in commands to constants (besides wrist angle for shooting at speaker, those constants are already made but not in Dev yet so just leave that)


text:
Campaign Header Photos, IE 8

Issue Summary: Campaign header photos do not fill entire header space.

Browser/Operating System: Windows 7 / IE 8

This is a known issue. IE 8 does not support background-size: cover, which we use to fit cover images to the header. This only affects 0.76% of our users, according to Google Analytics, so I don't think it's worth much engineering time.

Ahh, makes sense @DFurnes. I think we can close then?
cc @mikefantini

authors: DFurnes namimody

repo: DoSomething/dosomething


text:
Fix official rules display issue.

Changes

Fixes #3819. Moves container's wrapper outside of the feature flag if-block, so that "Official Rules" can live inside it as well. Also adds a container__body around "official rules" section.

For review: @weerd
Screenshot

:+1:

authors: DFurnes weerd


text:
Campaign preprocess configs olé

Refs #5147
What's this PR do?
This PR updates the configuration variables for the Number of Participants label and the complete Permalink Page section of variables within DoSomething Config -> DoSomething Campaign.
Where should the reviewer start?
Just confirming that the code looks correct.
Any background context you want to provide?
The fields are translated both on the main site page, user-facing output and within the input fields in the CMS. They have all been testing to confirm that if a translation is available, the translation is used.
What are the relevant tickets?
#5147

@angaither

:+1:

authors: angaither weerd

repo: DoSomething/phoenix


text:
Center "add your photo here" text

What's this PR do?
Updates the spacing on the "add your photo here" text so that it stays centered across different viewports.
Updates this:

To this:

What are the relevant tickets?
Fixes #5782
@DoSomething/front-end

i see literally no difference
#benderlife

OMG, CSS! :art:

when was the last time we made a CSS change in this repo?

2011

:pray: i remember how do do :art:

24 days ago according to github...

@DoSomething/front-end canz I merge?

Ship it! :articulated_lorry:

authors: DFurnes angaither deadlybutter sbsmith86


text:
how to use BeginAuthSessionViaCredentials api

https://api.steampowered.com/IAuthenticationService/BeginAuthSessionViaCredentials/v1/
account_name |   | string | Yes |
encrypted_password |   | string | Yes | password, RSA encrypted client side
encryption_timestamp |   | uint64 | Yes | timestamp to map to a key - STime
remember_login |   | bool | Yes | deprecated
platform_type |   | {enum} | Yes |
persistence |   | {enum} | No | whether we are requesting a persistent or an ephemeral session
website_id |   | string | No | (EMachineAuthWebDomain) identifier of client requesting auth
device_details |   | {message} | Yes | User-supplied details about the device attempting to sign in
guard_data |   | string | Yes | steam guard data for client login
language |   | uint32 | Yes |
like i know  encrypted pass and timstamp
my question is what to add in gaurd data and language?

Read the code, I'm not here to do individual coaching.

authors: DoctorMcKay gromaxbro

repo: DoctorMcKay/node-steam-session


text:
🛑 Holzfinis is down

In 77acfa6, Holzfinis (https://www.holzfinis.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Holzfinis is back up in a4f4e40.


text:
🛑 Siriderma-Shop is down

In a4ba861, Siriderma-Shop (https://shop.siriderma.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Siriderma-Shop is back up in ad8743a.


text:
Feature request: events for dropdown

Hello.
Is it possible to make events for dropdown like in Bootstrap? It would be awesome and very usefull.
http://getbootstrap.com/javascript/#dropdowns

+1

+1

Moved to feature request board

This feature already exsists: http://materializecss.com/dropdown.html#initialization
  $('.dropdown-button').dropdown('open');
  $('.dropdown-button').dropdown('close');

I believe @mishantrop means events or callbacks. Those are just programmatic ways of opening and closing the dropdown.

@acburst Bootstrap doesn't provide any callbacks for dropdowns. But I think the solution here can be easily applied to materialize as well

They use events and have their users write custom event handlers. We've been using callbacks instead in Materialize so I think we should stick to that convention

@acburst You are right, found it here

authors: Ragsboss acburst fega mattiabasone mishantrop tomscholz

repo: Dogfalo/materialize


text:
Border-bottom style on disabled select and input are not the same

Has you can see on this image (and on materializecss.com) the border-bottom style is not the same on the select and the input when disabled.

Expected Behavior
Both select and input once disabled should have border-bottom style dotted

Current Behavior
Disabled select bottom-border style is solid
Possible Solution
See expected behavior
Steps to Reproduce (for bugs)
See disabled input vs disabled select on demo page here
Context
Having same style would unify the look and be less confusing in a disabled form
Your Environment

Version used: 0.98.2
Browser Name and version: Chrome, FF, IE, Edge .. name it!
Operating System and version (desktop or mobile): Windows 10
Link to your project (if appropriate): irrelevant

Should be fixed with https://github.com/Dogfalo/materialize/pull/2841

Looks like duplicate / unneeded style definitions:
https://github.com/Dogfalo/materialize/blob/033f036325c5f9ec8baec2ee9a5ce7b0b538b9f2/sass/components/forms/_select.scss#L78
https://github.com/Dogfalo/materialize/blob/033f036325c5f9ec8baec2ee9a5ce7b0b538b9f2/sass/components/forms/_select.scss#L73

Fixed in c678efba

authors: DanielRuf acburst jfcere tomscholz


text:
Select down arrow does not trigger dropdown

Clicking on the down arrow to the right does not trigger the dropdown. The whole area to the left works.
Tested with Windows 7 Chrome, IE11, Safari and Mozilla.

This was fixed, but is not in a release build yet.

I got it to work by giving the select wrapper i element a z-index:-1. Try this, it won't work in all situations, and you may have to have a relative positioned div to keep the visuals from going behind the page:
.select-wrapper i {
    z-index: -1;
}

authors: Dogfalo MattgyverHub tchaecker


text:
fix indent mistakes in form example

Hello
I found some indent mistakes in form example and fix it.

to

I have edited .html page under jade/page-contents/.
Is that right?

Thanks!


text:
Firefox: compression in Web Worker fails

When trying to use the lib in Firefox (67.0.1 (64-Bit) or Dev. Edition: 68.0b8 (64-Bit)) it yields: "Run compression in web worker failed: document is not defined , fall back to main thread"

@RickStanley
This is not an issue beccause Firefox do not currently support "OffscreenCanvas" API which is required for compression to work in web worker (reference: https://caniuse.com/#feat=offscreencanvas), so the current behavior in Firefox is expected to be fall back to main thread.

authors: Donaldcwl RickStanley

repo: Donaldcwl/browser-image-compression