cartoon representation selection problem with atom list as sele string

How to reproduce the bug:
stage.loadFile('rcsb://1GZX')
stage.compList[0].addRepresentation('cartoon',
{
   sele: '@0,1,2,4383'
})

Expected result: only the atoms provided should be represented (this test case is extreme, nothing should be represented withs as few atoms).
Actual result: the 4 chains extending from the first to the last atom are represented.
When a list of atom is provided for a sele string, cartoon (and other secondary structure displays such as tube) is displayed starting from the first atom of the list and extending to the last.
This is not the case with representations such as spacefill, licorice or ball+stick

thanks, see it too

fixed in 726b7ed6efe7fee788e42d1cc53e02815415e7af, please have a look

It works!
Thank-you Alexander!
I suspect there is another unexpected behaviour related with selections. I am noticing a kind of caching problem where a selection of protein minus chain B comes back when the whole protein is selected (ie : structure.getAtomSet('protein') gives the wrong result, same result as structure.getAtomSet('protein and not :B)). It may be linked to attempt at representing an empty selection previously. I'll try to make a reproducible test case scenario.

I suspect there is another unexpected behaviour related with selections. [...] I'll try to make a reproducible test case scenario.

ok, best make another issue when you do. thanks!


Replace ExceptionHandler with ServerErrorHandler

Motivation:

There's currently no way to customize the error responses produced by
request decoders. #3822
The name ExceptionHandler conflicts with the annotation with the
same name.

Modifications:

Replaced ExceptionHandler with ServerErrorHandler.

ExceptionHandler.convert() is now ServerErrorHandler.onServiceException().
ServerErrorHandler.onProtocolError() allows customizing
decoder-level error responses.

Replaced ServerBuilder.exceptionHandler() with .errorHandler().
Replaced ServerConfig.exceptionHandler() with .errorHandler().
Added ServerHttpObjectEncoder.writeErrorResponse() that's used for
writing the error response generated by ServerErrorHandler.onProtocolError().
Replaced hard-coded error responses in Http{1,2}RequestDecoder with
ServerHttpObjectEncoder.writeErrorResponse().
Pulled up the KeepAliveHandler fields to Http2ObjectEncoder and
AbstractHttp2ConnectionHandler.
Simplified the construction of Http2ObjectEncoder subclasses by
always requiring an AbstractHttp2ConnectionHandler and its
ChannelHandlerContext.
Miscellaneous:

Fixed method names in ArmeriaHttpUtil.
Enabled the test that checks if CONNECT method is allowed for
HTTP/2 WebSocket handshake requests.

Result:

Closes #3822
A user can now customize the decoder-level error responses such as
413 Request Entity Too Large.

Should we need to override HttpServerUpgradeHandler.handleOversizedMessage() so that users customize the violation? If it is rare and outside of Armeria's scope, we can wait for #3859 to be implemented.


Only try to install if the app exists

This will not fix the root cause of the current RA but should limit the breakage to the bad app.
@gardhauge

Just an idea we thought during the RA. Please close or ignore if there's better way to do this.

:+1: from me, would have limited incidents to only affect pathfinder.

:+1:


allscripts.sh is centos-specific

Even though PACCOR has a debian distribution, it contains a line in allscripts.sh that reads a file called /etc/centos-release that is not available on debian systems.

Thanks for reminding me.  I should have this fixed soon.


Referencing a type from a library does not import with mappings

Version and Platform (required):

Binary Ninja Version: 3.5.4365-dev
OS: macOS
OS Version: 12.5
CPU Architecture: M1

Bug Description:
When i use types view to create a new type that references a type library type, it imports all the relevant library types but does not create mappings to them in the type library, leading to disconnected definitions. More strangely, it does work for types referenced by the type i referenced...
Steps To Reproduce:

Open a linux elf binary
Open types view
Enter typedef FILE foo;
In the python console, enter:

>>> bv.get_type_id("FILE")
>>> bv.get_type_id("_IO_FILE")

Observe _IO_FILE has the typelibrary in its id but FILE does not

Expected Behavior:
I expected all types imported from a type library to have a mapping to their imported library

Will be fixed in 3.5.4368-dev.


Blacken codebase + add pre-commit hook + lint in CI

Closes https://github.com/pandas-dev/pydata-sphinx-theme/issues/107

I added black and flake8 to the pre-commit hook, and now also a github action reuses this pre-commit hook as check on CI.

I'll give it until tomorrow morning for somebody to suggest otherwise, then I'll merge. I think it's a good idea to merge sooner than later, since if we don't merge relatively quickly we're going to hit merge conflicts each time the codebase changes.


Broken Cyrillic symbols support in TextInput with custom fonts. RN 0.62[iOS]

Description
In iOS, when I type any Cyrillic letter in TextInput with custom font family that doesn't have Cyrillic symbols support then text in input starts flickering(see gif below).
At every odd symbol in TextInput, all Cyrillic symbols just disappear
This issue appears in 0.62. On version 0.61 and below it works fine

React Native version:
    OS: macOS 10.15.4
    CPU: (8) x64 Intel(R) Core(TM) i5-8279U CPU @ 2.40GHz
    Memory: 42.68 MB / 8.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 10.17.0 - ~/.nvm/versions/node/v10.17.0/bin/node
    Yarn: 1.19.2 - /usr/local/bin/yarn
    npm: 6.11.3 - ~/.nvm/versions/node/v10.17.0/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.8.4 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK: Not Found
  IDEs:
    Android Studio: 3.5 AI-191.8<IP_ADDRESS>77832
    Xcode: 11.4/11E146 - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.5 - /usr/bin/javac
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.11.0 => 16.11.0
    react-native: 0.62.2 => 0.62.2
  npmGlobalPackages:
    *react-native*: Not Found

Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.

Init RN 0.62.* project npx react-native init AwesomeProject
link some font that doesn't support Cyrillic symbols
Use that font in TextInput
Write any Cyrillic text in the input

Expected Results
A font that doesn't support Cyrillic shouldn't flicker in TextInput, as it was in RN 0.61 and below
Snack, code example, screenshot, or link to a repository:
You can try these fonts from my example:
Modak
Pacifico
<Text style={styles.footer}>Modak: Doesnt support cyrillic</Text>
<TextInput style={{fontFamily: 'Modak'}} placeholder="Modak Font" />
<Text style={styles.footer}>Pacifico: Support cyrillic</Text>
<TextInput style={{fontFamily: 'Pacifico'}} placeholder="Pacifico Font" />

I have the same issue

Hi also having the same issue. Interesting thing is that when I set multiline then it works without flickering.

I wanted to ask if you still experience this issue.
I'm planning to do 1-2 months of opensource and I'm preparing a list of tasks.
I have been contributing to facebook/react-native for 4 years and I specialize on the Text/TextInput components.
Thanks a lot


Removed subtree documentation from README.

Subtrees are no longer necessary.
Fixes https://github.com/GoogleCloudPlatform/java-repo-tools/issues/40.

@lesv PTAL

LGTM -- Surprisingly, I really like this, you might mention the commands required to publish a new repo somewhere at some point.

True. Next time I do a release, I'll document the steps. I figure they'll change some when we bundle the google-checks.xml file with the package.


TypeError on links when react sharepoint module is active on dashboard

Category

[x] Question

Question
I've developed a sharepoint module in react, it's finished but now with beta testing this strange issue appeared in sharepoint. When they added my module and then they add a link to another sharepoint page on the dashboard I get a TypeError: Illegal invocation in de sp-pages-assembly.js when redirected to the next page. I tried setting up the project again from the setup tutorial and copying over the components I use, but I still get this error. This error only occurs when they have my module active, if they remove it they can click on the links without any problem. I know it's not a lot information, that's why I put it here as a question. I don't know how to debug this, because it only occurs on production.
Environment details (development & target environment)

Your Developer Environment: MacOS 10.15.7
Target Environment: SharePoint Online
Framework: React
Browser(s): all
Tooling: SPFx v1.11.0

Additional details
  "dependencies": {
    "@fluentui/react": "^7.149.3",
    "@microsoft/sp-core-library": "^1.11.0",
    "@microsoft/sp-lodash-subset": "^1.11.0",
    "@microsoft/sp-office-ui-fabric-core": "^1.11.0",
    "@microsoft/sp-property-pane": "^1.11.0",
    "@microsoft/sp-webpart-base": "^1.11.0",
    "date-fns": "^2.16.1",
    "office-ui-fabric-react": "6.214.0",
    "react": "16.8.5",
    "react-dom": "16.8.5",
    "resize-observer-polyfill": "^1.5.1"
  },
  "devDependencies": {
<EMAIL_ADDRESS>"^0.6.26",
    "@microsoft/sp-build-web": "^1.11.0",
    "@microsoft/sp-module-interfaces": "^1.11.0",
    "@microsoft/sp-tslint-rules": "^1.11.0",
    "@microsoft/sp-webpart-workbench": "^1.11.0",
    "@types/react": "16.9.53",
    "@types/react-dom": "16.9.8"
  }

Anyone an idea why this is happening?

Sorry for not responding earlier.  Is this still an issue?  If it is, could you give some more information, like what your solution is doing (is it intercepting global DOM events, etc.), does it change the DOM on the page outside of your DOMElement property, etc?  What is 'dashboard' in this context, etc?  It's hard to tell from the information you have provided here what the issue is.


A server with the specified hostname could not be found.

I got an error: A server with the specified hostname could not be found.
Help me, please!
Thanks.

Sorry, we use our GitHub project for bug reports and feature requests. In the future, you should open questions like this on Stack Overflow and tag alamofire.
Cheers. 🍻

From our Contribution Guidelines
Asking Questions
We don't use GitHub as a support forum. For any usage questions that are not specific to the project itself, please ask on Stack Overflow instead. By doing so, you'll be more likely to quickly solve your problem, and you'll allow anyone else with the same question to find the answer. This also allows maintainers to focus on improving the project for others.


Postgres migration from OpenSlides 2.3 to 3.x fails

When migrating from OpenSlides 2.3 to the current OpenSlides version the migration of data from sqlite works fine, but it fails with migrations when postgres is chosen as a database-backend.
The sources tried had postgres running in version 9.6, since that is the version that was latest as 2.3 was often deployed.
It can be recreated with the data from the OpenSlides demo instance: demo_data_2.3.zip
The process is as followed (assuming database was named openslides and the database user is openslides as well) (ignore first step, if you are using the demo-data):

export the database via pg_dump -O -d openslides > dumpfile.sql and copy it to the new system
startup the new OpenSlides environment once and let migrations run to get an empty instance
shut down OpenSlides, except for the postgres service
drop the old openslides table with dropdb openslides
create new database with createdb -U openslides openslides
import the 2.3 dump with psql -f dumpfile.sql -U openslides openslides

The import will most likely generate some warnings for the grants, which should not matter. To finally migrate the data now, you can restart the run the migration process with python manage.py migrate. It will generate the following error:
Operations to perform:
  Apply all migrations: agenda, assignments, auth, contenttypes, core, mediafiles, motions, sessions, topics, users
Running migrations:
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 85, in _execute
    return self.cursor.execute(sql, params)
psycopg2.OperationalError: cannot ALTER TABLE "motions_motion" because it has pending trigger events

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

Traceback (most recent call last):
  File "manage.py", line 11, in <module>
    exit(main())
  File "/app/openslides/__main__.py", line 41, in main
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 316, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 353, in execute
    output = self.handle(*args, **options)
  File "/app/openslides/core/management/commands/migrate.py", line 25, in handle
    super().handle(*args, **options)
  File "/usr/local/lib/python3.7/site-packages/django/core/management/base.py", line 83, in wrapped
    res = handle_func(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/django/core/management/commands/migrate.py", line 203, in handle
    fake_initial=fake_initial,
  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/executor.py", line 117, in migrate
    state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/executor.py", line 147, in _migrate_all_forwards
    state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/executor.py", line 244, in apply_migration
    state = migration.apply(state, schema_editor)
  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/migration.py", line 124, in apply
    operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
  File "/usr/local/lib/python3.7/site-packages/django/db/migrations/operations/fields.py", line 150, in database_forwards
    schema_editor.remove_field(from_model, from_model._meta.get_field(self.name))
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/schema.py", line 469, in remove_field
    self.execute(self._delete_constraint_sql(self.sql_delete_fk, model, fk_name))
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/base/schema.py", line 133, in execute
    cursor.execute(sql, params)
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 100, in execute
    return super().execute(sql, params)
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 68, in execute
    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 77, in _execute_with_wrappers
    return executor(sql, params, many, context)
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 85, in _execute
    return self.cursor.execute(sql, params)
  File "/usr/local/lib/python3.7/site-packages/django/db/utils.py", line 89, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 85, in _execute
    return self.cursor.execute(sql, params)
django.db.utils.OperationalError: cannot ALTER TABLE "motions_motion" because it has pending trigger events

  Applying motions.0011_motion_version...

This will happen with postgres version 9.6 and 10. The interesting thing is, that you can directly alter the table motions_motion via the psql tool, but it doesn't work in the django-migrations. It seems to fail with the operation at openslides/motions/migrations/0011_motion_version.py#L96.
With postgres version 11 it will generate mutliple errors on the import, the migration itself will run fine though. The mess will only appear after starting OpenSlides and trying to login as the demo-User:
Internal Server Error: /apps/users/login/
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner
    response = get_response(request)
  File "/usr/local/lib/python3.7/site-packages/django/core/handlers/base.py", line 126, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/usr/local/lib/python3.7/site-packages/django/core/handlers/base.py", line 124, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/local/lib/python3.7/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
    return view_func(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/django/views/generic/base.py", line 68, in view
    return self.dispatch(request, *args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/rest_framework/views.py", line 495, in dispatch
    response = self.handle_exception(exc)
  File "/usr/local/lib/python3.7/site-packages/rest_framework/views.py", line 455, in handle_exception
    self.raise_uncaught_exception(exc)
  File "/usr/local/lib/python3.7/site-packages/rest_framework/views.py", line 492, in dispatch
    response = handler(request, *args, **kwargs)
  File "/app/openslides/users/views.py", line 479, in post
    return super().post(*args, **kwargs)
  File "/app/openslides/utils/views.py", line 30, in method_call
    return Response(self.get_context_data())
  File "/app/openslides/users/views.py", line 515, in get_context_data
    self.user.pk or 0, self.user.get_collection_string(), self.user.pk
  File "/usr/local/lib/python3.7/site-packages/asgiref/sync.py", line 64, in __call__
    return call_result.result()
  File "/usr/local/lib/python3.7/concurrent/futures/_base.py", line 432, in result
    return self.__get_result()
  File "/usr/local/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/usr/local/lib/python3.7/site-packages/asgiref/sync.py", line 78, in main_wrap
    result = await self.awaitable(*args, **kwargs)
  File "/app/openslides/utils/cache.py", line 431, in get_element_restricted_data
    await self.update_restricted_data(user_id)
  File "/app/openslides/utils/cache.py", line 305, in update_restricted_data
    restricted_elements = await restricter(user_id, full_data)
  File "/app/openslides/utils/models.py", line 141, in restrict_elements
    return await cls.get_access_permissions().get_restricted_data(elements, user_id)
  File "/app/openslides/utils/access_permissions.py", line 54, in get_restricted_data
    return full_data if await self.async_check_permissions(user_id) else []
  File "/app/openslides/utils/access_permissions.py", line 38, in async_check_permissions
    return await async_has_perm(user_id, self.base_permission)
  File "/app/openslides/utils/auth.py", line 71, in async_has_perm
    raise RuntimeError(f"User with id {user_id} does not exist.")
RuntimeError: User with id 5 does not exist.

This error though will heavely depend on the dataset you are trying to import, sometimes the login still works, but something else will be broken. It seems, that the sequences in the postgres database are messed up big time, which, again, seems to correlate with the failure above, that some kind of trigger doesn't survive the migration.

Just a guess...
The migration motions.0011_motion_version seems to be the oldest of a series of migrations that do a migrations.RunPython involving a database field followed by some altering (mostly deleting) the field itself. Superficial internetsearching indicates that this can lead to problems.

@ostcar Do you  have any idea for this issue?

no. @normanjaeckel you are more experienced with migrations. (I hope we use a nosql database soon...)

I read something interesting in the django docs; I'll test this tomorrow.

fixed with #4272


Pass along count fields in submission response json

The following fields need to be added to the json results for the submission:
single_field_count
multi_field_count
register_count
These can be added by updating the submission_processor.build_validation_results.  Instead of the single "count" field, the syntax_errors, logic_errors, and logic_warnings section will just take ValidationResults single_field_count, multi_field_count, and register_count fields and stick those in.  No need to calculate anything (already done on the data-validator side)
Update the pytests to verify the counts.
See https://github.com/cfpb/sbl-filing-api/wiki/Submission-JSON

https://github.com/cfpb/regtech-data-validator/issues/207


Checksum the download of the binaries

Checksum the download of the binaries of the Accumulo, Zookeeper and Hadoop.

The readme currently has a command for building with custom versions.  It should be updated with the hash build args.  Since its so long could update it with a multi-line command like the following.
docker build --build-arg HADOOP_HASH=0f90ef671530c2aa42cde6da111e8e47e9cd659e \
             --build-arg HADOOP_VERSION=2.7.5 \
             --build-arg ACCUMULO_HASH=30b9a8af5379f680077aaf88b1fea22595be6934 \
             --build-arg ACCUMULO_VERSION=1.7.3 \
             --build-arg ZOOKEEPER_HASH=9268b4aed71dccad3d7da5bfa5573b66d2c9b565 \
             --build-arg ZOOKEEPER_VERSION=3.4.11 \
              -t fluo .

Hello Keith!
Can I update the README and Dockerfile to reflect this versions?
The README file has a version in the Obtain the Docker image session and other verion in the Build the Docker image session. Can I fix it too?

What about those versions:
Software = Version
[Fluo] = 1.2.0
[Accumulo] = 1.8.1
[Hadoop]  = 2.7.5
[Zookeeper] = 3.4.9

@alanblueshift  the versions sound good.  I would bring ZK to the latest 3.4 version of 3.4.11.
[Accumulo] = 1.8.1
[Hadoop] = 2.7.5
[Zookeeper] = 3.4.11

Sorry for the multiple pull requests. I have added a debug flag in a line and I decided take it off.

@alanblueshift, no worries about pushing multiple commits to the pull request. They can be squashed into one before it is merged.

The changes looked good @alanblueshift.  I squashed and merged.  Thanks again.


fix default folder name

to match the one created on the install
fix #2

Good point @fgibaux, but I think it's better to change the default folder name creation to migrations_data rather than change the default migration path to data_migrations.
It is set as migrations_data in the documentation, the default table is also migrations_data, and the migrations prefix in the folder name causes the two folders to display together in the IDE.

ok, yes I was not sure which way to change. Also I realised later that the current change is a breaking change for existing use that rely on default folder.
will change it.

Thank you @fgibaux


play command not found (docker on OSX)

using the docker build I get things to run (though I cannot find the output .mp4 yet)
I get
sh: 1: play: not found
what am I missing?
(running play in a terminal does not work -- not found)
UPDATE: installed sox on the host machine and added to the path, clean build the docker image and run again.
RESULT: same
thanks,
-tzurs

Yeah, I have this issue too, I'll look into it.
But you definitely need to install sox in the docker image, not on the host machine. The container is the one that needs to run sox

Closing, as @cnrmck gave the solution.


'Stay signed in for two weeks' is no longer sticky

8.4 RC4
Login is no longer sticky.
When I check 'Stay signed in for two weeks' it lasts for the day (while my dev system is switched on), but next morning I power up and have to login again.
Looking at cookie lifetimes, ccmAuthUSerHash is set for +2 weeks.

This is still a problem on the released 8.4.0

Fixed in 8.5.0


Link to tutorial/course?

Whilst it's supposed to be starter kit material for some sort of course, there's no link in repo or search result for it Google. The only reference to this project is Google Source Code.

I used this material to teach one specific class, based on the curriculum at https://cswithandroid.withgoogle.com/.


Cannot ping a Bedrock Server

I've tried both Minecraft related MagicMirror2 modules and neither can ping my in-house Minecraft Bedrock server.  Do you have any idea on why this would be the case?

Many!  But first, thanks for trying out my MM Minecraft plugin.
Let's start with the software on the box and work on anything on your MM box that might be getting in the way.
Can you ping from the MM box to the Minecraft box?  If that works, it eliminates basic networking problems, but if it fails, it doesn't necessarily mean much...firewalls can block ICMP like ping.
Give "traceroute" a try if you know that.  If there is an intermediate router between MM and Minecraft it'll let us know how far a packet can get.
If these fail, there could be a firewall or something else blocking traffic from leaving the MM box, however unlikely that might be.
If you have "nc" installed on the MM box, or want to install it, that's another way to check network connectivity.  Something like echo "hithere" | nc <IP_ADDRESS> 567 where <IP_ADDRESS> is the Minecraft box and 567 is the port the Minecraft software is listening on.  That'll use plain TCP to connect.
Can you describe your network setup too?  That can help iron out something strange.  I.e., is your MM and Minecraft box on the same network segment?  Separated by a router or switch?
Is there a specific error message you're seeing in the MM logs that could shed some light on things?  If MM-MinecraftStatus can't reach the Minecraft server, it prints an error message in the browser's console.  If you're not familiar with that, we can run MM "serveronly" and connect from a regular FireFox or Chrome browser and look at the console logs for something specific.
I'm sorry, but I don't know your general level of network savvy and if you've worked with a browser console before.  Please write back and let me know what from above sounds good, and what you're unfamiliar with.  I'll explain more in detail to get things moving!
Don't worry, we'll figure this out.

My day job has been in Operations so taking care of minor networking issues
won't scare me off.
Network Specs
Unifi Hardware: USG, Cloud Key1, and three switches.
vlans are in place.  MagicMirror (Hardware is a Raspberry Pi 4) is on the
primary LAN network.  Minecraft Bedrock Server is running off an older PC
with a fresh copy of Ubuntu Desktop installed.  This device is running on
my kid vlan.  Already using your MMM-MinecraftStatus to ping a Java Based
Minecraft Server (running off a another Raspberry Pi 4).  This Java Server
PI is on the same vlan as the Bedrock Ubuntu server.  MMM-MinecraftStatus
can see and report back on the Java Server without issue.  I do have a
MMM-MinecraftStatus2 module created (I believe correctly) to report back on
the Ubuntu Bedrock Servers status.
Traceroute Results:
From Office PC to Server
C:\Users\RJDaPirate>tracert <IP_ADDRESS>
Tracing route to <IP_ADDRESS> over a maximum of 30 hops
1    <1 ms    <1 ms    <1 ms  <IP_ADDRESS>
2    <1 ms    <1 ms    <1 ms  <IP_ADDRESS>
Trace complete.
From Raspberry Pi 4 currently hosting MagicMirror2
pi@raspberrypi:~ $ sudo traceroute <IP_ADDRESS>
traceroute to <IP_ADDRESS> (<IP_ADDRESS>), 30 hops max, 60 byte packets
1  <IP_ADDRESS> (<IP_ADDRESS>)  0.346 ms  0.441 ms  0.582 ms
2  <IP_ADDRESS> (<IP_ADDRESS>)  5.243 ms  5.351 ms  5.429 ms
Tried my best but I cannot figure out how to send the echo "hithere".
Could you please explain that procedure in greater details.  Dr Google was
no help to me.
Error message is "connection refused".
Thank you and have a wonderful day,
Ryan Jones
443-801-1974
On Wed, Sep 16, 2020 at 11:21 PM Rich Alberth<EMAIL_ADDRESS>wrote:

Many! But first, thanks for trying out my MM Minecraft plugin.
Let's start with the software on the box and work on anything on your MM
box that might be getting in the way.
Can you ping from the MM box to the Minecraft box? If that works, it
eliminates basic networking problems, but if it fails, it doesn't
necessarily mean much...firewalls can block ICMP like ping.
Give "traceroute" a try if you know that. If there is an intermediate
router between MM and Minecraft it'll let us know how far a packet can get.
If these fail, there could be a firewall or something else blocking
traffic from leaving the MM box, however unlikely that might be.
If you have "nc" installed on the MM box, or want to install it, that's
another way to check network connectivity. Something like echo "hithere"
| nc <IP_ADDRESS> 567 where <IP_ADDRESS> is the Minecraft box and 567 is the port
the Minecraft software is listening on. That'll use plain TCP to connect.
Can you describe your network setup too? That can help iron out something
strange. I.e., is your MM and Minecraft box on the same network segment?
Separated by a router or switch?
Is there a specific error message you're seeing in the MM logs that could
shed some light on things? If MM-MinecraftStatus can't reach the Minecraft
server, it prints an error message in the browser's console. If you're not
familiar with that, we can run MM "serveronly" and connect from a regular
FireFox or Chrome browser and look at the console logs for something
specific.
I'm sorry, but I don't know your general level of network savvy and if
you've worked with a browser console before. Please write back and let me
know what from above sounds good, and what you're unfamiliar with. I'll
explain more in detail to get things moving!
Don't worry, we'll figure this out.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ralberth/MMM-MinecraftStatus/issues/2#issuecomment-693784468,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQZO3NTFZAIWQHCI6KONPHDSGF6EFANCNFSM4RPR7MKA
.

Here's a brain dump from our phone call this evening.  Hopefully your networking friend can think of something useful!
Setup
Networks
192.168.1.* ("cove")
Main network with MagicMirror box, desktop PC, and the printers.
192.168.50.* ("scallywag")
Network with both Minecraft servers, reserved for kid-oriented servers.
"Officers"
Separate network with iPad and parent devices.
There are other networks with kid's kindles and so on.
Router Rules

Cove can connect to scallywag
Officers can connect to scallywag
Scallywag cannot connect to Cove or Officers

Servers
Minecraft Bedrock Server
IP <IP_ADDRESS>, mask <IP_ADDRESS>.  Ubuntu box running Bedrock.  Lives on Scallywag network.
Minecraft Java Server
IP <IP_ADDRESS>, mask <IP_ADDRESS>.  Pi running Bukkit Minecraft server.  Lives on Scallywag.
MagicMirror
IP <IP_ADDRESS>, mask <IP_ADDRESS>.  Runs Magic Mirror, lives on Cove.
Desktop PC
Windows PC also on Cove.
Goal
Get MagicMirror box to connect to Bedrock Minecraft server.  The MagicMirror software wants to check if Bedrock server is running Minecraft by checking it's port, 19132.
Status

iPad on Officers network can connect to Minecraft on Bedrock server.  Double-checked it's using <IP_ADDRESS> and port 19132
MagicMirror cannot connect to Minecraft on Bedrock server.

Troubleshooting

We have network connectivity from MagicMirror to Bedrock server, and it routes through the router since they are on different networks (.1. to .50.):
tracert <IP_ADDRESS> shows <IP_ADDRESS> and then <IP_ADDRESS>.
Bedrock server rejects attempts to connect to port 19132 from MagicMirror:
telnet <IP_ADDRESS> 19132 gives "connection refused"
so, packets are reaching the host, but the host is rejecting the connection attempt saying that there is no such open port on the server.
Confirmed that port 19132 is not listening on the Bedrock server:
netstat -ant | grep 19132 shows nothing.
Further netstat commands confirm it's not open.
Repeat the test from Minecraft Java Server since it is also on the .50. network.  This eliminates something strange with the router:
telnet <IP_ADDRESS> 19132 also gives "connection refused"
Confirms packets can reach the Bedrock server and that there is nothing listening on that port.
Confirm Minecraft is running on the Bedrock server first hand by bounding it locally:
sudo systemctl restart minecraft (or something close to that), confirmed it restarted.
Same result as above, "connection refused".  netstat still shows nothing listening on port 19132.
Messed around with firewall rules on the router, but same result.
Confirm Minecraft is trying to listen on 19132: more server.properties on the Bedrock server and saw  server.port=19132` entry confirming it.

Everything above is consistent with the Minecraft Bedrock server having trouble starting up, resulting in all connection attempts being "connection refused".  However, the iPad continues to be able to connect.
Next Steps

Repeat everything above?
Spend more time understanding why the iPad works, look at config, how it logs-in, etc.
Dump whatever you find in here if you get stuck.  Maybe it'll trigger something else in my brain to look at.

Conclusion so far
It's cold comfort, but this isn't a MagicMirror or MM-MinecraftStatus problem, since command-line things like telnet also can't connect to the port on the Bedrock server.  Let's get connectivity at the OS working first, then see if MagicMirror has any problems.
Cheers!

Update from our troubleshooting session on Saturday night.  My friend (Joel) was able to confirm a programming language difference between the Bedrock server and MMM-MINECRAFTSTATUS.  He will reply back in greater detail but I would be willing to serve as lab rat while this script is updated or a new one is created.
A computer programmer I am not but I’m pretty good at testing and documenting results.
Ryan Jones
Sent from my iPad

On Sep 18, 2020, at 11:32 PM, Rich Alberth<EMAIL_ADDRESS>wrote:
Here's a brain dump from our phone call this evening. Hopefully your networking friend can think of something useful!
Setup
Networks
192.168.1.* ("cove")
Main network with MagicMirror box, desktop PC, and the printers.
192.168.50.* ("scallywag")
Network with both Minecraft servers, reserved for kid-oriented servers.
"Officers"
Separate network with iPad and parent devices.
There are other networks with kid's kindles and so on.
Router Rules
Cove can connect to scallywag
Officers can connect to scallywag
Scallywag cannot connect to Cove or Officers
Servers
Minecraft Bedrock Server
IP <IP_ADDRESS>, mask <IP_ADDRESS>. Ubuntu box running Bedrock. Lives on Scallywag network.
Minecraft Java Server
IP <IP_ADDRESS>, mask <IP_ADDRESS>. Pi running Bukkit Minecraft server. Lives on Scallywag.
MagicMirror
IP <IP_ADDRESS>, mask <IP_ADDRESS>. Runs Magic Mirror, lives on Cove.
Desktop PC
Windows PC also on Cove.
Goal
Get MagicMirror box to connect to Bedrock Minecraft server. The MagicMirror software wants to check if Bedrock server is running Minecraft by checking it's port, 19132.
Status
iPad on Officers network can connect to Minecraft on Bedrock server. Double-checked it's using <IP_ADDRESS> and port 19132
MagicMirror cannot connect to Minecraft on Bedrock server.
Troubleshooting
We have network connectivity from MagicMirror to Bedrock server, and it routes through the router since they are on different networks (.1. to .50.):
tracert <IP_ADDRESS> shows <IP_ADDRESS> and then <IP_ADDRESS>.
Bedrock server rejects attempts to connect to port 19132 from MagicMirror:
telnet <IP_ADDRESS> 19132 gives "connection refused"
so, packets are reaching the host, but the host is rejecting the connection attempt saying that there is no such open port on the server.
Confirmed that port 19132 is not listening on the Bedrock server:
netstat -ant | grep 19132 shows nothing.
Further netstat commands confirm it's not open.
Repeat the test from Minecraft Java Server since it is also on the .50. network. This eliminates something strange with the router:
telnet <IP_ADDRESS> 19132 also gives "connection refused"
Confirms packets can reach the Bedrock server and that there is nothing listening on that port.
Confirm Minecraft is running on the Bedrock server first hand by bounding it locally:
sudo systemctl restart minecraft (or something close to that), confirmed it restarted.
Same result as above, "connection refused". netstat still shows nothing listening on port 19132.
Messed around with firewall rules on the router, but same result.
Confirm Minecraft is trying to listen on 19132: more server.properties on the Bedrock server and saw server.port=19132` entry confirming it.
Everything above is consistent with the Minecraft Bedrock server having trouble starting up, resulting in all connection attempts being "connection refused". However, the iPad continues to be able to connect.
Next Steps
Repeat everything above?
Spend more time understanding why the iPad works, look at config, how it logs-in, etc.
Dump whatever you find in here if you get stuck. Maybe it'll trigger something else in my brain to look at.
Conclusion so far
It's cold comfort, but this isn't a MagicMirror or MM-MinecraftStatus problem, since command-line things like telnet also can't connect to the port on the Bedrock server. Let's get connectivity at the OS working first, then see if MagicMirror has any problems.
Cheers!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

I didn't know Bedrock server existed before you created this issue.  When you have more info, let me know.  I'm happy to update the MagicMirror module to handle this too!

Hey Joel, Any chance you could reply back with the programming language
differences you noticed?
Thank you and have a wonderful day,
Ryan Jones
443-801-1974
On Mon, Sep 21, 2020 at 8:22 AM Rich Alberth<EMAIL_ADDRESS>wrote:

I didn't know Bedrock server existed before you created this issue. When
you have more info, let me know. I'm happy to update the MagicMirror module
to handle this too!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ralberth/MMM-MinecraftStatus/issues/2#issuecomment-696078868,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQZO3NUX6B3HPX2CS227TKLSG5APVANCNFSM4RPR7MKA
.

Ryan,
I’d be happy to.
It’s been a few days since I was looking at the situation but the network & installation seemed fine, the reason Ryan’s setup isn’t working I think traces back to the MM, its module or maybe the dependency that the module uses to run queries.
What caught my attention was that MMM-MinecraftStatus depends on Minecraft-ping which according to the npm page was last published 5 years ago- before bedrock came out. I suppose it’s possible that the node package is capable of talking with bedrock if the API didn’t change but that’s sort of a rabbit hole. The behavior I saw was that the MM service was only ever trying to connect to Minecraft via TCP and nothing I found indicated a way to swap it over to UDP. If there’s some way to get MM to hit the right socket then maybe it’s just that easy.
Anyway, that’s what I noticed when I went over there. You guys were just missing the service when you were querying for it since telnet is tcp only and without the -u netstat is likewise only going to show tcp connections. As a suggestion, nmap is a clean way to check connectivity and running tcpdump can pretty quickly show you what sort of traffic is flowing between nodes. Regardless, good luck to you!
Thanks,
Joel
From: Ryan Jones<EMAIL_ADDRESS>Date: Thursday, September 24, 2020 at 7:48 PM
To: ralberth/MMM-MinecraftStatus<EMAIL_ADDRESS>Joel Callicrate<EMAIL_ADDRESS>Subject: Re: [ralberth/MMM-MinecraftStatus] Cannot ping a Bedrock Server (#2)
Hey Joel, Any chance you could reply back with the programming language differences you noticed?
Thank you and have a wonderful day,
Ryan Jones
443-801-1974
On Mon, Sep 21, 2020 at 8:22 AM Rich Alberth <notifications<EMAIL_ADDRESS>wrote:
I didn't know Bedrock server existed before you created this issue. When you have more info, let me know. I'm happy to update the MagicMirror module to handle this too!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/ralberth/MMM-MinecraftStatus/issues/2#issuecomment-696078868, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQZO3NUX6B3HPX2CS227TKLSG5APVANCNFSM4RPR7MKA.

Wow, you probably found it!   We were looking for a TCP connection and using tools to connect to an assumed TCP socket instead of sending plain UDP datagrams.
The current MinecraftStatus certainly won't work with Bedrock, but this is a great feature to add.  I'll get to it "soon" :-)
I'm out this entire weekend, and next week sucks, but I'll get a feature out to handle it.
Joel, THANK YOU for doing the work on your side and helping!

Thank you my friend.
Have a great Day,
Ryan A. Jones

On Sep 25, 2020, at 4:57 PM, J C<EMAIL_ADDRESS>wrote:

Ryan,
I’d be happy to.
It’s been a few days since I was looking at the situation but the network & installation seemed fine, the reason Ryan’s setup isn’t working I think traces back to the MM, its module or maybe the dependency that the module uses to run queries.
What caught my attention was that MMM-MinecraftStatus depends on Minecraft-ping which according to the npm page was last published 5 years ago- before bedrock came out. I suppose it’s possible that the node package is capable of talking with bedrock if the API didn’t change but that’s sort of a rabbit hole. The behavior I saw was that the MM service was only ever trying to connect to Minecraft via TCP and nothing I found indicated a way to swap it over to UDP. If there’s some way to get MM to hit the right socket then maybe it’s just that easy.
Anyway, that’s what I noticed when I went over there. You guys were just missing the service when you were querying for it since telnet is tcp only and without the -u netstat is likewise only going to show tcp connections. As a suggestion, nmap is a clean way to check connectivity and running tcpdump can pretty quickly show you what sort of traffic is flowing between nodes. Regardless, good luck to you!
Thanks,
Joel
From: Ryan Jones<EMAIL_ADDRESS>Date: Thursday, September 24, 2020 at 7:48 PM
To: ralberth/MMM-MinecraftStatus<EMAIL_ADDRESS>Joel Callicrate<EMAIL_ADDRESS>Subject: Re: [ralberth/MMM-MinecraftStatus] Cannot ping a Bedrock Server (#2)
Hey Joel, Any chance you could reply back with the programming language differences you noticed?
Thank you and have a wonderful day,
Ryan Jones
443-801-1974
On Mon, Sep 21, 2020 at 8:22 AM Rich Alberth<EMAIL_ADDRESS>wrote:
I didn't know Bedrock server existed before you created this issue. When you have more info, let me know. I'm happy to update the MagicMirror module to handle this too!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

I stand ready to be the lab rat.
Have a great Day,
Ryan A. Jones

On Sep 25, 2020, at 6:18 PM, Rich Alberth<EMAIL_ADDRESS>wrote:

Wow, you probably found it! We were looking for a TCP connection and using tools to connect to an assumed TCP socket instead of sending plain UDP datagrams.
The current MinecraftStatus certainly won't work with Bedrock, but this is a great feature to add. I'll get to it "soon" :-)
I'm out this entire weekend, and next week sucks, but I'll get a feature out to handle it.
Joel, THANK YOU for doing the work on your side and helping!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

I did some research.  According to the BDS wiki on gamepedia.com,

BDS uses UDP
BDS is Alpha software
No RCON
No libraries for remote control

The main BDS download page on minecraft.net  says this is an early alpha release for evaluation only.
So, I'm not surprised there isn't support for it in the usual libraries yet.
I posted to Reddit's /r/MCPE asking about similar BDS libraries.  Let's wait and see if there is something out there, or other ideas before we go further.
https://www.reddit.com/r/MCPE/comments/j3lhdh/rcon_to_bedrock_or_other_way_to_query_from_remote/

Copy that
Have a great Day,
Ryan A. Jones

On Oct 1, 2020, at 9:26 PM, Rich Alberth<EMAIL_ADDRESS>wrote:

I did some research. According to the BDS wiki on gamepedia.com,
BDS uses UDP
BDS is Alpha software
No RCON
No libraries for remote control
The main BDS download page on minecraft.net says this is an early alpha release for evaluation only.
So, I'm not surprised there isn't support for it in the usual libraries yet.
I posted to Reddit's /r/MCPE asking about similar BDS libraries. Let's wait and see if there is something out there, or other ideas before we go further.
https://www.reddit.com/r/MCPE/comments/j3lhdh/rcon_to_bedrock_or_other_way_to_query_from_remote/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Ugh, no replies on the reddit post after over a week.  I posted on the Minecraft #technical-bedrock Discord group, but didn't get anywhere.  I think this will have to be a feature request and sit for a while until we get more community over time that contributes to plugins, etc. that can handle this.
Sorry for the dead-end right now.  I'll leave the issue open so it gets attention from time-to-time, and see if I can find some support in the future.  Cheers!


Method for TypeFace

Add a method to change the typeface of a given link by bringing the graphics library Android.

Awesome work, well done and thanks for the help!


removed atom.io references

@Sertonix there's a conflict that should be easy to solve. I could do it, but it'll commit directly to master, so can you fix it? Then it should be good to go :)


Variables in Azure SQL Database Deployment

Environment
Using VSTS online: msftplayground.visualstudio.com
Project name: Visual Studio Team Services
Agent: Hosted 2017
Issue Description
When using the task: "Azure SQL Database Deployment" we can not specify the server name and database as variables. For some reason it tries to connect to the database including the variable name:
Unable to connect to master or target server "$(sqldataname)". You must have a user with the same password in master or target server "$(sqldataname)". Azure SQL Dacpac task failed. Checkout how to troubleshoot failures https://aka.ms/sqlazuredeployreadme#troubleshooting. | Unable to connect to master or target server '$(sqldataname)'. You must have a user with the same password in master or target server '$(sqldataname)'.
Unable to connect to master or target server '$(sqldataname)'. You must have a user with the same password in master or target server '$(sqldataname)'.

@maikvandergaag , Please ensure that there is no typo in variable name. One more reason is the variable is scoped for different environment.
Can you please share the debug logs for the release? (set system.debug to true and rerun the release). You can also share the logs privately to<EMAIL_ADDRESS>

Hi Vincent, I had to give a training last week will try it tomorrow.

Is it correct that all variables need to be "Release" scoped?

@maikvandergaag , Having the variables in Release scope should be fine.
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/pipelines/troubleshooting?view=vsts#build-and-release-logs
You can also share the logs privately to<EMAIL_ADDRESS>

@maikvandergaag  Did you get a chance to try the variable in Release scope? Are you still blocked?

Sorry I have been very busy I will try it right away. Be back in 5 min

I works with release scoped variables. Why is that and will specific environment variables be supported in new releases?

Good to know it is working for you.
Specific environment variables should also work if the corresponding task is in correct environment. Please try and let us know if environment scoped variables are not working as expected.

@maikvandergaag Did you get a chance to scope the variable to correct Environment?

Closing the issue as no more customer condition. please reopen if still blocked.

Just been having this issue.
It went away when I enable system.debug = true.
bit weird.


[WIP] Ambient Helm Install/Upgrade Integration Tests

Attempt to add integration tests as per https://preliminary.istio.io/latest/docs/ops/ambient/upgrade/helm-upgrade/

@kfaseela: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

analyze-tests_istio
3b238bb2f54f9b5961232a44f11bee5f1be4dfd1
link
true
/test analyze-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@kfaseela: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

analyze-tests_istio
3b238bb2f54f9b5961232a44f11bee5f1be4dfd1
link
true
/test analyze-tests

lint_istio
3b238bb2f54f9b5961232a44f11bee5f1be4dfd1
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@kfaseela: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-helm_istio
528883502e29035aa8decd879df5a58190e39c23
link
true
/test integ-helm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-helm

@kfaseela: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-helm_istio
528883502e29035aa8decd879df5a58190e39c23
link
true
/test integ-helm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@kfaseela: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-helm_istio
0b0c237a384f8a666f8c48ece7fd112ac32df861
link
true
/test integ-helm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@kfaseela: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-helm_istio
0b0c237a384f8a666f8c48ece7fd112ac32df861
link
true
/test integ-helm

analyze-tests_istio
fb03de5b5fad7c9883d27f08572e9d73aedf2831
link
true
/test analyze-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@kfaseela: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-helm_istio
0b0c237a384f8a666f8c48ece7fd112ac32df861
link
true
/test integ-helm

lint_istio
62827a9ed57c579a96737b5efff09805fd3e2b13
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test

@bleggett: The /test command needs one or more targets.
The following commands are available to trigger required jobs:

/test analyze-tests
/test bookinfo-build
/test gencheck
/test integ-ambient
/test integ-basic-arm64
/test integ-cni
/test integ-distroless
/test integ-ds
/test integ-helm
/test integ-ipv6
/test integ-operator-controller
/test integ-pilot
/test integ-pilot-istiodremote
/test integ-pilot-istiodremote-mc
/test integ-pilot-multicluster
/test integ-security
/test integ-security-istiodremote
/test integ-security-multicluster
/test integ-telemetry
/test integ-telemetry-discovery
/test integ-telemetry-istiodremote
/test integ-telemetry-mc
/test lint
/test release-notes
/test release-test
/test unit-tests
/test unit-tests-arm64

The following commands are available to trigger optional jobs:

/test benchmark
/test experimental-tracing
/test integ-assertion

Use /test all to run the following jobs that were automatically triggered:

analyze-tests_istio
gencheck_istio
integ-ambient_istio
integ-basic-arm64_istio
integ-cni_istio
integ-distroless_istio
integ-ds_istio
integ-helm_istio
integ-ipv6_istio
integ-operator-controller_istio
integ-pilot-istiodremote-mc_istio
integ-pilot-istiodremote_istio
integ-pilot-multicluster_istio
integ-pilot_istio
integ-security-istiodremote_istio
integ-security-multicluster_istio
integ-security_istio
integ-telemetry-discovery_istio
integ-telemetry-istiodremote_istio
integ-telemetry-mc_istio
integ-telemetry_istio
lint_istio
release-notes_istio
release-test_istio
unit-tests-arm64_istio
unit-tests_istio

In response to this:

/test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/retest

/test integ_helm

@bleggett: The specified target(s) for /test were not found.
The following commands are available to trigger required jobs:

/test analyze-tests
/test bookinfo-build
/test gencheck
/test integ-ambient
/test integ-basic-arm64
/test integ-cni
/test integ-distroless
/test integ-ds
/test integ-helm
/test integ-ipv6
/test integ-operator-controller
/test integ-pilot
/test integ-pilot-istiodremote
/test integ-pilot-istiodremote-mc
/test integ-pilot-multicluster
/test integ-security
/test integ-security-istiodremote
/test integ-security-multicluster
/test integ-telemetry
/test integ-telemetry-discovery
/test integ-telemetry-istiodremote
/test integ-telemetry-mc
/test lint
/test release-notes
/test release-test
/test unit-tests
/test unit-tests-arm64

The following commands are available to trigger optional jobs:

/test benchmark
/test experimental-tracing
/test integ-assertion

Use /test all to run the following jobs that were automatically triggered:

analyze-tests_istio
gencheck_istio
integ-ambient_istio
integ-basic-arm64_istio
integ-cni_istio
integ-distroless_istio
integ-ds_istio
integ-helm_istio
integ-ipv6_istio
integ-operator-controller_istio
integ-pilot-istiodremote-mc_istio
integ-pilot-istiodremote_istio
integ-pilot-multicluster_istio
integ-pilot_istio
integ-security-istiodremote_istio
integ-security-multicluster_istio
integ-security_istio
integ-telemetry-discovery_istio
integ-telemetry-istiodremote_istio
integ-telemetry-mc_istio
integ-telemetry_istio
lint_istio
release-notes_istio
release-test_istio
unit-tests-arm64_istio
unit-tests_istio

In response to this:

/test integ_helm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/test integ-helm

@jacob-delgado @howardjohn would be good to have your review on this.

LGTM bleggett addressed all of the big concerns I had. There's some work we can do to make the code easier to use and manage, but that can be done in a different PR. Getting integration test coverage over ambient is pretty important. Are you going to cherry-pick this into 1.21?

/cherry-pick release-1.21

@kfaseela: new pull request created: #49258

In response to this:

/cherry-pick release-1.21

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


Typography Tooltip doesn’t pipe through the values from selected reference token when using the alias mode.

Describe the bug
Typography Tooltip doesn’t pipe through the values from selected reference token when using the alias mode. For the input mode, the Tooltip does work.
To Reproduce
Steps to reproduce the behavior:

Go to Typography and click '+' to add a new token
Switch from input mode to alias/reference mode
Complete the token and click 'Create'
Now hover over the token and the tooltip doesn't contain values.

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots or Screencasts

https://user-images.githubusercontent.com/109062656/179493290-92fe218a-d923-411b-abae-40db446508fe.mov

I think this is a duplicate of https://github.com/six7/figma-tokens/issues/938

indeed duplicated by the linked issue (938), therefore closing this issue.


Strange behavior with directory permissions

I have the following file structure:
app
|--zipme
|   |--data (mode 777)
|   |   |--foo.txt (mode 777)

If I ran the follwing code
"use strict";

const tar = require("tar");

tar.c({
    gzip: true,
    file: "arch.tgz",
}, ["zipme"])
.then(() => tar.x({
    cwd: "x",
    file: "arch.tgz",
}))
.then(() => console.log("done!"))
    .catch(err => console.log(err));

the directory x/zipme/data has the mode 755 (probably because of the process umask).
When I run this code again without deleting the output dir (x/zipme) then the data directory gets the mode 777. Is this indented?
I expected the mode of the directory to be mode 777 the first time I run this code.
The same is not true for files. The mode stays unchanged on 755 regardless of how often I run this code.
Is there a way to have the modes of the tar source replicated in the output directory without changing the umask of the process?

Ah, this is interesting.
Short answer/workaround: call process.umask(0) to get this to work how you want immediately.  The fix is possible, but a little annoying.  Here's why this is happening.
If you want to create a dir, tar will check to see if the thing is already there, and if not, it says "ok, great, I'll just create it with the mode you want".  In this case, it's limited by the umask, so you get 0o755 (with the default unix umask of 0o22).
If the thing is already there, and already a directory, then it says "cool, don't have to create the thing", but if the mode doens't match, it calls fs.chmod.  However, chmod is not limited by umask, so in this case, you get 0o777.
What it needs to do is also check to see if the current process umask is going to block it from creating in the mode it wants, and then chmod after creation in those cases.  Only calling things like fs.chmod when absolutely necessary is a significant performance boost.
If you feel like digging into the code, the place to start poking around is lib/unpack.js in the [CHECKFS], [MAKEFS] and [DIRECTORY] methods.  The actual fs.mkdir is called in lib/mkdir.js.

Moved to #135 with plan of action and terser explanation of the problem so that it's easier to act on.  Closing this debugging issue.  Thanks for bringing it up!


Error upon running, cannot figure this out

Hello!
I am trying to host this on my Ubuntu web server, and it gives me this error upon trying to node bot.js
ubuntu@multibot:~/Canvas-Student-Announcement-Discord-Bot$ node bot.js
node:internal/modules/cjs/loader:959
  throw err;
  ^

Error: Cannot find module '/home/ubuntu/Canvas-Student-Announcement-Discord-Bot/                                                              node_modules/sqlite3/lib/binding/napi-v6-linux-x64/node_sqlite3.node'
Require stack:
- /home/ubuntu/Canvas-Student-Announcement-Discord-Bot/node_modules/sqlite3/lib/                                                              sqlite3-binding.js
- /home/ubuntu/Canvas-Student-Announcement-Discord-Bot/node_modules/sqlite3/lib/                                                              sqlite3.js
- /home/ubuntu/Canvas-Student-Announcement-Discord-Bot/bot.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15                                                              )
    at Function.Module._load (node:internal/modules/cjs/loader:804:27)
    at Module.require (node:internal/modules/cjs/loader:1028:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/home/ubuntu/Canvas-Student-Announcement-Discord-Bot/                                                              node_modules/sqlite3/lib/sqlite3-binding.js:4:15)
    at Module._compile (node:internal/modules/cjs/loader:1126:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
    at Module.load (node:internal/modules/cjs/loader:1004:32)
    at Function.Module._load (node:internal/modules/cjs/loader:839:12)
    at Module.require (node:internal/modules/cjs/loader:1028:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/ubuntu/Canvas-Student-Announcement-Discord-Bot/node_modules/sqlite3/l                                                              ib/sqlite3-binding.js',
    '/home/ubuntu/Canvas-Student-Announcement-Discord-Bot/node_modules/sqlite3/l                                                              ib/sqlite3.js',
    '/home/ubuntu/Canvas-Student-Announcement-Discord-Bot/bot.js'
  ]
}
ubuntu@multibot:~/Canvas-Student-Announcement-Discord-Bot$

Thank you in advance,
SteadyStatus21

Looks like it can't find a module. Did you do npm install ?

That's exactly what it was, sqlite3 ran into an error, and installing<EMAIL_ADDRESS>worked for me.
Thank you!

Glad I could help!


Add tests to analysis, download scripts

fixed with commit: https://github.com/UBC-MDS/522-Workflows-Group-414/commit/90b8b6489c462539bc0b52d9cb5b284501f4118f#diff-0a27ee2522f587acf119a3c04b0d315b


Add Euler Problem 32

@elliotjz awesome solution!!
but can you trim down the <br/> ? just to make it more readable without lots of whitespaces in between paragraphs.
So it will look like this

Really awesome!
Thank you mate :)

@alvinkl Thanks for the work on approving these! I had another look at this one and it doesn't look like it has too much white space on my system.
It looks like this:

I'm viewing it with the changes from PR #42 on my local system though. I think it would look different without these in place.


feat(vllm): add support for image-to-text and video-to-text

Description
This PR is related to #3670
Notes for Reviewers
Depends on https://github.com/mudler/LocalAI/pull/3728
Signed commits

[ ] Yes, I signed my commits.

Gotta try images on a GPU card. On CPU seems that generation is not broken at least, so should be good to merge and test on master


Linux Users Unable to Commit

The ends_with_newline() function in developer-scripts/git-hooks/pre-commit produces an error when being called from a linux machine.
function ends_with_newline() {
    test ! -s "$1" || test $(tail -r -c1 "$1" | xxd -ps) = "0a"
}

The error reported is tail: invalid option -- 'r'.  The linux tail does not have a -r option while the osx tail does. The function is only checking the last character so I belief it doesn't matter if the tail output is in reverse order. I think this issue can be fixed by simply removing the -r option.
Reproducing the error should be possible by

use linux
configuring your local repository with the whitespace settings by running ./developer-scripts/setup-git.sh
attempting to commit a file.

Thanks for the bug report I'll fix this ASAP. In the meantime, you can add --no-verify to the failing got command to skip running the hooks.

Hi @scrasmussen, I just wanted to make sure you saw my previous comment with the work around.
I am working on cleaning up the git hooks; they were cobbled together from some krufty looking code that ships with git and various other examples from around the web. With the help of shellcheck, and more thorough testing I should have some cleaned up versions committed in the not so distant future...

Ya, sorry I didn't respond, it worked perfectly. Thanks!

@scrasmussen The fixed and cleaned up githooks are now available from the latest release and merged into master. Please let me know if you have any further issues... Re-installing them by running the hook-installation script again is probably the fastest way to get them, or just copy them into your local .git/hooks folder.

👏

@zbeekman I'll let you know if anything doesn't work but so fast so good. Thanks!


[Bug] Social Media Icon Not Displayed in Edit Dialog

Is there an existing issue for this?

[X] Yes, I have searched the existing issues and none of them match my problem.

Product Variant
Cloud (https://rxresu.me)
Current Behavior
When editing an existing social media account in the Resume Builder screen, the icon image is not displayed initially in the edit dialog.
The icon image is blank when the edit dialog is initially opened. The icon only appears after changing value in icon field.
Expected Behavior
The icon image should display the current icon value when the edit dialog is first opened, without needing to modify any other field.
Steps To Reproduce

Create a resume using the default template.
Navigate to the Profiles section in the Resume Builder.
Click on an existing social media profile to edit it.
Observe that the icon image in the edit dialog is blank initially, though the icon field value exists.

What browsers are you seeing the problem on?
Firefox, Chrome, Safari, Microsoft Edge
What template are you using?
Bronzor
Anything else?
Observe that the icon image in the edit dialog is blank initially, though the icon field value exists.

Please Assign me these issue, I want to work on these issue.

You don't need to be assigned an issue, just create a PR with a fix

Please Assign me these issue, I want to work on these issue.


Consider multi-message batching

Problem
The current blake3 crate leaves a lot of single core performance on the table for message sizes below 8 KiB.
Namely, it doesn't SIMD parallelize hashing for small messages.
As a PoC, I've rewritten a BLAKE3 scheduler from scratch with a modified AVX2 backend:
https://github.com/firedancer-io/firedancer/tree/ripatel/fd_blake3/src/ballet/blake3
When hashing many independent 2 KiB messages concurrently, my implementation does 25 Gbps, while the C implementation does ~7 Gbps.

I would like to contribute back my changes to this official library.
My code is Apache-2.0 licensed, so feel free to copy from it.
Suggested Changes
There are three major pieces required:

Adapt the SIMD backends to do work off each lane independently, namely:

Support lane masking (if one AVX lane finishes hashing before another does) -- Currently, all lanes are always active
Support independent chunk counters and flags -- the current backend assumes a contiguous range of chunks or parents

Adapt the scheduler to dispatch operations from in-flight hash calcuations to the SIMD backend concurrently

I'm not sure if the hash tree scheduling algorithm proposed in the BLAKE3 paper is capable of doing so.
When queueing operations for an in-flight hash state, and we're unable to have enough chunks to hash in parallel to meet the SIMD degree, the algorithm should yield to the next in-flight hash state, before actually starting to hash.
I've rewritten the scheduler from scratch, but it requires log2(chunk_cnt) * simd_degree * 32 working space per hash state. The algorithm I came up with is unfortunately much more complex than the elegant stack-based one in the paper.

Adapt the high-level API to tell the scheduler if there are multiple in-flight hash states

The simplest way is a new function call: fn blake3_multi(messages: &[&[u8]]) -> Vec<[u8; 32]>
Another way is to use thread-local storage to keep track of streaming operations on the current thread

s1 := Blake3::new()
s2 := Blake3::new()
s1.append("abcd");  // registers this append operation as a thread-local
s2.append("1234"):
hash2 := s2.fini();  // finds that s1 is also queued via thread-locals, so hashes both s1 and s2
hash1 := s1.fini();  // no-op! the result is already available

Hashing many very short (< 128 byte) messages is a very important use-case for Merkle-trees and Proof-of-Work, both are major compute bottlenecks in transparent SNARKs (e.g. FRI/Ligero/Basefold like).
It looks like the docs-hidden api Platform::hash_many can support with a bit of care to set the parameters right? I will try this.

@recmo Please note the hash_many API is used to hash multiple chunks, not multiple messages. Internally, hash_many distributes chunks across SIMD lanes for high byte-per-cycle throughput. A chunk is a leaf node in the BLAKE3 hash tree. Messages smaller than 1024 bytes have exactly one chunk. However, chunks are made up of a variable number of blocks (ceil(data_sz/64)). Finally, hash_many requires that each provided chunk has the same number of blocks.
So, hash_many will work for your use-case only if each message in your batch has the same number of 64-byte blocks (ceil(message_sz/64)). Because this is a lower-level API, you'd need to figure out the flags and counter arguments yourself from the BLAKE3 paper.
My BLAKE3 rewrite linked above is more flexible:

My equivalent of the hash_many function supports lane masking, allowing you to hash chunks with different number of blocks, e.g. if you have a 128 byte message and a 140 byte message in the same batch (costly under AVX2 but effectively zero cost under AVX512)
It provides a high-level API and generic scheduler for batch hashing for arbitrary message sizes where you don't have to hand-specify flags (which of course makes it slower)

Happy to dust it off and get it up to speed if needed.

cc @zookozcash is there any renewed interest in supporting batched hashing of messages with different sizes?


After updating to 0.6.1, the vite project reports an error.

require() of /root/.jenkins/workspace/1475-001-build-test-html-nginx/app/node_modules/brilliant-errors/node_modules/callsites/index.js from /root/.jenkins/workspace/1475-001-build-test-html-nginx/app/node_modules/brilliant-errors/dist/index.cjs is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules.

Instead rename index.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from /root/.jenkins/workspace/1475-001-build-test-html-nginx/app/node_modules/brilliant-errors/node_modules/callsites/package.json.

But, When I install the 0.6.0 version separately in the project, everything is fine.
Like this:

But this is not a good way to deal with it, is there any other better way? Thx.

I found a way to solve it,  package.json can use overrides to fix the dependency version (Need npm >= v8.3),  But I don't think it's an elegant solution :<
"overrides": {
    "brilliant-errors": "0.6.0"
}

Yes sorry I just realized this and am going to fix it today. Thanks for mentioning this.

Version 0.7.1 should fix this as long as you're able to import ESM modules as we only export ESM now due to downstream deps imposing this restriction. For most people this should be fine as ESM is clearly the target going forward but also most build systems can import ESM just fine and transpile to a CJS output.

I'm going to close this for now but feel free to reopen it if you continue to have issues.


Update .env

I have read the CLA Document and I hereby sign the CLA

I have read the CLA Document and I hereby sign the CLA


Use base32768 for file storage? (dialog.js)

This should give good compression. Better than the current "write out numbers in ASCII" plan.
See https://github.com/qntm/base32768 .

Would you like me to make a pull request? I think the code in my fork can be applied pretty much without changes.

I will massage but thanks for the working example.


use function for capture/restore instead of arrow function

I would like to write the export statement for snapshot together with other export statements (e.g. export let data).
Therefore, I suggest that the capture/restore function be defined as a normal function, not as an arrow function.

I'm not sure I understand what's the difference? The arrow function implicitly returns an object, and both functions have the same signature as the built-in version.

I know the type signature is the same, but  here is the thing
When we use the current  superform's capture and restore, and we write the export let snapshot above, and execute svelte check, you can see the errors like this
/private/tmp/sveltekit-superforms/src/routes/snapshot/+page.svelte:10:5
Error: Block-scoped variable 'capture' used before its declaration. (ts)
  export const snapshot: Snapshot = {
    capture,
    restore

/private/tmp/sveltekit-superforms/src/routes/snapshot/+page.svelte:10:5
Error: Variable 'capture' is used before being assigned. (ts)
  export const snapshot: Snapshot = {
    capture,
    restore

/private/tmp/sveltekit-superforms/src/routes/snapshot/+page.svelte:11:5
Error: Block-scoped variable 'restore' used before its declaration. (ts)
    capture,
    restore
  };

/private/tmp/sveltekit-superforms/src/routes/snapshot/+page.svelte:11:5
Error: Variable 'restore' is used before being assigned. (ts)
    capture,
    restore
  };

However, when we implement these functions by non-arrorw-function, there is no error.
This is because of hoisting.
https://developer.mozilla.org/en-US/docs/Glossary/Hoisting

Right, hoisting. That should be no problem then, it'll be included in the next patch update.


Could not found SignInwithEmailandPassword method in java sdk

[READ] Step 1: Are you in the right place?

For issues or feature requests related to the code in this repository
file a Github issue.

If this is a feature request make sure the issue title starts with "FR:".

For general technical questions, post a question on StackOverflow
with the firebase tag.
For general Firebase discussion, use the firebase-talk
google group.
For help troubleshooting your application that does not fall under one
of the above categories, reach out to the personalized
Firebase support channel.

[REQUIRED] Step 2: Describe your environment

Operating System version: _____
Firebase SDK version: _____
Library version: _____
Firebase Product: _____ (auth, database, storage, etc)

[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
Relevant Code:
// TODO(you): code here to reproduce the problem

User sign-in operations are not exposed on the Admin SDK by design.

So where are the operations exposed?