Compression ratio not as high on iOS as compared to Android

Bug Report
Problem
On iOS devices, photos are not being compressed as much as on Android devices with the same plugin settings, resulting in much larger file-sizes. We need photos to be similarly compressed on both platforms with similar resulting file-sizes.
What is expected to happen?
Similar levels of compression and resulting image file-size irrespective of whether Android or iOS devices are used.
What does actually happen?
With the same settings, photos taken with this camera plugin end up at around 500kb on iOS but only 60kb on Android.
Version information
Ionic CLI                            : 5.4.1 (C:\Users\Ionic\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework               : @ionic/angular 4.10.2
@angular-devkit/build-angular : 0.13.9
@angular-devkit/schematics    : 7.3.9
@angular/cli                  : 7.3.9
@ionic/angular-toolkit        : 1.5.1
@ionic-native/camera         : 5.15.0
Cordova:
Cordova CLI       : 9.0.0<EMAIL_ADDRESS>Cordova Platforms : android 8.1.0, ios 5.0.1
Cordova Plugins  :  cordova-plugin-camera 4.1.0
Utility:
cordova-res : 0.6.0
native-run  : 0.2.8
System:
Android SDK Tools : 26.1.1 (C:\AndroidSdk)
NodeJS            : v10.16.3 (C:\Program Files\nodejs\node.exe)
npm               : 6.9.0
OS                : Windows 10

Different phones takes pictures at different resolutions, often controlled by the camera app itself. When you are comparing file sizes, I trust that you are also comparing against images of the same resolution?

Thanks for that - it appears iOS camera always takes photos at max resolution and this cant be changed. When I set android devices to the same resolution, compressed file-size is about the same. Sorry to waste your time and thanks for a fantastic framework!


{DO NOT MERGE} (PUP-9747) Reenable resource api tests, test against hotfix branch

This PR is for testing the changes in https://github.com/puppetlabs/puppet-resource_api/pull/182 and should not be merged

closing and re-opening as travis hasn't picked up this PR

CLA signed by all contributors.

closing base on the meeting yesterday


Support for ZSH (ohmyzsh)

I'm running oh-my-zsh as my default shell, and the lotus commands do not work without prepending noglob, otherwise giving the following error:
zsh: no matches found - controller#action
I fixed this by adding the alias:
alias lotus="noglob lotus"

I'm not too sure of the internals, but this might be stressful to people trying to get the generators working while using zsh. Figured I'd at least document it here.
Thanks!

Running zsh too, the problem is:
bookshelf ➤ lotus generate action web books#read                                                                                git:master*
zsh: no matches found: books#read
bookshelf ➤ lotus generate action web books\#read                                                                                git:master*
      insert  apps/web/config/routes.rb
      create  spec/web/controllers/books/read_spec.rb
      create  apps/web/controllers/books/read.rb
      create  apps/web/views/books/read.rb
      create  apps/web/templates/books/read.html.erb
      create  spec/web/views/books/read_spec.rb

Same goes for rake tasks which has arguments in [] you have to escape them -> \[\]
This is not a bug in lotus itself.

Thanks for the insight :)
Given that its my own choice to use zsh, I'll go ahead and close the issue.
Hopefully this will serve as a useful search on google for the people who were as confused as I am.

@Eein I'm using ZSH here and never experienced this problem. Sorry to hear this.

@Eein @jodosha I had same error only with bundle exec
bundle exec lotus generate action web home#index --url=/
zsh: no matches found: home#index

But that works lotus generate action web home#index --url=/
Maybe some bugs with bundler 1.10

@Eein @tak1n @mli-max This must be fixed. :+1:
Out of curiosity which oh-my-zsh plugins/settings are you using? Would you mind to share. I use it too, and prefix my commands with bundle exec, but never ran into this problem. Just want to have a complete understanding of the issue. :smile:

I think i use only a couple plugins -
plugins=(git,ruby,rails,golang,colorize)

export PATH="$HOME/.composer/vendor/bin:/Applications/MAMP/bin/php/php5.6.2/    bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:~/.composer/vendor/bin:/usr    /local/go/bin"

alias clr="clear"

alias lotus="noglob lotus" # my current fix for the weird issue
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting

That pretty much sums up my .zshrc - everything else is default, including the theme

@Eein Thank you. :smile: Mine is even more complex. :racehorse:
Here's my version
zsh --version
zsh 5.0.5 (x86_64-apple-darwin14.0)

@mli-max I just tried with Bundler 1.10.5:
% be lotus generate action web dashboard#index
# ...

% which be
be: aliased to bundle exec

@jodosha here my configuration - https://github.com/tak1n/dotfiles/blob/master/.zshrc


Fixed #21523 - support for mock dates in DateField.to_python()

In cases where the value passed in to the DateField.to_python() method
is a real date, and datetime.date is being mocked out, the method would
raise an error attempting to call parse_date on the mock object (as the
parsing requires a string input). I’ve added in a duck-type check for
objects before the parse_date call - if the object has a ‘isoformat()’
method, then call this, and pass it into the parse_date function - which
should return an identical object.

Any word on if this will get merged? I just ran into this exact same issue.

If someone (like yourself!) reviews the patch using the patch review checklist and marks the ticket "ready for checkin" that will move the issue forward.

@timgraham  I have assign the ticket to myself. seems some release notes and doc is needed

@auvipy, not sure this really needs documentation but if you draft something I'll certainly take a look.

Missing tests for the DateTimeField and TimeField changes.

Closing due to inactivity. Please send a new PR if someone can update this per my comments.

Updated in #6468


Fix onnxfs2_test regression for onnx 1.13

Root cause is new "Reduce ops" spec promotes axes from attributes to inputs, resulting in onnx test cases having more inputs than expected by these onnx-script tests. This PR updates these onnx-script test functions to match the signature of the updated onnx test cases.
However, since onnx test cases are not versioned, I feel tests like this that seemingly want to represent older opset onnx operator with function should not depend on it.
Fixes #249
Fixes #298

Thanks a lot for fixing the ci! cc @gramalingam  for comments around test usage in the PR description

Thanks, seems worth looking into a bit more. At the least, the definition of the Reduce functions does target opset18 (where the attribute was promoted to input), so onnxfns2.py should be importing opset18 instead of opset15. But I believe it should support the case where the axes is not specified or axes=None.
Adding @liqunfu .


MountainCar fix tot_bin missing in some methods.

The variable amount of bins was missing in some methods for the MountainCar example.

Thank you for the contribution. Everything has been merged!


migrate to vanniktech/gradle-maven-publish-plugin

resolve #53
I've locally tested without signing, and it seems to be working.
Is there any way to test publishing?

Is there any way to test publishing?

If you upload it using the suffix -SNAPSHOT, you can test if the publishing process is working and delete it later using the snapshot task.
Or do you mean how to test it using the Bitrise?
https://central.sonatype.org/publish/publish-guide/#introduction
Once released/published, you will not be able to remove/update/modify that artifact

We provide the option to publish artifacts using the -SNAPSHOT suffix in case that you need to do any test on your publishing process, but once it is released there is no possibility to change it. Please check the [Can I change (modify, delete, update) a component on Central?](https://central.sonatype.org/faq/can-i-change-a-component/) FAQ for more details.

Delete SNAPSHOT Task
https://help.sonatype.com/repomanager3/nexus-repository-administration/tasks/maven-snapshot-tasks#MavenSNAPSHOTTasks-DeleteSNAPSHOTTask

thanks!


Bug: ListView Drag & Drop

Describe the bug
When dragging from the right ListView to the left ListView, a weird animation occurs that makes it look like a phantom ListView object is flying up to the top of the list.
Steps to reproduce the bug

Steps to reproduce the behavior:

Go to ListView page and scroll to "ListViews with Drag, Drop, and Reordering Support" sample
Drag an item from the right ListView into the left ListView.
Observe the weird animation

Expected behavior

This animation should not occur. Dragging from the right to the left ListView should behave how it does when you're dragging an item from the left to the right ListView.
Actual behavior

See the following gif that shows dragging right to left, then dragging left to right:

Version Info

Gallery version (found on Settings page):
<IP_ADDRESS>
Windows 10 version:
Windows 10 Enterprise (version 1909)
Device form factor:

[x] Desktop
[ ] Mobile
[ ] Xbox
[ ] Surface Hub
[ ] IoT

Additional context

This does not repro in the WinUI 2 and WinUI 3 gallery, closing this as fixed.


Access Error: 404 -- Not Found - Trying to change port with an error about ispLEVER

Hi,
When I run tabula.exe, I have the following message on the web page :
Access Error: 404 -- Not Found
Cannot locate document: /
According to the description, I'm trying to change the port by applying the following line
java -Dfile.encoding=utf-8 -Xms256M -Xmx1024M -Dwarbler.port=9999 -jar tabula.jar
But I have the following error message
Error: could not open `C:\ispLEVER_Classic2_0\ispcpld\lib\jvm.cfg'
It seems very strange

What happens if you visit localhost:9999 in your browser? Is that where you get the 404 error?
Also, what Windows version are you using?

locahost:9999 -> "The connection failed" (no 404 error)
I'm using Windows 10

@MantaRayDeeJay I had the same issue and am running Windows10. Try this (stated on the home page):
A browser tab opens, but something other than Tabula loads there. Or Tabula doesn't start. It's possible another program is using port 8080, whichh Tabula binds to by default. You can try closing the other program, or change the port Tabula uses by running Tabula from the terminal with the warbler.port property:
java -Dfile.encoding=utf-8 -Xms256M -Xmx1024M -Dwarbler.port=9999 -jar tabula.jar


Soft Wrap doesn't respect word boundaries

Prerequisites

[x] Can you reproduce the problem in safe mode?
[x] Are you running the latest version of Atom?
[x] Did you check the debugging guide?
[x] Did you check the FAQs on Discuss?
[x] Are you reporting to the correct repository?
[x] Did you perform a cursory search to see if your bug or enhancement is already reported?

For more information on how to write a good bug report or enhancement request, see the CONTRIBUTING guide.
Description
I'm using Atom to write HTML emails (yay). These include long URLs, so I have Soft Wrap turned on.

Note how the line gets broken in the middle of the word "Final". There are lots of better places for a line break.
When I go into my Settings, there's an input box for "Non Word Characters"; these characters define word boundaries. It seems to me that it would make sense for Soft Wrap to break lines at word boundaries instead of only at spaces.
Steps to Reproduce

Enable Soft Wrap (in the View menu)
Write a line of text that exceeds the width of the buffer, thus triggering soft wrap. The line should include some of the Non Word Characters: /\()"':,.;<>~!@#$%^&*|+=[]{}?-

Expected behavior: Line wraps at a word boundary.
Actual behavior: Lines wrap only at spaces.
Versions
1.6.0

This also occurs in normal-length URLs when the window has been split into two panes.

I don't think  <a deserves its own line here.


Raise error if ML_ENV refers to WML service that does not support DL

Some WML service locations do not support Deep Learning. The setup script and the training scripts should handle this gracefully.
Current WML service locations:

us-south (Dallas)
eu-gb (London)
eu-de (Frankfurt)
jp_tok (Tokyo)

The following locations do not support DL:

eu-de (Frankfurt)
jp_tok (Tokyo)

Delivered for the training script in #14

Delivered for setup in #18


Bump python version to 3.9 -or- fix AttributeError: module 'importlib.resources' has no attribute 'files'

I am trying to use typst-py in Python 3.8 because I'm having to run on an older computer temporarily.  When I try using typst.compile(...) I get AttributeError: module 'importlib.resources' has no attribute 'files', which nearest I can track down is because the files attribute appears to have come about in Python 3.9. Importlib docs

Thank you very much for helping.

Fix doesn't work.
In reality importlib.resources are defined in python 3.8, therefore importlib_resources are not imported.


hot-reloading doesn't remove old versions of content scripts

If I change e.g. the number in this content script (yes, it's only one line), then the browser does reload, but now I get two log lines, one for the old and one for the new version
Also a full reload of the page doesn't fix this
content script
console.log("hello from TWITCH 3 content_scripts");

version
"extension": "^2.0.0-beta.1"
Manifest snippet
  "content_scripts": [
    {
      "matches": [
        "https://twitch.tv/*",
        "https://*.twitch.tv/*"
      ],
      "js": [
        "content/twitch-script.ts"
      ]
    },
    {
      "matches": [
      "https://youtube.com/*",
      "https://*.youtube.com/*"
      ],
      "js": [
        "content/youtube-script.ts"
      ]
    }
  ]

yes, I was using the content-typescript template, but just to be sure, that's the file
{
  "compilerOptions": {
    "allowJs": true,
    "allowSyntheticDefaultImports": true,
    "esModuleInterop": true,
    "forceConsistentCasingInFileNames": true,
    "isolatedModules": true,
    "jsx": "react-jsx",
    "lib": ["dom", "dom.iterable", "esnext"],
    "moduleResolution": "node",
    "module": "esnext",
    "noEmit": true,
    "resolveJsonModule": true,
    "strict": true,
    "target": "esnext",
    "verbatimModuleSyntax": true,
    "useDefineForClassFields": true,
    "skipLibCheck": true
  },
  "include": ["./"],
  "exclude": ["node_modules", "dist"]
}

and the TS version
		"typescript": "^5.4.2",

thanks, on it


getBalanceAllowance returns 0

No matter what I try i am unable to update my balance.
I even set the approval directly on the contracts to allow all 3 exchange contracts, the wallet has both USDC and MATIC.
`
const host = "https://clob.polymarket.com";
const clobClient = new ClobClient(host, chainId, wallet, credentials);
// USDC
await clobClient.updateBalanceAllowance({ asset_type: AssetType.COLLATERAL });

// YES
await clobClient.updateBalanceAllowance({
    asset_type: AssetType.CONDITIONAL,
    token_id: "71321045679252212594626385532706912750332728571942532289631379312455583992563",
});

// NO
await clobClient.updateBalanceAllowance({
    asset_type: AssetType.CONDITIONAL,
    token_id: "52114319501245915516055106046884209969926127482827954674443846427813813222426",
});

const balanceAllowance = await clobClient.getBalanceAllowance({
    asset_type: AssetType.COLLATERAL,
});
console.log("🚀 ~ balanceAllowance:", balanceAllowance)`

I checked on the python repository and this issue seems common but still no fix has been provided. Desperately looking for a fix.

Hello @Hiich
You're experiencing transcript error. It sounds like your query would be best dealt with by the support team.
I'll have to refer you to the official support live chat with the ticket ID POL07638
Please see the link below to our dedicated support line:
Polymarket Network DApps Support Ticket Requests.
Click on the live chat icon at the bottom corner of the page to initiate chat with a live support agent.

Hello @Hiich
This will be review by the support team. Visit the live support page to initiate a chat with an agent for further assistance via live agent.
Regards


B-18477

B-18477
Summary
The Estimated and Actual fields are displaying on the Payment Requests, but the Actual is not populating.
"Actual Weight" is not populated for ppm shipments in the ppm workflow, but rather the weight used for payment and costing is the weight of the truck used full minus the empty weight
Verification Steps for the Author
These are to be checked by the author.

[ ] Have the Agility acceptance criteria been met for this change?

Verification Steps for Reviewers
These are to be checked by a reviewer.

[ ] Has the branch been pulled in and checked out?
[ ] Have the BL acceptance criteria been met for this change?
[ ] Was the CircleCI build successful?
[ ] Has the code been reviewed from a standards and best practices point of view?

Setup to Run the Code

Instructions for starting storybook
Instructions for starting the MilMove application
Instructions for running tests

How to test

Access the Office app
Login as a TIO
Find PPM in close out status with a payment request
verify the actual weight matches the weight that is the full weight of the truck minus the empty weight
if there are multiple weight tickets, it will be the sum of the weights

Frontend

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, Edge).
[ ] There are no new console errors in the browser devtools.
[ ] There are no new console errors in the test output.
[ ] If this PR adds a new component to Storybook, it ensures the component is fully responsive, OR if it is intentionally not, a wrapping div using the officeApp class or custom min-width styling is used to hide any states the would not be visible to the user.
[ ] This change meets the standards for Section 508 compliance.

Screenshots

Warnings

:warning:
This PR does not include changes to unit tests, even though it affects app code.

  Generated by :no_entry_sign: dangerJS against ddfc759f925c736d7f7efedbbaa2936fe9ac26f9


prevents parent.config failure when no delivery services assinged

Checks that there are delivery services assigned before trying to process them.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/1072/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/1092/
Test PASSed.


What does the "f" in wf-recorder stand for? :D

... maybe wlroots + ffmpeg recorder ... ?
Maybe that's worth mentioning in the README ?

It comes from the bigger project that I am developing, Wayfire: https://github.com/WayfireWM/wayfire
So this is "Wayfire recorder". But since it uses protocols common across the wlroots compositors, it works on most of them.


Make BoringSSL ASM Optimization able to be turned off

This PR fixes an oversight that we can't turn off the ASM optimization. Given previous logic, even if you set GRPC_BUILD_WITH_BORING_SSL_ASM='', the BUILD_WITH_BORING_SSL_ASM variable will still be true.

Sorry, I was wrong. If we explicitly set GRPC_BUILD_WITH_BORING_SSL_ASM='', the ASM will be turned off. My experiment was not idea because I was using BUILD_WITH_BORING_SSL_ASM='' python  -m pip install . --ignore-installed. The ad-hoc environment variable wasn't passed down to its subprocess.
It appears that with GRPC_BUILD_WITH_BORING_SSL_ASM='' they fixed the problem https://github.com/conda-forge/grpcio-feedstock/pull/29. 🤦


Print a message when no hosts match in interactive mode

Resolves https://github.com/bloomberg/powerfulseal/issues/23

@skamboj sorry you had to wait almost three years for that :)


The "reflect" method raises TypeError exception.

Flask-sqlalchemy version: 0.15
SQLAlchemy version: 0.7.3
Problem:
    db = SQLAlchemy()
    db.init_app(myapp)
    db.reflect(app=myapp)

File "/home/user/Envs/myenv/lib/python2.7/site-packages/flaskext/sqlalchemy.py", line 811, in reflect
    self._execute_for_all_tables(app, bind, 'reflect')
  File "/home/user/Envs/myenv/lib/python2.7/site-packages/flaskext/sqlalchemy.py", line 787, in _execute_for_all_tables
    op(bind=self.get_engine(app, bind), tables=tables)
    TypeError: reflect() got an unexpected keyword argument 'tables'

It seems like the _execute_for_all_tables method is not suitable for the reflect method.

Unfortunately, the fix doesn't work for me; I tried installing your fork, and got this error:
  File "/Users/danchr/src/envs/redmine/lib/python2.7/site-packages/flaskext/sqlalchemy.py", line 467, in __init__
    DeclarativeMeta.__init__(self, name, bases, d)
  File "/Users/danchr/src/envs/redmine/lib/python2.7/site-packages/sqlalchemy/ext/declarative.py", line 1259, in __init__
    _as_declarative(cls, classname, cls.__dict__)
  File "/Users/danchr/src/envs/redmine/lib/python2.7/site-packages/sqlalchemy/ext/declarative.py", line 1184, in _as_declarative
    "table-mapped class." % cls
sqlalchemy.exc.InvalidRequestError: Class <class 'models.Projects'> does not have a __table__ or __tablename__ specified and does not inherit from an existing table-mapped class.

I suspect 36fba1b8d5 broke this; downgrading to 0.11 worked.

You need to have a __tablename__ in your model class, otherwise sqla does not know which class to map to which table metadata:
    class Baz(db.Model):
        __tablename__ = 'baz'

I have just pushed a changeset with reflection test case and a small fix to my fork: https://github.com/fdemmer/flask-sqlalchemy/commit/847832ee33304b3573a257d036f35dfbb7d4aa87

So, I either have to define a primary key (which sort of defeats the point of using reflection) or a table name? The curious thing is that it worked in 0.11… Anyway, it appears unrelated to this bug; thanks for explaining!

Multi-database support ("binds") was added in 0.12 and the rules for table name guessing have changed since then.
See https://github.com/mitsuhiko/flask-sqlalchemy/blob/36fba1b8d537cbb628d52867ba9575ea46cc4792/flaskext/sqlalchemy.py#L425 ... this function was called for all db.Model without exceptions as far as i understand the old code. So I'd say, thats's why it works with 0.11. I personally think, it is a good thing, that you have to set a __tablename__ now when using reflection, especially with multiple databases. That way it is clear from reading the code which class is mapped to what exactly.


Fix task inference for sam

What does this PR do?
As per title.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


[SPARKC-571] Control resolving of the contact points

Rebase this onto b3.0 too please

rebased onto b3.0 as well

Changed target to b3.0

Notice this Travis Please

I'm going to close and reopen this to trigger Travis

Hurray it worked


minor memory leak : Qlist do not delete it's pointer member, so as do…

As done it other part of medinria source code, in order to delete a QList which pointers  it is better to call qDeleteAll. (prevent memory leak by calling delete on each pointer)

@nbaraka is it solving a bug that you found? Or is it enhancement?

(if it is a debug, it could be interesting to add it also on the medInria3.1.x branch ^^)

There shouldn't be a memory leak since the navigators are parented to the 'medAbstractLayeredView' instance, and so will be deleted with it.

There shouldn't be a memory leak since the navigators are parented to the medAbstractLayeredView instance, and so will be deleted with it.
OK I agree but it rely a lot on this QObject feature.
Futhermore they are a lot of raw pointers that are "exchanged"
between classes and it is difficult to know when you are the owner of
some memory.
Using a class from the lib, you have to use it as it used in other
part of the framework if you do not to fight with a dangling pointer.
(ex : use carefully the default nullptr for parent)

I notice that medDataSourceManager also do not clean its memory
(but since it is a singleton, it will be instantiated only one time and
it will be deleted when the app quit :)

So at least it should not have default parent parameter in constructor and it could be also more restrictive by not allowing a parent to be a nullptr. What do you think ?

Since there is no memory leak: close this PR. If needed, the discussion could continue in an issue


Remove Slack from the list of channels that support Suggested Actions

Fixes #2453
Description
See https://github.com/microsoft/botbuilder-dotnet/issues/2291 for more information
Specific Changes

Remove Slack from helper function supportsSuggestedActions()

Pull Request Test Coverage Report for Build 145419

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.003%) to 80.853%

Totals

Change from base Build 145391:
0.003%

Covered Lines:
12957

Relevant Lines:
15308

💛  - Coveralls


Production cluster issue: New App Instance destabilises all other App instances

We are running into a severe issue with Service Fabric 7.0.470.9590 and latest SDK version -1.
We have a 5-node production cluster in Azure that is already running multiple instances of the same application type. When creating another instance (sometimes the 3rd sometimes the 4th instance), the whole cluster goes nuts.

Existing instances that were stable and had no errors or warnings suddenly start failing.
The new instance exhibits the same instability.
Service code package instance processes are terminating and being restarted continuously.
Individual nodes are running on Azure Standard_DS12_v2 and averaging 5%-15% CPU usage, and only consuming about 15GB of a total of 28GB.
Application Instance logs report only "System.OutOfMemoryException" errors.

Seems like a capacity issue right? Problem is, each of the 5 nodes are well and truly idling or under minimal load. Additionally, the memory is only using 50%, so there's plenty left.
Things we have tried:

Change services to stop using the "Server" GC and start using "Workstation" GC for memory.
This did improve things some, in that we were able to add a few more application application instances, but the issue returned all the same with plenty of memory available.
Reducing our service instance count did help to allow us to add more application instances, but this means we are running below the scale and resilience budgets we are aiming for.
Rebuilding the cluster and running a complete new instance - resulted in the same behaviour.

If I saw this above happening with the individual nodes showing high memory utilisation, then it would make sense in that we need more memory for the application density we are aiming for.
But when the memory utilisation is between 50%-60%, it becomes hard to know where or when we are at resource capacity. We have mostly 95% stateless service instances (.NET Console .exe) and very few stateful services. The cluster is not under load yet when this happens.
Cannot see anything in SFE that explains whats going one.
How do we investigate this further or even begin to solve this issue?

@Jaans  Can you clarify reason for creating multiple instances of application types?

@athinanthny Well, I understood that's the point of having application types - so that you can create instances (plural) of it. In our case, we instantiate the same application type with different parameters and config.
So think along the lines of same code base, different customers, or different environments, or different behaviour sets for each instance.
We have an open ticket via Azure Support for Service Fabric and they are helping us look into it. At present, we have a configuration that works and that hasn't yet / doesn't run out of memory when we do the following:

Configure VM's with a larger and explicit Page File (not System Managed) to increase the Commit Charge limit.
Switch from the "Server" GC back to the "Workstation" GC
Tweak the Windows Desktop Heap configuration for non-interactive processes: HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems
SharedSection=1024,20480,768 is changed to SharedSection=1024,20480,2048 (Careful with this setting though, understand the values)
Cluster configuration manifest. Set "PreventTransientOvercommit" back to false, despite documentation pages recommending it be set to true for performance. This one is odd, because it's a dynamic setting and it shouldn't come into play. SF Engineering team agrees. However, it had made a difference for us though.

Investigations are still ongoing.
Maybe the above helps someone?


Schedules not being added

First of all, great work.  It will be useful to plug a big hole missing from the USG.
I got it all up and running yesterday after a little trial and error as I am not an expert on Linux.  I'm running it on the same Raspberry Pi 3 as my UniFi server.  I was able to log into the portal on port 4000, it retrieved the MAC/Hostnames from UniFi.  I set up the schedules using the GUI, which I can see have been saved in the config.json file.
The issue for me is that it did not appear to put any rules in the UniFi server when the device should be blocked.  I was expecting to see a rule in the firewall for WAN out, I checked all the zones just in case, but nothing in there and the kids still had their WiFi.
Any pointers you can give for me to investigate further?
Thanks,
Phelz

It doesn't make any changes to the UniFi server.
The scheduling is done by the NodeJS application as a separate function. The clients are simply blocked/unblocked by the NodeJS application using the UniFi API to tell the UniFi server to block/unblock a specific client.
Its not the best method and does require the NodeJS application to be running all the time otherwise the schedules won't trigger.


update dashboard.html file

Create a html page where we can have a dashboard like design with 4 grids.
1st grid: should have total cases information.
2nd grid: should have total deaths  information.
3rd grid: should have total vaccines available.
4th grid: should have total vaccines distributed.
just put random numbers in the code.

hello @JohnJenison  should i do this?

Hii!! I can do this as well, as I did for the README file.

Hello @JohnJenison maybe I can give it try. I will try my best. And would try to finish it as fast as possible.
Looking forward to work on this.


Fix devicons performance issues temporary

Refs #128

Sorry for the delay in replying.
I think that's good, can you write down the doc and the README for me?

Yes I can do that!

That merge would be nice... I'm working on a project that has more than 4k files and I had to disable the devicons

@yuki-ycino i have added the documentation

Merged. Thanks

Sorry, there was a bug and I'm going to Revert it.
In the s:discard_prefix_size function, even if the dev-icons are not needed, it was accidentally It will shorten the file name.
https://github.com/yuki-ycino/fzf-preview.vim/blob/d1d902c267a3f52994941240124467ecf2021029/autoload/fzf_preview/handler.vim#L77-L80
To get around this, you need to set and save a variable when created the resource.
In the current implementation of Vim script, this is a pain.
Instead, I've implemented a TypeScript plugin to do the same thing.
This will be merged into master in the near future.
dd9954d (#133)


[backport] Fix compilation error due to invalid complex-to-real casting in _SimpleReductionKernel

Backport of #4909

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit 4529cc6fbf662c02a5e259bc92ef918405de163c, target branch v8) failed with status FAILURE.


IOError: [Errno socket error] [Errno 60] Operation timed out

I used tensorflow with Mac. But when running the code convolutional.py, there is some unexpected error.
(cinos)➜  ~  python anaconda/envs/cinos/lib/python2.7/site-packages/tensorflow/models/image/mnist/convolutional.py
Traceback (most recent call last):
File "anaconda/envs/cinos/lib/python2.7/site-packages/tensorflow/models/image/mnist/convolutional.py", line 270, in
tf.app.run()
File "/Users/kk/anaconda/envs/cinos/lib/python2.7/site-packages/tensorflow/python/platform/default/_app.py", line 11, in run
sys.exit(main(sys.argv))
File "anaconda/envs/cinos/lib/python2.7/site-packages/tensorflow/models/image/mnist/convolutional.py", line 103, in main
test_data_filename = maybe_download('t10k-images-idx3-ubyte.gz')
File "anaconda/envs/cinos/lib/python2.7/site-packages/tensorflow/models/image/mnist/convolutional.py", line 39, in maybe_download
filepath, _ = urllib.urlretrieve(SOURCE_URL + filename, filepath)
File "/Users/kk/anaconda/envs/cinos/lib/python2.7/urllib.py", line 98, in urlretrieve
return opener.retrieve(url, filename, reporthook, data)
File "/Users/kk/anaconda/envs/cinos/lib/python2.7/urllib.py", line 245, in retrieve
fp = self.open(url, data)
File "/Users/kk/anaconda/envs/cinos/lib/python2.7/urllib.py", line 213, in open
return getattr(self, name)(url)
File "/Users/kk/anaconda/envs/cinos/lib/python2.7/urllib.py", line 351, in open_http
errcode, errmsg, headers = h.getreply()
File "/Users/kk/anaconda/envs/cinos/lib/python2.7/httplib.py", line 1207, in getreply
response = self._conn.getresponse()
File "/Users/kk/anaconda/envs/cinos/lib/python2.7/httplib.py", line 1132, in getresponse
response.begin()
File "/Users/kk/anaconda/envs/cinos/lib/python2.7/httplib.py", line 453, in begin
version, status, reason = self._read_status()
File "/Users/kk/anaconda/envs/cinos/lib/python2.7/httplib.py", line 409, in _read_status
line = self.fp.readline(_MAXLINE + 1)
File "/Users/kk/anaconda/envs/cinos/lib/python2.7/socket.py", line 480, in readline
data = self._sock.recv(self._rbufsize)
IOError: [Errno socket error] [Errno 60] Operation timed out

Most likely a transient issue, related to https://github.com/tensorflow/tensorflow/issues/209


use variable name to generate model

Description
Fix https://github.com/Azure/autorest.csharp/issues/3016

use the variable name when create the model in method body.

Checklist
To ensure a quick review and merge, please ensure:

[ ] The PR has a understandable title and description explaining the why and what.
[ ] The PR is opened in draft if not ready for review yet.

If opened in draft, please allocate sufficient time (24 hours) after moving out of draft for review

[ ] The branch is recent enough to not have merge conflicts upon creation.

Ready to Land?

[ ] Build is completely green

Submissions with test failures require tracking issue and approval of a CODEOWNER

[ ] At least one +1 review by a CODEOWNER
[ ] All -1 reviews are confirmed resolved by the reviewer

Override/Marking reviews stale must be discussed with CODEOWNERS first

yes. almost the same root cause. We need apply naming conversion for model field name, and the constructor parameter, and make sure it consistent with the name declared and used.


Never finish the app

Override super's finish method.

Resolves #63

Thanks! Do you have some idea why is finish() overriding needed? It does not look much clear...

Some devices' back button will trigger finish method, instead of onKeyDown, onKeyUp or onBackPressed, which caused user able to get rid of restriction.

To be a kiosk app, the finish method makes no sense. If it exit kiosk mode, the user is easy to kill it. If developer want to quit app, he has many ways, so finish method can be override safely.

Thanks for clarification!


fix(travis): Only trigger branch builds for master

Signed-off-by: Ingo Bürk<EMAIL_ADDRESS>I have verified that…

[x] the commits in this pull request follow the conventionalcommits pattern
[x] tests have been updated or added
[x] documentation has been updated to reflect the changes made

Codecov Report

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

@@           Coverage Diff           @@
##           master      #82   +/-   ##
=======================================
  Coverage   83.16%   83.16%
=======================================
  Files          23       23
  Lines         612      612
  Branches       90       90
=======================================
  Hits          509      509
  Misses         52       52
  Partials       51       51

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 5ff3d94...a579a4a. Read the comment docs.


[ISSUE #8784] PrintMessageSubCommand support lmq

Which Issue(s) This PR Fixes

Fixes #8784
Brief Description

PrintMessageSubCommand support lmq
How Did You Test This Change?

Codecov Report
Attention: Patch coverage is 0% with 16 lines in your changes missing coverage. Please review.

Project coverage is 47.37%. Comparing base (c5ac8a4) to head (74f8ab9).

Files with missing lines
Patch %
Lines

.../tools/command/message/PrintMessageSubCommand.java
0.00%
16 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #8785   +/-   ##
==========================================
  Coverage      47.36%   47.37%
+ Complexity     11556    11552    -4
==========================================
  Files           1282     1282
  Lines          89864    89879   +15
  Branches       11563    11566    +3
==========================================
+ Hits           42566    42576   +10
+ Misses         42047    42043    -4
- Partials        5251     5260    +9

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[shared_preferences] Shared preferences no longer works on the latest android studio 2024.2

Steps to reproduce
update to android studio 2024.2 and run the project on an android device or emulator
Expected results
the app should run with no errors
Actual results
i cant reproduce the issue since i downgraded but i found the same error from the internet
Execution failed for task ':shared_preferences_android:compileDebugJavaWithJavac'.
> Could not resolve all files for configuration ':shared_preferences_android:androidJdkImage'.
   > Failed to transform core-for-system-modules.jar to match attributes {artifactType=_internal_android_jdk_image, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
      > Execution failed for JdkImageTransform: /Users/sicunetappdeveloper/Library/Android/sdk/platforms/android-34/core-for-system-modules.jar.
         > Error while executing process /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/jlink with arguments {--module-path /Users/sicunetappdeveloper/.gradle/caches/transforms-3/d9e926982c2c139ff9125eb7b6be4144/transformed/output/temp/jmod --add-modules java.base --output /Users/sicunetappdeveloper/.gradle/caches/transforms-3/d9e926982c2c139ff9125eb7b6be4144/transformed/output/jdkImage --disable-plugin system-modules}

Logs
Logs
Execution failed for task ':shared_preferences_android:compileDebugJavaWithJavac'.
> Could not resolve all files for configuration ':shared_preferences_android:androidJdkImage'.
   > Failed to transform core-for-system-modules.jar to match attributes {artifactType=_internal_android_jdk_image, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
      > Execution failed for JdkImageTransform: /Users/sicunetappdeveloper/Library/Android/sdk/platforms/android-34/core-for-system-modules.jar.
         > Error while executing process /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/jlink with arguments {--module-path /Users/sicunetappdeveloper/.gradle/caches/transforms-3/d9e926982c2c139ff9125eb7b6be4144/transformed/output/temp/jmod --add-modules java.base --output /Users/sicunetappdeveloper/.gradle/caches/transforms-3/d9e926982c2c139ff9125eb7b6be4144/transformed/output/jdkImage --disable-plugin system-modules}

Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.24.3, on Microsoft Windows [Version 10.0.22631.4317], locale en-US)
    • Flutter version 3.24.3 on channel stable at C:\Users\mohmm\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2663184aa7 (4 weeks ago), 2024-09-11 16:27:48 -0500
    • Engine revision 36335019a8
    • Dart version 3.5.3
    • DevTools version 2.37.3

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\mohmm\AppData\Local\Android\sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: C:\Users\mohmm\AppData\Local\Programs\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314)
    • All Android licenses accepted.

[√] Android Studio (version 2024.2)
    • Android Studio at C:\Users\mohmm\AppData\Local\Programs\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314)

[√] IntelliJ IDEA Ultimate Edition (version 2024.2)
    • IntelliJ at C:\Users\mohmm\AppData\Local\Programs\IntelliJ IDEA Ultimate
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart

[√] VS Code (version 1.93.1)
    • VS Code at C:\Users\mohmm\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension can be installed from:
       https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[√] Connected device (1 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64 • Android 15 (API 35) (emulator)

[√] Network resources
    • All expected network resources are available.

• No issues found!

This is a duplicate of https://github.com/flutter/flutter/issues/156304
Kindly check the links in https://github.com/flutter/flutter/issues/156304#issuecomment-2398957379 to see if any of them help you resolve this. If not, leave a comment in the issue linked above
Closing from here.
Thank you


"waiting for first sync"

The message "waiting for first sync" stays displayed for longer than seems necessary?

I can't seem to reproduce this bug, but I think it might have something to do with the fact that the clearSyncMessage() method in ContributionsListFragment.java is never called:
    private void clearSyncMessage() {
        waitingMessage.setVisibility(View.GONE);
    }
}

Assuming that the IF statement to display that message is correct:
            waitingMessage.setVisibility(View.VISIBLE);
        }

Then I would probably need to call clearSyncMessage() at an appropriate time to fix this bug? But how do we know when the sync has occurred?

Not sure if this is a bug, or me as a new user (at that time) misunderstanding what was happening. If the latter, I feel that the UI could be improved.

Hrm, I still haven't been able to reproduce this bug. How do you think we could improve the UI to avoid this?

Could use a loading bar to show progress to user on syncing progress

Tested this a bit more and this bug just occurs the first time a user logs in. After the contributions are synced, the message still remains since clearSyncMessage() is never called. But the next time the logged-in user starts up the app, the if (lastModified.equals("")) line evaluates to false, so the message isn't displayed.
I think the message might be okay if we can get it to disappear once contributionsList is filled with images. Loading bar feels a bit excessive to me since the sync is usually quite quick? (Well, I'm on NZ internet which really sucks, so I figure if it's quick for me then most people wouldn't have trouble either :)).

I didn't know it was so short, I thought it took a while as it had to download all the thumbnails, but I think that was probably because the message stayed up so long.
Just been testing trying to call clearSyncMessage() from the end of ContributionsSyncAdapter (after the line about the kitty) and got this error:
06-13 13:05:03.854 19157-22063/fr.free.nrw.commons E/ACRA: fr.free.nrw.commons fatal error : Only the original thread that created a view hierarchy can touch its views.
                                                           android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
                                                               at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:8128)
                                                               at android.view.ViewRootImpl.invalidateChildInParent(ViewRootImpl.java:1257)
                                                               at android.view.ViewGroup.invalidateChild(ViewGroup.java:5428)
                                                               at android.view.View.invalidateInternal(View.java:13927)
                                                               at android.view.View.invalidate(View.java:13891)
                                                               at android.view.View.setFlags(View.java:11776)
                                                               at android.view.View.setVisibility(View.java:7988)
                                                               at fr.free.nrw.commons.contributions.ContributionsListFragment.clearSyncMessage(ContributionsListFragment.java:162)
                                                               at fr.free.nrw.commons.contributions.ContributionsSyncAdapter.onPerformSync(ContributionsSyncAdapter.java:129)
                                                               at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:272)

idk yet how to get around this, some listener needs to be created in onCreateView I think

Ah, good point, I only have 130 photos so maybe that's why mine loads fairly quick.
Will try to look into that error when I can.

I think I might have fixed this. Just needed to change clearSyncMessage() to protected, and call it in ContributionsActivity.java 's  onLoadFinished() method.


take advantage of change_geometry

Only allowing width to be specified is a bit restrictive. I sometimes need to scale base on the height.
I think this library should take advantage of Magick's geometry string with change_geometry.
I can make this commit, just give me a go signal.

Hey, thanks for the suggestion!
I'm hesitant to implement height-based resizing because --as far as I'm aware-- all of the responsive image specs are based on width. The purpose of this plugin is to reduce some of the manual resizing required for implementing responsive images, rather than a general-purpose image resizer (although I admit the lines are very blurry now with the extra_images option).
Could you sketch out a use case for me, and maybe explain how this would look in the Jekyll config?

This is kind of related to #29.

I use height-based resizing on carousel images like in https://www.jericdy.com/games/

Now that I've think about it. I shouldn't be using this plugin as a thumbnail generator...


MSIRGB doesn't remember settings on reboot, only scripts

Due to a design flaw, MSIRGB can load scripts on Windows startup but it won't remember and set static LED settings (those applied through the GUI).

Sounds kind of an hack.
This could be solved as well by transforming "ScriptService" into a more general service handling static settings & scripts, but to do that would then also involve adding an "uninstall services" to the GUI so that the program can be fully uninstalled. Which makes adding an installer for the program instead a much more appealing option.
It's probably the best option. I was trying to avoid an installer, I prefer having a program that just works - no installation required, but MSIRGB's scripting functionality has led me to have an always-running service (that doesn't stop when the program stops) already and there's no way around that one. Might as well embrace it.

Will stay as is.


Blank lines between methods definitions

In pep8.py is:
"Method definitions inside a class are separeted by a single blank line"
but in https://www.python.org/dev/peps/pep-0008/ is
"Method definitions inside a class are surrounded by a single blank line."
Maybe pep8 should work in different way in same cases:
class LogsViewer(main.Main):

    def validate(self):

because separated != surrounded

Hm, I think though that with:
class Foo:

    def bar(self):
        pass

that the "method definition" includes the body, i.e. the two statements are equivalent - the "method definition" is not just the line with the dev, it's the whole method.
That said, it would certainly be less confusing if pep8 used identical language to "PEP-8"

This was only updated in April. The tool implements the document as it was written when the check was written. To update it, we can't change the existing check, so we'll have to add a new one that's added to the DEFAULT_IGNORE.


GSets cannot be created until other items are

If you have a brand new cluster with no data whatsoever, gsets cannot be created. This can currently be worked around by creating a set first and then the gset. Example underneath where I fail multiple times to create a gset, successfully create a set and then create my gset with the exact same command that was failing earlier:-
[root@localhost ~]# riak-admin bucket-type create gsets '{"props":{"datatype":"gset"}}'
RPC to<EMAIL_ADDRESS>failed: {'EXIT',
                                 {badarg,
                                  [{erlang,binary_to_existing_atom,
                                    [<<"gset">>,utf8],
                                    []},
                                   {riak_kv_wm_utils,erlify_bucket_prop,1,
                                    [{file,"src/riak_kv_wm_utils.erl"},
                                     {line,416}]},
                                   {riak_kv_console,
                                    '-bucket_type_create/2-lc$^0/1-0-',1,
                                    [{file,"src/riak_kv_console.erl"},
                                     {line,510}]},
                                   {riak_kv_console,bucket_type_create,2,
                                    [{file,"src/riak_kv_console.erl"},
                                     {line,510}]},
                                   {rpc,'-handle_call_call/6-fun-0-',5,
                                    [{file,"rpc.erl"},{line,205}]}]}}
[root@localhost ~]# riak-admin bucket-type create gsets '{"props":{"datatype":"gset"}}'
RPC to<EMAIL_ADDRESS>failed: {'EXIT',
                                 {badarg,
                                  [{erlang,binary_to_existing_atom,
                                    [<<"gset">>,utf8],
                                    []},
                                   {riak_kv_wm_utils,erlify_bucket_prop,1,
                                    [{file,"src/riak_kv_wm_utils.erl"},
                                     {line,416}]},
                                   {riak_kv_console,
                                    '-bucket_type_create/2-lc$^0/1-0-',1,
                                    [{file,"src/riak_kv_console.erl"},
                                     {line,510}]},
                                   {riak_kv_console,bucket_type_create,2,
                                    [{file,"src/riak_kv_console.erl"},
                                     {line,510}]},
                                   {rpc,'-handle_call_call/6-fun-0-',5,
                                    [{file,"rpc.erl"},{line,205}]}]}}
[root@localhost ~]# riak-admin bucket-type create gsets '{"props":{"datatype":"gset"}}'
RPC to<EMAIL_ADDRESS>failed: {'EXIT',
                                 {badarg,
                                  [{erlang,binary_to_existing_atom,
                                    [<<"gset">>,utf8],
                                    []},
                                   {riak_kv_wm_utils,erlify_bucket_prop,1,
                                    [{file,"src/riak_kv_wm_utils.erl"},
                                     {line,416}]},
                                   {riak_kv_console,
                                    '-bucket_type_create/2-lc$^0/1-0-',1,
                                    [{file,"src/riak_kv_console.erl"},
                                     {line,510}]},
                                   {riak_kv_console,bucket_type_create,2,
                                    [{file,"src/riak_kv_console.erl"},
                                     {line,510}]},
                                   {rpc,'-handle_call_call/6-fun-0-',5,
                                    [{file,"rpc.erl"},{line,205}]}]}}
[root@localhost ~]# riak-admin bucket-type create sets '{"props":{"datatype":"set"}}'
sets created

WARNING: After activating sets, nodes in this cluster
can no longer be downgraded to a version of Riak prior to 2.0
[root@localhost ~]# riak-admin bucket-type create gsets '{"props":{"datatype":"gset"}}'
gsets created

WARNING: After activating gsets, nodes in this cluster
can no longer be downgraded to a version of Riak prior to 2.0

The above is on CentOS 6 with a vanilla install of Riak KV 2.2.6.

@Bob-The-Marauder Did anything happen with this issue?  Is it still an issue?
I assume the problem is that gset is not an existing atom until the set bucket type is created ... but I don't know why it isn't, and why creating the set type makes it one.

OK, so it appears that atoms that exist in code are only loaded when the module that contains them are loaded - and this won't happen until the code is required.
So we can do this to find the atom table:
AtomList = lists:foldl(fun(N, Acc) -> [binary_to_term(<<131,75,N:24>>)|Acc] end, [], lists:seq(0, erlang:system_info(atom_count) - 1)).

If we start Riak:
length(AtomList).
25392
(riak@<IP_ADDRESS>)6> erlang:system_info(atom_count).
25392
(riak@<IP_ADDRESS>)7> lists:member(gset, AtomList).
false
(riak@<IP_ADDRESS>)8> lists:member(set, AtomList).
true
(riak@<IP_ADDRESS>)9> lists:member(hll, AtomList).
true
(riak@<IP_ADDRESS>)10> lists:member(counter, AtomList).
true
(riak@<IP_ADDRESS>)11> lists:member(counter, AtomList).
true

So when riak starts the other atoms exist.  If we now do this:
riak-admin bucket-type create counters '{"props":{"datatype":"counter"}}'

Then get a new AtomListPC, we find
(riak@<IP_ADDRESS>)10> DeltaAtoms = AtomListPC -- AtomList.
['AtomListPC',
 '/Users/martinsumner/dbroot/OpenRiak/riak/_build/default/lib/riak_kv/src/riak_kv_crdt.erl',
 invalid_crdt_binary,'-crdt_stats/3-fun-0-',
 '-fun.merge_value/2-','-merge_value/2-fun-0-',
 '-update_object/3-lc$^0/1-0-',new_datatype,operation,
 precondition_context,mod_map,mdc_crdt_epoch,crdt_version,
 to_record,crdt_from_binary,v1_counter_from_binary,
 invalid_binary,later,lastmod,drop_the_dot,update_object,
 fetch_with_default,get_context,update_crdt,decrement,
 invalid_version,deserialize_crdt,merge_value,merge_contents|...]
(riak@<IP_ADDRESS>)11> length(DeltaAtoms).
238
(riak@<IP_ADDRESS>)7> lists:member(gset, AtomList).
false

In the delta list we see things like this:
... bucket_type_print_list,bucket_type_list,
 bucket_type_print_reset_result,bucket_type_reset,
 bucket_type_print_update_result,bucket_type_update,
 bucket_type_print_create_result,
 bucket_type_print_activate_result,bucket_type_activate,
 bucket_type_print_props,bucket_type_print_status,
 bucket_type_raw_props,run_reformat,start_reformat,
 reformat_objects,reformat_indexes,index_reformat_options,
 parse_int,human_time_fmt,aae_tree_status,aae_repair_status,
 aae_exchange_status,aae_status,reload_file,reload_path,
 reload_code,nodes_down,different_owners ...

These are all atoms within the riak_kv_console module, which is called when we create the bucket type.
In order to map a data type to the associated module name, this is in include/riak_kv_types:
-define(EMBEDDED_TYPES, [{map, ?MAP_TYPE}, {set, ?SET_TYPE},
                         {counter, ?EMCNTR_TYPE}, {flag, ?FLAG_TYPE},
                         {register, ?REG_TYPE}]).

So using this map, will cause the atoms within it to be loaded, and the only one not yet loaded is gset.
It is likely that the others are loaded for other reasons.  For example just in an erlang shell, outside of Riak:
Eshell V14.2 (press Ctrl+G to abort, type help(). for help)
1> AtomList = lists:foldl(fun(N, Acc) -> [binary_to_term(<<131,75,N:24>>)|Acc] end, [], lists:seq(0, erlang:system_info(atom_count) - 1)).
['-predefined_functions/1-lc$^0/1-0-',
 '-predefined_functions/1-lc$^1/1-1-',
 '-predefined_functions/1-lc$^2/1-2-',
 '-predefined_functions/1-lc$^3/1-3-',
 '-get_optional_callbacks/1-lc$^0/1-0-',
 '-module_predef_func_beh_info/2-lc$^0/1-0-',
 module_predef_funcs_mod_info,make_list,
 module_predef_func_beh_info,get_optional_callbacks,
 predefined_functions,add_predefined_functions,pos_integer,
 nonempty_string,nonempty_maybe_improper_list,
 nonempty_improper_list,nonempty_bitstring,nonempty_binary,
 non_neg_integer,neg_integer,maybe_improper_list,iolist,
 identifier,byte,bitsize,send_op,list_op,comp_op,bool_op|...]
2> lists:member(set, AtomList).
true

So there is no mystery.  But clearly there is a need to take care when using binary_to_existing_atom/1, that the atoms we expect to exist have already been loaded.
There should be a simple fix just to put a guard after we check in riak_kv_console, that it is in the map - and then it will be loaded as part of the module being used, and all the possible atoms will be present.


Start Scene

Start Scene
As a...
player
I want to...
see a Start scene
So I can...
Start the game, view the leaderboard, or quit the game.

Game title
Start Button
Leaderboard button
Quit / main menu button
Background link

I believe I have finished this. I am about to send a pull request for my stuff for you to review.


Replay/framereader: fix c3 qcamera padding problem

use libyuv to convert yuv to rgb , and fixed the padding problem.it's also 2x faster than  avpicture_fill&sws_scale
before:

after:

Great. Looks like there were other issues as well with the previous implementation:

I ran into the same thing on Debian 11, I think the RGB buffer isn't padded out to the right alignment when it's allocated, and sws_scale may write off the end, depending on which vectorized implementation is used. I haven't looked into it further yet, but my workaround was to edit line 167 and double the size of the allocation.
https://discord.com/channels/469524606043160576/524594418628558878/898977054551339038

Great. Looks like there were other issues as well with the previous implementation:

I ran into the same thing on Debian 11, I think the RGB buffer isn't padded out to the right alignment when it's allocated, and sws_scale may write off the end, depending on which vectorized implementation is used. I haven't looked into it further yet, but my workaround was to edit line 167 and double the size of the allocation.
https://discord.com/channels/469524606043160576/524594418628558878/898977054551339038

yes, that might lead to random crash like  #22555


control-service: logs endpoint should return html renderable version of the logs.

What is the feature request? What problem does it solve?
requests to the logs endpoint return a json object which contains the logs .
Instead of newline chars it has '\n'. Which means when you open the logs endpoint in a browser it is a mess.
Suggested solution
It would be nice if we could also support the response body type as html/text.

Triaged.
@DeltaMichael , I believe this will be potentially solved by: #2408


Comment review

Prototype a very rough interface for comment review and submission. This links up with the backend proposed in #126. Note: this is meant to be just usable enough to get feedback, and nothing more--it's going to need lots of work on interface and visual design!
Branched off #126.

Travis failure's due to line length. I added a few comments on random bits, but I think this is largely good-to-go.

@cmc333333: I "borrowed" some code for PrepareCommentView from PreambleView. This is duplicative and will need to get refactored, but I didn't bother with subclasses or template partials because I'm guessing we're likely to change both views significantly, and soon. Is that bad?

Step one is admitting you have a problem. Seriously, I think it's fine for now. :+1: from me. I'll merge later tonight unless @xtine has comments/wants to before then.


Autosubscriptions not working in

Describe the bug
As mentioned in https://github.com/kaisermann/svelte-preprocess/issues/81, autosubscriptions work in the html part but not

Count is now {isLarge ? "large" : "small"}

<Incrementer/>
<Decrementer/>
<Resetter/>

two errors are thrown because (1) count is not used and (2) $count is undefined.
I know this example is pretty dumb because the evaluation could be done in the HTML, but basically using autosubscriptions in the

I realize this is a huge hack, but it might at least get rid of the errors. How about we inject variable declarations into the in-memory copy of the source code right before we preprocess it? Some type of algorithm like this:
var autoSubs = [];
var rawTypescriptText = getTextFromScriptTagSomehow();
//regex match every variable that starts with a dollar sign
var regexp = /(\$\w*)/g;
var match;
while (match = regexp.exec(rawTypescriptText)) {
  var name = match[0];
  //add this name if we don't have it yet
  if (autoSubs.indexOf(name) === -1) {
    autoSubs.push(name);
  }
}
//generate the var declaration text. i.e.: "var $item1: any;var $item2: any;var $item3: any;"
var injectedText = autoSubs.reduce(function(cumulativeText, autoSubName){
	return cumulativeText + 'var ' + autoSubName + ': any;';
}, '');

var modifiedTypescriptText = injectedText + rawTypescriptText;
transpile(modifiedTypescriptText);

So this code:

would become

If we append to the beginning of the first line, we might need to then fix column offset numbers for any diagnostics that appear on the first line.
This is just the first step, getting rid of the compile errors. Once that's done, perhaps we could do some smarter type detection instead of defaulting to :any.
Something similar could probably be done for unused variables, but those would need to be declared at the very end of whatever scope they came from. For now we could just recommend people disable that noUnusedLocals typescript flag.

For now we could just recommend people disable that noUnusedLocals typescript flag.

I've spent a couple of days before finally figuring this out -- and declarations too. I'd like to PR this for the README. Are there any other flags that you know of that should be disabled?
@kaisermann are you okay with a PR that adds this to the README?

The real solution to this probably requires some significant time, which I don't have at the moment. That would be great @joelmukuthu 😁

I'm closing this as we now have some documentation regarding unsupported compiler options. Anyway, the real deal to fix this will be the official language tools .


Android Auto

Is there an chance you could explain how the third party apps on Android auto works? I did run the patch neither can I add custom apps nor do I find anything in the gal.json to activate anything. Maybe add something to the Readme?
Thank you in advance

The latest version I released has an updated description in the menu. You only need to run the script and it will patch gal.json automatically, but only if you have an SD in the slot. This is needed for creating a backup.
Can you try with the latest version?

I am running the new 1.6b.
I installed the aa patch.
If I connect my phone aa looks like usual.
No extra menu
In the green menu there is only patch or recovery after patch it tells me did the backup etc
What menu do you mean?
Maybe I am just overseeing something

there's an Android Auto screen and it allows you to patch gal.json. After it's done you need to reset the Android Auto connection (unplug replug phone) and it works.


Misplaced delays

In the two routines
void GSL1680::clear_reg()    and    void GSL1680::reset()
the      < delay(TIMER[i]); >  should be placed outside of the for...loop  after the   < int r = Wire.endTransmission(); >
With the delay inside the loop it introduces extra delays onto the I2C bus timings that cause unwanted errors 3 or 4.  The GSL1680 uses these delays to actually execute the clear and/or reset.

As far as I can understand, the linux kernel seem to do the same as I am currently doing: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/input/touchscreen/silead.c#n244
Maybe I did not understand what you are saying. Feel free to open a PR, so we can discus this over some code ;)


Interface down when initially created via FauxAPI

When creating an interface with the following JSON:
{'wan': {'enable': '', 'if': 'igb0', 'descr': 'pfSYNC', 'ipaddr': '<IP>', 'subnet': '30', 'spoofmac': ''}, 'lan': {'enable': '', 'if': 'igb1', 'ipaddr': '<IP>', 'subnet': '24', 'ipaddrv6': '', 'subnetv6': '', 'media': '', 'mediaopt': '', 'track6-interface': 'wan', 'track6-prefix-id': '0', 'gateway': 'GW_LAN', 'gatewayv6': ''}, 'opt1': {'descr': 'WANBOND', 'if': 'lagg0', 'enable': '', 'spoofmac': '', 'mtu': '9000'}, 'opt2': {'descr': 'WAN', 'if': 'lagg0_vlan1112', 'enable': '', 'ipaddr': '<IP>', 'subnet': '29', 'gateway': 'WANv4GW', 'spoofmac': ''}, 'opt3': {'descr': 'VL3301Pub', 'if': 'lagg0_vlan3301', 'spoofmac': '', 'enable': 'True', 'blockpriv': '', 'blockbogons': '', 'ipaddr': '<IP>', 'subnet': '30'}}
The interfaces appear on the pfSense dashboard as down and doesn't come up unless i disable and re-enable the interface via the GUI. This occurs despite using config.reload().
Is this expected behaviour and if not, can you suggest  a possible cause?
Regards,
Ochuko

Hi
The configuration you are supplying appears to be an incomplete - you MUST provide a FULL config, not just the parts of the config you wish to set
Have a read over here to understand more about why:-
https://github.com/ndejong/pfsense_fauxapi/issues/3
N

Anyone else having this issue, please look at #10.
ndejong provided a solution to a similar issue that I think may have helped here too.


Feature request: sigqueue

In linux, sigqueue can send signal with attached data.

No opposition from me to sigqueue per se, but indeed this can never work on windows.
I wonder what the benefit of adding it to libuv is though; if you want to use sigqueue() just call sigqueue() :)

What @piscisaureus said. Closing.

Thanks.


Update nushell completion for .NET CLI

Summary

Add nushell to the shells lists in article description and in 1st paragraph
Change the completion method because the prior one couldn't complete dash options

Oh i lost my changes somewhere, was editing through gh


Spencer/eng 530 forcing infinite login requests

approach is to use chrome.local.storage instead of web local or session storage

@joelrojo Re: the last two commits. I think chrome.storage.local is gonna be our solution but for some reason the token isn't being stored properly in agent. The extension loads with the user logged in, but further API requests (get knots, primers) are forbidden.

The token persists in storage after the extension is closed/reloaded tho so this should work eventually

Hmm I would assume it has to do with the agent not setting the token correctly.
agent.setToken()

Look for how we set that and make sure it's begin set correctly.
Also, noticed this has the same commit history as PR #34 so going to close that in favor of this to keep things clean


Internal Review Feedback

Internal Review
Compiled from the Slack #project-review channel on Fri 3 Nov 14:30 (UK time). Special thanks to everyone who took time on a Friday afternoon to help test the project.
Issues to fix

[x] Tutorial not displayed

[ ] Tutorial needs a rewrite - right now it's only for the A-split
[ ] Tutorial images are too damn big
[ ] Do we need separate workflows for the A/B split?

[ ] The filmstrip remembers the previous subject's page I was view after loading a new subject (i.e. is skipped right to page 4 of a new subject when I clicked done)
[ ] Consider mouse cursors being used in annotation mode - perhaps use crosshairs?
[ ] Top level navi seems weird - it's not styled properly (hover state, font) and navigates users out of the project (i.e., it's not _blank )
[ ] It's too easy to accidentally start a new annotation by, e.g., mis-clicking the 'expand dialog' button.
[ ] Data is being posted to CAESAR STAGING on PRODUCTION.
[ ] Transcription dialog's text input should capture focus as soon as the transcription modal is opened.
[ ] Special edge case: [deletion] [unclear] [/deletion] should be one word. Note the spaces auto-inserted around [unclear].
[ ] Change the "Done" button (which opens the Submit Classification Form, which in turn has "Done" and "Done & Talk") to "Finish" or "Finished". Let's not repeat ourselves.

Remove redux-logger from production.

Production is connecting to caesar-staging.zooniverse.org instead of caesar.zooniverse.org

The annotation modal isn't a true modal by design to allow users to interact with the zooming tools, however, you can accidentally start another annotation.
Suggestion: Use a <textarea /> instead of a <input type="text" /> so the input expands using normal browser behavior. In slack chat, it was noted that the vertical expansion might encourage users to transcribe multiple lines, but this might be prevented by setting row="1" and "wrap="off" (see supported attributes: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea).

The links on the home page do not have hover states.

It looks like a session is reset every time a page reloads, which is not how sessions work and it isn't great for tracking session in the backend.

Autofocus the text box

Keyboard controls for pan/zoom, while transcribing, would be useful.

@simoneduca that's the session ID code from PFE, which generates a new session ID after 5 minutes of inactivity.
I think the assumption in the PFE code is that getSessionID() will be called repeatedly during a session, to keep the current sessionID active. It doesn't reset the session ID on page load, though, it reads it from sessionStorage and resets if it's more than 5 minutes old.

Cross-posting this design issue: https://github.com/zooniverse/anti-slavery-manuscripts/issues/133

Additional UI/UX issues
-When the transcription box is active the mouse should allow the user to pan around the image but not create new annotations
-Within the classify page, About and Talk are not capitalize in the top Nav
-Don't show an error message while the user is typing their transcription, wait till they click Done:

To add to the UX list: allow users to edit dot placement (click & drag) after the fact. Not a requisite for beta, but something to do if we have time.

A really small thing: <button href="#"> appears in a few places in the code, but is not valid HTML. href is used on links, not buttons, and should be deleted here.

As of today, the tutorial isn't popping up when new users (who are logged in) come to the ASM site. I know that this was spotted last Friday during internal testing and was supposedly fixed, but just flagging up that it's still happening.

Expert feedback
Walked through the interface with the gold standard researcher this morning and she brought up some good points:

[ ] Clicking "reset image" does not reset the negative (Contrast) button
[ ] Need to add a section in the Field Guide about punctuation, specifically comma and double-comma usage, and em dashes and hyphens.
[ ] Adding multiple modifiers affects the word count.
[ ] It's possible to create transcriptions at 90º, which I don't think should be an option.

I think we should allow users to create transcriptions at 90º, especially in the case of cross-writing.

I initially had the same thought as @wgranger but I think this might refer to transcriptions which are perpendicular to the direction of the text, not transcriptions which are made when the page is rotated to 90º
@beckyrother please correct me if I'm wrong.

Sorry that wasn't clear. I'm referring to the ability to create annotations which are at 90º :

Open to suggestions but I'm not sure this will produce optimal results as it's quite difficult to read script that's sideways.

Yes, I think that's a good call, as it will require users to rotate the page to transcribe.

Need to add a section in the Field Guide about punctuation, specifically comma and double-comma usage, and em dashes and hyphens.

This would be great, but the content will need to be generated from BPL. Did they offer to create that content, or were they assuming we'd do it? If so, I can email Tom to ask him if they'll do it. In either case, probably not a priority for beta (but will still be v good to have!).

Re field guide, we didn't really talk about who would be responsible for that content. I told them we'd email with more guidance around how other projects treat punctuation like em dashes and double commas, and also when the gold standard toggle button was ready ( @wgranger ). Might be good to address all that at once


Java adapter

This PR adds Java support to the Debugger. LSP and LSP-jdtls are required for this adapter to work.
Closes #147
Closes #118
Closes https://github.com/sublimelsp/LSP-jdtls/issues/24

Connection to the debugger works. But I am getting a "missing mainClass..." error.

Thats fixed by supplying:
"mainClass": "${file}",
"modulePaths": ["${folder}"]

Now the Debugger fails with:
jdtls: 08.03.2021, 15:28:47 [error response][launch]: Failed to launch debuggee in terminal. Reason: Failed to launch debuggee in terminal. Reason: java.util.concurrent.TimeoutException: timeout
Failed to launch debuggee in terminal. Reason: Failed to launch debuggee in terminal. Reason: java.util.concurrent.TimeoutException: timeout
com.microsoft.java.debug.core.DebugException: Failed to launch debuggee in terminal. Reason: Failed to launch debuggee in terminal. Reason: java.util.concurrent.TimeoutException: timeout
	at com.microsoft.java.debug.core.adapter.handler.LaunchWithDebuggingDelegate.lambda$launchInTerminal$0(LaunchWithDebuggingDelegate.java:157)
	at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859)
	at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837)
	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
	at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2152)
	at com.microsoft.java.debug.core.protocol.AbstractProtocolServer$1.run(AbstractProtocolServer.java:192)
	at java.base/java.util.TimerThread.mainLoop(Timer.java:556)
	at java.base/java.util.TimerThread.run(Timer.java:506)

Okey, I found the comment in terminal_process.py. Seems like ST4 does not support runInTerminal?

Okey, I found the comment in terminal_process.py. Seems like ST4 does not support runInTerminal?

It relies on winpty and dependencies don't work on the 3.8 environment

Okey, I found the comment in terminal_process.py. Seems like ST4 does not support runInTerminal?

@LDAP for now you can probably change your configuration to not use the integrated terminal.
"console": "internalConsole"

"console": "internalConsole"

In this case the Server errors with:
jdtls: 08.03.2021, 23:12:44 Error parsing message: com.google.gson.JsonSyntaxException: Expected a com.google.gson.JsonObject but was com.google.gson.JsonNull
Expected a com.google.gson.JsonObject but was com.google.gson.JsonNull
com.google.gson.JsonSyntaxException: Expected a com.google.gson.JsonObject but was com.google.gson.JsonNull
	at com.google.gson.internal.bind.TypeAdapters$35$1.read(TypeAdapters.java:897)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:131)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:222)
	at com.google.gson.Gson.fromJson(Gson.java:932)
	at com.google.gson.Gson.fromJson(Gson.java:897)
	at com.google.gson.Gson.fromJson(Gson.java:846)
	at com.google.gson.Gson.fromJson(Gson.java:817)
	at com.microsoft.java.debug.core.protocol.JsonUtils.fromJson(JsonUtils.java:26)
	at com.microsoft.java.debug.core.protocol.AbstractProtocolServer.processData(AbstractProtocolServer.java:219)
	at com.microsoft.java.debug.core.protocol.AbstractProtocolServer.run(AbstractProtocolServer.java:98)
	at com.microsoft.java.debug.core.adapter.ProtocolServer.run(ProtocolServer.java:61)
	at com.microsoft.java.debug.plugin.internal.JavaDebugServer$2.run(JavaDebugServer.java:136)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
	at java.base/java.lang.Thread.run(Thread.java:832)

jdtls: 08.03.2021, 23:12:44 Error parsing message: com.google.gson.JsonSyntaxException: Expected a com.google.gson.JsonObject but was com.google.gson.JsonNull
Expected a com.google.gson.JsonObject but was com.google.gson.JsonNull
com.google.gson.JsonSyntaxException: Expected a com.google.gson.JsonObject but was com.google.gson.JsonNull
	at com.google.gson.internal.bind.TypeAdapters$35$1.read(TypeAdapters.java:897)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:131)
	at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:222)
	at com.google.gson.Gson.fromJson(Gson.java:932)
	at com.google.gson.Gson.fromJson(Gson.java:897)
	at com.google.gson.Gson.fromJson(Gson.java:846)
	at com.google.gson.Gson.fromJson(Gson.java:817)
	at com.microsoft.java.debug.core.protocol.JsonUtils.fromJson(JsonUtils.java:26)
	at com.microsoft.java.debug.core.protocol.AbstractProtocolServer.processData(AbstractProtocolServer.java:219)
	at com.microsoft.java.debug.core.protocol.AbstractProtocolServer.run(AbstractProtocolServer.java:98)
	at com.microsoft.java.debug.core.adapter.ProtocolServer.run(ProtocolServer.java:61)
	at com.microsoft.java.debug.plugin.internal.JavaDebugServer$2.run(JavaDebugServer.java:136)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
	at java.base/java.lang.Thread.run(Thread.java:832)

What request is this failing on? If its the initialize request its likely there are additional required parameters in the configuration that get patched in.
https://github.com/microsoft/java-debug/blob/64d42435b9913ad39f49f8700e0c046abdc12dd5/com.microsoft.java.debug.core/src/main/java/com/microsoft/java/debug/core/protocol/Requests.java#L103
I would try adding "env":{}

@daveleroy I get errors in the client.

This looks like another off spec thing. They are returning {} from the threads command when the response is supposed to be {'threads': [...]} and is not optional.
You can change threads = array_from_json(dap.Thread.from_json, response['threads']) to threads = array_from_json(dap.Thread.from_json, response.get('threads', [])) to handle their malformed response

@daveleroy The Java Language Server returns URIs like:
jdt://contents/java.base/java.lang/Integer.class?=jdt.ls-java-project/D:%5C/Local_Repositories%5C/windows-dev-tools%5C/bins%5C/jdk%5C/lib%5C/jrt-fs.jar%60java.base=/javadoc_location=/https:%5C/%5C/docs.oracle.com%5C/en%5C/java%5C/javase%5C/15%5C/docs%5C/api%5C/=/%3Cjava.lang(Integer.class

leading to an empty view. JDT.LS can actually provide the contents of the class file, does Debugger support that the server resolves the content itself?

This seems like something they should probably change on their side. If the adapter is supposed to supply the contents of a source they should be adding a sourceReference not giving us a URI so that we can perform a SourceRequest for the contents.
https://microsoft.github.io/debug-adapter-protocol/specification#Types_Source
If they are not going to do that then we probably need to add an additional configuration function that lets you optionally return the contents of a path before we assume it should be opened in a view. That way the java adapter can ask jdt.ls for the contents.

Ideally would be something like this sublimehq/sublime_text#3989. But yes until that is ready asking the LS for content is probably the easiest option.

Ideally would be something like this sublimehq/sublime_text#3989. But yes until that is ready asking the LS for content is probably the easiest option.

Ideally java-debug would fix this because what they are doing does not confirm to the protocol and makes integrating their adapter pretty convoluted. This issue appears to have been brought up already https://github.com/microsoft/java-debug/issues/259#issuecomment-695199086

With version 1.5 of LSP, plugins can now define an on_open_uri_async callback.
https://github.com/sublimelsp/LSP/blob/97e138e8e3300e52140569f3ada95e05d5b8d9bc/plugin/core/sessions.py#L603-L614
The LSP-jdtls helper package can override this method and define what to do with jdtls: schemes.
I guess we would still need a window command like lsp_open_uri that takes an URI and optionally a config name.

@daveleroy does sublime_debugger expect anything special of a sublime View in particular to be able to attach to it or recognize it? the way this view with "virtual content" is made is:
https://github.com/sublimelsp/LSP/blob/97e138e8e3300e52140569f3ada95e05d5b8d9bc/plugin/core/sessions.py#L1106-L1113

With version 1.5 of LSP, plugins can now define an on_open_uri_async callback.
https://github.com/sublimelsp/LSP/blob/97e138e8e3300e52140569f3ada95e05d5b8d9bc/plugin/core/sessions.py#L603-L614
The LSP-jdtls helper package can override this method and define what to do with jdt: schemes.
I guess we would still need a window command like lsp_open_uri that takes an URI and optionally a config name.
Nice! I'll look into this next week

@daveleroy does sublime_debugger expect anything special of a sublime View in particular to be able to attach to it or recognize it? the way this view with "virtual content" is made is:
https://github.com/sublimelsp/LSP/blob/97e138e8e3300e52140569f3ada95e05d5b8d9bc/plugin/core/sessions.py#L1106-L1113

Not really no but currently breakpoints aren't supported in views that are not associated with a file (this includes generated views from the dap protocol which is probably an oversight).
This is where dap views are generated (when a source is not associated with an actual file) https://github.com/daveleroy/sublime_debugger/blob/ce44c963ac746e4ee1fc3b4fae66a7ba060a9a65/modules/source_navigation.py#L98
If breakpoints are supposed allowed in these views the view probably needs to have a uri setting or some way to check if a view is associated with a uri. It also seems like open_uri should return the generated view so that anyone who calls it can wait on the promise to resolve to get the view.
Somewhat Related: All the LSP packages seem to access the LSP api directly. I wonder if it makes sense to have debugger be the one that creates the 3.3 python bridge to interact with LSP/LSP-jdtls and add any command shims for LSP api's it needs to interact with (until/if LSP switches over to 3.8).

until/if LSP switches over to 3.8

We're blocked on dependencies: https://github.com/sublimelsp/LSP/issues/1389
https://github.com/wbond/package_control/issues/1518

I've enabled LSP-jdtls to understand jdt: URI schemes. But the actual opening of the URI should be done from the DAP side. See: https://github.com/sublimelsp/LSP-jdtls/pull/15#issuecomment-900191073

The jar you are looking for is available at https://mvnrepository.com/artifact/com.microsoft.java/com.microsoft.java.debug.plugin and is exactly the same VSCode use to debug Java applications.

@daveleroy @rwols The current implementation does work, but uses a dirty hack to get the view created by the LSP-plugin. Ideally, I could await a future which does return the created view.

You could just expose the request like we do for command: vscode.java.startDebugSession and then just call it from the debugger side. Then create and populate the view on the debugger side like a dap source request.
Also maybe that should be more generic since I think there are some other commands that need to get run as well to fetch configuration stuff. They seem to be also using command: vscode.java.resolveClasspath as well.
# LSP side
class DebuggerJdtlsExecuteCommandCommand(LspWindowCommand):
    session_name =  'jdtls'

    def run(self, id: int, command: str, arguments: 'Optional[list[Any]]' = None):
        session =  self.session()
        if not session:
            self.handle_response(id, ValueError('Unable to find `jdtls` session'))
            return

        session.execute_command({"command": command, 'arguments': arguments}, False).then(lambda resp: self.handle_response(id, resp))

    def handle_response(self, id, response):
        if isinstance(response, Exception):
            self.window.run_command('debugger_lsp_jdtls_excute_command_response', {'id': id, 'reject': str(response)})
        else:
            self.window.run_command('debugger_lsp_jdtls_excute_command_response', {'id': id, 'resolve': response})

# Debugger Side
pending_futures: Dict[int, core.Future] = {}
pending_futures_current_id = 0

class DebuggerLspJdtlsResponseCommand(sublime_plugin.WindowCommand):
	def run(self, **args):
		future = pending_futures.get(args["id"])
		if not future:
			print("Hmm... unable to find a future port for this id")
			return

		if error := args.get('reject'):
			future.set_exception(core.Error(error))
		else:
			future.set_result(args.get('resolve'))

async def jdtls_execute_command(self, command: str, arguments: list[Any]|None = None):
	# probably need to add some sort of timeout
	# probably need to ensure lsp_jdts is installed
	# probably need to ensure lsp_jdts has the plugin jar patched in
	future = core.Future()
	sublime.set_timeout(lambda: future.cancel(), 2500)

	global pending_futures_current_id
	id = pending_futures_current_id
	pending_futures_current_id += 1
	pending_futures[id] = future

	# ask lsp_jdts to start the debug adapter
	# lsp_jdts will call debugger_lsp_jdts_command_response with the id it was given and a port to connect to the adapter with or an error
	# note: the active window might not match the debugger window but generally will... probably need a way to get the actual window.
	sublime.active_window().run_command('debugger_jdtls_execute_command', {
		'id': id,
		'command': command,
		'arguments': arguments
	})

	try:
		return await future
	except CancelledError:
		raise core.Error('Unable to execute `jdtls` command (timed out)')

port: int = await jdtls_execute_command('vscode.java.startDebugSession'))

Not sure what the difference between send_request_async and execute_command is here but I guess you would need to expose send_request_async to perform java/classFileContents

That should work. Then the only thing left is to move the special case into the Java adapter instead of the core module.

@daveleroy The Java Adapter should work now. You might want to change the on_source_navigation hook. I was not sure how to handle the special case.

The configuration logic now uses a generic bridge which allows sending requests to the LSP.

@LDAP I'm going merging this if its not ready for release it can be put behind the dev flag when I make the next package control update

@daveleroy Alright. Please do not release it until I fixed the user configuration overwrite. I'll open a follow up PR in the next few days.

I'll notify you when I release the new LSP-jdtls version containing the necessary debug plugin and bridge.


Create eclipse-tractusx.github.io.largefiles and tutorial-resources repos

Description
We need two new repositories in our eclipse-tractusx organization. The creation request has to be prepared as PR to the
.eclipsefdn repo.
Additional Info
Repos have been requested via Eclipse Foundation Help Desk Tickets:

3500 tutorial-resources
3499 eclipse-tractusx.github.io.largefiles

Creation of tutorial resources repo already available as PR issued by EF member: https://github.com/eclipse-tractusx/.eclipsefdn/pull/13

Repos created:

https://github.com/eclipse-tractusx/eclipse-tractusx.github.io.largefiles
https://github.com/eclipse-tractusx/tutorial-resources


_Exception  Exception: operation failed

Platform
Dart
Obfuscation
Enabled
Debug Info
Enabled
Doctor
[✓] Flutter (Channel stable, 3.19.3, on macOS 14.5 23F79 darwin-arm64, locale zh-Hans-CN)
• Flutter version 3.19.3 on channel stable at /Users/zhengzeqin/fvm/versions/3.19.3
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ba39319843 (4 个月前), 2024-03-07 15:22:21 -0600
• Engine revision 2e4ba9c6fb
• Dart version 3.3.1
• DevTools version 2.31.1
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/zhengzeqin/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• ANDROID_SDK_ROOT = /Users/zhengzeqin/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
• Xcode at /Applications/Xcode-15.3.0.app/Contents/Developer
• Build 15E204a
• CocoaPods version 1.15.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2023.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
[✓] VS Code (version 1.90.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.90.0
[✓] Connected device (5 available)
• iPhone 15 Pro (mobile)     • 3A9ACA4C-FB70-48FC-AB84-FCE23B1DBC2E • ios            •
com.apple.CoreSimulator.SimRuntime.iOS-17-5 (simulator)
• iPhone 15 Pro Max (mobile) • 76A065E5-CE1B-403B-B5B3-83E2C3CC6992 • ios            •
com.apple.CoreSimulator.SimRuntime.iOS-17-5 (simulator)
• macOS (desktop)            • macos                                • darwin-arm64   • macOS 14.5 23F79 darwin-arm64
• Chrome (web)               • chrome                               • web-javascript • Google Chrome 126.0.6478.127
[✓] Network resources
• All expected network resources are available.
Version
8.3.0
Steps to Reproduce
we meet this issuse on Google Map only iOS Device

Expected Result
[Stack Trace]

_Exception
Exception: operation failed
stacktrace_utils.dart location getCurrentStackTrace line 10 in sentry
In App
sentry_exception_factory.dart location SentryExceptionFactory.getSentryException line 45 in sentry
In App
sentry_client.dart location SentryClient._prepareEvent line 201 in sentry
In App
sentry_client.dart location SentryClient.captureEvent line 95 in sentry
In App
hub.dart location Hub.captureException line 173 in sentry
In App
Called from: <asynchronous suspension>
tw_sentry_apm.dart location SentryApm.captureException

Actual Result
how do we fix it ? thx~
Are you willing to submit a PR?
None

Hi, do you know if this is reproducible?
Is this only on iOS a problem?

Hi, do you know if this is reproducible?
Is this only on iOS a problem?

@buenaflor i don't know, yes ,only iOS

_Exception
Exception: operation failed
stacktrace_utils.dart location getCurrentStackTrace line 10 in sentry
In App
sentry_exception_factory.dart location SentryExceptionFactory.getSentryException line 45 in sentry
In App
sentry_client.dart location SentryClient._prepareEvent line 201 in sentry
In App
sentry_client.dart location SentryClient.captureEvent line 95 in sentry
In App
hub.dart location Hub.captureException line 173 in sentry
In App
Called from:
tw_sentry_apm.dart location SentryApm.captureException

is that the whole stacktrace?

_Exception
Exception: operation failed
stacktrace_utils.dart location getCurrentStackTrace line 10 in sentry
In App
sentry_exception_factory.dart location SentryExceptionFactory.getSentryException line 45 in sentry
In App
sentry_client.dart location SentryClient._prepareEvent line 201 in sentry
In App
sentry_client.dart location SentryClient.captureEvent line 95 in sentry
In App
hub.dart location Hub.captureException line 173 in sentry
In App
Called from:
tw_sentry_apm.dart location SentryApm.captureException

is that the whole stacktrace?

@buenaflor yes

Can you show me the code snippet for SentryApm.captureException ? how do you use it

  runZonedGuarded(() async {
    WidgetsFlutterBinding.ensureInitialized();
    await TwFirebase().initFirebase();
    await initSentry(() {
      runTWApp(
        args,
        observers: [
          // Sentry 的 NavigatorObserver
          SentryApm().navigatorObserver(),
        ],
      );
    });
  }, (exception, stackTrace) async {
   captureException(
     exception,
     stackTrace: stackTrace,
   );
  }, zoneSpecification: ZoneSpecification(
    print: (Zone self, ZoneDelegate parent, Zone zone, String message) {
      if (canPrint) {
        parent.print(zone, message);
      }
    },
  ));

  captureException(
    dynamic exception, {
    dynamic stackTrace,
  }) async {
    await Sentry.captureException(
      exception,
      stackTrace: stackTrace,
    );
  }

@zeqinjie Thank you for sharing the code snippet, we will investigate it shortly.

Hey just an update, this is related to this pr: https://github.com/getsentry/sentry-dart/pull/2152
this will improve upon the stacktrace so it's easier to debug

Hey just an update, this is related to this pr: #2152
this will improve upon the stacktrace so it's easier to debug

@buenaflor thx, i will try next version

Closing this issue now. Please try out 8.5.0 when it is released and let me know if there are still problems


Could not find any rooms

You are using GM 1.4.9999 to build a project created with 1.4.1567 ..

apparently this is related to #12 , which i fixed. so this should also be fixed.


Swipe direction lock

Describe your PR, what does it fix/add?

Adds the config option gestures:workspace_swipe_direction_lock, which forces the destination to be in one direction only once the user starts swiping.

True by default
Let's say the user wants to switch to workspace on the right. They swipe halfway and change their mind and swipe back to cancel that. Setting this to true prevents over-swiping to the workspace on the left.

Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)

Since the option is true by default, it introduces a change in default behavior. But I guess it makes sense (Windows is like that).

Is it ready for merging, or does it need work?

Ready

Done
I have thought about threshold but there's already some kind of threshold for me. Guess that was a hardware-specific thing.
Now, is 10px enough for fingers of an average linux user, however fat they might be?

unless someone is as fat as nicocado avocado then it should be enough, and in the case they are, we recommend the gym and not hyprland, so this should be enough


Add checks on allowed endpoints parameters

The chars /, + and # should not be allowed in endpoint parameters.
This is due to MQTT specifications. As + and # are used as wildcards and / is used as a path separator.

Blocked by #127


Limit projects clients access for employees

Notion card
https://www.notion.so/saeloun/Backend-Frontend-User-should-be-able-to-view-the-client-and-projects-where-they-have-been-added--594676f86be447dbb5ea88c405e96221
Summary

Preview

Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to
not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?

Checklist:

[ ] I have manually tested all workflows
[ ] I have performed a self-review of my own code
[ ] I have added automated tests for my code

@mohinid
@supriya3105 will comment on the expected behavior


Make RequestStateSet.generation_state optional instead of a list.

The code already asserted that it has either 0 or 1 elements.
While I was here, I also added some more typing in general.py.

The function signature of evaluate_generation doesn't allow a metric implementation to have multiple generation_states (code). So even if a Metric implementation wanted to use a List[RequestState], it couldn't. I see a few ways we make this section clean, with descending levels of refactor:

Split Metric into subclasses for metrics that define evaluate_references, metrics that want evaluate_generation to take a single RequestState, and metrics that want evaluate_generations to take List[RequestState], with the last one being empty.
Make  evaluate_generation take a List[RequestState], and have all existing implementations apply singleton.
This PR, which clarifies the existing limitation by moving the assert sooner.

Opinions between those 3 and doing nothing?

PR #2216 makes this one obsolete.