RFC: Merge types/ and fuse/ folders

Summary

Right now, users interact with a types/ folder that contains ~a file per node, and then Fuse generates a fuse/ folder that people use from their client(s). (import { useQuery } from '@/fuse/client')
Proposed Solution

I propose we centralize all of it into the fuse/ folders. Users write their types in their, and then we also generate the files in there and they import from there from the client.
First idea for a potential folder structure:
.
└── fuse/
    ├── User.ts
    ├── Product.ts
    ├── _context.ts
    └── _generated/
        ├── client.ts
        ├── fragment-masking.ts
        ├── gql.ts
        ├── graphql.ts
        ├── index.ts
        ├── pages.ts
        └── server.ts

The big question is what happens to the client imports. With this structure, they'd look like import { useQuery } from '@/fuse/_generated/client', which isn't great.
Since client.ts, index.ts, pages.ts, and server.ts are simple re-exports of the underlying libraries and the really truly generated custom files are fragment-masking.ts, gql.ts, and graphql.ts, we could try this folder structure instead:
.
└── fuse/
    ├── User.ts
    ├── Product.ts
    ├── client.ts
    ├── index.ts
    ├── pages.ts
    ├── server.ts
    ├── context.ts
    └── generated/
        ├── fragment-masking.ts
        ├── gql.ts
        └── graphql.ts

This would fully preserve the client imports while centralizing everything else. The downside of this is that the index/pages/server/client.ts files get muddled with the types/nodes, and it's a bit of an odd semantics because users are meant to touch context.ts but not server.ts — that's not intuitive.
Another option that clearly marks index/pages/server/client.ts distinct from the types files would be to prefix them with a _, just like we do with _generated and _context in the original example:
.
└── fuse/
    ├── User.ts
    ├── Product.ts
    ├── context.ts
    ├── _client.ts
    ├── _index.ts
    ├── _pages.ts
    ├── _server.ts
    └── _generated/
        ├── fragment-masking.ts
        ├── gql.ts
        └── graphql.ts

But that makes client-side imports ugly. import from '@/fuse/_client 😕  Also, _index.ts obviously doesn't work for import from '@/fuse' so we'd need a different name for those exports.
Any other ideas?

Another idea: we go with the Prisma client approach and generate into node_modules instead?
Fuse folder:
.
└── fuse/
    ├── User.ts
    ├── Product.ts
    └── context.ts

Client imports:
// Note the removal of the `@/` at the beginning of the import
import { useQuery } from 'fuse/client'

import { execute } from 'fuse/next/server'

// I don't know why prisma went with generating to `@prisma/client`, so maybe we should do the same:
import { useQuery } from '@fuse/client'

import { execute } from '@fuse/next/server'

Pretty clean 🤔

I'm personally against generating into node_modules for an awful lot of reasons 😅 the most prevalent there being that this doesn't "just run" most people will want their types checked into the repository as that makes them just work, the other one being that this introduces an opinion on your bundler where it has to resolve non-fully qualified node_modules, this is an issue for non-local state bundlers where node_modules isn't a pre-requisite and it will just grab what you import from a registry like esm.sh. For the node world we could probably get away with this, just like Prisma, but for the web world much less imho.
On the side I assume prisma went with generating into @prisma/client as they own that namespace and can be sure no one can publish over them and create a naming conflict between codegen and npm.
I guess the fuse folder isn't really an issue anymore now with the separation of client and server where server interacts with types/ and client interacts with fuse/. Note that we don't generate any client.ts, ... for the standalone client but this is already a node_module so we can avoid a lot of the co-located confusion that the next.js module introduces by default.
I am personally not sure whether we need to make this change as with the arrival of standalone we'll be able to avoid this confusion in general already.

Note that we don't generate any client.ts, ... for the standalone client but this is already a node_module

I didn't even realize this! Looking at it, standalone requires a user to do these imports; that feels unintuitive because useFragment appears to be at the same level of abstraction as useQuery, and yet they have to import them from two different places:
import { useQuery } from 'fuse/client'
import { graphql, useFragment } from '../../fuse'

I strongly prefer it all to be imported from one place if we don't need a server/client component split. I'm guessing we can easily make that happen by adding export * from 'fuse/client to @/fuse/index.ts? That would allow users to import everything from ../../fuse.

I am personally not sure whether we need to make this change as with the arrival of standalone we'll be able to avoid this confusion in general already.

How does standalone avoid this confusion? Users are still writing things into a types/ folder and Fuse generates a fuse/ folder instead of all of it being in one place, so I think it's the same. What am I missing?

How does standalone avoid this confusion? Users are still writing things into a types/ folder and Fuse generates a fuse/ folder instead of all of it being in one place, so I think it's the same. What am I missing?

Mainly types/ is used for server development and fuse are generated type for client-development. The co-located development is going to be rare, i.e. where we run both server and client from the same workspace. In next/... this happens yes but imho it's harder to scale then to multiple devices as the web-team inherently owns the data-layer.
My thinking is mainly that it might not be needed to merge them or even not be needed to think about the special cases for embedding it in fuse/.


Add KeyVault and Managed Identity

This change does three things:

Enables a system managed identity for the VM scale set
Adds a key vault instance
Adds the VM scale set to the key vault access policies

I did find that I had to destroy my deployment in order for the managed identity to be available. It may have worked also to stage it; ie remove the access policy until after the managed identity for the VM scale set had been added.


blender Unable to open a display

I know nothing about blender. I just want generate some different views pictures with one obj file. My blender is 2.90.0. I got below error when I run command
blender --background --python render_blender.py -- --output_folder temp bugatti.obj

Blender 2.90.0 (hash 0330d1af29c0 built 2020-08-31 11:54:54)
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM default
/run/user/1000/gvfs/ non-existent directory
found bundled python: /home/inveno/payne/3d/blender-2.90.0-linux64/2.90/python
Info: Deleted 1 object(s)
Info: Deleted 1 object(s)
(  0.0001 sec |   0.0001 sec) Importing OBJ 'bugatti.obj'...
  (  0.0002 sec |   0.0001 sec) Parsing OBJ file...
    ( 18.7100 sec |  18.7098 sec) Done, loading materials and images...
    ( 18.7277 sec |  18.7275 sec) Done, building geometries (verts:744213 faces:759882 materials: 40 smoothgroups:1) ...
    ( 35.2136 sec |  35.2135 sec) Done.
  ( 35.2138 sec |  35.2137 sec) Finished importing: 'bugatti.obj'
Progress: 100.00%

Info: Removed 2672 vertice(s)
Info: Removed 2672 vertice(s)
Rotation 0.0, 0.0
Unable to open a display

Any suggestions will help me , thanks

ALSA is related to audio and is not a blender specific issue. It actually means what is written there, no audio device found. Maybe a driver issue...

@mvoelk  thanks for your reply. I will try resolve the ALSA question. But I think the key point is Unable to open a display. I forgot to add that my OS is ubuntu 18.04

It typically means there is no x server running, but I'm not sure if it is required...

Do you have Xorg installed on the machine you're trying this?
According to this, switching to the "cycles" renderer might be an option. Try the same command with --engine=CYCLES.

You can probably get rid of the error messages about audio by adding the “-noaudio” option to the Blender command.

@panmari this is just to let you know that your workaround --engine=CYCLES will fail in case you render grease pencil elements - even in Cycles.
@sunny123123 , a more reliable solution can be found here: https://github.com/nytimes/rd-blender-docker/issues/6#issuecomment-1296347978


zzh! CC2652R, problems with router firmware

Current setup:

Zigbee2MQTT version 1.17.1
zigbee-herdsman (0.13.59)
1 zzh! stick as coordinator

Coordinator firmware version:
{
  "meta": {
    "maintrel": 1,
    "majorrel": 2,
    "minorrel": 7,
    "product": 1,
    "revision": 20210120,
    "transportrev": 2
  },
  "type": "zStack3x0"
}

1 zzh! stick as router flashed with with CC2652R_router_20210128.zip
Coordinator is working fine, I can see all my zigbee devices showing up correctly but I cannot pair the zzh! stick flashed with router firmware.
These are the steps I follow:

zzh! router stick is unplugged
from zigbee2mqtt web interface I permit join.
I plug the zzh! router stick into a usb power brick and I wait
I don't see any joining requests coming from the router stick
I press the little button on the zzh! router stick
I still don't see any joining requests coming from the router stick

Notes:
I don't see any led on the zzh! router stick (but I believe that's normal)
I flashed the router firmware twice to make sure the flashing process was correct, and in both cases the flashing/verifying message was successful, so I'm excluding a problem with the flashing process.
Does anyone has the same issue?
Any idea on how to debug further to understand where the problem lies?
Thanks,
Gab

Same problem here, flashed router firmware and can't see it pairs with the coordinator.
No LED indicator on ZZH adapter,, keen to know how to resolve it. Thanks.

Its also non-functional on slae.sh's CC2652RB ... so its not just one image being non-functional - albeit the led turns green it does never connect, also doesn't react on any button-press.

@thiscantbeserious I just got a couple of slaesh sticks and I'm going to give it a go later today with the router firmware, just to confirm the issue.

@thiscantbeserious I just tried and it worked for me using the slaesh stick.
I flashed the stick with this firmware:
https://github.com/Koenkk/Z-Stack-firmware/raw/master/router/Z-Stack_3.x.0/bin/CC2652RB_router_20210128.zip
Permitted join from the web interface and plugged the stick into a power supply.
The join process started straight away and the router showed up in the web interface as you can see in the screenshot below:

The issue with zzh! stick though, still persist.
Thanks,
Gab

I've been able to replicate this bug as well.
Firmware flashes just fine via UNIFLASH but I am unable to pair with ZZH coordinator.
My need is urgent so I am instead going to leverage 5 - 6 more IKEA TRADFRI outlets to remediate.
In the future, I would love to be able to slap 1 ZZH Coordinator + 2 ZZH Routers to support my larger installs (e.g. 150+ sensors).

Please provide a sniff while trying to pair (+ network key): https://www.zigbee2mqtt.io/how_tos/how_to_sniff_zigbee_traffic.html

ZZH is currently on client site. Will provide sniff report for you on Monday when I head back to facility.

Also adding to the woes. Flashes fine using cc2538-bsl.py method, but no LED on the device after plugging into an apple wall charger

Same for me. Flashing without any issues, but no LED, and not pairing with z2m :(

I was trying to sniff the traffic during the zzh! router join process when, all of a sudden the router decided to join the network successfully so I have 2 sniffs: the first is the failed one, the second is a successful join.
It's the fist time I do this all sniff process so, I'm not 100% sure that the files are correct.
zzh_capture.zip
HTH

I managed to successfully and consistently pair the zzh! stick a couple of times with CC2652R_router_20210128 firmware. So I'm going to close the issue as it seems that it's not happening anymore.

I am facing the same problem as described above - ZZH not connecting after successful flashing with CC2652R_router_20210128 to Zigbee2mqtt.
The ZZH stick does not seem to have an LED - so one does not know at all what is going on.
I tried every trick in my box to get it paired - but failed to see it so far.
Sniffing was so far out of my league :) - need to see if I find some time on the week-end.
What was the "trick" which made the ZZH connect?

Today I tried to ZZH CC2652R as a router. I flashed CC2652R_router_20210128 and I have problem to pair it with coordinator. Behavior is the same as it has been reported by rwunsch
Any tips/tricks?

Today I tried to ZZH CC2652R as a router. I flashed CC2652R_router_20210128 and I have problem to pair it with coordinator. Behavior is the same as it has been reported by rwunsch
Any tips/tricks?

Reset the NVRAM with the zig tools script is what I had to do one time.

Reset the NVRAM with the zig tools script is what I had to do one time.

Thanks, that helped.

Today I tried to ZZH CC2652R as a router. I flashed CC2652R_router_20210128 and I have problem to pair it with coordinator. Behavior is the same as it has been reported by rwunsch
Any tips/tricks?

Reset the NVRAM with the zig tools script is what I had to do one time.

Reset helped, but there is still a problem after power-up. When I simply reconnect zzh! usb stick then it will not join the network, I have to manually push the button. I have no idea how to force it to connect to the network after power cycle.
Any idea?

Having this issue on my end as well with the CC2652R as a router. @daha76 did resetting NVRAM work for you? I tried to do it earlier but was encountering an error and have to head over to work now, so I'll look into it later as well.
I've tried reflashing the firmware multiple times as well as changing the secondary IEEE in case of conflict.

Reset the NVRAM with the zig tools script is what I had to do one time.

Thanks, that helped.

Having this issue on my end as well with the CC2652R as a router. @daha76 did resetting NVRAM work for you? I tried to do it earlier but was encountering an error and have to head over to work now, so I'll look into it later as well.
I've tried reflashing the firmware multiple times as well as changing the secondary IEEE in case of conflict.

Reset the NVRAM with the zig tools script is what I had to do one time.

Thanks, that helped.

Having this issue on my end as well with the CC2652R as a router. @daha76 did resetting NVRAM work for you? I tried to do it earlier but was encountering an error and have to head over to work now, so I'll look into it later as well.
I've tried reflashing the firmware multiple times as well as changing the secondary IEEE in case of conflict.

Yes NVRAM cleaning helped.


flash write error

I use a slightly modified version of your lib for years and I faced a strange problem. If there is a longer period between writes (10+ days) then the writes will be unsuccessful until system reset. Have you experienced similar problem ever?

can i make files(like...text or json) using this library  and also write,append and read.........
if yes.
can you Share example of it. (Store in DUE)

I use a slightly modified version of your lib for years and I faced a strange problem. If there is a longer period between writes (10+ days) then the writes will be unsuccessful until system reset. Have you experienced similar problem ever?

No I have not seen that. Sorry.

I use a slightly modified version of your lib for years and I faced a strange problem. If there is a longer period between writes (10+ days) then the writes will be unsuccessful until system reset. Have you experienced similar problem ever?

No I have not seen that. Sorry.

can i make files(like...text or json) using this library and also write,append and read.........
if yes.
can you Share example of it. (Store in DUE)

No, sorry.

can i make files(like...text or json) using this library and also write,append and read.........
if yes.
can you Share example of it. (Store in DUE)

No, sorry.


Ask: Differentiate between key-value and keyvaultreference setting

Looking for a way to differentiate between different configuration settings -
Key-Value or a KeyVault Reference. Is there anything in documentation which am missing?

The KeyVault Reference has a specific content-type. You can use that to differentiate KeyVault Reference from the rest of Key-Values.

Thank you @zhenlan


[SPARK-8366] When tasks failed and append new ones, post SparkListenerTaskResubmit event to ExecutorAllocationManager

Can one of the admins verify this patch?

@sryza  @andrewor14 Can you have a look?

HI @XuTingjun can you create a jira?  It would be good to understand the motivation for adding this

err, sorry @XuTingjun I was looking at an old version of the page, I deleted my comment about the jira

Hi @XuTingjun I'll look at this today if not tomorrow thanks for the ping.

i think we also need to think about speculative tasks and stageAttempt, i will take a look at it.

ok to test

Merged build triggered.

Merged build started.

Test build #35170 has started for   PR 6817 at commit 51e158c.

Test build #35170 has finished for   PR 6817 at commit 51e158c.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class SparkListenerTaskResubmit(stageId: Int) extends SparkListenerEvent

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #35207 has started for   PR 6817 at commit c6609a2.

Test build #35207 has finished for   PR 6817 at commit c6609a2.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class SparkListenerTaskResubmit(stageId: Int) extends SparkListenerEvent

Merged build finished. Test FAILed.

I think this patch has no association with the failed unit tests, please retest.

Jenkins, retest this please.

Merged build triggered.

Merged build started.

Test build #35506 has started for   PR 6817 at commit c6609a2.

Test build #35506 has finished for   PR 6817 at commit c6609a2.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class SparkListenerTaskResubmit(stageId: Int) extends SparkListenerEvent

Merged build finished. Test PASSed.

@andrewor14

@XuTingjun I still have a hard time trying to understand what the symptom is. From the JIRA:

I use the dynamic executor allocation function. Then one executor is killed, all the tasks on it are failed. When the new tasks are appended, the new executor won't added.

What do you mean won't add? Are the resubmitted tasks not being run on the new executor? Could you give a detailed example of a case when this happens?

Also, echoing @squito's comments, I also don't really see why a new TaskResubmit event is necessary. If a task is resubmitted, a new SparkListenerTaskStart event will be posted with a new stage attempt ID, so we already get notified of that when it happens. Right?

@andrewor14, sorry for my pool English. The problem is :
when a executor losts, the running tasks on it will be failed, and post a  SparkListenerTaskEnd. Until reach maxTaskFailures, the failed tasks will re-run with a new task id. Yeah, the new task will post a SparkListenerTaskStart, and the stageIdToTaskIndices will add. But the total task num only set when StageSubmitted. so the  numTasksScheduled == numTasksTotal won't be accessed, and pending tasks calculation will be wrong.

@andrewor14, Have you understood the problem?
      stageIdToNumTasks.map { case (stageId, numTasks) =>
        numTasks - stageIdToTaskIndices.get(stageId).map(_.size).getOrElse(0)
      }.sum
    }```

@andrewor14 , Sorry to bother you again. I think it's really a bug, wish you have a look again, thanks!

Hi @XuTingjun sorry for slipping. I'll have another look at this tomorrow.

@XuTingjun I dug into the scheduler code a little. When a task is resubmitted, it uses a new task ID, but not a new task index. To calculate the number of pending tasks, we use the task index, not the task ID. Therefore, it should handle resubmit correctly.
Could you clarify what the resulting behavior of this bug is? It will be useful to describe the symptoms without referring to the low-level implementation. I just want to know what the consequences the issue has for the Spark user who knows nothing about ExecutorAllocationManager.

Let me answer the question - “Could you clarify what the resulting behavior of this bug is? ”.
-- An application only has one executor, if the executor is lost and the tasks fails. There will no new    executor allocated to the new attempt tasks, so the application will hung.

Yes, so in that case we should just remove the task from stageIdToTaskIndices if the task did not end successfully right? The new resubmitted task still has the same task index so we can just treat it as a normal task. I believe the fix here can be much simpler.

Yeah, I got it. I think we can add below code into onTaskEnd method, right?
stageIdToTaskIndices.get(taskEnd.stageId).get.remove(taskIndex)

Almost, you'll also have to check whether the task actually succeeded. If it failed, we will expect it to be resubmitted it later. Also, you'll need to call allocationManager.onSchedulerBacklogged() to signal that a task is expected to run later. Something like the following:
val taskId = ...
val taskIndex = ...
val stageId = ...

// If the task failed, we expect it to be resubmitted later. To ensure we have
// enough resources to run the resubmitted task, we need to mark the scheduler
// as backlogged again (SPARK-8366).
if (taskEnd.reason != Success) {
  if (stageScheduledAllTasks(stageId)) {
    allocationManager.onSchedulerBacklogged
  }
  stageIdToTaskIndices.get(stageId).foreach { taskIndices =>
    taskIndices.remove(taskIndex)
  }
}

/**
 * Return whether the specified stage has finished scheduling all tasks.
 * Return false if the stage has not been submitted yet.
 */
private def stageScheduledAllTasks(stageId: Int): Boolean = {
  val numTasksScheduled = stageIdToTaskIndices.get(stageId).map(_.size)
  val numTasksTotal = stageIdToNumTasks.get(stageId)
  numTasksScheduled.isDefined && numTasksScheduled == numTasksTotal
}

The reason why I factored out stageSchedulerAllTasks is to avoid duplicating code that already exists in onTaskStart.

Also, could you please write a regression test that fails before this fix?

Build triggered.

@andrewor14, I have changed the code to what you suggested, please have a look.

Merged build triggered.

Merged build started.

Build started.

Test build #39549 has started for   PR 6817 at commit 10972dc.

Test build #39549 has finished for   PR 6817 at commit 10972dc.

This patch fails to build.
This patch does not merge cleanly.
This patch adds no public classes.

Build finished. Test FAILed.

Test build #39550 has started for   PR 6817 at commit 171787c.

Test build #39550 timed out     for PR 6817 at commit 171787c     after a configured wait of 175m.

Merged build finished. Test FAILed.

retest please

Hi @XuTingjun , I get multiple test failures in ExecutorAllocationManagerSuite when I try to run this locally, speficically "listeners trigger add executors correctly" and "cancel pending executors when no longer needed".  Its possible those tests just need their checks updates, but can you please take a look?

retest this please

Merged build triggered.

Merged build started.

Test build #39735 has started for   PR 6817 at commit 171787c.

Test build #39735 has finished for   PR 6817 at commit 171787c.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

@squito, I have updated the test, thank you very much.

Merged build triggered.

Merged build started.

Test build #39827 has started for   PR 6817 at commit 4b2dd75.

Test build #39827 has finished for   PR 6817 at commit 4b2dd75.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Jenkins, retest this please

Merged build triggered.

Merged build triggered.

Merged build started.

Merged build started.

Test build #233 has started for   PR 6817 at commit 4b2dd75.

Test build #39862 has started for   PR 6817 at commit 4b2dd75.

Test build #233 has finished for   PR 6817 at commit 4b2dd75.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test build #39862 has finished for   PR 6817 at commit 4b2dd75.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

retest this please, this is failing a test that was already fixed in upstream

Merged build triggered.

Merged build started.

Test build #40049 has started for   PR 6817 at commit 4b2dd75.

Test build #40049 has finished for   PR 6817 at commit 4b2dd75.

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

Merged build finished. Test PASSed.

Merged build triggered.

Merged build started.

Test build #40160 has started for   PR 6817 at commit 25734c1.

Test build #40160 has finished for   PR 6817 at commit 25734c1.

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

Merged build finished. Test PASSed.

@XuTingjun The fix here is not correct because after all tasks have been scheduled we keep asking for executors even though we don't need them. I would just add back the entire code block you deleted in L602-610 and call onSchedulerBacklogged on task end if the task is not successful.
Does that make sense?

@andrewor14 Makes better sense to me.  Thanks for the explanation, Andrew.

@andrewor14, I understand what you mean.
what I consider is that, if many stages run in parallel, just delete L606 may be not  correct.

Maybe we can change below code, right?
        val numTasksScheduled = stageIdToTaskIndices(stageId).size
        val numTasksTotal = stageIdToNumTasks.getOrElse(stageId, -1)
        if (numTasksScheduled == numTasksTotal) {
          // No more pending tasks for this stage
          stageIdToNumTasks -= stageId
          if (stageIdToNumTasks.isEmpty) {
            allocationManager.onSchedulerQueueEmpty()
          }
        }

to
        if (totalPendingTasks() == 0) {
          allocationManager.onSchedulerQueueEmpty()
        }

@XuTingjun yes I think that looks fine

Merged build triggered.

Merged build started.

Merged build finished. Test FAILed.

@andrewor14, I have tested it in the real cluster, it's ok.

retest this please

Merged build triggered.

Merged build started.

Latest changes LGTM, will merge once tests pass. Thanks for your persistence @XuTingjun

Test build #40476 has started for   PR 6817 at commit 9f12fa6.

Test build #40476 timed out     for PR 6817 at commit 9f12fa6     after a configured wait of 175m.

Merged build finished. Test FAILed.

retest this please

Merged build triggered.

Merged build started.

Test build #40509 has started for   PR 6817 at commit 9f12fa6.

Test build #1461 has started for   PR 6817 at commit 9f12fa6.

retest this please

Merged build triggered.

Merged build started.

Test build #40526 has started for   PR 6817 at commit 9f12fa6.

Test build #40509 timed out     for PR 6817 at commit 9f12fa6     after a configured wait of 175m.

Merged build finished. Test FAILed.

Test build #1461 has finished for   PR 6817 at commit 9f12fa6.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #40526 has finished for   PR 6817 at commit 9f12fa6.

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

Merged build finished. Test PASSed.

Alright, merging into master 1.5.


Bug: Main menu language does not get updated when language is changed

When you change the language manually in the app, the main menu does not get updated. Also, the current page is not updated. If you select another page, it is shown in the correct language.
Steps to reproduce the behavior:

Go to Settings
Change language to anything different than the current
See the new selected pages being updated, but not the main menu

Windows 10 Version: 20H2
Modern Flyouts <IP_ADDRESS>

Hi, did you restart the app?

Nope, but maybe you can get the behaviour consistent? Either everything updates right after change or everything updates after restart.
Otherwise another label or prompt would be useful to inform that language is updated after restart.

would #209 Fix this

This would definetly help! But then the consequence should be that the old language is maintained until the user manually restarts the app.

@Hymian7,

This would definetly help! But then the consequence should be that the old language is maintained until the user manually restarts the app.

Wow! That's a great idea! We should definitely do this 👍

@Hymian7,
From now on (f909f55806d778e80ab5cfcad865324ddd622c9d), the language change won't be applied until the app has been restarted. Changing the language would show a notif like this. Restarting the app will update the language fully.


Yakima

Mostly doing this to refresh myself on pull request. Fixed the writePRONodeNetwork.R function to omit erroneous digits in names of path variable. Simply replaced $ w/ +. Still not a great fix, just happens to work in this case as there were no digits within first 3 characters of site names included in path.

This pull request is trying to merge Mike's local yakima branch into the master branch. The issue is that Kevin's Yakima branch already has a writePRONodeNetwork function, which will eventually be merged into the master branch. This pull request should have been set up to be merged with Kevin's yakima branch.
In addition, Kevin changed the writePRONodeNetwork function yesterday, after talking to Yakima Nation, because one of the site codes was incorrect (and I fixed the issue addressed here as well). Please clone the latest version of Kevin's Yakima branch, and see if that resolves the issue.


quill: 0.2.1 -> 0.2.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/dfinity/quill/releases.
meta.description for quill is: "Minimalistic ledger and governance toolkit for cold wallets on the Internet Computer."
meta.homepage for quill is: "https://github.com/dfinity/quill"
meta.changelog for quill is: "https://github.com/dfinity/quill/releases/tag/v0.2.4"
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/nqrp62v9n628vlq16b5ymw1r6c11zwg9-quill-0.2.4/bin/quill passed the binary check.

1 of 1 passed binary check by having a zero exit code.

1 of 1 passed binary check by having the new version present in output.

found 0.2.4 with grep in /nix/store/nqrp62v9n628vlq16b5ymw1r6c11zwg9-quill-0.2.4

found 0.2.4 in filename of file in /nix/store/nqrp62v9n628vlq16b5ymw1r6c11zwg9-quill-0.2.4

directory tree listing: https://gist.github.com/0b5c094a12ce74dca3e8d86ec83a8516

du listing: https://gist.github.com/fe9c0e098c74acab6ff51ed6d4a11e47

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
quill

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/nqrp62v9n628vlq16b5ymw1r6c11zwg9-quill-0.2.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A quill https://github.com/r-ryantm/nixpkgs/archive/983577f6116c4bc25b793d08fad22e3c818727c3.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/nqrp62v9n628vlq16b5ymw1r6c11zwg9-quill-0.2.4
ls -la /nix/store/nqrp62v9n628vlq16b5ymw1r6c11zwg9-quill-0.2.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

quill

Maintainer pings
cc @IvanMalison for testing.

Result of nixpkgs-review pr 135552 at 983577f6 run on x86_64-linux 1

1 package built successfully:

quill

1 suggestion:

warning: unused-argument
Unused argument: which.
Near pkgs/tools/security/quill/default.nix:1:98:
  |
1 | { lib, stdenv, rustPlatform, fetchFromGitHub, openssl, Security, libiconv, pkg-config, protobuf, which, buildPackages }:
  |                                                                                ^


Move config package from CLI

This is actually very important to have in the SDK repo as authorization and authentication heavily rely on it and need to persist the access token somewhere.
kafkaMgmtAPI := kafkamgmt.NewClientFromConfig()

Without it, the SDK is useless to other tools such as the upstream Terraform Provider.

@wtrocki I would say that the JS repo will require a config abstraction also?

@craicoverflow It depends. I would create duplicate to investigate config abstraction based on the kas-UI.
However Login on Kas-UI is little bit convoluted because of insights. Would create investigation for this in js-sdk

I think we need a couple of ways to create a config client - with and without using the ~/config/rhoas/config.json as source for the tokens.

Actually having done some checks, do we want to have the SDK tightly coupled to the config like this?
It is not something I have seen as a common pattern, the main exception being Kubernetes but that is much more complex.
@pmuir I know you were using it in the Terraform Provider, but this was only using a small portion of fields for making API requests (after authentication).
accessToken, _ := authsdk.Authenticate(offlineToken, clientID) // hypothetical way to get access token for your Go application.

kafkaAPI := kafkamgmt.NewAPIClient(...)

It will also mean we need to protect against concurrency as we have multiple applications using the config - and if the CLI is logged in using the browser-based flow the config will be incompatible as the client ID will not work for the offline token and vice-versa.
At this point I don't think we need config persistence in the SDK.

I think leave it out for now - I only was using it because it was tightly wound into the API.


Compilation fails: "Error: ordinal type expected"

I'm using Nim from today's devel and I get the following error when compiling any code which utilises glfw:
Hint: used config file 'C:\Nim\config\nim.cfg' [Conf]
Hint: used config file 'c:\Users\Kemal\Desktop\nim-glfw\examples\nim.cfg' [Conf]
Hint: system [Processing]
Hint: events [Processing]
Hint: strutils [Processing]
Hint: parseutils [Processing]
Hint: math [Processing]
Hint: bitops [Processing]
Hint: algorithm [Processing]
Hint: unicode [Processing]
Hint: glfw [Processing]
Hint: wrapper [Processing]
Hint: macros [Processing]
Hint: tables [Processing]
Hint: hashes [Processing]
Hint: options [Processing]
Hint: typetraits [Processing]
c:\Users\Kemal\Desktop\nim-glfw\glfw.nim(81, 17) Error: ordinal type expected

It seems to be related to the ModifierKey enum which supposedly can't be used in a set(anymore?).

this seems to be related: https://github.com/nim-lang/sdl2/commit/e6eba4aa213df997f35bd6a3fb3f1a8144e576db

I have no plans to fix this for the devel branch in the foreseeable future, so you can either put together a fix PR or wait :+1:


Proposal: offer ability to remember wifi credentials in CLI/quickStart

Could be cool to allow the quickstart to remember wifi credentials similar to the way the browser does, as it gets annoying entering this everytime (i am lazy)

Actually the browser (did you mean the UI?) doesn't remember them because when it was discussed the security concern (legit) was raised and it was agreed to not remember this sensitive info. Though with proper confirmation and taking into account the data are stored locally that should be OK for the CLI

I was talking more about how chrome browser remembers my wifi passwords for me, so i dont have to retype it when i provision rpi :+1:

Oh, ok :)
On Пт, 3 июля 2015 г. at 16:02 Shaun Mulligan<EMAIL_ADDRESS>wrote:

I was talking more about how chrome browser remembers my wifi passwords
for me, so i dont have to retype it when i provision rpi [image: :+1:]
—
Reply to this email directly or view it on GitHub
https://github.com/resin-io/resin-cli/issues/78#issuecomment-118342625.

Closing as low priority for now.


[improve][connector] Add getSinkConfig method to SinkContext

Motivation
The configuration of SinkConfig is rich, and the user can flexibly specify it when registry the sink. But some sinks do not support these configurations, for example we want to disable autoAck.
So, add SinkConfig to SinkContext, enables the sink to validate the configuration when executing the sink.open method.
Modifications

Add getSinkConfig method to SinkContext

Documentation

[x] no-need-doc

/pulsarbot run-failure-checks

It's better to add some tests.

Thanks, added.

@shibd I think it is good if we could keep the consistency for both functions and connectors context, so please help to create an issue first, so the community can engage if you do not have much time, thanks.

@shibd I think it is good if we could keep the consistency for both functions and connectors context, so please help to create an issue first, so the community can engage if you do not have much time, thanks.

@freeznet  I open pr to fix it. https://github.com/apache/pulsar/pull/16305, PTAL.

@shibd A suggestion about changing the existing interface. We'd better use default to add a new API. Otherwise, it will impact all the users who implemented that interface.


Changes to guides

Editing Linux (Deleted most of the manual installation part), OSX, and Windows (gifs) guide

@samdivaio can you see if this is fine?

Changes to linux guide should be:

Switch the manual installation link to https://github.com/Kwoth/NadekoBot-BashScript/blob/master/nadekoautoinstaller.sh
Setting up credentials.json (manually) and Setting up SFTP step shouldn't removed.
All heads should have a space between # and text (Optional) github changed markdown for hashtags.

Well, I guess that's about it

@samdivaio o.o)7

thx dogo


jsonignore attributes is not showing in latest nswag 14.0.7 version generated code

I'musing openApiToCSharpClient (nswag 14.0.7 version)
prior to that i was using (nswag 13.20.0 version)
before my client code was showing jsonignore attributes like :
[System.Text.Json.Serialization.JsonPropertyName("href")]
[System.Text.Json.Serialization.JsonIgnore(Condition = System.Text.Json.Serialization.JsonIgnoreCondition.Never)]
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)]
public System.Uri Href { get; set; }
Now its not showing
[System.Text.Json.Serialization.JsonPropertyName("href")]
[System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)]
public System.Uri Href { get; set; }
what do i need to do in-order to fix it?

We are encountering the exact same issue. For us, we have this model class -
public class SystemData
{
    [JsonPropertyName("createdAt")]
    public DateTimeOffset CreatedAt { get; set; }
}

Prior to nswag v14.0.7 (we were using 13.8.2), we saw the below in the generated contract.g.cs, which is what we wanted:
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "<IP_ADDRESS> (NJsonSchema v<IP_ADDRESS> (Newtonsoft.Json v<IP_ADDRESS>))")]
public partial class SystemData
{
    [System.Text.Json.Serialization.JsonPropertyName("createdAt")]
    [System.Text.Json.Serialization.JsonIgnore(Condition = System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingDefault)]
    public System.DateTimeOffset? CreatedAt { get; set; } = default!;
}

After we bumped up to v14.0.7, we see the below instead. Note that the JsonIgnore attribute is gone.
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "<IP_ADDRESS> (NJsonSchema v<IP_ADDRESS> (Newtonsoft.Json v<IP_ADDRESS>))")]
public partial class SystemData
{
    [System.Text.Json.Serialization.JsonPropertyName("createdAt")]
    public System.DateTimeOffset? CreatedAt { get; set; } = default!;
}

Could this be a regression?

still finding way to fix it

unfortunately jsonignore attributes for property has been removed from njsonschema 11.0.0 version.

I just came up with one of approach, just have a look.
Its working for me

Created a new folder, NSwagTemplates.
Updated my NSwag config file to point to this new folder: "templateDirectory": "NSwagTemplates",
Created the file Class.liquid in this folder with the contents copied from https://github.com/RicoSuter/NJsonSchema/blob/master/src/NJsonSchema.CodeGeneration.CSharp/Templates/Class.liquid
Replaced lines 56-58 with the code
{%- if UseSystemTextJson %}  [System.Text.Json.Serialization.JsonPropertyName("{{ property.Name }}")]  {%- if property.IsRequired -%}  [System.Text.Json.Serialization.JsonIgnore(Condition = {{ "System.Text.Json.Serialization.JsonIgnoreCondition.Never" }})]  {%- else -%}  [System.Text.Json.Serialization.JsonIgnore(Condition = {{ "System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingDefault" }})] {%- endif -%}

4.Ran Nswag as normal - nswag run NSwagConfig.nswag
Took reference from [https://github.com/RicoSuter/NJsonSchema/issues/1564]

unfortunately jsonignore attributes for property has been removed from njsonschema 11.0.0 version.

Moved to NJsonSchema.Annotations

unfortunately jsonignore attributes for property has been removed from njsonschema 11.0.0 version.

Moved to NJsonSchema.Annotations

I am not  talking aboud JsonSchemaIgnoreAttribute. i am talking about System.Text.Json.Serialization.JsonIgnore
in 13.20.0 version, when we select jsonlibrary = systemtextjson then for every property of generated code would have jsonignore attribute based on their required or non-required set-up

is there any update? i have the same problem where after update to 14.x the attribute isnt generated

@ffwdq
Please refer this https://github.com/RicoSuter/NSwag/issues/4852#issuecomment-2051817426
above one is work around using template, that worked for me


Issue overlapping ☰ symbol

environment

vim: v0.8.0-1210
vim-airline: ????

Can I display z section without overlapping ☰ symbol ?
screen shot (if possible)

Thanks for any tips

this might be an issue with your terminal or your font.

I solved it just adding let g:airline_powerline_fonts = 1 in my vim config.
Thanks for answering!


DRILL-6410: Memory leak in Parquet Reader during cancellation

@parthchandra @sachouche @ilooner Please review

@ilooner can you also take a look at it?

@priteshm will take a look monday.
@vrozov please fix conflict and travis failures.

@ilooner I'll rebase after review. Travis CI failure is not related to the change, it failed due to the build exceeding Travis CI limit.

@ilooner I guess by "last discussion" you refer to the discussion between you, me and @sachouche, where "majority" does not mean the community majority. In the Apache, any contributor can provide a solution that (s)he considers to be the best solution possible and then it can either be accepted by the community/contributor or blocked with -1 (requires technical justification). If another contributor provides an alternative solution, a community may decide to go with the alternate solution as long as it addresses technical concerns of the initial contribution. For this particular case, my requirements are a) a unified approach (@parthchandra has the same requirement) and b) the ability to cancel tasks asynchronously. If that can be done with the approach outlined in PR #1257 and a contributor will change it to address all the issues, let's move forward with the alternate approach.
A note regarding the complexity of the implementation. This implementation uses public java concurrency classes as well. It does not rely on unsupported or unsafe to use Java classes and/or API. Basically, LockSupport is the same first-class concurrency construct as Thread or 'CountDownLatchclasses. The primary use case for using those constructs is to create a combination ofExecutorServiceand aCountDownLatch` that is not provided by the Java itself.
To summarize, I am perfectly fine to go with an alternate solution or with another committer to review the PR, it will be against Apache way to force a committer to review or commit a change, that (s)he is not comfortable with.

@parthchandra Please review

@parthchandra rebased and resolved conflicts. Please take a look.

@vrozov Dechang is running a perf test to confirm the question from @parthchandra. Once that is done, we should merge to the branch. Was there any other reason to close it?


Remove the "modified" Texas 2000 bus case from the repository

The modified Texas 2000 bus case is huge (30MB), and we only use it for one test case: ProcessAuxFileTestCase. We should update that test case so that it does not depend on the modified case, and then delete the modified case from the repository.
While it may not seem like it's a big deal to have it around, the primary concern is that GitHub limits Git-LFS bandwidth for repositories unless you pay for more data. We should try to preemptively avoid this situation.
@mzy2240 - would you be willing to take this on after we get this next release out of the way?

ok I will check whether I can use a smaller case to replace the current one

@mzy2240 - thank you! I only added that case because it had LTCs and I was using an LTC filter to test the ProcessAuxFile method... It's probably simplest to just create some new sort of aux file filter that works with something else within the 2000 bus case (e.g. generator fuel types) and rewrite the test accordingly.


Host prefix bug

This addresses a bug/vulnerability that was raised internally at AWS. The Python SDK doesn't perform any validation on the host_prefix header when used in a request. This could allow bad actors to point signed requests to different services/endpoints/APIs.
According to the specification, a host prefix may only contain letters, numbers, a hyphen or period. This PR defines a regular expression to reflect this and uses it to validate a host prefix in the _expand_host_prefix function.
The vulnerability was discovered while using the WriteGetObjectResponse S3 API, which transforms the RequestRoute parameter into a host_prefix header so a functional test was added for that method to validate the behavior.

Codecov Report
Patch coverage: 100.00% and project coverage change: -0.04 :warning:

Comparison is base (fc30d05) 93.44% compared to head (b8b72c3) 93.40%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2911      +/-   ##
===========================================
- Coverage    93.44%   93.40%   -0.04%
===========================================
  Files           63       63
  Lines        13541    13548       +7
===========================================
+ Hits         12653    12655       +2
- Misses         888      893       +5

Impacted Files
Coverage Δ

botocore/__init__.py
100.00% <100.00%> (ø)

botocore/serialize.py
99.48% <100.00%> (+<0.01%)
:arrow_up:

... and 3 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[Critical] GetXamlTypeByName(string typeName) fails for typename Windows.UI.Xaml.Controls.RevealBackgroundBrush

Describe the bug

TypeName: "Windows.UI.Xaml.Controls.RevealBackgroundBrush"
Demo project is in here:
App1.zip
Steps to reproduce the bug

Steps to reproduce the behavior:

Install Microsoft.UI.Xaml 2.5.0
Override OnWindowCreated(WindowCreatedEventArgs args) in App.cs
Set a break point on it

Set break on FileNotFoundException

Make sure you use any Controls from Microsoft.UI.Xaml

Run demo app in X64 Debug mode
Wait until VS hit the break point on "OnWindowCreated"

Wait for a few seconds
Press F5 to continue
Got the exception.

 	System.Private.CoreLib.dll!System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(System.Reflection.AssemblyName assemblyName)	Unknown
 	System.Private.CoreLib.dll!System.Runtime.Loader.AssemblyLoadContext.ResolveUsingResolvingEvent(System.IntPtr gchManagedAssemblyLoadContext, System.Reflection.AssemblyName assemblyName)	Unknown
 	[Native to managed conversion]
 	[Managed to native  conversion]
 	System.Private.CoreLib.dll!System.RuntimeTypeHandle.GetTypeByName(string name, bool throwOnError, bool ignoreCase, bool reflectionOnly, ref System.Threading.StackCrawlMark stackMark, System.IntPtr pPrivHostBinder, bool loadTypeFromPartialName)	Unknown
 	System.Private.CoreLib.dll!System.RuntimeType.GetType(string typeName, bool throwOnError, bool ignoreCase, bool reflectionOnly, ref System.Threading.StackCrawlMark stackMark)	Unknown
 	System.Private.CoreLib.dll!System.Type.GetType(string typeName)	Unknown
 	Microsoft.UI.Xaml.Markup.winmd!Microsoft.UI.Xaml.Markup.ReflectionXamlMetadataProvider.GetNonGenericType(string compilerTypeName = "Windows.UI.Xaml.Controls.RevealBackgroundBrush")	Unknown
 	Microsoft.UI.Xaml.Markup.winmd!Microsoft.UI.Xaml.Markup.ReflectionXamlMetadataProvider.CreateXamlType(string typeName)	Unknown
 	Microsoft.UI.Xaml.Markup.winmd!Microsoft.UI.Xaml.Markup.ReflectionXamlMetadataProvider.getXamlType(string typeName)	Unknown
>	App1.exe!App1.App1_XamlTypeInfo.XamlTypeInfoProvider.GetXamlTypeByName(string typeName = "Windows.UI.Xaml.Controls.RevealBackgroundBrush") Line 136	C#
 	App1.exe!App1.App1_XamlTypeInfo.XamlMetaDataProvider.GetXamlType(string fullName = "Windows.UI.Xaml.Controls.RevealBackgroundBrush") Line 100	C#
 	App1.exe!App1.App.GetXamlType(string fullName = "Windows.UI.Xaml.Controls.RevealBackgroundBrush") Line 49	C#

Expected behavior

Should not throw any exception. It might throw a lot of FileNotFoundException which cause my app stop responding for about 20 seconds on startup
Version Info

NuGet package version:
[Microsoft.UI.Xaml 2.5.0]
[Microsoft.UI.Xaml 2.6.0-latestprelease]

Windows app type:

UWP
Win32

Yes

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

October 2020 Update (19042)
Yes

May 2020 Update (19041)

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop
Yes

Xbox

Surface Hub

IoT

Additional context
If we don't set any break point on OnWindowCreated or any other function,  or do not use any Controls from Microsoft.UI.Xaml. This issue will not be triggered.

Why is there such a problem? Is there a temporary solution or workaround?

@chingucoding @ranjeshj Could help take a look? Thanks.

Can't repro this, even after trying multiple times.

Very strange, does this only repro on debug builds?  Are you able to f5 though the execption and continue running the app?

@chingucoding FYR
https://user-images.githubusercontent.com/42038175/118343130-a92dcd00-b559-11eb-833d-6a572e4f362a.mp4

I think it might the same issue as https://github.com/microsoft/microsoft-ui-xaml/issues/2042
This issue does not occur in Visual Studio 16.9.4.
This issue does occur in Visual Studio 16.9.5.
@chingucoding Could you confirm this issue in 16.9.5 ?

Can't repro this with VS 16.9.5 either.

I could not repro this in another computer. Might be related to environment


Remove cgo as a dependency added by #49

fixes #49
#48 introduced CGO as a dependency when it wasn't really needed (Surprised we didn't already have a CGO dependency tbh). This removes said dependency by delegating the memory management to Windows.
/cc @schmichael @jstarks
Signed-off-by: Darren Stahl<EMAIL_ADDRESS>

LGTM


Question properties of elements

I cannot find in the documentation where in the datastructure nonnodal  information of the elements are stored. I am speaking of information such as the thickness of shells as well as material data (e.g. mass density, youngsters modulus, thermal conductivity etc. )
I also did not find the get/set routines to access this data.

Hi, @dfxh ,
The elements in MFEM are essentially topological objects which are only used to describe how our computational domain is split into manageable chunks.  Perhaps one concession that we make is in providing an element attribute number, see Element::Set/GetAttribute().  This is a positive integer that can be used to group elements together into disjoint groups.  For example this integer can be used to look up material properties from a collection of tables.  You could define a table containing mass densities corresponding to each attribute number and then define a PWConstCoefficient coefficient to access this table.
Our focus is not on solid mechanics but on continuum physics where things like material data are often provided by equations of state.  In such cases we compute material properties as non-linear functions of temperature, density, etc..  We typically use our Coefficient classes to perform these computations behind the scenes.
Shell elements are something we don't have and I'm not sure how they might be used. It might be possible to define a field on a group of 2D elements which would correspond to the local thickness as a function of position.  This field could then be used in a variety of ways.  Perhaps such a model could be used to perform the same role as shell elements.
Best wishes,
Mark

Hi @dfxh,
As Mark explained, we do not support shell elements, and the material properties are not associated directly with the mesh, see e.g. Example 2.
I'm closing this issue now, but please let us know if you have any further questions.
Tzanio


Don't throw on duplicate keys when parsing YAML

The json option of js-yaml allows duplicate keys to be parsed without throwing, making it compatible with JSON.parse in this regard.
Resolves https://github.com/stylelint/stylelint/issues/2051.

My understanding is that this is no longer the intended solution to https://github.com/stylelint/stylelint/issues/2051.


Implement search API for retrieve user's organisations

Purpose

Search all organizations the user is a member of

Goals

Implement an API to fetch user's organizations

Approach

-.

User stories

As a user I want to search organizations which I'm a member of and search other user's organizations

Release note

Documentation

Training

Certification

Marketing

Automation tests

Unit tests

Integration tests

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes
Ran FindSecurityBugs plugin and verified report? yes
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes

Samples

Related PRs

Migrations (if applicable)

Test environment

Ballerina 0.991, MySQL 5.7.25

Learning

Codecov Report

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

@@           Coverage Diff           @@
##           master      #54   +/-   ##
=======================================
  Coverage   23.48%   23.48%
=======================================
  Files          45       45
  Lines        1154     1154
  Branches      182      182
=======================================
  Hits          271      271
  Misses        806      806
  Partials       77       77

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 d82e8e1...43fb602. Read the comment docs.


Lighting enhencement

I found rendering lighting was somewhat dark to my application. Although I am very new to Blender, and I am not familiar with any kinds of rendering tools, I leave my solution here for those who desire similar enhancement. I increased lamp energies and added another light source at a different angle.
The below is a very vanilla solution. Please let me know if there is a better way. Since I am rendering objects at different view points, it would be better if lighting sources would consider that.
Original code:
# Add another light source so stuff facing away from light is not completely dark
bpy.ops.object.lamp_add(type='SUN')
lamp2 = bpy.data.lamps['Sun']
lamp2.shadow_method = 'NOSHADOW'
lamp2.use_specular = False
lamp2.energy = 0.015
bpy.data.objects['Sun'].rotation_euler = bpy.data.objects['Lamp'].rotation_euler
bpy.data.objects['Sun'].rotation_euler[0] += 180

My modification:
# Add another light source so stuff facing away from light is not completely dark
bpy.ops.object.lamp_add(type='SUN')
lamp2 = bpy.data.lamps['Sun']
lamp2.shadow_method = 'NOSHADOW'
lamp2.use_specular = False
lamp2.energy = 0.2              # <---- more energy
bpy.data.objects['Sun'].rotation_euler = bpy.data.objects['Lamp'].rotation_euler
bpy.data.objects['Sun'].rotation_euler[0] += 180

# Add one more light source at different location
bpy.ops.object.lamp_add(type='SUN')
lamp3 = bpy.data.lamps['Sun']
lamp3.shadow_method = 'NOSHADOW'
lamp3use_specular = False
lamp3.energy = 0.2
bpy.data.objects['Sun.001'].rotation_euler = bpy.data.objects['Lamp'].rotation_euler
bpy.data.objects['Sun.001'].rotation_euler[0] += 90

Typo:

lamp3use_specular = False

It seems to me a more general solution to this kind of need is to allow creating a template .blend file, with all the desired lighting, rendering and other setup, and have the script import the model into this.


WIP - Add experiment guard for image preloading

Why this is WIP? It can't break anything...
/lgtm

Yesterday I pushed all the code I found in my local fork of perf-tests.
Once I find spare cycles, I'll try to push it forward. I prefer to do
everything then.

/close
I will use CL2_* envs to guard this experiment.


Notify backend/target when upload fails

Same as #81, but different cause

Done: notif when single upload fails.
TODO: notif when multi-upload fails.
TODO: notif when refused by backend because of file size.

Done: notif when multi-upload fails.


Projecting a subset of events

Hey guys, thank you for the work on this excellent library!
We've set up a system where event types are always the same ("MyEvent" in these examples), so that events can be published without any changes to event ingestion.
This allows us to start publishing events before the projections are in place, and without needing to know any data types around the newly created events (data is passed along as JObject properties, which get parsed during projection).
Each event contains a "stream type", which is what we'd like to use to distinguish events on. I assume that this "stream type" is analogous to what you'd normally use the CLR event type for, and/or the CLR type when calling StartStream<>().
So on the projection side, I'm trying to have a projection only apply to a subset of events, using this "stream type", instead of event CLR type or StartStream<> type.
So far, these attempts I've tried:
Simple SingleStreamProjection, which works, but projects all events, regardless of the "stream type". At the moment Project is called, an aggregate object (will) already exist in the database.
public class MyAggregate : SingleStreamProjection<MyProjection>
{
  public MyAggregate()

    ProjectEvent<IEvent<MyEvent>>((querySession, projection, @event) =>
    {
      // Projection as per usual.
    });
  }
}

EventProjection, which allows us to prevent aggregate docs from being stored, and all in all works quite well.
public class MyAggregate : EventProjection
{
  public MyAggregate()
  {
    ProjectAsync<IEvent<MyEvent>>(
      async (ev, ops) =>
      {
        if (!ev.Data.StreamType.Equals("some stream type", StringComparison.OrdinalIgnoreCase))
        {
          return;
        }

        var doc = await ops.LoadAsync<MyProjection>(ev.Data.StreamId);

        doc ??= new MyProjection()
        {
          Id = ev.Data.StreamId,
          TenantId = ev.Data.Tenant,
          ...
        };

        ops.Store(doc);
      });
  }

}

It's one thing that unrelated events are still processed (would be nice to cap that off at the database level of course). But more problematic for now, is that on projection rebuilds, the existing database objects are not removed.
I've started looking into custom projections, and possibly assigning a different CLR event type on runtime somehow, but I have a feeling that there should be a pretty simple way of doing this, hence this question.
Any help is appreciated!

Additionally, here's the MyEvent definition:
public class MyEvent
{
	[Identity]
	public Guid Id { get; set; } = Guid.NewGuid();

	public string? StreamType { get; set; } // <-- We'd like to apply projections on events with a specific value in here.

	public string? StreamId { get; set; }

	public string? EventId { get; set; }

	public string? EventType { get; set; }

	public JObject? EventData { get; set; }

	public string? Tenant { get; set; }

	public DateTimeOffset Timestamp { get; set; } = DateTimeOffset.UtcNow;
}


Error in debug block

Hello, I really appreciate your KPConv work and shared codes. However, I met a error when I run the training_ModelNet50.py in debug mode. In particular, I change this line to trainer.train(model, dataset, debug_NaN=False). And I have the following error, could you help me to solve that? Thanks so much.

Hi @OasisYang,
Thank you for you interest in KPConv. The "debug" mode is a very old part of my code which should have been removed. This functionality is not working anymore in my code.
If you need to debug something (NaN values appearing for example) you have two possibilities:

Run the model on CPU like I explained here.

Use tf.print operation to track down the feature values during training.

I hope this is going to help you.
Best,
Hugues


Option to Dynamically Register JobWorker without annotations?

Hi , looking at the spring-zeebe project README and examples and I couldn’t find anything to dynamically create the JobWorker without the compile time annotations.
I’m trying to create a common library for Camunda/Zeebe where my services know nothing about the Workflow engine. It is pretty much agnostic and this library should take care of dynamically registering workers (specified by individual services) and the individual services just get a plain java call back with necessary payload and rest of the boiler plate is all handled by this common library.
I see this is only possible if there’s an alternative way to create job worker other than via @JobWorker annotation. Thoughts?
Kind of similar to Spring providing Dynamic registration mechanism to create Kafka Listener on the fly than @KafkaListener annotation.

I think you can autowire ZeebeClientLifecycle and use it's method "newWorker()" to dynamically register workers.

Hy @SaiprasadKrishnamurthy: You can register job workers via the JobWorkerManager, see how this is done internally after annotations are parsed: https://github.com/camunda-community-hub/spring-zeebe/blob/main/client/spring-zeebe/src/main/java/io/camunda/zeebe/spring/client/annotation/processor/ZeebeWorkerAnnotationProcessor.java#L115
This should solve your problem - or not?


Where are the release binaries?

I looked on the releases page and in the release archives but I can't find the flexmark jars.

@JC3, archives are on Maven. You can download them from https://repo1.maven.org/maven2/com/vladsch/flexmark/

Thanks!


How to debug not receiving data

I have this code inside my componentDidMount
    let tracker = new GoogleAnalyticsTracker('UA-xxxx-1', {});
    GoogleAnalyticsSettings.setDryRun(false);
    GoogleAnalyticsSettings.setDispatchInterval(3);
    console.log("TRACKING")
    tracker.setSamplingRate(100);
    tracker.trackScreenView('Folder')
    tracker.trackEvent('view', 'folder');

I am not seeing anything received in google analytics. I verified my ID is correct. What is the best way to debug? I'm not seeing any errors in logcat or anything

Okay, I'm seeing this warning in logcat
08-21 14:46:03.848 W/GAv4    (25467): AnalyticsService not registered in the app manifest. Hits might not be delivered reliably. See http://goo.gl/8Rd3yj for instructions.
08-21 14:46:59.051 I/GAv4    (25590): Google Analytics 10.2.98 is starting up. To enable debug logging on a device run:
08-21 14:46:59.051 I/GAv4    (25590):   adb shell setprop log.tag.GAv4 DEBUG
08-21 14:46:59.051 I/GAv4    (25590):   adb logcat -s GAv4
08-21 14:46:59.065 W/GAv4    (25590): AnalyticsReceiver is not registered or is disabled. Register the receiver for reliable dispatching on non-Google Play devices. See http://goo.gl/8Rd3yj for instructions.

I added the receiver to my manifest file and got rid of the warnings. Now it looks like hits are being sent, but I'm still not seeing anything in the analytics dashboard. Has anyone experienced this?
08-21 15:15:00.730 D/GAv4    (30066): setLocalDispatchPeriod (sec): 3
08-21 15:15:00.747 D/GAv4    (30066): Hit delivery requested: ht=1503346500731, _s=6, _v=ma10.2.98, a=1766700456, aid=com.woz.tagamate, an=TagAMate, av=1.3, cd=Folder, cid=e6f4319f-341c-4773-ae35-62756f840cab, sf=100.0, sr=1080x1776, t=screenview, tid=UA-105033496-1, ul=en-us, v=1
08-21 15:15:00.756 D/GAv4    (30066): Hit delivery requested: ht=1503346500732, _s=7, _v=ma10.2.98, a=1766700457, aid=com.woz.tagamate, an=TagAMate, av=1.3, cd=Folder, cid=e6f4319f-341c-4773-ae35-62756f840cab, ea=folder, ec=view, sf=100.0, sr=1080x1776, t=event, tid=UA-105033496-1, ul=en-us, v=1
08-21 15:15:00.829 D/GAv4    (30066): Hit sent to the device AnalyticsService for delivery
08-21 15:15:00.844 D/GAv4    (30066): Hit sent to the device AnalyticsService for delivery

Is this still a problem @scottwilson312?
Normally it's a dispatch interval issue, but looks like yours is low. The other thing is that dryRun must not be set to true.

It was just Google Analytics being annoying - there was nothing wrong with this code. I had created my account two days prior and nothing was showing up. I switched the ID to an old account of mine and everything was working fine

Alright good to hear, glad it worked out for you! Thanks for the notice and closing the issue.

I found the problem with new accounts.
In order to activate it in EU go to Account Settings, scroll to  Data Processing Amendment  and accept.
Data started pouring instantly ;)

@Coobers , I was experiencing the same problem and that solved it, thanks!
@cbrevik I know this is not exactly related to this repository because is a "google problem" but I think it would help others if a note is added to the wiki or to the README giving a warning about this.
In my case for example, I spent a lot of time debugging the configuration and installation and after some hours of that and nothing else to try, I discovered this issue and coobers solution.
What do you think?
If you prefer I can write it and send in a PR (in that case, and if you agree, just tell me where it would be more suitable to be added).


Add Slide Number

Add API to set up Slide Number on Slide Master:
Acceptance Criteria

I can set the slide number that is automatically added to a new slide.
I can update the font size of slide numbers.
I can update the font color of slide numbers.

is there possible add the font style by selected words in a sentence  ..
Example : I can set the slide number that is automatically added to a new slide.
In one sentence I would like to add multi styles for words ..
sample :
shape.TextFrame.TextRange.Words(3).Font.Bold = true;

when this #540 is completed .comment here

@DarwinRajagopalan
You can use Portions:
shape.TextFrame!.Paragraphs[0].Portions[0].Font.Bold = true;

@DarwinRajagopalan, @Akshay-Warule, does it work for you or something else? Could you give a feedback please?

@DarwinRajagopalan
You can use Portions:
shape.TextFrame!.Paragraphs[0].Portions[0].Font.Bold = true;

@DarwinRajagopalan, @Akshay-Warule, does it work for you or something else? Could you give a feedback please?

yeah its worked
IParagraph p =  textFrame!.Paragraphs.First();
p.AddPortion("Hai,");
p.AddPortion("how are you?");
p.Portions[0].Font.IsBold=true;
p.Portions[1].Font.IsBold=false;
output: Hai, how are you?

Is Slide Number work is done. Can I set Slide Number to Page Number and give X , Y cordinates and Font Size, Color to Page Number. And when When new Slide get added Page Number of that slide get added Automatically .

Add API to set up Slide Number on Slide Master:
Acceptance Criteria

I can set the slide number that is automatically added to a new slide.
I can update the font size of slide numbers.
I can update the font color of slide numbers.

here Please add X,Y cordinates, Font Size and Font Color  on Slide , So We can give PageNumber at bottom.


Please make the Jetpack's mode switch sound obey the SoundVolume option

I have the SoundVolume option turned down to 0.05 and the jetpack's mode switch sound is still crazy loud.

Done, thanks


🐞 - CalendarRange not switch to selected item

Playground Link
https://taiga-ui.dev/components/calendar-range/API?items$=1
Description

Open https://taiga-ui.dev/components/calendar-range/API?items$=1
Switch to few month later/previous.
Select Today item.

Expected behavior:
Calendar switched to today and current month (as it was before in v3).
Actual behavior:
Calendar not switched.
https://github.com/user-attachments/assets/ebff1b7f-e06b-4eff-8f15-0843ddca2105
Angular version
16
Taiga UI version
4.4.1
Which browsers have you used?

[X] Chrome
[ ] Firefox
[ ] Safari
[ ] Edge

Which operating systems have you used?

[X] macOS
[ ] Windows
[ ] Linux
[ ] iOS
[ ] Android

It should switch to end of period, not start
https://github.com/user-attachments/assets/afc1ff6c-77de-4498-b959-62a304346627


Requests writes for plugin-mesos.

Description
@vinodkone, I would like to change the CI on https://github.com/jenkinsci/mesos-plugin/pull/360 to push our refactoring back upstream.
Submitter checklist for changing permissions
Always

[ ] Add link to plugin/component Git repository in description above

For a newly hosted plugin only

[ ] Add link to resolved HOSTING issue in description above

For a new permissions file only

[x] Make sure the file is created in permissions/ directory
[x] artifactId (pom.xml) is used for name (permissions YAML file).
[x] groupId / artifactId (pom.xml) are correctly represented in path (permissions YAML file)
[x] Check that the file is named plugin-${artifactId}.yml for plugins

When adding new uploaders (this includes newly created permissions files)

[x] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[x] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[x] All newly added users have logged in to Artifactory at least once

Merge permission to GitHub repository

[x] Check this if newly added person also needs to be given merge permission to the GitHub repo.

This access has nothing to do with the CI. What are you trying to accomplish?

Thanks @slide. I'll need to release something like an alpha next week as well. I'll get into contact with @vinodkone.

Please provide the request authorizations to @jeschkies . He's the main committer and maintainer of the plugin going forward.


added log in window

I added log in window before you can access the Main Window.

Thank you for the update @rhoii! I’ve reviewed and approved the changes. Adding the login window before accessing the Main Window is a great improvement for enhancing security and user flow. Nice work!


not working at all

Type: Bug
very bad experience as the vscode is frequently frizzing and the cruizer is not select any line, this is very disappoint and not expected as you run a small file or editing small things.
VS Code version: Code 1.77.3 (Universal) (704ed70d4fd1c6bd6342c436f1ede30d1cff4710, 2023-04-12T09:19:37.325Z)
OS version: Darwin arm64 22.3.0
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Apple M1 (8 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
2, 2, 2

Memory (System)
8.00GB (0.29GB free)

Process Argv
--crash-reporter-id 83696ff6-8c65-40ba-a193-102bc2ae0680

Screen Reader
no

VM
0%

Extensions (20)

Extension
Author (truncated)
Version

blackbox
Bla
0.10.63

gitlens
eam
13.5.0

vsc-material-theme
Equ
33.8.0

vsc-material-theme-icons
equ
2.7.5

copilot
Git
1.83.41

theme-monokai-pro-vscode
mon
1.2.0

vscode-azureappservice
ms-
0.24.8

vscode-azureresourcegroups
ms-
0.7.1

csharp
ms-
1.25.4

data-workspace-vscode
ms-
0.4.0

mssql
ms-
1.18.0

sql-bindings-vscode
ms-
0.3.0

sql-database-projects-vscode
ms-
0.21.0

vscode-ai
ms-
0.30.3

vscode-ai-remote
ms-
0.28.1

azure-account
ms-
0.11.3

vetur
oct
0.37.3

LiveServer
rit
5.7.9

vue-vscode-snippets
sdr
3.1.1

vim
vsc
1.25.2

(2 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
vscccc:30610679
nodejswelcome1:30587005
282f8724:30602487
pyind779:30671433
89544117:30613380
pythonsymbol12:30671437
6233i204:30672705
vsccsb:30705552
azdwalk:30721579
pythonms35:30701012
pythonfmttext:30716742

Please use the Start Extension Bisect command to investigate whether the problem is being caused by one of your extensions.

how I can use the start extensions?
view/extensions, then I will select which start extension there is two many, could you explain?

Please see https://code.visualstudio.com/blogs/2021/02/16/extension-bisect
One way to start the procedure is from the Command Palette (press F1 for this), where you can type "bisect" to quickly locate the command.

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


feat: add streamable props in Reviews section

Wraps <Reviews /> in Suspense boundary and internally resolves Promises if passed.
Streams in data inside components for total count and average rating.
Adds missing reviewsLabel.

Will move away from using a fork after this PR.


[KYUUBI #3067][DOC] Add Flink Table Store connector doc for Spark SQL Engine

Why are the changes needed?

Add Flink Table Store connector doc for Spark SQL Engine
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

Codecov Report

Merging #3151 (77e0a24) into master (d07d7cc) will decrease coverage by 0.03%.
The diff coverage is n/a.

:exclamation: Current head 77e0a24 differs from pull request most recent head b2bc67d. Consider uploading reports for the commit b2bc67d to get more accurate results

@@             Coverage Diff              @@
##             master    #3151      +/-   ##
============================================
- Coverage     51.29%   51.26%   -0.04%
  Complexity        6        6
============================================
  Files           458      458
  Lines         25416    25416
  Branches       3535     3535
============================================
- Hits          13037    13029       -8
- Misses        11138    11141       +3
- Partials       1241     1246       +5

Impacted Files
Coverage Δ

...main/java/org/apache/kyuubi/jdbc/KyuubiDriver.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...uubi/engine/spark/events/SparkOperationEvent.scala
88.88% <0.00%> (-5.56%)
:arrow_down:

...rg/apache/kyuubi/ctl/cmd/log/LogBatchCommand.scala
80.00% <0.00%> (-2.00%)
:arrow_down:

.../engine/spark/session/SparkSQLSessionManager.scala
78.48% <0.00%> (-1.27%)
:arrow_down:

...n/scala/org/apache/kyuubi/engine/ProcBuilder.scala
83.12% <0.00%> (-0.63%)
:arrow_down:

...rc/main/scala/org/apache/spark/ui/EnginePage.scala
78.86% <0.00%> (-0.30%)
:arrow_down:

...in/scala/org/apache/kyuubi/config/KyuubiConf.scala
97.25% <0.00%> (-0.10%)
:arrow_down:

...apache/kyuubi/engine/JpsApplicationOperation.scala
79.41% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us.

thanks @huage1994, merged to master


chore(provider-sqldb-postgres): Remove the rustls option and enable rustls features by default

Feature or Problem
Turns out the rustls feature is a bit superfluous, because it gets turned off by default and not enabled subsequently even though we absolutely want to ship the provider with it enabled, so rather than juggling that, let's just remove the feature flag and always compile it in.
Related Issues

Release Information

Consumer Impact

Testing

Unit Test(s)

Acceptance or Integration

Manual Verification

the failing checks in this PR would be resolved by https://github.com/jbg/tokio-postgres-rustls/pull/24 once we can grab a release of tokio-postgres-rustls that depends on a certificate library with an approved license


Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (50)

I'm using gulp-sass in node.js project with electron . I found this issue when run require('gulp-sass') .
here are some infomation:

NPM version (npm -v): 4.0.5
Node version (node -v): 6.9.2
Node Process (node -p process.versions):
{ http_parser: '2.7.0',
node: '6.9.2',
v8: '5.1.281.88',
uv: '1.9.1',
zlib: '1.2.8',
ares: '1.10.1-DEV',
icu: '57.1',
modules: '48',
openssl: '1.0.2j' }
Node Platform (node -p process.platform): darwin
Node architecture (node -p process.arch): x64
node-sass version (node -p "require('node-sass').info"):
node-sass	4.0.0	(Wrapper)	[JavaScript]
libsass  	3.4.0	(Sass Compiler)	[C/C++]
npm node-sass versions (npm ls node-sass):
└─┬<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>
And when I run process.versions.modules  in the devtools of electron , it returns 50.
I try to npm rebuild node-sass , but it remains show this issue . thanks for your reading.
When encountering a syntax, or compilation issue:

Open an issue on LibSass. You
may link it back here, but any change will be required there, not here

If you delete this text without following it, your issue will be closed.

Electron isn't a supported environment. You can search the issue tracker to find the relevant discussions.

thank u all the same .


Organization whereabouts

https://huggingface.co/training-transformers-together

[x] logo
[ ] profile: research interests, website, etc
[ ] organization card (drafted by @SaulLu , need a few extra bits such as model name)
[ ] a big button to join w/o approval

and a text description on how the default option is to approve invites

[ ] options on how to join
[ ] main dashboard

[ ] leaderboard as a list - if have time (@SaulLu )
[ ] world map - if have time (@SaulLu )

[ ] push the dalle-repository someplace public
[ ] push the dataset into the organization, add dataset card explaining what it is and that all rights belong to LAION

Some other items I have in mind:

[ ] Pick a model name
[ ] We also need to create a model card that will be push on the model repo (like https://huggingface.co/neuropark/sahajBERT)
[ ] And also possibly a space to show the generative capabilities of the model (like https://huggingface.co/spaces/flax-community/dalle-mini)

By the way, I'll take this opportunity to share with you my vision of the https://huggingface.co/training-transformers-together organization to make sure I could share the information with everyone (because finally we didn't synchronize all together).
For me, this organization could serve as a showcase for our main training by exposing all the information about it. That is to say:

what this organization is for (the org card at https://huggingface.co/training-transformers-together ),
how to participate in the experiment (that is why I put at the beginning a "how-to-join" space),
how to see my contribution to the experiment (the dasboard),
to see the evolution of the training model (the model repo) and
even to access the training dataset and
some explanations on what is a collaborative training (links to the paper and blog post and the videos).

New chart on the main dashboard: https://github.com/training-transformers-together/training-transformers-together-dashboard/pull/2


Move AMPLS to Operations Tier

Description
Moved the AMPLS and its Private Endpoint to the Operations tier, so that it sits together with the Log Analytics Workspace. This includes the following changes:

Moved the Private DNS zones creation out of the private-link module and into its own module, so that the zones still get created in the Hub.
Added a parameter for the VNET Subnet PrivateEndpointNetworkPolicies setting in the spoke module, so that the Operations VNET subnet get created with that setting disabled.
Moved the Private DNS zones and the AMPLS creation out of the hub module and into the main template, so that they can be deployed to different tiers.

Issue reference
The issue this PR will close: #738
Checklist
Please make sure you've completed the relevant tasks for this PR out of the following list:

[X] All acceptance criteria in the backlog item are met
[X] The documentation is updated to cover any new or changed features
[X] Manual tests have passed
[X] Relevant issues are linked to this PR

/azp run


Increase inotify limits

Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened: cadvisor fails to watch container directories due to hitting inotify limits
... kubelet.go:1344] Failed to start cAdvisor inotify_add_watch /sys/fs/cgroup/memory/kubepods/pod<pod_id>/<container_id>: no space left on device

What you expected to happen: /proc/sys/fs/inotify/max_user_watches should be higher to reduce this impact of a leak in the inotify library used by cadvisor. The problem is described further in the issues here and here. However this is still an upstream issue.
How to reproduce it (as minimally and precisely as possible): Spin up a tarmak cluster and create and delete many pods on a particular node until limit is reached.
Environment:

Kubernetes version (use kubectl version): 1.12.3

I think that was covered by #757


Unable to import

It won't import in latest Godot release... tried adding manually but when testing freezes gameplay... maybe code needs update?

This scene may have been deprecated,I'm currently busy with others game
project.But I'm planning to make collection of demo like this door
open/close,animation,start menu etc...with a higher quality.
I will notify you an up to date with Godot 3.4 version.
On Fri, Nov 12, 2021, 11:14 AM UnrealProjects @.***>
wrote:

It won't import in latest Godot release... tried adding manually but when
testing freezes gameplay... maybe code needs update?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/syafiqqun/Door-Scene/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AS5WAOAECOHWFG4LHAXIYMTULSA7PANCNFSM5H33U5RQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

ok, thanks

hii,I make this new repo for the door animation scene for Godot 3.4,if
there is any problem tell me,okay!
https://github.com/syafiqqun/Door-OpenClose-Demo
On Fri, Nov 12, 2021 at 11:38 AM UnrealProjects @.***>
wrote:

ok, thanks
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/syafiqqun/Door-Scene/issues/1#issuecomment-966794752,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AS5WAOHDAEILDJI3AEAX2KLULSD37ANCNFSM5H33U5RQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Resolved github action docs errors

@pbiecek I have a problem with creating GitHub Actions bot:
git config --global user.name "github-actions[bot]" git config --global user.email<EMAIL_ADDRESS>as this bot don't have permissions to write to the repo:
error: failed to push branch gh-pages to origin:   remote: Permission to xai4space/meteors.git denied to github-actions[bot].   fatal: unable to access 'https://github.com/xai4space/meteors/': The requested URL returned error: 403
Mentioned how to resolve: https://stackoverflow.com/questions/72851548/permission-denied-to-github-actionsbot

I'm not sure what the problem is
let's talk tomorrow

@pbiecek https://xai4space.github.io/meteors/latest/


Add requirements.txt and instructions

Update ubuntu packages since those only apply to distros 20.04 and earlier, but break on 22.04
Use pip to avoid having to maintain two package names

Solves this issue: https://github.com/ros/rosdistro/issues/35109

There is mixed use of hyphens and underscores. The README say to install catkin-pkg but test/requirements.txt installs catkin_pkg. I'm switching to hyphens since that is more common.
ryan@ryan-m93p:~/Documents/ros/rosdistro$ python3 -m pip list | grep catkin
catkin-pkg                           0.5.2
catkin-pkg-modules                   0.5.2
ryan@ryan-m93p:~/Documents/ros/rosdistro$ python3 -m pip install catkin-pkg
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: catkin-pkg in /usr/lib/python3/dist-packages (0.5.2)
ryan@ryan-m93p:~/Documents/ros/rosdistro$ python3 -m pip install catkin_pkg
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: catkin_pkg in /usr/lib/python3/dist-packages (0.5.2)

I also switched ros-buildfarm to hyphen.
Results:
ryan@ryan-m93p:~/Documents/ros/rosdistro$ python3 -m pip install -r test/requirements.txt
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: catkin-pkg in /usr/lib/python3/dist-packages (from -r test/requirements.txt (line 1)) (0.5.2)
Requirement already satisfied: nose in /home/ryan/.local/lib/python3.10/site-packages (from -r test/requirements.txt (line 2)) (1.3.7)
Requirement already satisfied: PyGitHub in /usr/lib/python3/dist-packages (from -r test/requirements.txt (line 3)) (1.55)
Requirement already satisfied: pytest in /usr/lib/python3/dist-packages (from -r test/requirements.txt (line 4)) (6.2.5)
Requirement already satisfied: PyYAML in /usr/lib/python3/dist-packages (from -r test/requirements.txt (line 5)) (5.4.1)
Requirement already satisfied: ros-buildfarm in /home/ryan/.local/lib/python3.10/site-packages (from -r test/requirements.txt (line 6)) (3.0.0)
Requirement already satisfied: rosdep in /usr/lib/python3/dist-packages (from -r test/requirements.txt (line 7)) (0.22.1)
Requirement already satisfied: rosdistro in /usr/lib/python3/dist-packages (from -r test/requirements.txt (line 8)) (0.9.0)
Requirement already satisfied: unidiff in /home/ryan/.local/lib/python3.10/site-packages (from -r test/requirements.txt (line 9)) (0.7.4)
Requirement already satisfied: yamllint in /home/ryan/.local/lib/python3.10/site-packages (from -r test/requirements.txt (line 10)) (1.29.0)
Requirement already satisfied: vcstool>=0.1.37 in /usr/lib/python3/dist-packages (from ros-buildfarm->-r test/requirements.txt (line 6)) (0.3.0)
Requirement already satisfied: empy in /usr/lib/python3/dist-packages (from ros-buildfarm->-r test/requirements.txt (line 6)) (3.3.4)
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from rosdep->-r test/requirements.txt (line 7)) (59.6.0)
Requirement already satisfied: pathspec>=0.5.3 in /home/ryan/.local/lib/python3.10/site-packages (from yamllint->-r test/requirements.txt (line 10)) (0.11.0)

Reference:
https://gist.github.com/gene1wood/9472a9d0dffce1a56d6e796afc6539b8
https://peps.python.org/pep-0008/#package-and-module-names


Run Arb & FLINT migrations

Manually running the migrations that fail when the bot tries them essentially due to
Arb: arb-2.23.0-h905a977_0 requires libflint >=2.9.0,<2.10.0a0, but none of the providers can be installed
FLINT: eclib-20210625-h95769b4_2 requires libflint >=2.7.1,<2.8.0a0, but none of the providers can be installed

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender.

@conda-forge-admin, please rerender.

@isuruf: any reason not to run these migrations manually?


Cannot read property 'translations' of undefined

This error occurs after doing lots (around 500 in 30 minutes) of translations
TypeError: Cannot read property 'translations' of undefined     at translate (/home/runner/Bibletranslation/node_modules/bing-translate-api/src/index.js:117:31)     at processTicksAndRejections (internal/process/task_queues.js:97:5)
I used the same code as in the docs to test.
Its not ratelimiting i think, opening up bing.com and writing some quick code to ping their servers with translations works.

Note: i am using repl.it to translate the bible

Thanks. I tried to fix some potential bugs, but it still can't solve the bing translator's issue that requires the captcha. I tested it 500 times within 30 minutes in my local environment, it works. But it can't even work 1 time in the Travis ci. Maybe it blocked the IP.


Potential breaking changes not documented on CHANGELOG.md

Hi all, just wanted to raise up an issue where a potential breaking changes is not documented in CHANGELOG.md.
In short, we found out that the error response of v0.5.0 is different compared to v.0.9.2 when attempting to update our dependencies:
# v0.5.0
{:error, {exception, message}}

# v0.9.2
{:error, {:unexpected_response, response}}

After some deep dive, here's the file changes related:

Latest: https://github.com/aws-beam/aws-elixir/blob/0ee85f3e745d73e05a986eca279d89965a4db9f7/lib/aws/request.ex#L51
Older: https://github.com/aws-beam/aws-elixir/blob/630970a4a0d75ec0c9e4e6e24a6005d549e3325a/lib/aws/cognito_identity_provider.ex#L576

It seems like the changes happen after v0.7.0 according to this commit.
Am I right in regards of this as a breaking changes? If so, would it be good for us to update the CHANGELOG.md to document the breaking changes?
Happy to send a PR in and thanks for the amazing work as well 🎉

@kw7oe my bad :sweat_smile:
Yeah, It makes sense to document this. Please go ahead with the PR :+1:
And thank you! :purple_heart:

All good @philss 👍🏻, no worry! It's just an oversight. Things happen, so nothing to sorry about.
I'll close this first since the PR is in!
Once again, thanks for all the work on this library 💯


Slow Performance when there are lots of merge cells & calculations

Description
I am using this library to read text out of XLSX files, and generally it works incredibly well. Typically the performance is fantastic, well, well under 1 second. However, I have on file, which sadly I cannot share, where the time to extract the text is ~10minutes. What I have been able to do isprofile that file and see that the issue is in mergeCellsParser. The exact sheet in question does have merged cells, among other things.
Steps to reproduce the issue:
Using a file I can share you can still see the issue. The file,
merge_test.xlsx, has two columns with ~5,000 rows each, but these columns are merged A-B, and merged C-D.
This file takes 1m50s to extract text from.
A snippet of the code I am using, though not the full code:
    f, err := excelize.OpenFile(xlsxFile, excelOpts)
	if err != nil {
		return nil, fmt.Errorf("excelize failed to open file %s: %w", xlsxFile, err)
	}
	defer func() {
		// Close the spreadsheet.
		if err := f.Close(); err != nil {
			logger.WithError(err).Error("failed to close XLSX file")
		}
	}()

	// Get extras that we need, comments first
	comments, err := f.GetComments()
	if err != nil {
		return nil, fmt.Errorf("failed to GetComments: %w", err)
	}

	sheetRels, err := msx.findRels(arc, ExcelRelsXML, "xl/")
	if err != nil {
		return nil, err
	}

	// Now we can process the main data from the file using excelize
	for i, sheet := range f.GetSheetList() {
		rows, err := f.GetRows(sheet, excelOpts)
		if err != nil {
			return nil, fmt.Errorf("failed to GetRows for %s: %w", xlsxFile, err)
		}
		if _, err := sb.WriteString(sheet + "\n"); err != nil {
			return nil, fmt.Errorf("failed to write the sheet title %q: %s", sheet, err)
		}
		for j, row := range rows {
			for k, colCell := range row {
				txt := colCell
				// cellName e.g. "A1" is needed to get cell hyperlinks.
				cellName, err := excelize.CoordinatesToCellName(k+1, j+1) // this is not 0 based
				if err != nil {
					return nil, fmt.Errorf("failed to get cell name for %d-%d: %w", k+1, j+1, err)
				}
				hasLink, link, err := f.GetCellHyperLink(sheet, cellName)
				if err != nil {
					// log this, it is not worth aborting the whole extraction for
					logger.WithError(err).WithField("cellName", cellName).Warn("failed to get link for cell")
				}
				if hasLink {
					txt = colCell + " " + link
				}
				if _, err := sb.WriteString(txt + " "); err != nil {
					return nil, fmt.Errorf("failed to write string to builder: %w", err)
				}
			}
		}

As I say go's profiling shows the issue is.

This profile was generated using the worst case scenario file that takes 10mins to read
Describe the results you received:
The text is extracted correctly, however it takes ~10minutes
Describe the results you expected:
I would expect it to be faster, even if it were longer than normal, I think under 30s is reasonable
Output of go version:
go version go1.19.4 darwin/amd64

Excelize version or commit ID:
github.com/xuri/excelize/v2 v2.7.0

Environment details (OS, Microsoft Excel™ version, physical, etc.):
This performance is particularly

This issue has been fixed, please try to upgrade master branch code. This patch will be released in the next version.


lint: Replace pycodestyle and pyflakes with ruff

ruff is an extremely fast Python linter written in Rust. It has near-parity with the pycodestyle and pyflakes rules not covered by Black, plus many helpful Flake8 plugins that we should have been using. It supports caching and autofixing. It’s very actively developed with multiple releases per day at this point. It has some limitations with parsing certain Python 3.9–only syntax features due to its LR(1) parser, which might be concerning if it weren’t so actively developed, but I’m confident that will be addressed in time.

Looks great, merged, thanks @andersk!

Also this is just ridiculously fast. I think isort is now our main unreasonably slow python linter.

@charliermarsh FYI, we’re now using ruff in Zulip! Thanks for this really great tool.

@andersk - Wow, amazing! Thank you for all your contributions too! Please feel free to hold a low bar for filing issues, requesting features, etc.

@timabbott - I'm going to start on import sorting soon (https://github.com/charliermarsh/ruff/issues/465). It won't be as flexible as isort, but I'll likely default to profile = "black", so I'm hoping that it will be drop-in compatible for zulip.