Cannot use zone.js with SemanticUI Search

Hi,
I initially posed this bug in here https://github.com/angular/angular/issues/7750 since I'd only narrowed it down to angular2-polyfills.js before I left for holiday. Now that I'm back I dug deeper and found that zone.js is the culprit and I can see there are others having similar issues with 3rd party libs. More specifically, in my case, it's because zone.js is patching the onkeydown event which is used by SemanticUIs Search https://github.com/Semantic-Org/Semantic-UI/blob/master/dist/components/search.js#L100
Here's an updated plunker with only zone.js included http://plnkr.co/edit/SQBxicLoQ5LiFXJgT4qm?p=preview. Commenting out utils_1.patchOnProperties(HTMLElement.prototype, eventNames); the search tool works as intended again or even just removing onkeydown from the patched events "solves" the issue.
This is causing headaches for many people trying to use 3rd party libs with Angular2. Is there a fix coming or a workaround available? Any insight in why this is happening?
Regards,
Daniel

Looking for a response or thoughts to this issue. I'm not the only one having issues with how zone.js patches the events and this preventing 3rd party libs to work properly.

I second this.  I am using Angular in SharePoint and it is hijacking the onsubmit event for the form.  Content editors cannot save edits when zone.js is included.
Is there a way to possibly scope zone.js so, for example, only elements that are wrapped in a parent element that has a specific attribute or class are affected by it?
I noticed in the property-descriptor.ts file (line: 15)  it is modifying the HTMLElement interface's prototypes, but it might be possible to do some checking on the getters and setters to conditionally hijack events.

same problem here with the Semantic UI search component..
are there any known side-effects when commenting out utils_1.patchOnProperties(HTMLElement.prototype, eventNames); ?
thanks!

Still looking for a response to this.

Yes. Me, too.

I am also interested in more actions on this.

I just saw this in one of my own projects using Semantic UI.

I was able to fix the problem by changing this line:
https://github.com/angular/zone.js/blob/ed697569119c8d535ac8c640e23d1c21b49cde7d/lib/common/utils.ts#L86
to return this[_prop] || null;

I've loosened the typechecks to use == instead of === which should preserve meaning even if props are returning null. This should be a simpler solve then waiting for zones to be patched.

@jlukic, @veered I tried both your methods but can't see that they fix the problem? This http://plnkr.co/edit/OOA6TWvvk58q2TRqSkz8?p=preview should have both of your tweaks but the problem persists. Mind creating a plunkr showing it's working? Thanks for your participation with this issue.

If you try it with just my change it works for me http://plnkr.co/edit/O475D4x9SXqDu9naIjpk?p=preview

@veered you are correct. It does feel like this is a change that should be made in SemanticUI though if it's indeed an issue with undefined and null. How did you find the issue?

I think this is genuinely a bug in zone.js.
I found it by noticing that keyups were triggering search and breakpointing in different places until I notice the difference I described above.


[Suggestion] Integrate into a single custom app

I wonder why you decided to create two custom apps for essentially a really similair idea (opening the library in the center pane). I like the main view of this one better, but i also think the sorting options available in the prior one (downloaded, by you) are also useful to have in the main view. I think it would be much better to put both apps into a single library app, with a simple settings menu to customise little things like this. It would also be easier for potential contributors.
I can help you with the setting menu etc. by just copying the one i have in my custom app.

I wonder why you decided to create two custom apps for essentially a really similair idea (opening the library in the center pane).

While on the surface it seems that these two custom apps do similar things, the implementation is significantly different. There is little shared code.

I like the main view of this one better, but i also think the sorting options available in the prior one (downloaded, by you) are also useful to have in the main view.

It sounds like you want something which is a mixture of the two libraries. This is a cool idea, but it is outside of the scope of this project. BetterLib and LegacyLib both are just working with the existing libraries created by Spotify. BetterLib temporarily moves the existing sidebar library into the main view, and LegacyLib provides a shortcut to the old library which is still present, but usually inaccessible. In neither app am I reconstructing, or even modifying either of the libraries.

...with a simple settings menu to customise little things like this.

I have thought about adding a settings menu to BetterLib, There are a few variables it would be nice for the user to control. I will possibly implement this in the future.
I appreciate the question/suggestion, and I hope I cleared it up.
Feel free to contact me on discord @sowgro, I would be welcome to explain how the projects work in more detail.


Error: unknown command "authn" for "istioctl"

Running the istioctl cli with authn argument as instructed on this document results with this error:
Error: unknown command "authn" for "istioctl"

version numbers:
istioctl version
client version: 1.7.3
control plane version: 1.7.3
data plane version: 1.7.3 (7 proxies)

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 04e91998-d53d-5074-5c67-0f9f031bc26c
Version Independent ID: 989fa4fe-e7a8-2003-6a89-73beaade1b80
Content: Use Istio for intelligent routing - Azure Kubernetes Service
Content Source: articles/aks/servicemesh-istio-scenario-routing.md
Service: container-service
GitHub Login: @paulbouwer
Microsoft Alias: pabouwer

@guybartal Thank you for your feedback! We will review and update as appropriate.

@guybartal istioctl 1.6+ does not support authn tls-check (based on this PR)
So, I have assigned the issue to content author to check and update the document with instruction reference to istio 1.6+

@paulbouwer
Can you please check and add your comments on this doc update request as applicable.

Thank you for the feedback.
We've added a task to our backlog and will prioritize accordingly.
#please-close


Tile opacity and 'group' backgrounds

Feature Request:
Consider allowing each tile background image to have an opacity set within the config.js
Consider allowing a background image to be defined in config.js for each group and for that too to have an optional opacity value.

What do you mean by group background?

When you define a group like the 'First Group' in your default config.js - that's what I'm meaning.  So that it is then a background to all the items that you then include in that group.   Each group wcould have a background and as they are each defined with a width and a height you should be able to size the backgrounds accordingly.  They would sit above the page background and behind the tiles and they would be removed (along with the group tiles) when you changed pages.

Tbh do not see reason for doing background for groups in our case, though we can make some basic style object for groups, so you'll be able to make background for them. In the other hand background opacity for tiles have sense, will look into it

OK.. it’s not a big need for me.  It just allows people to create visually nicer presentations as you can’t use the main background for this as it’s static across all pages. i.e. maximises customisation.
I suppose one usage might be where you are displaying groups that are in fact rooms, and you might put an outline floorplan or image of the room behind the items that are in that group to provide easier identification of where the particular item is e.g. for lights or door open sensors.

I have found a way around this request for group backgrounds (by just using an oversized and overlapping tile) which works really well. So I'll withdraw that feature request.
Thanks for implementing bgOpacity so promptly ..
I'll close this issue now.

I have found a way around this request for group backgrounds (by just using an oversized and overlapping tile) which works really well. So I'll withdraw that feature request.
Thanks for implementing bgOpacity so promptly ..
I'll close this issue now.

Hello,
I have the same request as you for the same need!
How do you do to have a background image for a group?
Thank you


Automocking doesn't work for some dependencies

I'm scratching my head why some dependencies may not be mocked in my module. Here is the rough outline:
// NewProjectPage.js
import AddressACField from 'components/forms/AddressACField'; // mocked
import ParcelPicker from 'components/forms/ParcelPicker'; // NOT mocked

// __tests__/NewProjectPage.js
jest.dontMock('../NewProjectPage');

This is probably because I was using a constructor from a dependency in that file, which was of course undefined because it was being automocked.


Version match warning: allow for mixed versions of 1.5.1 and 1.6.x for dual-version scheme

Changes:

Don't warn the user of mismatched versions if they're using a supported combo like 1.5.1 and 1.6.x.
Continue to not warn users when they have an exact version match

Example of 1.6.1 (mocked) and 1.5.1 (mocked) being allowed without warning.

Example of 1.4.3 (mocked) and 1.6.1 (mocked) triggering a warning, as user should upgrade their older 1.4.3 install

This is related to work being done in #1163

@djwhatle Ahh, yes. I did misread the conditionals here. I see that the only mismatching allowed is when one cluster is 1.5.z and the other is 1.6 or newer. But currently we don't care whether it's the control cluster that's newer or the remote cluster. I don't know whether we need to tighten this up or not. But yeah, on the migrating from new to old velero problem, that would probably need to be a migplan validation, since on the migcluster list we don't know what cluster is expected to be used as a src vs. destination, etc. So I'm assuming that in the 1.6.0 time frame we don't really expect much velero version skew. 1.5.1+1.6.0 would be 1.6.2 and 1.6.3. Maybe 1.5.2 moves up to 1.6.3, but I don't imagine that we'll get velero 1.7 in time to put that into MTC 1.6. Since the difference between Velero 1.6.2 and 1.6.3 is really just the availability of v1 CRDs, migrating either direction shouldn't really be a problem here.

But currently we don't care whether it's the control cluster that's newer or the remote cluster. I don't know whether we need to tighten this up or not.

There's one scenario I can think of where a user might want to do this: if they must migrate from OCP 3.11 to 4.9, and for network reasons they have to use OCP 3.11 as their control cluster.

on the migrating from new to old velero problem, that would probably need to be a migplan validation, since on the migcluster list we don't know what cluster is expected to be used as a src vs. destination, etc.

+1, maybe we can add this if we see breaking changes coming down the pipe in Velero Backup format?

@djwhatle If we expect 1.5.1 control clusters with 1.6 remote clusters, we'll want to cherry-pick this change to release-1.5.1 right? (or would this go into 1.5.2 in parallel with the 1.6.0 release?) Either way, by the time a user has 1.6 remote clusters, if we intend to support 1.5 control clusters with them, we'll probably want the validation relaxed there as well.


Pass instance of trait ServerResponseHandler[R]

fixes #1085

Codecov Report

Merging #1198 (fcecdc7) into main (0d840bb) will increase coverage by 0.05%.
The diff coverage is 76.92%.

@@            Coverage Diff             @@
##             main    #1198      +/-   ##
==========================================
+ Coverage   58.57%   58.63%   +0.05%
==========================================
  Files          74       74
  Lines        2460     2461       +1
  Branches       79       78       -1
==========================================
+ Hits         1441     1443       +2
+ Misses       1019     1018       -1

Impacted Files
Coverage Δ

...io-http/src/main/scala/zhttp/service/Handler.scala
78.26% <66.66%> (+3.26%)
:arrow_up:

zio-http/src/main/scala/zhttp/http/Http.scala
65.74% <100.00%> (ø)

zio-http/src/main/scala/zhttp/service/Server.scala
48.61% <100.00%> (+0.72%)
:arrow_up:

...erver/content/handlers/ServerResponseHandler.scala
96.77% <100.00%> (+0.10%)
:arrow_up:

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 0d840bb...fcecdc7. Read the comment docs.


Avoid out-of-bounds error in subtype checks

Motivation
Fixes #1132 and fixes #1168 by checking for an out-of-bounds index in subtyping checks.
Test plan

See included automated tests. Added fuzzed test case.

Okay, I wanted to go through and find out whether this was a situation where alignTypeArgs was doing something bad and the fix should be there instead, but in this case, I think alignTypeArgs is doing the right thing—finding arguments that don't line up and putting noSymbol() in the aligned position—and we should instead just be defensive about going over the edge of the array.


Error, font not found (but actually found?)

I set a font to UI components with a URL and I get this warning at startup:
Warning: could not download/set font https://raw.github.com/int-brain-lab/iblviewer/main/assets/fonts/SourceSansPro-Regular.ttf -> Using default: https://raw.github.com/int-brain-lab/iblviewer/main/assets/fonts/SourceSansPro-Regular.ttf
It looks like it's reporting something that is not an issue. Is it possible to disable this print function?

Thanks -  I'll remove the wrong error message.

Do you prefer I create a PR to remove that line or would you like to do it? It would help to have this small change committed today...
Btw, I'm not sure but this issue happens when I add a Text2D with font set as constructor param.

I'll push a new version in a while.

try out:
pip install -U git+https://github.com/marcomusy/vedo.git

Hmm, it's actually worse, now it segfaults the whole application.
Could not set font file https://raw.github.com/int-brain-lab/iblviewer/main/assets/fonts/SourceSansPro-Regular.ttf -> Using default: https://raw.github.com/int-brain-lab/iblviewer/main/assets/fonts/SourceSansPro-Regular.ttf
Fatal Python error: Cannot recover from stack overflow.
Python runtime state: initialized

Current thread 0x00000001134c95c0 (most recent call first):
  File "/opt/anaconda3/envs/iblenv/lib/python3.8/site-packages/vedo/colors.py", line 1050 in printc
  File "/opt/anaconda3/envs/iblenv/lib/python3.8/site-packages/vedo/utils.py", line 465 in getFontPath
  File "/opt/anaconda3/envs/iblenv/lib/python3.8/site-packages/vedo/utils.py", line 472 in getFontPath

try again:
pip install -U git+https://github.com/marcomusy/vedo.git
e.g.:
from vedo import *

# this would be NON valid, because it would apply to 3D text too, but ttf is only 2D:
# settings.defaultFont = "https://raw.github.com/int-brain-lab/iblviewer/main/assets/fonts/SourceSansPro-Regular.ttf"

s = Sphere().wireframe()

t1 = Text2D("some text",
            font="https://raw.github.com/int-brain-lab/iblviewer/main/assets/fonts/SourceSansPro-Regular.ttf",
)

show(s, t1, axes=1).close()

Thanks, it works but now I have even more warnings (probably as many as UI components that use a label).
Since some users want to run the app from the console, we don't want such info printed at all. If you'd like to keep all the print functions in vedo and that you call printc() all the time, then maybe add a boolean option in vedo.settings that printc will check and return before printing anything if this is disabled.
reading SourceSansPro-Regular.ttf from raw.github.com ... done.
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf
using cached file: /var/folders/2l/zdf0str94330yfnmk87zl0bh0000gn/T/SourceSansPro-Regular.ttf

that's a info message issued by vedo.io.download(), I added verbose=False to it so now it should be fine:
pip install -U git+https://github.com/marcomusy/vedo.git

Perfect, thank you!


Added blue/yellow bubble effect as background

https://user-images.githubusercontent.com/28152920/178352209-e3bbec1d-49dd-47a9-a4e8-55ed4b0e0a4a.mp4

@TheHllm had to revert this, the CPU usage increased beyond reasonable limits. You you know whether the effect can be achieved in a more efficient way?

Yes, a video would have far less cpu usage, but would also mean that the effect has to loop at some point.
Using webgl could also yield some performance.


Migration to another server

Description of your feature
Imagine that I have to migrate to another server and I have 800 tenants, how should I pass the mysql users? for so many users?
Proposed behavior
use one user for all mysql connections
Current behavior
create the same accounts manually on the new server, it is unsustainable

Information

hyn/multi-tenant version:
laravel version:

Migrate the system database... run artisan tenancy:recreate (https://tenancy.dev/docs/hyn/5.6/commands#recreate-command) to recreate the tenant databases, database users, and tenant filesystem directories... then import the tenant databases to overwrite the ones that got created.  This will leave the users untouched and maintain access to the appropriate tenant database.


Add MetadataInventoryEvent processor and API

Create Kafka processor for MetadataInventoryEvent, call the API with json.
API to handle MetadataInventoryEvent json and store info into dataset_inventory table.

Ship it.


Vertical singleaxis position

Brief Information
This pull request is in the type of:

[x] bug fixing
[ ] new feature
[ ] others

What does this PR do?
The width of rect should have affect on vertical single axis layour.
Fixed issues
Close #13784
Details
Before: What was the problem?

After: How is it fixed in this PR?

Usage
Are there any API changes?

[ ] The API has been changed.

Related test cases or examples to use the new APIs
NA.
Others
Merging options

[ ] Please squash the commits into a single one when merge.

Other information

This change will put the axis in the center of rect, which is not expected I think. The axis should be on the left when vertical, as it should be on the bottom when horizontal.
Also, I noticed the issue is about the NaN value in SVG render mode. I'm not sure about the relationship between this fix and the issue.

This change will put the axis in the center of rect, which is not expected I think. The axis should be on the left when vertical, as it should be on the bottom when horizontal.
Also, I noticed the issue is about the NaN value in SVG render mode. I'm not sure about the relationship between this fix and the issue.

Also, I noticed the issue is about the NaN value in SVG render mode. I'm not sure about the relationship between this fix and the issue.

NaN was cause by missing position for singleAxis
{
    id: idx,
    orient: 'vertical',
    top: 6,
    //bottom:0,
    type: 'category',
    boundaryGap: false,
    data: hours,
    left: idx * (100),
    //height: 80,
    axisLabel: {
        interval: 2
    },
    width: 400,
    position: 'left'
}

Also, I noticed the issue is about the NaN value in SVG render mode. I'm not sure about the relationship between this fix and the issue.

NaN was cause by missing position for singleAxis
{
    id: idx,
    orient: 'vertical',
    top: 6,
    //bottom:0,
    type: 'category',
    boundaryGap: false,
    data: hours,
    left: idx * (100),
    //height: 80,
    axisLabel: {
        interval: 2
    },
    width: 400,
    position: 'left'
}

This change will put the axis in the center of rect,

@pissang The simple way to solve this issue it's add a  new option offset to control singleAxis. Just like grid which has no affect on singleAixs. This option would give user ability to control singleAixs layout
PS: only for vertical axis now, if you think this were worthy, I'll continue.


Crash using repeat

After latest upgrade my plugin started to crash in view-slot coming from repeat handleSplices. It tries to do view.insertNodesBefore but the view is a promise:).
Goto http://oribella.github.io/aurelia-sortable/#/flickr. Start dragging an image and turn on break on expections and you will see the problem.

@martingust I know you are messing around in there already. Would you mind taking a look at this please?

@stoffeastrom When dragging an image I get Cannot read property 'classList' of null from animator.css is that what you get as well?

@martingust No I don't get that. Are you running it locally?

@stoffeastrom Ok, in Firefox I can see this and in Chrome the above. Will look into it.

This is due the removeAt() function in view-slot now returns a Promise instead of the actual view when the view is animated. Working to find a solution to this, hang in there.


Setting CursorGrabMode to Locked or Confined doesn't work during the first few frames (Ubuntu X11)

Bevy version
0.14.2
[Optional] Relevant system information
Ubuntu 22.04.2 LTS
X11
What you did
I am trying to set my cursor's CursorGrabMode to either Locked or Confined during Startup
pub fn lock_mouse(mut primary_window: Query<&mut Window, With<PrimaryWindow>>) {
    let window = &mut primary_window.single_mut();
    window.cursor.grab_mode = CursorGrabMode::Confined;
}

What went wrong
with grabmode set to confined the mouse is not confined to the window and I get this error
ERROR bevy_winit::winit_windows: Unable to grab cursor: the requested operation is not supported by Winit

with grabmode locked the same thing happens and I get this error
ERROR bevy_winit::winit_windows: Unable to grab cursor: os error at /home/knar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/winit-0.30.5/src/platform_impl/linux/x11/window.rs:1551: Cursor could not be confined: confine location not viewable

Additional information
After some poking around I figured out that this was only happening if I tried to set the CursorGrabMode during startup or on the first frame in a normal Update system, but if I wait until the third frame to set the cursor grab mode it seems to work. Because of the cached state of the CursorGrabMode I can't just set it every frame.
I dumped the Window object into the console and noticed two properties were different when it works vs when it doesn't work:
When it doesn't work, Window.position is "Automatic" and Window.internal.physical_cursor_position is "None"
When the Window.position has an "At" position and Window.internal.physical_cursor_position has a "Some" value, there are no errors.
For now my workaround is to check that Window.position is not Automatic but that feels janky. It would be nice if setting CursorGrabMode did not cache the grab mode if there is an error while setting, or if I could detect the error and handle it myself.

For some reason when I test this in the bevy repo by modifying one of the examples, it works as expected.

After removing the following from my cargo.toml, it works as expected - currently trying to narrow down which one causes the issue

This line in the cargo.toml seems to be causing this
[profile.dev.package."*"]
opt-level = 3

Thanks for narrowing it down! Now we just need to figure out a solution.


Refactor request code

Refactor request code
Generally speaking, in my opinion, a commit message should explain what refactoring you applied, and why it is beneficial.

About the .prettierrc file:
https://prettier.io/docs/en/options.html
{
    "singleQuote": true, // I keep it because it makes quote type easier to chose, default to false depending on the content of the string
    "printWidth": 100, // Could remove it, default to 80
    "tabWidth": 2, // Can remove it, default to 2
    "semi": true, // Can remove it, default to true
    "trailingComma":"all", // Could remove it, default to "es5"
    "arrowParens": "avoid" // Could remove it, default to "always"
}

About the .prettierrc file:
https://prettier.io/docs/en/options.html
{
    "singleQuote": true, // I keep it because it makes quote type easier to chose, default to false depending on the content of the string
    "printWidth": 100, // Could remove it, default to 80
    "tabWidth": 2, // Can remove it, default to 2
    "semi": true, // Can remove it, default to true
    "trailingComma":"all", // Could remove it, default to "es5"
    "arrowParens": "avoid" // Could remove it, default to "always"
}

I would remove bottom 2.

About the .prettierrc file:
https://prettier.io/docs/en/options.html
{
    "singleQuote": true, // I keep it because it makes quote type easier to chose, default to false depending on the content of the string
    "printWidth": 100, // Could remove it, default to 80
    "tabWidth": 2, // Can remove it, default to 2
    "semi": true, // Can remove it, default to true
    "trailingComma":"all", // Could remove it, default to "es5"
    "arrowParens": "avoid" // Could remove it, default to "always"
}

I would remove bottom 2.

@oubchid What do you think about it?

@oubchid What do you think about it?

I prefer to keep trailingComma to all it keep git blame correct and is a minimal diff

I can agree, with what you are saying, but missing comma after argument should come up when running tests, since it will be a compilation error. Not mentioning, that IDE (not Notepad++) would also notify about odd method signature.

I can agree, with what you are saying, but missing comma after argument should come up when running tests, since it will be a compilation error.

When running tests you mean by the continuous integration?
It is checked and corrected locally by Husky when comitting.
The command lint (and lint:fix depending on lint) does not run yet on tests directory (probably forgotten it), but it detects these problems.

Not mentioning, that IDE (not Notepad++) would also notify about odd method signature.

Well it seems it compiles, maybe not on every versions. I use VSCode, and the plug-ins to check for methods signatures do not detect errors.

When running tests you mean by the continuous integration?

Was thinking about tests, that developer should run before making a commit.

When running tests you mean by the continuous integration?

Was thinking about tests, that developer should run before making a commit.

Ok, developers could run linter before committing, but Husky (a dependency installed by npm) will do it for them when committing anyway.
Continuous integration will run linter too.


Use log4net 1.2.11

There is a new version of log4net and if you want to use with topshelf there seems to be an error with the previous version

I'm having the same problem.

I've been using NuGet recently, and because of this you have to change the default log4net it installs as a dependency to the 1.2.10 version

For me one reason to use log4net 1.2.11 version is that now it supports .NET 4.0 Client Profile. But I think Topshelf itself depends on System.Web. Please also consider if you could drop this dependency as well.

Bump.  Would like to use topshelf with NuGet and it seems like an easy fix.

Really annoying issue :( looking forward to a fix soon


[SPARK-15952] [SQL] fix "show databases" ordering issue

What changes were proposed in this pull request?
Two issues I've found for "show databases" command:

The returned database name list was not sorted, it only works when "like" was used together; (HIVE will always return a sorted list)

When it is used as sql("show databases").show, it will output a table with column named as "result", but for sql("show tables").show, it will output the column name as "tableName", so I think we should be consistent and use "databaseName" at least.

How was this patch tested?
Updated existing test case to test its ordering as well.

Test build #60517 has started for PR 13671 at commit d6b0f86.

Looks good. Can you add unit tests for each of the cases you mentioned?

for issue 1, I have updated the existing test case for testing this (the original one just tests the count of the result). for issue 2, it is minor and just a text change.

ah I see, that's fine then. LGTM

Test build #60517 has finished for PR 13671 at commit d6b0f86.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/60517/
Test PASSed.

Merging in master/2.0.

thanks for merging!


Index decorators

Implements feature request from #393.

This feature is released with<EMAIL_ADDRESS>🎉


Update new readthedocs docs to address Platform.sh issues. Resolves #158

Include the platformshconfig pip dependency
Smol spelling fixes.

As discussed in #158

Thank you for this. I almost got bit by this omission in the live demo at DjangoCon. Fly deployments weren't working for me because I had pushed so much that morning, and I thought of using Platform.sh but went with Heroku during the demo. If I had used platform.sh I probably wouldn't have forgotten the platformshconfig requirement.
FYI, there is a note to remove local dependence on platformshconfig before 1.0.


CD isn't working reliable

Since 28th of January we facing issues with the configured CD via Code-Commit.
After committing a change the amplify deployment isn't triggered any longer.
Steps to reproduce:

Connect Branch via Code-Commit (Mono-Repository) => Deployment runs sucessfull

Commit change to code-commit => Deployment is triggered, layout has changed, but deyployment seems be be fine

a.	Trigger Event from CodeCommit to SNS Topic “amplify_codecommit_topic

{
                "Records": [
                                {
                                                "awsRegion": "eu-central-1",
                                                "codecommit": {
                                                                "references": [
                                                                                {
                                                                                "commit": "a3125a399a30635e9204c6b8241d07ce046e14e9",
                                                                                "ref": "refs/heads/master"
                                                                                }
                                                                ]
                                                },
                                                "customData": "xxxxxxxxx",
                                                "eventId": "569aae6e-1934-4f9c-a54a-36eb1f8a18e9",
                                                "eventName": "ReferenceChanges",
                                                "eventPartNumber": 1,
                                                "eventSource": "aws:codecommit",
                                                "eventSourceARN": "arn:aws:codecommit:eu-central-1:xxxxxxxxxx:xxxxxxxxxBook",
                                                "eventTime": "2021-02-01T19:45:08.963+0000",
                                                "eventTotalParts": 1,
                                                "eventTriggerConfigId": "76c1da5d-2dcb-4688-97ac-9d70ab2e88c9",
                                                "eventTriggerName": "AmplifyTrigger-xxxxxxxxx",
                                                "eventVersion": "1.0",
                                                "userIdentityARN": "arn:aws:iam::xxxxxxxxxx:user/xxx"
                                }
                ]
}

Any additional change to code-commit will not trigger new deployments
a. 	Trigger Event from CodeCommit to SNS Topic “amplify_codecommit_topic

{
                "Records": [
                                {
                                                "awsRegion": "eu-central-1",
                                                "codecommit": {
                                                                "references": [
                                                                                {
                                                                                "commit": "d863984ba212dd0be0b10306264d036597504e15",
                                                                                "ref": "refs/heads/master"
                                                                                }
                                                                ]
                                                },
                                                "customData": "xxxxxxxxx",
                                                "eventId": "d59f1c77-a931-439b-9b7d-3fedde52da97",
                                                "eventName": "ReferenceChanges",
                                                "eventPartNumber": 1,
                                                "eventSource": "aws:codecommit",
                                                "eventSourceARN": "arn:aws:codecommit:eu-central-1:xxxxxxxxxx:xxxxxxxxxBook",
                                                "eventTime": "2021-02-01T19:59:28.348+0000",
                                                "eventTotalParts": 1,
                                                "eventTriggerConfigId": "76c1da5d-2dcb-4688-97ac-9d70ab2e88c9",
                                                "eventTriggerName": "AmplifyTrigger-xxxxxxxxx",
                                                "eventVersion": "1.0",
                                                "userIdentityARN": "arn:aws:iam::xxxxxxxxxx:user/xxx"
                                }
                ]
}

b.	Build-History is broken and dosn't display anything
c.	Deployment Logs only avilable by manipulation of URL

We are facing the exact same issue.  Auto deploy was working fine for months until a few days ago.  It appears it may be an issue with Amplify's subscription to the SNS topic.  I've added a second subscription to the topic that sends me an email and I can see that CodeCommit is indeed dropping a message on the SNS topic because I receive an email when I push a commit, but Amplify doesn't run the auto build/deploy.  I've also added a webhook to manually deploy and this works fine.  The behavior I see is that if I run a manual deploy via the webhook, then the very next auto deploy will run successfully.  I see the same odd layout changes in the UI mentioned by @chkrause where it shows the green "deployment successfully completed" progress bar rather than the provision/build/test/deploy/verify steps.  After that successful build, subsequent code commit changes will not trigger an auto deploy.  We get the same behavior if we disconnect the branch and then re-connect it.  The first commit will trigger an auto deploy but subsequent ones do not.  We have all the exact symptoms described by @chkrause such as empty build history, no deployment logs, etc.

Resolving due to age - please re-open if you are still experiencing issues.


Reduce page cache pressure during I/O heavy operations

This also brings in the fadvise-enabled docker daemon
fixes resin-os/resinos#162

I just realised that this PR has to wait for a proper release of meta-resin that will include resin-os/meta-resin#499

@petrosagg would these changes also help on other boards like the RPI3? I have see some of these devices also go into RO, its not as often, but does happen

@agherzan agreed. fixed both issues

@shaunmulligan now, we haven't observed these kind of memory problems on other boards. However all boards will inherit the fadvise enabled docker when we update meta-resin in them

@petrosagg we will need a 1.X version of this PR too. As soon as we have that as well we can go ahead and merge these. I would like to avoid merging them separately to keep them tracked and synced.


⚠ HDBits has degraded performance

In c2e636d, HDBits ($HDB) experienced degraded performance:

HTTP code: 200
Response time: 7361 ms

Resolved: HDBits performance has improved in 247157a after 24 minutes.


option to toggle text wrapping in log viewer

Is your feature request related to a problem? Please describe.
my applications sometimes have very long logs, but the most important data is at the start of the line. the text wrapping makes each line start hard to distinguish, and i would rather just be able to scroll to the right if i do want to look at more of the logs.
Describe the solution you'd like
I would like there to be an option/keybinding to toggle text wrapping.
Describe alternatives you've considered
Opening the docker logs in a terminal and using less to disable wrapping.

Added for the next version: View > Word Wrap

thank you!

Released in v1.2.0.


Having issue with Medplum Postgresql

This opensource work well on local development. However, when I deployed to Azure, I have several problems
Firstly, the dashboard app always shows loading indicator despite the server-side return status code 200. I realized that the graphql api call does not return data structure for FE to render UI. Why???

Secondly, the server is running ok, but after a period of time, it returns error read ECONNRESET. Although the application health check return 200 successfully, but It makes me feel uncomfortable :))

I realized that the migration process is not run properly, so it cannot define structure definition for graphql works as expected.

Hi @S1mpleOW, sorry we didn't get to your initial inquiry in time. I'm glad you were able to figure it out though. Does this mean that the issue has been resolved?

No, I'm still facing with TCP ECONNRESET :(


Example

Hi,
Can someone give a clear tutorial of how to use this package with google tag manager in ReactJS?
Basic steps to follow will be great.
From my observation, using this component does not work but when I insert the tag manager script manually in the index.html, tag manager works.
Perhaps I am missing the basic initialization process.

@smithaitufe Hi there! Do you mind telling me where are you stuck? All the initialization and usage of the component are in the readme of the repo, maybe it could be improve, but we will need to know what are the parts that are not clear.

@lordenzo So this was what I did.
After installing package, I wrote the codes below.
const tagManagerArgs = {
            gtmId: config.GOOGLE_TAG_MANAGER_ID
        }
        TagManager.initialize(tagManagerArgs);

Thereafter, I created a component that monitors changes in location and sends information of the page through dataLayer.
const page = pathname + search
    const { location } = window
    TagManager.dataLayer({
        dataLayer: {
            page: `${location.origin}${page}`,
        },
        dataLayerName: "Page",
    })

That is all I did.

@smithaitufe That looks correct. Please make sure that the initialize part is in your root/main.[js|ts], wherever you are defining the ReactDOM.render of your app.
The second part should go in whatever page/component you want the data to be pushed to the dataLayer.

@lordenzo That is the way it is actually.
Do I need to include any reference in the index.html?

@lordenzo Keep this in mind
https://github.com/alinemorelli/react-gtm/issues/28

I had problems getting this working. I was using the tag manager script and this module as the website has static and react pages:

However, adding this script with the module caused the module-side code not to work. Removing the above tag manager script and only using this react-gtm-module worked for me.

As it has not had recent activity, I will close this issue, if you still having problem to implement let me know.


Add a license

Could you please add a license? I would like to use the Python code.

@kskyten The code is now MIT licensed.


Open source mod

can you share the source for this mod please? I'd like to make pull requests in case I want to fix bugs.

I support this


How to select the child dropdown of the jira api

For eg : I want to select the dropdown having customfield_IdValue:1 and value "ABC".
Or any other method to select the child dropdown of jira api using karate ?

follow this process to reopen, or use stack overflow: https://github.com/karatelabs/karate/wiki/How-to-Submit-an-Issue


Doesn't support Bootstrap 3.4.1

Rails 5.2.3; Ruby 2.6.3.
I replaced Bootstrap 3.3.7 with 3.4.1 (the current V3 release) and the application crashes in I18n-js. Is 3.4.1 supported?

How does it "crash"?
Server crash? Or JS error?


Feature slice indexing

I had to change the way the loop was done so that I could "advance" the fields whenever we hit a slice field (not sure if that was the best approach though, I was trying not to change the function so much).
Basically, every time we find a slice field, we step into lookupSliceField and do the indexing, returning the value found (after indexing) and the correct number of increments the control loop variable should do (aka skip the indexing fields in the current loop).
I also needed to add a books.json file so that I could cover indexing.

Sorry for not answering for a lot of time. However, since the PR was submitted, many changes have been done to the structure, and actually the v2 branch is the only supported one. If you would like to re-submit this targeting the v2 branch, I'll really appreciate it. Otherwise, I'll have to close this.


GMail logo vertically stretched

Bug description: The GMail logo is vertically stretched in the vertical 'app bar' on the left.

Steps to reproduce: click 'add service' and find 'Gmail' - notice that the logo is correctly shaped. Then proceed to actually add the service, and see that the logo is vertically stretched.
Expected behavior Display the same logo version as in the services overview.

Screenshots

Environment:

Operating System: Ubuntu

Ferdi Version: 5.6.0 nightly 71

Server: Using without an account

Debug information:

Fixed in https://github.com/getferdi/recipes/pull/577


Add organiser description and events fragment

As discussed in today's meeting
Working on it 👍

to be done after #4928 gets resolved on server side

There are organizer details in event itself

@iamareebjamal we actually wanted it to list other events under the organiser as in EventBrite App,
for that relationship to organiser should be there in the event itself .
Or we can divide it into two PR the list of events can be added later when issue is resolved.
Views?

It is already present on server, that's how we list stuff in Orga App

@iamareebjamal I am sharing a typical response of event details below
  "data": {
        "type": "event",
        "attributes": {
            "has-organizer-info": true,
            "ical-url": null,
            "organizer-description": "sahi banda hai",
            "is-sponsors-enabled": true,
            "is-map-shown": false,
            "can-pay-by-stripe": true,
            "searchable-location-name": null,
            "onsite-details": null,
            "payment-country": "india",
            "can-pay-onsite": true,
            "is-ticketing-enabled": true,
            "icon-image-url": null,
            "payment-currency": "INR",
            "location-name": null,
            "thumbnail-image-url": null,
            "code-of-conduct": "",
            "xcal-url": null,
            "pentabarf-url": null,
            "state": "published",
            "deleted-at": null,
            "created-at": "2018-03-20T02:50:25.329512+00:00",
            "name": "seminar on functional programming",
            "large-image-url": null,
            "description": "the lextire will be a great experience",
            "longitude": null,
            "can-pay-by-paypal": true,
            "ticket-url": null,
            "ends-at": "2018-03-21T05:49:00+00:00",
            "identifier": "7e426698",
            "original-image-url": null,
            "schedule-published-on": null,
            "bank-details": null,
            "starts-at": "2018-03-21T02:49:12.208000+00:00",
            "latitude": null,
            "can-pay-by-cheque": true,
            "is-sessions-speakers-enabled": true,
            "cheque-details": null,
            "organizer-name": "sridhar",
            "privacy": "public",
            "external-event-url": null,
            "is-tax-enabled": true,
            "paypal-email": null,
            "timezone": "Asia/Calcutta",
            "logo-url": null,
            "can-pay-by-bank": true
        },
        "relationships": {
            "event-sub-topic": {
                "links": {
                    "self": "/v1/events/76/relationships/event-sub-topic",
                    "related": "/v1/events/76/event-sub-topic"
                }
            },
            "sessions": {
                "links": {
                    "self": "/v1/events/76/relationships/sessions",
                    "related": "/v1/events/76/sessions"
                }
            },
            "feedbacks": {
                "links": {
                    "self": "/v1/events/76/relationships/feedbacks",
                    "related": "/v1/events/76/feedbacks"
                }
            },
            "tracks": {
                "links": {
                    "self": "/v1/events/76/relationships/tracks",
                    "related": "/v1/events/76/tracks"
                }
            },
            "event-copyright": {
                "links": {
                    "self": "/v1/events/76/relationships/event-copyright",
                    "related": "/v1/events/76/event-copyright"
                }
            },
            "microlocations": {
                "links": {
                    "self": "/v1/events/76/relationships/microlocations",
                    "related": "/v1/events/76/microlocations"
                }
            },
            "session-types": {
                "links": {
                    "self": "/v1/events/76/relationships/session-types",
                    "related": "/v1/events/76/session-types"
                }
            },
            "speakers-call": {
                "links": {
                    "self": "/v1/events/76/relationships/speakers-call",
                    "related": "/v1/events/76/speakers-call"
                }
            },
            "speakers": {
                "links": {
                    "self": "/v1/events/76/relationships/speakers",
                    "related": "/v1/events/76/speakers"
                }
            },
            "ticket-tags": {
                "links": {
                    "self": "/v1/events/76/relationships/ticket-tags",
                    "related": "/v1/events/76/ticket-tags"
                }
            },
            "social-links": {
                "links": {
                    "self": "/v1/events/76/relationships/social-links",
                    "related": "/v1/events/76/social-links"
                }
            },
            "custom-forms": {
                "links": {
                    "self": "/v1/events/76/relationships/custom-forms",
                    "related": "/v1/events/76/custom-forms"
                }
            },
            "faqs": {
                "links": {
                    "self": "/v1/events/76/relationships/faqs",
                    "related": "/v1/events/76/faqs"
                }
            },
            "tickets": {
                "links": {
                    "self": "/v1/events/76/relationships/tickets",
                    "related": "/v1/events/76/tickets"
                }
            },
            "tax": {
                "links": {
                    "self": "/v1/events/76/relationships/tax",
                    "related": "/v1/events/76/tax"
                }
            },
            "event-topic": {
                "links": {
                    "self": "/v1/events/76/relationships/event-topic",
                    "related": "/v1/events/76/event-topic"
                }
            },
            "event-type": {
                "links": {
                    "self": "/v1/events/76/relationships/event-type",
                    "related": "/v1/events/76/event-type"
                }
            },
            "sponsors": {
                "links": {
                    "self": "/v1/events/76/relationships/sponsors",
                    "related": "/v1/events/76/sponsors"
                }
            },
            "faq-types": {
                "links": {
                    "self": "/v1/events/76/relationships/faq-types",
                    "related": "/v1/events/76/faq-types"
                }
            }
        },
        "id": "76",
        "links": {
            "self": "/v1/events/76"
        }
    },
    "links": {
        "self": "/v1/events/76"
    },
    "jsonapi": {
        "version": "1.0"
    }
}

Relationship with organiser and coorganiser is not there, In orga app I guess we already have organiser id when he logs in and then we can easily get list of events under him/her still I will check how it works in orga app

@simarsingh24 I don't understand the requirement here. See, the organizer can choose whether he/she wants to reveal his/her information to the public or not.
You can use event.hasOrganizerInfo to check if the info is present or not. If yes, then use event.organizerName and event.organizerDescription to get the details. As @iamareebjamal stated, they are already in the event. Check in the list of fields here: https://open-event-api-dev.herokuapp.com/#events

Cool, I understood the requirement but this needs to be discussed with the mentors before I can make changes to the server for it.


hey, having a few issues getting this working

Hi, could you please hit me up on freenode when you have a moment. Having a few issues getting this working with current builds of cm-14.1
I'm NucWin on #lineageos-dev we have spoke before but i cannot for the life of me remember your irc nick.
ps all your info/social stuff on your website. but no email address to be found anywhere. hence why im here

Hi, that's fine. Feel free to drop your question here. Maybe can be useful to other using this project too.

ok ive had it setup for a while. and its been working fine. recently it has stopped working.
i can still see the page requests in nginx logs and they are returning 200. Ive copied the request and visited in my browser and json is being returned with my zips. but phone always says there is no updates.

11-14 18:01:23.598 30852  8965 D DownloadClient: Download failed
11-14 18:01:23.598 30852  8965 D DownloadClient: java.net.ProtocolException: Expected ':status' header not present
11-14 18:01:23.598 30852  8965 D DownloadClient: 	at com.android.okhttp.internal.http.FramedTransport.readNameValueBlock(FramedTransport.java:197)
11-14 18:01:23.598 30852  8965 D DownloadClient: 	at com.android.okhttp.internal.http.FramedTransport.readResponseHeaders(FramedTransport.java:104)
11-14 18:01:23.598 30852  8965 D DownloadClient: 	at com.android.okhttp.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:907)
11-14 18:01:23.598 30852  8965 D DownloadClient: 	at com.android.okhttp.internal.http.HttpEngine.-wrap0(HttpEngine.java)
11-14 18:01:23.598 30852  8965 D DownloadClient: 	at com.android.okhttp.internal.http.HttpEngine$NetworkInterceptorChain.proceed(HttpEngine.java:892)
11-14 18:01:23.598 30852  8965 D DownloadClient: 	at org.lineageos.updater.download.OkHttpDownloadClient$2.intercept(OkHttpDownloadClient.java:157)
11-14 18:01:23.598 30852  8965 D DownloadClient: 	at com.android.okhttp.internal.http.HttpEngine$NetworkInterceptorChain.proceed(HttpEngine.java:869)
11-14 18:01:23.598 30852  8965 D DownloadClient: 	at com.android.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:750)
11-14 18:01:23.598 30852  8965 D DownloadClient: 	at com.android.okhttp.Call.getResponse(Call.java:268)
11-14 18:01:23.598 30852  8965 D DownloadClient: 	at com.android.okhttp.Call$ApplicationInterceptorChain.proceed(Call.java:224)
11-14 18:01:23.598 30852  8965 D DownloadClient: 	at com.android.okhttp.Call.getResponseWithInterceptorChain(Call.java:195)
11-14 18:01:23.598 30852  8965 D DownloadClient: 	at com.android.okhttp.Call.-wrap0(Call.java)
11-14 18:01:23.598 30852  8965 D DownloadClient: 	at com.android.okhttp.Call$AsyncCall.execute(Call.java:162)
11-14 18:01:23.598 30852  8965 D DownloadClient: 	at com.android.okhttp.internal.NamedRunnable.run(NamedRunnable.java:33)
11-14 18:01:23.598 30852  8965 D DownloadClient: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
11-14 18:01:23.598 30852  8965 D DownloadClient: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
11-14 18:01:23.598 30852  8965 D DownloadClient: 	at java.lang.Thread.run(Thread.java:761)
11-14 18:01:23.598 30852  8965 E UpdatesActivity: Could not download updates list

Seems having http2 enabled for one of my other sites was applying to all sites.
after removing http2 and restarting my sever it is now downloading the list and seems to be working although its still showing an error in logcat
11-14 18:28:33.152 30852 10858 D DownloadClient: Downloading
11-14 18:28:33.157 30852 10858 D DownloadClient: Download complete
11-14 18:28:33.158 30852 30852 D UpdatesActivity: List downloaded
11-14 18:28:33.158 30852 30852 D UpdatesActivity: Adding remote updates
11-14 18:28:33.176 30852 30852 D UpdaterController: Adding download: b717250563977e398719df5fd4cbfabf9d5da1429616b2f16ba6fe94a1ffa39e
11-14 18:28:33.176 30852 30852 D UpdaterController: Download (b717250563977e398719df5fd4cbfabf9d5da1429616b2f16ba6fe94a1ffa39e) already added
11-14 18:28:33.176 30852 30852 D UpdaterController: Adding download: b89bc95435aa20d55bcaa9eb1992d56e7828029aa073df6ec735c9897340db08
11-14 18:28:33.176 30852 30852 D UpdaterController: Download (b89bc95435aa20d55bcaa9eb1992d56e7828029aa073df6ec735c9897340db08) already added
11-14 18:28:33.201 30852 30852 E UpdatesActivity: Could not read json
11-14 18:28:33.201 30852 30852 E UpdatesActivity: org.json.JSONException: End of input at character 0 of
11-14 18:28:33.201 30852 30852 E UpdatesActivity: 	at org.json.JSONTokener.syntaxError(JSONTokener.java:449)
11-14 18:28:33.201 30852 30852 E UpdatesActivity: 	at org.json.JSONTokener.nextValue(JSONTokener.java:97)
11-14 18:28:33.201 30852 30852 E UpdatesActivity: 	at org.json.JSONObject.(JSONObject.java:156)
11-14 18:28:33.201 30852 30852 E UpdatesActivity: 	at org.json.JSONObject.(JSONObject.java:173)
11-14 18:28:33.201 30852 30852 E UpdatesActivity: 	at org.lineageos.updater.misc.Utils.parseJson(Utils.java:125)
11-14 18:28:33.201 30852 30852 E UpdatesActivity: 	at org.lineageos.updater.misc.Utils.checkForNewUpdates(Utils.java:191)
11-14 18:28:33.201 30852 30852 E UpdatesActivity: 	at org.lineageos.updater.UpdatesActivity.processNewJson(UpdatesActivity.java:331)
11-14 18:28:33.201 30852 30852 E UpdatesActivity: 	at org.lineageos.updater.UpdatesActivity.-wrap2(UpdatesActivity.java)
11-14 18:28:33.201 30852 30852 E UpdatesActivity: 	at org.lineageos.updater.UpdatesActivity$5$2.run(UpdatesActivity.java:381)
11-14 18:28:33.201 30852 30852 E UpdatesActivity: 	at android.os.Handler.handleCallback(Handler.java:751)
11-14 18:28:33.201 30852 30852 E UpdatesActivity: 	at android.os.Handler.dispatchMessage(Handler.java:95)
11-14 18:28:33.201 30852 30852 E UpdatesActivity: 	at android.os.Looper.loop(Looper.java:154)
11-14 18:28:33.201 30852 30852 E UpdatesActivity: 	at android.app.ActivityThread.main(ActivityThread.java:6186)
11-14 18:28:33.201 30852 30852 E UpdatesActivity: 	at java.lang.reflect.Method.invoke(Native Method)
11-14 18:28:33.201 30852 30852 E UpdatesActivity: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
11-14 18:28:33.201 30852 30852 E UpdatesActivity: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)

I'm sorry but I can't help you much with that. As long as it downloads, it seems that the JSON is fine. Feel free to ask on the related XDA Thread.
Best regards.


Support cursorcolumn and colorcolumn toggling on focus

Similar to cursorline, it'd be nice to toggle cursorcolumn and colorcolumn options.

We have a PR here. This might do the trick! I will get this added in for you. I am just catching up with things as I have been extremely busy lately. So now that some things out of the way, I will get around to sorting this out
https://github.com/beauwilliams/focus.nvim/pull/56

Closed with f51e36c337651d3577a57e6d5dd7694e6b426fae 👍


Namespaced broker upgrade tests

Fixes #

Proposed Changes

Read broker class env var passed by Prow in upgrade tests
We will later use this to run upgrade tests for namespaced broker

Release Note

Docs

Do we know, why on the release branch we had to do this:
https://github.com/knative-sandbox/eventing-kafka-broker/pull/2736/files
I don't know if the "branch" job are configured differently, or where to change those /cc @aliok

/test channel-integration-tests-sasl-plain

@matzew https://github.com/knative/test-infra/pull/3587 should fix the release process issue for 1.8 and for new branches.

/test channel-integration-tests-sasl-plain

Why a standalone job for upgrade test of this new class, IMHO the upgrade test should be for both classes, what if classes are upgradable in isolation but they don't work with each other?

Downstream, we won't use this solution, so we need another one for downstream (which is not good) ...

IMHO the upgrade test should be for both classes

isn't the there one test that reads the passed enviroments?  Or do you mean the one test is invoked separately, with different args passed in.
Perhaps yes, we have tests in parallel, that are "namespaced" and "global"?

what if classes are upgradable in isolation
Are they  upgradable in isolation?

but they don't work with each other?
perhaps we have a test that tests them together - instead the two different execution?

what if classes are upgradable in isolation

Are they upgradable in isolation?

Maybe yes, but that's not the way we ship our software so we're not testing how users would upgrade the software.

but they don't work with each other?

perhaps we have a test that tests them together - instead the two different execution?

Yes, we should add upgrade tests for namespace broker as part of the upgrade test suite https://github.com/knative-sandbox/eventing-kafka-broker/blob/main/test/upgrade/suite.go

I am ok with testing both classes in one go. Let me craft a PR for that.

@pierDipi @matzew Ready for initial review.

Added new test functions for namespaced broker

/test reconciler-tests-namespaced-broker

/unhold


How to prevent the android back button from executing action

[Edit]: I found the topic deep in the archive of issues. Look like it's an old issue. So never mind this post. Thanks!
I have a simple case: a stack navigator with home and login.
In home the isLoggedIn si checked and execute navigate({ routeName: 'login' }).
I want to prevent users pressing the android back button to go back to home.
How can this be achieved ?
Obviously, only for that case. The android back button must trigger back actions for other cases.
Thanks for help.

See #1081
Also, I believe instead of disabling back button, you could change getStateForAction of your router to not pop scene from stack when certain conditions are met.

In my case once user logged in should not route to login page on back action of android button and below logic work for me.(Assuming we are in Login page )
import { NavigationActions } from 'react-navigation';
const resetAction = NavigationActions.reset({
index: 0,
actions: [
NavigationActions.navigate({ routeName: 'Home' }),
]
});
this.props.navigation.dispatch(resetAction);
and if want to pass params then add 'params' key as below
const resetAction = NavigationActions.reset({
index: 0,
actions: [
NavigationActions.navigate({ routeName: 'Post' }),
],
params:{'id':1,'postId':'1234'}
});
this.props.navigation.dispatch(resetAction);

params are undefined  when i try to send params:{'id':1,'postId':'1234'}

hi there! if this is still a bug can you create a new issue that reproduces the bug on https://snack.expo.io? thanks!


deployment via SCCM leads to errors at starting Powertoys

Environment
Windows build number: Microsoft Windows [Version 10.0.17763.1098] x64 1809 LTSC
PowerToys version: 0.16
PowerToy module for which you are reporting the bug (if applicable): all

Steps to reproduce
Installing Powertoys via SCCM with some parameters: msiexec /i "PowerToysSetup-0.16.0-x64.msi" /qn /norestart /l* "%windir%\logs\powertoys_install_0.16_x64.log" - installation OK but if i check the log file i see those lines:
ExecNetFx:  Failed to compile C:\Program Files\PowerToys\modules\ImageResizer.exe because this image is a 64bit assembly; try using 64bit ngen instead.
ExecNetFx:  Uninstalling assembly C:\Program Files\PowerToys\modules\ImageResizer.exe because of an error during compilation: Failed to compile C:\Program Files\PowerToys\modules\ImageResizer.exe because this image is a 64bit assembly; try using 64bit ngen instead.
ExecNetFx:  File is PE32+. (Exception from HRESULT: 0x80131D02)
ExecNetFx:  Error 0xffffffff: Command line returned an error.
ExecNetFx:  failed to execute Ngen command (with error 0xffffffff): C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\ngen.exe install "C:\Program Files\PowerToys\modules\ImageResizer.exe", continuing anyway
complete log attached
powertoys_install_0.16_x64.log
After starting Powertoys via start menu an installation window appears again, explorer closes and starts again, opened explorer windows dont come back, i can do this in a never ending cycle
if i start powertoys.exe directly from explorer it will be opened and i can do settings and so on but
resizer function in file explorer not available (powerrename is available)
Remember SCCM is using system account to install software!
Expected behavior
install, executing and running without closing file explorer (may not possible because of tweaking users registry - i dont know..) and resize function should be availabe
Actual behavior
Rename function is working, resize not
If i install it manually it works as expected
Screenshots

you can check the same behaviour with "psexec64 -i -s cmd.exe" and do the installation from there

i can honestly say we never tried SCCM install for this.

with that said, this little bit raised an eyebrow
ExecNetFx: Failed to compile C:\Program Files\PowerToys\modules\ImageResizer.exe because this image is a 64bit assembly; try using 64bit ngen instead.
ExecNetFx: Uninstalling assembly C:\Program Files\PowerToys\modules\ImageResizer.exe because of an error during compilation: Failed to compile C:\Program Files\PowerToys\modules\ImageResizer.exe because this image is a 64bit assembly; try using 64bit ngen instead.

This problem should be re-tested after we fix the issue with ImageResizer being installed per user while the rest of PowerToys is installed per machine.

This problem should be re-tested after we fix the issue with ImageResizer being installed per user > while the rest of PowerToys is installed per machine.

Its not a good idea to install one part per user and the other per machine. If you would install via SCCM the per user installation will end in SYSTEM user context...

@saxomania that is the exact issue we are solving :)

ok misunderstanding, i thought this is the solution :)

@Saxomania
can you confirm that the problem is still present in 0.18?

can you confirm that the problem is still present in 0.18?

same problem if i check msi installation logfile:
ExecNetFx:  Failed to compile C:\Program Files\PowerToys\modules\ImageResizer.exe because this image is a 64bit assembly; try using 64bit ngen instead.
ExecNetFx:  Uninstalling assembly C:\Program Files\PowerToys\modules\ImageResizer.exe because of an error during compilation: Failed to compile C:\Program Files\PowerToys\modules\ImageResizer.exe because this image is a 64bit assembly; try using 64bit ngen instead.
ExecNetFx:  File is PE32+. (Exception from HRESULT: 0x80131D02)
ExecNetFx:  Error 0xffffffff: Command line returned an error.
ExecNetFx:  failed to execute Ngen command (with error 0xffffffff): C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\ngen.exe install "C:\Program Files\PowerToys\modules\ImageResizer.exe", continuing anyway
but image resizer is now working and after installation via SCCM no installation dialogue appearing on first start
just a quick review...

which component need windows desktop runtime? Powertoys launcher is crashing under default user (without admin rights)
Application: PowerLauncher.exe
CoreCLR Version: 4.700.20.20201
.NET Core Version: 3.1.4
Description: The process was terminated due to an unhandled exception.
Exception Info: System.TypeLoadException: Could not find Windows Runtime type 'Microsoft.Toolkit.Win32.UI.XamlHost.XamlApplication'.
at PowerLauncher.App.Main()
Eventid 1026
Name der fehlerhaften Anwendung: PowerLauncher.exe, Version: <IP_ADDRESS>, Zeitstempel: 0x5e222541
Name des fehlerhaften Moduls: KERNELBASE.dll, Version: 10.0.17763.1192, Zeitstempel: 0x7889407f
Ausnahmecode: 0xe0434352
Fehleroffset: 0x0000000000039709
ID des fehlerhaften Prozesses: 0x20f4
Startzeit der fehlerhaften Anwendung: 0x01d634e8b0a930ba
Pfad der fehlerhaften Anwendung: C:\Program Files\PowerToys\modules\launcher\PowerLauncher.exe
Pfad des fehlerhaften Moduls: C:\WINDOWS\System32\KERNELBASE.dll
Berichtskennung: bf700879-a3c1-4ecb-a3ad-15468e101953
Vollständiger Name des fehlerhaften Pakets:
Anwendungs-ID, die relativ zum fehlerhaften Paket ist:
Eventid 1000
Reinstalling Runtime is not helping, Powertoys windows appears after quitting error message so i want to know which component needs this runtime?

PowerToys Run (aka PowerLauncher) and the new Settings app (the one used on Windows 10 1903 and higher)
Maker sure to install this https://dotnet.microsoft.com/download/dotnet-core/thank-you/runtime-desktop-3.1.4-windows-x64-installer

If you are running on a older version of Windows, PowerLauncher.exe will not work.
We have an open issue to make sure it doesn't get called.

If you are running on a older version of Windows, PowerLauncher.exe will not work.
We have an open issue to make sure it doesn't get called.

ok got it now, running 1809 and powerlauncher.exe is throwing a visible error under default user, no visible error under admin user but both times you will see mentioned errors in event viewer

@Saxomania we've done a lot of fixes and we now have the EXE installer that properly boot straps all needed dependencies ((here are the possible args as of 0.22 for things like silent installing)[https://github.com/microsoft/PowerToys/wiki/Installer-arguments-for-exe])
Can you retest?  We feel like this may be resolved but don't have an easy way to test

@crutkas hi, i tried 0.20.1 in august and it was working perfectly (no autostart after installing, no error message, no event log error) but i did not mentioned it. shame on me. Are the arguments also valid for MSI installer? I prefer MSI instead of EXE, makes life easier in mass deploying.

We are planning to do exe only since it solves a lot of bootstrapping issues.

Exe will auto start PowerToys as well after install, FYI

@Saxomania
we have a flag to not autostart PT after it has been installed https://github.com/microsoft/PowerToys/wiki/Installer-arguments-for-exe


Not compatible with latest go.opentelemetry.io/otel version(s)

I recently upgraded all my go packages one of those updates were alot of go.opentelemetry.io/otel/ modules
my go mod file
go_mod.txt
currently using github.com/axiomhq/axiom-go v0.18.0
And I am getting conflicting Schema URL: https://opentelemetry.io/schemas/1.25.0 and https://opentelemetry.io/schemas/1.24.0 which is most likely caused by https://github.com/axiomhq/axiom-go/blob/06adf551248b9431dc86bb3df306c27aa1353952/axiom/otel/trace.go#L17
After downgrading some of the otel modules to 1.24.0 instead of 1.27.0 it works again

Ups, my bad. There recently was a new OTel release that bumped the semconv package they import in the SDK. The way we create the "resource" conflicts if we are not in sync with that import statement. There even is a comment about it in our source code.
In the future I want to implement a better approach to get rid of that relationship as this forces OTel and Axiom users to keep specific versions of OTel and Axiom in sync.
But for now, it's sane to fix this by bumping OTel to the latest release and updating to<EMAIL_ADDRESS>I created this PR.

Going to tag v0.18.1 once all tests on main are good.

thanks!


Language options

I didn't see the language option in the setting. Does it apply language according to system language?

Yepp


Remix server runs (by NX) and fails after short time without not specific error

Reproduction
First of all, I know that's it could be the issue with @nx/remix runner, but if not might be can help me here?

Navigate to the project directory in the terminal.
Run the command nx serve web to start the NX Remix application.
Observe that the process enters into a recursive or infinite loop.
Attempt to connect to the local server at <IP_ADDRESS>:3000.
Observe the ECONNREFUSED error.

System Info
System:
    OS: macOS 14.2.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 48.20 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 21.0.0 - ~/.nvm/versions/node/v21.0.0/bin/node
    Yarn: 1.22.21 - /opt/homebrew/bin/yarn
    npm: 10.2.0 - ~/.nvm/versions/node/v21.0.0/bin/npm
    Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
  Browsers:
    Chrome: 123.0.6312.59
    Safari: 17.2.1
  npmPackages:
    @remix-run/css-bundle: ^2.8.1 => 2.8.1
    @remix-run/dev: ^2.8.1 => 2.8.1
    @remix-run/eslint-config: ^2.8.1 => 2.8.1
    @remix-run/node: ^2.8.1 => 2.8.1
    @remix-run/react: ^2.8.1 => 2.8.1
    @remix-run/router: ^1.15.3 => 1.15.3
    @remix-run/serve: ^2.8.1 => 2.8.1
    @remix-run/testing: ^2.8.1 => 2.8.1

Used Package Manager
npm
Expected Behavior
Expected Behavior: The nx serve web command should start the NX Remix application without additional infinite connection logs. The application should run and listen on <IP_ADDRESS>:3000 without refusing connections.
Actual Behavior
Current Behavior: When running the nx serve web command to start the NX Remix application, the process infinitely logs "Connecting on <IP_ADDRESS>:3000" every second. The app works. The process runs indefinitely until it's suddenly stopped. Additionally, when trying to connect to the local server at <IP_ADDRESS>:3000, the connection is refused with an ECONNREFUSED error.

Could you provide a minimal reproduction repo?

@brophdawg11 basically, the issue is only on my own Mac, all the rest developers aren't struggling with this
I cleaned caches, node modules, updated remix and nx, and still the same result
I'm mostly asking about any assumptions or suggestions on where to look or what to change in some configs
Before adding additional logging to see connecting by nx server before Remix started, I was sure it's a watcher issue, but now I see it starts to connect before the remix build started
my remix app project file
{   "name": "web",   "$schema": "../../node_modules/nx/schemas/project-schema.json",   "sourceRoot": "apps/web",   "projectType": "application",   "tags": [],   "targets": {     "build": {       "executor": "@nx/remix:build",       "outputs": ["{options.outputPath}"],       "options": {         "outputPath": "dist/apps/web"       },       "configurations": {         "production": {           "sourcemap": false         },         "development": {           "sourcemap": true         }       }     },     "lint": {       "executor": "nx:run-commands",       "options": {         "command": "eslint ./src/**/*.{ts,tsx}",         "cwd": "{projectRoot}"       }     },     "lint-nx": {       "executor": "@nx/eslint:lint",       "outputs": ["{options.outputFile}"],       "options": {         "lintFilePatterns": ["apps/web/src/**/*.{ts,tsx}"]       }     },     "serve": {       "executor": "@nx/remix:serve",       "options": {         "port": 3000       }     },     "start": {       "dependsOn": ["build"],       "command": "remix-serve build",       "options": {         "cwd": "apps/web"       }     },     "typecheck": {       "command": "tsc",       "options": {         "cwd": "apps/web"       }     },     "storybook": {       "executor": "@nx/storybook:storybook",       "options": {         "port": 4400,         "configDir": "apps/web/.storybook"       },       "configurations": {         "ci": {           "quiet": true         }       }     },     "build-storybook": {       "executor": "@nx/storybook:build",       "outputs": ["{options.outputDir}"],       "options": {         "outputDir": "dist/storybook/web",         "configDir": "apps/web/.storybook"       },       "configurations": {         "ci": {           "quiet": true         }       }     },     "test-storybook": {       "executor": "nx:run-commands",       "options": {         "command": "test-storybook -c apps/web/.storybook --url=http://localhost:4400"       }     },     "static-storybook": {       "executor": "@nx/web:file-server",       "options": {         "buildTarget": "web:build-storybook",         "staticFilePath": "dist/storybook/web"       },       "configurations": {         "ci": {           "buildTarget": "web:build-storybook:ci"         }       }     },     "docker-build": {       "dependsOn": ["build"],       "command": "docker build -f apps/web/Dockerfile . -t web"     }   } }

seems the issue that original dev serve run it on locahost and nx trying to connect to <IP_ADDRESS> but can't
when run custom server with listen(port, process.env.HOST || '<IP_ADDRESS>',...) can access it by <IP_ADDRESS>
can I modify host?


pkg/agent/cniserver: fix typos in comments

Came accross some typos in in pkg cniserver while code-reading.

/skip-all


LGTM.com - false positive Python 3.6: f-string with a tuple inside braces show the SyntaxError.

Description of the false positive
Python 3.6: f-string with a tuple inside braces show the SyntaxError.

It is valid and tested in pytest
f"({shape[0], shape[1]}), ({shape[2], shape[3]})"

URL to the alert on the project page on LGTM.com
https://lgtm.com/projects/g/TheAlgorithms/Python/snapshot/adb05a7df87d9b1f8518d7bc1d19db4f2f98d3d9/files/matrix/matrix_operation.py?sort=name&dir=ASC&mode=heatmap#x7b42a1e228ab0aad:1

A fix for this has been created, and it should hopefully go live within the next few weeks. I will close this issue at that point.


Flattened aspects 🌌 🕉

All aspects generally follow the pattern:
on(selector, 'connected > updated > disconnected', () => {
// init
return () => {
  // update (multiple times)
  return () => {
    // destroy
  }
}
})

Can that be flattened?
// lifecycle aspect
spect(selector, async () => {
  await on(el, 'connected')
  // init

  for await (const e of on(el, 'changed')) {
    // update
  }

  // destroy
})

// draggable aspect
spect('.draggable', async () => {
  await on(el, 'mousedown touchstart')
  // init

  for await (const e of on(el, 'mousemove touchmove')) {
    // update
  }

  // destroy
})

// preloadable aspect
spect('.preloadable', async el => {
  await is(attr(el).loading, true)

  let content = [...el.childNodes]
  html`<${el}><progress.material-progress/></>`

  await is(attr(el).loading, false)
  html`<${el}>${ content }</>`
})

That can be impossible to for await, followed by await of something else.
Yield-based design:
on('.ap-table-content', 'connected > changed > disconnected', el => {
  // init
  yield 'connected'
  // init

  while (yield 'changed') {
    let { groups } = state(el)
    // update
  }

  yield 'disconnected'
  // destroy
})

Event-based predefined events design:
on('.draggable', 'mousedown > mousemove > mouseup', e => {
  await e.mousedown
  // init drag

  for await ( const e of e.mousemove) {
    // drag update
  }

  // end drag
})

Actually, following that pattern, any event that is not mousemove can be treated as end of mousemove:
spect('.draggable', el => {
  await on('mousedown touchstart')
  // init

  for await (const e of on('mousedown touchmove')) {
    // update
  }

  // destroy
})

This logic flattens multiple aspects in one too. In fact it makes each aspect be indeed atomic and effect-less: it awaits for a set of deps and pushes forward, so each aspect becomes an effect. No implicit forks like then are available within single aspect:
// loading data aspect
spect('#app', el => {
  let id = await change(route('id'))
  attr(el).loading = true
  state(el).user = await loadData
  attr(el).loading = false
})

// rendering aspect
spect('#app', el => {
  let [loading, user] = await change(attr(el).loading, state(el).user)
  html`<${el}>${ loading ? 'loading' : user.name }</>`
})

That is good and bad at the same time. It makes aspects really clear - deps and conditions are unidirectional. Same time, no forks allowed (like useEffect).
Keep researching. use('#app') looks very similar to await change($('#app')).

Reforming spect(() => { let el = $('.selector')}), spawning aspect for each el into direct aspecter fn
$('.selector', el => {
  // ...
})

Makes code shorter and removes redundant methods. Let's see:
$('.ap-table-content', async el => {
  $((groups = store.groups) => {
    html`<${el}>${groups.map(group => html`

        ${ group.name }
        TODO
        ${ group.description }
        N
        <button
          group=${group}
          class="ap-group-menu-button mdc-icon-button material-icons mdc-theme--text-icon-on-light"
          data-mdc-ripple-is-unbounded="true">more_horiz</button>

    `)}</>`
  })
})

But then it basically turns aspector into DOM-effect accessor with subscriptions:
$(deps, fn)

// which is with $ as DOM-accessor:
use($(selector), fn)

So, because we can't (?) make deps a separate entry, we have no choice but to read deps in spect flow code:
use(() => {
  // deps
  let el = $(selector)
  let val = attr(el).value
  ...
  await smth
  // another deps
})

What if we'd find way to declare deps separately?
use($('#app'), async (el) => {
  // load data aspect
  use(route('users/:id'), ({ id }) => {
    attr(el).loading = true
    state(el).user = await ky.get`./api/user/${ id }`
    attr(el).loading = false
  })
  use([state(el, 'user'), attr(el).loading], async (user, loading) => {
    html`<${el}.preloadable>

${ attr(el).loading ? `Hello, ${ user.name }!` : `Thanks for patience...` }

    </>`
  })
}

// looks great for almost everything, until we face direct aspect:
use([$('.preloadable'), attr(el).loading], async (el, loading) => {
  if (!loading) return

  let progress = html`<progress.progress-circle />`
  el.append(progress)

  await attr(el).loading
  el.remove(progress)
})

As we see, putting elements with their effects in a single flat deps list makes it messy for stateful aspects, like preloadable. Therefore

Ok, at least some things are reasonable.

on('.selector', 'connected') is better than use('.selector', el => {}) - no extra unknown method introduced.
fx(() => {  get deps here }) is better than run(() => {  fx(deps, () => {})  }) - conceptually, checking deps on change is the same as subscribing deps. What can be the problems of merging aspect into fx? No extra method introduced this way, solved deps issues.
await on(el, event) can be useful within effect fx(async () => {  await on('.selector', 'connected') }).

After admin-portal some patterns reveal.
Turns out, often components need to be replaced:
use(selector, el => {
  el.replaceWith(html`...wrapped <${el}> augmented </>`)
})

// would be shorter to
use(selector, (el, props) => {
  return html`.... modified html`
})

Done in atomic approach. Awaitable effects.


⚠ Fortnite has degraded performance

In 6c062f1, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1652 ms

Resolved: Fortnite performance has improved in 71484ad.


split rpm tests out so they are easier to exclude for mac buildkite runs

Doing this now will make it easier to get write the test specification for buildkite.
We can't do any rpm tests on macos or windows until #29 is fixed.

This is really to get in shape to add more windows tests.


RemoveFromScene method is not working

During the time of executing RemoveFromScene method in procthor,  the execution of the environment is paused. Please tell how to solve this problem?

Hi @sourav1998ghosh1998, can you point to the line that is using RemoveFromScene? I believe we switched to using DisableObject due to exactly this issue.


Not working on RHEL7?

I'm having some issues with this module on RHEL (not CentOS, real RHEL).
This module defines the repo baseurl as https://packages.gitlab.com/gitlab/gitlab-ce/el/$releasever/$basearch
However, on real RHEL, that evaluates as https://packages.gitlab.com/gitlab/gitlab-ce/el/7Server/x86_64/, however https://packages.gitlab.com/gitlab/gitlab-ce/el/7Server/x86_64/repodata/repomd.xml is 404.
It seems to me that when calculating the repository URL on RedHat-based systems, the module should probably just use the OS major release in Puppet, instead of relying on $releasever in yum.

This is fixed in the next release: https://github.com/vshn/puppet-gitlab/pull/14

Oops, I'm sorry. I'll pull in master...


converted all queries to prepared statements

converted them and tested with my local mysql.

Thanks for your contribution !


Auto-link URLs in server-side validation error messages

The URLs in the error message strings received from the API should be automatically rendered as clickable URLs that open the link in a new window.

Could you give an example? Which error messages do you mean? Thank you.

It shouldn't really matter as the idea is that any URL should be clickable, if shown within a validation error by the API.
Here's one, though:

OK, got it.
Nitpicking: This error message is from the UI, not from the API.

Yeah bad example :) - of course we want the same behaviour also for those in the UI codebase.


OpenAPI3 Multipart bytes inside a json part should be treated as type: string, format: byte

PR fixed issue with having multipart produce type: string, format: binary when the part is bytes https://github.com/microsoft/typespec/pull/2702
However this fix has the after effect of mistreating bytes inside a multipart json part which should then remain type: string, format: byte

est: 2


Add types to HTTP::StaticFileHandler

This adds types to StaticFuleHandler initialize and move the assignment to the arg assignemnt

Hm, this is technically a breaking change because things HTTP::StaticFileHandler.new("", fallthrough: nil) did work before this change. I don't think there would be any reasonable justification for that, but it's possible 🤷
So maybe we should add an unrestricted overload just to be safe?
# :ditto:
@[Deprecated]
def self.new(public_dir : String, fallthrough = true, directory_listing = true)
  new(public_dir, fallthrough: fallthrough, listing: listing)
end

Why add the breaking change label again? It should no longer be due to the new overload.

It adds a depreciation and deprecations are marked as breaking changes.

Don't we now have a separate deprecation tag

Oops right. Guess I was out on vacation for too long 😏


updated troubleshooting.md

Added solution to the error ENOSPC on Linux when running hexo server

Thanks! :+1:


Dashboard Export/Download to PDF will be introduced?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@RajuKevda Can you complete the template? You left the descriptions there.

@RajuKevda - 2nding @MarcusSorealheis .  You need to fill out the template.
From what you are describing, you would like to have a rendering of the page with your charts in PDF, similar to a print command, without the header/navbar present - is that correct?

@RajuKevda - 2nding @MarcusSorealheis . You need to fill out the template.
From what you are describing, you would like to have a rendering of the page with your charts in PDF, similar to a print command, without the header/navbar present - is that correct?

Yes Eric,
I need to save the tabular/paginated reports as PDF, also save a dashboard view as PDF


Create required directories.

Trying to install fails on DigitalOcean VPSs because the assumed directories don't exist. This creates them before using them.

On which distro did you not have a /root? I've tried this on about a dozen distros and every single one had it.

I ran into this problem on the DigitalOcean 15.10 image. I don't think the problem is that the distribution doesn't have it but it appears that this script is run before the first build of the system (just suspicion, I haven't actually confirmed) but this patch fixes the issue. It is very reproducible giving an error "file doesn't exist" on theln call.


Filters don’t work at all.

As you can see from these screenshots, filters of all kinds don’t function in any way, shape, or form. Not in multireddits, and not in regular subreddits. I am using an iPhone 8 with iOS 13.6, Slide TestFlight version 5.4, build 170.

Hello! The domain should v.redd.it not v.reddit.com. Reddit Videos are considered "gifs" in app, although I'll add that to the filtering list for videos as well. Enabling either of those filters should work for you


Add more navigation levels

How can be added new navigation levels on navmenu?
I try to add newone like second level navigation but not show it...
i want something like
-MENU1
--SUBMENU1.1
--SUBMENU1.2
-MENU2
--SUBMENU2.1
--SUBMENU2.2
--SUBSUBMENU2.2.1
--SUBSUBMENU2.2.2

I'm using this template in my project. How to resize 'content' when sidenav open?

Can you show how implement the 3 level ?

@arturbp
We have no idea here
now we use css to apply your request
https://github.com/trendmicro-frontend/react-sidenav/blob/master/examples/Default/index.jsx#L67
https://github.com/trendmicro-frontend/react-sidenav/blob/master/examples/Default/index.jsx#L14

How can be added new navigation levels on navmenu?
I try to add newone like second level navigation but not show it...
i want something like
-MENU1
--SUBMENU1.1
--SUBMENU1.2
-MENU2
--SUBMENU2.1
--SUBMENU2.2
--SUBSUBMENU2.2.1
--SUBSUBMENU2.2.2

Can we please give us the example how to implement a subnav inside a subnav using this component

Any updates to this request? Specifically @reshmiagarwal request?
We are also looking at needing a 3rd level. We successfully use 2 levels very well. But now need something like this:
-Menu1
--Menu1.1
--Menu1.1.1
--Menu1.2
--Menu1.3
--Menu1.3.1
Thanks!


Documentation: correct the default reviver

Seq.Keyed does not have .Map, and the default reviver indeed uses .toMap.

Duplicate of #1424

Thank you for fixing this! I did merge  #1424 which does the same thing. Going to close this PR


Settings page blank on macOS 10.15

Operation System: macOS 10.15 (Beta) 19A471t
Beaker version: 0.8.8

Open Settings
Try to close the Settings tab

The Settings page is blank. It’s impossible to close the tab without closing the window. Restarting the browser with session restore restores the impossible-to-close-tab.
beaker://dat-dns-cache/ is also affected. Other internal pages work fine.
Console error:

objc[2485]: couldn't dlopen libobjc-trampolines.dylib: dlopen(/usr/lib/libobjc-trampolines.dylib, 262): no suitable image found.  Did find:
/usr/lib/libobjc-trampolines.dylib: file system sandbox blocked stat()

Hmm yikes. I'll look into it, thanks

I have the same issue. Note that I also get a node stacktrace just before the described error is printed
Error: Request failed: 500
    at /Applications/Beaker Browser.app/Contents/Resources/app.asar/node_modules/nat-upnp/lib/nat-upnp/device.js:151:27
    at Parser.<anonymous> (/Applications/Beaker Browser.app/Contents/Resources/app.asar/node_modules/xml2js/lib/xml2js.js:199:18)
    at Parser.emit (events.js:182:13)
    at SAXParser.saxParser.onclosetag (/Applications/Beaker Browser.app/Contents/Resources/app.asar/node_modules/xml2js/lib/xml2js.js:183:24)
    at emit (/Applications/Beaker Browser.app/Contents/Resources/app.asar/node_modules/sax/lib/sax.js:624:35)
    at emitNode (/Applications/Beaker Browser.app/Contents/Resources/app.asar/node_modules/sax/lib/sax.js:629:5)
    at closeTag (/Applications/Beaker Browser.app/Contents/Resources/app.asar/node_modules/sax/lib/sax.js:889:7)
    at SAXParser.write (/Applications/Beaker Browser.app/Contents/Resources/app.asar/node_modules/sax/lib/sax.js:1436:13)
    at Parser.exports.Parser.Parser.parseString (/Applications/Beaker Browser.app/Contents/Resources/app.asar/node_modules/xml2js/lib/xml2js.js:211:31)
    at Parser.parseString (/Applications/Beaker Browser.app/Contents/Resources/app.asar/node_modules/xml2js/lib/xml2js.js:6:61)
    at Request._callback (/Applications/Beaker Browser.app/Contents/Resources/app.asar/node_modules/nat-upnp/lib/nat-upnp/device.js:149:14)
    at Request.self.callback (/Applications/Beaker Browser.app/Contents/Resources/app.asar/node_modules/request/request.js:185:22)
    at Request.emit (events.js:182:13)
    at Request.<anonymous> (/Applications/Beaker Browser.app/Contents/Resources/app.asar/node_modules/request/request.js:1161:10)
    at Request.emit (events.js:182:13)
    at IncomingMessage.<anonymous> (/Applications/Beaker Browser.app/Contents/Resources/app.asar/node_modules/request/request.js:1083:12)
    at Object.onceWrapper (events.js:273:13)
    at IncomingMessage.emit (events.js:187:15)
    at endReadableNT (_stream_readable.js:1092:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
objc[47319]: couldn't dlopen libobjc-trampolines.dylib: dlopen(/usr/lib/libobjc-trampolines.dylib, 262): no suitable image found.  Did find:
        /usr/lib/libobjc-trampolines.dylib: file system sandbox blocked stat()

@the-kenny those errors might indicate something that's indirectly related but won't be 100% related. It's a background process that's attempting to contact your router's UPnP tools to improve holepunching.

I actually get a crash when opening Preferences in 10.15
Beaker Browser Helper_2019-09-18-155533_MacBook-Pro-2018.log

Also getting this as well when attempting to visit any Dat URLs.

Is this version running on Electron 4 or 5?

https://github.com/electron/electron/pull/20497

Is this version running on Electron 4 or 5?

According to https://github.com/beakerbrowser/beaker/commit/7fa1a0a815ceb9bfc3ec408cd355fd372cfdbf47 it seems to be running Electron 5.

The /usr/lib/libobjc-trampolines.dylib: file system sandbox blocked stat() crash only affects Electron 4 and lower

I have the same problem. I have two Macs, one with Catalina and the other with Mojave. And he don't work with Catalina. Maybe it's an useless information but I hope it can help to fix it


[AI Agent idea] LinguoLingo a language learning AI

Description
LinguoLingo is a language learning AI. It provides immersive language learning experiences, customizing lessons and practice exercises to help users become fluent in new languages quickly and effectively.
Additional Information
No response

/assign @manmohanhunjan


Migrate CI workflow to GItHub Actions

I want help to test and migrate the current CI workflow (travis-based) to GitHub Actions.
The new CI workflow should:

[ ] Build the Project
[ ] Run tests
[ ] Run rustfmt
[ ] Run clippy

Closed in #2.


[hotfix] Block Spam Email Domains [OSF-6976]

Purpose

Prevents users from creating an account with a spam email domain. Additionally, talks/posters cannot be submitted to conferences/meetings from a blacklisted email address, and users cannot add blacklisted email addresses as alternate emails.

Changes

Adds an extensive list of blacklisted domains to defaults.py.

Side effects

None expected.

Ticket

OSF-6976

Per request of @icereval, closing in favor of #6261 (contains small update). Consider this merged 🗽