500 error after creating previously deleted wiki

I created a new wiki for testing purposes. After testing, I couldn't find how to delete this wiki so I ended up deleting it from my filesystem. This appeared to work. However now,  when trying to create a new wiki a wild 500 error page appears.
Second time creating a wiki page
2015/12/14 00:02:19 [...routers/repo/wiki.go:215 NewWikiPost()] [E] AddWikiPage: UpdateLocalWiki: Pull: exit status 1 - You asked to pull from the remote '--all', but did not specify
a branch. Because this is not the default configured remote
for your current branch, you must specify a branch on the command line.

After the above error this will be shown when you try to access the wiki page.
2015/12/14 00:02:28 [...routers/repo/wiki.go:53 renderWikiPage()] [E] GetBranchCommit: exit status 128 - fatal: 'refs/heads/master' - not a valid ref

Version number:
<IP_ADDRESS>2

I couldn't find how to delete this wiki so I ended up deleting it from my filesystem

This is not acceptable action as you may break internal process of Gogs and didn't clean up all the places.
I suggest you consider change purpose of issue to be ability to delete wiki page and entire data.

Noted :+1:
How could I resolve this however?

Change database table repository filed enable_wiki to false, and delete path/to/gogs/data/tmp/local-wiki

Thanks, much appreciated!

:smiley:

As a reminder - copy from description of Feature request: Delete a page in gogs-wiki:
Feature request / user story:
As a user of gogs (my version is <IP_ADDRESS>7), I would like to delete a page from the gogs-wiki of my repository. I want to be asked by the system if I really want to delete the page, before the page is actually deleted.
Possible way to achieve this:
Provide a remove button next to the already existing buttons "Edit" and "New Page" on the wiki-page the user wants to delete. When this button is pressed a confirmation popup is shown which asks "Do you really want to delete this page?" (yes/no). If yes is chosen the page is deleted and removed from the wiki-repository. If no is chosen the confirmation popup disappears and nothing happens.

Erase entire wiki data is now working both on develop branch and https://try.gogs.io/, please help test!

OK, you should be able to test it on develop branch or https://try.gogs.io

Close as implemented.

Thanks! Awesome @Unknwon

Works fine since pages can now be deleted from git by removing the .md file and committing this change. Unfortunately, there is still no direct button in the Wiki-GUI which triggers the removal of the corresponding wiki page.


Postmortem 2016/05/16

Current status: master.hacken.in and hacken.in are back online.
We had an outage on 2016/05/16. This was probably caused by a server reboot of our host. To fix this I had to poke with a rusty stick into the master branch, sorry for that.

For some reason, Postgres was not reachable. This was fixed with a svc -du service/postgresql.
Production and Master always have to run on the same Ruby version. Otherwise it can cause problems when the server is restarted 😉 This is of course not possible...
I had to rm hacken-in-master/current/tmp/pids/unicorn.pid
The master branch was halfway through to a transition to new infrastructure scripting. This caused some headache, but now the transition is complete for master and production ^^
The ruby version is still in two places ^^

I had to deactivate the server restarting in order to get this to work. I think this will happen every time we want to initially start the server after the host has been restarted.

I guess I have to drink a cup of coffee with @bascht and find out how we can improve the setup.

The infratstructure is rock solid now: We survived a deployment! Therefore I declare us webscale and close this ticket until it occurs again.


Duplicated provider without any configuration

Do you want to request a feature or report a bug?
I would say more a mis-behavior
What is the current behavior?
I was doing some testing with Arweave, in my config I have a single provider defined, but it seems graph-node is actually auto duplicating it to become like 20 providers, all with the same endpoint:
Jan 27 13:12:41.566 DEBG Cleaning up large notifications after about 300s, channel: chain_head_updates, component: ChainHeadUpdateListener > NotificationListener
Jan 27 13:12:41.714 INFO Connecting to Firehose to get chain identifier, provider: arweave-mainnet-0, provider: arweave-mainnet-0
Jan 27 13:12:41.714 INFO Requesting genesis block from firehose, provider: arweave-mainnet-0
Jan 27 13:12:41.715 DEBG Connecting to firehose to retrieve block for number 0, provider: arweave-mainnet-0
Jan 27 13:12:41.715 INFO Connecting to Firehose to get chain identifier, provider: arweave-mainnet-1, provider: arweave-mainnet-1
Jan 27 13:12:41.715 INFO Requesting genesis block from firehose, provider: arweave-mainnet-1
Jan 27 13:12:41.715 DEBG Connecting to firehose to retrieve block for number 0, provider: arweave-mainnet-1
...
Jan 27 13:12:41.717 DEBG Connecting to firehose to retrieve block for number 0, provider: arweave-mainnet-19
Jan 27 13:12:42.088 DEBG Retrieving block(s) from firehose, provider: arweave-mainnet-14
...
Jan 27 13:12:42.308 DEBG Retrieving block(s) from firehose, provider: arweave-mainnet-8
Jan 27 13:12:42.550 INFO Connected to Firehose, genesis_block: #900000 (d750464ec1fb149c031a4ed76a1b3bfc324f800b5b5ad2b66ade5906e8520ecd95e351a8b2fa1c673f83f0594775dabb), provider: arweave-mainnet-14, provider: arweave-mainnet-14
...
Jan 27 13:12:42.879 INFO Connected to Firehose, genesis_block: #900000 (d750464ec1fb149c031a4ed76a1b3bfc324f800b5b5ad2b66ade5906e8520ecd95e351a8b2fa1c673f83f0594775dabb), provider: arweave-mainnet-6, provider: arweave-mainnet-6

What is the expected behavior?
It seems really weird to see from an “operator” perspective, I imagine this is to properly to the load balancing and handling more than 100 streams which is a current limit.
However, it feels pretty weird, I would imagine there is a better way to implement to avoid "artificially" creating new provider out of the configured one. We should maybe even think about updating tonic library if we need to add feature to better to the load balancing.

It should be configurable, by default we should scale to 1
We should investigate how to convert that to a different way to perform the load balancing
We should definitely avoid connecting to each of the "artificial" one, they all point to the same endpoint, so there should all return the same thing for the genesis block (don't bother about the 900000 value, it's a limitation of our endpoint)

This burst of connections (multiplied by the scale) seems to cause more trouble: firehose server will trigger its rate-limiting mechanism when receiving a large burst of connection with status: Unavailable, expecting the client to back-off and retry, but the graph-node client then detects the whole provider as "broken", ignoring the chain.
DEBG Retrieving block(s) from firehose, provider: firehose-mainnet
ERRO Connection to provider failed. Not using this provider, error: firehose error status: Unavailable, message: "rate limit exceeded", details: [], metadata: MetadataMap { headers: {} }, provider: firehose-mainnet
ERRO No non-broken providers available for chain mainnet; ignoring this chain

I'm running into this issue as well. I did a bit of digging and found that we instantiate the connections here and it's based on this default config.
I haven't been able to find clear documentation on why/when the conn_pool_size should be changed. Are there docs on how graph node behaves when the pool size for a firehose provider is too low? What intuition/metrics should indexers use to properly configure this config value for firehose providers?
Seems like this might be related to https://github.com/graphprotocol/graph-node/issues/3879?

@paymog The rule of thumb is 1 connection per 100 subgraphs using the provider. So in most situations conn_pool_size can be set a lot lower than the default of 20.

I think https://github.com/graphprotocol/graph-node/pull/4778 fixed this.


Enhancement: Run Clams Locally

Add documentation on how to:

Install and setup Polar
Run the Clams app locally on your computer
Connect desktop Clams to Polar
Connect mobile Clams to Polar
Send payments between the two devices

Current instructions are in this PR


Max distance from site

max distance from site should change depending on different parameters such as vegetative cover, elevation, aspect, etc...

Could we create a raster file for slope angle and aspect using 3dep or national map?

Is there a DEM available for the region? We can easily create slope angle and aspect from a DEM

Sites were selected base on a 5 km buffer, but further filtering can be done on analysis to only include snowex measurements within the buffer


Authentication: Verification Sucessful:UI

Develop the verification successful page UI appropriately
Ensure they are responsive and follow the responsive design on the figma
Implement images properly
Follow the color guide and the appropriate colors

would love to get on this soon as =I get edit access on figma

@scarnation are you working on this?

If you want to proceed working on this then that would be great, since I am currently working on the ux with the designers and would just get back on the Frontend when I am done with my design tasks then. Might just share the components to you if you need them. I tested a modal on another screen earlier but didn't push so just proceed then

Alright ✅
Let me take it


Add stream preference to request a persistent stream session and implement this in WASAPI.

Like #594 but as an optional thing.
This adds a stream preference flag to request a persistent audio session, so that volume and mute settings remain the same even after closing and reopening a program on Windows.
See https://docs.microsoft.com/en-us/windows/win32/coreaudio/audclnt-streamflags-xxx-constants for details.

It seems like this doesn't do anything. Is that your experience as well? I assume you see a change when passing the flag or not passing the flag, otherwise you wouldn't have sent a patch, but I'm trying with Firefox, and we're passing this flag, and the volume I set in App volume and device preferences is kept when restarting Firefox.

It seems like this doesn't do anything. Is that your experience as well? I assume you see a change when passing the flag or not passing the flag, otherwise you wouldn't have sent a patch, but I'm trying with Firefox, and we're passing this flag, and the volume I set in App volume and device preferences is kept when restarting Firefox.

Having or not this flag worked as expected when I tried it on dolphin, though it might not be supported on some kind of WASAPI sessions? Also make sure the Firefox process was completely closed.

I'll test harder, thanks for confirming quickly. I'm pretty sure it was closed completely, it was a restart because of a Nightly build update. We do things related to WASAPI sessions, that must be it, i'll try with and without.

Yeah I remember testing this via Dolphin when I made the PR and the behavior was what I expected: Without the CUBEB_STREAM_PREF_PERSIST flag, which internally sets the WASAPI AUDCLNT_STREAMFLAGS_NOPERSIST flag, the volume settings would reset every time I closed and reopened Dolphin. With the cubeb flag, which clears the WASAPI one, it was kept.
I'll rebase and retest this, just to be sure.

Yeah, still behaves like this. CUBEB_STREAM_PREF_NONE resets the volume every time, CUBEB_STREAM_PREF_PERSIST keeps it between runs.
I'll also note that apparently cubeb currently doesn't compile with /std:c++latest (see here), had to switch to c++17 which worked fine.

Oh and for reference, this is how we initialize cubeb: https://github.com/dolphin-emu/dolphin/blob/master/Source/Core/AudioCommon/CubebStream.cpp

Thanks for rebasing on top of my recent changes.

Oh and for reference, this is how we initialize cubeb:
https://github.com/dolphin-emu/dolphin/blob/master/Source/Core/AudioCommon/CubebUtils.cpp#L66
https://github.com/dolphin-emu/dolphin/blob/master/Source/Core/AudioCommon/CubebStream.cpp#L36

I assume you don't have a control over the sampling-rate, that is dictated by the environment? On Android it can make quite a difference, but I don't know if Dolphin runs or is often used there. On other platforms, we resample (either ourselves or via OS facilities), but on Android, it's critical to use the native rate to get a latency and scheduler fast-path.


error: failed to materialize conversion for result #0 of operation 'arith.constant' that remained live after conversion

What happened?
/tmp/repro.mlir:2:3: error: failed to materialize conversion for result #0 of operation 'arith.constant' that remained live after conversion
  func.func @forward(%arg0: tensor<?x?x?xf32>) -> tensor<?x4x7xf32> {
  ^
/tmp/repro.mlir:2:3: note: see current operation: %17 = "arith.constant"() {value = 0 : index} : () -> index
/tmp/repro.mlir:30:11: note: see existing live user here: %141:3 = "flow.dispatch.default_workgroup_count"(%17, %77, %81) : (index, index, index) -> (index, index, index)
    %22 = tensor.insert_slice %14 into %21[0, 0, 0] [%17, %18, %19] [1, 1, 1] : tensor<?x?x?xf32> into tensor<?x?x?xf32>

Full error log: https://gist.github.com/silvasean/27f5a847ae58028020aec5d7904f3e73
Steps to reproduce your issue
iree-compile --iree-hal-target-backends=dylib /tmp/repro.mlir

module attributes {torch.debug_module_name = "SliceStartEqEndModule"} {
  func.func @forward(%arg0: tensor<?x?x?xf32>) -> tensor<?x4x7xf32> {
    %c0 = arith.constant 0 : index
    %c2 = arith.constant 2 : index
    %cst = arith.constant 1.000000e+00 : f32
    %c5_i64 = arith.constant 5 : i64
    %c1 = arith.constant 1 : index
    %0 = tensor.dim %arg0, %c0 : tensor<?x?x?xf32>
    %1 = arith.index_cast %0 : index to i64
    %2 = arith.cmpi sgt, %c5_i64, %1 : i64
    %3 = arith.select %2, %1, %c5_i64 : i64
    %4 = arith.index_cast %3 : i64 to index
    %5 = tensor.dim %arg0, %c1 : tensor<?x?x?xf32>
    %6 = tensor.dim %arg0, %c2 : tensor<?x?x?xf32>
    %7 = tensor.extract_slice %arg0[%4, 0, 0] [0, %5, %6] [1, 1, 1] : tensor<?x?x?xf32> to tensor<0x?x?xf32>
    %8 = arith.cmpi sge, %5, %c0 : index
    %9 = arith.select %8, %5, %c0 : index
    %10 = tensor.extract_slice %7[0, 0, 0] [0, %9, %6] [1, 1, 1] : tensor<0x?x?xf32> to tensor<0x?x?xf32>
    %11 = arith.cmpi sge, %6, %c0 : index
    %12 = arith.select %11, %6, %c0 : index
    %13 = tensor.extract_slice %10[0, 0, 0] [0, %9, %12] [1, 1, 1] : tensor<0x?x?xf32> to tensor<0x?x?xf32>
    %14 = tensor.cast %13 : tensor<0x?x?xf32> to tensor<?x?x?xf32>
    %15 = linalg.init_tensor [1, 4, 7] : tensor<1x4x7xf32>
    %16 = linalg.fill ins(%cst : f32) outs(%15 : tensor<1x4x7xf32>) -> tensor<1x4x7xf32>
    %17 = tensor.dim %14, %c0 : tensor<?x?x?xf32>
    %18 = tensor.dim %14, %c1 : tensor<?x?x?xf32>
    %19 = tensor.dim %14, %c2 : tensor<?x?x?xf32>
    %20 = arith.addi %17, %c1 : index
    %21 = linalg.init_tensor [%20, %18, %19] : tensor<?x?x?xf32>
    %22 = tensor.insert_slice %14 into %21[0, 0, 0] [%17, %18, %19] [1, 1, 1] : tensor<?x?x?xf32> into tensor<?x?x?xf32>
    %23 = tensor.insert_slice %16 into %22[%17, 0, 0] [1, 4, 7] [1, 1, 1] : tensor<1x4x7xf32> into tensor<?x?x?xf32>
    %24 = tensor.cast %23 : tensor<?x?x?xf32> to tensor<?x4x7xf32>
    return %24 : tensor<?x4x7xf32>
  }
}

What component(s) does this issue relate to?
Compiler
Version information
ca51bc61ab5a921b4150faf64422e4f92b2325cb
Additional context
No response

@silvasean again this is having a tensor<0x?x?xf32> .... Is that intended?

Yes, the test specifically checks a slice with the start and end being equal.
class SliceStartEqEndModule(torch.nn.Module):
    def __init__(self):
        super().__init__()

    @export
    @annotate_args([
        None,
        ([-1, -1, -1], torch.float32, True),
    ])
    def forward(self, x):
        # TODO: remove hacky cat tensor once refbackend supports 0 size dim
        result = x[5:5, :, :]
        cat_tensor = torch.ones((1,4,7), dtype=torch.float32)
        return torch.cat((result, cat_tensor), dim=0)

@register_test_case(module_factory=lambda: SliceStartEqEndModule())
def SliceStartEqEndModule_basic(module, tu: TestUtils):
    module.forward(tu.rand(6,4,7))

The comment there about 0 size dimensions is purely related to the calling convention -- the refbackend does the calculation just fine. The refbackend just lowers to loops and bufferizes.

I have a fix for this, but there is a need to fix this earlier. Such no-ops need to be pruned way ahead of time.
@jpienaar we probably need a pass in Flow that can DCE such operations with zero-dim tensors. I cant think this on right now, but this should be an easy one. @okkwon does this sound like something you want to pick up?

The previous proposal was a pass to convert to these to linalg.init ops I believe, or can we just DCE?

The previous proposal was a pass to convert to these to linalg.init ops I believe, or can we just DCE?

We should ideally just DCE them. I think linalg.init_tensor was a way to break dependency chains.

Yeah DCE is always better, though we'll still need to support getting the empty tensors to flow.tensor.empty for when they are are live (returned from the program/stored into globals). linalg.init_tensor should already end up there thanks to Mahesh's InitializeEmptyTensorsPass so we just need to make those.


Hide audio track progress bar duration time

How can I hide the track duration time initially? Since the current time 0:00 isn't displayed initially, it makes sense to hide the track duration time as well. When play is invoked current time, progress and duration should be displayed.

I will look into it. Unfortunately I don't have time now, so you could try modify or override the progress bar directive template to hide duration.
You could use a decorator to override the directive, or simply modify it's template.

Ok thanks for the reply!


Feature:

🔖 Feature description
Allow approves of an image to deploy by adding a global variable
🎤 Pitch
Currently the approvers of an image are not able to deploy that image
✌ Solution
Allow approves of an image to deploy by adding a global variable both in backend and frontend
🔄 Alternative
NA
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

AB#5400

Potential duplicates:

[#3855] Feature: Crossplane (55%)

Potential duplicates:

[#3855] Feature: Crossplane (55%)

Potential duplicates:

[#3855] Feature: Crossplane (55%)


some problems for load cpkt

when i load pretrain cpkt "synface_pretrain.pth" and gan_cpkt_cpkt "..config-e.pt" for synface , meet problem. how can i handle ,thanks

Maybe the vritual env you configured is not compatible to the repo, i configured nvidia470--cuda9--torch1.1: failed ; i also configured nvidia470--cuda11.1--torch1.2: failed. So I decide to configure it on COLAB and iT successed.


Time series regression with temporal sample weights

Hi,
I'm trying to fit a model to a set of time series X with shape (100, 40, 2) to an output y (100, ) with sample weights (100, 40) - note that the output is a floating value and not a class label so this is regression not classification:
model_input = Input(shape = (X.shape[1], X.shape[-1]))
encode = LSTM(model_input, size = 48)(model_input) # this is not the issue
out = Dense(48, activation = 'relu')(encode)
out_y = Dense(1, activation = 'linear')(out)
model = Model(model_input, out_y)
model.compile(optimizer = 'Adam', loss = 'mse', sample_weight_mode = 'temporal')
model.fit(X, y, sample_weight = sample_weight)
then gives:
ValueError: Found a sample_weight array for an input with shape (100, 1). Timestep-wise sample weighting (use of sample_weight_mode="temporal") is restricted to outputs that are at least 3D, i.e. that have a time dimension.
I've tried forcing y to be: y.reshape(1, len(y)) which then gives:
ValueError: Error when checking target: expected lt to have shape (1,) but got array with shape (100,)
I'm using Keras 2.2.4 and Tensorflow 1.11.0 on a Mac (10.12.6) with Python 3.6.4.
-- Matthew

In future please open StackOverflow questions - this place is not an appropriate place for implementation questions.
You are misunderstanding what sample weight does:
It weights outputs (specifically their losses) not inputs. So when you say sample weights have shape (100,40) they are actually supposed to be (100,1) since you are using sample_weight_mode = 'temporal' and would be (100,) if you didn't use it.

My understanding is that sample_weight contains weights that are applied to the model's loss for each sample and in the case of time series, a 2D array with shape (samples, sequence_length) will apply a different weight to every timestep of every sample. This means that (100, 40) is the appropriate shape here since there are 100 time series, each of length 40 time steps.

This is correct but there is a minor nitpick which might make it clearer:
"will apply a different weight to every timestep of every sample" is supposed to be "will apply a different weight to every output timestep of every sample". As it currently stands your NN has output shape of (batch_size,) so there isn't any timesteps to apply the sample weights to. If you are trying to make a prediction for every timestep you input the networks should look like this:
model_input = Input(shape = (X.shape[1], X.shape[-1]))
encode = LSTM(model_input, size = 48,return_sequences=True)(model_input) # this is not the issue
out = TimeDistributed(Dense(48, activation = 'relu'))(encode)
out_y = TimeDistributed(Dense(1, activation = 'linear'))(out)
model = Model(model_input, out_y)

Notice the return_sequences=True flag on LSTM which causes it to output a value per each timestep rather than just the final state.
Now your output will actually have shape (batch_size,40,1,) (make sure to repeat your target variable to appropriate size) and you can use sample_weights they way you are describing.

Thanks - however, I am specifically not trying to predict the timeseries (which is what all RNN examples seem to show) but perform regression from the time series to (model) values associated with them.

On Oct 8, 2018, at 1:55 PM, Tim Rosenflanz<EMAIL_ADDRESS>wrote:
This is correct but there is a minor nitpick which might make it clearer:
"will apply a different weight to every timestep of every sample" is supposed to be "will apply a different weight to every output timestep of every sample". As it currently stands your NN has output shape of (batch_size,) so there isn't any timesteps to apply the sample weights to. If you are trying to make a prediction for every timestep you input the networks should look like this:
model_input = Input(shape = (X.shape[1], X.shape[-1]))
encode = LSTM(model_input, size = 48,return_sequences=True)(model_input) # this is not the issue
out = TimeDistributed(Dense(48, activation = 'relu'))(encode)
out_y = TimeDistributed(Dense(1, activation = 'linear'))(out)
model = Model(model_input, out_y)
Notice the return_sequences=True flag on LSTM which causes it to output a value per each timestep rather than just the final state.
Now your output will actually have shape (batch_size,40,1,) (make sure to repeat your target variable to appropriate size) and you can use sample_weights they way you are describing.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/keras-team/keras/issues/11324#issuecomment-427975305, or mute the thread https://github.com/notifications/unsubscribe-auth/ADFwiOgOB4dbmiMhRtoh4mnpYavGYWgaks5ui7uqgaJpZM4XMdL3.

So your output is supposed to be just 1 value per sample? Then you have no output timesteps to weight since each output is just 1 value. If not, would you mind writing just a simple description with mock numbers of how you see this working. For instance this is what I feel like you are describing currently:
1. Based on sequence 1 2 3 4 5     i.e. shape (1,5,1)
2. I want to predict 6                       i.e. shape (1,)
3. My predicted value is 6.6           i.e. shape (1,)
4. Thus my loss .36 (mse)              i.e. shape (1,)
5. I want to weight .36 by (1,5)  (how? shape mismatch)

I am probably off of course, just trying to understand what you are trying to achieve.

@doccosmos how do you compute the sample weight with that shape of (100,40).I am using train_on_batch and test_on_batch, I want to calculate sample_weight for every batch


I built a site with Eleventy!

Project to build a design sstem with 11ty

Hmm, I think this file will need the JSON file extension

Sorry, I missed it

Thanks!


[DATE-PICKER] Re-selecting a date causes a styling issue

Hi,
When selecting a date picker for the first time, it shows up correctly as you would expect like so;

However, after re-selecting it (solely just clicking another date) it turns into weird random rounded date entries

.

Hey @zoltanszogyenyi, is there an update on this?
I am so excited and ready to make the switch but this is the only thing preventing me from bringing it up to the team. Thanks for any information!

Hey @marchershey,
We'll look into it for the v1.4.0 update along with the release of new components, such as the carousel and spinner (loader) elements.
You can also join our Discord Server for chit-chat.

Hey @heychazza,
Fixed this issue in v1.4.6.
https://flowbite.com/docs/plugins/datepicker/#date-range-picker


Site Permissions Settings

Task/Issue URL: https://app.asana.com/0/0/1202399817058486/f
Description
Replace Location Settings screen with brand new Site Permissions screen where users will be able to manage microphone, camera and location permissions when sites request it.
Steps to test this PR
Disable ask for permission

Install from branch
Go to Settings > Site Permissions
Disable any permission (mic / camera / location)
Go back to browser
[ ] Check you are not asked for the disabled permission

Websites list

Install from branch
Allow mic or camera permissions for any website
Go to Settings > Site Permissions
[ ] Check website has been added to websites list

Permissions per site

Install from branch
Go to Settings > Site Permissions
Tap on a website in "Manage Sites" list
[ ] Check all permission settings are correct
[ ] If main permission is disabled to ask -> setting should be set to "Deny"

Change site permission setting

Install from branch
Go to Settings > Site Permissions
Tap on a website in "Manage Sites" list
Tap on any permission to change the setting
[ ] Check setting has been changed successfully

Remove Site Permissions

Install from branch
Go to Settings > Site Permissions
Tap on a website in "Manage Sites" list
Tap on toolbar menu > Remove
[ ] Check website permissions have been removed

Remove All Site Permissions

Install from branch
Go to Settings > Site Permissions
Tap on overflow menu in "Manage Sites" title
Select "Remove All"
[ ] Check all sites permissions have been removed

Clear Site Permissions Data when Fire button is selected

Install from branch
Make sure you have some site permissions saved
Tap Fire button
[ ] Check Site Permissions have been cleared

UI changes

Before
After

Current dependencies on/for this PR:

feature/noelia/site_permissions_launcher

PR #2165

PR #2182   👈

This comment was auto-generated by Graphite.

Current dependencies on/for this PR:

feature/noelia/site_permissions_launcher

PR #2165

PR #2182   👈

PR #2265

This comment was auto-generated by Graphite.

Current dependencies on/for this PR:

feature/noelia/site_permissions_launcher

PR #2165

PR #2182   👈

PR #2265

This comment was auto-generated by Graphite.


reporting to multiple applications not working

We successfully are using newrelic with HHVM (thx for the tutorial btw!)
But, it always reports to only one 'Application' in Newrelic (the one that is set in server.hdf | ini)
We're using nginx, and per Virtualhost setting fastcgi_param application.name does not work. Nor does using the newrelic API in PHP-Code (newrelic_set_appname())
Is this just not implemented or are we doing something wrong?

not implement yet, will look into it hopefully soon

Just asked the New Relic people. It's currently not possible to change the App Name, after the Agent SDK started. But the added it to their "Feature Request" list.
Your only solution currently would be to start an HHVM server for each virtualhost.

Hi Chregu.
Thank you very much for checking, thats a pitty though.
I guess we will wait until this is natively possible, as hhvm is massively growing in the community i guess its just a matter of time.
Regards, the Pingen Team

+1 on this!


Some environment variables are not passed to elasticsearch

Hi,
Bug Description
Some env variable are not passed to Elasticsearch. For example, if I run:
$ docker run -it -p 9300:9200 \n
    -e "thread_pool.bulk.queue_size=500" \n
    -e "cluster.name=hey" \n
    -e "http.host=<IP_ADDRESS>" \n
    -e "transport.host=<IP_ADDRESS>" \n
    docker.elastic.co/elasticsearch/elasticsearch:5.4.1

the variable thread_pool.bulk.queue_size is not set to 500 while cluster.name is correctly set to "hey".
$ curl -s 'localhost:9300/_cluster/health?pretty'
{
  "cluster_name" : "hey",
  "status" : "yellow",
  "timed_out" : false,
  "number_of_nodes" : 1,
  "number_of_data_nodes" : 1,
  "active_primary_shards" : 3,
  "active_shards" : 3,
  "relocating_shards" : 0,
  "initializing_shards" : 0,
  "unassigned_shards" : 3,
  "delayed_unassigned_shards" : 0,
  "number_of_pending_tasks" : 0,
  "number_of_in_flight_fetch" : 0,
  "task_max_waiting_in_queue_millis" : 0,
  "active_shards_percent_as_number" : 50.0
}

$  $ curl -s 'localhost:9300/_cat/thread_pool/bulk?v&h=queue_size'
queue_size
       200

Do I miss something?
Without digging deeper, it seems to me that https://github.com/elastic/elasticsearch-docker/blob/master/build/elasticsearch/bin/es-docker#L16 may not match variable with an '_' in their name.
Benoît

Thanks for raising this! I think you found the issue here, the character class in https://github.com/elastic/elasticsearch-docker/blob/master/build/elasticsearch/bin/es-docker#L16 won't permit/pass an underscope character in those env vars.
I will adjust, add a test case for this and backport as required.

Great.
What about versioning? Will you republish a docker.elastic.co/elasticsearch/elasticsearch:5.4.1 ?

@bquartier Sure thing. Expect one today, soonish, will update here.

Backported to 5.4.1/5.4.0 and 5.3.3.

Nice, thank you for your this correction, that was fast!


Check type of callback before executing

With reference to https://github.com/sendgrid/sendgrid-nodejs/blob/master/packages/mail/src/mail.js#L105
This may not be a real issue, but i was wondering if a check can be made to ensure that the type of callback is a function and only then execute it, due to the dynamic nature of JS if an object is passed, it break the entire client. Just a suggestion to add
      if (cb && typeof cb === 'function') {
        cb(error, null);
      }

Comments welcome here.

@thinkingserious  your views here.. :)

Hi @nitish24p,
That seems like a good idea to me.
What do you think @adamreisnz?
With Best Regards,
Elmer

@thinkingserious If @adamreisnz also feels its a good idea i can make a PR. Do let me know :)

@thinkingserious @nitish24p You are not expected to pass in any other type of variables for the callback, and if you do, it will throw an error so that you know something is wrong. If we add in the check, this would now silently fail and you might not know what is going on.
However, we can throw a specific error to notify the user, for example by adding in something like this here https://github.com/sendgrid/sendgrid-nodejs/blob/master/packages/mail/src/mail.js#L53:
if (cb && typeof cb !== 'function') {
  throw new Error('Callback passed is not a function');
}

If you could create a PR for that that'd be great 👍

Cool will do. This to be done at all places where there are callbacks? Or only specific files..

I don't think there's too many places, most internal logic uses promises, it's only the external facing API that has callback support for backwards-ish compatibility.

Cool.. also do i need to update test cases.. for code coverage?

Yep that'd be good. We're at or near 100% coverage now, so would be nice to keep it up. It'd be a simple test passing an invalid callback and making sure an error is thrown 👍

Cool

Umm i was wondering what if the below line
if (cb && typeof cb !== 'function') {
  throw new Error('Callback passed is not a function');
}

could be added to
https://github.com/sendgrid/sendgrid-nodejs/blob/master/packages/client/src/client.js#L131
as this is the center point for all callbacks being executed?

Seems sensible!


Bring back JDK 11 on vs2017-win2016 version

Tool information

Tool name: Azure JDK
Add or update? "bring back"
Desired version: version 11
C:\Program Files\Java\zulu-11-azure-jdk_11.33.15-11.0.4-win_x64

Area for Triage:
Java
Question, Bug, or Feature?:
Feature
Virtual environments affected

[ ] macOS 10.15
[ ] Ubuntu 16.04 LTS
[ ] Ubuntu 18.04 LTS
[ X] Windows Server 2016 R2
[ ] Windows Server 2019

Hi,
Can you please bring back JDK 11 on win2016-vs2017 hosted image please ? It has broke our pipeline, and this will remain consistent with the version currently available on windows-latest image.
Thanks in advance.

@mickael-caro-sonarsource , thank you for your report. It is not expected because we didn't remove it from the images.
At the first look, it seems that Java 11 is still installed but $env:JAVA_HOME_11_X64 variable points to C:\Program Files\Java\zulu-13-azure-jdk_13.31.11-13.0.3-win_x64
We are looking at it

This issue was caused by #795 PR. We are preparing the fix and will rollout it early next week.
As a workaround, you can use full path to point to Java C:\Program Files\zulu-11-azure-jdk_11.33.15-11.0.4-win_x64 or add Java Tool Installer task / setup-java

Thanks for your prompt reply ! I'll try to test the workaround.

Same bug is happening on windows-2019 too. Just want to make sure its fixed there as well.

@ThadHouse yeah, the installation script is the same for both Windows version. We're going to start image deployment with the fix today.

@ThadHouse @mickael-caro-sonarsource both win19 and win16 images have been deployed. Java11 is on its place 😀I'm closing the issue, but feel free to ping me if you have any concerns.


Checklist orderBy checked items

Hey!
Wondering how to go about to orderBy the editableChecklist so that checked items are at the top of the list?
Note: I have added a search field as we have really long lists :+1:
Here is a fiddle for it:
http://jsfiddle.net/NfPcH/4765/

Take a look at this - http://stackoverflow.com/questions/39244079/how-to-order-checked-checkbox-at-the-top-of-the-list-in-angularjs


Write issue metrics to a new Discussion instead of a new Issue

See: https://github.com/nsidc/earthaccess/pull/587#discussion_r1626774207
cc @jhkennedy

Resolved by #841


XML documentation and IntelliSense

Hi @ar1st0crat
If we install NWaves from Nuget, XML documentation/comments are not available with IntelliSense. I think adding <GenerateDocumentationFile>true</GenerateDocumentationFile> tag in the .csproj file would be really helpful :)

Hi @luthfiampas
Yes, definitely. I didn't even notice this (I thought this feature was activated by default )))
Thanks for the suggestion


Push-based monitoring

Describe the feature request
First, thanks for gatus, a very useful tool!
Is it possible to add push-based monitoring, where external services can report to gatus that they are up ?
Example of such feature are uptime-kuma push, and healthchecks.io.
It could be : services would call an exposed gatus URL (with a specific <id> set in the config file) which would record the time of last access. Then the periodic monitoring function would set the monitoring "unhealthy"  if the heartbeat was missed in the last interval.
Why do you personally want this feature to be implemented?
This will allow for monitoring the absence of events, eg use at the end of a periodic backup script, to be be able to monitor that the backup has not happened.
How long have you been using this project?
3 months
Additional information
I looked at #229 : the title "Expose an API for external applications to push statuses" seems to be similar to the above request, but the description is about something else (API to add/modify/delete endpoints).

thats exactly what i am missing too

Superseded by #722
Your request has been heard. I also have been wanting this feature for a long time, I've just been burning out unbeknownst to me, for too long.


[PE-D][Tester A] No error message showing when trying to edit person with no tags

Describe the bug
When trying to edit a person with no tags, although the index of tag to be edited is specified in the edit command, the system is not showing any error message but still shows that the tag is edited successfully.
To Reproduce
first delete one person's tags by typing /edit 240002 :tag -1 and then type  /edit 240002 :tag 1 boss; after that, press Enter in the command box
Expected behavior
Expected to show an error message about the index out of range
Screenshots

Labels: severity.Medium type.FeatureFlaw
original: fy17ohhh/ped#9

This is a valid issue


[BUG] TypeScript issue with parsedInput in useAction Hook

Are you using the latest version of this library?

[X] I verified that the issue exists in the latest next-safe-action release

Is there an existing issue for this?

[X] I have searched the existing issues and found nothing that matches

Describe the bug
Hi, I encountered a TypeScript error. The type for my object, which I am validating using zod, is always any.
Reproduction steps
My action with zod:
"use server";
import { createSafeActionClient } from "next-safe-action";
import { z } from "zod";
import { db } from "~/server/db";
import { feedbacks } from "~/server/db/schema";

const action = createSafeActionClient();

const createFeedbackSchema = z.object({
  message: z
    .string()
    .min(10, {
      message: "Message must be at least 10 characters.",
    })
    .max(256, {
      message: "Message must not be longer than 256 characters.",
    }),
});

export const myCallback = action
  .schema(createFeedbackSchema)
  .action(async ({ parsedInput: { message } }) => {
    await db.insert(feedbacks).values({ message, userId: "user-id" });

    return {
      message: "Thank you! Your message has been sent.",
    };
  });

parsedInput is of type any:

The same issue occurs in the component where I use the useAction hook:

Expected behavior
My type for parsedInput should be:
 interface Input {
    message: string;
  }

Minimal reproduction example
See reproduction steps
Operating System
macOs
Library version
7.0.2
Next.js version
14.2.1
Additional context
No response

Need a link to a repo with a minimal reproduction example, thanks.

Hi, I'm running into the same issue on Windows.
Here is a minimal reproduction example

was having the same issue - check VS code is using your workspace typescript version not the editors - that fixed it for me

@vidforstner thanks for the link. However, I can't reproduce the issue:

As @coreybain already said, this could be caused by a TypeScript version mismatch, see:

#170

Strange, I also have some typescript issues, but related to destructuring the result of an action

@laurent512 is this the same issue as #175?

@hadrysm If this is related to TS 5.5.2 can we close this issue in favor of this other one?

#180

https://next-safe-action.dev/docs/troubleshooting#schema-and-parsedinput-are-typed-any-broken-types-and-build-issues


Creating incorrect profilenames in .aws/credentials and .okta/profiles

Hello,
looks like either the documentation or the tool is wrong, when I do for example the following I don't get a profile called "test", but called the AWS command I used :-) :
ubuntu:/.okta$ withokta test s3 ls
Username: U48xxx
Password:
Auto select role as only one is available : arn:aws:iam::08646965xxxx:role/xxx-federated
ubuntu:/.okta$ cat profiles
[s3]
source_profile = s3
okta_roleArn = arn:aws:iam::08646965xxx:role/xxx-federated
profile_expiry = 2018-10-09T11:55:46.026551Z
ubuntu:/.okta$ cat ../.aws/credentials
[default]
aws_access_key_id = xxxx
aws_secret_access_key = xxxx
[s3]
aws_access_key_id = xxxx
aws_secret_access_key = xxxx
aws_session_token = xxxx
ubuntu:/.okta$ aws s3 --profile s3 ls
2018-07-04 01:26:18 xxxxx
2018-07-02 11:57:13 xxxxx
[...]
Am I misunderstanding the syntax?
Thanks!

@ohuk2 are you using the withokta script in bin? That won't set the OKTA_PROFILE environment. The installer scripts will give you better results.
Try running the installer script for your platform and then try this:
okta-aws test s3 ls

It should create a profile named test in ~/.aws/credentials and then run aws --profile test s3 ls.

Thanks Alain yes I installed it as:
27  curl 'https://raw.githubusercontent.com/oktadeveloper/okta-aws-cli-assume-role/master/bin/install.sh' | sudo bash
which installed "withokta" in /usr/local/bin.
I did a "source .okta/bash_functions"  and tried as you said above and then it went OK. Might want to mention it in the doc :-) .
Thanks again :-) !


remove redundant public

Fix compilation error in Xcode 10.2 as because of redundant public on func and extension

Hey Igor, thanks for the contribution! Would you mind also updating the bin/generate script as this file is dynamically generated?

@tkohout let me check

@tkohout It would be cool if you can review this and merge with new version, if it is fine
Thanks

Thanks for the contribution! I am closing this in favour of https://github.com/Swinject/SwinjectAutoregistration/pull/46 and Release 2.6.0


Make an ouija-archives channel

Rather than pinning the message to a channel, which limits the number of archived messages to 50, send the output to an archives channel.
I'm not sure how I feel about this, but the current situation with a 50 pin limit sucks 🤔

Yeah, a #ouija-board (a la #starboard :stuck_out_tongue_winking_eye:) is definitely the right solution here, and is exactly why things like pins aren't used for starboards. It's the only viable solution, and should be configurable.
I might suggest adding a table too - it would enable some fun things like recalling/quoting past readings into context of a conversation. If I'm reading the commit log right, you've switched to postgres - you could take advantage of its array column types to insert an array of participant IDs of whoever took part in reading a particular message.


[bug] Crash Mobile on TauriActivity.create()

Describe the bug
successfully compiling for mobile aarch_64, but once run, it crashed.
successfully working on linux_x86_64_gnu
Reproduction
No response
Expected behavior
don't crash and run the application
Platform and versions
Environment
  › OS: Arch Linux Rolling Release X64
  › Node.js: 16.19.0
  › npm: 9.1.2
  › pnpm: Not installed!
  › yarn: 1.22.19
  › rustup: 1.25.2
  › rustc: 1.67.0
  › cargo: 1.67.0
  › Rust toolchain: stable-x86_64-unknown-linux-gnu

Packages
  › @tauri-apps/cli [NPM]: 2.0.0-alpha.2
  › @tauri-apps/api [NPM]: Not installed!
  › tauri [RUST]: 2.0.0-alpha.3,
  › tauri-build [RUST]: 2.0.0-alpha.1,
  › tao [RUST]: 0.17.0,
  › wry [RUST]: 0.26.0,

Stack trace
2-10 05:32:19.838 24275 24275 E com.tauri.api: No implementation found for void com.tauri.api.TauriActivity.create(com.tauri.api.TauriActivity) (tried Java_com_tauri_api_TauriActivity_create and Java_com_tauri_api_TauriActivity_create__Lcom_tauri_api_TauriActivity_2)
--------- beginning of crash
02-10 05:32:19.839 24275 24275 E AndroidRuntime: FATAL EXCEPTION: main
02-10 05:32:19.839 24275 24275 E AndroidRuntime: Process: com.tauri.api, PID: 24275
02-10 05:32:19.839 24275 24275 E AndroidRuntime: java.lang.UnsatisfiedLinkError: No implementation found for void com.tauri.api.TauriActivity.create(com.tauri.api.TauriActivity) (tried Java_com_tauri_api_TauriActivity_create and Java_com_tauri_api_TauriActivity_create__Lcom_tauri_api_TauriActivity_2)
02-10 05:32:19.839 24275 24275 E AndroidRuntime: 	at com.tauri.api.TauriActivity.create(Native Method)
02-10 05:32:19.839 24275 24275 E AndroidRuntime: 	at com.tauri.api.TauriActivity.onCreate(TauriActivity.kt:52)
02-10 05:32:19.839 24275 24275 E AndroidRuntime: 	at android.app.Activity.performCreate(Activity.java:8129)
02-10 05:32:19.839 24275 24275 E AndroidRuntime: 	at android.app.Activity.performCreate(Activity.java:8109)
02-10 05:32:19.839 24275 24275 E AndroidRuntime: 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1344)
02-10 05:32:19.839 24275 24275 E AndroidRuntime: 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3749)
02-10 05:32:19.839 24275 24275 E AndroidRuntime: 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3942)
02-10 05:32:19.839 24275 24275 E AndroidRuntime: 	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:109)
02-10 05:32:19.839 24275 24275 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
02-10 05:32:19.839 24275 24275 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
02-10 05:32:19.839 24275 24275 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2345)
02-10 05:32:19.839 24275 24275 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:106)
02-10 05:32:19.839 24275 24275 E AndroidRuntime: 	at android.os.Looper.loopOnce(Looper.java:233)
02-10 05:32:19.839 24275 24275 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:344)
02-10 05:32:19.839 24275 24275 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:8212)
02-10 05:32:19.839 24275 24275 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
02-10 05:32:19.839 24275 24275 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584)
02-10 05:32:19.839 24275 24275 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1034)

Additional context
trying to make some tests. This is the second time that happened to me. this was the result trying to adapt the example/api for mobile
updated Cargo.toml from example/api:
[package]
name = "api"
version = "0.1.0"
description = "An example Tauri Application showcasing the api"
edition = "2021"
rust-version = "1.59"
license = "Apache-2.0 OR MIT"

[lib]
crate-type = ["staticlib", "cdylib", "rlib"]

[build-dependencies]
tauri-build = { version = "2.0.0-alpha.1", features = ["codegen", "isolation"] }

[dependencies]
serde_json = "1.0"
serde = { version = "1.0", features = [ "derive" ] }
tiny_http = "0.12.0"
tauri = { tauri-build = "2.0.0-alpha.1", features = ["api-all", "cli", "global-shortcut", "http-multipart", "icon-ico", "icon-png", "isolation", "macos-private-api", "native-tls-vendored", "reqwest-client", "system-tray", "updater", "windows7-compat"] }

[target."cfg(target_os = \"windows\")".dependencies]
window-vibrancy = "0.3.2"
window-shadows= "0.2.1"

[target.'cfg(any(target_os = "android", target_os = "ios"))'.dependencies]
log = "0.4"
tauri-runtime-wry = { version = "0.13.0-alpha.1" }

[target.'cfg(target_os = "android")'.dependencies]
android_logger = "0.12.0"
jni = "0.20.0"
paste = "1.0"

[target.'cfg(target_os = "ios")'.dependencies]
mobile-entry-point = "0.1.1"
env_logger = "0.10.0"

[features]
custom-protocol = [ "tauri/custom-protocol" ]

solved by crating new project by 0 with the tauri-cli

I have the same issue, but I've started my project over many times and although I'm learning, I'm getting slightly tired of creating new projects for the same thing. You said "crating", not sure you meant creating, and if not, what do you mean by that exactly? Also, wdym "by 0"? If you did mean creating, can someone please tell me a way to fix this without creating another project? I'm slightly new to Tauri, but even newer to creating mobile apps, with or without Tauri.

Or at least tell me how to figure out how to debug it from the crash, which was logged in the terminal

I have the same issue, but I've started my project over many times and although I'm learning, I'm getting slightly tired of creating new projects for the same thing. You said "crating", not sure you meant creating, and if not, what do you mean by that exactly? Also, wdym "by 0"? If you did mean creating, can someone please tell me a way to fix this without creating another project? I'm slightly new to Tauri, but even newer to creating mobile apps, with or without Tauri.

Sorry to reply only now, didn't get any notification about it. I couldn't find any way to solve it without creating a new project and porting everything from the old codebase to the new generated project thru tauri-cli

Or at least tell me how to figure out how to debug it from the crash, which was logged in the terminal

I could be mistaken but if I remember correctly I was using a physical Android device connected using adb, and this allowed me to see logs and stacktraces when debugging


StopClient Not working with Offline/Online Scenes

Setup the Room example (or any test case that has Offline / Online scenes), build and run as Server Only, play client in editor, click Client and StopClient in the UI repeatedly.  Client should bounce between online and offline and back correctly without getting stuck here. Transport is irrelevant.

Caused by #3935
af133e6110f6ea5424c4125e859f2fb5fe41bd67 is the first bad commit
Date:   Tue Oct 29 15:06:44 2024 +0100
    fix: #2802 NetworkManager uses OnDestroy for shutdown instead of OnApplicationQuit (#3935)

 Assets/Mirror/Core/NetworkManager.cs               | 56 ++++++++++++----------
 Assets/Mirror/Core/Transport.cs                    |  4 +-
 .../Scripts/AutoLANNetworkManager.cs               | 15 ++----
 .../Mirror/Examples/PlayerTest/PlayerTestNetMan.cs |  8 ----
 4 files changed, 36 insertions(+), 47 deletions(-)

reverted!


does the program still work?

RT

we were contacted directly by OpenAI and Microsoft to implement new security measures in their systems. We are currently unable to maintain this project due to TOS issues with large companies

Thank you for whatever you have done,
Respect !


Boolean operations

Hi there! I'm working with your CGAL wrapper (fantastic resource- thanks!), and I'm having some issues with the boolean operations. I think I might just be defining the issue wrong, but was hoping to ask your advice?
I'm trying to find the unique volumes of a set of gameobjects. In order to do this I take the union of all of them, then one by one I intersect the other gameobjects with each other, then finish by taking the difference between the union and the intersected components.
However, for some reason I need to translate the intersections by a small amount to make the DIFFERENCE code work? I wonder if I'm doing something wrong, or there's an issue with the underlying algorithm?
Any help would be really appreciated!

public void PerformVolumetricBooleanOperations(GameObject[] inputGos)
    {
        // in this function we find the union of all the gameobject volumes.
        // we then find the volume that is unique to those volumes.

        var boolean = MeshProcessingBoolean<EEK>.Instance;

        // we also need to convert all the gameobjects to cgal polyhedra.
        var polyhedra = new Polyhedron3<EEK>[inputGos.Length];
        for (int i = 0; i < inputGos.Length; i++)
        {
            polyhedra[i] = ConvertGoToPolyhedron(inputGos[i]);
        }

        // now, let's produce a union of all the polyhedra.
        var unionPoly = new Polyhedron3<EEK>();
        for (int i = 0; i < polyhedra.Length; i++)
        {
            if (!boolean.Op(POLYHEDRA_BOOLEAN.UNION, unionPoly, polyhedra[i], out unionPoly))
            {
                Debug.Log("BooleanOperation has failed");// this is probably because one mesh completely encompasses/equals another.
            }
        }

        // now we can produce the bits which are unique to each gameobject.
        // to do this, we take the union of all the overlaps between every pairwise combination of gameobjects.
        // once we have this, we can take the difference between this and the union object we calculated above.
        var intersectionsUnion = new Polyhedron3<EEK>();
        for (int i = 0; i < polyhedra.Length; i++)
        {
            var tempPoly = new Polyhedron3<EEK>();
            for (int ii = i + 1; ii < polyhedra.Length; ii++)
            {
                if (boolean.Op(POLYHEDRA_BOOLEAN.INTERSECT, polyhedra[i], polyhedra[ii], out tempPoly))
                {
                    boolean.Op(POLYHEDRA_BOOLEAN.UNION, intersectionsUnion, tempPoly, out intersectionsUnion);
                }
            }
        }
        // there is a bit of an issue with taking the difference between union and intersections. i think it might be because there's too perfect an overlap?. this seems to solve it, but i don't like it.
        intersectionsUnion.Translate(new Vector3d(0.0000001));

        // as a check, you can uncomment the below, and you should see gameobjects appear that are the union, and the union of intersections
        //unionPoly.ToUnityMesh("union of all gameobjects", new Material(Shader.Find("Diffuse")), false);
        //intersectionsUnion.ToUnityMesh("union of all intersections", new Material(Shader.Find("Diffuse")), false);

        var intersectionsUnionInversion = new Polyhedron3<EEK>();
        boolean.Op(POLYHEDRA_BOOLEAN.DIFFERENCE, unionPoly, intersectionsUnion, out intersectionsUnionInversion);
        intersectionsUnionInversion.ToUnityMesh("All unique volumes", new Material(Shader.Find("Diffuse")), false);
    }

    Polyhedron3<EEK> ConvertGoToPolyhedron(GameObject go)
    {
        // this takes a unity gameobject, and turns it into an EEK polyhedron (middle accuracy, middle speed).
        // to convert back, just call .toUnityMesh() on the polyhedron itself.
        Vector3[] unityMeshPoints = go.GetComponent<MeshFilter>().mesh.vertices;
        Point3d[] cgalMeshPoints = new Point3d[unityMeshPoints.Length];
        for (int i = 0; i < unityMeshPoints.Length; i++)
        {
            cgalMeshPoints[i] = unityMeshPoints[i].ToCGALPoint3d();
        }
        var polyhedron = new Polyhedron3<EEK>(cgalMeshPoints, go.GetComponent<MeshFilter>().mesh.triangles);
        polyhedron.Translate(new Point3d(go.transform.position.x, go.transform.position.y, go.transform.position.z));

        return polyhedron;
    }

I get DllNotFoundException error for CGALWrapper.dll when I run some example codes. How do you work on it?

Project is dead


I keep getting an error and cannot get this to work.

I have tried everything and keep getting this error.  I think the codes were changed but the wiring diagram was not.  I am new to this.
ets Jan  8 2013,rst cause:4, boot mode:(3,6)
wdt reset
load 0x4010f000, len 3584, room 16
tail 0
chksum 0xb0
csum 0xb0
v5d3af165
~ld
Starting...

That message is your ESP chip resetting due to the code loop not running.
(Watch dog timer is resetting the board)
All pinouts are set by you in the auth.h file. Check these.
I would disable all but one garage door first and try that and then
re-enable others as you go.
I have actually moved off this and onto ESPHome
If you are starting out then this may be more friendly.
I have my config for esphome here -
https://github.com/DotNetDann/esphome-config/blob/master/garage_door.yaml
I hope that helps
Dan
On Wed, 5 Aug 2020 at 15:48, cbatten01<EMAIL_ADDRESS>wrote:

I have tried everything and keep getting this error. I think the codes
were changed but the wiring diagram was not. I am new to this.
ets Jan 8 2013,rst cause:4, boot mode:(3,6)
wdt reset
load 0x4010f000, len 3584, room 16
tail 0
chksum 0xb0
csum 0xb0
v5d3af165
~ld
Starting...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/DotNetDann/ESP-MQTT-GarageDoorSensor/issues/3, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AA24C7YG4GKEV2OTLSPCXK3R7DXCRANCNFSM4PVDOCBQ
.


Table rendering and ANRs

Markwon version: {4.0.2}

I had plans since a year integrating this lib in FastHub, matter of fact I have actually forked it back in 2017 https://github.com/k0shk0sh/FastHub/blob/ee2c95dec4873633abdfc26eb0895929915edd90/app/src/main/java/com/fastaccess/github/platform/markwon/mention/MentionExtension.kt#L12 trying to integrate @, #, :emoji: because I notice that's the only thing missing and its still, but with the possibility of adding own plugin, that became possible and finally decided its time to switch to this lib, you done amazing work and can't even think of how troublesome it is to implement this lib :D. Enough complements :p, I got an issue when using TablePlugin in a large issue description where it contains multiple tables specifically this: https://github.com/k0shk0sh/FastHub/issues/823 . is there a better way of loading the tables in a better way to avoid ANRs?

Hello @k0shk0sh !
Thank you for kind words 😄 !
I could not obtain raw markdown text from the issue that you'd linked (even if you do quote reply tables are removed from the markdown). Anyway. There is a lot of text. And by default Markwon uses single TextView to display everything. I would suggest trying the markwon-recycler artifact, that uses RecyclerView and a TextView for each markdown block. This also comes with few benefits like custom widgets for certain blocks. For example markwon-recycler-table artifact uses Android TableLayout to render markdown tables (which also allows any markdown to be present inside a table, as default implementation, for example, does not support images inside tables). Also, you could make code blocks scrollable. There is a sample that shows how to use it. You can actually start with a simple markwon-recycler artifact and see if ANR still persist.
As for @, # and emojis CorePlugin (since 4.0.0) has OnTextAddedListener which is perfect for these. It skips commonmark tree node manipulation and works directly with text (code and code-blocks are ignored). For example, your plugin can do something like this (taken from markwon-linkify):
@Override
public void configure(@NonNull Registry registry) {
    registry.require(CorePlugin.class, new Action<CorePlugin>() {
        @Override
        public void apply(@NonNull CorePlugin corePlugin) {
            corePlugin.addOnTextAddedListener(new LinkifyTextAddedListener(mask));
        }
    });
}

There is a small dedicated documentation section covering this.

Hi @noties thanks for your response I have integrated recycler module and it was very easy! awesome!!! https://github.com/k0shk0sh/FastHub/pull/2599/commits/aae3d0fd09f6ccc037313eec51e13e2ecc1d241b
regarding the ANR its way faster now, that's awesome, but still could see a bit of a lag, its understandable tho and i'll work on this once I finalize my branch.
i reckon I have to share one recyclerPool because now each commentROW contains a recyclerview which is embedded in a parent recyclerview.
Thanks again

It came to attention that selecting text now becomes hard because each text is rendered separately. Any clue on how to solve this?

Hello @k0shk0sh !
Hm, if you are using a recycler-view for each comment - yeah a pool is a must. But I find it a bit too much. Maybe you can introduce multiple comment types, like a big one (based on length or something) and a small one, where big one will use recycler-view and a small one will use just a single text-view. Maybe.
Also, you should know that default entry in markwon-recycler parses markdown on first on-bind (then caches it). It can cause some trouble. Also I see that you are using markwon-linkify plugin, it's really slow, maybe you can try without it first and see if it's the one that slows down the rendering?
Now, text selection... I have to warn you, it's not going to be easy. I have found a really old project that showcases the usage of text selection between multiple text-views in a recycler-view. You can look at it here. There is also an article about this implementation with the walk-through, but it's in Russian, so I do not know if it will be of any help to you. In short - you will have to take the control of selection in your hands:

calculate text selection start (which word, position on screen)
draw text-selection handles
control the dragging of text-selection handles
highlight text-selection

Please note that you also won't be able to display system text selection popup... You will have to mimic it somehow.
Maybe your comments/posts can have a dedicated copy button instead? This will also allow you to have original markdown copied instead of rendered one. As there is a big chance that original and rendered texts will differ.

I did manage to obtain source markdown for the issue that you'd shared via Github API. ANR can appear when actual textView.setText is called. This can be mitigated if PrecomputedText (or PrecomputedTextCompat) is used. Currently Markwon does not allow to use it (sets text by itself), but I think I will add a way to do it.
BTW, quick test shows that PrecomputedText does not work with TableLayout in a RecyclerView 🤦♂ . And PrecomputedTextCompat works only for API >= 21, so on lower devices ANR will still occur.
Anyway, even with this feature added I still think that RecyclerView is a way to go when dealing with lengthy markdown content.

doing the copy functionality myself is overkill if you ask me :D.
i'm with going with PrecomputedTextCompat to simply avoid having multiple recyclerviews in a recyclerview especially when we have to call notify changes in every viewholder.
can't wait to see how you integrated it.
Thanks alot for your dedication on this :)

Hello @k0shk0sh !
I have published the 4.1.0-SNAPSHOT (instructions) version with the PrecomputedTextSetterCompat (it will require you to have androidx.core:core in dependencies. I also have updated samples to include this functionality. In short:
final Markwon markwon = Markwon.builder(this)
         // your plugins
        .textSetter(PrecomputedTextSetterCompat.create(Executors.newCachedThreadPool()))
        .build();

Please give it a try to see if it fits your needs.
I also wanted to mention, that copying text from a table (if used in a TextView not a RecyclerView), won't work (nothing will be copied). Also these tables do not support images.

@noties that was quick!! I'll be home in two hours or so! I'll try it out and update you.
Thanks for taking care of this <3

You are welcome! 🙌

@noties unforetunely that didn't work for the issue I linked previously, it lagged alot.
I removed the linkify plugin as well but that didn't work.
to give you more insight:
 @PerFragment @Provides fun provideMarkwon(
        context: Context,
        preference: FastHubSharedPreference
    ): Markwon = Markwon.builder(context)
        .usePlugin(JLatexMathPlugin.create(context.resources.getDimension(R.dimen.abc_text_size_subhead_material)))
        .usePlugin(TaskListPlugin.create(context))
        .usePlugin(HtmlPlugin.create())
        .usePlugin(GlideImagesPlugin.create(context))
        .usePlugin(TablePlugin.create(context))
        .usePlugin(StrikethroughPlugin.create())
        .usePlugin(
            SyntaxHighlightPlugin.create(
                Prism4j(GrammarLocatorDef()), if (ThemeEngine.isLightTheme(preference.theme)) {
                    Prism4jThemeDefault.create()
                } else {
                    Prism4jThemeDarkula.create()
                }
            )
        )
        .textSetter(PrecomputedTextSetterCompat.create(Executors.newCachedThreadPool()))
        .build()

and using it in https://github.com/k0shk0sh/FastHub/blob/4590a4c426effbe385294ccdd6b81c2284699b04/app/src/main/java/com/fastaccess/github/ui/modules/issue/fragment/IssueFragment.kt#L261
I still prefer the textview over  the recyclerview implementation tho 🤷♂.

Hey @k0shk0sh !
The lag can also be caused by the parsing stage. You actually can parse markdown in background, then apply it in the main thread:
// in background
final Spanned spanned = markwon.toMarkdown(md);

// in main thread
markwon.setParsedMarkdown(textView, spanned);

so I tried doing that but setParsedMarkdown was still given me the same lag.
i'm going with this current implementation for now to further my development but I'll get back to it before releasing and try to figure out what's the best way!
class MarkwonLoaderLiveData(
    private val markwon: Markwon,
    private val md: String,
    private val scheduler: SchedulerProvider
) : LiveData<Spanned>() {

    private var disposable: Disposable? = null

    override fun onActive() {
        super.onActive()
        disposable = Observable.fromPublisher { s: Subscriber<in Spanned> ->
            runCatching {
                markwon.toMarkdown(md)
            }
                .onFailure { s.onError(it) }
                .onSuccess { s.onNext(it) }
            s.onComplete()
        }
            .subscribeOn(scheduler.ioThread())
            .observeOn(scheduler.uiThread())
            .subscribe({ postValue(it) }, {
                postValue(SpannableString(md)) // return original in case of failure
                it.printStackTrace()
            })
    }

    override fun onInactive() {
        super.onInactive()
        val disposable = disposable
        if (disposable?.isDisposed == false) {
            disposable.dispose()
        }
    }
}

Hello @k0shk0sh !
I did small investigation. Here is what I did:

Manually set MovementMethod
Manually set NoCopySpannableFactory
change breakStrategy and hyphenationFrequency
update library to defer text-view invalidation 😉

// call these when your view is inflated/created (should be done
// only once and before applying markdown
textView.setMovementMethod(LinkMovementMethod.getInstance());
textView.setSpannableFactory(NoCopySpannableFactory.getInstance());

<!-- rest attributes are omitted -->
<TextView
    android:breakStrategy="simple"
    android:hyphenationFrequency="none" />

and then I updated how text-view is invalidated. I defer the invalidation via textView.post which leads to a single invalidation call instead of multiple ones. I tested this and performance is much better even without PrecomputedTextSetter. You can check latest 4.1.0-SNAPSHOT to see if it solves the lag problem

@noties sure I'll try this next week when im back from vacation.
Thanks again for the continues help

A small update: there is no need to use snapshot version as I had released the 4.1.0 version

that really did the trick!, its bloody fast right now, well done really!!
I think this issue can be closed now :)

since this issue turned into discussion :D I have another question:  I just noticed that gifs doesn't play automatically using glide module.
Do I need to create/override the plugin to play gifs or there is something i'm missing? as far as I recall, reading the wiki only mentioned gifs if we are using the lib image loading instead of glide/picasso

Hey @k0shk0sh !

About the images: let's create a new issue. Please specify what config do you use. Do the GIF play at all with Glide?


QUESTION: How to wait for tb.loop() to complete a transaction

Hi,
Working with esp-idf + freeRTOS, our firmware is:

Wake up from deep sleep
Read data
Send data to TB
Goes back to deep sleep

Issue is that sometimes, the firmware will go to sleep before the tb.loop() transaction is completed.
We did a 1second vTaskDelay() to fix the issue, however, I would like to find a cleaner wait to ensure transaction is fully completed.

//...

Espressif_MQTT_Client mqttClient;
ThingsBoardSized<JsonMaxFields, MaxSubscriptions, MaxAttributes, MaxRPC> tb(mqttClient, JsonMaxBytes);

// .....

            tb.sendTelemetryData("t1", 1.1);
            tb.sendTelemetryData("t2", 1.2);
            tb.sendTelemetryData("t3", 1.3);
            tb.sendTelemetryData("t4", 1.4);
            tb.loop();

            // wait for mqtt transaction to complete
            vTaskDelay(1000 / portTICK_PERIOD_MS);

           ESP_ERROR_CHECK(esp_sleep_enable_timer_wakeup(sleep_s * 1000000));
           ESP_LOGI(TAG, "esp_deep_sleep_start, bye...");
           esp_deep_sleep_start();

There is a way if you use the Espressif_MQTT_Client mqttClient;, according to the docs the publish method used by sendTelemetryData should be blocking by default.
Non-blocking mode can be enabled with set_enqueue_messages(true) on the mqttClient. But for your case this is perfect.
Additionaly if you use tb.loop() with the EspressifMQTTClient and ESP-IDF, the method does nothing at all. So they call is not even required, because the EspressifMQTTClient uses a seperate FreeRTOS task in the background that actually sends the data so no looping is needed.

So atleast from what is written in the docu the data should actually always be sent from the device, as long as you call the  publish method which the code does per default. So the vTaskDelay should not be needed.

@MathewHDYT thank you. I will do some testing in the next few days and come back to you.


Fix clang/llvm for x86-32

Allows clang/llvm build x86-32 targets, it is still not working with 64 bits target.

Codecov Report

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

@@           Coverage Diff           @@
##           master   #14124   +/-   ##
=======================================
  Coverage   52.61%   52.61%
=======================================
  Files         307      307
  Lines       45476    45476
  Branches    10531    10531
=======================================
  Hits        23929    23929
  Misses      16676    16676
  Partials     4871     4871

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 1b837d6...301ebcd. Read the comment docs.

weird these errors, I've checked them here and it is working properly. Can you trigger a new build ?

weird these errors, I've checked them here and it is working properly. Can you trigger a new build ?

ignore, master was broken, fixed now.


[bn] Localize control-plane.md

Localized control-plane.md in Bengali Language.
Fixes issue:#45729

/lgtm


New CSS component: Card

Is your component request related to a problem? Please describe.
Sometimes elements need to be grouped in a single container.
Describe the component you'd like for that problem

[x] Providing a new class card
[x] Making cards work with title images
[x] Making cards work with headings
[x] Providing a CTA footer for cards

Implemented with d6db4ae0a62f376aad277e9961846c2564eb6394 - Forgot to create a PR for that.


Benches being replaced with entries with fewer pictures

My bench total dropped by 10 last night, I think because benches I had in Greenwich Park are being replaced/updated with ones submitted by endim8. I don't have a problem with updates, but the new entries often only have 1 or 2 photos, while I'm sure mine had 3. Does the duplicate spotting algorithm just delete the older version, rather than prompt for the entries to be merged to preserve the best of both?
Endim8 seems to have visited the Rose Garden like me, and added a few benches, but mostly tidied text/positions, but that removes the credit from jenblacker who often originally created the entries, and me who added extra ones. It seems petty for me to go back and move the position a few feet just to reclaim it for my total, especially if it knocked down endim8's numbers

Oh dear, I do remember trying to tidy up the Rose Garden & accidentally deleting a few benches because I assumed they'd been removed, only to find them in another location later.
There should definitely be a better duplicate-management system, ideally if the text is very similar it could warn of a similar bench nearby, and suggest moving it to the new position?
Really sorry about the deletions :(

Do you know which ones you deleted? I can reinstate them?
I think, for now, I'll remove the "delete" button and keep that admin only. That should prevent those issues.

I have used the delete button occasionally when I've mucked up, but a
comment you can read is equally good, so admin only seems sensible.
On Sun, 18 Sep 2022, 17:15 Terence Eden, @.***> wrote:

Do you know which ones you deleted? I can reinstate them?
I think, for now, I'll remove the "delete" button and keep that admin
only. That should prevent those issues.
—
Reply to this email directly, view it on GitHub
https://github.com/openbenches/openbenches.org/issues/264#issuecomment-1250340553,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGE3HVNGHAPDPEBORISVF6DV645YJANCNFSM5YB3W7RQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Latest is still V4.2.1

Tried to download the "latest" Image from Docker via App in Synology -> become 4.2.1
If i try to download from Alyun Hub the result is: "The registration returned a bad result"

Hurray, just checked again ... the current version 4.2.2 has been online for 12 minutes.
Thanks very much!


CI with GitHub Actions (using playframework/.github)

This p-r is another version of https://github.com/playframework/twirl/pull/477 .

Thanks @tototoshi!
I refactored the yml a bit and made sure it is up to date.

Also @tototoshi I am going to merge that right now, please review anyway however and let me know if I am missing something. Thanks!

Nice thing we now have snapshots published, so you can use them to try out the Scala 3 artifacts:
https://oss.sonatype.org/content/repositories/snapshots/com/typesafe/play/ (grep for twirl)
You just need to add
resolvers += Resolver.sonatypeRepo("snapshots")

Thanks!


assert: fix build break

Summary
assert: fix build break
misc/assert.c: In function 'show_tasks':
Error: misc/assert.c:411:10: error: format '%p' expects argument of type 'void *', but argument 3 has type 'uintptr_t' {aka 'long unsigned int'} [-Werror=format=]
411 |   _alert("  ----   ---"
|          ^~~~~~~~~~~~~~
......
424 |          , up_get_intstackbase()
|            ~~~~~~~~~~~~~~~~~~~~~
|            |
|            uintptr_t {aka long unsigned int}
Signed-off-by: ligd<EMAIL_ADDRESS>Impact
Testing

Why not just to cast to void * and leave %p?

What about 64bit architectures? Or we expect pointers only in lower 32 bit address space?

uintptr_t can handle both 32bit and 64bit arch

Why not just cast to void * and leave %p?

%p can't add the modifier (e.g., 08).

@xiaoxiang781216 @pkarashchenko @jerpelea
Please help to re-trigger, this is download fail

What about 64bit architectures? Or we expect pointers only in lower 32 bit address space?

uintptr_t can handle both 32bit and 64bit arch

Why not just cast to void * and leave %p?

%p can't add the modifier (e.g., 08).

But shouldn't it be 16 modifier for 64 bit pointers?

Oh, yes you are right.


Spectrogram quality

Hi,
I've testing your code and it reconstruct your stft.
I'm afraid this is librosa stft

And this is the spectrogram computed with this method

Hi, @JuanFMontesinos
Could you tell me how you applied window at the code please? :)

These should be the same now, within some margin of error. Still having an issue with getting the phases to match perfectly though.


Improve performance of QuickPickList

Highlights:

remove Object.assign usage
remove extra reduce

show-checkboxes that can be moved out of reduce and computed once
move saneLabel & other sane things into ListElement to compute there using Lazy
remove regex newline replacement with labelEscapeNewLines

NOTE: that last bullet means new lines will now be rendered as ⏎ instead of just a space. I see this as an improvement but we'll see if anyone complains. If they, do it's easy to bring back the old behavior while keeping the perf gains in this PR (they'd be computed lazily)
Lowlights:
I attempted to remove onChecked in ListElement for one big emitter... but I don't think this is possible given these other usages:

In the QuickInputAccessibilityProvider to inform if the element is checked
In the renderElement that updates the actual checkbox item

I think this addresses everything I can address in #184460
Fixes #184615

I attempted to remove onChecked in ListElement for one big emitter... but I don't think this is possible given these other usages:

Dunno if this helps or is what you had in mind, but I think you could still do it with something like this

Create one onChecked Emitter that every ListElement has access to, and this gets fired when any ListElement checked state changes, with the element as an argument
ListElement exposes onChecked which uses Event.filter to only fire when this element's state changed

Or, consumers can access the global event like listElement.viewModel.onChecked(checkedElement => .... I don't know if this is faster than having n emitters.


Fix code scanning alert

Tracking issue for:

[x] https://github.com/ConsenSys/quorum-explorer/security/code-scanning/3

Fixed in https://github.com/ConsenSys/quorum-explorer/pull/39


Added cancer prediction model

Description
@sanjay-kv I have added the cancer prediction model and deployed it using streamlit. Could you please merge this PR?
Fixes #704
Type of change

[x] Added a new machine learning frameworks, libraries or software.
[x] Documentation update

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

@sanjay-kv Could you please merge this PR?


Updated the Farsi translation

[x] Have you followed the contributing guidelines?
[x] Have you explained what your changes do, and why they add value to the Guides?

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

I updated the Farsi translation and made it better.

Good

[x] Have you followed the contributing guidelines?
[x] Have you explained what your changes do, and why they add value to the Guides?

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

I updated the Farsi translation and made it better.


[Bug] Other Patchouli Books won't open

Depending on the changes in CustomBookItem.java you can't open either the mods own books or books from other mods like croptopia and bewitchment. adventureZ handbook works surprisingly everytime

Connected to issue #3


Ingress ConfigMap

Is there a way to set metadata for an ingress resource (ex subnets, security group, etc) via a ConfigMap?

It looks like the answer is not currently. According to this snippet, it appears that SetConfig from the parent class has been implemented, but it just logs the data instead of storing it. Seems like a good idea though. +1!

@Awk34 @justaugustus I agree, this would be a good and a way for us to stay aligned with the existing ingress controller(s).
Might not tackle this until host-based routing is fleshed out. Feel free to throw a PR in if you find time to take a stab at it.
Thanks!

@joshrosso We'll see, I'm still trying to learn Go ;D

/sig aws


Fix incorrect size calculation when position is set on resized

Fix #92929
Fix #15061
92929
https://github.com/godotengine/godot/assets/63407648/0955fdc5-b251-4d03-a216-f1395b8e2122
15061
https://github.com/godotengine/godot/assets/63407648/b41fc0ee-e210-4e21-a869-618041e3b26e
Report
UPD: The following analysis is based on issue 92929.
The problem was caused by the order of notification.
Settings:
For two nodes in the following structure:
- Parent[Control]
  - Child[ColorRect]

Parent was attached a user script that will update Child's position when receiving Parent's resized signal.
Before:
-> Parent's size changed. Call Parent's `_size_changed`.
    -> Parent emits `resized` signal.
        -> Trigger userscript. Call Child's  `_set_position`.
        -> Child uses stale data to calculate offsets. (ERROR here)
    -> Parent emits `item_rect_changed` signal.
        -> Trigger Child's `_size_changed`.
        -> Child uses the wrong data to update. (And will not trigger redrawing)

After:
-> Parent's size changed. Call Parent's `_size_changed`.
    -> Parent emits `item_rect_changed` signal.
        -> Trigger Child's `_size_changed`.
        -> Update Child's data.
    -> Parent emits `resized` signal.
        -> Trigger user script. Call Child's  `_set_position`.
        -> Child uses the updated data.

Note
I sensed some danger here. I'm not sure if we have specification on the emitting order of resized signal and item_rect_changed signal. This may break some parts/projects that rely on the order of these two notifications.

I'll keep this for 4.4 for now as we're very close to the 4.3 RC, and such seemingly innocuous changes to control.cpp have shown time and time again that they can trigger regressions. We really need a better unit and integration tests to be able to validate this kind of behavior change in the GUI.
Still, if other maintainers think this is really safe I'm happy to reconsider, or cherry-pick for 4.3.x once it has had some testing in 4.4-dev.

From what I see, item_rect_changed() notifies children to update their size, so theoretically it can be a problem when NOTIFICATION_RESIZED causes further size change. However such problems are usually fixed by using call_deferred() anyway, so it won't matter in most cases.

Yes, if the above userscript use item_rect_changed signal, the same problem will appear. (The on resized issue could also be solved using call_deferred.)
I don't think the on item_rect_changed problem can be fixed under current framework, since when item_rect_changed was emitted, the children's data was not fully updated yet. But updating the children's data relies on the item_rect_changed signal. See these lines: https://github.com/godotengine/godot/blob/97b8ad1af0f2b4a216f6f1263bef4fbc69e56c7b/scene/gui/control.cpp#L3268-L3270
I find this usage rather strange. Since logically speaking, when parent emit its item_rect_changed (as well as resized) signal, it does not guarantee its children's states. (Or should it?) Therefore, it seems to be a misuse to update children's position or size on these signals. Maybe we should add this to the documentation.

One possible solution is calling children's _size_changed directly inside parent's _size_changed function, and emit item_rect_changed signal afterwards, instead of relying on the signal to change children's size.
Also, if the Control is attached to a viewport, its update will rely on the viewport's size_changed signal. If user change viewport's child controls' position on viewport's size_changed signal, it will cause the same problem. So viewport also needs to call its child controls' _size_changed before emitting the signal.
The core of this issue is all these updates are supposed to be finished together without interruption, but signal system does not have this 'atomicity'. Theoretically, all these 'grouped' updates that supposed to be executed together but relies on signal system will have some problems when user accidentally interrupt the updating process using userscript on related signals.

Thanks!


Support for arbitrary counter handler usage inside mvc actions or web api methods

I think we can use the Disposable pattern (using) to enable arbitrary counter handler usage inside actions or web api methods. The major problem for this implementation is the discovery (install) part of the counters. But we can provide some abstract class which can be implemented just to define the counters. May be we can just use our filter attributes which will just become passive during the action/method invocation (just for counter discovery and install) and provide handy constructs for referencing inside action/webapi methods

Hi,
This now possible with v1.0!


Fixed RxTest.framework reference and minor changes

Fixed the RxTest.framework reference (which was still RxTests and it would not build).
Also fixed some swiftlint warnings (mostly whitespace and line_length) and deactivated missing_docs because it is broken in XCode 8 (see https://github.com/realm/SwiftLint/issues/811).
I also changed the array comparison in RxCharacteristicType and RxServiceType to use starts(with:by:) because when the arrays have the same length and one starts with the other they should be equal.

Not sure why the Travis CI build stalled for this PR, but it worked for my branch (https://travis-ci.org/moogle19/RxBluetoothKit/jobs/168215442)

Merged, thank you very much as always! 👍


Create a rake task that creates a new post

Generating a new file with all the yml keys takes too long, which prevents me starting a new blog post when I want to.
Creating a rake task that allows me to generate a file right away would make the blog writing task faster.
Here's a jekyll plugin: https://github.com/avillafiorita/jekyll-rakefile

Closed with #17!


Enable cross compilation for windows-arm64

This is available only for master channel.

Added option --target-platform {windows-x64, windows-arm64} for flutter build windows command.
Without this option, it produces an x64 app on windows-x64, and arm64 app on windows-arm64.
This was successfully tested (on windows-x64 and windows-arm64) with: $ flutter create app
$ cd app
$ flutter build windows
$ flutter build windows --target-platform windows-x64 $ flutter build windows --target-platform windows-arm64
Pre-launch Checklist

[X] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[X] I read the Tree Hygiene wiki page, which explains my responsibilities.
[X] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[X] I signed the CLA.
[X] I listed at least one issue that this PR fixes in the description above.
[X] I updated/added relevant documentation (doc comments with ///).
[X] I added new tests to check the change I am making, or this PR is test-exempt.
[X] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

This PR is the succession of https://github.com/flutter/flutter/pull/141930.
However, it can't be upstreamed in this state.
We have been discussing in a previous PR (https://github.com/flutter/flutter/pull/137618) that ephemeral folder should be specialized per architecture. For now, cross compilation would work by reusing same ephemeral folder, but it might break one day.
Another issue as well, is how to download flutter artifacts only for one platform. We didn't identified a correct way to do it in our discussions, and it's an open problem.
I might come back to work on this later, but for now, this is lower priority. So if someone is willing to work on this, you're more than welcome! Don't hesitate to ping me for review or questions.


How to Select the content of the tag in vscode?

How to Select the content of the tag in vscode like sublime with the key: Ctrl + Shift + A

Hi @biij5698 ,
I think it doesn't exist in the core, but maybe this extension expand-region does the trick.
Hope this helps

@jrieken don't know what our keys are right now to expand the selection. Can you help.

@dbaeumer
https://code.visualstudio.com/docs/editor/editingevolved
"Shrink/expand selection"
It seems VSCode has this feature but doesn't work in my v1.0.0

It is very regret

for html there are issues, see #1808 and #4795

Shift+Alt+Right will do the trick.

Place the cursor inside the bracket (not directly next to a bracket) and execute editor.action.smartSelect.grow until everything inside the bracket is selected. The default shortcut is Shift+Alt+Right.
You can shrink the selection with editor.action.smartSelect.shrink which has the default shortcut Shift+Alt+Left.
https://stackoverflow.com/questions/37835012/is-there-in-vscode-an-option-to-select-everything-between-matching-brackets

@Skura23 thanks. that was it

As an alternative could use a Ctrl+D to fast select text between tags =)
Seems that Ctrl+Shift+A does not work in VSCode as in Sublime


Fix upgrade issue in which http reload port is not available

https://github.com/rancher/rancher/issues/4089


Clicking outside a controlled overlay does not work

Package name(s)
Lab (@salt-ds/lab)
Package version(s)
latest
Description
Clicking outside of an overlay does not call onOpenChange or onClose which stops it working in a controlled setup.
Steps to reproduce
https://codesandbox.io/p/sandbox/controlled-overlay-bug-zkff56
Expected behavior
No response
Operating system

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

Browser

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

Are you a JPMorgan Chase & Co. employee?

[X] I am an employee of JPMorgan Chase & Co.

Overlay needs to be updated to be consistent with our other components. It has two callbacks onOpenChange and onClose and its signature for onClose is different other components e.g. Dialog, ComboBox, Dropdown

Can we expose CloseButton as its own component ( same as Dialog and Drawer ) - would also allow users to optionally remove the CloseButton if required.
@joshwooding @origami-z thoughts ?


sql: don't allow StatementSources to commit the txn

PR: https://github.com/cockroachdb/cockroach/pull/20847
From release notes:

INSERT/UPDATE/DELETE ... RETURNING statements used with the "statement data source" syntax (e.g., SELECT * FROM [INSERT INTO ... RETURNING ...]) no longer ever commit the transaction, causing errors for the higher-level query.

Note from @andreimatei: this introduces a limitation to SHOW TRACE FOR  that we might want to document.

@andreimatei, do we just need to update SHOW TRACE? Or are we more generally missing docs on "statement data source" syntax?

@andreimatei, @knz, ping.

From my perspective the release note is incorrect, because the transaction is indeed commited. @andreimatei ?

Ok I stand corrected, the release note is correct.
The following paragraph must be added to the sub-section "SHOW TRACE FOR ":
"""
When using SHOW TRACE FOR  with a statement that writes data (e.g. INSERT, etc) outside of an explicit transaction (BEGIN...COMMIT) the changes performed by the statement are not committed. To both observe a trace for these statements and also commit the results, either use BEGIN ... COMMIT, or use SHOW TRACE FOR SESSION as described below.
"""

Just to make sure we're all on the same page - when you do SHOW TRACE FOR <stmt>, outside of a txn, the data is committed; it's just that the 1PC optimization is disabled for the , which means that the trace can look quite different from what might happen if  is a write and it'd be run by itself.
This also applies to statement data sources (and I hope CTEs too), but that probably doesn't need to be documented. Or at least I don't think we discuss 1PC anywhere.

Aw thanks andrei for the correction. My initial comment above was wrong, corrected now.


What's the recommonded scenario for choosing OS type in Clustering?

Here we need to choose a scenario for Clustering. you can consider two different scenarios for clustering;
Case-1: The Operating systems in Cluster nodes are same. (E.g. All of them are in CentOs)
Case-2: The Operating systems in Cluster nodes are NOT Same.one of them is in CentOs and the others in Windows.
If we imagine, we have not hardware problem and we are neutral in war of Windows and Linux, Do you think, choosing OS type of cluster nodes in case#2 is better than case#1?
I think that same OS types may be lead to same failure chances and bug in running time but in choosing different OS types, it may be lead to safer condition because the MQTT code run in different environment variables and the failure chance (e.g. memory leak and memory management) is not same.
What’s your opinion?

Case-1. Sure. For the ./bin/emqttd_ctl CLI cannot work on windows:( We will try to fix this issue later.

Generally, you recommend to use different os types or same e.g ubuntu centos and...?


unsupported: aper.Enumerated error

Hello,
When I'm using <<go test -v -vet=off -run TestNGSetup>>
I'm getting this error:unsupported: aper.Enumerated error
It is happening here:
ngap.Encoder(message)
Do you any clue?
Thanks
Sothy

Hi,
TestNGSetup is not for testing. It's just for separating the function we need in our test.


RFE: CLI support for setting repos privileges

Neither of these are supported in the CLI
https://help.cloudsmith.io/reference/repos_privileges_list
https://help.cloudsmith.io/reference/repos_privileges_partial_update
making scripting of automation of repository privileges as part of CI/CD and configuration  management as part of devops awkward, having to fall back on interacting with these directly using curl.

Hi Nick! Thanks for the great suggestion. I've passed this on to our product team for prioritisation. We'll let you know once we have a timeline.


Notebook Performance Improvements to Cell Editing/Output Changes/Execution Count Changes

First of all, sorry about the size of this change.
We’ve had a perf issue in our notebook experience where every change (be it a cell’s source update, outputs being added, new cell being added, etc.) serializes the entire notebook model into JSON, and the backing text editor service completely replaced the entire contents of the model every time. While this works ok for small notebook models, the effect is quite noticeable when notebook files are > 10MB+ in size.
Instead of replacing the entire model every time, I looked at a number of ways to parse/scan through JSON efficiently, in order to find the location in JSON for where to make whatever change is necessary for whatever operation is occurring (e.g. a cell's source is being updated, or outputs are being added when a cell is run). While there were some promising leads initially, they all shared the same problem: JSON scanners tended to not be terribly fast. Like, in one case, it took 80 seconds just to search through a 50MB JSON file, slow. There was just too much overhead in trying to scan through a bunch of JSON and save state along the way about where in the file a particular property was located. So, I ditched that plan and went with the VS Code textEditorModel APIs. Here’s what I mean:
If I know where in some massive amount of JSON a particular cell’s metadata is located (by adding a cell guid to look for), I should then be able to find the other fields that I care about (i.e. source, outputs, execution_count, etc). I should then be able to know where a particular field should be located in the file. Maybe it’s before the metadata property, maybe it’s after.  Maybe it's somewhere else entirely. But I have a starting search location, and have cut the problem down from "this change can be anywhere in this arbitrary sized JSON file" to "this change is somewhere within this cell's JSON". I added a notebookTextFileModel attempts to find whatever field that I need to find, given a cell guid. It double checks where properties “should” be (by also searching for properties that "should" be before/after the property in question), and if it fails any of these steps, we revert back to the “old” behavior, similarly to what we do if a cell guid isn’t found (see below).
What if it doesn’t find a cell’s guid (or the notebook was saved somewhere else and the azdata_cell_guid doesn’t exist in the file)? There will be a one-operation penalty where we do the “old” entire model replacement. After this point, cell guids are included in the text editor model, and we can resume doing the “fast” lookups/edits from then on out.
I’ve written the new tests to be brittle on purpose. That’s not to say that they should be flaky or anything — it’s that any changes that affect the toJSON() methods for a cell or for the notebook all up should make these tests fail. In many cases, whitespace absolutely matters (e.g. for cell source editing):
"source": [
                "USE Keep_WideWorldImporters;\n",
                "select * From Application.Cities"
          ],

Is very different from
"source": [
                "USE Keep_WideWorldImporters;\n",
"select * From Application.Cities"
          ],

Which is very different from
"source": [
                "USE Keep_WideWorldImporters;\nselect * From Application.Cities"
          ],

In the first case, as long as we know what the beginning offset column is for the first element in the source array, we can take the model content change event’s range + text and, with very little extra processing, we can directly send the change to the textEditorModel. In the other 2 examples, if we aren’t consistent with whitespace, it becomes much more difficult,  and we waste time doing extraneous processing.
Here are a list of the changes:

Utilizing new notebook text file model for the following “fast” updates: cell source editing, cell outputs added, cell outputs cleared, execution count changed
Added azdata_cell_guid into cell metadata. This allows us to quickly and efficiently find a cell in the text editor model.
Fixes up logic so that active cell update logic now resides in notebook model. We now have reliable events to hook to when the active cell changes.
Added JSON language configuration to .ipynb files so that we can find opening/closing brackets efficiently
Changed cell content to always serialize into an array instead of a string or string[]. It’s possible to revert this change, but it proved tricky when going from a single-line source into a multiline source. Not impossible, but given that either is acceptable both for our own viewer and for other notebook viewers, this seemed like an acceptable compromise.
Added CellOutputCleared event to efficiently determine when this action was happening from the notebook editor model’s side
Added more cell model tests
Added notebook editor model tests

@kevcunnane @Charles-Gagnon if you could take another look that'd be great. trying to get this in for the planned build early next week.


Emoji not supported in comments.

Emojis become blank when published in the comment sections.

Will fix in a future version!

Emoji is now supported with the newest backend version.


Fix some styling issues in edit group page

Coverage remained the same at 84.266% when pulling 2de9e8d4cd24ddd75666359c87811c26158429a3 on mohit-003:group2 into defe2039c71c71744ff4da5b2ad6f6b728494030 on CircuitVerse:master.


Change project deployment

[ ] Implement script to start application
[ ] Implement script to stop application

Relates to #9


MDT - LeftHandSide menu disappears

Left sidebar menu is hidden when user click on the row in Generator MDT list table.

This bug was fixed:

The reason was in MDT sidebar configurations
(name was "mdt" instead of "mdt")

Reviewed and resolved, thank you


Dynamic data loading

Hi All,
Can we load data automatically from a database ?
As i have a database with dates "from - to" and tasks.
Thanks in advance.
Ziryab

You have to write a REST Api that provides those data. Nothing's magic, it's web development and browser can't talk directly to your database.