Improve doc ci node

add missing package(s):

add Pygments, doc prerequisites
add ansible, omeroweb-install prerequisites

see https://ci.openmicroscopy.org/job/TEST-DEV-merge-docs and https://ci.openmicroscopy.org/job/TEST-DEV-merge-docs-autogen
keep in mind https://github.com/openmicroscopy/infrastructure/pull/20

As briefly mentioned yesterday, I think a series of next steps would be:

remove epydoc (fully replaced by Sphinx to generate the Python API doc)
make the texlive role optional and/or remove the role in the context of https://trello.com/c/SnUesylG/505-ditching-docs-pdfs
refactor the Sphinx dependency handling out of jenkinsslave into a separate role. A constraint of the current docs build logic is the Sphinx + Ant dependency. In the context of building docs via Jenkins, this means we would either need Ant installed in the role (as proposed in the role https://github.com/openmicroscopy/infrastructure/pull/20), or Sphinx installed globally instead of using a virtualenv or some code work to remove this dependency.

this means we would either need Ant installed in the role (as proposed in the role #20), or Sphinx installed globally instead of using a virtualenv or some code work to remove this dependency.

If we're moving to more compartmentalised build servers e.g. a docker container or VM that only builds docs everything could be installed at the global level if that makes things easier

My intention is only to move away doc jobs from cowfish as server was overloaded. If we would like to do more complex rearrangement of the roles, maybe we could handle that separately. As the pdf removal decision hasn't been made. I could wait for @rleigh-codelibre return to help with fixing texlive

spider-5 is now created:
[hudson@spider-5 ~]$ ./virtualenv/bin/pip freeze | grep Pyg
Pygments==1.4
[hudson@spider-5 ~]$ which ansible
/bin/ansible

I'm merging this and will open a doc PR against MT.

NB: I assume it's possible to test moving PRs to this jenkins node.


DNS for Services and Pods docs improvement suggestions

Here's the text I see in the Pod's DNS policy section today:
https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
Pod's DNS Policy
DNS policies can be set on a per-pod basis. Currently Kubernetes supports the following pod-specific DNS policies. These policies are specified in the dnsPolicy field of a Pod Spec.

"Default": The Pod inherits the name resolution configuration from the node that the pods run on. See related discussion for more details.
"ClusterFirst": Any DNS query that does not match the configured cluster domain suffix, such as "www.kubernetes.io", is forwarded to the upstream nameserver inherited from the node. Cluster administrators may have extra stub-domain and upstream DNS servers configured. See related discussion for details on how DNS queries are handled in those cases.
"ClusterFirstWithHostNet": For Pods running with hostNetwork, you should explicitly set its DNS policy "ClusterFirstWithHostNet".
"None": It allows a Pod to ignore DNS settings from the Kubernetes environment. All DNS settings are supposed to be provided using the dnsConfig field in the Pod Spec. See Pod's DNS config subsection below.
Note: "Default" is not the default DNS policy. If dnsPolicy is not explicitly specified, then "ClusterFirst" is used.

I've found a few issues with this:

ClusterFirstWithHostNet doesn't explain what it does, it just says to use it. As far as I could tell from some discussion with colleagues, it's the same as ClusterFirst but using search domains from the node on the pod as well as the search domains from ClusterFirst. Is that the case?
The link for "See related discussion for details on how DNS queries are handled in those cases."  leads here: https://kubernetes.io/docs/tasks/administer-cluster/dns-custom-nameservers/#effects-on-pods . However, I cannot find any "effects on pods" section. Perhaps this was removed or moved at some point? I'd be curious what that discussion was about, but I don't know where it's supposed to be or what the discussion says so it's a bit hard to find without a valid link.

/kind bug
because of the broken hyperlink
Thanks for the suggestion @joestringer
/triage accepted
/priority backlog


Fix #34: test AccessTokens classes

@rultor merge

@rultor merge

@proshin-roman OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@proshin-roman Done! FYI, the full log is here (took me 2min)


Cache geohash tiles and invalidate on add/edit/removal

What does this change?
With these changes we re-enable caching on the server side for geohash queries.
These queries define the tiles that we draw to the map and are a core driver of connections made to mongo.
By re-enabling the caching layer in the gql schema for these we will hopefully drive down the number of requests we need to make to mongo for standard users who are just browsing for a loo.
New stuff
This PR also adds the option to run the toilet map backed with a Redis store cache attached to the apollo server. This is beneficial because—by centralising our cache—we avoid having to make as many lookups for map tile loo information against our Mongo database which is currently expensive due to number of connections we incur.
So, with this change, if something is in cache (memory or Redis), we now only run our dbConnect method at the resolver level. This is key (if you'll excuse the pun) because that means that if there is a cache hit, we never need to connect to mongo to serve the request, we need only ask the in-memory cache or Redis. (@marxian this is the new work since you last reviewed)
Redis servers are quite cheap and, with a good caching layer, we could avoid having to scale the Mongodb side as much should traffic increase.
Cache invalidation
We'd like to invalidate the cache for loo tiles when loos are added, updated or removed.
We do this at two levels by passing a new header: invalidatecache as part of the useLoosByGeohashQuery that we execute for each tile of markers requested by the client when a user pans/zooms/loads the map.

HTTP Layer :: If we're coming from an add/edit/remove page and the invalidatecache header is set, we include the following in the headers that we send to the api: { 'cache-control': 'no-cache', pragma: 'no-cache' }. This will ensure that the http caching layer is bypassed. This happens here: https://github.com/neontribe/gbptm/pull/1376/files#diff-a1c81509bdeab83584c5c0d145ef8e1d499670dba35cfa988161e7c47cb46b3cR34
Server cache layer :: If we're coming from an add/edit/remove page and the invalidatecache header is set, we stipulate that we should not read from cache on the api layer through the shouldReadFromCache method that is part of the plugin: responseCachePlugin. This happens here: https://github.com/neontribe/gbptm/pull/1376/files

What else?
Some bug fixes and general improvements are also included.
How was this tested?
Locally and on a staging instance.

HM, not working like it did locally — investigating

HM, not working like it did locally — investigating

seems as though it's fixed following some changes

closing this because I'm not happy with the broader implementation here and need to take a step back to rethink


Hour(s) missing in time summary (Last Seen, Play Time)

Hours is missing in time summary for "Last seen" and "Played" time.
Example from Played time top list:

14 mins and 36 seconds
17 mins and 1 second

The sorting seems to be ok, but the rendered time on the page is missing hour(s) and does not look correct.

Since you already fixed this in your own branch, I'd welcome a pull request!


Distressed by using VOLAR

During use, VScode saves the code and then saves it again. volar will delete the tag at the end.
This is the result of multiple verifications after troubleshooting. now volar is no longer used.

I can't reproduce this problem, please provide minimal reproduction.

i have the same problem as @yunfanfan9810, its unusable for me:
code before I save (vscode before pressind ctrl + s):
<template>

heading

</template>

after saving:
<template>

heading


This project needs a finalized name

Mike Frank pointed out on twitter that the name "Psych-DS" obscures what's new about the project (the data specifications & standards) and suggested "Psych-Standard."
Another issue with the name is that it implies an audience of psychologists, but in reality the standards can probably be applied to many kinds of social science data.  (Maybe this is okay? The APA style guide gets used widely, not sure if this was initially true.)
I would like to generate & consider at least a few possible options and do a vote or consensus process to choose!

(Feel free to add as comments here.)

I think the two "problems" with the name are totally fair, I'll just add that I don't think they're too much of a barrier.

I prefer Psych-DS over Psych-Standard becuase I think the "Standard" makes it sound like we're forcing people to do their experiments in a standard way which I suspect many will not like. This is not a strongly held opinion, it's a totally fine alternate name to Psych-DS I just prefer the "Data Standard" part of Psych-DS
I don't think it's a problem to have Psych in the name. In fact, I think its a feature, I think it makes forking and customising the project even easier - you could imagine Geo-DS that is based on Psych-DS but is updated for geo data by the maintainers.

Neither of these are strong opinions - just adding my little :+1: to the current name!


[Advice] Tackling multi-tenancy with stock DI - open generics

Hi team,
I'm tackling a design around supporting multi-tenancy in my application. Up until now, I've entirely relied on the stock DI libraries for all my IoC needs. To handle multi-tenancy, I wanted to enable scenarios around service lifetime that segregates tenant-scoped services away from singletons, scoped and transient services.
I know saaskit has gone a long way to provide a generic approach to multienancy, but, they've specifically built there DI story around StructureMap, which I am looking to avoid doing. In a future ideal world, I'd like my approach to multi-tenancy to support any DI container that .NET Core supports and is IServiceProvider compatible.
My current approach is to introduce a subclass of ServiceDescriptor: the TenantScopedServiceDescriptor. This descriptor supports a fixed lifetime scope of Singleton, so if the mutli-tenancy feature is disabled, any services registered with my AddTenantScoped(...) are singleton on the root provider.
The way I am planning to handle tenant-scoped services, was to create a new IServiceProvider on request, once a TenantId is resolved. This tenant-scoped provider is cached for the lifetime of the application, like ApplicationServices  is. Once I have the tenant-scoped service provider, the next logical step is to replace RequestServices with my own scoped instance from my tenant-scoped parent provider. This is handled through middleware.
The way this works under the hood, is when creating the tenant-scoped provider, I enumerate through all the available service registrations, and clone the service collection - except where I encounter a Singleton descriptor (which is not my TenantScopedServiceDescriptor). For singleton services, I create a new ServiceDescriptor which essentially delegates the instance resolution back to my root provider. The net effect should mean that transient and scoped services still behave as intended, but tenant-scoped services are resolved from my tenant-specific provider, and singletons from ApplicationServices:
IServiceCollection tenantServices = new ServiceCollection();
foreach (var descriptor in services)
{
    if (descriptor.Lifetime != ServiceLifetime.Singleton)
    {
        // MA - Scoped and transient service descriptors can be added directly.
        tenantServices.Add(descriptor);
    }
    else
    {
        if (descriptor is TenantScopedServiceDescriptor tssd)
        {
            // MA - Tenant scoped services become singletons in tenant-specific service provider.
            tenantServices.Add(descriptor);
        }
        else if (descriptor.ServiceType != typeof(IServiceCollection))
        {
            // MA - True singletons can be forwarded to the application services for resolution
            tenantServices.Add(new ServiceDescriptor(
                descriptor.ServiceType,
                sp => applicationServices.GetService(descriptor.ServiceType),
                ServiceLifetime.Transient));
        }
    }
}

Where this design is falling down, is that I can't create a forwarding ServiceDesriptor for open generics, as it requires an explicit open generic implementation type:

Open generic service type 'Microsoft.Extensions.Options.IOptions`1[TOptions]' requires registering an open generic implementation type.

I was hoping that there was an existing overload for Add* which would support Func<IServiceProvider, Type, object> for instance resolution, providing the second argument Type as the concrete service type being requested. I can see this has been raised previously in #588, #474 and #498 but each was closed without any real resolution.
Even if that were possible, it might require some additional changes under the hood to allow open generics to be delegated to an instance factory method - but even that has pitfalls in terms of type assurance etc.
Does anyone have advice - I'm specifically looking to stick around the stock DI rather than pull in another DI container.

/cc @sebastienros

We took this approach in Orchard Core, have you looked at how it's done there? I could suggest you to use Orchard Core directly as it will provide more than just multi-tenancy, things that you will probably need for SaaS applications (modularity, theming, admin panel, user/role management, permissions, openid, ...).
PS: Orchard Core and Orchard Core CMS are two different sets of packages, you won't need the CMS (people are often confused with the distinction)

@sebastienros Just reviewed how it is done in OrchardCore - its nice to know I was on the right track. I can see a couple of issues with the approach which I'm sure you've already considered

Adding the open generics as singletons in the tenant service collection effectively means they are not true singletons, a singleton instance could exist for each tenant - I had this same thought, I can't see anyway round it :-/
You eagerly grab other singletons directly from the root service provider and add them as singleton instances in the tenant service provider - are there any semantics around IDisposable not being executed for singleton instances that are not resolved in the container (@davidfowl?) - the thing I was considering is although a tenant service provider should live for the life of the application - could there be a situation where disposal of the tenant service provider could leave a singleton instance sourced from the root service provider in a disposed state?

It's an interesting challenge to try and tackle - I'll take a further look at OrchardCore - although I like the challenge of building stuff for myself - as does anyone I guess :-)
I know those issues I've mentioned have previously been closed and a lot of the development around DI is governed by what features other containers support, but is it worth looking into DI changes to support:

Adding an overload for resolving services to support Func<IServiceProvider, Type, object> delegates where Type is the service type (e.g. the closed generic type)
Resolving open generic services using a delegate (dependent on the above change?)

cc @pranavkm

The lifetime of the singletons is interesting, the way we register them means that they are not disposed once a tenant stopped or recycled. This actually raised some concerns in the DI that the team handle quickly. So if we pass a custom instance, the DI won't try to dispose it, it our instance. There is still an issue that is open which is about being explicit during the registration to provide the behavior regarding disposal. So yes right now the way we do it is not ideal with open generics.

although I like the challenge of building stuff for myself

Nobody will blame you on this one, we love puzzles and programming ;)

We need to figure out if this built on top (and therefore works for all container adapters) or if it's built into the implementation. So far all of the solutions on top have caveats but it's where we currently are. Maybe a doc describing the state of things and the patterns we recommend with tradeoffs is the action item here.


Hard to follow

Since that multiple dependencies (like mmdet) of this project have undergone significant version updates, do you have any plan to update the code so that others can follow your work?

@Ecalpal I am under the impression that the most recent version of mmdet3d is compatible with this project. Please correct me if this is not the case. Thank you.

For example, in the latest version, mmcv.core no longer exists

For example, in the latest version, mmcv.core no longer exists

Thank you for your comments! It seems that you are referring to mmdet.core instead of mmcv.core, as I haven't used mmcv.core. I will provide a solution shortly and appreciate your interest in the project.

I saw that you have updated the  version of dependencies, and I will try again this afternoon.
Thank you.

@Ecalpal Yes, I have listed the versions of the packages that I am using. I will try to avoid using mmdet and mmdet3d in this project later.

I agree with you.
Thank you for your work, I will try again.
(This is really an interesting and novel work👏👏👏)

@Ecalpal Thank you for your kind words. I am happy that it is helpful for you 🤗. By the way I will update the codes and models for Cityscapes-3D today or tomorrow, stay tuned!


Crash in  FIRApp firebaseUserAgent

[REQUIRED] Describe your environment

Xcode version: 10.1
Firebase SDK version: 5.5.0 unity
Firebase Componetn: Analytics, Auth, RemoteConfig
Component version: 5.16

[REQUIRED] Describe the problem
i upgrade sdk from unity 5.2.1 to unity 5.5.0, in fabric, i get crash info from fabric
Crash Log:
Fatal Exception: NSGenericException
0  CoreFoundation                 0x1be8c5ea4 __exceptionPreprocess
1  libobjc.A.dylib                0x1bda95a50 objc_exception_throw
2  CoreFoundation                 0x1be8c573c -[__NSSingleObjectEnumerator initWithObject:]
3  ttnl                           0x1028e13e8 +[FIRApp firebaseUserAgent] (FIRApp.m:515)
4  ttnl                           0x1029729b4 +[FIRDiagnostics populateLogProtoWithCommonInfo:app:]
5  ttnl                           0x102974a94 +[FIRDiagnostics clearcutLoggerWillSendLogs:forApp:userDefaults:]
6  ttnl                           0x1029748d0 +[FIRDiagnostics clearcutLoggerWillSendLogs:]
7  ttnl                           0x102971654 -[FIRClearcutLogger sendLogsWithCompletionHandler:]
8  libdispatch.dylib              0x1be2fd6c8 _dispatch_call_block_and_release
9  libdispatch.dylib              0x1be2fe484 _dispatch_client_callout
10 libdispatch.dylib              0x1be2a5bd0 _dispatch_lane_serial_drain$VARIANT$mp
11 libdispatch.dylib              0x1be2a6718 _dispatch_lane_invoke$VARIANT$mp
12 libdispatch.dylib              0x1be2aeeb8 _dispatch_workloop_worker_thread
13 libsystem_pthread.dylib        0x1be4e10dc _pthread_wqthread
14 libsystem_pthread.dylib        0x1be4e3cec start_wqthread
Steps to reproduce
in my test device, i can't Reproduce it

At first glance, I don't see anything wrong with the code at https://github.com/firebase/firebase-ios-sdk/blob/release-5.16.0/Firebase/Core/FIRApp.m#L515 or the sLibraryVersion usages.  Perhaps there's a wild pointer in the app or the unity integration? We'll likely need a reproducible test case.

It looks like +[FIRApp firebaseUserAgent] is not really thread safe. sLibraryVersion can be modified while enumerating. From the crash log, it looks like the method is invoked from a background thread.
@realluhui I wonder, if you can provide call stack for other threads?
In the meanwhile I am going to post a PR to make fix +[FIRApp firebaseUserAgent] thread safety.


Add German STSBenchmark task

Some results from different models:

Model
Cosine Similarity (Pearson)
Cosine Similarity (Spearman)
Manhattan (Pearson)
Manhattan (Spearman)
Euclidean (Pearson)
Euclidean (Spearman)
Evaluation Time

T-Systems-onsite/cross-en-de-roberta-sentence-transformer
0.8443
0.8472
0.8252
0.8340
0.8251
0.8340
34.93

intfloat/multilingual-e5-base
0.7875
0.7827
0.7760
0.7804
0.7771
0.7827
32.59

sentence-transformers/distiluse-base-multilingual-cased-v1
0.7849
0.7732
0.7598
0.7590
0.7695
0.7691
25.50


[wait for #754] [neuralnet] Skip backwarding for non-trainable layers

This patch skips the backwarding for the non-trainable layers.
Further, the last trainable layer skips calcDerivative as well.
This results in much fewer calculations as well as more importantly, reduced memory.
See also #732
Self evaluation:
1. Build test: [x]Passed [ ]Failed [ ]Skipped
2. Run test: [x]Passed [ ]Failed [ ]Skipped
Signed-off-by: Parichay Kapoor<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.4.20191203. Thank you for submitting PR #755. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnsuite.mooo.com/.

:octocat: cibot: @kparichay, One of the module of prebuild group is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnstreamer/nntrainer/wiki/.

With this patch, the peak memory requirement for CIFAR10 transfer learning application (mentioned in #732) is reduced to 38252KB. Below is the analysis of this memory requirement :

weight of the fc layer (there is only one layer in the model) - 62720 (input size) x 10 (number of outputs) x 4 (size of float) = 2450 KB
gradient of the FC layer (same size as weight) = 2450 KB
adam optimizer weights (two tensors with same shape as weight) - 2 x 62720 x 10 x 4 = 4900 KB
input for the layer - 32 (batch size) x 62720 (input size) x 4 (float size) = 7840 KB

Total bare minimum memory requirement (sum of the above) = 17640 KB
Peak heap memory required by nntrainer (evaluated using heaptrack = 26.52 MB.This includes the next input buffer of size 7840KB which has been pre-fetched to be executed next for the best training performance. Excluding this pre-fetched buffer memory requirement brings the Peak heap memory to 19316 KB. This difference of 1676 KB is under investigation.
The total peak memory requirement is high because that value includes nntrainer shared object and its dependencies.

This patch has been updated to apply this logic to graph than to neural network class.


Visual Studio Code deleting content of git submodules inside a git project

I have a git project that contains several git submodules of other projects and I have seen that the Git integration in Visual Studio Code takes a lot of times to "scan" my git project to in the end delete the content of my submodules leaving my git checkout corrupted.

Strange and concerning as I'm looking at making more use of submodules in the near future.

@jpierru can you provide your OS, Code and git versions?

@joaomoreno OS is OSX 10.10.5 and git version is 2.3.2 (Apple Git-55). Visual Studio code version is 0.10.1.

May be related to #901 ?

Don't think it is related, this user is not merging/rebasing.

I have updated to visual studio code 0.10.3, I'll see if the issue still persists. @joaomoreno that is correct I am not merging and rebasing at this time.

Well, I guess this does not only apply to submodules, it looks like that if I wait long enough, all the files in my project are staged for deletion....
Is there a log from Visual Studio Code that I can look at to see what it is trying to do?

Interesting, if i click the "Unstage All" button, the git checkout is now "fixed" and the git status looks like it is correct. I am not sure why on its first pass at computing the git status Visual Studio Code is staging every files for deletion.

The submodules still show as modified, the reason is that their contents are still staged for deletion. If i unstage the changes in each of the submodules the git status is then finally clean.

It does look like when you are loading a project (the first time?) into visual studio code it stages every files for deletion in the project and its submodules.

Even after you clean up the mess, the submodule contents eventually are again staged for deletion.

Is your project OS? Could I clone it and give it a try?

Unfortunately it is not, I'll see if I can recreate it with a simple project.

That would be :+1:

Please reopen if there are more details.


Set the website of this GitHub repo to the Atmopshere package

...if still maintained/recommended

well - keeping it for now - but not sure if its a good package when talking about server performance


Demo different UIs for different configurations

Summary
This takes care of https://github.com/slackhq/circuit/issues/40. Updates the UI by changing it's layout based on the screens orientation.
Requirements (place an x in each [ ])

[ ] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[ ] I've read and agree to the Code of Conduct.

 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.Jonnathan Petote seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

sidenote - if you say "resolves #40" (or "fixes" or "closes"), github'll automatically close it when this PR merges


Cannot update index segment used by an Integrity Constraint

Trying to migrate an existing Django application from mssql/odbc to firebird
Any suggestions how to troubleshoot is appreciated.
Firebird 4.0rc1 running in docker container on port 3050
Django 3.1.6
latest firebirdsql & djfirebirdsql i.e.:
git+git://github.com/nakagami/djfirebirdsql#djfirebirdsql
git+git://github.com/nakagami/pyfirebirdsql#firebirdsql
./manage.py migrate auth

File "/usr/local/lib/python3.8/dist-packages/firebirdsql/wireprotocol.py", line 305, in _parse_op_response
raise OperationalError(message, gds_codes, sql_code)
firebirdsql.OperationalError: ALTER TABLE "AUTH_USER" ALTER "USERNAME" TYPE varchar(150): unsuccessful metadata update
ALTER TABLE AUTH_USER failed
action cancelled by trigger (1) to preserve data integrity
Cannot update index segment used by an Integrity Constraint
....
django.db.utils.OperationalError: ('unsuccessful metadata update\nALTER TABLE AUTH_USER failed\naction cancelled by trigger (1) to preserve data integrity\nCannot update index segment used by an Integrity Constraint\n', 0)

Relevant file:
https://github.com/django/django/blob/main/django/contrib/auth/migrations/0008_alter_user_username_max_length.py

Sorry, this software is incomplete and has many other bugs.
I'm trying to keep up with Django 3.2, but so far I haven't had a chance. There are no plans to fix the bugs in 3.1.

$ python manage.py migrate
Operations to perform:
Apply all migrations: admin, auth, contenttypes, sessions, sites
Running migrations:
Applying auth.0008_alter_user_username_max_length...Traceback (most recent call last):
File "/home/user/env/lib/python3.9/site-packages/django/db/backends/utils.py", line 84, in _execute
return self.cursor.execute(sql, params)
File "/home/user/env/lib/python3.9/site-packages/djfirebirdsql/cursor.py", line 70, in execute
raise e
File "/home/user/env/lib/python3.9/site-packages/djfirebirdsql/cursor.py", line 67, in execute
super().execute(self.query)
File "/home/user/env/lib/python3.9/site-packages/firebirdsql/fbcore.py", line 327, in execute
(h, oid, buf) = self.transaction.connection._op_response()
File "/home/user/env/lib/python3.9/site-packages/firebirdsql/wireprotocol.py", line 1146, in _op_response
return self._parse_op_response()
File "/home/user/env/lib/python3.9/site-packages/firebirdsql/wireprotocol.py", line 307, in _parse_op_response
raise OperationalError(message, gds_codes, sql_code)
firebirdsql.OperationalError: ALTER TABLE "AUTH_USER" ALTER "USERNAME" TYPE varchar(150): unsuccessful metadata update
ALTER TABLE AUTH_USER failed
action cancelled by trigger (1) to preserve data integrity
Cannot update index segment used by an Integrity Constraint
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/user/server/manage.py", line 33, in
main()
File "/home/user/server/manage.py", line 29, in main
execute_from_command_line(sys.argv)
File "/home/user/env/lib/python3.9/site-packages/django/core/management/init.py", line 401, in execute_from_command_line
utility.execute()
File "/home/user/env/lib/python3.9/site-packages/django/core/management/init.py", line 395, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/user/env/lib/python3.9/site-packages/django/core/management/base.py", line 330, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/user/env/lib/python3.9/site-packages/django/core/management/base.py", line 371, in execute
output = self.handle(*args, **options)
File "/home/user/env/lib/python3.9/site-packages/django/core/management/base.py", line 85, in wrapped
res = handle_func(*args, **kwargs)
File "/home/user/env/lib/python3.9/site-packages/django/core/management/commands/migrate.py", line 243, in handle
post_migrate_state = executor.migrate(
File "/home/user/env/lib/python3.9/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 "/home/user/env/lib/python3.9/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 "/home/user/env/lib/python3.9/site-packages/django/db/migrations/executor.py", line 227, in apply_migration
state = migration.apply(state, schema_editor)
File "/home/user/env/lib/python3.9/site-packages/django/db/migrations/migration.py", line 124, in apply
operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
File "/home/user/env/lib/python3.9/site-packages/django/db/migrations/operations/fields.py", line 236, in database_forwards
schema_editor.alter_field(from_model, from_field, to_field)
File "/home/user/env/lib/python3.9/site-packages/djfirebirdsql/schema.py", line 71, in alter_field
raise e
File "/home/user/env/lib/python3.9/site-packages/djfirebirdsql/schema.py", line 68, in alter_field
super().alter_field(model, old_field, new_field, False)
File "/home/user/env/lib/python3.9/site-packages/django/db/backends/base/schema.py", line 571, in alter_field
self._alter_field(model, old_field, new_field, old_type, new_type,
File "/home/user/env/lib/python3.9/site-packages/django/db/backends/base/schema.py", line 721, in _alter_field
self.execute(
File "/home/user/env/lib/python3.9/site-packages/django/db/backends/base/schema.py", line 142, in execute
cursor.execute(sql, params)
File "/home/user/env/lib/python3.9/site-packages/django/db/backends/utils.py", line 98, in execute
return super().execute(sql, params)
File "/home/user/env/lib/python3.9/site-packages/django/db/backends/utils.py", line 66, in execute
return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
File "/home/user/env/lib/python3.9/site-packages/django/db/backends/utils.py", line 75, in _execute_with_wrappers
return executor(sql, params, many, context)
File "/home/user/env/lib/python3.9/site-packages/django/db/backends/utils.py", line 84, in _execute
return self.cursor.execute(sql, params)
File "/home/user/env/lib/python3.9/site-packages/django/db/utils.py", line 90, in exit
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/home/user/env/lib/python3.9/site-packages/django/db/backends/utils.py", line 84, in _execute
return self.cursor.execute(sql, params)
File "/home/user/env/lib/python3.9/site-packages/djfirebirdsql/cursor.py", line 70, in execute
raise e
File "/home/user/env/lib/python3.9/site-packages/djfirebirdsql/cursor.py", line 67, in execute
super().execute(self.query)
File "/home/user/env/lib/python3.9/site-packages/firebirdsql/fbcore.py", line 327, in execute
(h, oid, buf) = self.transaction.connection._op_response()
File "/home/user/env/lib/python3.9/site-packages/firebirdsql/wireprotocol.py", line 1146, in _op_response
return self._parse_op_response()
File "/home/user/env/lib/python3.9/site-packages/firebirdsql/wireprotocol.py", line 307, in _parse_op_response
raise OperationalError(message, gds_codes, sql_code)
django.db.utils.OperationalError: ('unsuccessful metadata update\nALTER TABLE AUTH_USER failed\naction cancelled by trigger (1) to preserve data integrity\nCannot update index segment used by an Integrity Constraint\n', 0)
django==3.1
latest djfirebirdsql

Sorry I haven't maintained this for so long.
The django version keeps going up and up and up and I'm tired of it.
I may pop back and fix things for the latest version of django, but I don't think I'll be able to do anything for a while.
I wish Django would do a builtin Firebird backend!


Fix: check output, if output is nil then ignore.

This will cause panic later.
https://github.com/livekit/ingress/blob/a7b821a5324e1964b4bed7f524470be31b90ca00/pkg/media/webrtc.go#L167

You are right that we should handle this returned error. I'm however not sure whether we should fail the whole ingress instead of skipping the filling output. In which case did you see the NewVideoOutput failing?

 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.


Resolve TxInputs using ledger state

According to profiling resolving TxInputs takes a considerable amount of time of syncing. It is done for 2 main reasons:

computing the input sum, in order to compute deposits
find necessary fields to populate the TxIn table

most of these inputs will already be present in the ledger state. The only ones missing are UTxO created from previous transactions in the latest block, since we only get the UTxO after block application and not fine grained after Tx application. So we could get the from the ledger state, instead of doing queries to the db. If they are not found in the ledger state, we can query the db.
To get max benefits from this, we also need to change the schema of the Tx table and use real primary key, the hash of the Tx instead of autoincremental Ints. Doing one of the two, probably won't give many benefits.

This is not something that should be implemented in db-sync . The ledger should supply this via an API.

It looks like there hasn't been any activity on this issue for a some time. We're closing it for now. If you're still experiencing this problem or have any updates, please reopen or create a new issue. Your feedback is valuable, thank you!


Upgrading packages:

Jinja2==2.10.1
mysql-connector==2.2.9
SQLAlchemy==1.3.0
urllib3==1.24.2

Closes: #3


Use desktop specific string for websites card description

Fixes ooni/probe#1048

@sarathms can you update to the latest files from the CSV? Once that is done this is good to merge for me.

Updated latest copy from CSV. Going ahead with merge.


Adding Messages (Has error)

The messaging function has been implemented and works as intended; however, the error handling has an issue.
Also a small tamagui frontend that takes three fields:
To number, from number, and message body

There is an error on receiving no error response from Volt's API, this is something that I will take a look at but for now we'll just get the code in.


improve rwd of header (#4249)

Pull request opened by the merge tool on behalf of #4249

Merged in e6fbf44180a5d7c8732fbcbea9e5ed6b5782326d


(feat: addons Karpenter) support consolidation in Karpenter 0.15

Describe the feature
Karpenter 0.15 introduces a new configuration.
spec:
  # Enables consolidation which attempts to reduce cluster cost by both removing un-needed nodes and down-sizing those
  # that can't be removed.  Mutually exclusive with the ttlSecondsAfterEmpty parameter.
  consolidation:
    enabled: true

This needs to be added to https://github.com/aws-quickstart/cdk-eks-blueprints/blob/f7fba04f2488556366779e56ebb88d860747aa5a/lib/addons/karpenter/index.ts
I suggest we default to True if not provided.
Use Case
consolidation which attempts to reduce cluster cost by both removing un-needed nodes and down-sizing those that can't be removed.  Mutually exclusive with the ttlSecondsAfterEmpty parameter.
Proposed Solution
Something like:
consolidation?: {
    'enabled': boolean,
}

const consolidation = this.options.consolidation || { consolidation: { enabled: true }};

Other Information
No response
Acknowledgements

[x] I may be able to implement this feature request

CDK version used
N/A
EKS Blueprints Version
1.2.0
Node.js Version
N/A
Environment details (OS name and version, etc.)
N/A

@javydekoning thanks for the submission. We haven't up-ed our support of Karpenter to 0.15, so it will be in a future PR with some of the other ongoing Karpenter issues (your others included.)

I have a PR in flight that takes care of this issue (and upgrade to 0.16 support). Your other issue, as I mentioned in the ticket, will have to be a followup due to breaking changes.

Addressed (and upgraded to 0.16 support) Per PR #489. Closing the issue.


Generating Prisma client without any model in its schema

Problem
We have a server template including Prisma, which works fine so far. However, we now have another server extending this template without the need of models - just raw queries. While generating the Prisma client, via npx prisma generate, it is complaining about not having at least one model.
$ npx prisma generate
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Error:
You don't have any models defined in your schema.prisma, so nothing will be generated.

Obviously correct - but in this case not wanted. So, we would like to use Prisma with basically $queryRaw and $queryRawUnsafe only.
Suggested solution
It should be allowed to generate the Prisma Client without existing models in its schema.
Alternatives
First guess would be to add a dummy model.

Interesting and valid use case. If we remove this hard limitation, we should probably find a way to instead communicate the missing of models another way to point it out to first time users of Prisma.

Almost a year, still no solutions?

Upvoting. Start with a flag maybe? Like npx prisma generate --allow-no-models

I'd also like support this suggestion. I'm in a very similar situation as the OP, working with a service template but some services don't need any models, just the client.

Yeah! I want this feature too!

Same for me.

Same for me, I don't understand how to it possible to not have any types for at lease $connect, and doing raw queries. It is necessary for a standalone library :/

Same. I find myself creating a dummy model just to be able to use raw queries that aren't tied to a model.

Yes! I'm really needing this feature too!

@janpio I want to work on this issue, if you can guide me a little.

I would start searching our codebase for the error message string, and then try to understand how it is thrown - and how it could be avoided.

I would start searching our codebase for the error message string, and then try to understand how it is thrown - and how it could be avoided. (Note: The codebase is not only this repository, but also prisma-engines - so maybe is relates to that)

Thank you.

Hi, thought I'd make my first contribution to open source :D

Hi, thought I'd make my first contribution to open source :D
@janpio I see that people come to you with questions, so after PR I just have to wait for some kind of result?

@janpio I like the @kivanval's PR #22046. What do you think?

@joeyaurel, I've already forgotten for updating the branch, took too long to accept, then need to revisit the decision again as CI breaks. :)

@janpio Any further update on this?

The pr #24160 will close this issue


Remove zone status hack from landing_zone_create failure

I believe this has been mistakenly left in. With recent changes to taskflowbackend and zone error handling, I don't think it is no longer needed. Will have to double check to make sure.
def build(self, force_fail=False):
    try:
        self._build(force_fail)
    except Exception as ex:
        zone = LandingZone.objects.get(
            sodar_uuid=self.flow_data['zone_uuid']
        )
        zone.set_status('NOT CREATED', str(ex))
        raise ex

Done.


Add a toggle for ninjas using guns in SpaceNinjaComponent

About the PR
Ninjas, by default, are prevented from using guns by "ninja honor"
Now, this can be toggled in the SpaceNinjaComponent.
Why / Balance
Seems alright for admins/devs to allow some version of a space ninja to use guns. Could be helpful for admemes who want something to use the ninja suit/dash but still be able to shoot. Could be used for someone making some crazy ninja with a minigun in a debug server because they're bored.
Technical details
By default, PreventGuns is set to true, if it's toggled to false by any means, the ninja will be exempt from "ninja honor" and will be able to use guns of any type.
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog
:cl:
ADMIN

tweak: Ninjas can now be allowed to use guns through the SpaceNinjaComponent

just move it to its own component

just move it to its own component

Going off of this - A chunky fingers/prevent ranged weapons comp should be added so it can be used on different entities.

yes thats what i mean
GunsDisabledComponent


Pool can contain the same connection multiple times ... somehow

So we've just tried upgrading from mongoose 3.8 to 4.x and we're getting the classic
(node) warning: possible EventEmitter memory leak detected. 11 connect listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
  at Socket.addListener (events.js:252:17)
  at Socket.Readable.on (_stream_readable.js:673:33)
  at Socket.once (events.js:278:8)
  at Socket.unref (net.js:1029:10)
  at [object Object].Connection.destroy (/app/node_modules/mongoose/node_modules/mongodb-core/lib/connection/connection.js:449:23)
  at /app/node_modules/mongoose/node_modules/mongodb-core/lib/connection/pool.js:189:7
  at Array.forEach (native)
  at [object Object].Pool.destroy (/app/node_modules/mongoose/node_modules/mongodb-core/lib/connection/pool.js:182:15)
  at [object Object].Server.destroy (/app/node_modules/mongoose/node_modules/mongodb-core/lib/topologies/server.js:1073:31)
  at [object Object].Server.close (/app/node_modules/mongoose/node_modules/mongodb/lib/server.js:398:17)
  at [object Object].Db.close (/app/node_modules/mongoose/node_modules/mongodb/lib/db.js:357:19)
  at NativeConnection.doClose (/app/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:222:11)
  at NativeConnection.Connection._close (/app/node_modules/mongoose/lib/connection.js:566:12)
  at /app/node_modules/mongoose/lib/connection.js:537:11
  at new Promise.ES6 (/app/node_modules/mongoose/lib/promise.js:45:3)
  at NativeConnection.Connection.close (/app/node_modules/mongoose/lib/connection.js:536:10)
  at /app/node_modules/mongoose/lib/index.js:256:10
  at Array.forEach (native)
  at Mongoose.disconnect (/app/node_modules/mongoose/lib/index.js:255:20)

I've overwritten EventEmitter.prototype.on and can see that there're 2 connect event listeners are added to a Socket related to mongo right at the start of the application. Then there're no additional ones while it's running and at the end there'll be a whole lot of connect listeners appended again with the above stacktrace (all of them the same - seemingly in unref).
I've now ended up logging connections.length, _.uniq(connections).length in Pool.prototype.destroy and I'm getting a result of 41, 4, which makes it seem like the same connection is added multiple times to the pool. I have no idea how that can be yet though. (4 is our poolSize in that case).
Any ideas how to dig into this further? I'll try to get to the bottom of this, just seems like you'd have a better grasp on where that might come from.
Version info is:
─┬<EMAIL_ADDRESS>  └─┬<EMAIL_ADDRESS>    └──<EMAIL_ADDRESS>
I'm pretty sure I tried it with 2.1.20 as well though, with the same results, but I can try again if there's been a recent fix in that area.

Which version of mongo are you running against? If < 3.2 then try the latest version of mongodb-core (on the 1.3 branch, past 8149914) and see if that addresses your issue.

Sweet, that gives me 4 connections when closing :+1:


break line incorrect at the first line

Thanks for the issue, but again, can you be more specific and informative? I suppose you mean that the first line breaks earlier than the second line; both lines should be of equal length?
A quick test locally works as it should, can you provide a small code example and include the font file?

Thanks for the issue, but again, can you be more specific and informative? I suppose you mean that the first line breaks earlier than the second line; both lines should be of equal length?
A quick test locally works as it should, can you provide a small code example and include the font file?

var fontLatin *canvas.FontFamily

func main() {

	t0 := time.Now()
	fontLatin = canvas.NewFontFamily("微软雅黑")

	if err := fontLatin.LoadSystemFont("微软雅黑", canvas.FontBold); err != nil {
		panic(err)
	}

	f, err := os.Create("document.pdf")
	if err != nil {
		panic(err)
	}
	defer f.Close()

	p := pdf.New(f, 210, 297, nil)

	c1 := canvas.New(210, 297)
	ctx1 := canvas.NewContext(c1)
	ctx1.SetFillColor(canvas.Beige)
	ctx1.DrawPath(0, 0, canvas.Rectangle(210, 297))
	drawDocument(ctx1)
	c1.RenderTo(p)

	if err := p.Close(); err != nil {
		panic(err)
	}
	fmt.Printf("%s\n", time.Now().Sub(t0).Round(time.Millisecond))
}

var lorem = []string{
	`执行送出执行送出执行送出执行送出执行送出执行送出执行送出执行送出执行送出执行送出执行送出执行送出执行送出出执行送出执行送出执行送出执行送出出执行送出执行送出执行送出执行送出出执行送出执行送出执行送出执行送出`,
}

const lenna = "lenna.png"

var y = 290.0

func drawTextAndMoveDown(c *canvas.Context, x float64, text *canvas.Text) {
	c.DrawText(x, y, text)
	const spacing = 5
	y -= text.Bounds().H + spacing
}

func drawDocument(c *canvas.Context) {
	y = 290.0
	c.SetFillColor(canvas.Black)

	text12Face := fontLatin.Face(12.0, canvas.Black, canvas.FontRegular, canvas.FontNormal)
	var txt *canvas.Text
	for _, t := range lorem {
		txt = canvas.NewTextBox(text12Face, t, 170.0, 0.0, canvas.Left, canvas.Top, 5.0, 0.0)
		drawTextAndMoveDown(c, 20.0, txt)
	}
}

Annotate this line of code and it is now correct

chang this code
var lorem = []string{
	`Thanks for the issue, but again, can you be more specific and informative? I suppose you mean that the first line breaks earlier than the second line; both lines should be of equal length?

A quick test locally works as it should, can you provide a small code example and include the font file?`,
}

How to set the first line indentation on the left?


Crash course on entt::meta is outdated

At this link the documentation is outdated (still use type instead of alias), let me know if I can help updating it.

Apparently I've updated the doc but I didn't copied it in the wiki. Thanks for pointing this out. :+1: :heart:

Updated. :+1:


executor: update USB fuzzing code to use new kernel API

The kernel API has changed and now differentiates between IN and OUT control requests.

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1281   +/-   ##
=======================================
  Coverage   67.49%   67.49%
=======================================
  Files         120      120
  Lines       21005    21005
=======================================
  Hits        14177    14177
  Misses       6154     6154
  Partials      674      674

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ff7bf04...a6ef67c. Read the comment docs.

LGTM


Instantiation of SingleChannel() with filter_taps leads to errors.

An error occurs in Version: 0.3.3 of quam when instantiating a SingleChannel() with filter_fir_taps or filter_iir_taps defined, adding this channel to a machine object and then calling machine.generate_config().
Example:
from quam.components import *

machine = BasicQuAM()
machine.channels['z'] = SingleChannel(opx_output=('con1', 1), filter_fir_taps=[1.53,-1.529], filter_iir_taps=[0.999,-0.999])
machine.generate_config()

This generates the error:
AttributeError: Cannot overwrite parent attribute of QuamList. To modify QuamList.parent, first set QuamList.parent = None

Can we come up with a fix for this error?

A brief look into the source code shows where this error is coming from.
When instantiating SingleChannel, the filter_fir_taps and filter_iir_taps are converted into QuamList objects and assigned a parent attribute taking the value of the SingleChannel object.
However, when calling machine.generate_config(), the method apply_to_config in SingleChannel is called. This reassigns filter_fir_taps and filter_iir_taps to other QuamComponent objects, such as OPXPlusAnalogOutputPort or LFFEMAnalogOutputPort:
# quam/components/channels.py, lines 523 - 538

elif len(self.opx_output) == 2:
    opx_port = OPXPlusAnalogOutputPort(
        *self.opx_output,
        offset=self.opx_output_offset,
        feedforward_filter=self.filter_fir_taps,
        feedback_filter=self.filter_iir_taps,
    )
    opx_port.apply_to_config(config)
else:
    opx_port = LFFEMAnalogOutputPort(
        *self.opx_output,
        offset=self.opx_output_offset,
        feedforward_filter=self.filter_fir_taps,
        feedback_filter=self.filter_iir_taps,
    )
    opx_port.apply_to_config(config)

Assigning filter_fir_taps and filter_iir_taps to another QuamComonent will call the following code:
# quam/core/quam_classes.py, lines 673 - 678

def __setattr__(self, name, value):
    converted_val = convert_dict_and_list(value, cls_or_obj=self, attr=name)
    super().__setattr__(name, converted_val)

    if isinstance(converted_val, QuamBase) and name != "parent":
        converted_val.parent = self

Since filter_fir_taps and filter_iir_taps already have a parent defined, trying to overwrite this in the final line of the above code will lead to an error, since overwriting the parent of a QuamBase object is not allowed.

I've implemented a simple fix for the above issue. We need to "unhook" the filter_fir_taps and filter_iir_taps objects from their parents before assigning them to other QuamComponent objects.
Concretely, inserting these lines of code solves the problem:
for filter_tap in [self.filter_fir_taps, self.filter_iir_taps]:
            if isinstance(filter_tap, QuamBase):
                filter_tap.parent = None

The full code for the apply_to_config method in SingleChannel now looks like this:
def apply_to_config(self, config: dict):
        """Adds this SingleChannel to the QUA configuration.

        See [`QuamComponent.apply_to_config`][quam.core.quam_classes.QuamComponent.apply_to_config]
        for details.
        """
        # Add pulses & waveforms
        super().apply_to_config(config)

        if str_ref.is_reference(self.name):
            raise AttributeError(
                f"Channel {self.get_reference()} cannot be added to the config because"
                " it doesn't have a name. Either set channel.id to a string or"
                " integer, or channel should be an attribute of another QuAM component"
                " with a name."
            )

        element_config = config["elements"][self.name]

        if self.intermediate_frequency is not None:
            element_config["intermediate_frequency"] = self.intermediate_frequency

        for filter_tap in [self.filter_fir_taps, self.filter_iir_taps]:
            if isinstance(filter_tap, QuamBase):
                filter_tap.parent = None

        if isinstance(self.opx_output, LFAnalogOutputPort):
            opx_port = self.opx_output
        elif len(self.opx_output) == 2:
            opx_port = OPXPlusAnalogOutputPort(
                *self.opx_output,
                offset=self.opx_output_offset,
                feedforward_filter=self.filter_fir_taps,
                feedback_filter=self.filter_iir_taps,
            )
            opx_port.apply_to_config(config)
        else:
            opx_port = LFFEMAnalogOutputPort(
                *self.opx_output,
                offset=self.opx_output_offset,
                feedforward_filter=self.filter_fir_taps,
                feedback_filter=self.filter_iir_taps,
            )
            opx_port.apply_to_config(config)

        element_config["singleInput"] = {"port": opx_port.port_tuple}

For this, we need to import QuamBase at the top of the file quam/components/channels.py.
from quam.core import QuamBase, QuamComponent, quam_dataclass

Note that a workaround to not running into this issue is to simply pass the values for filter_fir_taps and filter_iir_taps as tuple(float) instead of list(float). This is because tuple objects are not converted to instances of QuamBase and are not assigned a parent, avoiding this issue completely.
@nulinspiratie I don't have access to publish a branch and create a pull request right now. But since it's only a few lines of code, feel free to simply add the code in this comment - should be straightforward!

Another brief comment: Filters also cause an error when calling qmm.open_qm(config) on the config currently generated by quam. The reason for this is the way filters are added to the config in apply_to_config.
In the current version (0.3.3), a channel in config has the following structure:
10: {'delay': 0,
     'shareable': False,
     'crosstalk': {1: 0.0},
     'feedforward_filter': [1.531099692360263, -1.529451467250909],
     'feedback_filter': [0.999, -0.999],
     'offset': 0.0},

But in version 1.2.0 of the qua documentation, filters should be assigned to channels in the following way.
10: {'delay': 0,
     'shareable': False,
     'crosstalk': {1: 0.0},
     'filter': {'feedforward': [1.531099692360263, -1.529451467250909], 'feedback': [0.999, -0.999]},
     'offset': 0.0},

This bug can be fixed by changing the get_port_properties method in the LFAnalogOutputPort class to the following code:
# quam/components/ports, lines 16-43

@quam_dataclass
class LFAnalogOutputPort(BasePort, ABC):
    fem_type: ClassVar[str] = "LF"
    port_type: ClassVar[str] = "analog_output"

    offset: Optional[float] = None
    delay: int = 0
    crosstalk: Optional[Dict[int, float]] = None
    feedforward_filter: Optional[List[float]] = None
    feedback_filter: Optional[List[float]] = None
    shareable: bool = False

    def get_port_properties(self):
        port_properties = {
            "delay": self.delay,
            "shareable": self.shareable
        }
        if self.crosstalk is not None:
            port_properties["crosstalk"] = self.crosstalk
        if self.feedforward_filter is not None or self.feedback_filter is not None:
            port_properties["filter"] = {}
            if self.feedforward_filter is not None:
                port_properties["filter"]["feedforward"] = list(self.feedforward_filter)
            if self.feedback_filter is not None:
                port_properties["filter"]["feedback"] = list(self.feedback_filter)
        if self.offset is not None:
            port_properties["offset"] = self.offset
        return port_properties

Hey @Qaslo nice catch, and thanks for the detailed explanation!
I'll be back from holiday in a week, is this blocking you from continuing or can it be fixed once I'm back?

No rush @nulinspiratie! I implemented the fixes locally, and they work for me!


test align_to example

Fixes https://github.com/rust-lang/miri/issues/873

@bors r+

:pushpin: Commit 459aea8f520ef74f81863f17c4fc68bd7ef607fb has been approved by RalfJung

:hourglass: Testing commit 459aea8f520ef74f81863f17c4fc68bd7ef607fb with merge<PHONE_NUMBER>325008b11d4ff70bcebeac2ed93368...

:sunny: Test successful - checks-travis, status-appveyor
Approved by: RalfJung
Pushing<PHONE_NUMBER>325008b11d4ff70bcebeac2ed93368 to master...


Add a version number to CLI

This would be useful where you are in an unfamiliar
environment (e.g. CloudFormation generated instance)
and want to check the hanoverd version that's available.
(However, I'm aware there's #60 to resolve too.)

Hmm. This is non ideal. I would prefer if this went in during the build process, otherwise we're bound to forget it. Can we make this an issue instead?

Done; #71.


Create HW LFSR CSR for creating random/pseudo random 32'b values

Using the RO custome CSR region, lets add a HW LFSR CSR.
This will allow us to create random numbers and use them in our programs
I will note that it's going to be tricky to validate programs that use this value due to the nature of the randomness..
We need to create a dedicated test for the types of features that are non-deterministic.

random
async exception
other.

I see that in the original issue, we wrote this is a RO CSR.. But i think it should be RW - so we can update the value according to seed.


Info

Is it possible to embed TTF font while creating new SWF using this lib ? If so, can you please give an example.
Thanks :)

I got the partial solution here
https://github.com/unstoppable/actionscript3--flash--load-and-register-ttf-font-in-runtime


fetch_pairwise_genome.py producing empty pair directories

Hi-
I am trying to work through your example data currently and I am running into an issue when using fetch_pairwise_genome.py I am executing it in my ITEP directory and it runs without giving me any error messages. It is producing a directory called all_strain_pairs which contains 49 pair directories. I believe that these 49 pair directories should contain the homologous gene clusters of each pair however they are all empty. Some guidance would be appreciated as far as what I could be missing.
Best,
Hayley Hassler

Hello!
When I try to run fetch_pairwise_genome.py it gives an error:
Traceback (most recent call last):
File "/home/uzun/HGT/clusterDbAnalysis/src/db_findClustersByOrganismList.py", line 10, in
from CoreGeneFunctions import *
File "/usr/lib/python2.7/CoreGeneFunctions.py", line 16, in
from ete2 import TextFace
ImportError: cannot import name TextFace
Can you help me with this?
Or maybe you can just say what kind of files should be in all_strain_pairs directory (database or fasta files)?
Thanks in advance,
Maria Uzun


Produce Design for User Interface

This is the final goal of this project, within Cycle 2 - to actually end up with a draft design for the User Interface. Then in Cycle 3 we will see how this maps onto the Technical Architecture that we have developed.

As agreed at the 28/APR/21 Lasair internal review, @andyxerxes has written a report  for the A3.09 activity. At the above meeting it was agreed to close all tickets in the A3.09 current activity.


SendButton should pass disabled attribute to IconButton

I am attempting to use the "sendBoxButtonColorOnFocus" styleset property, but it doesn't appear to get used because even if I set disabled=true on the ReactWebChat component, the SendButton is still enabled (whereas the TextBox becomes disabled). Thus the following styling does not apply:
    '&:disabled svg': {
      fill: sendBoxButtonColorOnDisabled
    }

I believe in SendButton.js, the disabled attribute should be set on the IconButton element in the way that it is done in MicrophoneButton and UploadButton.

Thanks guys for fixing this so quickly! You rock.


Add an example of using the IManagedTracer in AspNetCore with MVC

The usage is not straight forward as an extra attribute is required to inject the IManagedTracer into MVC action methods.
Fixes #948

I think everything needed was pushed in alpha 7 in early March.  I'm happy to just push this out with a new release if that's easier/safer too.

I'm in the middle of huge updates in prep for a release anyway, so it should be fine.

@jskeet actually you are correct, given the #951 the docs are ahead of the code :(

LGTM


improve tracker url counts

Task/Issue URL: https://app.asana.com/0/inbox/392891325557408/1136473077054069/1136473310598184
Tech Design URL:
CC:
Description:
On imdb mobile page Privacy Protection displays 2 trackers, but Network Leaderboard contains only one entry with trackers count set to 1.
Reason
There is one tracker URL reported that is not bumping the counts as expected:
"https://aax-eu.amazon-adsystem.com/x/getadi?pj={"prid"%3A"0101cae2eeb1d778196c3171588e516c25afba611beb1f74fe19e178e6946623f461"}&pk=["p%3Dtop"%2C"p%3Dt"%2C"c%3D0"%2C"pi%3Dhomepage"%2C"ua%3D1"]&src=401&c=100&sz=320x50&ec=0&u=https%3A%2F%2Fm.imdb.com%2F&slot=TOP_AD&site=m.imdb.com&pt=homepage&rnd=047278089276 "
Notice ' ' (space) at the end of url
Steps to test this PR:

Check URL is counted on imdb mobile page
Check tracker counts are otherwise unaffected across devices / sites

Internal references:
Software Engineering Expectations
Technical Design Template

Thanks @subsymbolic !


Prevent a jump to the top of the page when a disabled tab is clicked

Currently when clicking on a disabled tab, an empty hash is added to URL, and page jumps to the top. There is no way to solve this outside, so here's a PR.

@sebastiandedeyne I'd really appreciate if this could get merged - it's a good fix.

Thanks!


NBS: Store small tables in DynamoDB when persisting to AWS

There seems to be a floor on the amount of time required to persist
small objects to S3. For workloads that generate lots of small tables,
this can really add up. DynamoDB is much faster to read/write, and can
hold items of up to 400k. This patch stores tables with < 64 chunks
that are < 400k in DynamoDB, caching them in memory on persist and
open to reduce load on the back end.
Fixes #3559

OK, PTAL

LGTM


⚠ ETF has degraded performance

In 8cd85a3, ETF (https://markets.hankyung.com/equity-product/etf) experienced degraded performance:

HTTP code: 200
Response time: 6561 ms

Resolved: 마켓맵 performance has improved in 74de294.


test: some improvements to support bundle integration tests

Trying to use a different method to determine namespaces + add in some logging for tests
Added in fixes for tests running on windows (with explanations in comments)

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact<EMAIL_ADDRESS>with any additional questions or comments.
Thank you for contributing to Azure IoT Operations tooling!
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
Intent for Production

[ ] It is expected that pull requests made to default or core branches such as dev or main are of production grade. Corollary to this, any merged contributions to these branches may be deployed in a public release at any given time. By checking this box, you agree and commit to the expected production quality of code.

Basic expectations

[ ] If introducing new functionality or modified behavior, are they backed by unit and/or integration tests?
[ ] In the same context as above are command names and their parameter definitions accurate? Do help docs have sufficient content?
[ ] Have all the relevant unit and integration tests pass? i.e. pytest <project root> -vv. Please provide evidence in the form of a screenshot showing a succesful run of tests locally OR a link to a test pipeline that has been run against the change-set.
[ ] Have linter checks passed using the .pylintrc and .flake8 rules? Look at the CI scripts for example usage.
[ ] Have extraneous print or debug statements, commented out code-blocks or code-statements (if any) been removed from the surface area of changes?
[ ] Have you made an entry in HISTORY.rst which concisely explains your user-facing feature or change?

Azure IoT Operations CLI maintainers reserve the right to enforce any of the outlined expectations.
A PR is considered ready for review when all basic expectations have been met (or do not apply).

FYI @digimaun windows issue is fixed😆

https://github.com/c-ryan-k/azure-iot-ops-cli-extension/actions/runs/8885752792
tests be passing


Microphone not being captured

Issue Type: Bug
The extension works well, except that VSCode and/or Live Share Audio have not requested access to my microphone, so I cannot be heard on collaboration session calls. I cannot figure out how to get Code or the extension to prompt macOS Catalina to grant microphone access, either. Any guidance would be greatly appreciated!
Extension version: 0.1.80
VS Code version: Code 1.43.0 (78a4c91400152c0f27ba4d363eb56d2835f9903a, 2020-03-09T19:34:44.548Z)
OS version: Darwin x64 19.3.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8279U CPU @ 2.40GHz (8 x 2400)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
2, 3, 3

Memory (System)
16.00GB (0.20GB free)

Process Argv

Screen Reader
no

VM
0%

Hi Daniel!  thank you for using Live Share.
+@setaskin and @jramsay who might know the answer ...

Hi, I am experiencing the same exact same issue.
Extension version: 0.1.80
VS Code version: Code Version: 1.43.0 (78a4c91400152c0f27ba4d363eb56d2835f9903a, 2020-03-09T19:34:44.548Z)
OS: Darwin x64 19.3.0

Noticed for myself this happened after muting and unmuting the call. My microphone was being captured fine, I muted the call for maybe 10 seconds, then unmuted and nothing. Was unable to get my microphone to register even after ending and restarting the audio call.
Did not try fully restarting the session. Will update if I'm able to duplicate.
Extension: 0.1.80
VS Code: 1.43.0
OS: Darwin x64 19.3.0

I'm witnessing something similar. My colleague is able to hear me, but I'm not able to hear him. I'm on OSX Catalina, but my colleague is not.

I'm also on Catalina and restarting hasn't fixed it.  Sometimes I can hear my colleague but she can't hear me.  Sometimes neither of us can hear each other.

Thanks for filing this issue! Sorry to hear you've been having problems with audio. After you start (or join) the audio call are you able to configure your microphone?
You can do this by clicking on the audio icon in the VS Code Status Bar and selecting  Configure Microphone from the dropdown.

Do you see your microphone in the list? If this doesn't work, your logs may provide us with helpful information. You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue.

I'm able to see both microphones (internal and external) in the list.  However, changing them doesn't make any difference.
Also, FWIW, VSCode never prompts the OS for permission to access the microphone on my system.  For example. VSCode should be showing up in this list:

For those affected by this, I found a fix if you installed VS Code using homebrew.
If you open VS Code through your terminal e.g. code [path] you will be prompted to give your terminal access to your microphone. After doing this voice calls worked seamlessly for me.

@jasmine-q Worked great!

same issue.  I use vs code from spotlight.  My coworker was asked to allow microphone access and his worked.  I was never asked.  Electron is not in my system preferences for microphone sharing.

Same Issues here, I teach for an introduction class to programmation and we want to offer Live Help with Live Share, but honestly, people who need Live Help must have no complication to run Live Share because they can't fix it themself, they're not able to play with setting and the "Mac not prompting Microphone Permission" is really annoying. Hope the fix will come soon.

Thanks for the feedback (and temporary workaround @jasmine-q!). Agreed, this is not a good experience for Catalina users. We're testing this out now and will see if we can resolve the issue.

@jramsay Just be aware that this doesn't only happen on Catalina, I'm on Mojave and I have the issue as well.

MacOS Catalina/Mojave has the apps default mic access denied, until an app specifically requests access to the HW resource. Sadly, you cannot manually add the app to the allowed list (weird).
Assuming LiveShare team is more agile than Apple - please fix this.

Sadly, the @jasmine-q working isn't working for me using macOS Catalina and latest VSCode + Live Share Extension Pack

Since I didnt install via Brew, @jasmine-q's trick didnt work. The path for me was '/Applications/Visual Studio Code.app/Contents/MacOS/Electron'
I just opened it via that link, and similarly it prompted to allow Terminal to use the mic.

After much frustration trailing this for an education provider no audio, and having to auth about 10 times, I finally got it going with help from pbassham, although my path was /usr/local/bin/code. This works for me, but I cant get students using this with a hack like this for now - will be nothing but mayhem as they open VSCode from browser link or from launcher.

Guys, opening VSCode form your terminal, it asks for a permission to the terminal to access your microphone, it could be a good work around for MAC users

@tatosjb I agree, but for my case, I need a students proof solution, students who, for the most part, have never used a terminal before. With 200 to 400 students per session, I cannot guide them to a work around and it's the students who have the most difficulty who need a LiveShare session. Why is it always complicated with Mac :P

for me did the job this sudo open /usr/local/bin/code

For me the same -> sudo open /usr/local/bin/code

@KerberosMorphy I agree with the fact that it is a real issue and have to be fixed, i just have tried to help between that time. I just run the bash and type "code" and the vscode opens. But I also have teached before and I agree with you, to a classroom that does not have that much contact with this kind of thing, have to a workaround is hard

@tatosjb I've tried the vscode online with liveshare, but it doesn't seem compatible with audio. The new github online IDE (vscode) also look great (hope to have preview access), if liveshare audio work it could be almost easier than fighting with MacOS.
But generaly Microsoft/VS Code/Liveshare all seem to embrace pair programming, so I'm confident that this issue will be resolve.

When running sudo open /usr/local/bin/code I get: The file /usr/local/bin/code does not exist.
Any other workarounds?

@Destaq  You have tried to only execute code on your terminal?

if you are looking for something fool proof for your students and a way to open vscode could I suggest the following ( as it worked for me)
open vscode
open command pallete  (command shift p)
shell command install code in path ( is an option)
get them to run that
close vscode
then from bash type code
permissions then get asked when you execute requiring microphone ( or it did when i ran a python file needing it)

Wow ^^ works great, thanks!

I'm affected by this issue, but everything above I've tried and nothing is adding or requesting Microphone permissions for code. I've tried installing individual compoonents, the extension pack, re-installiing the extensions, code, both, nothing is getting the mic to work for me and I do not see Visual Studio Code in the Security & Privacy permissions

with the Version: 1.46.1, my audio can not work :(

Any potential of getting this issue more attention? This has been ongoing now for 4+ months now and is a critical/great component to live-share!

Maybe this information will be helpful.
From my device log, filtering for tccd
Prompting policy for hardened runtime; service: kTCCServiceMicrophone requires entitlement com.apple.security.device.audio-input but it is missing for RESP:{ID: com.microsoft.VSCode, PID[622], auid: 501, euid: 501, responsible path: '/Applications/Visual Studio Code.app/Contents/MacOS/Electron', binary path: '/Applications/Visual Studio Code.app/Contents/MacOS/Electron'}, ACC:{ID: com.github.Electron.helper, PID[3733], auid: 501, euid: 501, binary path: '/Users/[USERNAME]/Library/Application Support/Code/User/globalStorage/ms-vsliveshare.vsliveshare-audio/electron-4.2.7/dist/Electron.app/Contents/Frameworks/Electron Helper.app/Contents/MacOS/Electron Helper'}, REQ:{ID: com.apple.tccd, PID[241], auid: 0, euid: 0, binary path: '/System/Library/PrivateFrameworks/TCC.framework/Versions/A/Resources/tccd'}

There are in fact a few errors actually which may be related as well:
{ID: com.microsoft.VSCode, PID[622], auid: 501, euid: 501, binary path: '/Applications/Visual Studio Code.app/Contents/MacOS/Electron'} attempted to call TCCAccessRequest without the com.apple.private.tcc.manager.check-by-audit-token entitlement
Prompting policy for hardened runtime; service: kTCCServiceAppleEvents requires entitlement com.apple.security.automation.apple-events but it is missing for RESP:{ID: com.microsoft.VSCode, PID[622], auid: 501, euid: 501, responsible path: '/Applications/Visual Studio Code.app/Contents/MacOS/Electron', binary path: '/Applications/Visual Studio Code.app/Contents/MacOS/Electron'}, ACC:{ID: com.github.Electron, PID[3731], auid: 501, euid: 501, binary path: '/Users/[USERNAME]/Library/Application Support/Code/User/globalStorage/ms-vsliveshare.vsliveshare-audio/electron-4.2.7/dist/Electron.app/Contents/MacOS/Electron'}, REQ:{ID: com.apple.appleeventsd, PID[437], auid: 55, euid: 55, binary path: '/System/Library/CoreServices/appleeventsd'}
Prompting policy for hardened runtime; service: kTCCServiceMicrophone requires entitlement com.apple.security.device.audio-input but it is missing for RESP:{ID: com.microsoft.VSCode, PID[622], auid: 501, euid: 501, responsible path: '/Applications/Visual Studio Code.app/Contents/MacOS/Electron', binary path: '/Applications/Visual Studio Code.app/Contents/MacOS/Electron'}, ACC:{ID: com.github.Electron.helper, PID[3733], auid: 501, euid: 501, binary path: '/Users/[USERNAME]/Library/Application Support/Code/User/globalStorage/ms-vsliveshare.vsliveshare-audio/electron-4.2.7/dist/Electron.app/Contents/Frameworks/Electron Helper.app/Contents/MacOS/Electron Helper'}, REQ:{ID: com.apple.tccd, PID[241], auid: 0, euid: 0, binary path: '/System/Library/PrivateFrameworks/TCC.framework/Versions/A/Resources/tccd'}
pid 241 attempted to call TCCAccessRequest without the com.apple.private.tcc.override-prompt-policy entitlement

Per codesign it seems it's missing some entitlements
$ codesign -d --entitlements - /Applications/Visual\ Studio\ Code.app
Executable=/Applications/Visual Studio Code.app/Contents/MacOS/Electron
��qq�<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>com.apple.security.cs.allow-jit</key>
    <true/>
    <key>com.apple.security.cs.allow-unsigned-executable-memory</key>
    <true/>
    <key>com.apple.security.cs.allow-dyld-environment-variables</key>
    <true/>
</dict>
</plist>

Might be helpful to compress several of these audio issues down to a single issue.
Combined with the above; pretty sure that https://github.com/microsoft/vscode/pull/95832 is related (as I've commented on other issues here).
Here's all the audio tagged issues

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>com.apple.security.cs.allow-jit</key>
    <true/>
    <key>com.apple.security.cs.allow-unsigned-executable-memory</key>
    <true/>
    <key>com.apple.security.cs.allow-dyld-environment-variables</key>
    <true/>
    <key>com.apple.security.device.audio-input</key>
    <true/>
</dict>
</plist>

Same issue here, why it isn't fixed?????
Tried some of the working around solutions, none of those really worked!!!

After reading this other thread, I've figured out another incantation if these other workarounds haven't helped.
Myself and another coworker were having this issue: I could hear others, and my microphone turned on, but the data wasn't being sent to the other participants. This solved it for us. Full disclosure, I don't understand all the details...

It seems that VS Code inherits its permissions from the Mac Terminal.app (or something), so we need to grant permissions to Terminal.app.

Install the OpenCV Python library: pip install opencv-python

This is the easiest way to trigger the permissions check. You can uninstall it after (pip uninstall opencv-python)

In the terminal within VS Code, run python to start the Python interpreter. Then run:

import cv2
cam = cv2.VideoCapture(0)
print(cam.isOpened())
cam.release()

This will crash with an Abort trap: 6. That indicates that you are missing the permissions needed.

Close all instances of VS Code
Open the Mac Terminal app
Once again, run python and that same code in the interpreter.

 Accept it.

Start VS Code again

You should be good to go! Hopefully this helps you! 🤞

There appears to be two issues described here, and in some other places.

Folks developing applications on VSCode that use MacOS permission restricted features - like the camera or microphone - where the permissions engine isn't being prompted or consulted correctly. This could be because the debug console, embedded terminal or some other "executor" of the code needs these permissions explicitly, and/or the IDE needs these permissions.
Folks who want to use Live Share Audio feature - which VS Code isn't allowed to use the microphone on MacOS due to the same advanced permissions engine.

Can we clearly separate these two issues  and get an update on progress towards both? I know I worked with @jramsay in a number of GH issues, including #3768 and microsoft/vscode/#103509. Would love to see an update as to where we are with at least the Live Share Audio issues. I see the current version is 0.1.85 and from a Mac, it isn't capturing my microphone likely because it doesn't have permission to use it.
Can we also close off duplicates and consolidate the issues - should make it easier to manage the spray of GH issues in the future and help folks if you make it easier to search or list "Known Issues" ahead of time.

We just released an update to the audio extension (v0.1.91) to the VS Code Marketplace that should address this issue. I'm going to close this and related items as fixed. Can you give it a go and let us know if it works for you? Thanks for all your help with this issue!

We just released an update to the audio extension (v0.1.91) to the VS Code Marketplace that should address this issue. I'm going to close this and related items as fixed. Can you give it a go and let us know if it works for you? Thanks for all your help with this issue!

Why I couldn't see "Audio Call" under Session Details anymore after updating to v0.1.91?

For those affected by this, I found a fix if you installed VS Code using homebrew.
If you open VS Code through your terminal e.g. code [path] you will be prompted to give your terminal access to your microphone. After doing this voice calls worked seamlessly for me.

I tried this but it is not working
my command: code F:\programming\development and other\python programming\projects\jarvis for desktop\jarvis.py


Improve handling html help

What problem did you solve?
Addresses #426, #380
Some users may prefer other ways to read help documentation (e.g. text  and set options(help_type="text") in .Rprofile). Using session watcher will no longer override that preference if specified.
This PR also adds printing the browsing url before sending browser request to session watcher so that vscode will capture the port in url and perform auto port forwarding under remote develoment. This is a walk around of https://github.com/microsoft/vscode/issues/102449.
(If you do not have screenshot) How can I check this pull request?
Regarding options(help_type=)

Add options(help_type="text") in ~/.Rprofile.
Start vscode and an R session and the session is attached.
Run ?get, the documentation will show up in the terminal instead of a new WebView tab.
Remove the option from the .Rprofile and restart an R session
Run ?get and the documentation will show up in a new WebView tab instead of text.

Regarding printing URL in browser request:

Connect to a remote server via remote development via SSH/WSL/Containers
Start an R session and run ?get
The Browsing <URL> message will show up in the terminal output and auto port forwarding should be triggered.
A new webview is open and the HTML help documentation should show properly.

@MilesMcBain Do you think if this makes sense to resolve #426?
@magic-lantern Would you like to try this one and see if it works to resolve #380 ?

@renkun-ken  - I'd love to test and see if this resolves the other issue. What do I need to do for testing?

@magic-lantern  You could download the vsix at https://github.com/Ikuyadeu/vscode-R/actions/runs/321213341 and install in under remote development and see if ?get help could show properly as described in the first post.

Changes look good. I was just wondering about testing myself. I'll install this vsix in my docker container.

It seems that it already worked in docker before the change? It works now as well anyhow.
I tested over ssh and it also works now, as per screen shot. The style sheet issue is interesting, the help appeared normal in the Docker case.
I had also expected VSCode would need me to confirm port forwarding with some kind of dialog? I didn't see it.

@MilesMcBain Not sure if port mapping under remote via containers works differently from via ssh. It's good as long as it works anyway. Thanks for testing!

@MilesMcBain Sounds like you've looked at the code and were happy with the changes, and have also tested it and found it works? If so, please feel free to mark this PR as approved. (There should be a 'Review' button at the top of the 'Files changed' tab.)

@renkun-ken - Thanks for the help on how to test. I have tested in my current VSCode environment and this update does fix #380 for me.


Video not playing in Mac and Windows

I converted a webm file to mp4 and downloaded it on my windows as well as mac. The file is not being played. It generates a codec error.
To Reproduce
Steps to reproduce the behavior:

Convert a webm file to mp4
Download the mp4
Play it in your system
The video will not be played

Expected behavior
The video to be played
Desktop (please complete the following information):

OS: Windows 10 and Mac 10.13.6
Browser Chrome and Brave respectively

I'll need a sample of the webm file.

Here you go. https://file-examples-com.github.io/uploads/2020/03/file_example_WEBM_480_900KB.webm

@Richienb Any update on this?

Does not work for me either :(

The mp4 container doesn't support VP9 files for simple lossless transcoding. We'll need to re-encode the video. How should a new codec be picked?


Help GoUniverse

Please, whatever it took to fix ShinKGS, can you share it with Ilya.
https://github.com/IlyaKirillov/GoUniverse/issues/66

Seems the issue is resolved in GoUniverse, @leeschumacher can you close it?


Intellisense not working after installing python extension

Environment data

VS Code version: 1.57.0
Extension version (available under the Extensions sidebar): v2021.5.926500501
OS and version: Windows_NT x64 10.0.19042
Python version (& distribution if applicable, e.g. Anaconda): Anaconda
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Relevant/affected Python packages and their versions: XXX
Relevant/affected Python-related VS Code extensions and their versions: XXX
Value of the python.languageServer setting: XXX

[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]
Expected behaviour
XXX
Actual behaviour
XXX
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

XXX

Logs

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

XXX

@palladiun Please fill out the requested details in the bug. Without knowing python.languageServer and Output > Python logs,
unfortunately we don't have enough information to triage this issue appropriately. Please create a new bug by providing a filled-in copy of our issue template.


rc_reason_clients: 0.4.0-2 in 'noetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository rc_reason_clients to 0.4.0-2:

upstream repository: https://github.com/roboception/rc_reason_clients_ros.git
release repository: https://github.com/roboception-gbp/rc_reason_clients_ros-release.git
distro file: noetic/distribution.yaml
bloom version: 0.12.0
previous version for package: 0.4.0-1

rc_reason_clients
* support 3-sided LoadCarriers
* make pipeline configurable

rc_reason_msgs
* Grasp msg: add priority, gripper_id and collision_checked
* LoadCarrier msg: add height_open_side for 3-sided LC
* CadMatchDetectObject srv: add pose_prior_ids and data_acquisition_mode
* SilhouetteMatchDetectObject srv: add object_plane_detection

fixes build, 0.4.0-1 had wrong local rosdep resulting in wrong package keys during blooming


[BUG] '--back-to-normal' command fails to restore default wallpaper

When using the '--back-to-normal' command, the application successfully closes the task and removes it from startup apps, but fails to reset the wallpaper to the default one.
Steps to reproduce:

Run the application and let it change the wallpaper
Execute the command with the '--back-to-normal' flag
Observe that the task is removed and startup entry is cleared
Notice that the wallpaper remains unchanged, not reverting to the default

Expected behavior:
The '--back-to-normal' command should restore the original default wallpaper.
Actual behavior:
The wallpaper remains set to the last image used by Suppap.
Additional information:

Operating System: Windows 11
Python version: 3.12.x

Possible causes to investigate:

Default wallpaper path retrieval method
Wallpaper setting mechanism for reverting to default
Permissions for changing wallpaper
Windows allow only one wallpaper change in 60 secs (GPT'ed it).

Would love to help resolving this issue too 😊

There is no issue working fine for me
description & related Videos
https://github.com/user-attachments/assets/1bc63498-6abf-444f-afb8-bb227dfad54b

close this issue .😃

@Blacksujit, I think this is more of an OS issue than an application issue. I've noticed that if you're using a theme in Windows 11, it can't always restore the theme's wallpaper. In your case, since it was a manually set image, it could easily restore the original wallpaper.

Would love to help resolving this issue too 😊

If you can track down the bug based on the inputs above, that would be great!

Ok

would look through this issue

@Blacksujit, I think this is more of an OS issue than an application issue. I've noticed that if you're using a theme in Windows 11, it can't always restore the theme's wallpaper. In your case, since it was a manually set image, it could easily restore the original wallpaper.

So if i would like to work on this, how will I tackle the bug , since it is working fine on my windows

@Blacksujit, I think this is more of an OS issue than an application issue. I've noticed that if you're using a theme in Windows 11, it can't always restore the theme's wallpaper. In your case, since it was a manually set image, it could easily restore the original wallpaper.

So if i would like to work on this, how will I tackle the bug , since it is working fine on my windows

You’ve got to find a way around it, bud. Maybe try changing your default wallpaper to a Windows default theme wallpaper, and then try to replicate the issue.


✨(marsha) add app Marsha, the FUN LTI video provider

Purpose
We want to deploy our new projet marsha with Arnold.
Marsha is a FUN video LTI provider for Open Education.
Proposal
I basically copied the richie app in Arnold to adapt it to marsha.

:clap: :clap:


Release v2.0.0

Those are most likely changes done during rebase right?
https://github.com/Dasharo/meta-dts/compare/4018b3a4973f3c9d5102b1dccdd467736d3eba25..096e89db0cc24565926f158d93790de17d77f1ed
They need to be checked very carefully.

@m-iwanicki I deleted the files 01b684668a435fb2d645822060eb4404625822da
The other fixes I already did before


Add CSS

Under web-dev , I would like to add CSS also which is part of web-development along with HTML and Javascript. Please assign me this task under GSSOC'2024

I removed the web-dev directory and am now only using the docs directory for tutorials. If you want to work on it, please focus on the docs directory with CSS tutorials.


Link from external app only opens an empty gray screen

First of all, I've been a Glider user for many moons and I sincerely appreciate the ongoing effort that goes into making this app so good.
My issue arose not after the 2.0 release, but after the most recent update that I got on the 5th of November.
When I click on a link from Feedly (and other apps) that go to news.ycombinator.com all I get is a gray screen from Glider. See attached gif for what happens in Feedly.
Interestingly enough, when I am in Firefox and I click the "Open in app" menu option, it works fine, but all other apps I've tested give me the gray empty screen.
Some more details:
OS: Android 14
Phone: Pixel 5
Glider version: 2.2.0

Thanks, but already reported in #135. Fixed on the master branch, will be part of the next release!

My mistake! I looked for an existing issue before I opened this and didn't see anything, but I mistakenly only reviewed the open issues.
Thank you!


If a failure happens in a module, the client should display it as soon as possible

During a long reactor build, if a build happens in one module, the behavior is to wait for all modules that are being built in parallel to finish.  This leads to two problems:

the client does not display that the build has failed until the end (if you're running with tests, it can take quite some time before all running builds are finished)
the log of the module in error can be displayed before other modules and is a bit lost

Duplicates #361


Cannot Export On (K)ubuntu 15.10

Traceback (most recent call last):
  File "/home/joey/Projects/Web2Executable/command_line.py", line 680, in make_output_dirs
  File "/home/joey/Projects/Web2Executable/utils.py", line 78, in zip_files
  File "/usr/lib/python2.7/zipfile.py", line 1130, in write
    arcname = os.path.normpath(os.path.splitdrive(arcname)[1])
  File "/usr/lib/python2.7/zipfile.py", line 305, in __init__
    raise ValueError('ZIP does not support timestamps before 1980')
ValueError: ZIP does not support timestamps before 1980

I don't currently support Kubuntu, or Ubuntu > 14.04, so it could be an issue with the os.
Which version of Web2Exe are you using? (I assume the latest, but just to be sure)

Tried with latest download and from git just now.

Interesting. What version of nw.js did you select?

0.12.3

Can you try this version to see if it fixes the issue? I have a feeling this is related to #100

Let me know if this version helps!

That version was a Windows executable.

Ah! My bad :o I must have copied the wrong url when pasting from the other issue. Here's the right one

Works great!

Cool!


Go vet fixes

Running go vet on the project produces:
# github.com/mattn/goreman
./goreman.go:212:2: the cancel function is not used on all paths (possible context leak)
./goreman.go:219:5: this return statement may be reached without using the cancel var defined on line 212
./proc.go:181:2: unreachable code

This pull-request fixes that.

Thank you


Tileconfig used uninitialized

See https://github.com/libxsmm/libxsmm/blob/main_stable/src/generator_packed_spgemm_bcsc_bsparse_avx_avx2_avx512_amx.c#L655

This is fine, TILERELEASE has no arguments.

Make sense and then:
      libxsmm_x86_instruction_tile_control( io_generated_code, 0, io_generated_code->arch,
          LIBXSMM_X86_INSTR_TILERELEASE, LIBXSMM_X86_GP_REG_UNDEF, 0, &tile_config );

shall change to (definition libxsmm_tile_config tile_config; to be removed):
      libxsmm_x86_instruction_tile_control( io_generated_code, 0, io_generated_code->arch,
          LIBXSMM_X86_INSTR_TILERELEASE, LIBXSMM_X86_GP_REG_UNDEF, 0, NULL );

to avoid compiler warnings about using uninitialized data.


oddity with "Auto protect id and type from mass assignment"

Hi, as
attr_accessible :id, :_id, :_type

implicitly sets all other fields to attr_protected (right?), it's not possible to revert the change of commit 16c37486 with this single line. In my case this means to explicitly include all other fields after attr_accessible.
Is there any more elegant solution to this?
Thanks and best regards,
Frank

Maybe I can provide an attr_accessible :* / attr_protected :* or something similar?


Documentation validation always produces 404 in the Publisher v1 REST API

Describe your problem(s)
When you invoke Publisher v1 POST /apis/{apiId}/documents/validate it always issues 404.
Steps to reproduce

Try to validate a document name for a particular API using the below cURL request.curl -L -X POST 'https://localhost:9443/api/am/publisher/v1/apis/e1e8572e-db28-425c-9a57-af5094cad2bd/documents/validate?name=mydoc' -H 'Authorization: Bearer e2bd2064-c24b-3c86-92d5-690db6e5eb7b' -k -I

You will receive 404 error code.HTTP/1.1 404
Date: Thu, 02 Jul 2020 03:47:25 GMT
Content-Length: 0
Server: WSO2 Carbon Server

Check the same thing in the UI, when creating a document. Similar behaviour with 404 is visible.

This issue is not reproducible in the latest pack. We are getting 200 for existing documents.


[patch] Nodefaults

Until https://github.com/conda-incubator/setup-miniconda/pull/364 is available, leverage condarc directly to avoid defaults from https://github.com/conda-incubator/setup-miniconda/issues/207

Yeah, test on pyiron_workflow went flawlessly.


run error

Hello Professor, I am missing order data 1--5 when I run prepared--data with the original dataset, how do I get this part of the data, also, the dataset you provided are processed data but I can't run this data successfully in run.py (due to the lack of some pickle operations and parameters in the previous data prepared--data), can you please give me some guidance?

Hello, you can run the files as follows: (1) go to the google drive with the datasets (link in the readme file), and download the "datasets" folder. Move this downloaded folder to the data folder, so it should be data/datasets/...  (for example data/datasets/Brooklyn/...). (2) run the prepare_data.py file in the conda environment specified in the readme file. This will create generations files. You can specify the details of the generations file you want to create via the prepare_data.py file (for example, which city to utilize, etc.). (3) go to src folder and run the run.py file. Again you can specify the details of the simulation run (such as city, delay time, etc.). Let me know if you have any further questions.


Archives or Tags?

Hello, is it possible to showcase archives or tags in the main page? Something similar to: https://themes.gohugo.io/theme/hugo-tranquilpeak-theme/
If so, am I able to specify it so the link is at the top of the page with "Home"?

Hey @DesmondChoy! Thanks for reaching out.
Right now, what's shown when you click on "Home" the navigation menu at the top of the page is the site's baseURL. It would be cool if you could change this in the config.toml file to point to something like
baseURL = "https://example.com/tags/unicorns"

but this would break the way the site works. You could create your own version of the nav menu in a new file, layouts/partials/pagenav.html like so:

    {{ $currentPage := . }}

            Home

        {{ range .Site.Menus.main }}

                    {{ .Pre }}
                    {{ .Name }}

        {{ end }}

(Note the change on line 5 above, adding tags/unicorns after the site variable.)
This would override the current behaviour of the theme.
There's no implementation of "archives" in Indigo, however, so I think this would be limited to tags and categories.
Hope this helps! Don't hesitate to re-open this issue if you need any further clarification.


Use Deployment for HostPort mode

Originally DaemonSet was only way to run pods on master even if it was unschedulable. With the introduction of taints and tolerations Deployments can also run on master. So, we could change it to Deployment. We can also add these fields to Ingress Spec:

Tolerations:
Affinity;

These will be passed to the HAProxy pod as is. This will give users control over how the pods are spread out.

Thanks @greg-jaunt for bringing up the idea.

We will also need a migrator that deletes old DaemonSet and creates matching Deployment


Added support for print along with println

As mentioned in this issue: https://github.com/sophiajt/june/issues/46, i have added the support for print statements along with println statements. The FunID(0) now refers to "print" and FunID(1) now refers to "println" by default.

@Python-Freak - didn't want print after all?

Some bug I will resolve it and reopen the PR, if it's ok ?

That's fine. A better way would be to switch the PR to a draft and let us know you're still working, just so we know.


Dependancy between module

Hello team,
Sometimes I got some errors when i create:
1 aiven_project_vpc
1 aiven_vpc_peering_connection
1 aiven_service
I think it tries to create everything in the same time and the VPC interconnexion is not yet created and the apply failed.
I got this error:
{"errors":[{"message":"Project VPC xxxxx is in state APPROVED, not ACTIVE","status":409}],"message":"Project VPC xxx is in state APPROVED, not ACTIVE"}
I retry 30s after and it works ? Maybe you should add some dependancy between trying creating a service if the aiven_project_vpc/aiven_vpc_peering_connection is not yet finished.
Thanks,
Alex

Version 1.0.8 (https://github.com/aiven/terraform-provider-aiven/releases/tag/v1.0.8) should fix this problem by waiting up to 2 minutes for the state to change before trying to create a service.