text_changed signal for LineEdit Node is improperly emitted multiple times on mobile (iOS)

Tested versions

Reproducible in v4.2.2.stable
Tested on iOS 17.5.1

System information
Godot v4.2.2.stable - macOS 14.5.0 - Vulkan (Mobile) - integrated Apple M1 Pro - Apple M1 Pro (10 Threads)
Issue description
According to the docs for the LineEdit node, the text_changed signal is "Emitted when the text changes." I would expect that the signal would be emitted once for each letter that is typed in by the user. This works as expected when running on desktop, but does not work correctly on mobile (Tested on iOS 17.5.1).
On mobile, multiple signals are emitted with a subset of the new_text string for each letter that is typed in by the user.
The following is the output of the MRP when typing the letters "Abc" into the LineEdit text box on mobile:
In line_edit_text_changed callback
new_text: A
In line_edit_text_changed callback
new_text:
In line_edit_text_changed callback
new_text: Ab
In line_edit_text_changed callback
new_text: A
In line_edit_text_changed callback
new_text:
In line_edit_text_changed callback
new_text: Abc

The following is the correct/expected output of the same project and input on desktop:
In line_edit_text_changed callback
new_text: A
In line_edit_text_changed callback
new_text: Ab
In line_edit_text_changed callback
new_text: Abc

The main use-case that this interferes with is input validation on mobile for the LineEdit Node.
Steps to reproduce

Download MRP
Export Project -> iOS
Run project on an iOS device from xcode
Type in the LineEdit box and observe the logs for multiple signal emits per letter

Minimal reproduction project (MRP)
line_edit_mobile_bug.zip

I suspect this is due to how the mobile text input system works inherently, and not necessarily a bug in the engine, if anything it'd possibly be a lack of compensation for this specific behavior, but it might just be a limitation of how phones do input due to things like autocorrect etc. (I don't have an iPhone to try on, but I wouldn't be surprised if the way text input works there is strange compared to a PC where you just have a keyboard, the same might happen with some input processing and IME etc. even on desktop)

Could be an iOS version of this:

https://github.com/godotengine/godot/issues/50125

That's how iOS (and probably Android) virtual keyboard handling currently works, it's trying to simulate key presses, so when text changes it will send the bunch of Backspace key presses and a new text as a stream of key presses.
IME works in the different way and currently edited text portion is sent via NOTIFICATION_OS_IME_UPDATE (real LineEdit text is not updated), once it's finally committed, it is sent as a stream of key presses as well, but IME will never generate Backspace.

We probably should have some sort of direct text update API and avoid key presses in both cases. In addition to unnecessary updates, there were issues on Android with text edit going out of sync with OS virtual keyboard buffer (not sure if it was fully fixed), which are also a result of current approach.


New version: WordCloud v0.4.2

Registering package: WordCloud
Repository: https://github.com/guo-yong-zhi/WordCloud
Created by: @guo-yong-zhi
Version: v0.4.2
Commit: 7ce90ac4d961ad611437e4459379f11f41b017f9
Reviewed by: @guo-yong-zhi
Reference: https://github.com/guo-yong-zhi/WordCloud/commit/7ce90ac4d961ad611437e4459379f11f41b017f9#commitcomment-47053778

wait

But, how to re-trigger the auto-merging after blocking? It doesn't seem to work to  @JuliaRegistrator register() again.
[noblock]


pip install tensorflow on aarch64

i want to install tensorflow 2.4.0 on aarch64 platform
Processing /tensorflow-2.4.0-cp37-cp37m-linux_aarch64.whl
[11:09:13.248]Requirement already satisfied: protobuf>=3.9.2 in /archiconda3/lib/python3.7/site-packages (from tensorflow==2.4.0) (3.14.0)
[11:09:42.014]Requirement already satisfied: wheel>=0.26 in /archiconda3/lib/python3.7/site-packages (from tensorflow==2.4.0) (0.32.1)
[11:09:42.441]Collecting astunparse==1.6.3
[11:09:42.523]  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/2b/03/13dde6512ad7b4557eb792fbcf0c653af6076b81e5941d36ec61f7ce6028/astunparse-1.6.3-py2.py3-none-any.whl (12 kB)
[11:09:42.709]Collecting gast==0.3.3
[11:09:42.796]  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/d6/84/759f5dd23fec8ba71952d97bcc7e2c9d7d63bdc582421f3cd4be845f0c98/gast-0.3.3-py2.py3-none-any.whl (9.7 kB)
[11:09:42.872]Collecting absl-py>=0.7.0
[11:09:42.975]  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/bc/58/0aa6fb779dc69cfc811df3398fcbeaeefbf18561b6e36b185df0782781cc/absl_py-0.11.0-py3-none-any.whl (127 kB)
[11:09:43.066]Collecting google-pasta>=0.1.8
[11:09:43.160]  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/a3/de/c648ef6835192e6e2cc03f40b19eeda4382c49b5bafb43d88b931c4c74ac/google_pasta-0.2.0-py3-none-any.whl (57 kB)
[11:09:43.224]Collecting grpcio>=1.8.6
[11:09:44.272]  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/81/5e/168a7fa23a025beed6b7daa0981ace55e394a136db3082faed7d6cba4556/grpcio-1.34.1.tar.gz (21.1 MB)
[11:10:30.046]     |â–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–                   | 8.0 MB 276 kB/s eta 0:00:
.....
ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆ| 21.1 MB 56 kB/s
[11:11:29.107]    ERROR: Command errored out with exit status 1:
[11:11:29.118]     command: /archiconda3/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-f0c67re3/grpcio_a6bf68a58434427d8f48e4f7dce7345c/setup.py'"'"'; file='"'"'/tmp/pip-install-f0c67re3/grpcio_a6bf68a58434427d8f48e4f7dce7345c/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-jta1regk
[11:11:29.152]         cwd: /tmp/pip-install-f0c67re3/grpcio_a6bf68a58434427d8f48e4f7dce7345c/
[11:11:29.164]    Complete output (11 lines):
[11:11:29.164]    Traceback (most recent call last):
[11:11:29.165]      File "", line 1, in
[11:11:29.173]      File "/tmp/pip-install-f0c67re3/grpcio_a6bf68a58434427d8f48e4f7dce7345c/setup.py", line 229, in
[11:11:29.178]        if check_linker_need_libatomic():
[11:11:29.184]      File "/tmp/pip-install-f0c67re3/grpcio_a6bf68a58434427d8f48e4f7dce7345c/setup.py", line 179, in check_linker_need_libatomic
[11:11:29.195]        stderr=PIPE)
[11:11:29.196]      File "/archiconda3/lib/python3.7/subprocess.py", line 769, in init
[11:11:29.208]        restore_signals, start_new_session)
[11:11:29.208]      File "/archiconda3/lib/python3.7/subprocess.py", line 1516, in _execute_child
[11:11:29.218]        raise child_exception_type(errno_num, err_msg, err_filename)
[11:11:29.218]    FileNotFoundError: [Errno 2] No such file or directory: 'c++': 'c++'
[11:11:29.229]    ----------------------------------------
[11:11:29.238]ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
I think C++ is not installed on the development board aarch64++.
isn't it?
how to fix this problem?
thanks!!!

Hi @zazeje. This doesn't look like a gRPC bug. My guess is that you haven't installed a sufficient build environment, and a quick web search for No such file or directory: 'c++': 'c++' brings up a few solutions.
In the future, please follow the instructions on the new issue form and use the channels mentioned below to ask questions. For reference, new issues begin with:

PLEASE DO NOT POST A QUESTION HERE. This form is for bug reports and feature requests ONLY!
For general questions and troubleshooting, please ask/look for answers at StackOverflow, with "grpc" tag: https://stackoverflow.com/questions/tagged/grpc
For questions that specifically need to be answered by gRPC team members, please ask/look for answers at grpc.io mailing list: https://groups.google.com/forum/#!forum/grpc-io

Hi @zazeje. This doesn't look like a gRPC bug. My guess is that you haven't installed a sufficient build environment, and a quick web search for No such file or directory: 'c++': 'c++' brings up a few solutions.
In the future, please follow the instructions on the new issue form and use the channels mentioned below to ask questions. For reference, new issues begin with:

PLEASE DO NOT POST A QUESTION HERE. This form is for bug reports and feature requests ONLY!
For general questions and troubleshooting, please ask/look for answers at StackOverflow, with "grpc" tag: https://stackoverflow.com/questions/tagged/grpc
For questions that specifically need to be answered by gRPC team members, please ask/look for answers at grpc.io mailing list: https://groups.google.com/forum/#!forum/grpc-io

thanks,i know.but how to install C + + and other tools into Aarch64 development board?
At 2021-01-21 01:22:51, "Adam J Heller"<EMAIL_ADDRESS>wrote:
Hi @zazeje. This doesn't look like a gRPC bug. My guess is that you haven't installed a sufficient build environment, and a quick web search for No such file or directory: 'c++': 'c++' brings up a few solutions.
In the future, please follow the instructions on the new issue form and use the channels mentioned below to ask questions. For reference, new issues begin with:
PLEASE DO NOT POST A QUESTION HERE. This form is for bug reports and feature requests ONLY!
For general questions and troubleshooting, please ask/look for answers at StackOverflow, with "grpc" tag: https://stackoverflow.com/questions/tagged/grpc
For questions that specifically need to be answered by gRPC team members, please ask/look for answers at grpc.io mailing list: https://groups.google.com/forum/#!forum/grpc-io
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

thanks,i know.but how to install C + + and other tools into Aarch64 development board?
At 2021-01-21 01:22:51, "Adam J Heller"<EMAIL_ADDRESS>wrote:
Hi @zazeje. This doesn't look like a gRPC bug. My guess is that you haven't installed a sufficient build environment, and a quick web search for No such file or directory: 'c++': 'c++' brings up a few solutions.
In the future, please follow the instructions on the new issue form and use the channels mentioned below to ask questions. For reference, new issues begin with:
PLEASE DO NOT POST A QUESTION HERE. This form is for bug reports and feature requests ONLY!
For general questions and troubleshooting, please ask/look for answers at StackOverflow, with "grpc" tag: https://stackoverflow.com/questions/tagged/grpc
For questions that specifically need to be answered by gRPC team members, please ask/look for answers at grpc.io mailing list: https://groups.google.com/forum/#!forum/grpc-io
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.


Multiple datasources not working

I'm following the documentation to target multiple datasources:
datasource postgres {
  provider = "postgres"
  enabled = env("POSTGRES_URL")
  url = env("POSTGRES_URL")
}

datasource sqlite {
  provider = "sqlite"
  enabled = env("SQLITE_URL")
  url = env("SQLITE_URL")
}

$ echo $POSTGRES_URL
postgresql://peterp:xxx@localhost:5432/peterp?schema=public

$ prisma2 lift up
Error: Error in lift engine for rpc listMigrations:
  thread 'main' panicked at 'loading the connector failed.: DataModelErrors { code: 1001, errors: ["Expected a boolean value, but failed while parsing \"postgresql://peterp:xxx@localhost:5432/peterp?schema=public\": failed to parse bool.", "Environment variable not found: SQLITE_URL."] }', src/libcore/result.rs:997:5
stack backtrace:

Environment variable not found: SQLITE_URL.
$ export SQLITE_URL=false

$ prisma2 lift up
Error: Error in lift engine for rpc listMigrations:
  thread 'main' panicked at 'loading the connector failed.: DataModelErrors { code: 1001, errors: ["Expected a boolean value, but failed while parsing \"postgresql://peterp:xxx@localhost:5432/peterp?schema=public\": failed to parse bool."] }', src/libcore/result.rs:997:5

Expected a boolean value, but failed while parsing \"postgresql://peterp:xxx@localhost:5432/peterp?schema=public\": failed to parse bool."

For now my solution is:

Wrap the env() call in bool(): bool(env("POSTGRES_URL"))
Define the datasource that I don't want, e.g.: export SQLITE_URL=0

I'm solving this by doing the following:
datasource myDatasource {
  provider = env("PRISMA_PROVIDER")
  url = env("PRISMA_URL")
}

Multiple datasources are currently not implemented. But if you want to switch sources, you are doing it right using environment variables.

Multiple datasources are currently not implemented.

Would it make sense to add a note to the docs?
I've spent a couple of hours trying to make it work : )

@sameoldmadness probably makes sense, maybe we... either you or me... should add a pull-request to the docs?

I'll create a PR later today, if it's ok.

@pantharshit00 One more thing which I should add here is that while we can manually add the datasource by editing the schema file, it would be great if we provide ability to add multiple data sources via the CLI too. Currently if I try to add a datasource again using init, it says:
Error: Can't start prisma2 init as /path/to/mydirectory/prisma/schema.prisma exists.
Please run prisma2 init in an empty directory.

With the prisma2 init command this is kind of expected as it will try to bootstrap a new project. But I do think a dedicated command for this will add some value.
Right now we are working on a better CLI flow. Please have a look here:https://prisma-specs.netlify.com/cli/

With the prisma2 init command this is kind of expected as it will try to bootstrap a new project. But I do think a dedicated command for this will add some value.
Right now we are working on a better CLI flow. Please have a look here:https://prisma-specs.netlify.com/cli/

Really love the flow diagram which you guys have here: https://prisma-specs.prisma.now.sh/cli/figma-proxy?id=822:4
Looks like a lot of planning has gone in behind the scenes

The latest docs seems to say that multiple datasources are supported but I still have the same problem. Has this feature been implemented?

No, they are not implemented yet. Can you please point me where it is mentioned?

Sorry, to be precise, I was talking about switching between datasources depending on environment variables. As Current docs says, I was able to switch datasources with environment variables. It was a bit confusing because I needed to specify all the environment variables referred in the prisma.schema file when running prisma2 generate, otherwise it gave me an error. On the other hand, during runtime I only needed to pass the one whose datasource I want to use.

@hitochan777 We are aware of the fact that right now we require env vars as a hard dependency. #800 tracks that and we will fix that soon.

with this:
schema.prisma:
datasource myDatasource {
  provider = env("PRISMA_PROVIDER")
  url = env("PRISMA_URL")
}

.env:
PRISMA_PROVIDER=sqlite
PRISMA_URL="file:data.sqlite"

I get this error:
Error: Error in datamodel: ErrorCollection { errors: [FunctionalEvaluationError { message: "A datasource must not use the env() function in the provider argument.", span: Span { start: 0, end: 89 } }] }

Seems clear enough, you cannot use env in the provider, its embedded quite deep in the grammar actually.

@Sytten Yeh, I mean I understand what the error message says. It seems like a fairly common need to not use your production database in dev. I'd like to use SQLite locally, so I don't have to run a postgres server in docker for local dev.

Thats usually not a good idea to change database for local development since each database behave quite differently and it would be hard to optimize queries correctly. Plus with native types on the roadmap I am not sure it would even make sense to support this use case. Its so easy so spawn a DB in docker and most CI platforms have companion services you can launch to do end to end testing.

@Sytten regardless of your opinion of my dev-setup, the fact remains that the above advice no longer works. I'll also add that the main point for using prisma, for me, is that it abstracts this stuff away. I haven't had any issues if I switch database-types in prisma2, I just can't do it with an env-var (as stated above.)  If you look at the database feature support matrix you'll see that there isn't any "query optimization" I could even be doing here. It's basic (shared) types & CRUD, and regardless of which database I use, the syntax to query with prisma is identical. I'm won't be using (optional, not implemented) native-types, specifically because I value prisma's cross-database capabilities, in this situation. What do you even mean by  "optimize queries correctly" in this case? Sure, I'd be doing lots that if I was using raw SQL (I mean even field/value quoting differences between postgres, mysql, and sqlite require some care) but with any multi-database ORM, when you haven't shot yourself in the foot with native-type requirements, it's not really a thing. prisma1 could do it fine, as can knex or any other ORM, so it's not an unreasonable thing to add to this issue.

@konsumer I think https://github.com/prisma/prisma/issues/1487 will solve your problem. We intent to get rid of provider block entirely and infer database type from url

@pantharshit00 yep, that would totally cover my use-case.

Closing in favor of #1487


Run Hyprland without xwayland

hi,
I'm trying to build 'wayland only' Linux Install.
Is would be nice to be able to compile Hyprland without XWayland.

added in bebfe01d731a977c23c325dd37361f6d5f7268c2
see the wiki page for how to build with custom build flags


Migrated docs for extending property editors

Migrated and updated documentation for extending property editors and sub pages.
Added documentation about how to add support for package.manifest in Jetbrains Rider.
Images could be reused :)
Lots of links will need to be updated later
Removed the page about tag support. Not sure what this is, but it is not even correct for v8.

Looks great @bergmania ! Thanks!
I'll merge it in.
Also, I've added a note on the "Tag Support" article in the v8 docs, that it's not updated for Umbraco 7 yet, just in case.


Move Routes into another file

Wouldn't it be better to move routes into another file and export it from there to be used in app.js?

I don't see what is the advantage of moving routes into a separate file? Seems like a preference issue. I have seen people going with extremes of having only 1-5 lines of code in app.js and everything else is split into routes, middleware, starting the server, some crazy app wrappers, etc.
I find it easier when you have all the routes in one place inside app.js, and since simplicity is the main focus of this project, that's why it is the way it is.

OK sure.

will this make sub app more reuseable?
just like django, it's sub app was pluggable


New icons

Looks like ClickHouse has a redesign: https://clickhouse.com/
Need to update icons to something like:

Hi @ultram4rine
I can work in this issue.Can you please tell your requirements more if you have

Hi @amartyaroy, sure.
Here are requirements from sqltools docs: https://vscode-sqltools.mteixeira.dev/en/contributing/support-new-drivers#4-create-icons
Extension icon should be like default, but 128x128.
Also I guess #FCFF74 color would hard to see with white theme, so there are should be white variant with #000000 I guess (see how it looks in white theme of clickhouse docs at top left corner), but icons for white/dark themes aren't supported by sqltools for now (mtxr/vscode-sqltools#992), so I think I need to take a look at it.
And update package.json galleryBanner.color to something dark, I guess #000000 too:
https://github.com/ultram4rine/sqltools-clickhouse-driver/blob/241e527726778b5c259021f6fa83257b9a489b85/package.json#L47


add better questions to questions.txt

Hey!
If you could add or edit some questions in questions.txt to better suit the purpose i.e. to get a better understanding of pandas module, then please do so.
Note: I'm new to GitHub and still exploring about pull requests and all that, so it's fine if you could just reply to this.

Hello. I added a few more questions. Hope this helps!


Add Session State Caching

Add session state caching to the web service so we can scale it.

Can the Web UI be integrated with the Session State Caching service of PCF?


Abstract cropping logic in a class

One addition: how would we pass a bespoke crop area?

I think we'd just create a BespokeImageCropper with a hard coded area. This way everything else in the core logic would stay the same, with no special casing.


there should be an option to provide custom package.json in electronize start also

There is an option to provide custom package.json in electronize build but not in electronize start.
It should be there also for development purpose.
For example
electronize start /package-json "mycustom-package.json"

What do you want to do with your package.json? Have you tried the Electron HostHook feature yet?

Yes, but sometime some packages are dependent on node and electron versions also which are added in package,json
For example iohook

Electron.NET is not compatible with lower versions of Electron. It all depends on the Electron.NET versioning. As an example the next version will be: 8.31.1 - 8 stands for the supported electron version. The 31 for .NET Core 3.1 - and the 1 for our release from the new Electron version.
Compatibility for an electron / node version can be introduced with the electron-rebuild super package.
Alternatively, you can manage the Electron HostHook manually different package.json files yourself.


Hide empty breadcrumbs

Don't show breadcrumb elements with missing labels
Only shows the breadcrumb element if it has a non-empty label value.
Since links and text with empty values are not visible anyway, this
hides the trailing ">" markers.
Both valid link and text breadcrumbs should have labels, but setting
label to an empty value is an easy way to filter the breadcrumbs on
some pages.

I have no idea what magic you are doing that requires this functionality, but looks reasonable to me :+1:

@quis hiding the "New service" breadcrumb for unnamed services, so that there's no way to go from that page to edit other sections without ever entering a name (since unnamed services won't be shown in the drafts list).


Miscellaneous Suggestions and Additions

While I'm not sure you want to expand more on the contents of the mod, I have a few suggestions:
-Perhaps add stair and slab variants for each basalt block type (some are already included), also Dwemer Metal Panel stairs/slabs.
-Some more decorations to go with the Dwemer stuff would be great! In particular, modelled gaslamps with little blue flame particles that can be hung from chains, roofs, or on walls would be brilliant. Maybe also some Dwemer variants of vanilla mechanical blocks like Furnaces, Pistons, Hoppers, Droppers, Dispensers, Levers, etc. Perhaps a few simple automaton or head statues since personally I don't find the metal Gargoyles quite fit the style these blocks are going for.
-More types of stained glass would always be appreciated, though I can understand these may be difficult to design well.
-Trapdoors! Maybe even 1x2 or 2x2 trapdoors. Also variants for them and the doors which can only be opened with redstone would be a nice touch.
-Also perhaps go over the metal textures for some of the Dwemer stuff again. The blocks are beautiful already, but things like the carvings and doors and railings and panels and a few of the blocks like chains, etc. seem to have significantly less of a "metal" appearance than the fences and metal window blocks and the scale pillar, etc. It's either a color or shading difference, maybe both, it's hard to tell. The difference is admittedly kind of distracting to a stickler for details such as myself.
I know I went kind of overboard with the Dwemer suggestions. Honestly I feel like you could flesh it out into its own entirely Dwemer-Themed decoration and mechanical mod. Maybe even with creating automatons or such. I can imagine that with Embers compatability or something and that would just be positively amazing.
That said, one last suggestion- calling this stuff Dwemer may be a bad idea. Bethesda really doesn't like people using their names. Renaming to "Dwarven" would probably be a safer idea. (Not that I don't appreciate another fan of the long-lost Deep Folk of The Elder Scrolls and their architecture, devices, and style.)

The mod is in alpha and was until recently only ran on a private server.  Changes are already planned to remove the dwemer name completely as I'm well aware of Bethesda and how they behave.  The curseforge page doesn't even refer to the blocks as "Dwemer" and instead uses "Dwarven".  I appreciate the suggestions and may make some gas lights like you suggested.  I also intend to make more gargoyles and adjust the color palette for the metallics in the mod as they're imperfect.  Plus adding pinnacles, churchbells, candle racks, more stained glass, cathedral style pillars and whatever else.  Not too keen on furnaces and pistons though as this is a decoration mod.


Setting (dynamic) styles on SVG is not possible

After encountering the same issue as #24 I was going to reply on it why I think the solution given is not the best but the issue was closed so I thought of creating a new one.
I don't think creating a global.css file is a good solution or helpful at all.
One example - and my use case - is if your fill color or any other css property is dynamic..
At the moment the <svg> tag is a child of the <svg-icon> component so setting any CSS on the component itself by doing <svg-icon [ngStyle]="{'fill': getIconColor()}" src="..." is useless as it won't travel down to the <svg> element.
I think the <svg-icon> component should by default pass all the style properties to the <svg> element itself as that's the most useful thing.
If passing the ngStyle properties down to the svg element is bad practice or unachievable we could always do a different property name such as <svg-icon [svgStyle]="....">

Could you provide an example svg that you are seeing with this problem please? I have not been able to duplicate it. I am using ngStyle in the demo.

I am just not seeing the issue you are seeing. Please provide an example svg where ngStyle is not working.
Here is a StackBlitz example of the fill color changing with [ngStyle].
My component's code:
import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'my-app',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})
export class AppComponent implements OnInit {
  private colors = [
    'Red', 'Pink', 'Purple', 'Deep Purple',
    'Indigo', 'Blue', 'Light Blue', 'Cyan',
    'Aqua', 'Teal', 'Green', 'Light Green',
    'Lime', 'Sand', 'Khaki', 'Yellow', 'Amber',
    'Orange', 'Deep Orange', 'Blue Gray', 'Brown',
    'Light Gray', 'Gray', 'Dark Gray', 'Pale Red',
    'Pale Yellow', 'Pale Green', 'Pale-Blue'
  ];

  myColor = '';

  ngOnInit() {
    setInterval( () => {
      this.myColor = this.getIconColor();
    }, 1000);
  }

  randomNumber(min:number, max:number) {
      return Math.floor(Math.random() * (max - min + 1)) + min;
  }

  getIconColor() {
    const max = this.colors.length - 1;
    const idx = this.randomNumber(0, max);
    return this.colors[idx];
  }
}

My component's template:

<svg-icon
  src="https://raw.githubusercontent.com/czeckd/angular-svg-icon/master/images/moon-o.svg"
  [ngStyle]="{ fill : getIconColor(), width: '90px' }" ></svg-icon>

<svg-icon
  src="https://raw.githubusercontent.com/czeckd/angular-svg-icon/master/images/eye.svg"
  [ngStyle]="{ fill : myColor, width: '90px' }" ></svg-icon>

Seems like the most straightforward to the #29 issue is to use @FredUK idea for [svgStyle] and go with that.

Added [svgStyle] to set styles directly on the svg.

If SVG file has fill attribute at path tag, this attribute is not working when we set fill property on [svgStyle] because this attribute is adding fill attribute only to svg tag. But svg file has another fill propert on path tag in svg tag.


validation on checkbox bug - it works only first time

I have a required input text and a required checkbox.
If i test the formular it works, 2 errors showing up.
if i check the checkbox, validate again, then uncheck the checkbox, and write in the required text field, the validator doesnt see that the checkbox is unchecked.
My code:
{                         type: "checkbox",                         model: this.name,                         label: this.label,                         required: this.required,                         validator: validator.required,                         default: false                     }

I have had this happening to me because required setting only checks for an empty value, and in the code false doesn't count as an empty value, how I solved this was using a custom validator:
function(value){
      if(value == false){
           return ["This value must be checked"];
       } else{
           return [];
      }
}


what if overview: thumbnails are only inverted after scrolling if night mode is active

When opening the app and navigating to the what if overview list for the first time, the first 2 pages or so of thumbnails are not inverted correctly. When scrolling down, cards that are loaded in get a correct inversion filter for the thumbnail. If you scrolled down enough lines so that the first few cards are not loaded anymore you can scroll up again to load them back into the list and then the thumbnails are inverted correctly. Unfortunately I don't know the concept enough to fix the bug myself, but I think an invocation of comicViewHolder.thumbnail.setColorFilter(themePrefs.getNegativeColorFilter()); is missing for the items loaded in initially. I found this call in fragments/whatIf/WhatIfOverviewFragment.java line 203, maybe it should be called before the return in line 187 too?

Seems like onBindViewHolder isn't always calld when the views are loaded from cache. Moving the call to the ComicViewHolder constructor fixed it for me.


File upload not working

Hi,
I have tried uploading an image using your project. It saving the entry in database but not uploading the image.
Can you pls explain.
Thank you waiting for your reply

Make sure the filesystem is configured properly.


Spring Boot 2 support

Hi,
Do you have any plans to support spring-boot 2.0?

@matheusgg can you follow this up?

It was actually pretty simple, so I have made the changes in my fork.
Should I prepare a PR for this? Maybe with a 2.0.0.RELEASE version?

Hi @vlastimil-dolejs I have already started to update it and add support to Spring Boot, anyway be free to open a PR if you want. Thank you.

@marcosbarbero can you generate a new release?

will do, I created this #5 to release a new version

Sorry for the long delay. I pushed the new version to the maven central and it may be available later today.


Optimize SEO for Angela Walch Summary

We want someone googling 'Is crypto / web3 decentralized?', 'How is crypto / web3 decentralized?' 'what is decentralization?' to come across our summary of Walch's 'Deconstructing 'Decentralization': Exploring the Core Claim of Crypto Systems'. SEO for this page should be optimized so as to achieve this.
Acceptance

[x] On-page SEO optimized - @EilidhRoss1 Nathen, can you check

[x]  Metadiscription
[x] Headings framed as questions, immediately followed by 2 sentence answer in bold.

[ ] Technical SEO optimized - @khalilcodes @olayway

[x] Page load speed, see metrics below
[ ] Google search console, ? is this for analysis.
[x] site map found at web3.lifeitelf.us/sitemap.xml

Tasks

[x] Page SEO:

[x] keywords field in frontmatter (for keyword topics and article tags)

usage:---
...
keywords: "example 1, example 2, etc.."
---

This will add meta for "keywords" and "article tags"

[x] Sitemap script on build

[x] Page speed optimization:

[x] Replace youtube embeds - react-youtube-lite-emebed
[x] Properly size images
[x] Remove podcast embeds and replace with a link instead
[x] dynamic imports of components (code-splitting)
[x] Site cleanup: unused packages in package.json and dev dependencies

Notes:
Based on SEO research, meta keywords are not crawled by google but bing and yahoo do. Therefore, keywords are also being used in meta article tags and so can be used to include authors and topics related to the article.
Metrics:

Using GTmetrix the following difference can be seen in performance.
note that fully loaded times and seo will differ on preview deploys as third party netlify scripts are being run and also those pages are not indexed for seo. Expecting page performance at 100% and reduced loaded time to approx ~1.5s

CURRENT:

For notes/are-crypto-tokens-securities

summary:

page size:

NEW:

On preview deploy for notes/are-crypto-tokens-securities

summary: grade and web vitals improved from previous.

page size: page size has been decreased to 1.17mb from 6.3mb previously

@khalilcodes @olayway discussed this with @nathenf. He says there are two aspects of the SEO we can optimize: on-page SEO and technical SEO. Can you look into the technical stuff: Page load speed, Google search console, site map. Re the on-page stuff, we will deal with most of that but we were wondering if the pages on the web3 site have metadiscriptions (like they would if we were using wordpress?). If so, we need to make sure our pages have metadiscriptions.

@khalilcodes @nathenf can we close this?

@khalilcodes @nathenf just following up, can this be closed?

FIXED - Webspeed optimized and SEO optimized


The highlight doesn't work for *.ipynb files in jupyter

Can u make it work for jupyter

I am not sure if it can run over jupyter editor because jupyter editor is a special feature of python extension. I will spend some time to have a look.

Hi @weishenl6y6n,
Unfortunately, the current notebook doesn't support the features of highlighting, and  [official notebook API] (https://code.visualstudio.com/api/extension-guides/notebook) says it is still proposed and under development.
An alternative approach is using the Jupyter code cells in .py files.

Thank u for telling me these~ @iuyoy

You are welcome.


Feature to unset/revoke all tokens for an authenticated_userid

Summary
Need an api to unset/revoke all tokens for a single authenticated_userid.
Additional Details

Kong version (0.9)
Operating System (Linux :- Ubuntu)

Delete the consumer?

No,  for grant_type password, i would like to delete all tokens issued to a particular user(with authenticated_userid).
Consumer must not be deleted.

@thefosk , Do you have any suggestions to achieve this.

You can search the tokens by authenticated_userid and then iterate over those tokens and DELETE them with an HTTP request.
ie: /oauth2_tokens/?authenticated_userid=XXX.


Add  interactive pipeline run events to orchest-api (notifications)

Description
Adds support for interactive pipeline run events in the orchest-api, these events can now be subscribed to and are now part of the analytics module.
Checklist

[X] In case I changed one of the services’ models.py I have performed the appropriate database
migrations (refer to scripts/migration_manager.sh).

From a user perspective I don't think notifications for interactive runs makes a ton of sense, but happy to include it given that you already implemented it +1

Mostly for analytics


Add Gpu timing native rendering plugin

Add Gpu timing native rendering plugin to insert and fetch timing requests in the command queue.
This plugin will be used for upcoming holotoolkit unity contributions

@danandersson,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

OoooOooo this looks cool!  Thanks!


Added content to stub

Added definition, examples and some uses as well as computational info and interesting formulas that occur.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

@BTmathic Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝


Add start_date and end_date for each datasource in a consistent way to the metastore

Would like to update the associated attributes within each stored datasource to include start_date and end_date keywords as this is useful information when searching the data
PR #472 currently removes them from the metadata for footprint data (the only place this is currently included), since they are confusing as they're only created when the datasource is first created but would be better to update them to be accurate instead.
The start_date, end_date (and data_type) attributes are currently added within the metadata attribute on the datasource object itself but not included within the TinyDB metastore (I believe). Has the metadata on the datasource been superceded by the TinyDB metastore in some way? Is there a reason both exist / should they be synced in some way if they aren't already?

I moved this to high-priority as this is now the alternative way to address the issue where the start and end dates were very misleading (being stored once when the data source is first created and then never updated).


VS Code - missing refactoring options

Bug Report
Hello!
Recently I've noticed that typescript has a built-in option to add missing properties to a variable. I've noticed it so late because the quick-fix menu opened by using a shortcut doesn't show all available refactoring options. (typescript). When I use the link in the hover widget everything runs smoothly.
I've created an issue on the abracadabra extension repository but they said it's not their fault and I had been redirected here.
Previous Issue on abracadabra: https://github.com/nicoespeon/abracadabra/issues/792
I've tried disabling the abracadabra extension - it didn't fix anything.
🔎 Search Terms
Missing "quick fix options"
Missing refactoring options in vs code
"Add missing properties" option is missing
🕗 Version & Regression Information
I don't remember seeing the option to add missing properties before, so I guess this bug has been here for longer.
⏯ Playground Link
Not applicable since it's a vs code problem
💻 Code
Not applicable since it's a vs code problem
🙁 Actual behavior

The hover widget. It opens refactor menu with all properties after clicking in Quick Fix... (Alt + Enter)

Menu with all properties opened by using a quick-fix link

Menu with missing properties

🙂 Expected behavior
Show all available refactoring options in the menu opened by using a shortcut.

In the Quick Fix... case, VS Code requests all quick fixes in the diagnostic range:
https://github.com/microsoft/vscode/blob/990a496681948ec274da5503b35cd49a7d06c0a2/src/vs/editor/contrib/hover/browser/markerHoverParticipant.ts#L244
In this case, the diagnostic range comes from eslint so it covers sth: GameStats.  The VS Code behavior here is not correct, as detailed in Microsoft/vscode#161331
In the second case, it looks like we are requesting quick fixes at a specific position.
Closing this as a duplicate of Microsoft/vscode#161331 (after fixing this, the quick fix... link should only show eslint quick fixes


Add TrackAvailability method

TrackAvailability method is very useful in cases when availability tests feature can't be used. It is available in the .NET package, but is missing in .net core.
As more and more projects are being created with .net core, this method is very valuable to have.

@Orekhov TrackAvailability  and all other methods in TelemetryClient is available in both .NET Framework and .NET Core.
All public methods in TelemetryClient is compiled against netstandard as well - Please let us know if you are having issues using this with .net core apps.
https://github.com/Microsoft/ApplicationInsights-dotnet/blob/develop/src/Microsoft.ApplicationInsights/TelemetryClient.cs


Warning logged when running KafkaClusterIT

When running io.kroxylicious.proxy.KafkaClusterIT the following warning gets logged:

2023-02-03 14:52:06 WARN  org.apache.kafka.common.network.ChannelBuilders:158 - Broker configuration 'ssl.client.auth' is applied only to SSL listeners. Listener-prefixed configuration can be used to enable SSL client authentication for SASL_SSL listeners. In future releases, broker-wide option without listener prefix may be applied to SASL_SSL listeners as well. All configuration options intended for specific listeners should be listener-prefixed.

We should investigate and fix this. If nothing else it might obscure other more important logging.

@franvila did your change fix this already?

I didn't see this error before. When is it happening?

No point fixing this in KafkaClusterIT, as this will disappear from this project once the code starts to depend on the  junit-ext.
However, the issue exists there too.   We should fix that.
https://github.com/kroxylicious/kroxylicious-junit5-extension/issues/31
This will stop
o.kroxylicious.testing.kafka.KafkaClusterTest#kafkaClusterZookeeperModeSASL_SSL_ClientUsesSSLClientAuth


Java formatter doesn't work on files that use latest syntax

This task is automatically imported from the old Task Issue Board and it was originally created by Hubert Plociniczak.
Original issue is here.

It appears that Java formatting tool silently(!) fails to run on Java sources that use latest syntax (as allowed by Frgaal). This, as it turns out, is a feature of Google Format tool because it detects JDK version while running and enhances constructs it can use. It also relies on JDK's parser so it's not like it is possible to magically configure that in their tool/sbt plugin.
There a couple of solutions to this problem, none of which are perfect:

We do nothing, it's a pity but it is not the end of the world. We might run/check it occasionally.
We provide a way for people to run the formatting tool via some bash script (requires JDK 17 on devs machine). Additionally CI would have to be updated to ensure that the check job runs the appropriate JDK
We adapt SBT to allow to run formatting only with JDK17-based Graal. The disadvantage is that one has to still restart SBT with a different JDK. Additionally we would have to ping maintainers of sbt-java-formatter to bump the version of google format tool they use because it is pretty outdated and has a number of bugfixes for latest Java stuff (or fork it/publish under our own org).

Is this really a problem?
I tweaked the setup a bit and run the formatter on our current develop branch and here are some rough stats for the expected change
 96 files changed, 1363 insertions(+), 834 deletions(-)

Comments:
There is a GitHub Actions job which checks the formatting. The simplest solution is to change it to run on the latest JDK (either JDK19 or GraalVM 22.2 java17). It is just a CI fix, but it'd would allow us to close this story. (jaroslavtulach - Aug 24, 2022)

Despite the upgrade to JDK21, the formatter is still not capable of handling the new format.
This is because sbt-java-formatter plugin has a (very) outdated version of google format dependency.

Was fixed by https://github.com/enso-org/enso/pull/8543


chore: remove dependencies (11) from list of required checks

The dependencies (11) check was removed in https://github.com/googleapis/java-shared-config/pull/655/

I'll merge this after updating repo config. One moment.


feat: added cuda icon

Updated the light colours.
Next time please generate them: https://github.com/nvim-tree/nvim-web-devicons/blob/master/CONTRIBUTING.md


Soft clip for duplications

Added soft-clip analysis and assembly capability for Tandem Duplications. To avoid noisy predictions form other methods we only perform assembly if Soft-clip has been detected for the interval.
(Previous pull request is closed)

Thanks for the changes. Is this ready for merging?

I think it is.


How do i create sections in test logs?

Ive started using codeceptjs and though the samples here shows scenarios of less than ten steps. Those are easier to read.  But im using it to create e2e scenarios which spans for several pages, so using pageobjects which means  bigger sets of I.****  steps.
Id like my logs to display something like this.
Scenario Title
Open Home Page.
• I am on page "Home Page"
Log In Valid Users.
• I see "Login Name"
• I see "Password."
• I type "User."
• I type "Password."
• I see "Submit"
• I click "Submit"
Search Item To Place In Cart.
• I see "this"
• I click "here"

I think you can still use console.log to print whatever you want on screen )
There is also this.debug() function, which is printed only in --debug mode

not really working as expected. it writes all console.log strings on top before the first I.step is executed.


Add some way of checking the modpacks version

At first I plan to only support curse modpacks.  Perhaps, I could do others in the future.

This could be done by checking the server and comparing a bunch of mod versions with versions show in various curse releases.  That method would certainly need to cache results or it would be slow in responding.
Another idea is use something like http://www.modlister.com to check some official username and report what version they used last.
And the easiest idea would be to add another command for server owners to be able to set the version manually.

ff6909b1b80a45045c2f3a71737897bb095e6f61 contains a new forge_version command.  This is progress towards the pack version.


UEI: Update and release new version 1.1 of L2 config

Description

Update the existing UEI L2 config https://github.com/beckn/missions/tree/main/UEI/layer2, based on the changes to the implementation guide
Make the L2 config strict.
Upload the L2 config to the missions repo
https://github.com/beckn/missions/tree/main/UEI/layer2

Current Status

Based on @faizmagic review comments we had a connect with Pooja on enums & standardize the tag codes. Based  on that call outcome @rajaneeshk90 has to connect with NPs
Based on @faizmagic  suggestion on L2 Config @rajaneeshk90 is working on the L2 cofig file make it as strict that NPs couldn't customize. ETA 14th Nov.

Next Steps

Need to update the Guide 1.1 and L2 config file based on @faizmagic comments
Additional NP point has to incorporate in the guide under V 1.2 by next week.

[ ] For reference additional points details, An additional point was raised regarding charging options. Some NPs prefer time-based
charging, while others prefer energy unit-based or money-based charging. We should add examples demonstrating each of these
options

NPs Feeback/Changes [to be incorporated into the implementation guide Ver1.1]

Charging Point Details: Add charging point details in the catalog. Information related to charging connectors already exists, and this should be added to the fulfillments object.

Charging Station Details: Add charging station information to the catalog. (A charging station can have multiple charging points, and each charging point can have multiple connectors.) This should be included in the provider description and location sections.

Quotation Object: Remove the quotation object from the confirm API payload. Update the quotation object in the on_select, on_init, on_confirm etc.

Current Charging Details: Add details related to the current charging status—such as state of charge, energy delivered, current voltage, etc.—in the on_status payload. This should be included within the fulfillments tags.

Internal Review Comments

L2 cofig file make it as strict that NPs couldn't customize
The tag descriptions for UEI should be included in the implementation guide, with each tag defined by SN, name, code, meaning, and usage. This table will evolve based on NP inputs.

Current Status

Based on @faizmagic  suggestion on L2 Config @rajaneeshk90 is working on the L2 config file make it as strict that NPs couldn't customize. ETA 18th Nov.
Based on @faizmagic review on 12th November. The tag descriptions for UEI should be included in the implementation guide, with each tag defined by SN, name, code, meaning, and usage. This table will evolve based on NP inputs.
The above mentioned NPs suggested feedback/changes are updated and it will be published as Ver1.1 along with the preparing L2 config file ETA 18th November

Next Steps
Version 1.1

The above mentioned @faizmagic review comments to be update and it will be published as Ver1.1 along with the L2 config file ETA 18th November

Version 1.2

Additional NP point has to incorporate in the guide under V 1.2 by 22nd Nov

For reference additional points details, An additional point was raised regarding charging options. Some NPs prefer time-based
charging, while others prefer energy unit-based or money-based charging. We should add examples demonstrating each of these
options

We need to merge the Fulfillment Objects Connector Spec and Charging Point Spec. The tech team will have a call with the NPs and @poojamanjooran  to explain that this approach is better. If the NPs agree, the changes will be implemented, and we will publish version 1.2 on 22nd Nov

Current Status
Version 1.1 - ETA 18th Nov

@rajaneeshk90 has completed the L2 configuration file, setting it to be strict, which prevents NPs from customizing it.
We had a check-in call with NPs.
Following today’s NPs check-in call, tag descriptions are being prepared by NPs, with each tag defined by SN, name, code, meaning, and usage. Once finalized, @rajaneeshk90 will incorporate these into the implementation guide as a table. This table will be dynamic, allowing NPs to update it as tags are added or modified.

Version 1.2 - ETA 22nd Nov

We had a check-in call with NPs.
Following today’s NP check-in call, @rajaneeshk90 will share an example JSON demonstrating the merging of the Fulfillment Objects Connector Spec and Charging Point Spec in the Discord channel. NPs can review this example, and once it is reviewed and approved, it will be included in the guide as part of version V1.2.

Next Steps
Version 1.1 - ETA 18th Nov

Following today’s NP check-in call, tag descriptions are being prepared by NPs, with each tag defined by SN, name, code, meaning, and usage. Once finalized, @rajaneeshk90 will incorporate these into the implementation guide as a table. This table will be dynamic, allowing NPs to update it as tags are added or modified.

Version 1.2 - ETA 22nd Nov

Additional NP point has to incorporate in the guide under V 1.2 by 22nd Nov

For reference additional points details, An additional point was raised regarding charging options. Some NPs prefer time-based
charging, while others prefer energy unit-based or money-based charging. We should add examples demonstrating each of these
options

Following today’s NP check-in call, @rajaneeshk90 will share an example JSON demonstrating the merging of the Fulfillment Objects Connector Spec and Charging Point Spec in the Discord channel. NPs can review this example, and once it is reviewed and approved, it will be included in the guide as part of version V1.2.

CC- @faizmagic @poojamanjooran @viraj89 @emmayank

Current Status

Working on tag descriptions which is prepared by NPs, with each tag defined by SN, name, code, meaning, and usage. Incorporating these into the implementation guide as a table. This table will be dynamic, allowing NPs to update it as tags are added or modified.
Working on the example JSON demonstrating moving the Fulfillment Object Connector Specification from fulfillment array into items[idx] and share in the Discord channel. NPs can review this example, and once it is reviewed and approved, it will be included in the guide as part of version V1.2
Working on add meta APIs (e.g., get_rating_categories) and other relevant details in the implementation guide.

Next Steps
Version 1.2 - ETA 22nd Nov

Additional NP point has to incorporate in the guide under V 1.2 by 22nd Nov

For reference additional points details, An additional point was raised regarding charging options. Some NPs prefer time-based charging, while others prefer energy unit-based or money-based charging. We should add examples demonstrating each of these options.

CC- @faizmagic @poojamanjooran @viraj89 @emmayank

Based on the @faizmagic review comments, we have completed the L2 configuration file, setting it to be strict, which prevents NPs from customizing it. Layer 2 file link - Click Here. Hence we can close this flow card.
@rajaneeshk90 @viraj89 @emmayank


tests: ERSPAN Type I packet parsing

This PR adds tests cases related to ERSPAN Type I packet parsing.
Requires suricata PR 4466

The Suricata PR is https://github.com/OISF/suricata/pull/4475

Continued in #177


Promise\wait together with Promise\rethrow

(copied from irc)
hi folks
php: src/unix/core.c:896: uv__io_stop: Assertion `loop->watchers[w->fd] == w' failed.
what does that tell me?
this happened to me once I added some new tests today
but it appeared on old tests
so I encounter this only when running the whole test-suite
I switched to EV and the problem disappeared
seems to be a bug in UV ?
I wrote 2 new test classes today, one results in to uv error above, which I can prevent by switching to ev
the second one makes a bunch of old tests red, when I start the whole test-suite, but they will all be green again, when I exclude this one
so weird
mmh... seems to have something to do with using wait(call(...)) within the tests, and inside the lib I do Promise\rethrow($subscription->start()); somewhere
when I don't to the rethrow thing, then the other tests are green again
I can make the tests pass with a different Promise\wait implementation
check this out please
function wait($promise) {
        if (!$promise instanceof Promise) {
            if ($promise instanceof ReactPromise) {
                $promise = adapt($promise);
            } else {
                throw createTypeError([Promise::class, ReactPromise::class], $promise);
            }
        }

        $resolved = false;
        $wait = true;
        $exception = null;
        $value = null;

        $promise->onResolve(function ($e, $v) use (&$resolved, &$value, &$exception, &$wait) {
            $resolved = true;
            $exception = $e;
            $value = $v;
            $wait = false;
            Loop::stop();
        });

        while($wait) {
            Loop::run();
        }

        if ($exception) {
            throw $exception;
        }

        return $value;
    }

but uv still is a problem

php: src/unix/core.c:896: uv__io_stop: Assertion `loop->watchers[w->fd] == w' failed.

This happens if you have two watchers on the same FD, which should only happen if there's either a bug in the UvDriver or you open STDIN / STDOUT / STDERR manually.
Your different implementation indicates that the event loop exits somewhere where it shouldn't, so it's probably just hiding the bug instead of fixing it.

Thanks for the feedback, I'll double check everything and come back
afterwards.
On Sun, Sep 9, 2018, 23:32 Niklas Keller<EMAIL_ADDRESS>wrote:

php: src/unix/core.c:896: uv__io_stop: Assertion `loop->watchers[w->fd] ==
w' failed.
This happens if you have two watchers on the same FD, which should only
happen if there's either a bug in the UvDriver or you open STDIN / STDOUT
/ STDERR manually.
Your different implementation indicates that the event loop exits
somewhere where it shouldn't, so it's probably just hiding the bug instead
of fixing it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/amphp/amp/issues/236#issuecomment-419723916, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAYEvEMyMiKlKJ3SPDB165KPDrX-UF9mks5uZTSogaJpZM4WgTrE
.

I did some output using STDOUT in the unit tests and remove it. Now this happens:
ERRORS!
Tests: 118, Assertions: 240, Errors: 1.
php: src/unix/core.c:896: uv__io_stop: Assertion `loop->watchers[w->fd] == w' failed.
[1]    22191 abort (core dumped)  ./vendor/bin/phpunit --stop-on-failure

So I guess here this is because of PHPUnit writing to STDOUT.
<< Your different implementation indicates that the event loop exits somewhere where it shouldn't.
What does that mean? I tried to look for Loop:run() everywhere, no match. (It's only called by wait in the tests). Can you give me an example of an event loop that exists somewhere where it shouldn't and causing trouble?

Loop stopped without resolving the promise - happening only when running complete test suite, all tests pass when I check every single test class. How can I find out why?

After excluding a bunch of tests I could achieve this:
OK (139 tests, 286 assertions)
php: src/unix/core.c:896: uv__io_stop: Assertion `loop->watchers[w->fd] == w' failed.
[1]    23913 abort (core dumped)  ./vendor/bin/phpunit --stop-on-failure --exclude-group=by

No STDIN, STDOUT, STDERR, echo, var_dump or print is used in src and tests directory. Only one outputting is PHPUnit (usually this should happen before and after the wait() call inside tests).

Maybe just create your PR so I can have a look?

Oh, it's in another project, I thought I had written some additional tests for Amp itself. Do you have a link to the tests either way?

Here is the project:
https://github.com/prooph/event-store-client/
this is the last working commit: https://github.com/prooph/event-store-client/commit/0c6f3fcaf066f1cc25f147f7c3c20b425048b64c
master is now +2 more commits and failing on travis suddenly (not the new tests added in those 2 commits, but older one): https://travis-ci.org/prooph/event-store-client/builds/426297716
When I replace uv with ev, I don't get the uv__io_stop: Assertion loop->watchers[w->fd] == w` problem, with my custom wait method then all tests pass again.

By the way, the event-store-client comes with a logger, when I turn on verbose mode and enable consoler logger (using Amp\Log\ConsoleFormatter and Amp\Log\StreamHandler) I can see a bunch of output during the tests. But then AFTER I see PHPUnit output with X tests, Y assertions, Z errors, there comes additional output from that logger.
Something like "connection was closed because of X" - is that expected for the StreamHandler?

throw new \Error("Loop stopped without resolving the promise"); - how can something like this happen? There is no Loop::stop() anywhere in the code. I can understand why throw new \Error("Loop exceptionally stopped without resolving the promise", 0, $throwable); can be thrown, but how can the loop be stopped without any exception?

have you seen this? https://github.com/clue/reactphp-block/blob/master/src/functions.php#L54
this is used by reactphp for testing. very very similar to my wait-implementation, kind of different to yours.

@prolic The event loop stops if there are no more watchers active or all left watchers are unreferenced. If you have to run the loop multiple times, that indicates a bug in your code.

Closing, as the issue has been fixed.

@kelunik this issue popped up again on https://github.com/prooph/event-store-client using lib-uv.

Do you have a reproduction case?

Just start the test suite of https://github.com/prooph/event-store-client
and you'll see this error, when you have php-uv installed (you can simply
follow the readme to get started, you need also
https://github.com/allegro/php-protobuf/ php extension).
I tried nailing the test down by adding --debug to phpunit and get some
test name, but when I run this one alone, it passes. When I exclude this
test, some other breaks.
Any help is greatly appreciated.
Sascha-Oliver Prolic
Am So., 30. Dez. 2018 um 05:15 Uhr schrieb Niklas Keller <
<EMAIL_ADDRESS>
Do you have a reproduction case?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/amphp/amp/issues/236#issuecomment-450520596, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAYEvGoSXl9eHAFu3aW0QoOhlgz4owVzks5u99tagaJpZM4WgTrE
.


HL-125: db fields for storing benefit amount

Description :sparkles:
db fields for storing benefit amount
calculated_benefit_amount
manual_benefit_amount
Issues :bug:
HL-125
Testing :alembic:
backend/benefit/applications/tests/test_models.py
Screenshots :camera_flash:
Additional notes :spiral_notepad:

Codecov Report

Merging #211 (97d091d) into develop (488530f) will decrease coverage by 0.48%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop     #211      +/-   ##
===========================================
- Coverage    94.56%   94.08%   -0.49%
===========================================
  Files           73       96      +23
  Lines         2024     3261    +1237
===========================================
+ Hits          1914     3068    +1154
- Misses         110      193      +83

Impacted Files
Coverage Δ

...fit/applications/migrations/0016_benefit_amount.py
100.00% <100.00%> (ø)

backend/benefit/applications/models.py
93.98% <100.00%> (ø)

backend/benefit/applications/tests/test_models.py
100.00% <100.00%> (ø)

backend/shared/shared/audit_log/viewsets.py
46.96% <0.00%> (-42.43%)
:arrow_down:

backend/shared/shared/audit_log/audit_logging.py
79.54% <0.00%> (-18.19%)
:arrow_down:

backend/shared/shared/oidc/auth.py
86.84% <0.00%> (-1.32%)
:arrow_down:

...kend/kesaseteli/applications/api/v1/serializers.py

backend/kesaseteli/companies/services.py

backend/kesaseteli/manage.py

backend/shared/shared/azure_adfs/tests/conftest.py

... and 87 more

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 488530f...97d091d. Read the comment docs.


MNMG cuML + XGBoost on AWS

Using dask-cloudpriver on ECS

Closing this and creating separate ones depending on deployment


[Tooling] Add the property Enable OData when adding a data source

Description:
Add the property Enable OData when adding a data source. Similar to what we have in Management Console
Suggested Labels:
Improvement
Affected Product Version:
Integration Studio 6.5.0
Steps to reproduce:
Access add new dataservice wizard
Related Issues:
https://wso2.org/jira/browse/DEVTOOLEI-932

Fixed with the new DSS editor.


Issues with ES6 syntax linting when using babel-sublime and SublimeLinter-jsxhint

I'm probably doing something wrong but I cannot get syntax linting to work. I installed bebel-sublime, changed file syntax to JavaScript (Babel) and saved it as .jsx but I get jsxhint errors on "export", "import" and "concise methods". If I add "--harmony" flag to jsxint linter args, then "concise methods" error is gone but the other 2 are still there.

You need to turn on compilation with babel instead of with react-tools. See
the jsxhint documentation.
On Feb 19, 2015 4:53 AM, "aj-dev"<EMAIL_ADDRESS>wrote:

I'm probably doing something wrong but I cannot get syntax linting to
work. I installed bebel-sublime, changed file syntax to JavaScript (Babel)
and saved it as .jsx but I get jsxhint errors on "export", "import" and
"concise methods". If I add "--harmony" flag to jsxint linter args, then
"concise methods" error is gone but the other 2 are still there.
[image: jsxhint_errors]
https://cloud.githubusercontent.com/assets/2584733/6257506/d5b92560-b7c0-11e4-9a4b-4c3831b241c0.png
—
Reply to this email directly or view it on GitHub
https://github.com/SublimeLinter/SublimeLinter-jsxhint/issues/26.

Thanks for the advise. I've installed babel globally using npm and added "--babel" to jsxhint args but it still doesn't work as expected, though this time error messages are different. I don't know what you mean by react-tools because I only have babel-sublime (https://github.com/babel/babel-sublime) installed.

Okay - from here you might want to take a look at the transpiled output from Babel.
It appears jshint still has some issues with the new ES6 module syntax (https://github.com/jshint/jshint/issues/1674) so I would assume that is the issue here.

I suggest using https://github.com/babel/babel-eslint from now on (together with SublimeLinter-contrib-eslint), they seem to work much better!

I wrote an article on babel-eslint: https://medium.com/@dan_abramov/lint-like-it-s-2015-6987d44c5b48

@gaearon thanks, I'll give babel-eslint a go. @STRML feel free to close this issue.

Thanks @gaearon. ESLint is a better project. When it is ready to go, we will move to it.

What theme is that? Its EPIC! @aj-dev

@mikeljames it's https://github.com/kkga/spacegray#spacegray-eighties.

Nice @aj-dev

Try eslint-config-airbnb-standard npm module. It uses Airbnb style config + StandardJS config. Easy to install, works with Sublime Text 3 and WebStorm. Check installation instructions here: https://github.com/doasync/eslint-config-airbnb-standard


Release with new version bounds?

Could we get a point release?

Sorry, I've been meaning to get back to work on this, but at this point I think I'm kidding myself. We don't use Haskell at work, and my time away from work has been taken up by other things. If someone would like to take over the project I'd be happy to transfer ownership.

@tylerholien I use Haskell and this package at work! I'd be interested in taking ownership given I've spent enough time learning from it (and thanks for that too! :). However, I have no experience with maintaining on Hackage. Although the documentation makes it seem rather straight forward.

@adamflott Oh no, I hope you didn't learn too much from my crappy code! Hackage is pretty easy. Sometimes the docs don't get linked so you have to upload them separately, but it's possible that's fixed by now.

Just the opposite! Yes they fixed the doc building issue a few months ago. If you're ok with transferring my Hackage username is adamflott

You're added!

@adamflott

Whoops, didn't mean to hit the close button.

@adamflott I also added you to this repo. Feel free to keep using it as the main repo or update the readme to point to a clone or whatever you want!

@tylerholien Awesome. Thanks! I'll start taking action on this soon.

Version <IP_ADDRESS> uploaded to Hackage with bumped bounds.


Norway EPG Disappeared?

Description
Norway EPG https://iptv-org.github.io/epg/guides/no.xml seems to still work on my tivimate app on one device but I added another one recently and am just getting 'No Information' for every Norwegian channel when using this EPG source. Database entries for all Norwegian channels don't seem to list any EPG source but the source is still in the list here: https://github.com/iptv-org/epg
Is there an issue that can be fixed?

Does that make sense?

Yes, it does make more sense now.
It sounds like your new temporary playlist and the EPG have either a CHANNEL_NAME or CHANNEL_ID mismatch or something else entirely which is why it doesn't show the information.
You can try manually assigning the EPG to one of the affected channels which should fix the issue. We know the EPG still works since your main Playlist still loading the information.

No mismatches as the info was all copied and pasted. It'll have to remain a mystery. As long as the EPG is still working, that's fine. Not sure why the database isn't showing a valid source for the Norwegian channels but I'll close this now as there doesn't seem to be a problem.

So, my Norwegian playlist has now lost the EPG for all its channels, so it seems like my suspicion was right and the EPG source has stoppped working :(

Fixed in https://github.com/iptv-org/database/commit/61cdbf6b9decdaf9baaab4f96197611b27bcb658


Verbose mode options to tooling should pass the --verbose-logging flag to the engine.

Running the tools with verbose mode logging enabled should pass the --verbose-logging flag introduced in the engine in this patch. This enables logging at severity levels in the engine. By default, logging is only enabled in the ERROR and FATAL levels.

looks like this was implemented in #5022 reverted in f8021e3 and then opened again here

@chinmaygarde How to proceed for solving this..I would like to contribute.

@chinmaygarde  If this issue is still to be resolved, i'd like to take it up

@Hixie  @chinmaygarde  This issue should be closed. Since #29321 (for ios, android) and #67150 (for dekstop) added this feature.
Following are the code where the flag is passed:

for Android
https://github.com/flutter/flutter/blob/8a1204f0b6d8b5a14f1b80e11d7019a12ea532c8/packages/flutter_tools/lib/src/android/android_device.dart#L657-L658
for iOS
https://github.com/flutter/flutter/blob/8a1204f0b6d8b5a14f1b80e11d7019a12ea532c8/packages/flutter_tools/lib/src/ios/devices.dart#L365
for Desktop
https://github.com/flutter/flutter/blob/8a1204f0b6d8b5a14f1b80e11d7019a12ea532c8/packages/flutter_tools/lib/src/desktop_device.dart#L291-L293

Spent hours as it was labelled "good first contribution" and turned out it is already implemented.
Although, I had to go through the code that was very educational.

Haha, I've definitely had that experience before also! Sorry about that!
Hopefully you can put what you learnt to good use in other issues!