promise was created in a handler but was not returned (express route)

It seems to be an Objection error, because express says it's not them.
https://github.com/expressjs/express/issues/3257 https://github.com/expressjs/express/issues/3777
(And besides, I can not get this error by new Promise(r=>{setTimeout(()=>r('foo')},10)}))
This code displays a warning (Node 8)
(node:12684) Warning: a promise was created in a handler at .\node_modules\express\lib\router\index.js:317:13 but was not returned from it, see http://goo.gl/rRqMUw
    at Function.Promise.attempt.Promise.try (.\node_modules\bluebird\js\release\method.js:29:9)

router.get('/t1', (req, res) => {
    return User.query().findById(1).then(u=>{
      return res.send(u)
    })
})

And this is OK:
router.get('/t2', async (req, res) => {
  let u = await User.query().findById(1)
  return res.send(u)
})

I know that I can mute this by set BLUEBIRD_W_FORGOTTEN_RETURN = 0 or express-promise-router
But I would prefer not to use such tricks - to give me a serious error is not hidden.

Cannot reproduce. If you want me to look into this further, please provide a full reproduction I can run with a single command.

I'd guess this is caused by you returning res.send(u). No need to return that. It's not async.

I did more tests and was guilty is objection in passport.deserializeUser
app.use(passport.session());
//...
passport.deserializeUser(async function(user, cb) {
    //*
    return User.query().findById(user.user_id).then(function(u) {
        cb(null, u.toPassport());
    }).catch(function(err) {
        console.error(err);
        cb(null, false, {error: 'err'});
    });
    return
    /*/
   try {
       let u = await User.query().findById(user.user_id)
       if(u && u.user_id > 0)
        return cb(null, u.toPassport());
   } catch (err) {}
   cb(null, false, {error: 'error'});
   //*/
});
//where toPassport is defined as:

  toPassport() {
    return {
      user_id:    this.user_id,
      username:   this.username,
      role:       this.role,
      transfer:   (this.transfer),
      time_check: new Date().getTime()
    }
  }

Yeah, not objections fault.

If you yourself write code that creates promises inside then but return nothing, how is that objection's fault? Just fix your own code.

Also, why don't you just use async/await? There are no such problems with that because it wraps all promises to native promises.


Improve UI of social media icons in footer.

Improve UI of social media icons in footer section. Please assign me this task under GSSoC'23.

Hello akshaysoni10, thanks for opening a issue, your contribution is valuable to us. The maintainers will review this issue and provide feedback as soon as possible.


x/pkgsite: package removal request for https://pkg.go.dev/github.com/emar-kar/region

What is the path of the package that you would like to have removed?
https://pkg.go.dev/github.com/emar-kar/region/v2
https://pkg.go.dev/github.com/emar-kar/region

Are you the owner of this package?
Yes

What is the reason that you could not retract this package instead?
Repository is already deleted. I didn't even know this test util was published on pkgsite

Can you recreate the repo, publish new versions with retract directives, and then delete it again?

@bcmills Can I create just a blank project or should search sources for the original one?

Done

The project can be empty except for the go.mod file containing the retract directive.
You'll need to tag the commit containing the retract directive with a release higher than the previous releases (v1.0.1 and v2.5.1?) and have the retract directive cover every version up to and including the new tags, then fetch those versions through the proxy to get it to pick up the retractions.

I see the retraction notice for v1. Note that there is a typo in the tag for v2.5.4 — the tag is v.2.5.4 (with an extra leading ..

Oh yeah, sorry. Just fixed the tag name

Okay, now the only version I can get is v0.0.0

Is this WAI now? I see the retract notifications for those modules.

Ok, closing. Please comment if I am closing erroneously.


StatusCode::Forbidden (403) has the description of StatusCode::NotFound (404)

Noticed this just now: docs.rs link

Ha, good catch! -- this must've been an issue copy-pasting the docs.

This was fixed in https://github.com/http-rs/http-types/pull/341 , which will go into http-types 3, but it hasn't yet been released in a 2.x stable version.

This was fixed and released in 2.11.0


Downloading and extracting tabs starter - failed!

i am new on ionic, when i am creating a app project by ionic, i encounter a problem like this

can anyone help me? thanks!

Hello! Thank you for opening an issue with us!
The Ionic Framework issues list is designated for the reporting of bugs with the Ionic Framework or for requesting new features. As this seems like more of a support question I am going to close this issue.
I urge that you ask this question on our forum or on our slack channel.
Question: are you behind some sort of firewall when you do this (corporate, school, etc.)? If so, that could potentially contribute to what you are seeing.
Thanks for using Ionic!

thanks for explaining, and i am sorry for opening an issue on here.

@kensodemann;   I have the same problem. What should I do?

Most of the time, these sorts of issues occur if you are behind a corporate or school firewall. Would either of these situations apply to you? If so, you need to work with whoever is in charge of said firewall. If not, then there is some other issue with your network such that something that ionic start is trying to fetch is not accessible at the moment. Double check your proxy settings as well.

I see. Thank you very much.


Quick fixes for some copy errors in the README

Just reading up on it and noticed these were wrong and/or didn't match the examples below. Good stuff!

Thanks. You shouldn't have. Really, you shouldn't have looked at this code.  It's harmful.

Thanks. You shouldn't have. Really, you shouldn't have looked at this code.  It's harmful.


Branch mf

Hi Jonny, this includes:

'Thinking' post on online consultations
Adding my profile to 'Team'
Amendment in authoring of the PHM risk strat git project
Adding the nhsx-publications project to 'projects'
Slightly amending 'How-to' for windows
Gemfile : had to add a line for it to work in windows: gem 'wdm', '>= 0.1.0' (possibly worth checking it this impacts mac serve)
Managed to preview with ruby/kejyll/bundle and it looked overall fine configuration-wise
Thanks!

Thanks @JRPearson500 , I've actioned the changes and removed the second gemfile.

Might be another way to do the tables.

Group
Characteristic
Overall
Had any GP consultation
Had OC coding instance

Count
Total
N = 20,651,036
N = 17,166,765
N = 1,087,919

Sex
Female
9,599,496 (49%)
9,172,833 (53%)
661,235 (61%)

Sex
Male
9,963,322 (51%)
7,993,645 (47%)
426,654 (39%)

Sex
Other/Unknown
299 (<0.1%)
287 (<0.1%)
30 (<0.1%)

Age
Total
41 (21, 59)
44 (24, 61)
43 (27, 58)

Age group
(0,18]
4,151,378 (21%)
3,279,485 (19%)
147,313 (14%)

Age group
(18,40]
5,388,980 (28%)
4,295,711 (25%)
349,162 (32%)

Age group
(40,50]
2,665,869 (14%)
2,353,934 (14%)
176,261 (16%)

Age group
(50,60]
2,735,067 (14%)
2,577,374 (15%)
178,461 (17%)

Age group
(60,70]
2,144,742 (11%)
2,137,624 (13%)
124,470 (12%)

Age group
(70,80]
1,598,702 (8.2%)
1,627,530 (9.6%)
74,886 (6.9%)

Age group
(80,Inf]
716,706 (3.7%)
729,284 (4.3%)
30,036 (2.8%)

Age group
Unknown
161,673
165,823
7,330

| Group | Characteristic | Overall | Had any GP consultation | Had OC coding instance |
| :------------- | :------------- | :--------- | :---------- | :----------- |
|Count|Total|N = 20,651,036|N = 17,166,765|N = 1,087,919|
|**Sex**|Female|9,599,496 (49%)|9,172,833 (53%)|661,235 (61%)|
|**Sex**|Male|9,963,322 (51%)|7,993,645 (47%)|426,654 (39%)|
|**Sex**|Other/Unknown|299 (<0.1%)|287 (<0.1%)|30 (<0.1%)|
|**Age**|Total|41 (21, 59)|44 (24, 61)|43 (27, 58)|
|**Age group**|(0,18]|4,151,378 (21%)|3,279,485 (19%)|147,313 (14%)|
|**Age group**|(18,40]|5,388,980 (28%)|4,295,711 (25%)|349,162 (32%)|
|**Age group**|(40,50]|2,665,869 (14%)|2,353,934 (14%)|176,261 (16%)|
|**Age group**|(50,60]|2,735,067 (14%)|2,577,374 (15%)|178,461 (17%)|
|**Age group**|(60,70]|2,144,742 (11%)|2,137,624 (13%)|124,470 (12%)|
|**Age group**|(70,80]|1,598,702 (8.2%)|1,627,530 (9.6%)|74,886 (6.9%)|
|**Age group**|(80,Inf]|716,706 (3.7%)|729,284 (4.3%)|30,036 (2.8%)|
|**Age group**|Unknown|161,673|165,823|7,330|

thanks @craig-shenton , I've adapted the table based on your suggestions, except for the repeat of the Group header in all lines, for readability :)
@JRPearson500 , ready for review.
Thank you both!


Forecast

Coverage decreased (-0.6%) to 82.143% when pulling b8ce88b6c29368055ac9960bf380d5b9d2e7db45 on forecast into 0b15164715d4f5e15f20aa42265b125b2bb61e7d on master.

Coverage decreased (-2.3%) to 80.488% when pulling eff5b04caf916b2985007f4c693ebe251f53e8a2 on forecast into 0b15164715d4f5e15f20aa42265b125b2bb61e7d on master.

Coverage increased (+5.5%) to 88.235% when pulling 311ba7de3341fcb869aa3db87af574676730d6c3 on forecast into 0b15164715d4f5e15f20aa42265b125b2bb61e7d on master.


feat: Add filter prop to picker

Resolves #2120

Can close this PR, implemented changes in Improvements PR linked in comment, so that could test with all other code changes


The External Identities (B2C, B2B) MAU based pricing is not yet supported in Australia

Hi team,
Just for notice that Australia is not yet supported for MAU. Not sure any other regions do not support it yet. please contact PG and update that information on this document. our customer is counting on this document to understanding our product.
Thank you !
v-jizh24
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: d48108c5-3850-af59-ed14-84238bca37f7
Version Independent ID: cca4148e-8754-87a7-42a3-ea368fcb0285
Content: MAU billing model for Azure AD External Identities
Content Source: articles/active-directory/external-identities/external-identities-pricing.md
Service: active-directory
Sub-service: b2b
GitHub Login: @msmimart
Microsoft Alias: mimart

@jeffzhu1990 Thanks for reaching out. We will investigate and update the thread accordingly.

@jeffzhu1990  B2C is not currently available in these regions: Argentina, Australia, Brazil, Chile, Colombia, Ecuador, Iraq, New Zealand, Paraguay, Peru, Uruguay, and Venezuela. These regions are in process of being added to B2C Region availability list and MAU will be supported for these regions as well.


ARROW-14345: [C++] Implement streaming reads

Benchmark runs are scheduled for baseline = 4ac62d5527e5f1635764a62986589d694605d1d8 and contender = a8e1c81249aa2477fd0623e3cfd9d50ba2eba4fd. a8e1c81249aa2477fd0623e3cfd9d50ba2eba4fd is a master commit associated with this PR. Results will be available as each benchmark for each run completes.
Conbench compare runs links:
[Scheduled] ec2-t3-xlarge-us-east-2
[Finished :arrow_down:1.54% :arrow_up:0.0%] ursa-i9-9960x
[Finished :arrow_down:0.09% :arrow_up:0.0%] ursa-thinkcentre-m75q
Supported benchmarks:
ursa-i9-9960x: langs = Python, R, JavaScript
ursa-thinkcentre-m75q: langs = C++, Java
ec2-t3-xlarge-us-east-2: cloud = True

I just posted a belated comment on this PR. Sorry for being so late :-)


[#384] Adding containerPorts to statefulset to support prometheus service monitor

@gtully @RoddieKieley this PR LGTM, I'm going to merge it before EOD if you have no concerns

@howardgao I squashed the commits before merging


View models - NOT NULL columns have pointers

Describe the bug
First of all, I'm not sure if this is a bug. So I'm just going to pose this as a question.
I'm generating a view on my SQLite DB. The columns are selected from tables where they are NOT NULL.
However, the generated model for the view seems to have pointers for all the fields.
Is this intended behavior? Am I doing something wrong?
Happy to provide more context, but this is probably not specific to my SQL statements 🤔

Hi @diogox, sqlite(as well as postgres) does not track the nullability of the view columns, they are always marked as nullable. That is why jet generator always generates fields with a pointer.
To overcome this issue you customize the generator - https://github.com/go-jet/jet/wiki/Generator#generator-customization.

I see. I assumed the models were generated from the tables of origin.
Makes sense then. Thank you!


Add easy way to do local development and move checkEnv to the start scripts

Hi Chris.
I have made 2 main changes.
Add an easy way to do local development
I updated the README to include instructions for how to contribute.
Basically I added a variable called ISLOCAL to the startdev.sh script and if you want to do local development you change the ISLOCAL variable from false to true. So instead of calling down the binary from the github release to building and running the local binary and the local scripts. So it will always use the local changes that you added.
Move checkEnv function from each script to the start.sh script
I have moved the checkEnv function from each script and moved it to the start scripts. This way you aren't running it every single time you run one of the scripts from the util. This will make it faster.

Ended up going with a concatenation in the rust file with common_script getting added to the header of all scripts run in the commands folder.

I understand, but I have a few issues with how this is done.

It inflates the final binary size as every new script is compiled into the binary, and now every script is going to be even bigger making the final binary also much bigger.
Every script is running the common script every time which is redundant.

Whereas the way I was doing it you only had to run the common script once to get environment variables. And also doesn't need to be included in every script.
You don't read to reply, but it would be nice to get a reply.


Add option to pass security group tags into couchbase-cluster module.

Addresses https://github.com/gruntwork-io/terraform-aws-couchbase/issues/36
I followed the pattern that is used elsewhere for setting Load Balancer tags, except here I need to use the var name security_group_tags because tags is already used in the couchbase cluster module

https://github.com/gruntwork-io/terraform-aws-couchbase/releases/tag/v0.1.4


More details about the Installation Instructions of motionBenchMarker?

Excellent work! I followed your motionbencehmaker installation instructions, but it is very concise and general. I have encountered many different errors in Ubuntu 18 and do not know how to fix them. Therefore, I look forward to your detailed installation instructions, which are very useful for beginners.

Excellent work! I followed your motionbencehmaker installation instructions, but it is very concise and general. I have encountered many different errors in Ubuntu 18 and do not know how to fix them. Therefore, I look forward to your detailed installation instructions, which are very useful for beginners.

Did you install it successfully?


Saving using the refactored manager

options = ocp.CheckpointManagerOptions(max_to_keep=2, create=True)
with ocp.CheckpointManager(directory='/tmp/ckpt2/') as mngr:
     print()
shows error
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[20], line 2
     1 options = ocp.CheckpointManagerOptions(max_to_keep=2, create=True)
----> 2 with ocp.CheckpointManager(directory='/tmp/ckpt2/') as mngr:
      3     print()
AttributeError: __enter__
I tried saving different pytrees and tried without saving any pytree , like the snippet above.
orbax-checkpoint version: 0.5.0
System: kaggle notebook with GPU T4 x2
Can I get a solution please?

0.5.0 is pretty old, the documentation is based off the latest version. The context manager should have been introduced by 0.5.8.

I tried using the latest version of orbax-checkpoint using refactored checkpoint manager. Used this code:
options = ocp.CheckpointManagerOptions()
with ocp.CheckpointManager(   ocp.test_utils.erase_and_create_empty('/tmp/ckpt2/'),
  options=options,
) as mngr:
  mngr.save(0, args=ocp.args.StandardSave(pytree))
  mngr.wait_until_finished()
got this error:
`AttributeError: module 'jax' has no attribute 'tree' 1.
Versions:
jax   -   0.4.23
flax    -   0.8.2
orbax.checkpoint    -   0.5.16

We just added this in the last few days, but going forward there will be a designated minimum supported JAX version. Right now that version is 'jax >= 0.4.25'.

@cpgaffney1 after updating jax to 0.4.26 , checkpointing works. thq


fix: handle long asset names in send input

Description
Fixes text overflow of asset label in send input.
Adds a ellipsis for overflow with tooltip.'
Opted to use trimWithEndEllipsis intead of CSS ellipsis so we can predictably and simly detect an overflow render the tooltip accordingly.
Issue (if applicable)

closes #7720
Risk

High Risk PRs Require 2 approvals

Low risk - display concern only.

What protocols, transaction types, wallets or contract interactions might be affected by this PR?

Testing
Check normal length asset names are rendered correctly without a tooltip.
Check very long asset names are truncated with an ellipsis and have a tooltip with the full asset name.
Engineering

Operations

[ ] :checkered_flag: My feature is behind a flag and doesn't require operations testing (yet)

Screenshots (if applicable)
https://github.com/user-attachments/assets/02d9119a-5301-42a4-b0d8-33bf28a15cc8

Tested locally, and while name does ellipse now, there are still issues re: overflowing array as well as symbol still rugging the send display:
https://jam.dev/c/3723bfe2-5d04-472d-9fbe-1d7ff71e024c
See arrow placement/symbol rugging "Enter Amount" with long symbols vs. smolish ones:

Well spotted, changed approach to use css variables and looking much better:

Also added some overflow for amounts


Refactor and CI

With this PR I add the following enhancements:

Follow Go community project layout  https://github.com/golang-standards/project-layout
CI/CD support for automation code checks and delivery release artifacts (executables for all platforms that could be downloaded)
Add makefile automation
Helper scripts for compiling, linting, and releasing the application

PS more refactor in next PRs

@eleby, Could you please review this PR? 🙏🏻

@eleby, Could you please review this PR? 🙏🏻

Of course ! Thanks for the PR ! 😉

You're always welcome;) Thanks for your review!
Sure, I'll update the readme
There are no changes in functionality. Only CI/CD - now users no need to install go and build themselves this tool. After you add the tag and push it to remote - CI will be triggered and build binaries for all os/arch and publish them on GitHub repo page under releases

Okay ! So -sorry again for being a beginner in these aspects-, how does it work ?
If I understand correctly, you have to provide a version number and it creates the binaries to be listed on the Github release page. But where do you provide this version number exactly ?
I will wait for your explanations, readme update and fix on the docker package line. I like the idea of improved releases, I hope to understand everything better so I can merge the PR.


Spec is not generated if generic struct declaration is not in the same file as swagger:parameters

Steps to reproduce

Create go project with the following main.go file

package main

type WrappedRequest[T any] struct {
	// required: true
	// in: body
	Body struct {
		Body T `json:",inline"`
	}
}

type Request struct {
	Val int `json:"int"`
}

// Request
//
// swagger:parameters MyOperation
type _ WrappedRequest[Request]

func main() {
}

Execute swagger generate spec -w <DIR> -m -o /tmp/test.yaml
Check test.yaml, it seems correct

definitions:
  Request:
    properties:
      int:
        format: int64
        type: integer
        x-go-name: Val
    required:
    - int
    type: object
    x-go-package: gowrap-test
paths: {}
swagger: "2.0"

Now create the second go file and move WrappedRequest declaration there
Re-generate the spec
Spec is empty now

paths: {}
swagger: "2.0"

[Expected]: Spec is the same as after step 3
Environment
swagger version: 0.29.0
go version: 1.18.3
OS:  Ubuntu

Reproduces event without generics
package main

// !!! spec is empty if this type moved to another file
type WrappedRequest struct {
	// required: true
	// in: body
	Body struct {
		Body Request `json:",inline"`
	}
}

type Request struct {
	Val int `json:"int"`
}

// Request
//
// swagger:parameters MyOperation
type _ WrappedRequest

func main() {
}

is this file in a different package?

is this file in a different package?

The problem is reproduced even if the second file is in the same package.

Update: Adding // swagger:model: WrappedRequest helps in case WrappedRequest is not a generic struct.
If it's a generic the following error occurs -
panic: WARNING: can't determine refined type T (*types.TypeParam)


[1.10.2] Graphical glitch on Atmosphere Analyzer

Forge: 2239
Advanced Rocketry: 1.0.12
LibVulpes: 0.1.16-universal
When adding in the Atmosphere Analyzer to the helmet and placing the helmet on I get a weird blue angled transparent image on the left side of the screen from top to bottom (see screenshot)

Does that occur with only AR and libvulpes installed?

I have InGameInfo. I disabled it thinking that was causing it but that wasn't the case.

Only mods installed now are:
Advanced Rocketry
LibVulpes
Tried in fullscreen and windowed mode as well. Noticed now there is blue lines going all the way across the screen. On a side note incase it matters, I am running:
I7 4770k
16gb ram (8gb dedicated to Minecraft)
nVidia 770ti

Hmm, strange indeed, I've only seen this once before (oddly enough while making the tutorial vid) thought it may have just been my graphics drivers screwing up (in vanilla sometimes a tri of the block vanishes or even in other games sometimes, etc).  Will see if I can track it down.


LXD (snap) fails due to failing group lookup

Required information

Distribution: Ubuntu
Distribution version: 19.04
The output of "lxc info" or if that fails:

Kernel version: Linux Alfreds-Laptop 5.0.0-7-generic #8-Ubuntu SMP Mon Mar 4 16:27:25 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
LXC version: stable:        3.11        2019-03-11 (10343) 56MB
LXD version: stable:        3.11        2019-03-11 (10343) 56MB
Storage backend in use: dir

Issue description
The lxd daemon (snap variant) fails to launch due to not being able to lookup the 'lxd' group.
Steps to reproduce

Stop any remaining lxd instances: sudo snap stop lxd
Restart: sudo snap start lxd

OR -

Stop any remaining lxd instances: sudo snap stop lxd
Manual start: sudo lxd --debug --group lxd

Information to attach

[ ] Any relevant kernel output (dmesg)
[ ] Container log (lxc info NAME --show-log)
[ ] Container configuration (lxc config show NAME --expanded)
[x] Main daemon log: https://paste.ubuntu.com/p/WkkMXNrjyF/
[ ] Output of the client with --debug
[x] Output of the daemon with --debug: https://paste.ubuntu.com/p/Kgw8g2n9fn/

The LXD snap has logic to automatically create that group, so there's something odd going on on your system which is preventing this somehow.
Can you do:

snap start lxd
systemctl -a | grep snap.lxd
journalctl -u snap.lxd.daemon -n 600

Hopefully that will shed some light on what's happening on your system.

I have the 'lxd' group set up from before when the lxd snap created its own group (gid 999).
Interestingly the service dies with ldconfig: Input/output error and errno 2 while snap start output says it exited with code 1.

snap start lxd:

alfred@Alfreds-Laptop:~$ sudo snap start lxd
Fehler: cannot perform the following tasks:
- start of [lxd.activate lxd.daemon] (# systemctl start snap.lxd.activate.service snap.lxd.daemon.service
Job for snap.lxd.activate.service failed because the control process exited with error code.
See "systemctl status snap.lxd.activate.service" and "journalctl -xe" for details.
)
- start of [lxd.activate lxd.daemon] (exit status 1)

systemctl -a | grep snap.lxd:

  snap-lxd-10150.mount                                                                                loaded    active     mounted   Mount unit for lxd, revision 10150
  snap-lxd-10343.mount                                                                                loaded    active     mounted   Mount unit for lxd, revision 10343
  snap-lxd-10422.mount                                                                                loaded    active     mounted   Mount unit for lxd, revision 10422
  snap-lxd-9886.mount                                                                                loaded    active     mounted   Mount unit for lxd, revision 9886
  snap-lxd-9919.mount                                                                                loaded    active     mounted   Mount unit for lxd, revision 9919
  var-snap-lxd-common-ns-mntns.mount                                                                             loaded    active     mounted   /var/snap/lxd/common/ns/mntns
  var-snap-lxd-common-ns-shmounts.mount                                                                          loaded    active     mounted   /var/snap/lxd/common/ns/shmounts
  var-snap-lxd-common-ns.mount                                                                                loaded    active     mounted   /var/snap/lxd/common/ns
● snap.lxd.activate.service                                                                                loaded    failed     failed    Service for snap application lxd.activate
● snap.lxd.daemon.service                                                                                loaded    failed     failed    Service for snap application lxd.daemon
● snap.lxd.daemon.unix.socket                                                                                loaded    failed     failed    Socket unix for snap application lxd.daemon

journalctl -u snap.lxd.daemon -n 600
https://paste.ubuntu.com/p/CZ4zg8VbQ9/

You have disk corruption going on:
Mär 22 15:50:58 Alfreds-Laptop lxd.daemon[2890]: /snap/lxd/10343/commands/daemon.start: 100: /snap/lxd/10343/commands/daemon.start: ldconfig: Input/output error

Please show dmesg but I suspect you're going to see a bunch of I/O errors in there.

Closing this as there are indications that the kernel is misbehaving or the squashfs is corrupted in a way which prevents reading its content properly, this leads to that startup error and it restarting in a loop.
Assuming this isn't caused by an underlying bad disk or kernel and it's just a corrupted squashfs somehow, you may be able to force it to re-download with something like:

snap refresh lxd --edge
snap refresh lxd --stable

Or if you don't have any data in LXD yet, try removing it and installing it again.


MAINT: Fix CircleCI build

This should fail first, then I'll fix it

Upstream bug report for pyvista 0.38.2 in https://github.com/pyvista/pyvistaqt/pull/317


[feature request] Optional colorization for graph edges based on on_delete criteria

(Admin: Feel free to remove this line, the brackets in the title, and add the actual "feature request" tag)
I've using the visualization command to study the effects of on_delete in one of our projects. I generate a simple graph filtering using my apps and then I color the edges in the graph using Gimp. Red is for CASCADE and yellow for PROTECTED. This allow to study deletion criteria for relations with just a quick look.
I tought that patching the mainstream project was worth it, and here I am.
Do you think it will be a good addition to the model graph command? I don't have time right now for preparing the PR but if someone think this will be useful I will try to find time in the future.
Ofc, is someone wants to do it it will be nice. A quick inspections shown that the model graph class is a good place to start. There is already a simple method a that class that prepares de json for the edges. I think extending the signature of that definition and adding the 'fillcolor' param there will be enough.

Happy to accept a PR for this !


fzf-lua/lua/fzf-lua/utils.lua:180: Vim(visual):E37: No write since last change (add ! to override)

If I don't save a file and I try to run :lua require'fzf-lua'.grep_visual() I get the following error:
fzf-lua/lua/fzf-lua/utils.lua:180: Vim(visual):E37: No write since last change (add ! to override)

This issue was a bit of a bigger annoyance than I anticipated but it's solved now :-)
It's still annoying me though as even when I exit visual selection with either <Esc> or v the last visual selection isn't saved and gv doesn't reselect the text.


Update sandbox link in overview.md

Previous link does not work because it references the master branch but the branch has been renamed to main

thanks, I have fixed this on main directly for all sandboxes.


--ignore flag doesn't properly read input

Using --ignore with aursync -u returns grep: ignore.txt: No such file or directory, both when specifying a file with package names, as well as entering a package name directly.
cat ignore.txt
synergy-git

error.txt

Please try https://github.com/AladW/aurutils/commit/34f92cb425b2fc9c8a4e7320f0d6d9e804ff2eda

No error, but it fails to ignore the package.
error.txt
cat ignore.txt
keybase-bin

Is the ignored package actually built or does it only display the -> keybase-bin 1.0.21_20170424190450+5b1f576-1 -> 1.0.21_20170428160949+36e780b-1 line in the console?

Sorry, looks like it is actually ignored, it's just displayed in the input/output of aurchain. So if that is intentional behavior then https://github.com/AladW/aurutils/commit/34f92cb425b2fc9c8a4e7320f0d6d9e804ff2eda fixes the issue. Thanks!

Well, there should probably be some indication that a package is ignored, besides the fact that it is not built. I'll take a look before the next release.

@Flat please try https://github.com/AladW/aurutils/commit/86b2dc9fe25818b9afb192569185b50e1d7880b3

Looks good to me! Any thoughts on passing packages to ignore on the command line without specifying a file?

https://github.com/AladW/aurutils/commit/294b989dbb559eb761502bfd373ed56e17fae411


Update ActionQueue.java

based on this thread on Twitter https://twitter.com/vlad_mihalcea/status/1306486289034891272

What does this change do?

@gavinking eliminates the need of evaluating second expression if previous succeeded, as the result will be the same for both branches; this is purely based on static code analysis, possible performance optimisation

Nice change. thanks!

Merged and backported as https://hibernate.atlassian.net/browse/HHH-14242


Add tests and CI build scripts

@vblanco20-1 I have no access to GueimUCM org in the appveyor panel


I cannot add my PGP key

No matter what proof method I try to use, I cannot add my PGP key. My public key can be found here.
On my normal machine, my main private key is not loaded. The main private key only exists on an airgapped machine. I have separate authentication, signing, and encryption subkeys available, and perhaps one of those might be a better target, but I'm not 100% sure on how to approach that with Keybase.
I use a Yubikey 4 for storing my private keys, if it matters. https://www.jclement.ca/articles/2015/gpg-smartcard/ is what I followed to generate my keys.

We don't support yubikeys yet.
On Sunday, February 14, 2016, Cameron Eagans<EMAIL_ADDRESS>wrote:

No matter what proof method I try to use, I cannot add my PGP key. My
public key can be found here
http://pgp.mit.edu/pks/lookup?op=get&search=0x6BC866F60B9E4D7A.
On my normal machine, my main private key is not loaded. The main private
key only exists on an airgapped machine. I have separate authentication,
signing, and encryption subkeys available, and perhaps one of those might
be a better target, but I'm not 100% sure on how to approach that with
Keybase.
I use a Yubikey 4 for storing my private keys, if it matters.
https://www.jclement.ca/articles/2015/gpg-smartcard/ is what I followed
to generate my keys.
—
Reply to this email directly or view it on GitHub
https://github.com/keybase/client/issues/2020.

Well, that'd do it. I'm a little confused as to why Yubikeys wouldn't be supported, though. If the idea is that I'm only proving ownership of the key, shouldn't I be able to just upload any public key and sign a proof? I definitely don't expect a somewhat non-standard setup to work OOTB with the CLI client, but a signature is a signature, isn't it?

Which provisioning path did you take? There is one that should work with
yubikeys since it shells out to gpg.
On Sunday, February 14, 2016, Cameron Eagans<EMAIL_ADDRESS>wrote:

Well, that'd do it. I'm a little confused as to why Yubikeys wouldn't be
supported, though. If the idea is that I'm only proving ownership of the
key, shouldn't I be able to just upload any public key and sign a proof? I
definitely don't expect a somewhat non-standard setup to work OOTB with the
CLI client, but a signature is a signature, isn't it?
—
Reply to this email directly or view it on GitHub
https://github.com/keybase/client/issues/2020#issuecomment-184003507.

I tried the bash/gpg/curl method, but after I submit the given command, I get this:
gpg: signing failed: Inappropriate ioctl for device
gpg: signing failed: Inappropriate ioctl for device
Error in your post
-------------------

Code:
Name:
Description:

I'm thinking that the error is because I don't have the main private key on the machine I'm trying to do the proof with. I'm guessing maybe I should replace the key ID with my signing key ID to make it work, but I'm not 100% sure.

I was able to upload a key last night by following the same steps as before, but this time, with GPG 2.1 (rather than 2.0.11).
Thanks!

To anyone coming here from Google:
keybase pgp select --multi --no-import 0xXXXXXXXX

--multi allows multiple PGP keys to be added to your account.  --no-import prevents attempts to import the private key, which will be necessary with a YubiKey (that's the whole point of such a device).  Replace XXXXXXXX with the hex ID of your key (typically either 4 or 8 hex digits).  If you're not sure what your key ID is, run gpg --card-status and look at the General key info field.  Note that gpg-agent will need to be running, as the keybase utility will need to perform a signature.


Change default shell from bash to other shell

nix-on-droid can change the default shell? like zsh or fish?

Yes, you can set user.shell to the path of your preferred shell. See modules/user.nix.

Yes, you can set user.shell to the path of your preferred shell. See modules/user.nix.

@Gerschtli Thanks. :)

@Gerschtli Thanks. :)


Where are the parameters passed to?

❓ Questions and Help
What is your question?
I am curious about where are the parameters passed to? In the official implementation of SimCLR, I cannot find any operations use the initialized parameters:
batch_size: int,
num_samples: int,
warmup_epochs: int = 10,
lr: float = 1e-4,
opt_weight_decay: float = 1e-6,
loss_temperature: float = 0.5,
**kwargs):
The reason to know that is, when I copy the function and mimic it to write my own function. I cannot find where are these parameters passed to...
Code
https://github.com/PyTorchLightning/pytorch-lightning-bolts/blob/b746be06a7ef59c52fb7911b985a1a73821d1a74/pl_bolts/models/self_supervised/simclr/simclr_module.py#L56

The call to self.save_hyperparameters() makes all the arguments in init available as attributes of self.hparams.
You can read more about it here:
https://pytorch-lightning.readthedocs.io/en/stable/hyperparameters.html


Attached Flyout leak

Describe the bug
Opening an Attached Flyout will leak PopupRoot instances if the user mouses over an InputElement within the Flyout. Note that if you do not mouse over the Flyover, no PopupRoot instances appear to be orphaned and therefore no leak.
To Reproduce
Create a simple Attached Flyout with one or more InputElement child elements. The following repo contains a very simple example: https://github.com/Scratch75/FlyoutLeak.

Click the "Click Me" TextBlock.
Hover the mouse over the Calendar within the Flyout. Note that this doesn't need to be a Calendar; a simple TextBlock also exhibits the problem.
Click away to dismiss the Flyout.
Repeat steps 1-3 several times to exaggerate the problem. There is a 1:1 (or very nearly) ratio between the number of times you repeat this to the number of retained PopupRoot instances.

Expected behavior
PopupRoots created as part of showing the Flyout should be GC'd.
Screenshots

Desktop (please complete the following information):

OS: Windows 11 22H2
Version 11.0.2

Additional context
NOTE: if you open the Flyout and then dismiss it without hovering over the Flyout content, the leak does not occur.
Is it possible that this is caused by TopLevel.PointerOverElementProperty? I'm not familiar with the code, but wondering if cursor management is the culprit?

I can confirm that this leak is no longer an issue. It was fixed by https://github.com/AvaloniaUI/Avalonia/commit/7ee12d27b3703274e45cf0d7d8f7efb46ae9d3d9 and I've tested on 5b02b0389aee7aac695b04735e40779b5682b063 (master at the time of testing) and it works without holding on to PopupRoot references in dotMemory.

close acc. to user feedback


Evaluate of EnumType returns an incorrect value

Issue
Evaluating EnumType variables from text produces unexpected results.
I've been able to reproduce the issue both programmatically and by using standard functionality.
1. Programmatically
I've delcared an Enum:
enum 80000 "XPE Test Enum"
{
    Extensible = true;

    value(1; ABC)
    {
        Caption = 'ABC';
    }

    value(2; DEF)
    {
        Caption = 'DEF';
    }

    value(3; GHI)
    {
        Caption = 'GHI';
    }

    value(4; JKL)
    {
        Caption = 'JKL';
    }

    value(5; MNO)
    {
        Caption = 'MNO';
    }
}

On a page I execute the following code:
trigger OnAction()
                var
                    MyEnumVar: Enum "XPE Test Enum";
                begin
                    Evaluate(MyEnumVar, 'DEF');
                    Message(Format(MyEnumVar));
                end;

When executed, the message displayed is 'ABC' while the expected message is 'DEF';
2. Using the application
I've declared a table
table 80000 "XPE Test Enum"
{
    DataClassification = CustomerContent;
    Caption = 'Test Enum';

    fields
    {
        field(1; Code; Code[10])
        {
            DataClassification = CustomerContent;
            Caption = 'Code';
        }

        field(2; "Enum Field"; Enum "XPE Test Enum")
        {
            DataClassification = CustomerContent;
            Caption = 'Test Enum';
        }
    }

    keys
    {
        key(PK; Code)
        {
            Clustered = true;
        }
    }
}

I've set up a configuration package to import information in Table 80000.
I've exported a template excel file and filled in with the following information:

After data is imported in the package and before applying the data to the table and in preview I can see the following:

Note how the imported values in the Enum field seem to be offset by 1 position.
I've applied the data to the table - no errors flagged by the import. After the import the data in the table is as follows:

which is clearly not what was on the excel file.
Versions:

AL Language: 3.0.152816
Business Central: 14.0.35358.0 + Application 35404 (GB Business Central 14.3)

I've noticed this since version 14.3. On version 14.0 there are no issues.
Attached the AL project I used this to reproduce on a clean container.
I have a customer on cloud 14.3 in production affected by the problem.
TestEnum.zip

We have found the issue. We recently included Captions in the Evaluate, but there is a bug for Non-zero-based Non-Consecutive values. We will fix it.
You can mitigate by removing the Caption properties if they are the same as the Value names.

Great to hear! Do these bugfixes make it to production on minor updates or only for the major ones in April and October?

It will be in the upcoming Wave 2 release, and be backported to the next CU of both Spring 2019 and Fall 2018. Unfortunately the fixes just missed a CU update.

The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 35724.
If you don’t have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo
For more details on code branches and docker images please read:
https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/
https://blogs.msdn.microsoft.com/freddyk/2018/04/16/which-docker-image-is-the-right-for-you/


acir_field's FieldElement::is_negative invalid in some cases

Aim
FieldElement::is_negative should be correct in all cases
Expected Behavior
I expect FieldElement::is_negative to be correct in all cases
Bug
acvm-repo/acir_field/src/field_element.rs
    fn is_negative(&self) -> bool {
        self.neg().num_bits() < self.num_bits()

As far as I can tell, this will be incorrect when the field element is in the middle of its range.
Instead, I believe we should compare without num_bits, i.e. self.neg() < self
To Reproduce
No response
Project Impact
None
Impact Context
No response
Workaround
None
Workaround Description
No response
Additional Context
No response
Installation Method
None
Nargo Version
No response
NoirJS Version
No response
Would you like to submit a PR for this Issue?
None
Support Needs
No response

I've had a little look into this and the logic of this function is correct for how we're using it.
The only place we're using it is when converting a field element into an i128 and so we're going to have values in the ranges 0..2^127-1 (representing positive integers) and p-2^127..p (representing negative integers). If we were to use field elements outside of this range we would get invalid results anyway.
That said, this method is devoid of any context as it is which opens it up to being misused in future. We should just inline it into to_i128 as a result.


Restoring PR deployment

I am also using this to check if the deployment action works in the TEST=True scenario, in order to further troubleshoot this strange pip based error I just encountered.

This does not seem to have the same issue pointed out above. How weird. The only thing that I can spot that is different is the config file, so I fixed the production file with the same values as the PR one (which I should have been doing anyways to address #194). So lets just see how this goes?

Oh wait this seems to be an issue with the recipe itself (likely the iids), since this check is failing (https://github.com/leap-stc/cmip6-leap-feedstock/actions/runs/12419694725/job/34675572041?pr=196#step:7:1), I missed that before.

I am getting the feeling that this is simply overwhelming the logs with output? Let me revert the last addition and track this in a separate issue.


query_entitities returns every row regardless of filter.

Using Python Function App with version azure-data-tables==12.0.0b1

Retrieve TableClient by calling TableServiceClient.create_table_if_not_exists
Build up filter

entity_query_value = "PartitionKey eq '{}'".format(self.partition_key)

Call query

            for found_entity in self.table_client.query_entities(
                filter=entity_query_value
            ):

First return.....found_entity['PartitionKey'] does not match the filter....in fact, the table has 2813 entries and no matter what I put in the filter I get 2813 return entities.

Thank you for reporting this issue, this was fixed by this issue and is available. You will need to update your package to the latest version via pipwhich can be done with:
pip install azure-data-tables==12.0.0b3

Thank you for reporting this issue, this was fixed by this issue and is available. You will need to update your package to the latest version via pipwhich can be done with:
pip install azure-data-tables==12.0.0b3


How to train the full-precision model?

How to train the full-precision model? To train the full precision model, set the qw and qa to 32?

Actually, current codes do not support all full precision model (We try that by experimental codes). If you need to train the full precision model, you can make some modifications in codes.


Added raid mdadm status collector.

Use IsDigit() instead of own function.
Get status of each spindle.
Added tests that are not linux specific.

looks good to me once you fix the fmt and make sure the collectors are running at the correct interval that you want.


chore: bump driver to v0.3.0 in staging charts

Signed-off-by: Anish Ramasekar<EMAIL_ADDRESS>
Reason for Change:

Bump driver to v0.3.0 in the staging charts

Requirements

[x] squashed commits
[x] included documentation
[x] added unit tests and e2e tests (if applicable).

Issue Fixed:

Does this change contain code from or inspired by another project?

[ ] Yes
[x] No

If "Yes," did you notify that project's maintainers and provide attribution?
Special Notes for Reviewers:

Codecov Report

Merging #625 (2d511e0) into master (ac3d12e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #625   +/-   ##
=======================================
  Coverage   64.55%   64.55%
=======================================
  Files           7        7
  Lines         584      584
=======================================
  Hits          377      377
  Misses        173      173
  Partials       34       34

/azp run pr-e2e-azure


chore: Release python lambda sdk v0.3.0

Related PR https://github.com/serverless/console/pull/873

@Mmarzex ready for review please


doesn't show python code suggestion

it doesn't give me any code suggestion from intellicode and  the output is
Language server is set to Pylance.
Acquiring model
Acquiring model 'intellisense-members-lstm-pylance' for python
Querying IntelliCode service for available models.
vs-intellicode-python was passed a model: {}.
Cached model is up to date.
Activating Python extension -------------------> seems stop here ?

Thanks for letting us know that it's fixed for you @leiyang - I'll close this item but if the problem recurs please do let us know. It would be good to see the output of the Output-Python tab as well as the IntelliCode one, since this may have important data about the source of the failure too.


Add plugin to npm registry / cordova plugins

Currently it's not possible to use your plugin with phonegap build. The old phonegap build plugin repository is deprecated.
Please add your plugin to the npm registry.
http://cordova.apache.org/plugins/authors.html
Thanks :)

This is done: https://www.npmjs.com/package/cordova-plugin-image-picker

Thanks for the PR tho!  We just did it before even realizing this was here.


Wrong Online demo link in 0.18.0 release notes

Wrong Online demo link (0.17.0) in https://github.com/rerun-io/rerun/releases/tag/0.18.0
Online demo: https://rerun.io/viewer/version/0.17.0/ should be Online demo: https://rerun.io/viewer/version/0.18.0/

oops, thank you for pointing this out. It also had the wrong C++ artifact link there. Fixed it!


Show "start_running" option

This PR adds a new config setting for Shows called start_running. It accepts a boolean value (default True).
If False, the show will start on step zero and immediately pause. The show will then hold until it is manually resumed.

Also some other fixes, noted in the comments.

@jabdoa2 I've refactored my asset management script into a standalone pip module, in case others would find it useful. Right now it lives at https://github.com/avanwinkle/mpf-asset-manager
I'd be happy to migrate it over to a repo owned by missionpinball and let you set it up in pypi using MPF's account. That way others can improve it as they see fit!

@jabdoa2 I've refactored my asset management script into a standalone pip module, in case others would find it useful. Right now it lives at https://github.com/avanwinkle/mpf-asset-manager
I'd be happy to migrate it over to a repo owned by missionpinball and let you set it up in pypi using MPF's account. That way others can improve it as they see fit!

Wow that sounds awesome. I would love that.

@jabdoa2 I've refactored my asset management script into a standalone pip module, in case others would find it useful. Right now it lives at https://github.com/avanwinkle/mpf-asset-manager
I'd be happy to migrate it over to a repo owned by missionpinball and let you set it up in pypi using MPF's account. That way others can improve it as they see fit!

Wow that sounds awesome. I would love that.


removed mail.ru from the database

Mail.ru is the largest mail service in Russia, it's definitely not a throwaway domain.

ok, thanks for the report.


help: Update example screenshot for markdown link formatting.

Follow-up to #32253.
Screenshots and screen captures:
Current CZO documentation

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Merged, thanks @laurynmm!


Plugin behavior delayed, onDeviceReady trigger problem ?

Ionic version:  (check one with "x")
[x ] 1.x
[ ] 2.x
I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
In iOs : plugin behavior only triggered when form field touched.... yes it's strange.
For example, i touch a link that would normally open with InAppBrowser plugin, and the link opens when, on another page, the form field is clicked (touched). Same with socialsharing, sharing a post, then go the form touch the first field, then only the social sharing shows up.... heg ???
Expected behavior:
I would expect that plugin InAppBrowser, SocialSharing or Keyboard for example (but all plugin installed behave the same) would behave "normally" as my app did before updating ionic, ionic-cli and plugins
Steps to reproduce:
Sorry, it's Difficult, but very annoying, for example the console log plugin does not work at all, so debugging is hard
Other information:
I already spent hours on this, reinstalling plugins, ionic, ionic-cli, making new project, npm update....
plugins installed:
cordova-plugin-console 1.0.4 "Console"
cordova-plugin-device 1.1.3 "Device"
cordova-plugin-google-analytics 1.7.2 "Google Universal Analytics Plugin"
cordova-plugin-inappbrowser 1.5.0 "InAppBrowser"
cordova-plugin-network-information 1.3.0 "Network Information"
cordova-plugin-splashscreen 4.0.0 "Splashscreen"
cordova-plugin-statusbar 2.2.0 "StatusBar"
cordova-plugin-whitelist 1.3.0 "Whitelist"
cordova-plugin-x-socialsharing 5.1.3 "SocialSharing"
ionic-plugin-keyboard 2.2.1 "Keyboard"

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
Cordova CLI: 6.4.0
Ionic Framework Version: 1.3.2
Ionic CLI Version: 2.1.13
Ionic App Lib Version: 2.1.7
ios-deploy version: 1.9.0
ios-sim version: 5.0.11
OS: macOS Sierra
Node Version: v6.2.1
Xcode version: Xcode 8.1 Build version 8B62

Thanks a lot for any clue!

@crouti I don't get the behavior right but, you can debug your app via Safari (iOS) or Google-Chrome (Android).
So just deploy it and attach to your device, so atleast you can see whats going on and try to trigger the commands yourself.
If I get it right: after you said, the logic is just triggered after clicking on another element, I'd assume that your digest cycle isn't executed.
Maybe try to execute this after your click: $scope.$apply() to be sure that the $digest-cycle is triggered.
Greetings
Graphefruit

Thanks @graphefruit for your answer, now i use safari to remotely debug and here is what i see in console:
[Error] Refused to load gap://ready because it appears in neither the child-src directive nor the default-src directive of the Content Security Policy. (x8)
[Error] Failed to load resource: The requested URL was not found on this server. (angular-cache.min.map, line 0)
[Error] Refused to load gap://ready because it appears in neither the child-src directive nor the default-src directive of the Content Security Policy. (x1138)
[Error] TypeError: window.requestFileSystem is not a function. (In 'window.requestFileSystem(Helpers.getCordovaStorageType(ImgCache.options.usePersistentCache), 0, _gotFS, _fail)', 'window.requestFileSystem' is undefined)
	init (imgcache.js:585)
	(fonction anonyme) (ionic-img-cache.min.js:1:233)
	(fonction anonyme) (ionic.bundle.js:53329)
	onPlatformReady (ionic.bundle.js:2491)
	fire (cordova.js:801)
	(fonction anonyme) (cordova.js:231)

The x1138 is an infinite loop occuring when launching my app (can see why ?...!) and when i touch the main iphone button to stanby the app the last line is outputted with TypeError: window.requestFileSystem
I suppose the error with angular.cache.min.map is not important, so i believe my problem is this infinite loop...
Do you have any idea ?
Thanks a lot!

Hey @crouti
Have you installed the cordova-file-plugin? http://ionicframework.com/docs/v2/native/file/
I've inserted my own filesystem, so maybe you could try to log if the filesystem exists on your side:
var windowObj:any = window;
console.log(windowObj.requestFileSystem);
console.log(windowObj.webkitRequestFileSystem);
console.log(windowObj.mozRequestFileSystem);

Greetings
Graphefruit

Ok, got it, replacing my current CSP with
<meta http-equiv="Content-Security-Policy" content="default-src gap://ready file://* *; script-src 'self' 'unsafe-inline' 'unsafe-eval' *; style-src 'self' 'unsafe-inline' *">
made it ! :)
Thank you


Workspace lock description

Feature description 💡
It would be great if we could set a description when enabling the lock on a workspace to give context to the team why a workspace is locked. Perhaps this description can be shown as well in the error shown by Terraform to the end user.
Anything else?
No response

I can add the lock description to the UI in the workspace overview but I don't think I can add the description to the terraform error because the message from terraform CLI is not really showing the message error from the API response
For example, terraform shows the following:
user@pop-os:~/git/simple-terraform$ terraform plan
╷
│ Error: Error acquiring the state lock
│
│ Error message: workspace already locked (lock ID: "simple/locked-local")
│ Lock Info:
│   ID:        b624d3b4-c763-fe4c-8c7e-2bac7ff6220b
│   Path:
│   Operation: OperationTypePlan
│   Who:       user@pop-os
│   Version:   1.5.7
│   Created:   2024-09-04 19:10:17.557721232 +0000 UTC
│   Info:
│
│
│ Terraform acquires a state lock to protect the state from being written
│ by multiple users at the same time. Please resolve the issue above and try
│ again. For most commands, you can disable locking with the "-lock=false"
│ flag, but this is not recommended.

But the message from the API response is the below.
{
    "errors": [
        {
            "status": "409",
            "title": "conflict",
            "detail": "Unable to lock workspace. The workspace is already locked."
        }
    ]
}

I can add the lock description to the UI in the workspace overview but I don't think I can add the description to the terraform error because the message from terraform CLI is not really showing the message error from the API response
For example, terraform shows the following:
user@pop-os:~/git/simple-terraform$ terraform plan
╷
│ Error: Error acquiring the state lock
│
│ Error message: workspace already locked (lock ID: "simple/locked-local")
│ Lock Info:
│   ID:        b624d3b4-c763-fe4c-8c7e-2bac7ff6220b
│   Path:
│   Operation: OperationTypePlan
│   Who:       user@pop-os
│   Version:   1.5.7
│   Created:   2024-09-04 19:10:17.557721232 +0000 UTC
│   Info:
│
│
│ Terraform acquires a state lock to protect the state from being written
│ by multiple users at the same time. Please resolve the issue above and try
│ again. For most commands, you can disable locking with the "-lock=false"
│ flag, but this is not recommended.

But the message from the API response is the below.
{
    "errors": [
        {
            "status": "409",
            "title": "conflict",
            "detail": "Unable to lock workspace. The workspace is already locked."
        }
    ]
}

I see, I would already be happy if we have a description in the portal :)

Just to provide some TFC context:
While it's true the lock reason is displayed in the TFC UI when you navigate to Locking section, it's displayed nowhere else. As @alfespa17 pointed, even the CLI is not displaying it.

On top, the lock reason can only be provided to TFC by the API. I've found no way of doing so through the UI.

Just to provide some TFC context:
While it's true the lock reason is displayed in the TFC UI when you navigate to Locking section, it's displayed nowhere else. As @alfespa17 pointed, even the CLI is not displaying it.
On top, the lock reason can only be provided to TFC by the API. I've found no way to do so through the UI.

This is what I am planning to do, put some message in the UI that shows the lock reason


[transaction][buffer] add interfaces for transaction buffer and an in-memory implementation

Master Issue: #2664
Motivation
Setup the project structure for developing transaction buffer.
Changes

setup the project structure
introduce common classes: TxnID, TxnStatus
introduce TransactionBuffer for broker to store and manage entries for transactions
enable checkstyle for pulsar-transaction

NOTES
All the changes are isolated into pulsar-transaction module. Hence it will not block any other changes or releases.


Make sure image pulling in /docker run works correctly

Takes a while to pull an image, but other than that, it seems to be working correctly


Rename file_format to avoid confusion

The "YAML file_format", as in this node in config.yaml:
# The file format version
file_format: "0.1"

collides with the "YAML file format" from the spec.
This introduces unnecessary confusion.
Suggested change, rename to configuration_version.

Just found out other opentelemetry yaml files uses the file_format node, for example in build tools:
https://github.com/open-telemetry/build-tools/blob/main/schemas/testdata/1.13.0-example
Better to keep the same pattern everywhere then.
Closing.


ci: initial semantic-release skeleton

What did you fix?
semantic-release automation on pushes to main

Reproduction steps

Evidence/screenshot/link to line

Considerations

Does this contain a new dependency? [Yes]
Does this introduce opinionated data formatting or manual data entry? [No]
Does this pr include updated data files in a separate commit that can be reverted for a clean code-only pr? [No]
Have I run the linter? [No]
Is is a bug fix, feature request, or enhancement? [Maintenance]

:tada: This PR is included in version 0.2.0 :tada:
The release is available on:

v0.2.0
GitHub release

Your semantic-release bot :package::rocket:


Tag the source

Could you please tag the source? This allows distributions to get the complete source from GitHub if they want.
Thanks

Hello! Thanks for bringing this to our attention. I have tagged a release. Please lmk if we missed anything else.


Problem processing rows of uneven number of elements

I found a problem with the lvm_read.read() function when processing a labview data file. Further testing shows that it cannot process rows of uneven number of elements.
Error prompted:
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (20224,) + inhomogeneous part.
Source of the problem:
lvm_data[s]['data'] = np.asarray(lvm_data[s]['data'])
if the lvm_data[s]['data'] is like this:

[[1,2,3], [1,2], [1,2,3],...]

Then it will produce this error.
Solution:
Based on solution proposed here: ayhan, the problem code can be changed to the following:
lvm_data[s]['data'] = np.asarray(list(itertools.zip_longest(*lvm_data[s]['data'], fillvalue=0))).T

Thank you @nevr1106! Are uneven number of elements supported by LVM?
As far as I am aware besides data one row is reserved for comments (which is in general string).
Can you please give more information on your motivation for the need?

The dataset I had problem with is shaped like this:

i th row: feature 1-10 at frequency 0.5s, feature 10-15 at frequency 1s, comment at frequency 1s

I do think the added comment is the trigger of the problem. The dataset with empty comment does not produce the same error.

Ok. Thanks for the explanation. Can you please attach the sample file?

Here is a dummy dataset that will trigger this error.
dummy_dataset.zip

@nevr1106 I have prepared a PR: https://github.com/ladisk/lvm_read/pull/13
I am not perfectly happy with this as it not an elegant/simple solution.
Your test file not only has comments it also has uneven data. Is this a real case that you had with your measurements?
PS: the comments are saved with the key "comments"
Please check it out and give feedback.

Yes, it is masked data from a real testing facility. The uneven data comes from sensors operating at different sampling frequency.

dear @nevr1106 have you further tested this implementation? It is a relatively big change and I am slightly hesitant in merging it... :)


istioctl manifest testing: traffic management

istioctl will be the default installation method for 1.4 onwards. We need to verify that the Istio installed using istioctl manifest apply works with the following tasks:
https://preliminary.istio.io/docs/tasks/traffic-management/

Note: tests should be done with version that has #18342.

I ran through the tests and it works as expected.


Value prediction development roadmap

This is the roadmap for Value prediction development, refer to #181 for the general roadmap development of xs-gem5.
Value prediction roadmap
Benchmarks

general: SPEC06
specific: other domain-specific applications.

Evaluation Metrics

SPEC06 weighted score and IPC speedup
Value predictor accuracy rate
Value predictor coverage rate

Development Purpose
The current expectation is to integrate the value predictor without massive changes to the microarchitecture. The primary goal of the current development of the value predictor is to integrate the stride-base value predictor for pre-RTL architecture exploration for kunminghu v3.
Development Details
value predictors

Stride based

[ ] Enhanced Stride ( ES,  from 1st CVP )

Context based

[ ] VTAGE ( from HPCA2014 )

Hybrid

Prediction error strategy

pipeline flushing.(current implementation)
Add replay-buffer, re-issue from replay-buffer.

Develop branchs

valuepred-base as a main branch of value prediction development.
valuepred-(feature) develops different predictors as a downstream branch of valuepred-base.

Does valuepred-base need to be synchronized with the upstream branch xs-dev? Any ideas?
Future

co-design with prefetch
co-degisn with memory dependency prediction unit

@shinezyy @jensen-yan
Preliminary performance data for the value predictor is given, currently only overall scores are given, detailed data has not yet been analyzed. A 5KB stride predictor is given first, as there are still bugs associated with the current predictor design. In comparison, the performance yields a 42% miss, which is very bad. The exact reason for this is yet to be analyzed.

================ Overall baseline=================
Estimated overall score per GHz: 16.200665687457658
Estimated overall score @ 3.0GHz: 48.60199706237297

================ Overall with 5KB EStride VP=================
Estimated overall score per GHz: 9.19388382981961
Estimated overall score @ 3.0GHz: 27.581651489458828


Handle bots using the RTM API too

Some bots, such as lita (https://github.com/litaio/lita-slack) is
using the RTM API.  Those show up as regular users, but have is_bot
set on their user object.  Pick up on that when formatting lines.
Thanks to Whoop on IRC for pointing this out.

Good catch - thanks @tfheen, the fix works for me. Also surprised to find out how many of my coworkers are bots.


Create Rackham cluster configuration file

We need to create a cluster configuration file for use on UPPMAX's Rackham cluster.

I just threw together a draft Rackham cluster config file.


refactor: remove git submodules; use soldeer

Issue ticket
Issue ticket link:
Checklist before requesting a review
Code conventions

[x] I have performed a self-review of my code
[x] Every new function is documented
[x] Object names are auto explicative
[x] The PR follows the project conventions
[x] The code follows the style guidelines of the project
[x] The code follows the project security best practices

Security

[x] The PR does not break APIs backward compatibility
[x] The PR does not break the stable storage backward compatibility

Testing

[x] Every function is properly unit tested
[x] I have added integration tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] IC endpoints are always tested through the canister_call! macro

Waiting for this to be merged in.

@itsyaasir It was merged yesterday


[Group 6][Accessible Pressable] Migrate IOUQuote

HOLD on https://github.com/Expensify/App/issues/16988
Description
Migrate IOUQuote to use PressableWithoutFeedback

Triggered auto assignment to @strepanier03 (NewFeature), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero process steps for feature requests for more details.

File propably removed between task creation and today. To remove.
CC. @roryabraham

I want to work on it.


License?

Hello,
I was wonder if this is released under some kind of a permissive license? I'd like to add this to my very simple port of cowsay to rust.
Cheers!

Hi @dmweis -- I've added the MIT license, please go ahead! ^_^

Thank you!


Production Environment

We need a production environment on which to host the application.

It is running. RIT hostname is tiquet.student.rit.edu. Piper has to assign dns for tiquet.me
To get ssh access send me your ssh public key and the username you want.

<IP_ADDRESS> A records are on namecheap now.


Added list support with prefix functionality

Added support for list() and kv.list({ prefix }) as per the cf docs
Let me know if any changes are needed.
EDIT: Updated code, it's list not browse

Hey, sorry I never saw your PR when I filed #130. I've got an implementation of cursor, and list_complete over there. Do you think we could combine them together in this PR?

Hey @GregBrimble
Yeah sure thing!, you can make PR on my branch I guess? Or I can make the changes, lmk what you prefer.

Any chance of this being merged in?

@tmayr , apologies, I totally missed your reply back in October.
@thetre97 , I think this repo has been abandoned now (see the README.md), but Cloudflare's wrangler tool now has the dev command, which let's you locally test a worker. Perosonally, I have been using it instead of cloudworker for a while now.

Ah, I had seen the preview command, but not the new dev command. Thanks!


Change way Dropdown ItemUI is created

In https://github.com/helpscout/hsds-react/pull/738 we made a change so that a Dropdown.Item could be rendered as an a tag instead of a div if the item had an href prop.
This worked fine, except in Chat UI. The items were being rendered as div components still, but most of the time, required two clicks for the onClick handler to fire.
To be honest, I'm not sure why this happened. The only thing we did here was change ItemUI to a factory that returns the ItemUI as a div or a tag.
Nonetheless, reverting that fixed the problem. We can use the withComponent API method on a Fancy StyledComponent to dynamically change the div to an a when there is an href prop and this works.
In essence, we're doing the same thing, but one solution causes problems and the other does not.

I tested this with 2.70.5-0 beta release.

Pull Request Test Coverage Report for Build 2803

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 2798:
0.0%

Covered Lines:
21

Relevant Lines:
21

💛  - Coveralls


Add image-trace-loader to README

Forgot all the loaders 😉

Oh, I also forgot to add it to the table above it.. 😅
Thanks for the notice and for adding it!


gitlab-ci-local sometimes update original sources file when artifacts requested

I use marmail-cli in my CI.
When using gitlab-ci-local :+1:

original sources files are updated while mermaid-cli run contenairized
permissions on source directory are also updated

Minimal .gitlab-ci.yml illustrating the issue
marmaid_svg:
  image:
    name: docker.io/minlag/mermaid-cli
    entrypoint: [""]
  script:
    - MMDC="/home/mermaidcli/node_modules/.bin/mmdc -p /puppeteer-config.json"
    - $MMDC -i docs/index.md -o docs/index2.md
  artifacts:
   paths:
      - docs/
   expire_in: "30 mins"

Expected behavior
updated artifacts in .gitlab-ci-local not in original sources
Host information
Ubuntu
gitlab-ci-local 4.45.1
Containerd binary
Docker
Additional context
Sample project https://github.com/airone-x1/gcl-mermaidcli
After running gitlab-ci-local

docs/ source directory become mod 777

docs/ contains  mermaid-cli output (svg, transformed md).

If i remove artifact statement my sources are not updated.

I expect gitlab-ci-local writing only in its own .gitlab-ci-local directory, not in my project files.

This must be a bug.
gitlab-ci-local is not supposed to change project specific file permissions.

I have the same problem with the artifact from a docker build.
Doing docker save $IMAGE | gzip -c > artifact.tgz creates the file in the project root, but I can't find a way to remove it after the artifact has been uploaded.
Tried to use $CI_BUILDS_DIR hoping to operate inside .gitlab-ci-local/build/ dir but no luck.

---
test-job:
  image:
    name: alpine
  script:
    - echo "hello" > test.txt
    - chmod 777 test.txt
    - chown 0:0 text.txt
  artifacts:
    paths:
      - test.txt

Because of https://github.com/firecow/gitlab-ci-local#the-noartifactstosource-decorator the test.txt is copied to the host folder with 777 file permissions, but not with 0:0 ownership, which is expected.
Can you try to simplify your example, so it's easier for me to reproduce?

In the very beginning gitlab-ci-local was pure shell executor without build folder isolating capabilities.
So artifacts to source is a ghost from the past, that will be opt-in in the next 5.x.x release

opt-in in the next 5.x.x release is perfect, thank you
Until then we can use an alias gcl='gitlab-ci-local --no-artifacts-to-source' (no success trying to define this option in $HOME/.gitlab-ci-local)


OSPP.VBS commands registry location incorrect

On this page:  https://docs.microsoft.com/en-us/deployoffice/vlactivation/tools-to-manage-volume-activation-of-office
/sethst and /setprt both say it creates registry keys under
HKLM\Software\Microsoft\OfficeSoftwareProtectionPlatform
That may be where old versions of Office create reg keys but I tested Office 2013(suspect later versions are also the same)and it creates reg keys under
HKLM\Software\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform
The full path was this
HKLM\Software\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\0ff1ce15-a989-479d-af46-f275c6370663\d450596f-894d-49e0-966a-fd39ed4c4c64
That 1st GUID appears to be the version of Office(Office15)but the 2nd GUID I don't know.  We should update this page to at least show the correct area of reg key and tell customers that if they want the exact reg key they should run the command to see what it creates then check.  That will give them the exact reg key they need to set if they are doing this outside of ospp.vbs

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: babf11e1-a068-ce1a-0157-d574a995f663
Version Independent ID: 235a8d72-2c4b-d4a0-1683-b275f64c055f
Content: Tools to manage volume activation of Office - Deploy Office
Content Source: DeployOffice/vlactivation/tools-to-manage-volume-activation-of-office.md
Product: office-perpetual-itpro
GitHub Login: @DHB-MSFT
Microsoft Alias: danbrown

Correct me if I was wrong:
The AppID "0ff1ce15-a989-479d-af46-f275c6370663" should stand for 2013 and above.
Here's an incomplete Product SKU list that I can find:

SKU ID
Product Name

b322da9c-a2e2-4058-9e4e-f59a6970bd69
Office 2013 Pro Plus VL

b13afb38-cd79-4ae5-9f7f-eed058d750ca
Office 2013 Standard VL

d450596f-894d-49e0-966a-fd39ed4c4c64
Office 2016 Pro Plus VL

dedfa23d-6ed1-45a6-85dc-63cae0546de6
Office 2016 Standard VL

85dd8b5f-eaa4-4af3-a628-cce9e77c9a03
Office 2019 Pro Plus VL

6912a74b-a5fb-401a-bfdb-2e3ab46f4b02
Office 2019 Standard VL


Images with file name in camel case fail to render.

Hey folks,
when using images with file names in camel case they fail to render in the resulting pdf. Here is a minimal example  to reproduce the problem.
Calling the following in the 'failing' folder doesn't render the image.
curl --request POST 'http://<IP_ADDRESS>:3000/forms/chromium/convert/html' \
--header 'Content-Type: multipart/form-data' \
--form<EMAIL_ADDRESS>\
--form<EMAIL_ADDRESS>\
--form 'paperWidth="8.27"' \
--form 'paperHeight="11.7"' \
-o my.pdf

Whereas calling the following in the working folder works just fine.
curl --request POST 'http://<IP_ADDRESS>:3000/forms/chromium/convert/html' \
--header 'Content-Type: multipart/form-data' \
--form<EMAIL_ADDRESS>\
--form<EMAIL_ADDRESS>\
--form 'paperWidth="8.27"' \
--form 'paperHeight="11.7"' \
-o my.pdf

I am using version 7.0.4.

@borttrob version 7.0.6 resolves your issue 😄 thanks for the reporting the issue!

Whoah, that was fast! 👍


[UX Enhancement] Share button

Currently, if you want to share an already shared file on CryptoDrive, it needs to be first downloaded by user, and uploaded and then shared. This is bad UX.
The following feature will help to overcome this.
Implementing Share feature, on Shared Files Section.
This will enrich UX and avoid unnecessary heads on user

As a part of the retrospective week, I am working on this issue @imabp @Sameerkash


Add codecov

Try codecov
Try codecov bash uploader
Move codecov to it's own action
Add codecov badge

Description

Motivation and Context

Closes #
How Has This Been Tested?

[ ] I have tested using MacOS
[ ] I have tested using Linux
[ ] I have tested using Windows

Checklist

[ ] I have updated the documentation accordingly.
[ ] I have updated the tests accordingly.

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@e88ffc4). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #3   +/-   ##
=======================================
  Coverage        ?   81.04%
=======================================
  Files           ?        6
  Lines           ?      422
  Branches        ?        0
=======================================
  Hits            ?      342
  Misses          ?       79
  Partials        ?        1

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 e88ffc4...98ca49a. Read the comment docs.


Optional ImageScaleMode

Follow up to #11600 and #10588

@mockersf expressed some valid concerns about the current system this PR attempts to fix:
The ComputedTextureSlices reacts to asset change in both bevy_sprite and bevy_ui, meaning that if the ImageScaleMode is inserted by default in the bundles, we will iterate through most 2d items every time an asset is updated.
Solution

ImageScaleMode only has two variants: Sliced and Tiled. I removed the Stretched default
ImageScaleMode is no longer part of any bundle, but the relevant bundles explain that this additional component can be inserted

This way, the absence of ImageScaleMode means the image will be stretched, and its presence will include the entity to the various slicing systems
Optional components in bundles would make this more straigthfoward
Additional work
Should I add new bundles with the ImageScaleMode component ?

Should I add new bundles with the ImageScaleMode component?

IMO no, the docs about this feature is good enough, the user can pretty much find this on they own, and we even have examples showing how to use this


[Help]: error in sbas.stack_parallel()

Hi @mobigroup, I am facing this error in Align a Pair of Images step. I tried both on my local computer and collab.
https://colab.research.google.com/drive/1TM1ClRpEX1cIiQCUxXVZj9hfkEwmfvVx?usp=sharing
sbas.stack_parallel()
KeyError                                  Traceback (most recent call last)
Cell In [32], line 1
----> 1 sbas.stack_parallel()
File /usr/local/lib/python3.8/dist-packages/pygmtsar-2022.12.1-py3.8.egg/pygmtsar/SBAS_stack.py:235, in SBAS_stack.stack_parallel(self, dates, n_jobs, **kwargs)
233 # prepare secondary images
234 with self.tqdm_joblib(tqdm(desc='Aligning', total=len(dates)*len(subswaths))) as progress_bar:
--> 235     joblib.Parallel(n_jobs=n_jobs)(joblib.delayed(self.stack_rep)(subswath, date, **kwargs)
236                                    for date in dates for subswath in subswaths)
File ~/.local/lib/python3.8/site-packages/joblib/parallel.py:1098, in Parallel.call(self, iterable)
1095     self._iterating = False
1097 with self._backend.retrieval_context():
-> 1098     self.retrieve()
1099 # Make sure that we get a last message telling us we are done
1100 elapsed_time = time.time() - self._start_time
File ~/.local/lib/python3.8/site-packages/joblib/parallel.py:975, in Parallel.retrieve(self)
973 try:
974     if getattr(self._backend, 'supports_timeout', False):
--> 975         self._output.extend(job.get(timeout=self.timeout))
976     else:
977         self._output.extend(job.get())
File ~/.local/lib/python3.8/site-packages/joblib/_parallel_backends.py:567, in LokyBackend.wrap_future_result(future, timeout)
564 """Wrapper for Future.result to implement the same behaviour as
565 AsyncResults.get from multiprocessing."""
566 try:
--> 567     return future.result(timeout=timeout)
568 except CfTimeoutError as e:
569     raise TimeoutError from e
File /usr/lib/python3.8/concurrent/futures/_base.py:444, in Future.result(self, timeout)
442     raise CancelledError()
443 elif self._state == FINISHED:
--> 444     return self.__get_result()
445 else:
446     raise TimeoutError()
File /usr/lib/python3.8/concurrent/futures/_base.py:389, in Future.__get_result(self)
387 if self._exception:
388     try:
--> 389         raise self._exception
390     finally:
391         # Break a reference cycle with the exception in self._exception
392         self = None
KeyError: "None of [Index(['lon_tie_point'], dtype='object', name='name')] are in the [index]"

Fixed, please check the notebooks. The issue was related to upgraded Python 3.7 to 3.8 on Google Colab but with outdated numeric calculation libraries preinstalled.

Thanks, problem solved.


[KOGITO-865] Small refactor to reuse same functions to deploy data index

See: https://issues.redhat.com/browse/KOGITO-865
Just a small adjustment to remove some duplications in code.
Many thanks for submiting your Pull Request :heart:!
Please make sure that your PR meets the following requirements:

[x] You have read the contributors guide
[x] Pull Request title is properly formatted: [KOGITO-XYZ] Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket
[x] Your feature/bug fix has a unit test that verifies it
[ ] You've tested the new feature/bug fix in an actual OpenShift cluster

I'll merge this one and rebase #318. There we can unify the refactor and come up with a common ground.


Web Extension Support

Specific Demand
I'm trying to create a web extension in Rust. I started with this template as a base and tried implementing Dioxus for generating the extension's UI, but it appears there are some issues with using it in this way. Running the extension template's build.sh file with references to Dioxus produces the following error:

error: importing from ./snippets/dioxus-interpreter-js-dab579f08da5298b/inline0.js isn't supported with --target no-modules

I also tried using Dioxus's documented build method ('trunk build') to build the project, but that doesn't produce files needed for the web extension in the output directory (i.e. manifest files and possibly others).
Implement Suggestion
I'm still trying to figure this out! Perhaps someone else could help?

Update--I got this working by modifying the template project I was using. This is my build.sh script:
#!/bin/sh

rm -rf pkg

trunk build --release --filehash false

# Find value of argument --manifest-version
for arg in "$@"; do
  case "$arg" in
    --manifest-version=*)
      manifest_version="${arg#*=}"
      ;;
  esac
done

# Copy manifest.json to dist
if [ "$manifest_version" = "v3" ] || [ "$manifest_version" = "3" ]; then
  cp manifest_v3.json dist/manifest.json
else if [ "$manifest_version" = "v2" ] || [ "$manifest_version" = "2" ]; then
  cp manifest_v2.json dist/manifest.json
else
  echo "Packaging with manifest version v2. Pass --manifest-version=v3 to package with manifest version 3."
  cp manifest_v2.json dist/manifest.json
  fi
fi

cp favicon.png dist/favicon.png
cp content_script.js dist/content_script.js
cp background.js dist/background.js

I also modified the manifest.json file:
{
    "name" : "[name]",
    "version" : "1.0",
    "description" : "",
    "permissions": [],
    "background": {
        "service_worker": "background.js",
        "type": "module"
    },
    "content_scripts": [
        {
            "matches": ["*://*/*"],
            "js": [
                "content_script.js"
            ]
        }
    ],
    "content_security_policy": {
        "extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self';"
    },
      "resources": [
          "[name]_bg.wasm",
          "[name].js",
          "[inline0]",
      ],
    "manifest_version": 3
}

You'll also need to include a content_script.js file and background.js file in the project directory. This was the content_script.js file I used:
var elemDiv = document.createElement('div');
elemDiv.setAttribute("id", "main");
elemDiv.style = "z-index: 10000";
document.body.appendChild(elemDiv);

(async () => {
  const src = chrome.runtime.getURL("[name].js");
  const { default: init } = await import(src);

  init(chrome.runtime.getURL("[name]_bg.wasm"));
})();

And this was the background.js file:
import init from "./[name].js";

init(chrome.runtime.getURL("[name]_bg.wasm"));

Replace [name] in these files with the name of your project. Also replace [inline0] in the manifest.json file with the path of your inline0.js file in the ouput (dist) directory. It should be something similar to 'snippets/dioxus-interpreter-js-dab579f08da5298b/inline0.js'. That should be everything!

Update--I got this working by modifying the template project I was using. This is my build.sh script:
#!/bin/sh

rm -rf pkg

trunk build --release --filehash false

# Find value of argument --manifest-version
for arg in "$@"; do
  case "$arg" in
    --manifest-version=*)
      manifest_version="${arg#*=}"
      ;;
  esac
done

# Copy manifest.json to dist
if [ "$manifest_version" = "v3" ] || [ "$manifest_version" = "3" ]; then
  cp manifest_v3.json dist/manifest.json
else if [ "$manifest_version" = "v2" ] || [ "$manifest_version" = "2" ]; then
  cp manifest_v2.json dist/manifest.json
else
  echo "Packaging with manifest version v2. Pass --manifest-version=v3 to package with manifest version 3."
  cp manifest_v2.json dist/manifest.json
  fi
fi

cp favicon.png dist/favicon.png
cp content_script.js dist/content_script.js
cp background.js dist/background.js

I also modified the manifest.json file:
{
    "name" : "[name]",
    "version" : "1.0",
    "description" : "",
    "permissions": [],
    "background": {
        "service_worker": "background.js",
        "type": "module"
    },
    "content_scripts": [
        {
            "matches": ["*://*/*"],
            "js": [
                "content_script.js"
            ]
        }
    ],
    "content_security_policy": {
        "extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self';"
    },
      "resources": [
          "[name]_bg.wasm",
          "[name].js",
          "[inline0]",
      ],
    "manifest_version": 3
}

You'll also need to include a content_script.js file and background.js file in the project directory. This was the content_script.js file I used:
var elemDiv = document.createElement('div');
elemDiv.setAttribute("id", "main");
elemDiv.style = "z-index: 10000";
document.body.appendChild(elemDiv);

(async () => {
  const src = chrome.runtime.getURL("[name].js");
  const { default: init } = await import(src);

  init(chrome.runtime.getURL("[name]_bg.wasm"));
})();

And this was the background.js file:
import init from "./[name].js";

init(chrome.runtime.getURL("[name]_bg.wasm"));

Replace [name] in these files with the name of your project. Also replace [inline0] in the manifest.json file with the path of your inline0.js file in the ouput (dist) directory. It should be something similar to 'snippets/dioxus-interpreter-js-dab579f08da5298b/inline0.js'. That should be everything!


Questions about managing audio playback

Hello,
Can you please propose on solutions for the following tasks (using this library):

Pausing the audio.
Finding out whether the audio ended playing/was paused/resumed.
How do you play the audio that's being downloaded? Currently I'm downloading youtube videos with github.com/otium/ytdl lib, but can't play them until the files are not fully downloaded.

Thank you.

Okay, none of this works out of the box with dgvoice but it's all possible.  It's actually all being done with the bruxism musicplugin but, I'll warn you now that code isn't the cleanest.
https://github.com/iopred/bruxism/tree/master/musicplugin
I'll try to spend some time on dgvoice though and add some examples of the above here. Meanwhile, read  though the musicplugin code and see if that helps get you going.  Hit me up on Discord if you run into any questions.


add Pop method to return deleted value

This is useful for SafeMap where you cannot Lock() to perform Get() and Delete() atomically.

I think this is a great idea. Looking through the code, I don't see anything wrong with changing the interface for Delete to also return the value. That shouldn't break any current code, and it just adds a map lookup to Delete in all the versions, so it shouldn't significantly impact performance. Do you think you could change your code to just have Delete return the value, instead of adding another function?

Sure I'll update it tomorrow!

@spekary done!


Enforce one help channel per user

This PR removes the cool down functionality from the help channel cooldown role, and instead applies the role when their help channel opens and removes it exactly when that channel closes, thereby ensuring that a given user is never the claimant of more than one channel.
If you test this functionality, please list which cases you tried.
Closes #1576.

Have played around with it a bit and it seems to work fine. My only worry is that removing the timed cooldown creates a potential for trolls to quickly open and close their channel to mess with the system, I think that was one of the reasons for having a cooldown. On the other hand, being able to simplify the system is nice, and the amount of harm somebody could cause is likely pretty low and we would notice/deal with it pretty quickly.
To clarify, that would still involve limiting the help channels to one per person, but on top of that there would be a short cooldown (e.g. 5 minutes) to prevent abuse. Thoughts?

@wookie184 I don't think that concern was raised during the meeting where we green-lit this change.
I'm hesitant to have the "channel is closed and five minutes" cooldown as it re-introduces some of the complexity that this seeks to eliminate. I have also at times closed help sessions that have been overrun by trolls and instructed the claimant to open a new session, and I wouldn't want to lose the option to do that without penalizing the claimant.


Smooth the curves

I think you should make the curves smoother
It will be easier to paint in real life
And it's perfect if the user can define the smoothing level

Suggestions how to do this are welcome. I've tried some things on a separate branch but I couldn't get it to work :(. Facets consist of shared border segments and making them all wiggly (= bezier curves with control point the middle of 2 data points) created gaps around the border segment ends :/

Suggestions how to do this are welcome. I've tried some things on a separate branch but I couldn't get it to work :(. Facets consist of shared border segments and making them all wiggly (= bezier curves with control point the middle of 2 data points) created gaps around the border segment ends :/

Thank you for your reply. I'm just a non-tech guy, love this project and trying to make a Paint By Number for myself.
I found something on the internet, is it useful?

Convert the zigzag to a list of points
Make a curve go through them
https://github.com/PaoloConte/smooth-line-chart
https://stackoverflow.com/questions/7054272/how-to-draw-smooth-curve-through-n-points-using-javascript-html5-canvas

Hope this link is useful
https://codegolf.stackexchange.com/questions/42217/paint-by-numbers

First of all, thanks so much for this amazing tool. I've tried all the software I could find, free and paid, and this is miles ahead, by far the best!
The configuration options make a world of difference. Comparing it to PBNify which to be fair also does a great job... but is catered more to those who don't like to tweak. It doesn't output a vector, the palette needs to be selected manually and it lacks configuration options which makes the output hit or miss. The one thing I do like about PBNify is that it rounds off the points.
Have you had a look to see how they are doing it? Or is it a case of two different animals... Vector vs. Raster?

First of all, thanks so much for this amazing tool. I've tried all the software I could find, free and paid, and this is miles ahead, by far the best!
The configuration options make a world of difference. Comparing it to PBNify which to be fair also does a great job... but is catered more to those who don't like to tweak. It doesn't output a vector, the palette needs to be selected manually and it lacks configuration options which makes the output hit or miss. The one thing I do like about PBNify is that it rounds off the points.
Have you had a look to see how they are doing it? Or is it a case of two different animals... Vector vs. Raster?

For anyone still interested in smooth lines.
Alternatively, you could convert the PNG image to SVG with another tool, that has smoothing capabilities (like Vector Magic) and upload that SVG file to this generator. That way, it seems to skip the K-Means clustering and facet building steps, which introduce sharp edges and just adds the segmentation labels and palettes.
Thank you so much for this tool! @drake7707


update(falco): bump k8saudit version in values-k8saudit.yaml

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

If this PR will release a new chart version please make sure to also uncomment the following line:

/kind chart-release

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area falco-chart

/area falco-exporter-chart

/area falcosidekick-chart

/area falco-talon

/area event-generator-chart

/area k8s-metacollector

What this PR does / why we need it:
See https://github.com/falcosecurity/plugins/issues/550
Which issue(s) this PR fixes:

Fixes https://github.com/falcosecurity/plugins/issues/550
Special notes for your reviewer:
Checklist

[ ] Chart Version bumped
[ ] Variables are documented in the README.md
[ ] CHANGELOG.md updated

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: cpanato, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [cpanato,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Issif, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Issif,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


chore: remove batch operations

@poppoerika The batch operations have been moved to a branch in client-sdk-dotnet-incubating and will be added into the incubating client in the future.