Collision Filter

I am creating multiple bodies (using a array to keep track of them all) and want them to collide with a floor, and everything else, but not with each other. I have tried everything I can think of and cant find anything helpful online. Can someone help me with this?

Hi Radio-Silence, could you explain better, perhaps drawing a sketch? Do you'd like to all bodies would collide with the walls, but if i put one body above another they should stay in the same place?

The demo you linked is almost exactly what I need, and I dont really know how to draw this, so I will try to explain it better. I am attempting to make a tower defense game, and I need the enemy's to collide with the bullets, but not each other.

I need the enemy's to collide with the bullets, but not each other.

Here's a modification of the collision filtering demo to implement the desired logic. Enemies are hollow circles and don't collide with each other, but do collide with the bullet, which is the filled red circle that follows the mouse.
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdnjs.cloudflare.com/ajax/libs/matter-js/0.19.0/matter.min.js"></script>
</head>
<body>
<script>
const engine = Matter.Engine.create();
engine.gravity.y = 0;
const render = Matter.Render.create({
  engine,
  element: document.body,
  options: {
    wireframes: false,
  },
});
const defaultCategory = 1;
const enemyCategory = 2;
const enemies = Matter.Composites.stack(
  275, // xx
  100, // yy
  5,   // cols
  9,   // rows
  10,  // col gap
  10,  // row gap
  (x, y, column, row) =>
    Matter.Bodies.circle(x, y, 20, {
      collisionFilter: {
        mask: defaultCategory,
        category: enemyCategory,
      },
      render: {
        strokeStyle: "red",
        fillStyle: "transparent",
        lineWidth: 1,
      },
      frictionAir: 1,
      friction: 1,
    }),
);

// this "bullet" body will only collide with enemy bodies
// and anything in the default category
const bullet = Matter.Bodies.circle(400, 40, 30, {
  collisionFilter: {
    mask: defaultCategory | enemyCategory,
  },
  render: {
    fillStyle: "red",
  },
});
document.addEventListener("mousemove", ({offsetX: x, offsetY: y}) => {
  Matter.Body.setPosition(bullet, {x, y});
});

Matter.Composite.add(engine.world, [bullet, enemies]);
Matter.Render.run(render);
const runner = Matter.Runner.create();
Matter.Runner.run(runner, engine);
</script>
</body>
</html>


ETRNG data registers cannot be cleared by firmware

Depending on the SoC's integration logic, the CPTRA_TRNG_DATA registers could hold their value forever, and there is no way for the UC to clear them, which may be required for FIPS zeroization.

Caliptra access is RO on the registers - from FIPS point of view, if Caliptra has no control on the TRNG itself since eTRNG, there is nothing caliptra can do to that e-TRNG on FIPS...so this data is practically irrelevant. It is as good as "FW" FIPS dropping the data because a wrongly written/bad FW may not honor any TRNG data internal or external!
That said, if for some "hard" reasons, we need to change, its just a register permission flip.
@JohnTraverAmd to provide the requisite FIPS spec quote if we need to make changes

To be FIPS compliant, this register does need to be cleared.  It would be best if we could write to clear.
We shouldn't allow for the write to set the register value from Calitpra side since this could complicate the source of the value.  It would be best to create a mechanism to indicate that it should be cleared and have HW clear it.  This could be as simple as write anything to clear to zero and clear the valid bit.

@JohnTraverAmd - Ack, for process, plz bring it through for the WG for approval...would assume a 2-3 day schedule impact

Marking approved as the change is WIP and is required for FIPS.
RTL+Val impact wld be ~1-2 days

This change is merged to main


Robustify gimbal v2 detection

Instead of trying to detect the gimbal protocol once with a 1s timeout, this will try 10 times with a 2s timeout.

Actually that won't work, I don't think we can wait 20 seconds before letting the user upload a mission with v1.


Fixing pending issues with greenkeeper

Closes https://github.com/zackurben/alphavantage/issues/10
Also fixes outstanding issues from greenkeeper.

Coverage remained the same at 100.0% when pulling e36303d9915481c050c036abe7ce1b31c5f7109e on fix-issues into<PHONE_NUMBER>7f7ba02a7e7b39dcb5b244e5682eb6 on master.


Migrate off of Docker Hub - Quick Script

This is created exclusively because of the changes with Docker Hub. See this thread for more information
https://github.com/docker/hub-feedback/issues/2314

Thanks for taking the time to put this together. I think there will be many more people being affected by Docker's pressing campaign in ways like not receiving updates, being forced to setup other registries, struggling to decide which to choose. So I guess you will see little explicit appreciation here and just wanted to drop mine.
It's funny how Docker is offering free advertising in this issue of theirs, with a little support from info world. I'm actually more upset about other stuff they do and their general attitude towards their users - paying or not. The impact of their latest blunder will be felt just as strongly by their paying customers. I think that's the only good outcome of all of this.


panic: Type xsd:unsignedInt not implemented

Happens on
<xs:element minOccurs="0" name="waiting" type="xs:unsignedInt"/>

Could you give a hint where I should start looking into the code?

I've had the same issue with long, anyURI, date, dateTime. In case you find something let me know so we can add more types.

All five types mentioned in this issue are now supported. Thank You for reporting those!


[AutoPR] monitor/resource-manager

Created to accumulate context: monitor/resource-manager

(message created by the CI based on PR content)

Codecov Report

Merging #4563 into master will decrease coverage by <.01%.
The diff coverage is 53.84%.

@@            Coverage Diff             @@
##           master    #4563      +/-   ##
==========================================
- Coverage    49.5%    49.5%   -0.01%
==========================================
  Files        6332     6332
  Lines      177160   177166       +6
==========================================
  Hits        87710    87710
- Misses      89450    89456       +6

Impacted Files
Coverage Δ

...gmt/monitor/operations/action_groups_operations.py
16.66% <100%> (ø)
:arrow_up:

.../azure/mgmt/monitor/models/webhook_receiver_py3.py
55.55% <50%> (-6.95%)
:arrow_down:

.../monitor/models/automation_runbook_receiver_py3.py
38.46% <50%> (-3.21%)
:arrow_down:

...zure/mgmt/monitor/models/logic_app_receiver_py3.py
50% <50%> (-5.56%)
:arrow_down:

...or/azure/mgmt/monitor/models/email_receiver_py3.py
50% <50%> (-5.56%)
:arrow_down:

...azure/mgmt/monitor/models/arm_role_receiver_py3.py
55.55% <50%> (-6.95%)
:arrow_down:

...mgmt/monitor/models/azure_function_receiver_py3.py
45.45% <50%> (-4.55%)
:arrow_down:

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 62d9426...de75206. Read the comment docs.


audit-avt1-breadcrumb: h3 id in use - color, typography, id

Environment:

Operating system: Mac
Browser: Chrome
AVT :one:
Page: Components - Breadcrumb: style
This issue affects 3 total violations

Detailed Description:
h3 id in use - color, typography, id

What to do:
For each element with an id attribute, provide a unique, non-empty value.
Why is this important?
The id attribute provides a machine-readable identifier for the elements of the page. A unique value for id allows browsers and assistive technologies to interpret and parse the content accurately.

Fix can be seen here: https://github.com/carbon-design-system/carbon-website/pull/2150


Fix the double free in conn_msg in client.

FIX [client] Fix the double free in conn_msg.

does it related to #1329?

Yes. And this pr https://github.com/nanomq/NanoNNG/pull/599 is also necessary for resolving https://github.com/emqx/nanomq/issues/1329.


Update client endpoint

Implementation point: api/client.go
PATCH should be used instead of PUT.

Test with xh patch http://localhost:8080/clients/cli redirect_uri=http://<IP_ADDRESS>:8088


game of life another example

I have just added another example to add to the list.
This is the game of life, as I see life folder has already. But this game-of-life has a bit simple code to understand.
Please review :) examples/gameOfLife
Screenshot:

Hi,
Thank you for the PR but I'm afraid I don't want to add a duplicated example.

This is the game of life, as I see life folder has already. But this game-of-life has a bit simple code to understand.

Then, updating the existing example would make more sense.

no problemo :)


Health check endpoint when running as sidecar

Question
I'm running alloydb-auth-proxy as a "native" sidecar container in Kubernetes. My main container needs to connect to AlloyDB immediately at startup. The obvious solution is to wait until alloydb-auth-proxy is ready and then start the main container.
Kubernetes provides a startupProbe which can open a TCP connection to the specified port, and I can use that to check if alloydb-auth-proxy has started. But the probe requires the pod to expose the port, and I don't want to expose the port since nobody else needs to connect to it other than the main container in the pod (all traffic between sidecar and main should stay inside the pod).
Is there any other way to make a readiness check for alloydb-auth-proxy container? A /healthz endpoint maybe? There's no shell so scripting isn't an option.
Code
spec:
  initContainers:
  - name: alloydb-proxy
    image: gcr.io/alloydb-connectors/alloydb-auth-proxy
    restartPolicy: Always
    envFrom:
    - configMapRef:
        name: ${CONFIGMAP_REF}
    args:
      - "--auto-iam-authn"
      - "--port=5432"
      - "$(DATABASE_URI)"
    ports:
      - containerPort: 5432
        protocol: TCP
  containers:
  - name: main
    env:
      - name: DATABASE_URL
        value: postgresql://localhost:5432/postgres

Additional Details
No response

Reading through the docs on sidecar containers, I wonder have you just tried your deployment as written above? Sidecar containers (and init containers) start before the main container (see the docs). So your application should be able to just connect and the Proxy will be ready.
If you do have problems with this approach, though, I'd be curious to hear about it.
The Auth Proxy has a built-in wait command that might also be useful -- although it was built prior to first class sidecar container support. The best documentation is in the help message (run ./alloydb-auth-proxy wait --help), but you can see that same message here: https://github.com/GoogleCloudPlatform/alloydb-auth-proxy/blob/4a501f6c10563cb2fbf30f0eed14d214af4c3525/cmd/root.go#L400-L427
If your deployment above doesn't work (please let me know), then you could use wait like this:

start the Auth Proxy like so: ./alloydb-auth-proxy <INSTANCE_URI> --health-check
run the wait command: ./alloydb-auth-proxy wait
then when your main container starts the Proxy should be up and running.

Oh wow, this actually worked! Here's what I used:
spec:
  initContainers:
  - name: alloydb-proxy
    image: gcr.io/alloydb-connectors/alloydb-auth-proxy
    restartPolicy: Always
    startupProbe:
      exec:
        command: ["/alloydb-auth-proxy", "wait"]
    args:
      - "--auto-iam-authn"
      - "--port=5432"
      - "--health-check"
      - "$(DATABASE_URI)"
    ports:
      - containerPort: 5432
        protocol: TCP
    ...
  containers:
  - name: postgres
     image: "postgres",
    env:
      - name: DATABASE_URL
        value: postgresql://localhost:5432/postgres
...

I can see the connection to health check port in the logs, meaning that it's actually happening.
As for the reasoning, and in response to

I wonder have you just tried your deployment as written above? Sidecar containers (and init containers) start before the main container (see the docs). So your application should be able to just connect and the Proxy will be ready.

The issue is that without the health/readiness check of an init container it is considered ready immediately when its process starts up, but it takes another few milliseconds to actually establish the AlloyDB connection. The main container may start up faster  and start connecting to alloydb-proxy container before that. This is what I had and this is why I needed a health check endpoint. So, thanks for solving this!


Dev mode page SSR ignores updates to file until it's restarted

Describe the bug
svelte-kit dev only SSRs a page once and then never refers to the file's contents again. The only thing it will notice is deleting the file (renders a 404 instead), but even then, creating a new file with the same name loads the cached SSR page again.
To Reproduce
npm init svelte@next
# no typescript, css
npm install

Comment out %svelte.head% as <!-- %svelte.head% --> in src/app.html to better see the effect.
npm run dev

You should see Hello world! on http://localhost:3000
Update index.svelte to say Another message and refresh the page, it will still be Hello world!.
Restart the dev server to see the changes take effect.
Expected behavior
At the very least, SSR should update on a manual refresh.
Ideally, live reload would trigger on file update if HMR is not possible (without commenting out %svelte.head% of course).
Information about your SvelteKit Installation:
  System:
    OS: Windows 10 10.0.19042
    CPU: (16) x64 AMD Ryzen 7 3700X 8-Core Processor
    Memory: 12.61 GB / 31.95 GB
  Binaries:
    Node: 14.16.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.10 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 7.6.1 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 89.0.4389.90
    Edge: Spartan (44.19041.423.0), Chromium (89.0.774.50)
    Internet Explorer: 11.0.19041.1
  npmPackages:
    @sveltejs/kit: next => 1.0.0-next.51
    svelte: ^3.29.0 => 3.35.0

Severity
This really sucks for developing on certain workflows, since it requires you to restart the dev server over every change.

This appears to be caused by vite-plugin-svelte's caching (cc @dominikg). If I comment out the following in<EMAIL_ADDRESS>if (cachedCompileData && !options.disableTransformCache) {
  log.debug(`transform returns cached js for ${filename}`);
  return cachedCompileData.compiled.js;
}

...everything works as expected. Tested with 0.11.1 (the latest version). The same code exists in the @sveltejs version, but I haven't yet verified whether the issue is still present: https://github.com/sveltejs/vite-plugin-svelte/blob/main/packages/vite-plugin-svelte/src/index.ts#L174-L177

Confirmed still happening with @sveltejs/vite-plugin-svelte main branch.

I filed an issue in the vite-plugin-svelte repo to track: https://github.com/sveltejs/vite-plugin-svelte/issues/3


"bootstrap" to UTC for all devices where possible + data model updates

This will be the real PR for bootstrapping to UTC. Supercedes #106, which I will close shortly.

#131 will replace this.


fix allocateId so it cannot be called on complete keys

fix #1567 to not allow allocateId to be called on Key object (i.e. complete keys), since:

allocateId in google cloud datastore doesn't support the function of reserving a user-specified numeric Id (which is supported in GAE datastore)
calling allocateId on key will simply erase the current id and assign a new random id, which may not be what users expect. (Users may expect calling allocatedId on a key will reserve the id in that key)
the api service will throw an error if a complete key is passed in.

LGTM

Coverage decreased (-0.7%) to 80.801% when pulling 73cd6da6fc24c4bd2b91a0e35c8f76f1dd5b3382 on neozwu:fix-allocateId into 0a2bf7fcad989029c4ee982a4f6591d8201f2a96 on GoogleCloudPlatform:master.


raidboss: Eden Normal timeline improvements

Eden 7's change isn't that important, but it's an improvement, so I threw it in.
Eden 2 and 8 have had sync issues since before the start of Endwalker. Voidwalker's update should be self-explanatory. I'm still not sure where the Shiva sync issues come from, but on multiple occasions things have desynced by 3-5 seconds during the first phase. When I originally put this timeline together, player DPS was far too low to even think of breaking the timeline, so I never bothered to add safety sync windows.

Thanks for this! I haven't done any normal modes in a long while.


Use the httpd base image

now running as non-root (user default)
configuration file more or less copied from php55-php SCL rpm
changed DocumentRoot to /opt/openshift/www/php
use sti-httpd's scl_enable.d

This is tested with what I've got in https://github.com/mnagy/sti-httpd-wip/pull/1

@mnagy when you get back you can revisit this as a PR against the actual openshift/sti-php repo now that it's been delivered.  but obviously first we need the sti-http image to be create, built, and pushed.
and neither of those things are a priority for the short term.


Share result image

User must be able to share the result without saving it. E.g. send into messenger or another app.

I think we can do something similar

Screenshots

Implemented in #21


Python bindings undefined symbol on Raspberry Pi 4

Hello
I followed the installation guide on https://google.github.io/mediapipe/getting_started/python.html on my Raspberry Pi 4
After trying to import mediapipe in python I get the error:
>>> import mediapipe
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.7/dist-packages/mediapipe/__init__.py", line 16, in <module>
    from mediapipe.python import *
  File "/usr/local/lib/python3.7/dist-packages/mediapipe/python/__init__.py", line 17, in <module>
    from mediapipe.python._framework_bindings import resource_util
ImportError: /usr/local/lib/python3.7/dist-packages/mediapipe/python/_framework_bindings.cpython-37m-arm-linux-gnueabihf.so: undefined symbol: _ZN3ruy14Kernel8bitNeonERKNS_16KernelParams8bitILi4ELi2EEE

I found it's a function from ruy, a matrix multiplication library used by Tensorflow.
Anyone knows how to resolve this issue?

https://google.github.io/mediapipe/getting_started/python.html points to https://github.com/jiuqiant/mediapipe_python_aarch64 for the raspberry pi users.
In https://github.com/jiuqiant/mediapipe_python_aarch64/blob/main/README.md, I bypass a similar issue by adding "ENABLE_NEON": "OFF".
diff --git a/third_party/BUILD b/third_party/BUILD
index ef408e4..51e1104 100644
--- a/third_party/BUILD
+++ b/third_party/BUILD
@@ -110,6 +104,8 @@ cmake_external(
   "WITH_ITT": "OFF",
   "WITH_JASPER": "OFF",
   "WITH_WEBP": "OFF",
+   "ENABLE_NEON": "OFF",
+   "WITH_TENGINE": "OFF",

Do you try this as well?

https://google.github.io/mediapipe/getting_started/python.html points to https://github.com/jiuqiant/mediapipe_python_aarch64 for the raspberry pi users.
In https://github.com/jiuqiant/mediapipe_python_aarch64/blob/main/README.md, I bypass a similar issue by adding "ENABLE_NEON": "OFF".
diff --git a/third_party/BUILD b/third_party/BUILD
index ef408e4..51e1104 100644
--- a/third_party/BUILD
+++ b/third_party/BUILD
@@ -110,6 +104,8 @@ cmake_external(
   "WITH_ITT": "OFF",
   "WITH_JASPER": "OFF",
   "WITH_WEBP": "OFF",
+   "ENABLE_NEON": "OFF",
+   "WITH_TENGINE": "OFF",

Do you try this as well?

I thought I did everything in the guide, but now I'm not sure if I remember doing this step. I don't have much time to try it, so I will close the issue. In a few weeks, I will have more time and I will reopen this issue in case it still persists. Thank you for your reply!

I thought I did everything in the guide, but now I'm not sure if I remember doing this step. I don't have much time to try it, so I will close the issue. In a few weeks, I will have more time and I will reopen this issue in case it still persists. Thank you for your reply!

Hey, i'm currently facing the same issue and I have ENABLE_NEON: "OFF" and I still have the same error, after I changed the third_party/BUILD , I re ran gen_protos and then bdist_wheel but I'm getting the same error
I'm not sure if I should just open a new issue, since this is so similar

Facing the same issue on a Raspberry Pi 4. I've compiled it using the aforementioned aarch64 guide and have ENABLE_NEON: "OFF" set

Hi I have the same problem.
System Odroid XU4. Ubuntu Mate 4.14
I used this "manual"
After having a lot of trouble, building bazel itsself for Odroid and afterwards protoc, I was able to run step 7 (build)
~/mediapipe$ python3 setup.py gen_protos && python3 setup.py bdist_wheel
But i am still not able to install and use mediapipe on odriod with python3.6
The state steps
~$ python3 -m pip install cython
~$ python3 -m pip install numpy
~$ python3 -m pip install pillow
~$ python3 -m pip install mediapipe/dist/mediapipe-0.8-cp38-cp38-linux_aarch64.whl

do not work as expected: numpy and pillow is ok. But cython fails. Don't even know, if I really need it?
the step to install the .whl-file also fails for me in the step of
building wheel for opencv-contrib-python
So I did run ~$ python3 -m pip install mediapipe/dist/mediapipe-0.8-cp38-cp38-linux_aarch64.whl --no-deps
This results in the error stated above, when trying to import mediapipe.
One hint: Building protoc was successful, but make test was not. Maybe there is still a problem?

The issue "undefined symbol: _ZN3ruy23Pack8bitRowMajorForNeonEPKhiiiiiiPaiiPiii" is a TFLite issue. TFLite doesn't support ARM native build with Bazel: https://github.com/tensorflow/tensorflow/issues/42471#issuecomment-696529766. Feel like there is not too much we can do for this issue.

So, that begs the question: what do you use to build mediapipe?  Searching around the net, people have been able to build mediapipe on rPi that does not get the error.  In fact, I've used one of the images for rPi3 and it works, but it's an older image and I wanted to get the latest mediapipe version.  It would appear that somethings have changed in mediapipe since 0.8.4 that are causing this issue?  Some help would be greatly appreciated, since the rPi user community is growing.

Hi @johncblacker, Could you please open a new issue or a feature request w.r.t your above comment. As this comment address the above thread. Thanks!

I opened a feature request to officially support building mediapipe on raspberry pi 3 and 4

I think that maybe caused by using 64bit OS ? seems like the 32bit version works fine~..


Strange problem with Nancy + Windsor + Gate

Hi,
I'm trying to run Nancy app without http.sys and IIS. The example https://github.com/ArloL/NancyInGate works perfectly with TinyIoC but fails with Windsor. Steps for test:

Pull https://github.com/ArloL/NancyInGate project
Add NuGet dependency Nancy.Bootstrappers.Windsor
Add empty bootstrapper inherited from WindsorNancyBootstrapper
Run application
Try to access it by http://localhost:8081

After this steps I get:
Nancy.RequestExecutionException: Oh noes! ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Castle.MicroKernel.Lifestyle.Scoped.CallContextLifetimeScope.GetCachedInstance(ComponentModel instance, ScopedInstanceActivationCallback createInstance)
   at Castle.MicroKernel.Lifestyle.ScopedLifestyleManager.Resolve(CreationContext context, IReleasePolicy releasePolicy)
   at Castle.MicroKernel.Handlers.DefaultHandler.ResolveCore(CreationContext context, Boolean requiresDecommission, Boolean instanceRequired, Burden& burden)
   at Castle.MicroKernel.Handlers.DefaultHandler.Resolve(CreationContext context, Boolean instanceRequired)
   at Castle.MicroKernel.Handlers.AbstractHandler.Resolve(CreationContext context)
   at Castle.MicroKernel.DefaultKernel.ResolveComponent(IHandler handler, Type service, IDictionary additionalArguments, IReleasePolicy policy)
   at Castle.MicroKernel.DefaultKernel.Castle.MicroKernel.IKernelInternal.Resolve(String key, Type service, IDictionary arguments, IReleasePolicy policy)
   at Castle.MicroKernel.DefaultKernel.Resolve(String key, Type service, IDictionary arguments)
   at Castle.Windsor.WindsorContainer.Resolve[T](String key)
   at Nancy.Bootstrappers.Windsor.WindsorNancyBootstrapper.GetModuleByKey(String moduleKey, NancyContext context)
   at Nancy.Routing.DefaultRouteResolver.GetInitializedModuleForMatch(NancyContext context, Tuple`4 routeMatchToReturn)
   at Nancy.Routing.DefaultRouteResolver.CreateRouteAndParametersFromMatch(NancyContext context, Tuple`4 routeMatchToReturn)
   at Nancy.Routing.DefaultRouteResolver.Resolve(String path, NancyContext context, IRouteCache routeCache)
   at Nancy.Routing.DefaultRouteResolver.Resolve(NancyContext context)
   at Nancy.NancyEngine.ResolveAndInvokeRoute(NancyContext context)
   at Nancy.NancyEngine.InvokeRequestLifeCycle(NancyContext context, IPipelines pipelines)
   --- End of inner exception stack trace ---
   at Nancy.NancyEngine.InvokeOnErrorHook(NancyContext context, ErrorPipeline pipeline, Exception ex)

My brief examination shows that there's problem with private cache in CallContextLifetimeScope instance. On first call for WindsorNancyBootstrapper.GetModuleByKey object of type CallContextLifetimeScope exists and returns with CallContextLifetimeScope.ObtainCurrentScope(). But it seems to be disposed - cache is null already.

I'm letting you guys know that this is still an actual issue.Nancy + Windsor + owin self host + async = scope gets disposed before the request ends, so awaiting after some EF6 queries fails with disposed objectcontext.
I've solved it for our project in a similar fashion by LifestyleScoped() everything that has to be per request and adding it into the context inside a similar wrapper, rather than nearest INancyModule. It seems to work so all good.


Lines without semicolons are put on the same line

Lines without semicolons appear to have their newlines removed until the next line with a semicolon is hit, rather than having a semicolon added.
global.roundOver=true
alarm[3]=room_speed/10;
audio_stop_sound(aMusicTitle);

turns into
global.roundOver=true alarm[3]=room_speed/10;
audio_stop_sound(aMusicTitle);

Thanks. looking into it now

This ties into a deeper issue in how we handle statement/expression trailing comments. If a statement-expression has a trailing comment after ; then we correctly capture it, but a trailing comment without a ; has trouble being captured.
The best solution is to let it break and fix it, rather than trying to build a levy against errors. Levies are hard to maintain but rebuilding is relatively simple. We can do that in the print_expression_statement section.

Solved. Tomorrow morning i'll push a new update out now.
If you're inpatient, the master branch has the new updates if you want to build from source. Binaries tomorrow


History feature

Feature Description
When I run mangal I would like to continue reading where I left off during my last session
Solution you would like
A -c | --continue flag where I can select a manga and which will automatically take me to where I last left off
Alternatives you have considered
No response
Additional context
No response

Sure, that could be a thing!


remove nid but leave %

What's this PR do?
This seems to work if you leave the wildcard as just %.
How should this be reviewed?
Can you hit /reportback/failure/1283?
Checklist

[ ] Tested on staging.

👍


Pixiv crashing when artist removed his/her works

Prerequisites

[X] Did you read FAQ section?

[x] Did you test with the latest releases or commit ?

Description
[Description of the bug or feature]
Loads of errors when trying to grab pictures from an artist who removed all of them.
Expected behavior: [What you expected to happen]
Recognizing the deleted works and just skip the artist
Actual behavior:* [What actually happened]
Lots of error messages.
Versions
20190501b
https://i.imgur.com/5szp0ON.png
Artist ID: 206921

Try repack2 https://github.com/Nandaka/PixivUtil2/issues/483#issuecomment-488590435

Do you perhaps got a repacked version for Ubuntu? As the linked one is only for Windows as I'm testing it on my home pc.

you can get the latest version by clicking clone/download the repo button from github.


[RESOLVED] High ICMP ping response time

Problem started at 08:59:14 on 2023.05.12
Problem name: High ICMP ping response time
Host: MF-FG
Severity: Warning
Operational data: Value: 540ms
Original problem ID: 20567
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23132&eventid=20567

Problem has been resolved in 7m 0s at 09:06:14 on 2023.05.12
Problem name: High ICMP ping response time
Host: MF-FG
Severity: Warning
Original problem ID: 20567


fix #2004 Span is not terminated properly in Spring Cloud Gateway

As stated in title, for request body, it should also be traced

Can you please create a test for that?

The build is broken due to
 Error:  /home/runner/work/spring-cloud-sleuth/spring-cloud-sleuth/spring-cloud-sleuth-instrumentation/src/main/java/org/springframework/cloud/sleuth/instrument/web/TraceWebFilter.java:47:1: Wrong order for 'org.springframework.core.Ordered' import. [ImportOrder]

Can you put the imports in order and write the missing tests please?

Closing due to inactivity


incorrect luck days

In libs/stats.js
 var _blocktime = 160;
				var _networkHashRate = parseFloat(coinStats.poolStats.networkSols) * 1.2;
				var _myHashRate = (coinStats.hashrate / 1000000) * 2;
				coinStats.luckDays =  ((_networkHashRate / _myHashRate * _blocktime) / (24 * 60 * 60)).toFixed(3);
coinStats.luckHours = ((_networkHashRate / _myHashRate * _blocktime) / (60 * 60)).toFixed(3);

But BTG block time is 600sec

interesting.. thats true.. hmm

@Z1gun created a pull request for you (#13)

Fixed


Updated sookasa to 3.13.10

Thank you for the contribution. It was merged directly as 136d179f61987afffe2fd5c3cc391a605e5bd447 to keep commit history cleaner. Your contribution is still credited to you.


Slow performance when using checkboxes

Hi, we started using checkboxes in our project right away but when a node has around a hundred children (or more obviously), 110 in our case, performance when selecting the parent node is very poor. When it's closed it is ok, but when open it takes a couple of seconds to auto-select all children. Prod mode makes it slightly better but still not good enough. Can this be fixed without using virtual scroll?

I identified the problem - will be fixed in coming release
Adam Klein
Chief Technology Officer
Tel.   +972-52-7475633 <+972527475633>
Web 500tech.com http://www.500tech.com/ | github.com/500tech |
@adamklein500 http://twitter.com/adamklein500
On Tue, Dec 19, 2017 at 1:29 PM, AleksiAleksiev<EMAIL_ADDRESS>wrote:

Hi, we started using checkboxes in our project right away but when a node
has around a hundred children (or more obviously), 110 in our case,
performance when selecting the parent node is very poor. When it's closed
it is ok, but when open it takes a couple of seconds to auto-select all
children. Prod mode makes it slightly better but still not good enough. Can
this be fixed without using virtual scroll?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/500tech/angular-tree-component/issues/512, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA2SSnek7W06QZWvi5vCIc1WYqTjwP0kks5tB53-gaJpZM4RG0pu
.

Is there a planned date for the next release. I'm currently suffering also a performance problem with the checkboxes. Don't know if it's the same, but like to test.

Any update around this?!


fixed access to deleted temporary string object

Dear authors,
i want to provide a fix i have made in your project. At the end of the file tap.h, a temporary string will be created with (ci->first + ".tap") and then the pointer to the (temporary) c_str() will be saved in a variable. When its used, the temporary string has already been deleted. This leads to crashes on my host sometimes. Besides that, i fixed some problems, when compiling with very strict compile options.
greetings
Bruce

@BruceBlank Thanks a lot, you're totally right for the temp str, my bad. I'd definitely accept the fix without the rest as they are about code styles. As far as I know, we do not follow those. Could you split the PR please and keep here only the fix? Thanks.
For the code style, we can discuss it in another issue or PR. But I do not see a good reason to change the current style. @kinow what do you think?


Purge unmanaged config docs + tidy up external config docs

Q
A

Bug fix?
yes

New feature?
yes

API breaks?
no

Deprecations?
no

Related tickets
fixes bank-vaults #605, related to bank-vaults #1503

License
Apache 2.0

What's in this PR?
This PR is part of the documentation of the new feature purgeUnmanagedConfig.
I've also done some enhancements related to the change:

Split the external-configuration into smaller pages according to this FIXME note.
For better readability in Github, I limited the line length to 120 characters only.
Moved the Environment variables to its own section since it's a bit confusing to have it in the same level of externalConfig values. (it has different key which is envsConfig).

Why?
Related to  #605, related to #1503
Checklist

[x] Code meets the Developer Guide

@bonifaido this is the docs part.


Metal binding model

PTAL, this fixes the Metal binding model that was "how did this even work" before.
Also, push constants.
Will fix #58

Thanks!


select won't pass data on form submit

I've a form with a select field properly initiated, but on form submit using POST method all fields pass data except the select field, but as soon I use the browser-default class the select field pass the data, if I submit the form with GET method it works as well, and I'm using PHP to process the form, not javascript.
I'm using jquery3.1.1, and tested it with Materialize 0.97.7 and 0.98.0
This doen't work, it just don't return any data.
`<select name="type" id="selectType">
    <option value="1" selected>Option 1</option>
</select>`

This works, and return the type: 1.
<select name="type" id="selectType" class="browser-default">
    <option value="1" select>Option 1</option>
</select>

Any progress on this one? this is a huge bummer for form functionality!

Duplicate of #4562


ReferenceError: localStorage is not defined

Hi,
I am using NextJs, and getting the error

ReferenceError: localStorage is not defined

when my code is
import * as  SecureLS from 'secure-ls';
var ls = new SecureLS({})

@gauravmuk  Please help me resolve the issue.

Same issue, did you found a workaround for this?

Hi,
This package assumes that localStorage is present. In the case of NextJs Server-side Rendering, localStorage is not defined as node has no in-built support.
@Sphinxs is right. You should use this to have localStorage in the node. And once it is globally defined, you can use this lib: secure-ls to have additional functionalities like encrypting and compressing the data.

Guys,
I solved this using the following.
let ls;
const init = () => {
    ls = new SecureLS({
        encodingType: 'aes',
        encryptionSecret: process.env.NEXT_PUBLIC_SECURELS_SECRET,
    });
};
if (global?.localStorage) init();

I'm using typescript.


automation config page broken

since version 0.58.1 when I try to create a new automation the UI is unresponsive and I have in the brower console :
TypeError: this._updateComponent is not a function

Same issue here... It seems the page is broken too. When creating new Automation you cannot add action or condition and the save button is hiding at the bottom of the page and cannot be clicked. Although editing existing Automation seems working.

Please reopen this issue on Home-Assistant repository. Here is only hass.io they make home-assistant available but do not run it or modify it. Thanks for reporting

Just ran into this issue on a new install. has me dead in the water . . .


[DA] parallelize DA and proposer

purpose:
publish tx as fast as possible
issues arising from the design:

need to implement thread-safe tx buffer (in present, propose will block append tx to buffer, and this operation will block execution)
new timer at server starting for DA submiting

p.s.
handle inconsistence between SCC on chain and DA:
actually, without parallelizing we still have inconsistence issue (dirty DA blocks but haven't submitted on chain). What we have to do is only following the SCC on chain to re-upload new blocks which have the same block number but not the same tx list to DA. Dirty blocks on DA could be ignored according to the SCC on chain.

New design is here: #2929
Pack DA batch first, after DA submision done for batch, proposer will start work with this batch


fsspec.exists maximum recursion error on azure blobstorage

fs.info('exists/nonexistent') is fine but fs.exists('exists/nonexistent') keeps recursing.

You should probably post or xref this at the adlfs repo

Fixed with newest adlfs=0.5.9


fix: move actions related to font size to its own file

Below is the gist, more details in https://keybu.com/l/69d3c20bfdfd76ae6b42/creating-esm-bundle-for-excalidraw-utils
Currently the below font actions are being imported in textWYSIWG 👇
import {
  actionDecreaseFontSize,
  actionIncreaseFontSize
} from "../actions/actionProperties";

Any direct imports or imports where any of the actions are getting imported from actionProperties will lead to react and react-dom getting bundled due to ColorPicker.tsx , IconPicker and more such components being imported in Actions.tsx which ultimately bundles react umd. Ideally best would be to have each action imported from its own file
This is fine for the App but is causing react to get bundled in utils as well eg 👇
import { getElementBounds } from "../excalidraw/element/bounds";

Moving the below actions to its file would resolve this issue
import {
  actionDecreaseFontSize,
  actionIncreaseFontSize
} from "../actions/actionProperties";

Additionally, we should stop this chain right at textElement and move the imports from textElement eg getContainerElement to different file so they are pure. That was my initial approach as well, however we didn't agree in splitting textElement.ts. However we are still splitting the files (just a different one) :/

Whether React is bundled into textWysiwyg shouldn't concern us, as textWysiwyg is inherently view-based and coupled to the editor.
What we want is to remove global state from textElement.ts utils — namely the dependency on textWysiwyg (resetOriginalContainerCache(), updateOriginalContainerCache()).
I'm not against splitting textElement.ts file — my concerns were about splitting it "randomly". Previously, we were introducing two textElement.ts files due to the split, which was the problem.
If we for example factor out the handleBindTextResize() & redrawTextBoundingBox() into a layout.ts file, that would make more sense. handleBindTextResize is more related to resizing though.

Whether React is bundled into textWysiwyg shouldn't concern us, as textWysiwyg is inherently view-based and coupled to the editor.
What we want is to remove global state from textElement.ts utils — namely the dependency on textWysiwyg (resetOriginalContainerCache(), updateOriginalContainerCache()).
I'm not against splitting textElement.ts file — my concerns were about splitting it "randomly". Previously, we were introducing two textElement.ts files due to the split, which was the problem.
If we for example factor out the handleBindTextResize() & redrawTextBoundingBox() into a layout.ts file, that would make more sense. handleBindTextResize is more related to resizing though.

Moving both the functions handleBindTextResize() & redrawTextBoundingBox() to a single file layout.ts doesn't seem semantically right so I think we have two alternatives

Let the textElement as is now and decouple the caching logic instead to a containerCache.ts
Move handleBindTextResize to resizeElements and redrawTextBoundingBox to layout.ts

Both of these would solve the issue, however I am more in favour of (1). Let me know what you think.

Let's touch base with @Mrazator if he's working on textwysiwyg and these helpers. If yes, let's go with solution (1) for now and schedule the textwysiwyg refactor for afterwards, otherwise I'd start working on it asap so we don't forget.

Let's touch base with @Mrazator if he's working on textwysiwyg and these helpers. If yes, let's go with solution (1) for now and schedule the textwysiwyg refactor for afterwards, otherwise I'd start working on it asap so we don't forget.

As discussed in chat, I am going ahead with (1)

closing in favour of https://github.com/excalidraw/excalidraw/pull/7637


csv output option

Would be good to have a csv output option, so that we could easily extract fields using good old linux cli commands and without redoing any formatting of any kind.
Like in the example below the first field has space in it.
$  az account list-locations -o table
DisplayName           Latitude    Longitude    Name
--------------------  ----------  -----------  ------------------
East Asia             22.267      114.188      eastasia
Southeast Asia        1.283       103.833      southeastasia
Central US            41.5908     -93.6208     centralus
East US               37.3719     -79.8164     eastus
East US 2             36.6681     -78.3889     eastus2
West US               37.783      -122.417     westus

Would be good to have this:
$  az account list-locations -o csv
East Asia,22.267,114.188,eastasia
Southeast Asia,1.283,103.833,southeastasia
Central US,41.5908,-93.6208,centralus
East US,37.3719,-79.8164,eastus
East US,2,36.6681,-78.3889,eastus2
West US,37.783,-122.417,westus
North Central US,41.8819,-87.6278,northcentralus
South Central US,29.4167,-98.5,southcentralus

So we can do things like this:
 $  az account list-locations -o csv | awk -F, '{ print  $4" -> "$1 }'
eastasia -> East Asia
southeastasia -> Southeast Asia
centralus -> Central US
eastus -> East US
eastus2 -> East US 2
westus -> West US

I think this option could come handy sometimes.

add to S168

This should be simple to do. Why has it been 2 years without even an update? This is a sorely lacking feature with nary a decent workaround.

any update of this request?

I've been googling for 20 minutes now to find a way to get CSV output from azure cli in WSL2. Nothing seems to work. Is there an alternative that works? All the examples replacing tabs with comma's are not working because the output doesn't contain any tabs even when specifying tsv as output format.


additional arguments for 'qiskit.visualization.plot_circuit_layout'

What should we add?
Currently the function highlights the layout of a circuit transpiled for a given target backend.
Useful additional features/options would be:
(coloring is just a suggestions)

color non-used parts in grey
color used parts in green
pass a list of (user-defined) bad qubits/gates and high-light those in black if not used in circuit and in red if used in circuit
pass a list of specific quantum operations to be highlighted (example only highlight physical gates gates such as x,sx, zz,zx, measuremetns etc, but not barriers, delays
pass a list of specific quantum operations to be ignored (highlight everything but these operations, for example ignore barriers, but still highlight delays instructions
scaling feature to change graph size

possible example (here generated with qiskit.visualization.plot_coupling_map by passing a list of qubit colors manually


Openflow 1.3 on Hp Van SDN Controller not working properly

I am using a python script to configure the network after updating the OVS Kernel Switch to OpenFlow V1.3. The HP Controller sees the switches but not the links. Is there any command to enter differently in the python script then there would be when using openflow V1.0?
All works fine using OpenFlow V1.0

OVS 2.3.1 works out of the box with OpenFlow 1.0 or 1.3. For example
sudo mn --controller remote
will make a network using OVS switches (by default) which are both 1.0 and 1.3 compatible, and those switches will attempt to connect to a locally running controller, which is responsible for negotiating the OpenFlow version.
If the VAN controller doesn't work with OpenFlow 1.3, then this doesn't sound like a Mininet bug.
If the VAN controller doesn't work with OVS 2.3.1, it's also not a Mininet bug.
Can you please:

Confirm that you are or are not reporting a Mininet bug
If you are not, please close this issue?

Thanks.

Its more of a question then reporting a bug. The van controller does work with openflow 1.3, but the links don't display when using the python api on mininet. I was asking if in some way the protocol has to be entered into the python script like with a bash script or maybe its that the python api doesn't support openflow 1.3?

A few things:

Github issues should be used for mininet bug report or feature requests.

Questions and discussions should to go mininet-discuss

Can you please confirm that:
sudo mn --controller remote

works as expected?

If you believe there is some bug in Mininet, can you please provide a complete and very detailed list of all steps required to reproduce it,  and also explain in detail what you think the correct behavior should be?


created regex to validate first char of username

Closes: #1
Fixes #1

It's a good idea to open an issue first for discussion.

[x ] Tests pass
[x ] Appropriate changes to README are included in PR

Signed CLA... thanks for making us do that to finish the Coursera course...


Make sure the profile clearly displays the unified information for profiles

Is your feature request related to a problem? Please describe.
After #140, we must update the profile on app telos accordingly.
Describe the solution you'd like

Adapt the current forms to reflect the unified data
Adapt the information being shown
Adapt the information being saved and retained

I'm closing this issue because this effort has been mapped at #141


Update default CodeQL bundle version

Merge / deployment checklist

[x] Confirm this change is backwards compatible with existing workflows.
[x] Confirm the readme has been updated if necessary.

Seems to be fine. I'm happy to approve once the integration tests are reverted.

Seems to be fine. I'm happy to approve once the integration tests are reverted.

Thanks, done


src: photos: add chapter details

"longitude": 12.8625611,
"latitude": 77.6656671,
"batch": 2020,
"photo": karthik,
"region": "Asia",
"skills": ["Bleh"],
"name": "B K Karthik",
"bio": "ಠ益ಠ.",
"url": "https://dsc.community.dev/pes-university-ec-campus",
"chapterName": "PES University Electronic City Campus",
"github": "http://github.com/call-me-bk",
"linkedin": "https://www.linkedin.com/in/iamKarthikBK/",
"twitter": "https://twitter.com/iamKarthikBK",
"portfolio": "https://www.nohello.com/"

Thanks for adding yourself ☕


Error when click “Open in new tab”

When using the right button "Open in new tab", a new blank page will be opened, refer to GIF

Thanks for the great gif! Looking into this rn.

Okay, this is now resolved with release 1.0.9. Please let me know if you encounter any other issues! Thanks.


Test CVE's for QG (Short Notice)

FIX:

https://github.com/catenax-ng/tx-item-relationship-service/security/code-scanning/706 (706)
https://github.com/catenax-ng/tx-item-relationship-service/security/code-scanning/663
https://github.com/catenax-ng/tx-item-relationship-service/security/code-scanning/708 (708)

@ds-ext-kmassalski  Please inform DevSecOps Team to be aware that this is located in eclipse-temurin image and we do not have any troubles regarding this in QG. Thank. In addition please take this to the DevSecOps hour.
fyi
@jzbmw @ds-jhartmann @ds-ext-sceronik @almadigabor

Hi @ds-ext-kmassalski and @mkanal,
We can definitely talk about it in the office hour again. Just to leave it here as well. @ds-ext-kmassalski is right with what he got from our TRG 4.02. We do indeed use base images as is, without any change.
The base images we aligned on are official ones on DockerHub.
DockerHub is doing container scans for them and is publishing the results in docker-library/repo-info. For our annotations in the "Notice for Docker images", we rely on that info being present. Altering the base image will render these scan results obsolete and our info in the notice wouldn't be correct anymore.
Up until now, there is no process on updating previously released images, in case a vulnerability is fixed in the base image. So if you have any suggestion on such a process, that is overwriting image tags, feel free to suggest it in the office hours or the mailing list

Finds were fixed and migration documented - aligned with devSecOps Team


/etc/os-release

Would it be possible to have /etc/os-release?
I think it would make the powerlevel10k prompt use the Nix icon.
It's from nixos/modules/misc/version.nix.

I'm not against providing the file, but... what do I write in there? Nix-on-droid isn't NixOS, and powerlevel10k looks for nixos.

Oh yeah, good point.
I thought that it should be the nix icon since this is more than Linux, it's nix. But maybe it should be the Android icon, if there's one.
Neofetch shows an android logo.
Do you think it would be a good idea to report "Android" as the os? powerlevel10k seems to support it.

I, personally, think it'd be better to report nix-on-droid, and make powerlevel10k consume LOGO="nix-snowflake".


HHH-17783, HHH-17918 - Allow early initialization of entity instance by non-owning initializer

https://hibernate.atlassian.net/browse/HHH-17783
https://hibernate.atlassian.net/browse/HHH-17918
Alternative solution to #8110, including the reproducer kindly provided by @gtoison in #8136.

For reference: this change allows any entity initializer, even the "non-owning" one, i.e. not the one stored in the EntityHolder, to eagerly execute instance initialization if it gets to it first. This effectively moves the burden of initialization from the owning initializer to the first one that gets to actually initialize the entity. This also means we need some additional checks to avoid duplicating work.

Looks better than https://github.com/hibernate/hibernate-orm/pull/8110. Great work!


Option to disable update check

I have a script that updates PowerShell modules once a week, I don't need this update check:

Unfortunately,it's necessary, and I won't add a configuration to disable it either.

This is an update of the module and must be kept up-to-date, as all the completion in the repo is for the latest version service.

If the version is not the latest, Adding, updating, and removing completion may trigger unexpected incompatibility errors

Of course, frequent updates are a problem, but this proves that there are some areas that need to be modified, and once stable, such updates will become less and less frequent

In other words, it's updates are not complex, you just need to press Enter and wait it.

Unfortunately,it's necessary

For me, it's not, I don't use these completions this often, not having a choice to disable this isn't good.

And needing to press any key TWICE to skip this updater is ridiculous:

As mentioned in my previous update logs, there is no issue with the module.
This should be due to other modules you are using affecting it.

Of course, frequent updates are a problem

It's not a problem when you are not annoyed by this update check that you don't really need.

Just press Enter, it won't take up much of your time.
When you are the latest version, the update check will not appear.

Just press Enter, it won't take up much of your time.

I don't want to, I set up a weekly update script not to ever update anything manually.
And most importantly, I don't think this module is important enough to block you from using shell until you do something, nothing bad (or anything at all probably) will happen if i just not update module or completions.

If you are unwilling to do such a simple thing(Only press Enter), why not uninstall it directly?
As you said, this module  isn't important.

this module isn't important.

That's not what i said, i said I don't think this module is important enough to block you from using shell until you do something, i do want to use this module, just without this update check.

Perhaps I can add this option and describe it as a warning option.
But If there are no other content updates, it will not have the next version.
I won't update the version just only for this option.

In the new version, this option has been added.

@abgox thank you!


Fix find index in BasePermissionsController.js

find by default uses RegExp
Should fix  #2278

Used getById()
Also replaced all getData().* to getId() and get()
Also used findExact('type',  in NotificationsController.js

Thanks for fixing the issue and cleaning up the code.


Support merging on nested and nonexistent keys

to: @jacknagz or @ryandeivert
cc: @fusionrace @mime-frame @jbussing @airbnb/streamalert-maintainers
size: medium
Background
Right now, alert merging is only supported for top-level keys. Moreover, there is a bug where merged alerts cannot be created if the specified merge key doesn't exist in the record.
This PR enables merging for any key anywhere (or nowhere) in the record
Changes

The alert merger uses the existing get_first_key method to recursively search the entire record for the specified merge key.
A number of functions from the helpers folder (including get_first_key) have been migrated to stream_alert/shared/utils.py because they are imported by the StreamAlert core (Lambda functions). Rules which use these helpers will work exactly as before, because helpers/base.py imports them from stream_alert/shared/utils.py

A consequence of this change is that netaddr is now required for the alert processor and alert merger, since they import utils.py which includes netaddr logic

Testing

Deploy to test account
Configure binaryalert_yara_match rule with merge_by_keys=['nested']
Send 3 BinaryAlert records of the form

{
    'NumMatchedRules': random.randint(1, 100),
    'FileInfo': {
        'there': None,
        'nested': [1, 2, 'hi']
    },
    'MatchedRules': {
        'Rule1': 'Stuff'
    }
}

Received the following Slack message:

Testing again, this time eliding 'nested' from the records:

Coverage increased (+0.1%) to 97.211% when pulling 6cddedc81a177d333f41a42ae68eee2d744488b3 on austin-better-merging into 0578f3ce1b831b469c465b1f6446eb5693887b76 on master.


Execution sequence of tea pipelines not as expected

I'm running these two chained commands with tea
tea -X wget -O test.ts https://gist.githubusercontent.com/mfts/b470b1608834e78fdddb78217aeee6d8/raw/a6cf6746628582ab39e7df97613d7f6472469f55/happy-new-year.ts | tea -X bun run test.ts

I expect that that wget gets the file AND THEN pipes it to the second command tea -X bun run test.ts
However, it seems that both commands get executed at roughly the same time and therefore the second command throws an error because test.ts does not exist.
Error message
error: missing script "test.ts"
--2023-01-05 11:17:17--  https://gist.githubusercontent.com/mfts/b470b1608834e78fdddb78217aeee6d8/raw/a6cf6746628582ab39e7df97613d7f6472469f55/happy-new-year.ts
Resolving gist.githubusercontent.com... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
Connecting to gist.githubusercontent.com|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 63 [text/plain]
Saving to: 'test.ts'

test.ts                       100%[=================================================>]      63  --.-KB/s    in 0s

2023-01-05 11:17:17 (5.01 MB/s) - 'test.ts' saved [63/63]

Surprisingly, it works as expected when the first command is not using tea
wget -O test.ts https://gist.githubusercontent.com/mfts/b470b1608834e78fdddb78217aeee6d8/raw/a6cf6746628582ab39e7df97613d7f6472469f55/happy-new-year.ts | tea -X bun run test.ts

Using system-installed wget
$ which wget
/usr/local/bin/wget

Yes, both commands are instantiated at once and pipe their stdout to the stdin of the next one in the chain. This is a feature of UNIX and the shell and not something tea can control.
If you need one to wait for the other you use &&:
tea -X wget -O test.ts https://gist.githubusercontent.com/mfts/b470b1608/happy-new-year.ts && tea -X bun run test.ts

bun should support stdin (it's an interpreter and this is expected) but apparently it doesn’t.
This will probably work instead:
tea -X bun run <(tea -X wget -O test.ts https://gist.githubusercontent.com/mfts/b470b1608/happy-new-year.ts)


fix: Refocus issue on address field on delete and cancel

Details

Fixed Issues
$ https://github.com/Expensify/App/issues/27182
PROPOSAL: https://github.com/Expensify/App/issues/27182#issuecomment-1714342982
Tests

Open the app
Click plus and open request money
Click on distance
Click on Add stop
Open newly created stop
Click on 3 dots and click on delete waypoint
Click cancel in confirmation popup
Observe that address field is not focused

[x] Verify that no errors appear in the JS console

Offline tests

Open the app
Click plus and open request money
Click on distance
Click on Add stop
Open newly created stop
Click on 3 dots and click on delete waypoint
Click cancel in confirmation popup
Observe that address field is not focused

QA Steps

Open the app
Click plus and open request money
Click on distance
Click on Add stop
Open newly created stop
Click on 3 dots and click on delete waypoint
Click cancel in confirmation popup
Observe that address field is not focused

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] If we are not using the full Onyx data that we loaded, I've added the proper selector in order to ensure the component only re-renders when the data it is using changes
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web
https://github.com/Expensify/App/assets/85894871/35a7c0b6-008c-49ec-a231-1d650a60d73d

Mobile Web - Chrome
https://github.com/Expensify/App/assets/85894871/d834b919-aaef-43a0-b4bc-f0d6fedbc771

Mobile Web - Safari
https://github.com/Expensify/App/assets/85894871/d22eaf7a-6078-4f76-a731-74ed30978a95

Desktop
https://github.com/Expensify/App/assets/85894871/583f867e-dd5b-4c4f-9a75-b6ad1a43640c

iOS
https://github.com/Expensify/App/assets/85894871/3ec88ab5-3813-4a96-8f27-76d249a714af

Android
https://github.com/Expensify/App/assets/85894871/9c8299f1-1534-41ea-8362-738287477e43

@Krishna2323 Can you please fix the lint issues? Also any specific reason we had to add onPopoverHide?

Reviewer Checklist

[x] I have verified the author checklist is complete (all boxes are checked off).
[x] I verified the correct issue is linked in the ### Fixed Issues section above
[x] I verified testing steps are clear and they cover the changes made in this PR

[x] I verified the steps for local testing are in the Tests section
[x] I verified the steps for Staging and/or Production testing are in the QA steps section
[x] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[x] I checked that screenshots or videos are included for tests on all platforms
[x] I included screenshots or videos for tests on all platforms
[x] I verified tests pass on all platforms & I tested again on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[x] I verified proper code patterns were followed (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I verified that this PR follows the guidelines as stated in the Review Guidelines
[x] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Web
https://github.com/Expensify/App/assets/3069065/d6ed7c91-bdca-4d5b-bde9-60db7cca2dd5

Mobile Web - Chrome
https://github.com/Expensify/App/assets/3069065/6e5c033f-ec3a-4cf9-b793-6a708e59aa57

Mobile Web - Safari
https://github.com/Expensify/App/assets/3069065/5ae0f0b4-6f68-4394-bdd9-df640d3e3ef0

Desktop
https://github.com/Expensify/App/assets/3069065/98da24b2-c213-4b02-9d83-c83e25968969

iOS
https://github.com/Expensify/App/assets/3069065/ad436d7f-1743-4041-a4df-8883c0ecf8d6

Android
https://github.com/Expensify/App/assets/3069065/664b37c3-6f3e-409c-b062-abb0ec641465

@amyevans All yours.
🎀 👀 🎀 C+ reviewed

Can you update the last step in each of the QA flows from

Observe that address field is not focused

to

Observe that address field is focused

Otherwise looks good!

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/amyevans in version: 1.3.73-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/mountiny in version: 1.3.73-1 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to staging by https://github.com/amyevans in version: 1.3.74-0 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/chiragsalian in version: 1.3.74-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅


Using vaadingrid problem

This vaadingrid is really cool!
But I'm having some troubles.
I don't how to add one new row and show it on screen.
seeing api of com.vaadin.polymer.vaadin.widget.VaadinGrid ,
I still don't know how I can achieve the goal.
I figured out that call setItems the first time, It will work.(showing the items on the grid)
grid.setItems(items);

however, calling it the second time , it won't work.
items.push(properties);
grid.setItems(items);

After updated the content call clearCache will do the trick.
grid.clearCache()

Saulis helped me with this question.


Add Build Status Badge to README

Add a small Build Status badge right below the title of the README
This repo is a good place to see how to add a badge - https://github.com/CultureHQ/github-actions-badge

Hey, I'd like to work on this issue.


Question: laravel-enso/core ^5.0 in enso 4.2 vs laravel-enso/core ^6.0

Hi,
I would like to ask about this laravel-enso/enso metapackage relation to the versions of other enso components.
As I can see, the laravel-enso/core component has v6.0.3, but enso 4.2 only includes v5.x via the composer.json file.
Are there any rule or condition (or roadmap) when will enso contain the latest version of core?
I tried to install some packages not included in enso by default and I got error message about core 6.0 dependency.
Thanks.

Thanks, I got the answer with the latest enso release, aka 4.3 :)


ExpiryPolicy in cache template is not inherited when Cache is created from template

When a Cache is created from a cache template which has expiry policy set, it is not inherited by the caches which are constructed using that template. This is because when new cache configuration builder is constructed, the expiry policy is not passed on to configuration builder from template

Time Spent : 8 Hours


Not working with net-ssh Ruby library

Hello,
I am using Capistrano to deploy some internal apps and it is internally using the Ruby net-ssh library for SSH connections. It works fine with pageant but recently I switched to using Windows OpenSSH agent thanks to your amazing library.
Everything works fine except this one use case. The pageant implementation from net-ssh library is here: https://github.com/net-ssh/net-ssh/blob/master/lib/net/ssh/authentication/pageant.rb

Thanks for the feedback, I'll look into it, however I haven't used ruby before.
Do you have demo/example code using that net-ssh library, and the instructions for how to get it running? It'd save me a lot of time!

You should be able to replicate it with this simple code:
`require 'net/ssh'
Net::SSH.start('host', 'user') do |ssh|
output = ssh.exec!('hostname')
puts output
end`
(replace host and user with appropriate values)
On Win you can install Ruby (2.6 version) through https://rubyinstaller.org, then you need to install net-ssh library, simple command gem install net-ssh should do it. And after that you can run my code with C:\Ruby26-x64\bin\ruby.exe C:/net-ssh_test.rb
Thanks.

Thanks for the response and help, I should be able to work on this by this weekend at the latest (I am moving this week). Cheers

Well, I wish I would've tried this earlier, Your sample code works for me @siccous.
It runs on both Ruby 2.6 and 2.7.

Okey, fixed.
It had nothing to do with your library. The reason was using outdated version of Win32-OpenSSH (I've used the version which is shipped now with recent Windows 10 version).
The solution was to install the newest (v<IP_ADDRESS>) version via Chocolatey and force the OpenSSH Authentication Agent service to use the new version.
Thanks again and sorry for this issue.

No worries! I'm happy you use my work and I appreciate you caring enough about it to improve it!
You make a good point about the MS Official OpenSSH packages though - I forgot I installed them from their github repo and not from windows update. I'll be sure to include a note about that on the README.
Unrelated question: How do you feel about the "task scheduler" auto-run? I'm thinking a secondary optional powershell script to install it may be appropriate.

Hello ndbeals,
sorry for my late answer. Is there any reason why we can't auto run it through Startup Folder shortcut?
If I remember it right I've tried it and it does not work 😄

No, @siccous, there shouldn't be anything preventing you, I just tried it and it works.

Create a shortcut to the executable (right click -> create shortcut)
Put it in C:\Users\<USER>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup


onSaveComment not passing the comment

I used the example code from your wiki:
craft()->on('comments.onSaveComment', function($event) {
	$comment = $event->params['comment'];
	print $comment;
});

It returns nothing.
If I do a var_dump($event), I see the comment but in a private object.

I'm not 100% sure on this one, mainly because I don't use print, but that function seems to mimick php's echo function, where it only prints variables, and not objects/arrays.
You'd be better off using var_dump($comment) or print_r($comment) and it should return a CommentModel.
Can you confirm this? I can confirm print $comment; indeed returns nothing for me, but var_dump($comment) does.

var_dump does, but the example you provide in your wiki (https://github.com/engram-design/Comments/wiki/Events-Reference: onSaveComment), to get the comment from the event, returns nothing. What is the proper way to get the comment from your example?

For future reference, the example returns a CommentModel, so you'd access attributes via $comment->comment, etc.

I'm trying to access the CommentModel, but clicking any link to this just asks me to create a new page on Github?! Did it get removed?

$comment = $event->params['comment'];

@madebyshape Sorry about that, what happens what I renamed doc page. Link updated, but also via https://github.com/engram-design/Comments/wiki/09.-Comment-Model for Comment Model information, and https://github.com/engram-design/Comments/wiki/13.-Events-Reference for Events References


Missing option to override Image Registry

If you want to use a proxy like a pull through cache it is easier to override the registry itself and leave the repository name as it is.
As of now, we need to override the whole repository to let us able to use custom registry which is fragile due to the fact that repository name can be changed.
On the other hand, I see this convention can be found in the huge Bitnami Helm Chart collection

Image conventions seem to still be an open item in upstream Helm:
https://github.com/helm/helm/issues/7754
I've read through this a few times. I agree with the rationale of your proposal, but need to think on this a little bit.

To revisit this topic: splitting the image into registry, repository, and tag makes some sense to me; but it also doesn't seem to be the conventional way to indicate images, and I worry that the change may be confusing.
At this point, I'm leaning towards closing this out; if you need this change, well, this is the examples repo -- they're meant to be changed and iterated on, and you clearly can do that. Does it disrupt your use of this chart if this change is not there?

Dear @benjaminjb, it does not disrupt. The PR is almost one year and I am happy to use it in a private fork. I just wanted to avoid having a fork to let me able to override the registry (e.g. using a pull through cache) without knowing the repository and the image tag.
Feel free to close this issue.

Sure thing!


NOT working on Synology 920+ after update to DSM 7.2-64570 Update 1

Hi, after update of Synology 920+ to DSM 7.2-64570 Update 1 my SSD cache was gone and the SSD‘s were shown as „not supported by this DSM version“. I applied the the Synology_HDD_db script made a reboot and applied the syno_create_m2_volume script. After another reboot SSD‘s are shown as „detected“ but Online Assemble fails. Both scripts were running without failure messages. Thanks for support.

I didn't reply to this as I saw you were getting help (or attempts at helping) on reddit. I've just replied on reddit to your last comment in that thread on reddit.

No, that‘s not me. I didn‘t ask for help on reddit. I only asked here. Your help is very much appreciated. Thanks a lot.

Your description of your issue was exactly like the post on reddit.
Try the https://github.com/007revad/Synology_enable_M2_volume script then reboot. After that you should be able to go to storage manager and delete the storage pool then do an online assemble. Once the online assemble has finished you can create a storage pool and volume all from within storage manager.

That solved the problem. Thank you very much again for your support!


Failed assertion: line 4561 pos 12: 'child == _child': is not true.

The relevant error-causing widget was:
I/flutter ( 8448):   HomeScreen
I/flutter ( 8448):   file:///Users/user/AndroidStudioProjects/project/lib/src/app2/screens/1_home/home_screen.dart:19:5
I/flutter ( 8448):
I/flutter ( 8448): When the exception was thrown, this was the stack:
I/flutter ( 8448): #2      ComponentElement.forgetChild (package:flutter/src/widgets/framework.dart:4561:12)
I/flutter ( 8448): #3      Element._retakeInactiveElement (package:flutter/src/widgets/framework.dart:3401:14)
I/flutter ( 8448): ...     Normal element mounting (30 frames)
I/flutter ( 8448): #33     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
I/flutter ( 8448): #34     MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5947:32)
I/flutter ( 8448): ...     Normal element mounting (193 frames)
I/flutter ( 8448): #227    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
I/flutter ( 8448): #228    MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5947:32)
I/flutter ( 8448): ...     Normal element mounting (253 frames)
I/flutter ( 8448): #481    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
I/flutter ( 8448): #482    Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
I/flutter ( 8448): #483    RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:1148:16)
I/flutter ( 8448): #484    RenderObjectToWidgetElement.mount (package:flutter/src/widgets/binding.dart:1119:5)
I/flutter ( 8448): #485    RenderObjectToWidgetAdapter.attachToRenderTree.<anonymous closure> (package:flutter/src/widgets/binding.dart:1061:17)
I/flutter ( 8448): #486    BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2607:19)
I/flutter ( 8448): #487    RenderObjectToWidgetAdapter.attachToRenderTree (package:flutter/src/widgets/binding.dart:1060:13)
I/flutter ( 8448): #488    WidgetsBinding.attachRootWidget (package:flutter/src/widgets/binding.dart:941:7)
I/flutter ( 8448): #489    WidgetsBinding.scheduleAttachRootWidget.<anonymous closure> (package:flutter/src/widgets/binding.dart:922:7)
I/flutter ( 8448): (elided 13 frames from class _AssertionError, class _RawReceivePortImpl, class _Timer, dart:async, and dart:async-patch)
I/flutter ( 8448):

Hi @andesappal
can you please provide your flutter doctor -v ,
your flutter run --verbose
and a reproducible minimal code sample.
Thank you

Hi, this issue has been solved. Thank you.

Hi, this issue has been solved. Thank you.

Decent thing to do is to show the rest of us how it was solved

HI @krumpli84
the issue was likely to depend from the reporter implementation rather than flutter itself,
if you are experiencing a problem that you believe depends from flutter please open a new issue
providing the info above
if instead you think that the problem is caused by your implementation
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Thank you


Include manticore.json and maybe manticore.conf

On the --all option, which appears to be intended to a backup of the 'whole server', should include manticore.json (from the datadir directory) - as would need to to be able to restore. (otherwise would have to manually create a list of indexes to recreate manticore.json to restore)
Or suppose could just backup manticore.json separately, but seems it should be in the backup tar file.
... at least if using RT mode. If using plain mode, have a list of indexes in manticore.conf file, so should backup that instead.
(could backup manticore.conf in both modes, less critical for RT mode, but might still have some settings needed)

Added in version 0.0.9

Yes, it seems to be necessary in some cases.
Unfortunately there is currently no way to get the path to manticore's data directory.
(And accordingly to the manticore.json file)
In configuration:
data_dir = /var/lib/manticore

Oh, thats a good point.
If you know the server is in RT-mode, I suppose you could deduce the path to manticore.json from one of the index files. Ie the .json file will just be in the same folder as the indexes. (ie they just all put in data_dir)
but even knowing you in RT mode (just from output of SHOW STATUS/VARIABLES for exmaple) isnt easy.
Hopefully data_dir, and even the path to config file could be added to SHOW STATUS.

Resolved in 0.0.10
When there will be an official decision on selecting data_dir - it will be necessary to return to this


Cleared "Recently Opened List" still shows if right-clicked on the VSCode tile in Windows Start Menu

Issue Type: Bug
Even if I clear recently opened files they still show up in the (live) Tile in the Windows Start menu. I don't want them to show up, especially because this is a very long list. It takes 3/4 of the screen.
Steps to reproduce:

open some files in different locations
clear opened recently
close vscode
right vscode click tile in the start menu
there's still a list (it will be there even after restarting PC).

VS Code version: Code 1.46.1 (cd9ea6488829f560dc949a8b2fb789f3cdc05f5d, 2020-06-17T21:13:20.174Z)
OS version: Windows_NT x64 10.0.19041

I can reproduce that recent files still appear even after clearing recent entries and this seems to be something that maybe Electron does not honour even though we call app.clearRecentDocuments:

Maybe a useful information:
Recent workspaces are properly cleared, only recent files aren't and are still showing up.


UPDATE_FAILED GraphQLAPIKey AWS::AppSync::ApiKey API key not found

Note: If your issue/bug is regarding the AWS Amplify Console service, please log it in the
Amplify Console GitHub Issue Tracker

Describe the bug
This has been a problem in the past versions and was solved by setting "APIKeyExpirationEpoch": -1 in parameters.json of the api, but now seems that solution no longer works, settings "CreateAPIKey": 0 leads to another error https://github.com/aws-amplify/amplify-cli/issues/6143 seems like a dead end, been researching for 2 hours now and still stuck on the same issue.
Amplify CLI Version

4.44.0
To Reproduce
Update an old project that has not been touched for months, the api key has expired and now I don't know how to change/renew it, seems like it's a vital part of the development and app, how come something so vital seems to be lacking in reading/learning resources? What are we gonna do? guess?
Expected behavior
handling of this API key should be properly documented, expiry, change, renew, remove, add, etc.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: N/A
Node Version: N/A

Log output
Include any relevant log output under ~/.amplify/logs/amplify-cli-<issue-date>.log
Additional context
N/A

What I did to resolve this:
✅ removed api resource access from lambda function
✅ removed apiKey on graphql schema.graphql
✅ removed api key from graphql api auth types
✅ push
✅ used IAM on schema.graphql
✅ re-add api resource access to lambda function, this time use IAM.
✅ push
notes:
📓  avoid using apiKey on graphql and functions, instead, use IAM.


Generate random books using Google books api in New arrivals

Description
A clear and concise description of what the PR does.

This PR does the following:

Adds Google Books API so that books in the new arrivals section can be automatically updated instead of hard coding the book details.
Fixes ...
Updates ...

Related Issues
Link any related issues using the format Fixes #issue_number.
This helps to automatically close related issues when the PR is merged.

Placeholder: "Fixes #533 "

Changes
List the detailed changes made in this PR.

Added a new feature to NewArrivals.js file
Refactored the ...
Fixed a bug in ...

Testing Instructions
Detailed instructions on how to test the changes. Include any setup needed and specific test cases.

Pull this branch.
Run npm install to install dependencies.
Run npm test to execute the test suite.
Verify that ...

Screenshots (if applicable)
Add any screenshots that help explain or visualize the changes.

After refreshing :

Additional Context
Any additional context or information that reviewers should be aware of.

This PR is based on the following...

Checklist
Make sure to check off all the items before submitting. Mark with [x] if done.

[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[x] I am working on this issue under GSSOC

@Lanaanvar Nice work!


cairocffi 0.7 cannot load gdk-pixbuf library

with cairocffi 0.7, I get the following error:
In [1]: from cairocffi import pixbuf
---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
<ipython-input-1-502496f09f86> in <module>()
----> 1 from cairocffi import pixbuf

/home/cdevienne/.virtualenvs/unlish-dev/lib/python2.7/site-packages/cairocffi/pixbuf.py in <module>()
     28
     29 gdk_pixbuf = dlopen(ffi, 'gdk_pixbuf-2.0', 'libgdk_pixbuf-2.0-0',
---> 30                     'libgdk_pixbuf-2.0.so')
     31 gobject = dlopen(ffi, 'gobject-2.0', 'libgobject-2.0-0', 'libgobject-2.0.so')
     32 glib = dlopen(ffi, 'glib-2.0', 'libglib-2.0-0', 'libglib-2.0.so')

/home/cdevienne/.virtualenvs/unlish-dev/lib/python2.7/site-packages/cairocffi/__init__.pyc in dlopen(ffi, *names)
     36             pass
     37     # Re-raise the exception.
---> 38     return ffi.dlopen(names[0])  # pragma: no cover
     39
     40

OSError: cannot load library 'gdk_pixbuf-2.0': gdk_pixbuf-2.0: cannot open shared object file: No such file or directory

The problem does not occur with cairocffi 0.6.
Digging a little, I found that it is related to the switch from cffi.FFI to _cffi_backend.FFI:
In [1]: import cffi

In [2]: import _cffi_backend

In [3]: cffi.FFI().dlopen('gdk_pixbuf-2')
Out[3]: <cffi.api.FFILibrary_gdk_pixbuf-2 at 0x7f893a299650>

In [4]: _cffi_backend.FFI().dlopen('gdk_pixbuf-2')
---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
<ipython-input-4-eef9364611fa> in <module>()
----> 1 _cffi_backend.FFI().dlopen('gdk_pixbuf-2')

OSError: cannot load library 'gdk_pixbuf-2': gdk_pixbuf-2: cannot open shared object file: No such file or directory

That said, I have no clue why _cffi_backend is unable to load the library. I tried setting LD_LIBRARY_PATH, with no success.

What’s the name of the .so file for PixBuf on your system? E.g. it’s /usr/lib/libgdk_pixbuf-2.0.so on mine.

on my ubuntu:
/usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0
/usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0.3000.7
on the wheezy container I had the problem first:
/usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0
/usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0.2600.1
Le 18/06/2015 15:29, Simon Sapin a écrit :

What’s the name of the |.so| file for PixBuf on your system? E.g. it’s
|/usr/lib/libgdk_pixbuf-2.0.so| on mine.

I have no clue, sorry. Maybe file an issue on CFFI?

I just released v0.7.2 with this change: 729a5b8d348554bf3d0ccdc92406e1aaad50a7d9. Does it work for you?

Yes it does !
Thank you Simon :-)


Error when subscription is deleted

I noticed the following error in the logs when a subscription is deleted:
Traceback (most recent call last):
--
  | File "/usr/src/app/userauth/views.py", line 60, in webhook
  | on_customer_subscription_deleted(request, event)
  | File "/usr/src/app/userauth/views.py", line 83, in on_customer_subscription_deleted
  | user, created = get_or_create_user_for_stripe_event_object(obj)
  | File "/usr/src/app/userauth/views.py", line 91, in get_or_create_user_for_stripe_event_object
  | if not customer.email:
  | File "/usr/local/lib/python3.8/site-packages/stripe/stripe_object.py", line 92, in __getattr__
  | raise AttributeError(*err.args)
AttributeError: email

This error is because the code expects the customer to have an email.

I think the problem is because this customer was deleted.
https://stripe.com/docs/api/customers/retrieve

If it’s for a deleted Customer, a subset of the customer’s information is returned, including a deleted property that’s set to true.

We are using the email address to lookup the user to deactivate them.
It looks like we will need a way to lookup a user from their stripe customer id.


fix sort command

close #64 , close #66

Codecov Report

Merging #71 (3a52b47) into master (82b4963) will decrease coverage by 0.30%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master      #71      +/-   ##
============================================
- Coverage     70.00%   69.69%   -0.31%
  Complexity      436      436
============================================
  Files            76       76
  Lines          1450     1455       +5
  Branches        160      165       +5
============================================
- Hits           1015     1014       -1
- Misses          376      381       +5
- Partials         59       60       +1

Impacted Files
Coverage Δ
Complexity Δ

...va/employeetracker/logic/commands/SortCommand.java
0.00% <ø> (ø)
0.00 <0.00> (ø)

...mployeetracker/logic/parser/SortCommandParser.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...oyeetracker/model/employee/UniqueEmployeeList.java
71.15% <0.00%> (-1.93%)
20.00 <0.00> (ø)

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 82b4963...3a52b47. Read the comment docs.


Mastercard new 2-bins are not working for admin orders

New 2-bins for mastercard is working fine on frontend however it is still failing when admin creating an order. Did the latest module version support this for admin payment?
Thanks
Sanu

Hi @sanutryzens
This should have been solved in Magento by this patch.
https://magento.com/tech-resources/download#download2005
Let me know if it doesn't work for you.
Regards,
Giorgos
Adyen


Undo in editor erases everything after page reload

Pressing undo (control/command z) after a reload results in a blank file, causing you to lose all your progress.
Expected behavior
To go back to the previous edit and if no previous edit is saved, to do nothing.
How to reproduce

Open the editor.
Type something.
Wait for it to save.
Repeat 2-3 a couple of times.
Press undo, it works.
Reload the page.
Press undo.
Your entire code is erased.

As there is no redo functionality or file history, if you do not have a backup, your game is lost forever.

This is 100% reproducible on my end.  Thank you for the instructions.

It appears that when loading up the initial code in the editor using CodeMirror, we dispatch a new (undoable) modification of the text.  Thus, when the user hits 'undo', the editor undoes that text addition, which results in all code being removed.
Relevant code:
if (props.initialCode) editor.dispatch({ changes: { from: 0, insert: props.initialCode } })
Looking into prepopulating the editor now without causing a new transaction to be put into the history stack.

Seems to be fixed with the recent changes.


Markdown escaping problem

Gitea version (or commit ref): v1.1.0-467-g34df9def
Can you reproduce the bug at https://try.gitea.io:

[x] Yes: https://try.gitea.io/4kr_5fc85lzjshor/4kr_5fc85lzjshor/wiki/Home

Description
Escaping short links ([[link]]) does not work at the moment. Even if I type \[\[link\]\], Gitea still converts it into a link.
This is probably due to how Markdown is handled in markdown.go:
result := RenderRaw(rawBytes, urlPrefix, isWikiMarkdown)
result = PostProcess(result, urlPrefix, metas, isWikiMarkdown)

RenderRaw seems to remove the escaping backslashes, PostProcess then only sees a normal short link. Switching the order of the calls is also problematic because PostProcess converts links that it should not (for example, https://pthree.org/2012/04/17/install-zfs-on-debian-gnulinux/ is recognized as an issue link due to the numbers).

Is #2168 can be related to this bug in a way? Or could this issue help to resolve it - or at least opens the discussion of the way to go? In my opinion, we should not have to escape short links in a code block...
Thanks in advance!

FYI: This still happens with Gitea 1.7.

I just ran into this when trying to escape backticks inside a shell command, so they're getting displayed inside an inline code sample:
`foo=\`pwd\`/bin`

@schmittlauch that is different, to to use backtick in code you should use:
``foo=`pwd`/bin``

with 1.21.11 you can use
\[[[woo]]

which renders as
[[woo]]

if you'd used
\[[woo]]

then it would render as
[woo]]

so there is still some bug in there somewhere