Enable Alert Bell in UI

User Story
Enable alert bell UI for informing user that actions are needed.

T-shirt size: S(mall), M(edium), L(arge)

User Story
"As a user of NEXT application, I should know when users in my org have stale requests to act on and/or I should be alerted when one of my permissions is expiring.  Let's add some UI to the Bell icon that tells me there are actions to take."

Description
Potentially, I have multiple alerts to act upon...  maybe the UI has a count?  maybe clicking the bell drops down a list of the actions?  Then clicking on the item name on the drop down navigates the UI to the page where I can take some action.

Acceptance Criteria/Tests
Visible indication in the UI that I have items that need my attention.  The UI facilitates my navigation.  As items are accomplished, they should drop off this list (or decrement the count shown)

link to #861


kite.positions() do not return the latest data.

Whenever I do kite.positiions(), I never recieve the latest data. I request you to fix this on priority.

Any update on this ?

This seems like an API issue, can you please post it on Kite trade forum here - https://kite.trade/forum/discussions

Posted on forum : https://kite.trade/forum/discussion/6511/


Fix various internal links

Closes #1041

All good.
I've a sinking feeling those failures are related to something I accidentally committed to master last week before having finished the tests.  I'll have to come back to that Monday. Apologies.


Code Questions for the loss

when I make train,There are always Trackback  that RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [1, 256, 32, 32]], which is output 0 of AsStridedBackward0, is at version 24; expected version 23 instead. Hint: enable anomaly detection to find the operation that failed to compute its gradient, with torch.autograd.set_detect_anomaly(True).I went through a lot of information. But I still can't solve it

Hi, based on the information you give above, I don't think we have encountered anything similar before.
But would you mind providing more context so that we can potentially help you spot the problem?
e.g. the version of your python, torch, and torchvision; your cuda version, your system version, what GPU you were using, and what were the arguments you gave to make train.

Hi, based on the information you gave above, I don't think we have encountered anything similar before.
But would you mind providing more context so that we can potentially help you spot the problem?
e.g. the version of your python, torch, and torchvision; your cuda version, your system version, what GPU you were using, and what were the arguments you gave to make train.

Thank you for your answer. I have solved this question.but Now  I have a new problem when I want to train, in the backbone.py file, there is a Out of memory  problem, I am using two Nvidia Titan Xp graphics cards, each with 12GB of memory(batch-size is 2),So I would like to ask if the memory of my GPU is too small or if there is something wrong with my changes to the code.Thank you.

I am not exactly sure if the problem is caused by insufficient GPU memory, but under my estimation, 12GB would be somewhat close to the lower bound which a training pipeling of batch size 2 can be done. Also, I believe we have not yet implemented parallelizable training, so only one of the GPUs will be utilized.
Please try using a batch size of 1 to see if the problem persists. If it persists, there could be some memory leak problem.

Hello, I have the same question, could you tell me how you solved the question?

I've included the detailed information below.  I have tried according to the method on the Internet, but it doesn't work.

I met the same problem. Can you tell me how you solved it? I've tried the methods on the web, but it didn't work.

Closing this issue due to inactivity. Feel free to reopen if needed.


Support requesting a new account verification email from the SeaSketch client

Auth0 sends these, but they can be ignored, or sent to spam. If they were sent to spam months ago, what are users to do?

Duplicate of #573


Need to not disable the ServiceAccount Token controller

kube-bind relies on some of the behavior of the ServiceAccount Token controller.  Specifically, its creating an actual authorized token and putting it in the ServiceAccount's Secret (which kube-bind's bind operation creates). We considered trying to hack kube-bind's bind operation to add this behavior, but decided it would be better to stop disabling that controller. This will entail a few things.

[ ] Make the Placement Translator respect the edge.kubestellar.io/downsync-overwrite annotation, so that it does not get into a fight with that controller over the content of a ServiceAccount so annotated. This is #1273
[ ] Extend EdgePlacement so that it can specify that "create-only" mode externally to a workload object, to support third-party workload.
[ ] Go back to using plain kcp v0.11.0.
[ ] Currently kubectl-kubestellar-syncer_gen gives that controller 3 seconds to create the Secret and, if time runs out, requests a token and creates the Secret; it should not be so impatient.
[ ] Make KubeFlex not disable that controller.

@waltforme
@pdettori
@ezrasilvera
@yana1205

@yana1205 can you look at the remaining work items in this issue above?


Post release automated changes for operationalinsights releases

Post release automated changes for azure-arm-operationalinsights

API change check
API changes are not detected in this pull request.


Allow excluding assets at build time

Description
I imported several svgs in my code. With vite-plugin-vue2-svg, they were transformed to Vue 2 components. But these svg files were still processed at build time and served as static assets by Vite which was unnecessary:

Previously asked in discussion #11273 but it seems that Vite does not provide related config to exclude assets.
minimal repo: https://stackblitz.com/edit/vitejs-vite-hyu8bd
Suggested solution
Maybe add an assetsExclude like https://vitejs.dev/config/shared-options.html#assetsinclude in shared options?
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

This is caused by vite-plugin-vue2-svg using transform hook. In this case, I think load hook should be used like vite-svg-loader does.


code copied from saloni repo

Related Issues

What This PR Adds/Removes/Changes

Added

Changed

Removed

Caveats/Problems/Issues

Checklist

[ ] The issues that this PR fixes/closes have been mentioned above.
[ ] What this PR adds/changes/removes has been explained.

Closing this PR since it contains node_modules


options-search: configure title

I've just added a parameter to the search that allows configuring the title. I hope the suggested one is what you like.

I've just committed the change into the search repo, as I need to update the search input in order that the title parameter exists.
PS: I've only updated the search input and left all others untouched.

(I've copied the old title from the current navigation sidebar.)

I've just committed the change into the search repo, as I need to update the search input in order that the title parameter exists.

Ok I see. I have updated the lockfile in the meantime, so you should be able to rebase safely now.

done

@mergify queue


Ginormous tick marks on retina display

By typing this in a notebook, I can open a plot window.
scene = Scene(resolution = (800, 800))
display(Makie.image!(scene, rand(200,200)))`

I'm using a Mac and it plots at full "retina" resolution, which is really nice. However, the fonts and tick marks are enormous:

I can reduce the font sizes with
scene[Axis][:ticks][:textsize] = (3,3)
scene[Axis][:names][:textsize] = (3,3)

but the tick marks themselves are still massive:

I guess this is because, for some reason, on the retina display it thinks the plot has a really small physical size. But there isn't an obvious way for the user to change this (at least, I couldn't find it in the documentation or by poking around).  Just resizing the window doesn't help, because they get bigger proportionally.
Is there some way to make the sizes of the fonts and tickmarks appear generally more sensible?

I can replicate (on my Mac with Retina screen), but only when specifying the resolution - if I don't specify the resolution the font looks fine. Not really sure what may cause this, could be interesting to have a report from someone not on a Mac.
Btw it's not the tick marks that are big, it's the grid lines extending out past the image area. Makie's default Theme does not show axes or tick marks. Maybe grid lines should be turned off for heatmap/image plots?

I can confirm on Kubuntu 18.04, with a regular 1920x1080 display. Specifying the resolution does not help in my case.
I would expect gridlines by default, IIRC this is what matplotlib and matlab do.

@AndiMD, what do you mean by gridlines - the extensions out of the plot limits or something else?

@asinghvi17 Yes, I guess "tickmarks" would have been the appropriate term. For example, the default matplotlib.pyplot.imshow yields this:

Ah, I see.  That's a consequence of how we draw the axis lines.  Once the recipe and layout system are fully in place, we will probably get to that...

Is there any update on this?

I have the same issue on Windows, but worse. The grid extends by a full grid square on every side of the image.

@SimonWoods I think there is currently no remedy for this with only Makie, but you can try working with MakieLayout. Take a look at https://github.com/jkrumbiegel/MakieLayout.jl . Hopefully both packages will be integrated soon!

Yep, they'll be integrated at Vizcon!  The extra-long tickmarks are sort of baked into the axis drawing code, so any attempt to remove them will be extra annoying.  IMO, it's not worth the effort considering that MakieLayout will become part of Makie so soon...

@SimonWoods I think there is currently no remedy for this with only Makie, but you can try working with MakieLayout. Take a look at https://github.com/jkrumbiegel/MakieLayout.jl . Hopefully both packages will be integrated soon!

Yeah that works brilliantly, thank you!
using MakieLayout
scene, layout = layoutscene(1, 1, 30, resolution=(500,500))
la = LAxis(scene)
tightlimits!(la)
la.aspect = DataAspect()
layout[1,1] = la
image!(la, randn(200,200))
scene


Spoofing risks of title bar customization

This proposal doubles-down on an existing security problem with PWAs, which is that they can very convincingly spoof native apps. When this feature goes through security review, we'll have to figure out whether we're okay with accepting this risk, whether it can be mitigated, and whether the value of this feature is enough to outweigh the expanded spoofing vector. It would be great to brainstorm some mitigations in the explainer. I am particularly concerned that the PWA installation dialog doesn't convey that the user is making a trust decision by installing the app.

I am particularly concerned that the PWA installation dialog doesn't convey that the user is making a trust decision by installing the app.

FWIW, when a user adds a website to their home screen on iOS, we consider that an interesting signal from the user that they intend to use the website frequently, but we don't consider it a signal that they want any kind of relaxation to the web's security model. We may adjust things like quota and data retention policies, but we're unenthusiastic about relaxing anything security-related.

I agree with Emily, the explainer should proactively explore possible spoofing mitigations. What limitations, permissions, or gating signals have been considered for the proposed capability? Any thoughts that might also apply to existing standalone windows would be valuable too.
For sure, installation isn't a signal to relax web security. It may help to rethink how installation relates to window appearances and customization. Mobile web app appearances and customization may carry similar spoofing concerns, but this proposal doesn't touch on mobile, afaik.

This issue is related to https://github.com/MicrosoftEdge/MSEdgeExplainers/issues/229

@estark37 I agree that we need to dig into this more. Per the guidance provided by @michaelwasserman in this fugu process doc, we are working on putting together the Privacy and Security doc now. We also synced with our security team to get some spoofing mitigation ideas, and we will share those out in the doc shortly.
To keep all relevant discussion in one place, I'm going to dupe this to the existing issue regarding security and spoofing: #229


[FEA] Enable floating point by default

Is your feature request related to a problem? Please describe.
Today the plugin is conservative in asking users to enable floating point calculations by default.  There will always be some differences in floating point calculations between CPU and GPU.  We should enable floating point by default, by setting these configurations to true:
spark.rapids.sql.castDecimalToFloat.enabled
spark.rapids.sql.castFloatToIntegralTypes.enabled
spark.rapids.sql.castFloatToString.enabled
spark.rapids.sql.castStringToFloat.enabled
spark.rapids.sql.csv.read.float.enabled
spark.rapids.sql.json.read.float.enabled
spark.rapids.sql.improvedFloatOps.enabled
spark.rapids.sql.variableFloatAgg.enabled
Describe the solution you'd like
Enable floating point by default.  Allow users to disable float if they need to fall back to the CPU behavior.  Add a warning in the driver log to let users know when floating point operations are used and that there may be differences between CPU and GPU calculations of floats, and point them to the documentation related to floats.
We should also turn on spark.rapids.sql.incompatibleOps.enabled as part of this, and log warnings about incompatibleOps being on by default.
If a user has explicitly set a config to enabled then we should disable the warning.
Documentation will need to be updated as well, and this should be flagged in the release notes.
Describe alternatives you've considered
We could fix as many of the differences between floating point calculations between the CPU and GPU.  That will take quite a bit of time and may not get us all the way there.
Additional context
We've had floating point off by default because of concerns of users trying to do things with floating point aggregations like joins on floats or unions on floats.  However without floating point operations on, there is a performance hit as many operations will fall back to the CPU.

@sameerz what about spark.rapids.sql.castFloatToDecimal.enabled


Launch error

Hello,
When I try to launch any launcher, I got the following Error:
the filename, directory name, or volume label syntax is incorrect
Any ways to solve this problems?

Could you give more information about your operating system and the full error output?

In Windows OS
Thank you !

This looks a error from jupyter itself.
Does running jupyter console work?
If not, can you try conda install jupyter?

Yes, It's the erro from jupyter. I reinstall jupyter and it's working now.
Thanks

Excellent!


"IBM437 is not supported encoding name" exception when saving Excel workbook on daily PS 7.3 build

"IBM437 is not supported encoding name" exception is thrown when saving Excel workbook on daily PowerShell 7.3 build (link to full issue on PowerShell repository)

EPPlus attempts to call System.Text.Encoding.GetEncoding("IBM437"), but this fails due to changes in PowerShell internals.

The ideal solution would be for ImportExcel to distribute a version of EPPlus targeting .NET Standard, but we can work around the issue in the module.


[Enhancement] ThreadPoolToken releasing the tasks outside of lock

What type of PR is this：

[ ] bug
[ ] feature
[x] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

the threadpool is from kudu: https://github.com/apache/kudu/blob/master/src/kudu/util/threadpool.cc
    // Clear the queue under the lock, but defer the releasing of the tasks
    // outside the lock, in case there are concurrent threads wanting to access
    // the ThreadPool. The task's destructors may acquire locks, etc, so this
    // also prevents lock inversions.

F0720 10:02:59.244752 123894 threadpool.cpp:183] Check failed: _entries.empty()

if we declare destructor = default，compiler will disable the compiler-generated move constructor and move assignment operator.

run starrocks_admit_test

run starrocks_admit_test

run starrocks_admit_test

run starrocks_admit_test

run starrocks_admit_test


Add a contribution guide

We'd need some doc on the internal library maybe too.

Sorry for delaying -- that doc looks good to me.  Thanks very much!


Run QuickFeedbackLinux on Alpine weekly

This PR adds a QuickFeedbackLinux running with alpine TD agent.

I have squashed this PR as 8059d8cf01a7d14b4b8067477fb2e89dbd59bbc5


Convert from setup_tools to poetry for build backend

What it says on the tin: convert the build backend to Poetry. I already have a working Poetry workflow in my own project, and can do the conversion easily in a new branch, all that will be needed before merging to master is either reconfiguring Travis or switching to another CI. I haven't done much research on the different CI options, but @nidhaloff mentioned GitHub Actions which may be viable.

Added an initial commit on a new branch. It will fail travis. I also changed the conf.py for Sphinx to read the version number directly from pyproject.toml to try and centralize version numbers in one single place. Added toml to the dev-requirements to do the job since I don't know of a better way at the moment.

@nothead31 I added github workflows, so now we will use GitHub actions instead of travis. I noticed that the CLI tests have been always ignored because of how the function name is written. In test_cli.py, you named the function results_test. However, test function should have test_ as a prefix, not a suffix. I fixed that typo and now the cli tests are failing in both travis and github actions.
It would be great if you can check it out ;)

Ill look at it and see whats failing and ill add the changes in after i finish the poetry conversion


feat: adds support for ignores

Copy of https://github.com/actions-rs/audit-check/pull/221 (and https://github.com/GothenburgBitFactory/audit-check/pull/1!) with one additional commit (dc56dc8ce62eaa70a57ae27c1f61c3221e3299c8).
This isn't strictly necessary -- the action will already follow  .cargo/audit.toml -- but as @pinkforest said elsewhere, sometimes being able to control things in an action separately from in-repo files is useful.

btw - we need to update README for that - wanna send a PR ? cheers


Semicolon is replaced with a colon in a vec-inside-a-vec macro invocation

Here's a Rust file:
fn check() {
    let _ = vec![vec!(0; 10); 10];
}

Here's a result of running rustfmt --check against it:
Diff in /tmp/check.rs at line 1:
 fn check() {
-    let _ = vec![vec!(0; 10); 10];
+    let _ = vec![vec!(0, 10); 10];
 }

This replacement actually breaks the code: instead of creating an inner vector of 10 zeroes, a vector with two elements (0 and 10) is constructed.
The issue is reproducible on both the following versions:

stable — rustfmt 1.0.3-stable (d6829d6 2019-02-14)
nightly — rustfmt 1.2.2-nightly (5274b49 2019-04-24)
master — rustfmt 1.2.2-nightly (421ed946 2019-05-18)

I can't tell which behaviour is desirable: either keep the original declaration vec![vec!(0; 10); 10] or convert it into vec![vec![0; 10]; 10], but it is definitely not vec![vec!(0, 10); 10] :)

as a side note: using square brackets instead of parenthesis would leave it as is.

Thanks for a fast fix and for a workaround :)


fix #512

#512
@JasLin  I found after web wechat update its code by webwx-8a1ea56 and webwx-40649b7 we cannot identify real @ by magic code 8197 but normal blank 32
Please help to check my guess.
Using the following code:
.on('message', async function(m){
  const content = m.content()
  for (let i = 0; i < content.length; i ++) {
    console.log('[' + content[i] + ']的编码为:' + content.charCodeAt(i))
  }
})

New version wechat(>=6.5)
When I just mention wuli舞哩客服 with  @wuli舞哩客服
Log as follows， we cannot get a magic code(8197)
[@]的编码为:64
[w]的编码为:119
[u]的编码为:117
[l]的编码为:108
[i]的编码为:105
[舞]的编码为:33310
[哩]的编码为:21737
[客]的编码为:23458
[服]的编码为:26381
[ ]的编码为:8197

When I mention wuli舞哩客服 and say hi using @wuli舞哩客服 hi
Log as follows， we can get a magic code(8197) between @wuli舞哩客服 and hi
[@]的编码为:64
[w]的编码为:119
[u]的编码为:117
[l]的编码为:108
[i]的编码为:105
[舞]的编码为:33310
[哩]的编码为:21737
[客]的编码为:23458
[服]的编码为:26381
[ ]的编码为:8197
[h]的编码为:104
[i]的编码为:105

Old version wechat(<=6.3)
When I just mention wuli舞哩客服 with  @wuli舞哩客服
Log as follows， we cannot get a normal blank(32)
[@]的编码为:64
[w]的编码为:119
[u]的编码为:117
[l]的编码为:108
[i]的编码为:105
[舞]的编码为:33310
[哩]的编码为:21737
[客]的编码为:23458
[服]的编码为:26381

When I mention wuli舞哩客服 and say hi using @wuli舞哩客服 hi
Log as follows， we can get a normal blank(32) between @wuli舞哩客服 and hi
[@]的编码为:64
[w]的编码为:119
[u]的编码为:117
[l]的编码为:108
[i]的编码为:105
[舞]的编码为:33310
[哩]的编码为:21737
[客]的编码为:23458
[服]的编码为:26381
[ ]的编码为:32
[h]的编码为:104
[i]的编码为:105

So I change the code as this pull request shows.
Btw, delete some flatten array bug and typo error.

Changes Unknown when pulling 0b478bca54c60537a04b9f2d863b0bd2b51c62e9 on lijiarui:fix_mentioned into ** on Chatie:master**.

Changes Unknown when pulling 984c36f4b3f73822415ee213bba36480e538e585 on lijiarui:fix_mentioned into ** on Chatie:master**.

Changes Unknown when pulling 984c36f4b3f73822415ee213bba36480e538e585 on lijiarui:fix_mentioned into ** on Chatie:master**.


Are you using old TFLite binary with newer model?

Hello the tutorial and code have been working great. I have been able to create custom models with Google's AutoML export them to TFLite and then run them. On my latest export however I got an error when trying to run the newest model I exported. Does anyone know how to fix the following error? I think Tensorflow might need to be updated.
ValueError: Op builtin_code out of range: 130. are you using old TFLite binary with newer model?Registration failed.
The error occurs on this line interpreter = Interpreter(model_path=PATH_TO_CKPT)

hey did you finishes the first tutorial complete with tensorflow version 2?


Trader Joe: gOHM-FRAX LP

Vault: 0x42b2713e4eDA3C2275CE28696709A35CeB98A8E4
Strategy: 0xB0225E1c3BEd1aba89fa0c355de3941aC9FD6758
Want: 0x3E6Be71dE004363379d864006AAC37C9F55F8329
PoolId: 34

whats the APY and LPS price if you run it locally?

LPS price is $140.88
APY is still displaying as ??? but I've harvested the vault twice.

@roman-monk The issue was that I should have added to the Dual LP pools since the reward is paid in gOHM. It is displaying properly on my branch now:


Surface entity processing errors as conflicts

An error can occur when a submission is processed for entities. For example, a submission that tries to create an entity, but doesn't specify a UUID will result in an error. We show entity processing errors on the submission detail page.
However, it's easy for the user to miss these errors. We don't indicate in the submissions table whether a submission had an entity processing error, so unless the user visits the submission details page, they won't see the error. That's in contrast to entity conflicts, which we show in the entities table and elsewhere in Frontend. The idea of this issue is to surface entity processing errors as entity conflicts wherever possible, increasing their visibility.
Some entity processing errors refer to an existing entity. For example:

A submission tries to create an entity with a UUID that is already in use.
A submission tries to update an existing entity with a property that isn't on the entity list.

We could show these errors not just on the submission detail page, but also on the entity detail page. They would be counted as entity conflicts so that users would notice them from the entities table and other places. As with conflicts between entity updates, it would be possible to mark these errors as resolved. When an entity is marked as resolved, any current entity processing errors associated with it would no longer be shown as conflicts. (A future processing error about the entity would cause the entity to enter a conflict state again.)
At https://github.com/getodk/central/issues/682#issuecomment-2226462687, @ktuite suggested handling one case involving offline entities as an entity processing error. It'd be great if that error were surfaced in more places so that the user doesn't miss any entity data that's been collected. If this issue were implemented, the error would be surfaced as a conflict.

We were considering working on this as part of v2024.2, but we've decided to wait on it. Instead, we're going to track the number of entity processing errors that users encounter.


Support creation of indices on collections in the SQL API

Please support managing indices in the new version of the SDK. Version 2 allowed setting the property Indexes on IncludedPath. Version 3 does not (the property is marked as internal).

The fields have been deprecated, so they are not public anymore. In terms of query compat the collection will be created with range and precision -1.

How am I supposed to manage indices then? Please don't say "via the portal"...
(The documentation is, shall we say "sparse")

curious; what do you specifically want to do with them, i.e. what would you do in the portal?

The concept of indices have been deprecated. Everything is going to be:

DataType = number + string (null, boolean)
Precision = -1
Type = Range

So in terms on querying you are going to have a superset of what you used to have. There have been improvements made to storage, so you won't see a bloat.
You may still choose what paths are indexed by using included vs excluded.

@bchong95  Thanks for the info, I appreciate it!


Remove unused orientation attribute for Relative Layout in xml

The xml orientation attribute was left in when changing from LinearLayout to RelativeLayout as the codelab progressed. No harm, but could cause confusion for some.

Signed CLA


DependencyContext null

Using an application that is .netfull only (UI or UnitTest), one can get a NULL DependencyContext. causing the 'Init' function to throw an NullReferenceException. This occurs due to the lack of a manifest file.
Consider null check + warning: "return context == null ? new List() : context"
https://github.com/Xamla/ROS.NET/blob/faf1d2e5ffb96f73ee7c7b285e95c3b11131fc75/Uml.Robotics.Ros.MessageBase/TypeRegistryBase.cs#L59

change code with :
Assembly[] a = AppDomain.CurrentDomain.GetAssemblies(); return a.Where(x=> x.GetReferencedAssemblies().Any(y => referenceAssemblies.Contains(y.Name)));


Add VLAN support for on-a-stick mode

Running lwaftr on-a-stick mode with VLANs has the problem that lwAFTR configuration file can specify a VLAN tag for IPv4 packets and a different VLAN tag for IPv6 packets and the Intel82599 driver only allows one VLAN tag.
However, according to the Intel82599 Datasheet it seems it's possible to specify more than one VLAN tag for a NIC in VMDq mode:
Page 510, Section <IP_ADDRESS>.11

VLAN_FLT

VLAN Filter. Each bit ‘i’ in register ‘n’ affects packets with VLAN tags equal to 32*n+i.
128 VLAN Filter registers compose a table of 4096 bits that cover all possible VLAN
tags.

Each bit when set, enables packets with the associated VLAN tags to pass. Each bit
when cleared, blocks packets with this VLAN tag.

Snabb's Intel82599 driver already has coded implemented for allowing more than one VLAN tag, however its interface only expects one single VLAN value.
This PR enables VLAN tag on-a-stick mode and extends Intel82599 to allow initializing multiple VLAN tags.
lwaftr-vlan.conf
binding_table = binding_table.txt,
aftr_ipv6_ip = fc00::100,
aftr_mac_inet_side = 02:AA:AA:AA:AA:AA,
inet_mac = 02:99:99:99:99:99,
ipv6_mtu = 9500,
policy_icmpv6_incoming = DROP,
policy_icmpv6_outgoing = DROP,
icmpv6_rate_limiter_n_packets = 6e5,
icmpv6_rate_limiter_n_seconds = 2,
aftr_ipv4_ip = <IP_ADDRESS>,
aftr_mac_b4_side = 02:AA:AA:AA:AA:AA,
next_hop6_mac = 02:99:99:99:99:99,
ipv4_mtu = 1460,
policy_icmpv4_incoming = DROP,
policy_icmpv4_outgoing = DROP,
vlan_tagging = true,
v4_vlan_tag = 444,
v6_vlan_tag = 666,

Run lwAFTR:
sudo ./snabb lwaftr run -v --conf lwaftr-vlan.conf --on-a-stick 81:00.0

Packetblaster:
sudo ./snabb packetblaster replay v4v6-vlan-256.pcap 81:00.1

v4v6-vlan-256.pcap can be found here https://people.igalia.com/dpino/lwaftr/v4v6-vlan-256.pcap

Closing it as It only untags packets but do not tags them.


feat: fail early when trying to send empty payload

@fbarbu15 limitation of using js-waku CI is that js-waku does a number of check to avoid network access when it already know it will fail.
Which means that to properly test a remote node (e.g. nwaku) then we may need to add (separate) tests that skip this kind of checks.

@fbarbu15 limitation of using js-waku CI is that js-waku does a number of check to avoid network access when it already know it will fail.
Which means that to properly test a remote node (e.g. nwaku) then we may need to add (separate) tests that skip this kind of checks.

I see, maybe those types of scenarios can be better covered:

On nwaku/gowaku side by Alex/Roman
During interop testing


Issue: Apache Validation Error

Issue
Running into an apache Validation Error when trying to run script (in windows 10, tried with both: powershell and cmd).
Configuration File has been Setup as following:
;--------------------------;
; WampServer Configuration ;
;--------------------------;

; Your WampServer installation path.
wampServerInstallPath=C:\wamp64

; Your custom path to store your SSL certificates, keys, logs and vhost files.
; Ensure this path is NOT within your WampServer installation path.
wampServerExtensionsPath=C:\wamp64 - ssl auto config

;-------------------------;
; SSL Certificate Details ;
;-------------------------;

; These (common) ssl certificate details are used to build each developments domain name certificate.
;
; sslCity:             The full name of a city.
; sslState:            The full name of a state.
; sslCountry:          The two letter ISO code of a country.
; sslOrganisation:     The organisation name.
; sslOrganisationUnit: The unit name of a organisation.
; sslEmail:            Use the 'local' part of an email address followed by the @ (at) symbol only.
;                      IMPORTANT: Do not include the 'domain' part of the email address as the hostname will be auto-appended.
; sslDays:             The number of days you would like the certificates to remain valid for.

sslCity=City
sslState=State
sslCountry=US
sslOrganization=Some
sslOrganizationUnit=Development
<EMAIL_ADDRESS>sslDays=3650

;---------------------;
; Development Domains ;
;---------------------;

[Localhost]
hostname=localhost
documentRoot=c:/wamp64/www
http2=true

To Reproduce
Steps to reproduce the behavior:

Run Script'
See error

Expected behavior
Script should run through correctly
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Windows 10
apache<IP_ADDRESS>

Additional context
Console Ouput:
  WampServer SSL Auto Config (v1.2.3)
  -----------------------------------

  15:48:36.94 : Parsed configuration file.
  15:48:36.95 : Common 'logs' directory already exists.
  15:48:36.97 : Script initialised.
  15:48:36.99 : ---------------------------------------------
  15:48:37.02 : Found WampServer installation path.
  15:48:37.04 : Found WampServer Apache path.
  15:48:37.05 : Found WampServer Apache installation(s):
  15:48:37.09 :   'apache<IP_ADDRESS>'
  15:48:37.11 : Found OS 'hosts' file.
  15:48:37.16 : Found OS Apache service name.
  15:48:37.17 : Validating Apache config file(s):
  15:48:37.77 :   'apache<IP_ADDRESS>'
  15:48:37.80 : Using 'openssl.exe' from 'apache<IP_ADDRESS>'
  15:48:37.85 : Apache service already started.
  15:48:37.88 : OS 'hosts' file backed up.
  15:48:37.90 : Backing up Apache 'httpd.conf' file(s):
  15:48:37.93 :   'apache<IP_ADDRESS>'
  15:48:37.95 : Common 'certs' directory already exists.
  15:48:37.96 : Common 'vhosts\http' directory already exists.
  15:48:37.97 : Common 'vhosts\https' directory already exists.
  15:48:38.00 : Re-created common 'httpd-ssl.conf' file.
  15:48:38.02 : ---------------------------------------------
  15:48:38.04 : Localhost (localhost)
  15:48:38.06 :   'certs' directory already exists.
  15:48:38.08 :   'logs' directory already exists.
  15:48:38.12 :   Re-created 'openssl.cnf' file.
  15:48:38.16 :   Re-created Virtual Host http file.
  15:48:38.20 :   Re-created Virtual Host https file.
  15:48:38.26 :   Deleted old certificate from store.
  15:48:38.37 :     Generated certificate keys.
  15:48:38.41 :     Removed certificate passphrase.
  15:48:38.47 :     Generated Certificate.
  15:48:38.49 :     Deleted 'private.pem' file.
  15:48:38.55 :   Added new certificate to store.
  15:48:38.60 :   Attempting to add hostname to OS 'hosts' file.
  15:48:38.67 :   Hostname added to OS 'hosts' file.
  15:48:38.69 : ---------------------------------------------
  15:48:38.71 : Updating Apache primary config file(s):
  15:48:38.73 :   'apache<IP_ADDRESS>\conf\httpd.conf'
  15:48:38.83 :     'socache_shmcb_module' already uncommented.
  15:48:38.91 :     'ssl_module' already uncommented.
  15:48:42.52 :     'http2_module' uncommented.
  15:48:42.61 :     Added SSL Config link.
  15:48:42.69 :     Added HTTP vhosts link.
  15:48:42.77 :     Added HTTPS vhosts link.

  -----------------------------------------------------------

                            FAILURE

  -----------------------------------------------------------

  WampServer Apache Validation Error

  File:  See below
  Error: AH00526: Syntax error on line 4 of C:/wamp64 - ssl auto config/vhosts/https/conf/httpd-ssl.conf:

  Please correct the error in the stated configuration file and restart WampServer.

  -----------------------------------------------------------

  Press any key to exit.

C:/wamp64 - ssl auto config/vhosts/https/conf/httpd-ssl.conf
Listen 443

#   SSL Cipher Suite:
SSLCipherSuite HIGH:MEDIUM:!MD5:!RC4:!3DES
SSLProxyCipherSuite HIGH:MEDIUM:!MD5:!RC4:!3DES

#  Enforce the server's cipher order.
SSLHonorCipherOrder on

#   SSL Protocol support:
SSLProtocol all -SSLv3
SSLProxyProtocol all -SSLv3

#   Pass Phrase Dialog:
SSLPassPhraseDialog  builtin

#   Inter-Process Session Cache:
SSLSessionCache        "shmcb:c:/Apache24/logs/ssl_scache(512000)"
SSLSessionCacheTimeout  300

Hi @DerSchwarzeJugo
It looks like this is the not the first time you have run the ssl_config.bat script.
Did you have any problems with the script / output when you ran it for the very first time?
Your output indicates there was no backup of apache<IP_ADDRESS>. If there was a backup present it would have displayed 'apache<IP_ADDRESS>' already backed up.
The very first time you run ssl_config.bat (or after installing a new Apache version) the script should generate a backup of the WampServer Apache httpd.conf file(s), named httpd-backup.conf. Yours appears not to be there. Did you happen to manually delete it at any time?
Having this backup file allows us to quickly restore the Apache httpd.conf when things go wrong.
Can you please add to this thread the last dozen or so lines of your C:\wamp64\bin\apache\apache<IP_ADDRESS>\conf\httpd.conf file. They should look like something below.
# SSL Config - Additional
Include "C:\wamp64 - ssl auto configs/vhosts/https/conf/httpd-ssl.conf"

# HTTP Vhost(s) - Additional
Include "C:\wamp64 - ssl auto config/vhosts/http/*.conf"

# HTTPS Vhost(s) - Additional
Include "C:\Wwamp64 - ssl auto config/vhosts/https/*.conf"

As a side note, within your config.ini file please update the sslEmail line from<EMAIL_ADDRESS>to<EMAIL_ADDRESS>IE: Remove mail.com

In the meantime, I will test WampServer Apache version <IP_ADDRESS> and see if it plays nicely with the stated SSL Cipher Suits on line 4. IE: SSLCipherSuite HIGH:MEDIUM:!MD5:!RC4:!3DES

Hi @DerSchwarzeJugo
I just updated my WampServer to the latest version (being v3.3.1), installed the Microsoft Visual C++ Redistributable Package 2022 (VS17, both 32-bit and 64-bit) and installed Apache version <IP_ADDRESS>
The ssl_config.bat script worked as expected. No issues or errors.
My Apache <IP_ADDRESS> httpd.conf file was backed up without issue, then the (original) httpd.conf file was updated with the correct lines of code at EOF (end of file), ensuring all other custom .conf files are loaded and read / processed. All .conf files passed validation. Therefore, there must be no issue with the stated SSL Cipher Suits on line 4 of C:/wamp64 - ssl auto config/vhosts/https/conf/httpd-ssl.conf.
If need be, may I suggest you update your WampServer to the latest version and install Redistributable Package 2022 (if not already installed) as Apache <IP_ADDRESS> will need it to function correctly.
Additionally, as you don’t have the initial backup of the Apache <IP_ADDRESS> httpd.conf file, I recommend you delete the C:\wamp64\bin\apache\apache<IP_ADDRESS>\conf\httpd.conf file (plus the httpd-backup.conf file if it exists) and then reinstall the Apache <IP_ADDRESS> addon.
Let me know how you go and what results you get.

It seem like these two lines were not uncommented in httpd.conf
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
LoadModule ssl_module modules/mod_ssl.so

uncommenting these manually after running the script, did resolve the issue with the syntax error.
weirdly in the script output it says, that these two lines are already uncommented, but they are not

Hi @DerSchwarzeJugo
Thanks for the feedback.
On restore, automatic deletion of the backup file(s) occurs so that it working. :heavy_check_mark:
The Output of the last few lines of httpd.conf is correct. :heavy_check_mark:
I will check the "uncomment" logic at line 752 and line 772 to confirm correct operation.
That said, interesting that line 793 seemed to work for you without issue.
Thanks @DerSchwarzeJugo for your debugging and use of this script. :smiley:

Hi @DerSchwarzeJugo
I commented out in my httpd.conf file both lines you mentioned that you found commented out in your httpd.conf file.
C:\Wamp64\bin\apache\apache<IP_ADDRESS>\conf\httpd.conf
077  |  #
078  |  # Dynamic Shared Object (DSO) Support
079  |  #
...
185  |  #LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
...
187  |  #LoadModule ssl_module modules/mod_ssl.so

Running the ssl_config.bat script resulted in the same failure as you received, though my script failed during the very first Apache config validation step. Uncommenting these lines again results in a functioning script.
This is an interesting failure to note, being:

Commenting out the mod_socache_shmcb.so (Session) module whilst still having reference to the httpd-ssl.conf file in httpd.conf results in the below error:
Error: AH00526: Syntax error on line 18 of C:/wamp64 - ssl auto config/vhosts/https/conf/httpd-ssl.conf

Commenting out the mod_ssl.so (SSL) module whilst still having reference to the httpd-ssl.conf file in httpd.conf results in the below error:
Error: AH00526: Syntax error on line 4 of C:/wamp64 - ssl auto config/vhosts/https/conf/httpd-ssl.conf

C:/wamp64 - ssl auto config/vhosts/https/conf/httpd-ssl.conf
01  |  Listen 443
02  |
03  |  #   SSL Cipher Suite:
04  |  SSLCipherSuite HIGH:MEDIUM:!MD5:!RC4:!3DES
05  |  SSLProxyCipherSuite HIGH:MEDIUM:!MD5:!RC4:!3DES
06  |
07  |  #   Enforce the server's cipher order.
08  |  SSLHonorCipherOrder on
09  |
10  |  #   SSL Protocol support:
11  |  SSLProtocol all -SSLv3
12  |  SSLProxyProtocol all -SSLv3
13  |
14  |  #   Pass Phrase Dialog:
15  |  SSLPassPhraseDialog  builtin
16  |
17  |  #   Inter-Process Session Cache:
18  |  SSLSessionCache        "shmcb:c:/Apache24/logs/ssl_scache(512000)"
19  |  SSLSessionCacheTimeout  300

Whilst I am unsure how this misconfiguration (IE: Commenting out) of your httpd.conf file came to be, future debugging will be assisted by this issue.

hi @custom-dev-tools i am happy that i could provide some help :)
Many thanks to you, since this is a very useful and handy tool and I will gladly recommend it to all wamp users that need https access.


Remapping Underscore (ろ) key on Japanese keyboards

I have it set up correctly to my keyboard, and have remapped the keys to switch between English and Kana, etc. However, it doesn't currently seem possible to rebind the underscore key (bottom right, between forward slash and right Shift). Typing it in Simple Modifications simply defaults to the 0 key, and manually editing karabiner.json to remap from '_' doesn't work either.

"ろ" key is listed as "international1". With my Macbook Pro's internal keyboard and setting simple modification that changes international1 to a, I confirmed that typing "ろ" is acting as typing "a".

The following code works for me.
    {
      "description": "「ろ」(Underscore) -> Backslash",
      "manipulators": [
        {
          "type": "basic",
          "from": {
					"key_code": "international1",
					"modifiers": { "mandatory": [  ] }
				},
          "to": [
					{
					"key_code": "international3",
					"modifiers": [ "left_option" ]
					}
              ]
        }
      ]
    },


Add support for nullable values

Why this feature is required (specific use-cases will be appreciated)?
It is often needed to create an api which allows to unset values explicitely in a backend.
Since undefined is not serializable to JSON, we need to pass null to indicate that intent.
Currently, @adonisjs/validator does not have strong support for nullable fields. If a required field is null, validation fails, and if an optional field is null, validation will pass, but the property which was null will be stripped away from the validated result.
for example:
export default class DataValidator {
  public schema = schema.create({
    field: schema.number.optional(),
  });
}

// When passed {field: null} the validation result will be an empty object {}

I want null to be passed to the validated result because I need to pass it to lucid (using a model's merge method) to explicitely unset a nullable field. If the field is undefined, then the merge method will leave the column untouched in the database.
Have you tried any other work arounds?
I could always add some custom logic to controllers to add the missing null values before passing them to lucid, but that would blur separation of concern and complicate the code.
Are you willing to work on it with little guidance?
Yes

Fixed in https://github.com/adonisjs/validator/commit/c9a0e3aa4652014c6079bbd37b05e91b307ba590. Release + docs will be out during this week


Gblinear vs GbTree

This is a question, not an issue.
What is the precise difference between gbtree and gblinear boosters? Some article will suffice.
Thanks so much

Boosting is an ensemble meta-algorithm that iteratively trains sequences of weaker base learners.

gbtree booster uses version of regression tree as a weak learner
gblinear uses (generalized) linear regression with l1&l2 shrinkage. But since it's an additive process, and since linear regression is an additive model itself, only the combined linear model coefficients are retained. Also see #332.


[bug] Black screen on Windows after minimizing a maximized frameless window in multi-monitor setup

Describe the bug
When you have a frameless window with custom titlebar buttons and you maximize, minimize, then maximize again, the entire window sometimes just goes black. Sometimes the window won't be black, but the buttons no longer function. In the cases where the window isn't black the window remains responsive to system commands that control the window, such as clicking the application icon in the taskbar in order to minimize it. The behavior seems to be more stable when using toggleMaximize() rather than just maximize() and minimize().
Minimizing the window while not in maximized mode by clicking the application icon in the taskbar appears to fix the button as long as you're not in maximized mode.
As long as you don't enter maximized mode the behavior is stable, it's only when you've entered maximized mode that bugs start appearing.
Reproduction

Create a new project
Set "decorations": "false" in tauri.conf.json
Create buttons that run appWindow.toggleMaximize() and appWindow.minimize()
Maximize the window
Minimize the window
Open the window again
The minimize and/or maximize buttons now don't work, and sometimes the window is black

Expected behavior
The window was supposed to be maximized, minimized, then opened again, without buttons seizing to function or the window being black.
Platform and versions
Operating System - Windows, version 10.0.22000 X64
Webview2 - 98.0.1108.50
Visual Studio Build Tools:
   - Visual Studio Community 2019
   - Visual Studio Build Tools 2017
   - Visual Studio Community 2017

Node.js environment
  Node.js - 14.17.4
  @tauri-apps/cli - 1.0.0-rc.4
  @tauri-apps/api - 1.0.0-rc.1

Global packages
  npm - 7.22.0
  pnpm - Not installed
  yarn - Not installed

Rust environment
  rustup - 1.24.3
  rustc - 1.58.1
  cargo - 1.58.0
  toolchain - stable-x86_64-pc-windows-msvc

App directory structure
/.git
/.github
/.idea
/.nuxt
/node_modules
/src
/src-tauri
/target

App
  tauri - 1.0.0-rc.2 (no lockfile)
  tauri-build - no manifest (no lockfile)
  tao - no manifest (no lockfile)
  wry - no manifest (no lockfile)
  build-type - bundle
  CSP - unset
  distDir - ../public
  devPath - http://<IP_ADDRESS>:32146/
  framework - Vue.js (Nuxt)
  bundler - Webpack

Stack trace
No response
Additional context
I believe the issue is related to e.g. booleans being in the improper state, e.g. that using maximize() sets an internal value to keep track of its state, rather than fetching the actual state every time from the system. I have absolutely no idea why the maximized state of the application would influence the ability to minimize the window. So far I've only had these issues when using custom buttons with a frameless window, using a normal decorated window has thus far been problem free.
The black window issue only happens sometimes when I try the procedure on one of my monitors, on the other it never happens. On both monitors the buttons no longer functioning occurs. By exiting maximized mode and using system commands to minimize and unminimize the window it would appear that the buttons start to work again, until you break then again.

Can you guys test with this one
WebView2GettingStarted.zip

Forgot the dll files, try this one
Webview2GettigStarted.zip

I tried it out and could not get the issue to reproduce with this sample app. 🥳

Glad to hear that, a fix will be available in the next release.

PR is up #472, to try it out, apply the following patch to your projects and run cargo update:
[patch.crates-io]
tao = { git = "https://github.com/tauri-apps/tao", branch = "correct-monitor" }

Yes, this seems to be working! Thank you for your work on this.


Backport timer reset() fix to v0.16

What happened?
This issue:

#241

What did you expect instead?
The timer resetting properly.
Affected version(s)
v0.15+
Affected part(s)
Utility receivers, Event, FileWatcher, Timer, etc. (part:receivers)
Extra information
We need this backported to v0.16 becasue the SDK v0.25 uses it.

Done in #246.


Added Nat.pow properties

I needed the usual properties of Nat.pow so I added into power_more.kind.
I'm not aware of your naming/structuring conventions, so I put it directly into base/Nat.
Also, I needed an auxiliary lemma pow.swap to make the whole thing work,
which came out awful due to my clumsiness with the Kind language; so I look forward to a better version of it (if you want to enlighten me on this)

Hello, sorry for the delay and thanks for your contribution.
Could you change the functions' names and separate the definitions in different files? Actually we use this pattern in Kind: the definition Foo.Bar.foobar must be inside Foo.kind or Foo/Bar.kindor Foo/Bar/foobar.kind, so Kind can find them. So what you can do is add Nat. to each definition name and place them separately in Nat/pow/<name_of_def>.kind files.
We also suggest to change Nat.pow.add to Nat.pow.add_right and Nat.pow.swap to Nat.mul.comm.swap

Thanks for the comments!
I renamed and split the definitions into the new folder base/Nat/pow


change conversation ID to be a byte array CORE-3998

@maxtaco @patrickxb @chrisnojima r?
The purpose of this PR is to change the ConversationID type to a byte array. I chose that over string because it is a little more consistent with the types in the rest of the chat API (everything comes out as bytes).
@chrisnojima, if this is too annoying in JS, let me know, and I can see about making it a string.

Corresponding Gregor PR: https://github.com/keybase/gregor/pull/208


Upgrade to rand 0.8.3

Just upgrade rand to 0.8.3.
Signed-off-by: Chojan Shang<EMAIL_ADDRESS>

:umbrella: The latest upstream changes (presumably #286) made this pull request unmergeable. Please resolve the merge conflicts.

Because different platforms have different requirements for from_seed, use seed_from_u64 instead

cc @Amanieu

@bors r+

:pushpin: Commit e1ec9e63f9e9032b3acaaf411be10a2fadba78a0 has been approved by Amanieu

:hourglass: Testing commit e1ec9e63f9e9032b3acaaf411be10a2fadba78a0 with merge dbd6dbe30a4076c0ea65ca5bd57036c27f3cc7c9...

:sunny: Test successful - checks-actions
Approved by: Amanieu
Pushing dbd6dbe30a4076c0ea65ca5bd57036c27f3cc7c9 to master...


376 rlp improvements

add documentation
stricter bounds checking
More negative test cases

@kevsul thanks for looking into the PR. Am still working on it, should finish soon.

Is this ready for a second review? @thec00n

@boolafish yes please


Problem with non-hardcoded range dates

I'm having a trouble when I set the dates dynamically: start-date="{{rangeDate.yesterday}}" end-date="{{rangeDate.today}}"
Even when rangeDate.today and rangeDate.yesterday is in the specified format (YYYY-MM-DD).

Also, I see that the repo hasn't been updated in a while, is there someone maintaining the project?

The problem was that I have some events in january and I forgot to add + 1 when constructing the months -_-
My bad.


Adding router log trace only from values.yaml level

Purpose
fixes: https://github.com/wso2/apk/issues/1692

Codecov Report
Patch coverage has no change and project coverage change: +55.96% :tada:

Comparison is base (150c5f5) 24.14% compared to head (43a92ab) 80.10%.
Report is 12 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1693       +/-   ##
===========================================
+ Coverage   24.14%   80.10%   +55.96%
===========================================
  Files         186        9      -177
  Lines       25218      548    -24670
  Branches     2558      246     -2312
===========================================
- Hits         6088      439     -5649
+ Misses      18868      109    -18759
+ Partials      262        0      -262

Flag
Coverage Δ

adapter
?

common-controller
?

idp-domain-service
80.10% <ø> (?)

router
?

Flags with carried forward coverage won't be shown. Click here to find out more.
see 195 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


KeyError: 'No history metric available for val_loss!'

Hi,
When I run the training script below
sh scripts/train.sh -d s3dis -c semseg-ptv2m2-0-base -n semseg-ptv2m2-0-base-test -g 3
I have met the following error.
Experiment name: semseg-ptv2m2-0-base-test
Python interpreter dir: python
Dataset: s3dis
Config: semseg-ptv2m2-0-base
GPU Num: 3
 =========> CREATE EXP DIR <=========
Experiment dir: /root/Pointcept/exp/s3dis/semseg-ptv2m2-0-base-test
Loading config in: configs/s3dis/semseg-ptv2m2-0-base.py
Running code in: exp/s3dis/semseg-ptv2m2-0-base-test/code
 =========> RUN TASK <=========
[2023-05-22 12:12:53,447 INFO train.py line 112 15561] => Loading config ...
[2023-05-22 12:12:53,447 INFO train.py line 114 15561] Save path: exp/s3dis/semseg-ptv2m2-0-base-test
[2023-05-22 12:12:54,249 INFO train.py line 115 15561] Config:
weight = None
resume = False
evaluate = True
test_only = False
seed = 41401978
save_path = 'exp/s3dis/semseg-ptv2m2-0-base-test'
num_worker = 16
batch_size = 12
batch_size_val = 3
batch_size_test = 1
epoch = 3000
eval_epoch = 100
sync_bn = False
enable_amp = True
empty_cache = False
find_unused_parameters = False
max_batch_points = 100000000.0
mix_prob = 0.8
param_dicts = None
hooks = [
    dict(type='CheckpointLoader'),
    dict(type='IterationTimer', warmup_iter=2),
    dict(type='InformationWriter'),
    dict(type='SemSegEvaluator'),
    dict(type='CheckpointSaver', save_freq=None)
]
test = dict(type='SemSegTester')
model = dict(
......
)
    criteria=[dict(type='CrossEntropyLoss', loss_weight=1.0, ignore_index=-1)])
optimizer = dict(type='AdamW', lr=0.006, weight_decay=0.05)
scheduler = dict(type='MultiStepLR', milestones=[0.6, 0.8], gamma=0.1)
dataset_type = 'S3DISDataset'
data_root = 'data/s3dis'
data = dict(
,,,,,,
)
num_worker_per_gpu = 5
batch_size_per_gpu = 4
batch_size_val_per_gpu = 1

[2023-05-22 12:12:54,249 INFO train.py line 116 15561] => Building model ...
[2023-05-22 12:12:54,348 INFO train.py line 190 15561] Num params: 3908641
[2023-05-22 12:12:54,433 INFO train.py line 118 15561] => Building writer ...
[2023-05-22 12:12:54,434 INFO train.py line 198 15561] Tensorboard writer logging dir: exp/s3dis/semseg-ptv2m2-0-base-test
[2023-05-22 12:12:54,434 INFO train.py line 120 15561] => Building train dataset & dataloader ...
[2023-05-22 12:12:54,435 INFO s3dis.py line 49 15561] Totally 0 x 30 samples in ('Area_1', 'Area_2', 'Area_3', 'Area_4', 'Area_6') set.
[2023-05-22 12:12:54,435 INFO train.py line 122 15561] => Building val dataset & dataloader ...
[2023-05-22 12:12:54,435 INFO s3dis.py line 49 15561] Totally 0 x 1 samples in Area_5 set.
[2023-05-22 12:12:54,436 INFO train.py line 124 15561] => Building optimize, scheduler, scaler(amp) ...
[2023-05-22 12:12:54,438 INFO train.py line 128 15561] => Building hooks ...
[2023-05-22 12:12:54,438 INFO misc.py line 175 15561] => Loading checkpoint & weight ...
[2023-05-22 12:12:54,438 INFO misc.py line 194 15561] No weight found at: None
[2023-05-22 12:12:54,438 INFO train.py line 135 15561] >>>>>>>>>>>>>>>> Start Training >>>>>>>>>>>>>>>>
[2023-05-22 12:12:54,631 INFO misc.py line 124 15561] Train result:
[2023-05-22 12:12:54,631 INFO evaluator.py line 83 15561] >>>>>>>>>>>>>>>> Start Evaluation >>>>>>>>>>>>>>>>
Traceback (most recent call last):
  File "exp/s3dis/semseg-ptv2m2-0-base-test/code/tools/train.py", line 34, in <module>
    main()
  File "exp/s3dis/semseg-ptv2m2-0-base-test/code/tools/train.py", line 23, in main
    launch(
  File "/root/Pointcept/exp/s3dis/semseg-ptv2m2-0-base-test/code/pointcept/engines/launch.py", line 72, in launch
    mp.spawn(
  File "/usr/local/miniconda3/envs/point2cadseq/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 240, in spawn
    return start_processes(fn, args, nprocs, join, daemon, start_method='spawn')
  File "/usr/local/miniconda3/envs/point2cadseq/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 198, in start_processes
    while not context.join():
  File "/usr/local/miniconda3/envs/point2cadseq/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 160, in join
    raise ProcessRaisedException(msg, error_index, failed_process.pid)
torch.multiprocessing.spawn.ProcessRaisedException:

-- Process 0 terminated with the following error:
Traceback (most recent call last):
  File "/usr/local/miniconda3/envs/point2cadseq/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 69, in _wrap
    fn(i, *args)
  File "/root/Pointcept/exp/s3dis/semseg-ptv2m2-0-base-test/code/pointcept/engines/launch.py", line 131, in _distributed_worker
    main_func(*cfg)
  File "/root/Pointcept/exp/s3dis/semseg-ptv2m2-0-base-test/code/tools/train.py", line 16, in main_worker
    trainer.train()
  File "/root/Pointcept/exp/s3dis/semseg-ptv2m2-0-base-test/code/pointcept/engines/train.py", line 153, in train
    self.after_epoch()
  File "/root/Pointcept/exp/s3dis/semseg-ptv2m2-0-base-test/code/pointcept/engines/train.py", line 93, in after_epoch
    h.after_epoch()
  File "/root/Pointcept/exp/s3dis/semseg-ptv2m2-0-base-test/code/pointcept/engines/hooks/evaluator.py", line 80, in after_epoch
    self.eval()
  File "/root/Pointcept/exp/s3dis/semseg-ptv2m2-0-base-test/code/pointcept/engines/hooks/evaluator.py", line 117, in eval
    loss_avg = self.trainer.storage.history("val_loss").avg
  File "/root/Pointcept/exp/s3dis/semseg-ptv2m2-0-base-test/code/pointcept/utils/events.py", line 378, in history
    raise KeyError("No history metric available for {}!".format(name))
KeyError: 'No history metric available for val_loss!'

Does anyone know how to fix it?
A million thanks.
Weijian

Totally 0 x 30 samples in ('Area_1', 'Area_2', 'Area_3', 'Area_4', 'Area_6') set.

Please check if you have linked the data to data/s3dis/.

Okay, thanks, i linked the data and it works fine


Docker on Windows 10 Bulid error

Use:
-windows 10
-Docker version 26.1.4, build 5650f9b
When run
docker-compose up -d --build get error:
=> ERROR [app builder 5/5] RUN CGO_ENABLED=0 GOOS=linux go build -o seonaut cmd/server/main.go                    0.6s

[app builder 5/5] RUN CGO_ENABLED=0 GOOS=linux go build -o seonaut cmd/server/main.go:
0.324 package cmd/server/main.go is not in std (/usr/local/go/src/cmd/server/main.go)

failed to solve: process "/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -o seonaut cmd/server/main.go" did not complete successfully: exit code: 1

I have also been in this situation for dozens of times, but I still can't pull it down. I can't find the CSS of the static page by running it directly


Add ability to override the max number of instances to autoscale up to.

Keeps the default value of 10 instances, but allows users to override that value if desired.

Thanks -- LGTM!


Able to add duplicate songs to queue.

Able to add duplicate songs to queue. When a track is already in the queue, Is there a possibility to not to add again ?.

That seems like a bug, but we plan to remove the id parameter from the track, so everything uses the track index instead, which means you'll have to be checking for duplicates by yourself anyway.

It has been removed in v2.


Pending transaction management & send raw transaction rpc method

Changed:

changed the way to subscribe to messages from peer (one PeerMessageBus instead of subscribing to PeerActor directly)
added PendingTransactionsManager (to be used by miner)
added sendRawTransaction rpc method

~WIP:~
~- need to update remaining tests~

Apart from the problem on catching exceptions on decoding wrongly encoded tx, which should be easily fixed, and my last optional comment, LGTM!

LGTM


Adding note to docs re Forward80To443 related to Let's Encrypt

Added note that Forward80To443 config.json setting should also be set to true when enabling Let's Enrypt.

Thanks!


net/http: concurrent HTTP2 client requests to a single nginx server returns GOAWAY NO_ERROR after a while

What version of Go are you using (go version)?
go version go1.7.3 linux/amd64
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/folnin/go"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build294525165=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"

What did you do?
Have multiple goroutines accessing single nginx server over HTTP2.
Default nginx installation will serve up to 1999 streams (1000 requests) over single HTTP2 TCP connection before returning GOAWAY and closing the connection. It is controlled by http2_max_requests directive. If multiple goroutines are making requests when server issues GOAWAY, reconnect is handled ungracefully and some goroutines receive error instead of requested content. If http client is used by single goroutine synchronously such errors never occur.
Example code:
https://play.golang.org/p/mPaBxuuRmm
Please note that this code will not work inside playground because of network access restrictions. It will work if executed locally. Example contains publicly accessible server that is operated by me. The error can be reproduced by connecting to nginx.com CDN as well (URL is commented out in the example) however it has much higher http2_max_requests configured and one have to wait much longer for the error to occur (~15k connections last time I tired).
What did you expect to see?
Application looping forever without errors (except network connectivity issues or server side errors).
What did you see instead?
After ~1000 requests server tries to close TCP connection with GOAWAY, some requests are terminated with an error:
http2: server sent GOAWAY and closed the connection; LastStreamID=1999, ErrCode=NO_ERROR, debug=""
If only one goroutine is making requests this error never occurs.

/cc @tombergan

Thanks for the detailed repro. This sounds like the same problem hypothesized in #18083: we don't gracefully handle GOAWAY(NO_ERROR) if the GOAWAY is received at certain points during the RoundTrip call.

This should now be fixed by https://github.com/golang/net/commit/8dab9293431a241c65a8e8d46bbaa0492ec94849 which will be in Go 1.8.


Multi tags - Error shows up when disabling "Required" toggle

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.83-1
Reproducible in staging?: y
Reproducible in production?: n
If this was caught during regression testing, add the test name, ID and link from TestRail: exp around https://expensify.testrail.io/index.php?/tests/view/4631261
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: applause internal team
Slack conversation:
Action Performed:
Precondition:

Workspace is set up with multi dependant tags.
"People must tag expenses" is disabled on Old Dot.

Click on any tag.
Disable "Required" toggle.

Expected Result:
The "Required" toggle can be disabled.
Actual Result:
The "Required" toggle cannot be disabled. It shows "An error occurred while updating the tag, please try again." when disabling "Required" toggle.
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
https://github.com/Expensify/App/assets/38435837/22be9cb4-ffd8-4c6e-aa9e-f2aae6150cb6

View all open jobs on GitHub

@adelekennedy FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

We think that this bug might be related to #wave-collect - Release 1

So, the expected result here should be to hide the Required toggle, the same way we do in prod, because dependent tag lists cannot be required.

Let me try to find what changed.

Removing blocker since this is not a main flow and required dependent tags.

So, the expected result here should be to hide the Required toggle, the same way we do in prod, because dependent tag lists cannot be required.

I agree!
New Expensify when there are multi-level tags

Old Expensify when there are multi-level tags

@trjExpensify, can you confirm that we should hide the top level "Members must tag all expenses" when there are multi-level tags?
If we're going to go ahead with that, one potential issue is that the Settings page won't have any content when there are multi-level tags with accounting connection. Should we hide the Settings button from the tag list page?

@rlinoz, if you don't mind, I can take over this issue as I worked on multi level tags 😄

@adelekennedy Please assign me to the issue here for tracking the payment

[x] The PR that introduced the bug has been identified. Link to the PR: https://github.com/Expensify/App/pull/42972
[x] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: https://github.com/Expensify/App/pull/42972#discussion_r1657123658
[x] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: N/A
[x] Determine if we should create a regression test for this bug. Yes
[x] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.

Regression Test Proposal

Enabled dependent tags in OldDot by importing a CSV and unchecking the Are these independent tags? checkbox
In NewDot go to Workspace > Tags > Settings and check that Members must tag all expenses
Now select a tag
Verify that no required toggle is shown
Go back to OldDot, import a CSV and keep Are these independent tags? checked
In NewDot select a tag
Verify that the required toggle is visible and we can toggle it

Do we agree 👍 or 👎

Payouts due:

[ ] Contributor+: $250 @jayeshmangwani (NewDot)

https://github.com/Expensify/Expensify/issues/409497

Requested $250 on NewDot.

$250 approved for @jayeshmangwani


Kit version 1.3

Todo:

Update README and documentation (gh-pages).
Update OpenKit and GuiKit.
Add minified versions of dist files.
Test code in-game.

Are you trying to ressurect kit alex?

lol


popover generates : Cannot read property 'split' of undefined

Hi,
I have recently updated my frameworks and libs version. I want to use popover directive but it generates and error in jquery (Cannot read property 'split' of undefined).
After debugging I found that problem comes from this line in angular-ui :
var positionStrParts = positionStr.split('-'); (line 910)

This line is call here :
var ttPosition = $position.positionElements(element, tooltip, scope.tt_placement, appendToBody); (line 2533)

So I searched for scope.tt_placement which seems to be the root problem.
I found that this variable is only set here :
attrs.$observe( prefix+'Placement', function ( val ) {
              scope.tt_placement = angular.isDefined( val ) ? val : options.placement;
});

So we observe placement attritube to set scope.tt_placement.
To fix the error I was obliged to set popover-placement and it works fine.
Is it a normal behavior ? In examples I saw some popover without this attribute.
Is it a bug or a documentation/code alignment problem?
In any cases, thanks for your work ;)
Version :

angular : 1.3
ui-bootstrap: 0.11.2
jquery 2.1

+1, experiencing this issue for both tooltips and popovers (dependency on tooltips) with Angular 1.3

+1
Seeing this too in popovers. I can confirm that the work around is to explicitly specify the popover-placement attribute in the html and the error goes away.

There seems to be a problem with placement/position of  tooltips, and popovers. It has something to do with the changes to angular.isDefined which works differently in AngularJS 1.2 & 1.3
Here are a few directives to patch the issues by setting defaults
        // Bootstrap UI fixes after upgrading to Angular 1.3
        .directive('tooltip', function() {
            return {
                restrict: 'EA',
                link: function(scope, element, attrs) {
                    attrs.tooltipPlacement = attrs.tooltipPlacement || 'top';
                    attrs.tooltipAnimation = attrs.tooltipAnimation || true;
                    attrs.tooltipPopupDelay = attrs.tooltipPopupDelay || 0;
                    attrs.tooltipTrigger = attrs.tooltipTrigger || 'mouseenter';
                    attrs.tooltipAppendToBody = attrs.tooltipAppendToBody || false;
                }
            }
        })

        .directive('popover', function() {
            return {
                restrict: 'EA',
                link: function(scope, element, attrs) {
                    attrs.popoverPlacement = attrs.popoverPlacement || 'top';
                    attrs.popoverAnimation = attrs.popoverAnimation || true;
                    attrs.popoverPopupDelay = attrs.popoverPopupDelay || 0;
                    attrs.popoverTrigger = attrs.popoverTrigger || 'mouseenter';
                    attrs.popoverAppendToBody = attrs.popoverAppendToBody || false;
                }
            }
        })

I'm not seeing this issue anymore when running against the latest master.  Seems somewhere along the way the observe for the placement attribute was removed and the prepPlacement function is called whenever the tooltip is opened (showTooltipBind() -> prepareTooltip() -> prepPlacement()) which sets the scope.placement property correctly.

Closing as already fixed.


Add Angular Cr meetup

PR Checklist
Please check if your PR fulfills the following requirements:

[X] The commit message follows our guidelines: https://github.com/ngneat/transloco/blob/master/CONTRIBUTING.md#commit
[X] Tests for the changes have been added (for bug fixes / features)
[X] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[X] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
This PR is adding a meetup located in Costa Rica
Does this PR introduce a breaking change?

[ ] Yes
[X] No

Other information

Thanks for your contribution Giovanni!


Quickly delete all caches

Describe the feature or problem you’d like to solve
We had a weird Maven failure in GHA that I suspected was due to a corrupted cache. I wanted to delete all of the caches for Maven. Doing this was more work than expected, since I had to write a shell loop to list the cache keys, parse out the key, then call delete.
Proposed solution
Adding an option to delete multiple keys would be helpful:
gh actions-cache delete --glob 'setup-java-Linux-maven-*'

Or even adding a --all flag to delete everything.

Hi @electrum thank you for your wonderful suggestion! :)
Currently, we are planning for some enhancements on the current CLI on making it better and I've added your suggestion in list. We will prioritise based on the urgent needs and feedback from other users.
In the meantime, in case you wish to contribute, please feel free to raise a Pull Request for your suggested feature and we will be happy to review the same.
Thanks! :)

for anyone else looking for a convenient one liner to delete all caches in the meantime

In case you want to delete the largest ones first:
gh actions-cache list --sort size --order desc | tail -n +5 | cut -f1 | xargs -I@ gh actions-cache delete @ --confirm

This one-liner does it in a simpler way, but also runs it in parallel as many as the number of cores of your machine.
gh actions-cache list --limit 100 | awk '{print $1}' | xargs -P $(getconf _NPROCESSORS_ONLN) -I HASH gh actions-cache delete HASH --confirm

👋 This extension is being deprecated in favor of the built-in gh cache functionality of the gh CLI.
https://github.com/actions/gh-actions-cache/pull/86
This should work in gh cache with gh cache delete --all.


New version: z-------------.cpod.Pre-release version 1.2.2

.
Microsoft Reviewers: Open in CodeFlow

Should I move all z-------------.cpod.Pre-release to z-------------.cpod?

(Only in version 1.5.2)

This is just a version schema change. The Pre-release line is being kept, but won't have -beta appended. So PR submitters will need to be more vigilant in verifying if the release is mainline or pre-release, and add to the appropriate PackageIdentifier.
Merging them could easily create the unwanted situation of providing pre-release packages to mainline users.