Cleanup recent changes.

Description

Fixup https://github.com/fsprojects/Paket/pull/2388 and move this logic to the installmodel.
At this time filter the xml stuff
See if we can report part of https://github.com/fsprojects/Paket/pull/2379 without trace.

related (2nd point): https://github.com/fsprojects/Paket/issues/2360

In progress: https://github.com/fsprojects/Paket/pull/2454


Request to make carla objects Client and World pickleable

Hi,
I'm currently working on a multiprocessing-based solution to running CARLA paralelly on a compute-cluster and running into errors mostly because some classes that I import from libcarla (like Client and World) are not pickleable (which is a strict requirement for python's multiprocessing lib since it uses pickle for serialization in a Process()).
I can look into this more myself(it may not be very difficult to make them pickleable) and maybe contribute those fixes, but just posting first to see if:

this is already being looked into/been attempted, or
if the people who're actively working on this codebase have a few suggestions to guide the same
If the fixes can be merged into the release branch as well as the docker images released then that'd be especially great because then I wouldn't have to keep working off off an ad-hoc solution.
The pickleability would really help write flexible paralellisable solutions using CARLA.
Thanks!
Gunshi

Hi @gunshi,
I took a quick look a while ago and it's not an easy task. Most of the objects in our API have a reference to a sort of global manager (per client) that connects to simulator and caches data for fast access. Serializing all these wouldn't be trivial, and the API objects without this global manager are useless (the world is literally just a pointer to this object).
Perhaps you can try to pickle just the necessary to initialize a new client on a different process, ip+port, then share actors by id. Perhaps for convenience we can make pickleable objects like transform, location, and other light-weight objects.

Got it, I will look into other options then, thanks!


V1400

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.3 out of 4 committers have signed the CLA.:white_check_mark: vickum:white_check_mark: saravananbalakris:white_check_mark: raghu-madat:x: Shaik Nayab RasoolShaik Nayab Rasool seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


fix:Add links heading to ToC

Details
Problem outlined in: https://github.com/kdheepak/panvimdoc/issues/62
Link header is added to toc table, however this happens after the ToC is rendered so it is effectively ignored.
Change rendering order so links are added before the ToC.
Updated a unit test case to catch this.

Thanks for making a PR for the fix! It looks good to me!


fix zoom icon

fix zoom icon by adding < />

fixed already in https://github.com/HumanSignal/label-studio-frontend/pull/52


fix typo

fix typo

@arob98 : Thanks for your contribution! The author, @maggiesMSFT, has been notified to review your proposed change.

Thanks, @arob98!


[Regression] Charts not working correctly

Not sure why the actual site is having issues with the charts for Q4 2021 Progress Report.
Preview Site:
9175dfc2.pcsx2-net-www.pages.dev
Actual Site:
https://pcsx2.net/blog/2022/q4-2021-progress-report/

Looks to be loading a cached old version of the theme.js file

Fixed by #127


Is this repo still work now?

Every time i tried to use fbchat to login, and my account will be ban, even i use the example code, its still be ban. is my wrong or is not work now?

Related: #457 #427

oic, i will try, thx u

wait, the solution I saw is to use session or try to add phone-number
but i can't even log in now，and my account already have phone now.
is there any other way can fix it? thx

Try first to just log in with fbchat using the same IP that you're using to normally login by a browser. Then save the session to a file, so you can use it not getting blocked.

sorry forgot to reply it, i used the same ip already, but it still been ban, is there other way?

@kapi2289 how do you recommedn saving to a file?

I had a solution for this by i am stuck on repsone 500 error

Its working


Dev

Description
Added handler for files uploaded to the compressed folder.
Changes Made
Files uploaded to the images/compresed folder are now processed by rekognition. Currently processes faces.
Checklist

[x] I have followed the coding style guidelines of the project.
[x] My code passes all existing unit tests.
[ ] I have added new unit tests to cover the changes where applicable.
[ ] I have updated the documentation to reflect the changes.
[x] My changes do not introduce any new warnings or errors.
[x] I have tested my changes thoroughly.

Additional Notes
May need to split the rekognition handlers into smaller functions. Depends on the latency.

Need to fix the environment setting.


Feature/ping during demo

Trying to change streaming endpoint to RPC. That makes it easier to enable pings during demo.
TODO - Retry RPC to server until x mins and show appropriate status in status box.

This change is

*) On running the client and server, the error page doesn't show up when the server crashes.
*) Also, when the server comes back up, the following logs show up :
2016/07/06 04:49:39 Error: invalid argument while writing logs to file for Cand: Pawan Rawal
2016/07/06 04:49:39 Got ping before demo for Cand: Pawan Rawal
2016/07/06 04:49:44 Error: invalid argument while writing logs to file for Cand: Pawan Rawal
2016/07/06 04:49:44 Got ping before demo for Cand: Pawan Rawal
2016/07/06 04:49:49 Error: invalid argument while writing logs to file for Cand: Pawan Rawal
2016/07/06 04:49:49 Got ping before demo for Cand: Pawan Rawal
2016/07/06 04:49:54 Error: invalid argument while writing logs to file for Cand: Pawan Rawal
2016/07/06 04:49:54 Got ping before demo for Cand: Pawan Rawal
2016/07/06 04:49:59 Error: invalid argument while writing logs to file for Cand: Pawan Rawal
2016/07/06 04:49:59 Got ping before demo for Cand: Pawan Rawal

Review status: 0 of 5 files reviewed at latest revision, 5 unresolved discussions.

client/main.go, line 61 [r1] (raw file):

	showingAns   bool
	startedPing  bool
	testEndCh    chan struct{}

Any reason that it is an empty struct? Could just be an integer or a string.

client/main.go, line 171 [r1] (raw file):

			select {
			case <-s.testEndCh:
				break L

Won't just a return be sufficient here?

client/main.go, line 174 [r1] (raw file):

			default:
				sendStatus()
			}

Would be better if the loop is structured like this so that there wont be a delay in consuming the testEndCh which would be checked only every 5 seconds now.
for {
 select {
  case <- s.testEndCh:
   .
   case <- ticker.C:
    sendStatus()

 }
}

client/main.go, line 423 [r1] (raw file):

	defer termui.Close()

	s.testEndCh = make(chan struct{}, 2)

Could be an int or a string.

client/render.go, line 245 [r1] (raw file):

func showFinalPage(msg string) {
	s.testEndCh <- struct{}{}

Same as above.

Comments from Reviewable

Reviewed 5 of 5 files at r1.
Review status: all files reviewed at latest revision, 5 unresolved discussions.

Comments from Reviewable

Checking these.

Review status: all files reviewed at latest revision, 5 unresolved discussions.

client/main.go, line 61 [r1] (raw file):
Previously, ashwin95r (Ashwin Ramesh) wrote…
> Any reason that it is an empty struct? Could just be an integer or a string.

The thing is that the value doesn't matter hence kept it as empty struct. Took inspiration from here https://blog.golang.org/pipelines

client/main.go, line 171 [r1] (raw file):
Previously, ashwin95r (Ashwin Ramesh) wrote…
> Won't just a return be sufficient here?

Should be, they'd establish the same things.

client/main.go, line 174 [r1] (raw file):
Previously, ashwin95r (Ashwin Ramesh) wrote…
> Would be better if the loop is structured like this so that there wont be a delay in consuming the testEndCh which would be checked only every 5 seconds now.
> ```
> for {
>  select {
>   case <- s.testEndCh:
>    .
>    case <- ticker.C:
>     sendStatus()
>
>  }
> }
> ```
>

Good point, this makes sense.

client/main.go, line 423 [r1] (raw file):
Previously, ashwin95r (Ashwin Ramesh) wrote…
> Could be an int or a string.

Same point as above. IMHO its better to pass an empty struct instead of a value like 1 or 2.

Comments from Reviewable

I love this change. It deletes more code than it adds while simplifying the logic.

Reviewed 5 of 5 files at r1.
Review status: all files reviewed at latest revision, 8 unresolved discussions.

client/main.go, line 61 [r1] (raw file):
Previously, ashwin95r (Ashwin Ramesh) wrote…
> Any reason that it is an empty struct? Could just be an integer or a string.

This is the first empty struct chan we're using in Dgraph. Nice work! Ashwin: https://blog.golang.org/pipelines

client/main.go, line 136 [r1] (raw file):

			clear()
			showFinalPage(finalScore(s.currentQn.Totscore))
			return

if return else return

client/main.go, line 144 [r1] (raw file):

	}

	if serverS.Status == "END" {

Having a variable name end with an upper case is a bit strange. Change the naming.

client/main.go, line 174 [r1] (raw file):
Previously, pawanrawal (Pawan Rawal) wrote…
> Good point, this makes sense.

Agree with Ashwin. An infinite for loop, with 2 multiple select cases is the idiomatic Go way.

client/main.go, line 423 [r1] (raw file):
Previously, pawanrawal (Pawan Rawal) wrote…
> Same point as above. IMHO its better to pass an empty struct instead of a value like 1 or 2.

Agree with Pawan. Empty struct channels have a meaning in Go.
Pawan: Just double check with the Go book on the best implementation using empty struct channels. I haven't used them much.

server/main.go, line 541 [r1] (raw file):

	if c.testStart.IsZero() {
		demoTimeLeft := timeLeft(c.demoStart)
		if demoTimeLeft < 0 {

Looks like if demoTimeLeft > 0 would result in a shorter block, so do that condition first. In general, any cond which results in shorter block should go first.

Comments from Reviewable

Will be fixing those bugs in a separate PR Ashwin.

Review status: 3 of 5 files reviewed at latest revision, 9 unresolved discussions.

client/main.go, line 136 [r1] (raw file):
Previously, manishrjain (Manish R Jain) wrote…
> if return else return

Shit, realized that `go lint` warns about this. So, i am going to use it now until I start seeing this.

client/main.go, line 144 [r1] (raw file):
Previously, manishrjain (Manish R Jain) wrote…
> Having a variable name end with an upper case is a bit strange. Change the naming.

Changed it to a const and using that everywhere.

client/main.go, line 174 [r1] (raw file):
Previously, manishrjain (Manish R Jain) wrote…
> Agree with Ashwin. An infinite for loop, with 2 multiple select cases is the idiomatic Go way.

Done.

client/main.go, line 423 [r1] (raw file):
Previously, manishrjain (Manish R Jain) wrote…
> Agree with Pawan. Empty struct channels have a meaning in Go.
>
> Pawan: Just double check with the Go book on the best implementation using empty struct channels. I haven't used them much.

They use it in a pretty similar manner.

client/render.go, line 245 [r1] (raw file):
Previously, ashwin95r (Ashwin Ramesh) wrote…
> Same as above.

Done.

server/main.go, line 541 [r1] (raw file):
Previously, manishrjain (Manish R Jain) wrote…
> Looks like if demoTimeLeft > 0 would result in a shorter block, so do that condition first. In general, any cond which results in shorter block should go first.

Done.

Comments from Reviewable

Sounds good.

Reviewed 1 of 2 files at r2, 1 of 1 files at r3.
Review status: all files reviewed at latest revision, 8 unresolved discussions.

Comments from Reviewable

Merged.


Unicode Characters in Strings get parsed to strange characters

Describe the bug
When a String field inside a QVD file contains non-ASCII characters, the parsed value contains characters that are not in the original string.
To Reproduce
Steps to reproduce the behavior:

Create a QVD DataFrame which contains non ASCII characters
Load the QVD from the file
View the data
See error

>>> df = QvdDataFrame.from_dict({"columns": ["DATA"], "data": [["São Tomé and Príncipe"]]})
>>> df.at(0,"DATA")
'São Tomé and Príncipe'
>>> df.to_qvd("sample.qvd")
>>> df2 = QvdDataFrame.from_qvd("sample.qvd")
>>> df2.at(0,"DATA")
'SÃ£o TomÃ© and PrÃ\xadncipe'

Expected behavior
>>> qvd_df.at(0, "DATA")
'São Tomé and Príncipe'

Additional context
I believe this stems from lines 434 and following from qvd.py. I think one way to parse the data into string was to use the Python bytes.decode() method.

Thanks for pointing out that bug. You're right, a byte-encoded string should be decoded as a whole and not byte by byte, otherwise UTF-8 bytes that may belong together will be interpreted as separate bytes. That leads to this error.
byte_data = bytearray()

while symbol_buffer[pointer] != 0:
    byte_data.append(symbol_buffer[pointer])
    pointer += 1

value = byte_data.decode(encoding="utf-8")

I'm working on it and will release a corresponding patch release.

Bug has been fixed with the latest patch release v1.1.1. Reading/Writing unicode strings in QVD tables should be possible now.


Input fields that once had a reporter in them default to "undefined"

Expected Behavior
When an input field used to have a reporter in them, the input fields should still report the text within them.
Actual Behavior
"undefined" is reported.
Steps to Reproduce

Drag out any block with a text/number input field

Put another block in a field

Drag that block back out

Change the text within; it still is "undefined"

Operating System and Browser
Windows 11 on MS Edge 128

Inputs fields are displayed as entered.


Mouse hover on DOM element or node should highlight it in the browser

When debugging something related to DOM it is quite handy to know why element you currently have in your scope (in TS of JS file) Browser DevTools allows you to mouse over it and highlight in on the page. VSC DevTools do not. Same is true for the console in the browser and in vscode.

Would be great to have this feature in vs code.

Thank you for filing this issue! I've opened a feature request on the JavaScript debugging crew. However, it may require some changes on our part as well, so I'll leave this open in the meantime

Hi jurjisk, Looks like we are blocked on a limitation from Visual Studio Code itself. There are more details in the mentioned bug that I've linked above. In the meantime, closing out this issue


tensorRT GOTURN?

Hi, have you had any success converting the model to tensorRT and running with that?

Hi, no I have tried. Let me know if you do, would be happy to include it.


Missing error printing for module types

Check error message here:
module type X = {
  let x: int
}
module type Y = {
  let y: int
}

let z: module(X) = module(
  {
    let y = 1
  }: Y
)

[E] Line 8, column 19:
This has type:
  Somewhere wanted:

cc @chenglou, I guess this is a super errors thing as it also reproduces in the old Reason syntax?
https://rescript-lang.org/try?ext=re&code=LYewJgrgNgpgBAFwJ4Ad4A04F44G9YJwAeAXHAJYB2CA3AL40BQoksiq8AmtngXEmSq0GjRnwBeZFtAw8AFIzhw502IqW51SuHyQ8AzE210AlGRXgZcTicYmmQA

Fixed in master =D


Swift common role should be dependency of all swift related roles

Currently swift-proxy and swift-ring doesn't have swift-common as dependency

Fixed by #1567


Arguments passed to jtx Env::operator() must be invocable:

Before this patch, jtx allowed non-invocable functions to be passed to
operator(). However, these arguments are ignored. This caused erronious code
code such as:
env (offer (account_to_test, BTC (250), XRP (1000)),
         offers (account_to_test, 1));

While it looks like the number of offers are checked, they are not. The offers
funclet is never run. While we could modify jtx to make the above code correct,
a cleaner solution is to run post conditions in a require statement after a
transasction runs.

Note: as soon as we switch to c++-17 I'll replace all the "for each argument" hacks we have in place now with cleaner fold expressions.

Jenkins Build Summary
Built from this commit
Built at 20190323 - 19:22:53
Test Results

Build Type
Log
Result
Status

msvc.Debug
console
no test results, t: n/a
FAIL :red_circle:

gcc.Release -Dassert=ON, MANUAL_TESTS=true
logfile
915 cases, 0 failed, t: 5m10s
PASS :white_check_mark:

docs, TARGET=docs
logfile
1 cases, 0 failed, t: 0m1s
PASS :white_check_mark:

gcc.Debug -Dcoverage=ON, TARGET=coverage_report, SKIP_TESTS=true
logfile
1158 cases, 0 failed, t: 17m0s
PASS :white_check_mark:

clang.Debug
logfile
1158 cases, 0 failed, t: 2m57s
PASS :white_check_mark:

msvc.Debug, NINJA_BUILD=true
console
no test results, t: n/a
FAIL :red_circle:

gcc.Debug
logfile
1158 cases, 0 failed, t: 3m4s
PASS :white_check_mark:

clang.Debug -Dunity=OFF
logfile
1157 cases, 0 failed, t: 10m36s
PASS :white_check_mark:

gcc.Debug -Dunity=OFF
logfile
1157 cases, 0 failed, t: 6m18s
PASS :white_check_mark:

rpm
logfile
1158 cases, 0 failed, t: n/a
PASS :white_check_mark:

clang.Release -Dassert=ON
logfile
1158 cases, 0 failed, t: 4m56s
PASS :white_check_mark:

gcc.Release -Dassert=ON
logfile
1158 cases, 0 failed, t: 5m5s
PASS :white_check_mark:

gcc.Debug -Dstatic=OFF
logfile
1158 cases, 0 failed, t: 3m5s
PASS :white_check_mark:

msvc.Debug -Dunity=OFF
console
no test results, t: n/a
FAIL :red_circle:

gcc.Debug -Dstatic=OFF -DBUILD_SHARED_LIBS=ON
logfile
1158 cases, 0 failed, t: 3m2s
PASS :white_check_mark:

gcc.Debug, NINJA_BUILD=true
logfile
1158 cases, 0 failed, t: 2m58s
PASS :white_check_mark:

msvc.Release
console
no test results, t: n/a
FAIL :red_circle:

clang.Debug -Dunity=OFF -Dsan=address, PARALLEL_TESTS=false, DEBUGGER=false
logfile
1157 cases, 0 failed, t: 4m20s
PASS :white_check_mark:

clang.Debug -Dunity=OFF -Dsan=undefined, PARALLEL_TESTS=false
logfile
1157 cases, 0 failed, t: 6m46s
PASS :white_check_mark:

The CI visual studio tests are failing. I'm closing this PR until I can debug them.

Reopening this. The windows issues appears to be a compiler issue that is fixed in newer versions of visual studio. We are upgrading the visual studio we are using in CI.


How To Set Background to alpha

Hi, sorry for asking, i'm new to flutter, on three js web i can set alpha background by set render alpha true, how i can achieve that ? because i want stacking a widget, behind it
thanks in advance

i have modified multiview but the container line not show, event i was set alpha to true

Hi @RansomBroker,
To get the alpha to work you will need to add the settings for the ThreeJS class.
'''dart
threeJs = three.ThreeJS(
onSetupComplete: (){setState((){});},
setup: setup,
settings: three.Settings(
alpha: true,
clearAlpha: 0.0,
clearColor: 0x000000
)
);
'''
There is an issue in ThreeJS.build you will need to go in and change the color parameters to Colors.tranparent.
Hope this helps

This should now be fixed in the latest release.


@conda-forge-admin, please add user @mwakaba2

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added user @mwakaba2 in conda-forge/jupyterlab-notifications-feedstock#2.


(#18) Add configuration flag to always overwrite the cache

Add configuration flag to filesec/puppetsec to tell the provider to
always overwrite the local cache of a certificate with the one one
that's been presented (defaults to false for existing environments)
Implement tests around configuration flag
Update test certificates to replicate an updated certificate being
seen later

More than likely need go-choria#476 to be merged.

nice one!


Very poor write performance [Windows FlushFileBuffers]

When my test suite runs on Travis, it's very fast. However when I run it locally, its incredibly slow.
Here's the output of the bolt bench cmd:
bolt bench --count 10000 --batch-size 1 --write-mode rnd
# Write 41.9365914s     (4.193659ms/op) (238 op/sec)
# Read  1.0002192s      (30ns/op)       (33333333 op/sec)

bolt bench
# Write 5.9925ms        (5.992µs/op)    (166889 op/sec)
# Read  1.0003363s      (30ns/op)       (33333333 op/sec)

go version
go version go1.6 windows/amd64

ver
Microsoft Windows [Version 10.0.10586]

@djherbis Can you explain why do you think this is slow? Is this running on a HDD or SSD? If this is HDD, this is exact what you should expect since it limits by disk seek time.

I've gotten similar results on both my SSD and HDD. Does bolt bench write to a %temp% or in the working directory?

@djherbis
On my SSD and SSD on GCE, boltdb(current git master) works as expected
bolt bench --count 10000 --batch-size 1 --write-mode rnd
# Write	2.93937386s	(293.937µs/op)	(3402 op/sec)
# Read	1.000256226s	(34ns/op)	(29411764 op/sec)

I get similar result to yours when running on HDD. I would suggest you to check you disk first.

There's where my performance lands on the SSD on my mac as well.
I double-checked, my C: is my SSD and that's where the benchmark is being run.
What OS are you running on?

@djherbis Linux/OS X

I'm running on Windows 10, I wonder if this might be OS specific...
I might have to pprof this when I get a chance. Can anyone with Windows + SSD check their results?

Just to verify that my drive wasn't the issue, I spun up a RAM disk and ran bolt bench on it.
Writes are about x2 slower on my RAM disk than your SSD. I'm going to guess this is an issue with memory mapped files on Windows.
bolt bench --count 10000 --batch-size 1 --write-mode rnd --path ./test.db
# Write 4.9689542s      (496.895µs/op)  (2012 op/sec)
# Read  1.0027516s      (28ns/op)       (35714285 op/sec)

@djherbis https://github.com/ongardie/diskbenchmark maybe you can try this to bench the disk io.
boltdb does two fdatasyncs per writes I think. So you can get the ideal rough number if everything works well.

The script there is a bash file, I'm running windows. As I mentioned above though, I've switch to using a RAM disk and its still slower than my mac's SSD.
Here's svgs of the cpuprofiles of the mac vs. windows benchmarks:
bench_graphs.zip
Windows seems to spend a lot of time in cgocall and osyield vs. usleep and syscall on my mac.

@djherbis The result seems to be conflict with your experimental on RAM disk. If IO is an issue, why moving to RAM disk is even slower than a direct write?

Because its not the disk speed that's the problem, the limiting factor here is that FlushFileBuffers is inefficient when used after every write.
I believe that's because when you're going to flush everything to the disk after every write, its a waste of time to write it to the windows disk cache first. though this is speculation.

Because its not the disk speed that's the problem,

Then why moving from disk to RAM disk does reduce the time from 5ms to 400us?

I didn't mean to say that the disk speed doesn't matter, since it does, as is evident by the benchmarks.
It's just that, more generally, all of the disks were suffering from poor FlushFileBuffers performance.
Also, there may still need to be more work to do. It appears that using the FILE_FLAG_NO_BUFFERING comes with caveats that you have to have to use aligned writes.
https://msdn.microsoft.com/en-us/library/windows/desktop/cc644950(v=vs.85).aspx
I'm not certain how this works with memory mapped files.

Looks like FILE_FLAG_NO_BUFFERING doesn't even work with memory mapped files.
So I guess I'm just seeing a performance boost because I'm not syncing to the physical media.
There is another method FlushViewOfFile which claims to flush memory mapped files, but it doesn't block for the data to be written and says to FlushFileBuffers to ensure that it gets written...
Maybe I'll experiment and see if calling it first speeds up FlushFileBuffers...

Quick update:
Currently go test takes over 12 mins on my machine to run, which means I have to specify a custom timeout since go test normally gives up after 10.
Longest tests are:
TestBucket_Put_Single (463.69s)
TestOpen_Size_Large (112.25s)
TestBucket_Delete_FreelistOverflow (105.32s)

@djherbis We hit the same limit on the CI, drone.io. Some of the tests do long running randomized tests. You can run a subset of the tests by using the -short flag.

@benbjohnson Thanks, yeah I've used -short before which is great. The main issue is that I'm still having sizable performance issues on Windows, but I blame Windows for this since I feel its a limitation of FlushFileBuffers. Still hoping to find a more efficient way of syncing to the filesystem.

@djherbis did you figure out the actual fix for the slow performance on windows?

@siginfo Unfortunately no :( I haven't looked much further into this since I last posted.
I'm still curious how other databases handle this issue on Windows, but I haven't had time to dig into it since I only use it for personal projects.

Since you are using  FILE_FLAG_NO_BUFFERING I suggest you add  FILE_FLAG_WRITE_THROUGH and then FlushFileBuffers() will be fast because you will not need it.


Unable to get the list of sent mails

I was trying to get the list of sent emails by changing  box option  to [Gmail]/Sent Mail, but i didn't get any response,
on the other hand INBOX works fine
if u have any suggestions or corrections, i need your help
thanks

it could be because it is using 'UNSEEN' as its default search option but if i change the default it works fine for example
search: [['TO'<EMAIL_ADDRESS>
what can i change the search option to, to get all sent mails?

Hi @b3rew
Set search to SEEN.
CF https://tools.ietf.org/search/rfc3501#section-6.4.4


Segmentation fault in Kitty terminal

Impossible to launch musikcube in kitty terminal.
Config:

linux : Linux 5.15.0-56-generic # 62~20.04.1-Ubuntu SMP Tue Nov 22 21:24:20 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
kitty : kitty 0.26.5 created by Kovid Goyal
musikcube : musikcube_linux_x86_64_0.99.4

POT

But it works well under the builtin ubuntu terminal (also tested with success in tmux).

Hmm, weird. I tried kitty v0.26.5 on both Linux and macOS and it seems fine. Can you let me know which shell you're using, and if possible, your environment variables? Most useful would be LC_ALL, LC_CTYPE and LANG, but a full dump from env would be preferred -- just make sure you audit them before pasting them here so you don't expose any sort of sensitive information.

My shell : GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu)
LC_ALL and LC_CTYPE are not defined (neither in kitty nor in builtin term)
Here is the filtered dump of my env :
dumpenv.txt
Thanks

OK playing around with the environment variables I managed to launch musikcube with TERM=xterm-256color instead of TERM=xterm-kitty

That works but it breaks the icat functionality

Ok, I was having some similar issue. Actually, musikcube simply wasn't working on kitty terminal, not returning anything. Like @xavier-balesi said, it was working on other terminals on the same system. Sad times.
Then, I've crossed with another problem in kitty: some sudo commands not working, like using nano the change the files /usr/share/applications/*.desktop.
So I found this page. I made the procediment, and now musikcube is working on kitty. It seems the problem was not with musikcube, but with kitty.
I'm using Pop_os 22.04.

Ok, I was having some similar issue. Actually, musikcube simply wasn't working on kitty terminal, not returning anything. Like @xavier-balesi said, it was working on other terminals on the same system. Sad times. Then, I've crossed with another problem in kitty: some sudo commands not working, like using nano the change the files /usr/share/applications/*.desktop. So I found this page. I made the procediment, and now musikcube is working on kitty. It seems the problem was not with musikcube, but with kitty. I'm using Pop_os 22.04.
Ps. I don't think it's nice to mess with environment variables. Can lead to other problems.

I can confirm the fix here is working well. Cheers!
Note: I'm using MX-Linux 23.4 Libretto


Fix sidekiq_threshold ignored on first failure

Summary
Fixes a bug where the first failure of a Sidekiq job would always get reported regardless of the sidekiq_threshold setting, because then job_hash['retry_count'] is not set.
Looking at rollbar/rollbar-gem#319, the current behaviour was definitely not the expected one and I believe it wasn't the original one, but that the bug was introduced by a breaking change in Sidekiq that wasn't accounted for in this gem.
Details
Back when this feature was implemented, in rollbar/rollbar-gem#319, Sidekiq retry mechanism was implemented as a Sidekiq middleware, so it could run downstream of the Rollbar middleware. When an error would bubble up, it would first encounter the Sidekiq job_retry middleware, which would set/increment the job's retry_count (code triggered here), reraise, and only then would the exception meet the Rollbar middleware, with the current job's retry_count well set.
Then 2 years ago, mperham/sidekiq#3235 introduced Sidekiq 5.0.0, and with it a breaking change: the retry_job would not be a middleware anymore but part of the Sidekiq processor. So it would run upstream of the Sidekiq middleware chain, including the Rollbar middleware, meaning that when an error would bubble up, it would meet the Rollbar middleware before Sidekiq's job_retry had set the correct retry_count.
# current excerpt of a Sidekiq job exception stacktrace
# The * mark the Rollbar middleware and job_retry processor

WARN: SomeErrorClass
TID-owslcdvyl
WARN: /Users/me/src/my_app/app/jobs/my_job.rb:7:in `perform'
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.1.3/lib/sidekiq/processor.rb:187:in `execute_job'
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.1.3/lib/sidekiq/processor.rb:169:in `block (2 levels) in process'
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.1.3/lib/sidekiq/middleware/chain.rb:128:in `block in invoke'
/Users/me/src/my_app/lib/sidekiq/middleware/server/my_custom_middleware.rb:10:in `call'
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.1.3/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
* /opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/rollbar-2.16.2/lib/rollbar/plugins/sidekiq/plugin.rb:11:in `call'    < Rollbar middleware handling error here
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.1.3/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/newrelic_rpm-<IP_ADDRESS>0/lib/new_relic/agent/instrumentation/sidekiq.rb:33:in `block in call'
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/newrelic_rpm-<IP_ADDRESS>0/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:363:in `perform_action_with_newrelic_trace'
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/newrelic_rpm-<IP_ADDRESS>0/lib/new_relic/agent/instrumentation/sidekiq.rb:29:in `call'
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.1.3/lib/sidekiq/middleware/chain.rb:130:in `block in invoke'
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.1.3/lib/sidekiq/middleware/chain.rb:133:in `invoke'
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.1.3/lib/sidekiq/processor.rb:168:in `block in process'
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.1.3/lib/sidekiq/processor.rb:139:in `block (6 levels) in dispatch'
* /opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.1.3/lib/sidekiq/job_retry.rb:98:in `local'    < retry_count will be set here
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.1.3/lib/sidekiq/processor.rb:138:in `block (5 levels) in dispatch'
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.1.3/lib/sidekiq/rails.rb:42:in `block in call'
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/activesupport-5.0.7/lib/active_support/execution_wrapper.rb:85:in `wrap'
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/activesupport-5.0.7/lib/active_support/reloader.rb:68:in `block in wrap'
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/activesupport-5.0.7/lib/active_support/execution_wrapper.rb:85:in `wrap'
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/activesupport-5.0.7/lib/active_support/reloader.rb:67:in `wrap'
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.1.3/lib/sidekiq/rails.rb:41:in `call'
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.1.3/lib/sidekiq/processor.rb:134:in `block (4 levels) in dispatch'
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.1.3/lib/sidekiq/processor.rb:199:in `stats'
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.1.3/lib/sidekiq/processor.rb:129:in `block (3 levels) in dispatch'
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.1.3/lib/sidekiq/job_logger.rb:8:in `call'
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.1.3/lib/sidekiq/processor.rb:128:in `block (2 levels) in dispatch'
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.1.3/lib/sidekiq/job_retry.rb:73:in `global'
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.1.3/lib/sidekiq/processor.rb:127:in `block in dispatch'
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.1.3/lib/sidekiq/logging.rb:48:in `with_context'
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.1.3/lib/sidekiq/logging.rb:42:in `with_job_hash_context'
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.1.3/lib/sidekiq/processor.rb:126:in `dispatch'
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.1.3/lib/sidekiq/processor.rb:167:in `process'
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.1.3/lib/sidekiq/processor.rb:85:in `process_one'
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.1.3/lib/sidekiq/processor.rb:73:in `run'
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.1.3/lib/sidekiq/util.rb:16:in `watchdog'
/opt/rubies/2.3.3/lib/ruby/gems/2.3.0/gems/sidekiq-5.1.3/lib/sidekiq/util.rb:25:in `block in safe_thread'

You'll note that I'm changing a spec about how the middleware should behave when retry_count is not set. That spec was introdued in rollbar/rollbar-gem#346 as a way to fix a nil error. It doesn't look like the intent was to actually improve the behaviour of the sidekiq_threshold and it seems the contributor may not have been using the feature, just working around a bug that it was causing. Anyway the behaviour specified doesn't make sense to me, and contradicts the expected behaviour described in the original implementation's PR (rollbar/rollbar-gem#346). If retry is truthy and retry_count is falsy, the behaviour should not be to ignore the threshold, but to enforce it by considering that retry_count is 0. Otherwise we get that bug where the first failure gets reported to Rollbar regardless of the configured threshold, before then the next n-1 next failures get rightfully ignored.

Thank you for this PR! We'll check it out :)

Thanks @ejoubaud. I think this looks good. 👍

@ArturMoczulski could you take a look at this PR?

This looks great. Thanks, @ejoubaud for contributing. Merging in.


Does not respect Accept-Encoding header

The module always output gzip encoding, no matter what encoding the client has specified as acceptable. This is a violation of the HTTP W3 spec, which states:
If an Accept-Encoding field is present in a request, and if the server cannot send a response which is acceptable according to the Accept-Encoding header, then the server SHOULD send an error response with the 406 (Not Acceptable) status code.

If no Accept-Encoding field is present in a request, the server MAY assume that the client will accept any content coding. In this case, if "identity" is one of the available content-codings, then the server SHOULD use the "identity" content-coding, unless it has additional information that a different content-coding is meaningful to the client.

I could supply a PR to check for the header before adding the Response.Filter?
Failing test:
curl -H "Accept-Encoding: foo" -I https://meny.no/sitemap.xml

That would be great, thanks.


Use shared LocalStorage for 2 or more applications

Hi.
How can I use lsbridge in order to communicate between 2 or more applications? For example
open a modal from an application that show a page from another application. Each application hosted in a different domain. I mean something like cross domain.
thanks

If it's a cross domain communication you can't use lsbridge.

Only scripts that are published on same host and port may read the same localStorage resource.


Issue with nested routes and polymer

The issue occurs only with nested routes, you get infinite reloading and issue with webcomponents.js
So /home /:n etc works
but /issue/:n doesnt
Ive created a repro here : http://iron-router-polymer-issue.meteor.com
repo : https://github.com/kevohagan/iron-router-polymer-issue

Fixed it for you in https://github.com/kevohagan/iron-router-polymer-issue/pull/1


[GH-16] windows ci diff command

Codecov Report

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

@@           Coverage Diff           @@
##           master      #24   +/-   ##
=======================================
  Coverage   73.33%   73.33%
=======================================
  Files           1        1
  Lines          90       90
=======================================
  Hits           66       66
  Misses         12       12
  Partials       12       12

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 5bf05f2...1c6f0cb. Read the comment docs.


fix(router): write out only if cert matches the path

closes #3483
closes #3507
What's happening is that we are iterating through each cert twice. This is necessary to work around some boot issues with confd. However with the current logic, we're writing the last cert in each iteration to every file. By checking the domain with the etcd key, only the correct one will be written to the cert/key path.

@nathansamson please pull the following image to your own dev registry for testing once Jenkins has finished building the image: deisctl config router set image=deisci/router:jenkins-test-ec2-574

Code LGTM, but I would like @nathansamson to run this image in his cluster and ensure that we haven't introduced any oddities.

Code LGTM.

We're going to ship this even without @nathansamson's confirmation, as this seems to address the root cause and we'd like to get this addressed.

After running eisctl config router set image=deisci/router:jenkins-test-ec2-574what do I need to do to make use of the new router image?

After running eisctl config router set image=deisci/router:jenkins-test-ec2-574what do I need to do to make use of the new router image?

deisctl restart router@*

Figured something like that out myself :)
for i in 1 2 3 4 5; do deisctl stop router@$i; deisctl start router@$i; done :)
Router works like a charm now

I assume that when upgrading to v1.5.2 (or 1.6) I need to unset my config change somhow, to get the latest supported router image?

Router works like a charm now

Glad to hear it!
/cc @bacongobbler

I assume that when upgrading to v1.5.2 (or 1.6) I need to unset my config change somhow, to get the latest supported router image?

Correct. You would unset this key (like etcdctl rm /deis/router/image) and then set the platform version like you would in any upgrade.


Can't login with devise 1.5.3 / rails 3.0.11 / ruby 1.8.7 / internet explorer on production

Using the components as stated above it is not possible to login. Accessing the site with Internet explorer (8 or 9) the log file looks as follows:

Started POST "/admin/login?i18n_locale=de" for <IP_ADDRESS> at Mon Mar 05 00:20:45 +0100 2012
  Processing by ActiveAdmin::Devise::SessionsController#create as HTML
  Parameters: {"commit"=>"Login", "authenticity_token"=>"s+yj2SWf0rwJYUr/okXlB7HSOf2LUB+Lgb0Rjw4BWjc=", "utf8"=>"â", "admin_user"=>{"remember_me"=>"0", "password"=>"[FILTERED]"<EMAIL_ADDRESS>"i18n_locale"=>"de"}
Redirected to http://www.erdal-cene.de/admin
Completed 302 Found in 169ms

Started GET "/admin" for <IP_ADDRESS> at Mon Mar 05 00:20:45 +0100 2012
  Processing by Admin::DashboardController#index as HTML
Completed 401 Unauthorized in 1ms

Started GET "/admin/login?i18n_locale=de" for <IP_ADDRESS> at Mon Mar 05 00:20:45 +0100 2012
  Processing by ActiveAdmin::Devise::SessionsController#new as HTML
  Parameters: {"i18n_locale"=>"de"}
Rendered /kunden/336550_60318/erdal_cene_de/.gem/ruby/1.8/bundler/gems/active_admin-26def0e3791f/app/views/active_admin/devise/shared/_links.erb (0.5ms)
Rendered /kunden/336550_60318/erdal_cene_de/.gem/ruby/1.8/bundler/gems/active_admin-26def0e3791f/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out (31.3ms)
Completed 200 OK in 33ms (Views: 31.8ms | ActiveRecord: 0.0ms)

Logging in with firefox works:

Started POST "/admin/login?i18n_locale=de" for <IP_ADDRESS> at Mon Mar 05 00:46:09 +0100 2012
  Processing by ActiveAdmin::Devise::SessionsController#create as HTML
  Parameters: {"commit"=>"Login", "authenticity_token"=>"ukh8DGh31mQ8swlbBZJ17F/yLuk8M67xlWKDR9P56Jc=", "utf8"=>"â", "admin_user"=>{"remember_me"=>"0", "password"=>"[FILTERED]"<EMAIL_ADDRESS>"i18n_locale"=>"de"}
Redirected to http://erdal-cene.de/admin?i18n_locale=de
Completed 302 Found in 183ms

Started GET "/admin?i18n_locale=de" for <IP_ADDRESS> at Mon Mar 05 00:46:10 +0100 2012
  Processing by Admin::DashboardController#index as HTML
  Parameters: {"i18n_locale"=>"de"}
Rendered /kunden/336550_60318/erdal_cene_de/.gem/ruby/1.8/bundler/gems/active_admin-26def0e3791f/app/views/active_admin/dashboard/index.html.arb (144.1ms)
Completed 200 OK in 179ms (Views: 177.2ms | ActiveRecord: 0.4ms)

I think that the 401 error should not be happening.
I tried to add

config.navigational_formats = [:"*/*", "*/*", :html]

to the initializer, but unfortunately, it didn't help. Unfortunately i can't test if this has been resolved with devise 2.0 as my hoster does not support rails3.1 atm.
Any clues?
Best regards,
Roberto

No clues from reading your report I need to investigate deeper.
But Devise 2.0 actually works with Rails 3.1 so you may give it a try
regardless?

I'd really like, but i can't. My hoster does not support rails 3.1 :( :(

Ah sorry. I read your previous message wrongly.
Question, can you reproduce the issue in a simple Rails application using
Devise?
That would help a lot to debug the issue.

I already tried with no success:

config.navigational_formats = [:"*/*", "*/*", :html]

Is this correct?
Or is rurounijones version correct?

config.navigational_formats = [:html, "/", :"/"]

I'm not using any other formats aside of html, so it should be no problem?

Both versions should work just fine since Devise does not check for the order. And yes, this should not be a problem. I remember some people posting similar issues some time ago, maybe you could check back there. If not, please try to provide an application that reproduces the error so I can help you further.

Hi,
I fixed the Problem using following statement in the initializer:
  config.navigational_formats = [:html, "*/*", :"*/*"]

Please note, that the generatated documentation inside the initializer is wrong, as it suggest the following:

  # The :"*/*" and "*/*" formats below is required to match Internet
  # Explorer requests.
  # config.navigational_formats = [:"*/*", "*/*", :html]

This should be fixed. Please dont close this issue. I'll provide an test application asap....
Thanks for the quick workaround!

This is weird, because we do not depend on the order anywhere. In any case, thanks for pointing a solution. We are waiting for the test app. :)

I am also wary of the order having an effect. In fact I think it was my bug which causes the :"/", "/" bit to be added to devise in the first place and like I said when testing that bug supposedly identical versions of IE gave us different results.
Make sure you use the exact same browser from the exact same machine that caused the problem when testing.

Can you guys provide a pull request that "fixes" the order in both Devise master and Devise 1.5.x? I was unaware of any ordering issues. :(


Update translations

Describe the changes you have conducted here
Preview the messages on https://inlang.com/github.com/SiMamank115/daisyui .

You copied the translation files to a new path !?

wait what, I just translate in fink. I know nothing, what's that even mean 😭

I don't know what is fink.
Looking at your commit, you didn't edit the files in src/docs/src/translation. You added completely new files to src/translation which do nothing


Add Chinese translation (CHPO release on 20230511)

@kaichop thank you for this, this is very exciting. However, we changed places!
Can you make the pr so that the file is added here:
https://github.com/obophenotype/human-phenotype-ontology/tree/master/src/ontology/translations
with the correct file name (no capital letters)?
I will take care of the rest, and make sure Chinese is included in the next language version!


onStop doesn't work on Android

onStop works perfectly on iOS but doesn't work on android.
Packages version:
"react": "16.0.0-alpha.6",
"react-native": "^0.44.0",
"react-native-interactable": "0.0.9",

+1

same issue here!

Still have this issue.


Add SingleBarChart to State Details & Add Homepage Electrification Lines

Overview
Brief description of what this PR does, and why it is needed.
Closes #XXX
Demo
Optional. Screenshots, curl examples, etc.
Notes
Optional. Ancillary topics, caveats, alternative strategies that didn't work out, anything else.
Testing Instructions

How to test this PR
Prefer bulleted description
Start after checking out this branch
Include any setup required, such as bundling scripts, restarting services, etc.
Include test case, and expected output

@derekeder - I'd love your early thoughts on this PR. I've added the single bar chart with highlighting as the mocks have except keeping the chart vertical like it is on the homepage. Do you think this is workable, or should we move it to be horizontal like in the mocks? We could alternatively use a pie chart too.

@vkoves one challenge with the horizontal bar will be fitting the text in the space of the bar, especially if they are smaller like the 15% for buildings.
An earlier version of the wireframes had a 2 column layout with the bar chart being 'sticky' as you scrolled past each section. We could use something like scrollspy to update the chart as we scroll: https://getbootstrap.com/docs/4.0/components/scrollspy/#via-javascript

@derekeder - that definitely makes sense, I could give that a try! I will also say that the current graph setup already has issues for some states, like Wyoming:

I might be able to fix this by putting the label on top of each graph section, but I'm open to anything

@derekeder - I think this is ready for a final review. I think that having a graph that follows you would be a good improvement but should be a separate PR/issue if we indeed want to do it. I'm a little torn, but I think some folks have pointed out that otherwise you're seeing the same graph and over again.

I've made a few last improvements based on Slack feedback:

If a state has no emissions from power (Vermont and D.C.) I show some custom text and don't show that on the graph. I didn't create the blank text for any other category (since I couldn't find states with 0% building or transport emissions) but the graph should handle 0% values fine
I added a new basic "Other" section - we can flesh this out more but I think this is important especially for states like Texas, where Other is a majority of their emissions
Added a closing section

@derekeder - good points, I've created #46 to address both of those. On mobile, I'm assuming we still need the separate graphs, since a column layout won't fit


New RestServer Architecture: RestServer -> DB -> ApiServer; P0 Items

Database Controller Test Cases

End-to-end Test
Path Test
Upgrade Test
Stress Test

End-to-end Test
Test Jobs

[x] A job with simple output
Case: job command echo success
Expect: Succeed, output success.

[x]  Stop a job
Case: job command sleep 1h; then stop this job
Expect: The job can be stopped.

[x] Job with retries
Case: job command: exit 1; set max retry to be 10
Expect: The job retry history can be viewed.

[x] Job with docker secret
Case: Submit a job with docker auth info
Expect: The job can run successfully.

[ ] Job with priority class
Case: Submit a job with priority class
Expect: The job priority class is correct.

[x] Job with secret
Case: Submit a job with secret info
Expect: The secret info is successfully written into job.

[ ] Bulk job
Case: Submit a job with 1000+ instances.
Expect: The job can run successfully.

[ ] Bulk job with retries
Case: Submit a job with 1000+ instances, and 50+ retries.
Expect: The job can run successfully. The job retry history can be viewed.

Test in Certain Case

[x] Database failure
Case: submit a job; shutdown the database; try to submit another job; start the database
Expect: the first job is not affected; the second job cannot be submitted.

[x] Database controller failure
Case: submit a job; shutdown the database controller; try to submit another job; start the database
Expect: the first job is not affected; the second job cannot be submitted.

[ ] Framework controller failure
Case: shutdown the framework controller; try to submit a job; start the framework controller
Expect: the job can be submitted, but in WAITING status. After the framework controller is started, its state will turn to RUNNING.

Path Test
Rest-server checks conflicts

[ ] Case: Submit a job twice
Expect: The second job submission is not allowed.

[ ] Case: Stop a non-existed job
Expect: The operation is not allowed.

(Write merger) Add/Update FR (If not equal, override and mark !requestSynced, else no-op)

[ ] Environment: Write-merger doesn't forward request; Shutdown database poller;
Case: Fake two same framework requests to write-merger.
Expect: The second request will be ignored.

(Write merger) If recovery mode, use the FR from API server

[ ] Environment: Turn on recovery mode
Case: Create a framework directly in API server;
Expect: The framework is inserted in database.

[ ] Environment: Turn off recovery mode
Case: Create a framework directly in API server;
Expect: The framework can't be inserted in database, write merger reports 404 error, and watcher keeps trying to synchroinze it.

(Write merger) If not equal, override and mark as !requestSynced

[ ] Environment: Shutdown database poller
Case: Submit a job; Then change its requestGeneration in API server.
Expect: The framework is marked as requestSynced=false.

(Database poller) If API server 404 error, mock a delete Framework

[ ] Case: Submit A job; Then shutdown watcher after the job starts; Wait until the job succeeded; Stop poller; Start watcher; Stop watcher; Delete this framework manually; Start Poller
Expect:
After watcher is restarted, the job is marked as state=Completed and requestSynced=true;
After poller is restarted, it can mock a delete framework event to write merger.
Finally, the job will be marked as apiServerDeleted=true.

Upgrade Test

[ ] Upgrade from v1.0.y
Drop the database; Deploy a v1.0.y bed, submit some jobs (must include: one running job, one completed job with retry history, and one completed job without retry history). Then upgrade it. Make sure the job information is correct, and running jobs are not affected.

[ ] Upgrade from v1.1.y
Drop the database; Deploy a v1.1.y bed, submit some jobs (must include: one running job, one completed job with retry history, and one completed job without retry history). Then upgrade it. Make sure the job information is correct, and running jobs are not affected.

Stress Test

[ ] Submit 100000+ jobs in 1 hour. It should be handled properly.

Coverage increased (+0.3%) to 34.743% when pulling 4d247356a7c50187a4b6558ce79742c5499cb2dc on zhiyuhe/db_integration into 53056ce48b6e2c87031eb7dbad3106c34845f441 on master.

Closed: try to solve a CI problem.


update directive declaration to prevent this error:

function($log, $timeout, $window, $injector) is not using explicit annotation and cannot be invoked in strict mode

Toda @hagai26, crazy how I didn't notice that till now.


Failures in stand alone scheduled builds

I'm being notified in failures in runs #298 and #299. The failures say something about the MD5 hash not matching. Someone should try to figure out what changed. Maybe @matthewfeickert if he has time before I do.

The failures are due to an Eigen hash difference
-- verifying file...
       file='/home/runner/work/lwtnn/lwtnn/build/externals/src/eigen-3.3.7.tar.bz2'
-- MD5 hash of
    /home/runner/work/lwtnn/lwtnn/build/externals/src/eigen-3.3.7.tar.bz2
  does not match expected value
    expected: 'b9e98a200d2455f06db9c661c5610496'
      actual: 'b11361231583d0da2292e662e941957e'
-- Hash mismatch, removing...
CMake Error at Eigen-stamp/download-Eigen.cmake:170 (message):
  Each download failed!

and are happening during the build step
https://github.com/lwtnn/lwtnn/blob/be77babd213d6b88f09a4590227c4bb52cf2de66/.github/workflows/ci.yml#L84-L85
which is activating the following CMake build options in the build script
https://github.com/lwtnn/lwtnn/blob/be77babd213d6b88f09a4590227c4bb52cf2de66/tests/build-cmake.sh#L27-L29
turning on
https://github.com/lwtnn/lwtnn/blob/be77babd213d6b88f09a4590227c4bb52cf2de66/CMakeLists.txt#L85-L97
However, I'm confused as to why these errors are happening, as if I try to validate against them
$ curl -sLO https://gitlab.com/libeigen/eigen/-/archive/3.3.7/eigen-3.3.7.tar.bz2
$ md5sum eigen-3.3.7.tar.bz2
b9e98a200d2455f06db9c661c5610496  eigen-3.3.7.tar.bz2

which matches as exptected. :?

@dguest The "scheduled" CI workflow for run 300 is passing. I'd give it another run (actually just trigger it to run now with workflow dispatch from the Actions view — this requires you to do it given permissions) and if it passes then I'd say that this was a passing fluke due to some issue on https://gitlab.com 's servers.

As the CI is passing fine for me at the moment on my synced fork I think this can get closed @dguest and chocked up to GitLab server error.


how to get CascadeFrom & CascadeField

I tried to follow this link https://serenity.is/docs/howto/how_to_setup_cascaded_editors
but I dont know how to fix this problem in red line
please can I get help

I mean how I can make Cascade editor... Because when I follow the link above I dont know how I can to write the code at the last page in instruction

please read serenity document
try this --
[lookupeditor(typeof(TblToolsRow), CascadeFrom = "SubId", CascadeField = "SubId")]

It's work thank you arunkumar12712


Add Environment-level and ClerkProvider-level path configuration

Type of change

[ ] 🐛 Bug fix
[x] 🌟 New feature
[ ] 🔨 Breaking change
[ ] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

Packages affected

[x] @clerk/clerk-js
[ ] @clerk/clerk-react
[x] @clerk/nextjs
[ ] @clerk/remix
[x] @clerk/types
[ ] @clerk/themes
[ ] @clerk/localizations
[ ] @clerk/clerk-expo
[ ] @clerk/backend
[ ] @clerk/clerk-sdk-node
[ ] @clerk/shared
[ ] @clerk/fastify
[ ] @clerk/chrome-extension
[ ] gatsby-plugin-clerk
[ ] build/tooling/chore

Description

[x] npm test runs as expected.
[x] npm run build runs as expected.

This PR adds the functionality to add the following path configuration props on the ClerkProvider: signInUrl, signUpUrl, afterSignInUrl, and afterSignUpUrl. These props allow users to handle the whole path configuration in one place in their codebase.
Example:
<ClerkProvider
	signInUrl="/sign-in"
	signUpUrl="/sign-up"
	afterSignInUrl="/"
	afterSignUpUrl="https://example.com/enroll"
>
   <MyApp />
</ClerkProvider>

In Next.js, the following environment variables can be used instead to provide better DX:

NEXT_PUBLIC_CLERK_SIGN_IN_URL
NEXT_PUBLIC_CLERK_SIGN_UP_URL
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL

Example in .env.local file:
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_...
CLERK_SECRET_KEY=sk_test_...
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/

Yes, that's right. It's the safest approach, though. Let me know if you discussed something else with the team already.


action: add trivy ci for image vulnerability scan

Codecov Report
Patch coverage has no change and project coverage change: -0.08 :warning:

Comparison is base (2fc62a6) 28.08% compared to head (fc062f0) 28.01%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #390      +/-   ##
==========================================
- Coverage   28.08%   28.01%   -0.08%
==========================================
  Files          40       40
  Lines        4084     4084
==========================================
- Hits         1147     1144       -3
- Misses       2798     2801       +3
  Partials      139      139

Impacted Files
Coverage Δ

pkg/blob/blob_manager.go
29.59% <0.00%> (-3.07%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


Unable to create layer 2 only VN with dnacenter_sda_virtual_network_ip_pool

Prerequisites

[x] Have you tested the operation in the API directly?
[x] Do you have the latest Terraform provider version?
[x] Review the compatibility matrix before opening an issue.

Describe the bug
I am unable to create layer 2 only ip pool by using dnacenter_sda_virtual_network_ip_pool. Here is the configuration of the resource:
resource "dnacenter_sda_virtual_network_ip_pool" "l2" {
  provider   = dnacenter
  depends_on = [dnacenter_sda_virtual_network_v2.vn, dnacenter_sda_virtual_network.this, dnacenter_reserve_ip_subpool.this]

  parameters {
    auto_generate_vlan_name  = false
    ip_pool_name             = "quarantine"
    is_common_pool           = false
    is_ip_directed_broadcast = false
    is_l2_flooding_enabled   = true # must be true if is_layer2_only == true
    is_layer2_only           = true
    is_this_critical_pool    = false
    is_wireless_pool         = false
    site_name_hierarchy      = "Global/MINIHF/OSL"
    traffic_type             = "Data"
    virtual_network_name     = "OSL_admtek2"
    vlan_id                  = 1456
    vlan_name                = "quarantine"
  }
}

Terraform returns following error when creating the resource:
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to dnacenter_sda_virtual_network_ip_pool.l2, provider "provider[\"registry.terraform.io/cisco-en-programmability/dnacenter\"]" produced an unexpected new value: Root resource was
│ present, but now absent.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.

In fact the resource is created in DNAC, but according to the logs the provider fails to verify creation of the resource.
Here is the relevant and sanitized log attached: dnac.log
Expected behavior
Resource is expected to be created without errors.
Environment (please complete the following information):

Cisco DNA Center version and patch: <IP_ADDRESS>-70194
Terraform version: 1.5.0
Cisco DNA Center provider version: 1.1.12-beta
OS Version: Ubuntu 20.04

It looks like breaking change has been introduced somewhere between 1.1.13 and 1.1.15 versions. State refresh causes provider crash in 1.1.15 version currently.
Terraform output:
Planning failed. Terraform encountered an error while generating this plan.

╷
│ Warning: Value for undeclared variable
│
│ The root module does not declare a variable named "pnp_ap" but a value was found in file "/opt/dnac/tfvars/dnac.devhf.latest.json". If you meant to use this value, add a "variable" block to
│ the configuration.
│
│ To silence these warnings, use TF_VAR_... environment variables to provide certain "global" settings to all configurations in your organization. To reduce the verbosity of these warnings,
│ use the -compact-warnings option.
╵
╷
│ Error: Failure when setting GetIPPoolFromSdaVirtualNetwork response
│
│ Invalid address to set: []string{"item", "0", "vlan_name"}
╵

dnac.log

Tested with 1.1.16 beta. We are getting closer, but it still does not work as expected. There are two issues that I observe:

Resource creation always fails on first attempt
Resource changes made in DNAC GUI are not detected by terraform state refresh.

Issue 1.
First creation attempt(tf apply) fails, state not created, however ip pool is created in DNAC. Terraform output:
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # dnacenter_sda_virtual_network_ip_pool.l2["Global/MINIHF/OSL/profiling_quarantine"] will be created
  + resource "dnacenter_sda_virtual_network_ip_pool" "l2" {
      + id           = (known after apply)
      + item         = (known after apply)
      + last_updated = (known after apply)

      + parameters {
          + auto_generate_vlan_name  = "false"
          + ip_pool_name             = "profiling_quarantine"
          + is_bridge_mode_vm        = (known after apply)
          + is_common_pool           = "false"
          + is_ip_directed_broadcast = (known after apply)
          + is_l2_flooding_enabled   = "true"
          + is_layer2_only           = "true"
          + is_this_critical_pool    = (known after apply)
          + is_wireless_pool         = "false"
          + pool_type                = (known after apply)
          + scalable_group_name      = (known after apply)
          + site_name_hierarchy      = "Global/MINIHF/OSL"
          + traffic_type             = "Data"
          + virtual_network_name     = "OSL_medtek"
          + vlan_id                  = (known after apply)
          + vlan_name                = "profiling_quarantine"
        }
    }

Plan: 1 to add, 0 to change, 0 to destroy.
dnacenter_sda_virtual_network_ip_pool.l2["Global/MINIHF/OSL/profiling_quarantine"]: Creating...
dnacenter_sda_virtual_network_ip_pool.l2["Global/MINIHF/OSL/profiling_quarantine"]: Still creating... [10s elapsed]
╷
│ Warning: Value for undeclared variable
│
│ The root module does not declare a variable named "pnp_ap" but a value was found in file "/opt/dnac/tfvars/dnac.devhf.latest.json". If you meant to use this
│ value, add a "variable" block to the configuration.
│
│ To silence these warnings, use TF_VAR_... environment variables to provide certain "global" settings to all configurations in your organization. To reduce the
│ verbosity of these warnings, use the -compact-warnings option.
╵
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to dnacenter_sda_virtual_network_ip_pool.l2["Global/MINIHF/OSL/profiling_quarantine"], provider
│ "provider[\"registry.terraform.io/cisco-en-programmability/dnacenter\"]" produced an unexpected new value: Root resource was present, but now absent.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.

Terraform log: dnac.1.sanitized.log
Second creation attempt succeeds:
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # dnacenter_sda_virtual_network_ip_pool.l2["Global/MINIHF/OSL/profiling_quarantine"] will be created
  + resource "dnacenter_sda_virtual_network_ip_pool" "l2" {
      + id           = (known after apply)
      + item         = (known after apply)
      + last_updated = (known after apply)

      + parameters {
          + auto_generate_vlan_name  = "false"
          + ip_pool_name             = "profiling_quarantine"
          + is_bridge_mode_vm        = (known after apply)
          + is_common_pool           = "false"
          + is_ip_directed_broadcast = (known after apply)
          + is_l2_flooding_enabled   = "true"
          + is_layer2_only           = "true"
          + is_this_critical_pool    = (known after apply)
          + is_wireless_pool         = "false"
          + pool_type                = (known after apply)
          + scalable_group_name      = (known after apply)
          + site_name_hierarchy      = "Global/MINIHF/OSL"
          + traffic_type             = "Data"
          + virtual_network_name     = "OSL_medtek"
          + vlan_id                  = (known after apply)
          + vlan_name                = "profiling_quarantine"
        }
    }

Plan: 1 to add, 0 to change, 0 to destroy.
dnacenter_sda_virtual_network_ip_pool.l2["Global/MINIHF/OSL/profiling_quarantine"]: Creating...
dnacenter_sda_virtual_network_ip_pool.l2["Global/MINIHF/OSL/profiling_quarantine"]: Creation complete after 1s [id=ip_pool_name:=profiling_quarantine\site_name_hierarchy:=Global/MINIHF/OSL\virtual_network_name:=OSL_medtek]
╷
│ Warning: Value for undeclared variable
│
│ The root module does not declare a variable named "pnp_ap" but a value was found in file "/opt/dnac/tfvars/dnac.devhf.latest.json". If you meant to use this
│ value, add a "variable" block to the configuration.
│
│ To silence these warnings, use TF_VAR_... environment variables to provide certain "global" settings to all configurations in your organization. To reduce the
│ verbosity of these warnings, use the -compact-warnings option.
╵

Apply complete! Resources: 1 added, 0 changed, 0 destroyed.

Outputs:

vns = <sensitive>

dnac.2.sanitized.log
Issue 2
I changed traffic_type and is_wireless_pool parameters in DNAC GUI, and then ran terraform plan. It did not detect any changes. Here is the log where terraform fetches necessary data from DNAC (GET  /dna/intent/api/v1/business/sda/virtualnetwork/ippool) but does not detect that mentioned fields has been update.
dnac.sanitized.log

@fmunozmiranda I have sent API mocks in webex chat. Hope it will be helpful to reproduce the issue locally and prepare a fix.

Hi @mschedrin,

Code was included to try to handle this problem, can you test it one more time?

I searched for the API PUT for this endpoint but I did not find it in version <IP_ADDRESS> of the API, so this behavior cannot be carried out, our provider depends directly on the API operations.

It works now. Thank you.


System.MissingMethodException: Method 'Android.App.Notification/Builder.SetChannelId' not found.

Version 3.2.1 works fine, but versions 3.3.0 and higher have the following exception:
-		ex	{System.MissingMethodException: Method 'Android.App.Notification/Builder.SetChannelId' not found.
  at Plugin.Toasts.ToastNotification+<>c__DisplayClass5_0.<Notify>b__0 () [0x00054] in D:\Source\Repos\Toasts.Forms.Plugin\Toasts.Forms.Plugin.Droid\ToastNotification.cs:44
  at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x0000f] in <657aa8fea4454dc898a9e5f379c58734>:0
  at System.Threading.Tasks.Task.Execute () [0x00010] in <657aa8fea4454dc898a9e5f379c58734>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <657aa8fea4454dc898a9e5f379c58734>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <657aa8fea4454dc898a9e5f379c58734>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <657aa8fea4454dc898a9e5f379c58734>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <657aa8fea4454dc898a9e5f379c58734>:0
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <657aa8fea4454dc898a9e5f379c58734>:0
  at Plugin.Toasts.ToastNotification+<Notify>d__5.MoveNext () [0x00031] in D:\Source\Repos\Toasts.Forms.Plugin\Toasts.Forms.Plugin.Droid\ToastNotification.cs:33
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <657aa8fea4454dc898a9e5f379c58734>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <657aa8fea4454dc898a9e5f379c58734>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <657aa8fea4454dc898a9e5f379c58734>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <657aa8fea4454dc898a9e5f379c58734>:0
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <657aa8fea4454dc898a9e5f379c58734>:0
  at LoginViewModel+<NavigateToRegisterPageAsync>d__32.MoveNext () [0x00066] in LoginViewModel.cs:187 }	System.MissingMethodException

@jelkevdh -  This is not enough information to solve this issue. Please mention which API version you are building and using, and which device this occurs on. Does it occur on all devices/APIs? Please load up the Toasts project source code and try to figure out the error as well. Then you could submit a PR with the actual bug fix. Otherwise this error likely won't be solved.

I have the exact same bug, with a (almost) blank project (.NET Standard), with all component up-to-date, using the simple example in readme of this repo.
Works fine with v3.2.1 (after cleaning solution).
Android 7.0.

Same error here. Same version of @mgoodfellow, did his suggestion but did not work. Version 3.2.1 also did not work.

Same error here, are there any solutions?

@cassionandi I would write a dependency service that creates toasts.  This is what I've started doing when I run out of options.  I did this recently when I found that the xam.plugins.messaging plugin was forcing my xamarin ios project to want to install .netstandard 1.6 and a bunch of other packages.
HERE is a stack overflow showing you how to create toasts using a dependency service in iOS (look at Alex Chengalan's solution).  iOS is always the most difficult for me so that is where I start.  If I can find an easy solution for iOS it's normally even easier in Android so then I proceed.

@helzgate I am using this kind of solution for a while. For iOS the Toast.iOS did the Toast-like Android to me without any effort. Recommended.


images layout look to be broken here

Fixed this, but still having issues with the mobile version. An overflow: hidden; could work, but I can't get the Mosaic div to take the full width, over the article div padding.

My fix has been removed, issue has returned here.


change fill color when focusing

is it possible to change fill color when user focus an input?textfield changes its border when focusing but fill color doesnt change.
i searched a lot and only way was using setstate to rerender the textfield but it makes a real disaster when having a lot of inputs.
please help me to solve my problem

In the docs for the TextField's InputDecoration, it states

This focusColor is ignored by TextField and TextFormField because they don't respond to focus changes by changing their decorator's container color, they respond by changing their border to the focusedBorder, which you can change the color of.

If you want to change the fill color of a TextField, you might have to use FocusNode. If you do not want to call setState on every focus, you could use the ValueNotifier along with ValueListenableBuilder. You can create a custom widget and pass along any TextField properties.

 Sample Code
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        body: Container(
          height: 150,
          padding: const EdgeInsets.all(10),
          child: Column(
            mainAxisAlignment: MainAxisAlignment.spaceAround,
            children: [
              SizedBox(
                width: 300,
                child: MyTextWidget(
                  onChanged: (s1) {
                    print(s1);
                  },
                ),
              ),
              SizedBox(
                width: 300,
                child: MyTextWidget(
                  onChanged: (s2) {
                    print(s2);
                  },
                ),
              ),
            ],
          ),
        ),
      ),
    );
  }
}

class MyTextWidget extends StatefulWidget {
  const MyTextWidget({
    super.key,
    this.onChanged,
    this.fillColor = const Color.fromRGBO(250, 250, 250, 1),
    this.focusColor = const Color.fromRGBO(240, 240, 240, 1),
  });
  final ValueChanged<String>? onChanged;
  final Color? fillColor;
  final Color? focusColor;

  @override
  State<MyTextWidget> createState() => _MyTextWidgetState();
}

class _MyTextWidgetState extends State<MyTextWidget> {
  late FocusNode _myFocusNode;
  final ValueNotifier<bool> _myFocusNotifier = ValueNotifier<bool>(false);

  @override
  void initState() {
    super.initState();

    _myFocusNode = FocusNode();
    _myFocusNode.addListener(_onFocusChange);
  }

  @override
  void dispose() {
    _myFocusNode.removeListener(_onFocusChange);
    _myFocusNode.dispose();
    _myFocusNotifier.dispose();

    super.dispose();
  }

  void _onFocusChange() {
    _myFocusNotifier.value = _myFocusNode.hasFocus;
  }

  @override
  Widget build(BuildContext context) {
    return ValueListenableBuilder(
      valueListenable: _myFocusNotifier,
      builder: (_, isFocus, child) {
        return TextField(
          focusNode: _myFocusNode,
          decoration: InputDecoration(
            filled: true,
            fillColor: isFocus ? widget.focusColor : widget.fillColor,
          ),
          onChanged: (value) => widget.onChanged,
        );
      },
    );
  }
}

Hi @mahdiqdi, does the solution in https://github.com/flutter/flutter/issues/117852#issuecomment-1368611791 suit your use case?

hi there.thanks guys.this sample code suit my usecase.but what about error.we have error border but how to change that color too.i reallty appreciate you guys
@znromonk @danagbemava-nc

@mahdiqdi
You need to supply the parameters for error in InputDecoration. All of them are listed in docs.
errorText: 'some error',
errorBorder: UnderlineInputBorder(
  borderSide: BorderSide(
    color: Colors.orange,
  ),
),

The error border will only show if errorText is not null.

no no.error color in background like focus color.(fill error color i mean)

Then just change the color value accordingly. When you specify the color to fill, check if there is an error and show the appropriate color.
bool _error = false;
// check for error and change the boolean
..
// TextField widget
fillColor: _error ? Colors.red.shade100 : Colors.grey.shade100
// rest of TextField

thanks.i will use your suggestions.it was so helpful.thank you

Closing this as solved.
Thank you


Could not create the task on the server. ValueError: No media data found.

My actions before raising this issue

[ ] Read/searched the docs
[ ] Searched past issues

Expected Behaviour

Current Behaviour

Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

Git hash commit (git log -1):
Docker version docker version (e.g. Docker 17.0.05):
Are you using Docker Swarm or Kubernetes?
Operating System and version (e.g. Linux, Windows, MacOS):
Code example or link to GitHub repo or gist to reproduce problem:
Other diagnostic information / logs:
Logs from `cvat` container

Next steps
You may join our Gitter channel for community support.

@483415258 , no information to reproduce the issue. I will close it.


Add the GCC 13.3 release

Published a few days ago:
https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads
Will try to update this action tonight.

There seems to be an issue with the macOS release:
$ arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -g -c blink.c
dyld[2405]: Library not loaded: /usr/local/opt/zstd/lib/libzstd.1.dylib
  Referenced from: <E36D2C99-6E55-3C79-B1A0-B74BE74E79B9> /Users/runner/gcc-arm-none-eabi-13.3.1-darwin/arm-gnu-toolchain-13.3.rel1-darwin-x86_64-arm-none-eabi/libexec/gcc/arm-none-eabi/13.3.1/cc1
  Reason: tried: '/usr/local/opt/zstd/lib/libzstd.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/zstd/lib/libzstd.1.dylib' (no such file), '/usr/local/opt/zstd/lib/libzstd.1.dylib' (no such file), '/usr/local/lib/libzstd.1.dylib' (no such file), '/usr/lib/libzstd.1.dylib' (no such file, not in dyld cache)
arm-none-eabi-gcc: internal compiler error: Abort trap: 6 signal terminated program cc1
Please submit a full bug report, with preprocessed source (by using -freport-bug).
See <https://bugs.linaro.org/> for instructions.
make: *** [blink.o] Error 4


Scope pythonic/fast groupby and filtering and other data aggregation procedures besides pandas (if faster)

will skirt this step a bit by running the large dataset on a large server about 100Gb in size. We'll make wrapper functions so that if we have to we can switch out pandas based methods for faster methods. Performance is not our primary concern

tried implementing dask to read multiple small csv files encompassing large dataset but it didn't load in...."need" to make loading work


CSScomb error: (node:21687) UnhandledPromiseRejectionWarning: TypeError: ast.remove is not a function

Does anyone know why and how to fix?
CSScomb error:
(node:21687) UnhandledPromiseRejectionWarning: TypeError: ast.remove is not a function
at /Users/zachcheng/Library/Application Support/Sublime Text 3/Packages/CSScomb/node_modules/csscomb/lib/options/block-indent.js:48:13
at Node.eachFor (/Users/zachcheng/Library/Application Support/Sublime Text 3/Packages/CSScomb/node_modules/csscomb/node_modules/gonzales-pe/lib/gonzales.js:129:83)
at Plugin.process (/Users/zachcheng/Library/Application Support/Sublime Text 3/Packages/CSScomb/node_modules/csscomb/lib/options/block-indent.js:44:9)
at /Users/zachcheng/Library/Application Support/Sublime Text 3/Packages/CSScomb/node_modules/csscomb/lib/core.js:384:14
at Array.forEach ()
at Comb._processTree (/Users/zachcheng/Library/Application Support/Sublime Text 3/Packages/CSScomb/node_modules/csscomb/lib/core.js:383:8)
at process._tickCallback (internal/process/next_tick.js:68:7)
(node:21687) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:21687) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Similar problem. Just updated to latest version hoping it would fix but still getting:
(node:96346) UnhandledPromiseRejectionWarning: TypeError: ast.remove is not a function     at /usr/local/lib/node_modules/csscomb/lib/options/block-indent.js:48:13     at Node.eachFor (/usr/local/lib/node_modules/csscomb/node_modules/gonzales-pe/lib/gonzales.js:129:83)     at Plugin.process (/usr/local/lib/node_modules/csscomb/lib/options/block-indent.js:44:9)     at /usr/local/lib/node_modules/csscomb/lib/core.js:384:14     at Array.forEach (<anonymous>)     at Comb._processTree (/usr/local/lib/node_modules/csscomb/lib/core.js:383:8)     at processTicksAndRejections (internal/process/next_tick.js:81:5) (node:96346) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:96346) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Hi @seezee, i haven't published the fix as a new version to npm yet. I'm planning to do that in next couple of days, so please hold on a bit more.

@seezee, published as v4.3.0

@seezee, published as v4.3.0

Thanks. I'll try again once it's pushed to NPM.


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-25-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 2987

Questions ?
Please refer to the Backport tool documentation


add google client id in env files

This PR is created to add google client id in env files, to fix auth fail which is made mandatory in last audit log PR.
All devs have to add same change in there personal .env file to avoid auth fail.

so... do we need this because the test suite depends on it? we shouldn't be hard-coding account-specific these things in here, I don't think this can be the solution.


migrator(ticdc): Delete old changefeed

What problem does this PR solve?

Issue Number: close #xxx
What is changed and how it works?
Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
Please refer to [Release Notes Language Style Guide](https://pingcap.github.io/tidb-dev-guide/contribute-to-tidb/release-notes-style-guide.html) to write a quality release note.

If you don't think this PR needs a release note then fill it with `None`.

/run-all-tests

/run-all-tests

/run-all-tests
/run-all-tests

/run-integration-tests

Codecov Report

Merging #6103 (952e369) into cli-use-open-api (d1de53d) will decrease coverage by 0.6547%.
The diff coverage is 77.7777%.

Flag
Coverage Δ

cdc
64.6197% <77.7777%> (+0.1419%)
:arrow_up:

dm
51.9506% <ø> (-0.0254%)
:arrow_down:

engine
?

Flags with carried forward coverage won't be shown. Click here to find out more.
@@                   Coverage Diff                    @@
##           cli-use-open-api      #6103        +/-   ##
========================================================
- Coverage           58.4562%   57.8014%   -0.6548%
========================================================
  Files                   708        550       -158
  Lines                 83471      73204     -10267
========================================================
- Hits                  48794      42313      -6481
+ Misses                30244      26996      -3248
+ Partials               4433       3895       -538


Remove the Nvidium from the wiki

I was wondering why nvidium has been removed, did you had any issues or it was too experimental to keep it in the wiki?

I was wondering why nvidium has been removed, did you had any issues or it was too experimental to keep it in the wiki?

it was added to SO itself at some point
it's no longer in it now due to being unmaintained


spawn training fledge without wryna

https://nightly.link/lepelog/ssrando/workflows/build.yaml/fledge-wryna


specify allowed paths, owners or types

I'm currently combining the cloudinary transformer with several other source and transformer plugins and I am having a hard time limiting the scope of files which should be uploaded to cloudinary.  For example the transformer currently picks up images inside the .cache directory, which makes it impossible to use it with other plugins which cache their remote files.
Being able to include/exclude files by their path owner or type would help.
I'm happy to submit a pull request to allow limiting source path.

Hi @joernroeder I think this makes sense to limit the source path, I would love to see what the architecture is like, care to send a PR and we can review it?

Hi @joernroeder I think this makes sense to limit the source path, I would love to see what the architecture is like, care to send a PR and we can review it?

@Chuloo sure, I'll set something up next week.

@Chuloo sure, I'll set something up next week.

Released: v2.3.0


Feedback feature is not working.

I tried to send feedback to server but got the following error.
Unhandled Runtime Error
Error: Feedback adapter not configured

Sorry I figured it out by myself. I just need to set up feedback provider in useVercelUseAssistantRuntime.


Unsupported CPU

Hi,
I run the dome,but "Unsupported CPU" error.
Something wrong with it.
Regards,
Vienta

Same problem

Closing out old issues in preparation to archive this project.


Add incremental file writing to diagnostics.py

Pull Request
Description
Adds ability to write data to the output files at given time intervals while the program is running.
This pull request addresses #145
Checklist
The following items have been checked for this PR:

[ ] Conforms to PEP8 style standards (check with pylint, flake8, or similar)
[ ] Code is documented with docstrings, or docstrings have been updated as appropriate
[ ] New unit test/integration test have been added to check new code
[ ] All existing tests still pass

Just for reference I've been testing this using the spring.py file in the block-on-spring repo. Add the "interval" keyword to the "Diagnostics" dictionary like so:
"Diagnostics": {
# default values come first
"directory": "output_leapfrog/",
"output_type": "csv",
"clock": {"filename": "time.csv"},
"interval": 2,
"BlockDiagnostic": [
{'component': 'momentum', 'filename': 'block_p.csv'},
{'component': 'position', 'filename': 'block_x.csv'}
]
}

Alright, I think this is ready for review.

@AOstenfeld sorry to spring this on you, but I've made some changes in main that affect this PR.
I’ve created a new class, IntervalHandler, which lets you specify a function to call, and an interval at which to call it. This separates out the logic for checking the time step, and should make the code easier to write/maintain. As an example of how to use this class, you can look at my HistoryDiagnostic class.
For the issue that you are working on for this, I’d like to see you use the new IntervalHandler class to extend the HistoryDiagnostic class.

Add a new, optional, parameter write_interval
If that parameter is specified, then create a new IntervalHandler whose action is to write the output to file. This will require creating a new method in the HistoryDiagnostic class which writes the data. Something like:

self._write_data():
	self._traces.squeeze().to_netcdf(self._filename, 'w’)

Modify the diagnose method to also call perform_action on the new interval handler

I'm moving this to another PR so that the diagnostics.py file is up to date.


Playwright Sync API inside the asyncio loop error

Description
Using playwright doesn't work for me:
COMMANDS:
{'scrape_text': {'url': 'REDACTED'}}

Error: It looks like you are using Playwright Sync API inside the asyncio loop.
Please use the Async API instead.

Did I missed something in the installation process or some configuration ?
I'm sorry if this is a wrong report, this can be totally my fault.
Steps to Reproduce the Bug

Start an instruction using any of the playwright command.

Expected Behavior
Task complete
Actual Behavior
Error: It looks like you are using Playwright Sync API inside the asyncio loop.
Additional Context / Screenshots
No response
Operating System

[ ] Microsoft Windows
[ ] Apple MacOS
[X] Linux
[ ] Android
[ ] iOS
[ ] Other

Python Version

[ ] Python <= 3.9
[ ] Python 3.10
[ ] Python 3.11

Environment Type - Connection

[X] Local
[ ] Remote

Environment Type - Container

[ ] Using Docker
[X] Not Using Docker

Acknowledgements

[X] My issue title is concise, descriptive, and in title casing.
[X] I have searched the existing issues to make sure this bug has not been reported yet.
[X] I am using the latest version of Agent-LLM.
[X] I have provided enough information for the maintainers to reproduce and diagnose the issue.

Make sure your playwright version is up to date.


Getting error message pop up.

https://gyazo.com/bcc1a917ab50702f21d3d7b34f5b0ef7
I was uploading files and this pops up. I had to restart Sia-UI because it did not let me click anything.

restarting should fix this issue. It's an issue with Sia-UI, not Sia


chore: Remove en-in from SharePoint licensing link

@nschonni : Thanks for your contribution! The author, @markingmyname, has been notified to review your proposed change.

#sign-off


Remove spring related transitive dependencies from dubbo-all

spring xml related samples need to be adjusted to meet this change
documentation needs to be updated for non spring-boot users
spring-boot users would not be affected, but with dependency conflict chances reduced

Test cases should be fixed first
Why add protobuf dependencies?

Test cases should be fixed first

I am now working on it.

Why add protobuf dependencies?

As triple going to become the major protocol of Dubbo framework in the next release, I think we should have it by default, just like what we do with hessian2 before.

It's ready to merge


How do I show the actual progress of the file upload?

Hello,
On the live demo, the upload progress bar seems to be consistent with the upload progress of the file, however, on my setup, the progress bar extends to the end immediately the "start upload" button is clicked.
I followed the instructions on the repo.
Please is there any extra settings to be made to show the actual progress of the file upload?

HI @Kendysond ,
The progress bar is handled by Dropzone.js and there are no settings for it.  If there is a significant delay between the time that the progress bar 'completes' and the file show up in the browser, it is likely that your server is taking a longer time to process the file.  The progress bar only shows the upload, but does not account for the time taken to generate the thumbnail, re-size the image, and move it to the final location.  Hope that answers your question.

Apologies for the tardy response.
That helps!
Thank you.


Accuracy not Improving as in Paper Results

Hello,
I cloned the repo and am running the training file, but my accuracy seems to be improving much slower than the results presented in the paper. Are there some hyperparameter settings that should be changed to reproduce your results? I have attached some partial training results I am getting right now.
Thank you for your help!

I was using the latest version for the results above. If using tf 1.8, were you using the code at image_classification_tf_1.8.0/network/fruit_train_net.py for training?
I was originally running image_classification/Fruits-360 CNN.py but I believe this is only compatible with tf 2.0?

Yes. However, that version is deprecated and I would still recommend using the one for tf 2.0 as it should achieve comparable performance even if the training progress differs.


Feat: GraphQL - transactions

Implements transactions (#554)

I plan to add one or more tests (perhaps as part of #698 but ideally as part of this PR).
I'm moving this from Draft to Ready for review to get comments on the current code.


wasm-smith: generate SIMD instructions

This adds the necessary helper functions to generate SIMD instructions
if the Wasm SIMD proposal is enabled in the configuration (it is enabled
by default).

Ok, I think this should be ready for review. I have been using the following script to generate a bunch of errors and see where the failures happen--I only now see errors related to "not enough random data" (evidenced by error: unable to read uint32_t: magic), alignment issues (#281), and global init issues (#282):
#!/bin/bash
# uncomment to stop at first error: set -e
export RUST_BACKTRACE=1
for i in {0..1000}; do
    head -c 2000 /dev/urandom > test.random
    cat test.random | cargo run --features structopt -- -o test.wasm 2>/dev/null
    wasm2wat --enable-all test.wasm 1>/dev/null
done

cc: @fitzgen, @alexcrichton

I don't have permissions to merge...


fix guard and update monit binary version

fixed guard because commit 1f90c6f9dbb04c8d1204677b5dbf7ff399b19e47 got following error
       [2015-05-05T14:26:45+01:00] ERROR: Running exception handlers
       Running handlers complete
       [2015-05-05T14:26:45+01:00] ERROR: Exception handlers complete
       [2015-05-05T14:26:45+01:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
       Chef Client failed. 5 resources updated in 30.117795356 seconds
       [2015-05-05T14:26:45+01:00] ERROR: execute[install-monit-binary] (monit::install_binary line 23) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
       ---- Begin output of tar zxvf monit-5.12.2.tar.gz && cd monit-5.12.2 && cp bin/monit /usr/bin/monit ----
       STDOUT: monit-5.12.2/
       monit-5.12.2/bin/
       monit-5.12.2/bin/monit
       monit-5.12.2/COPYING
       monit-5.12.2/conf/
       monit-5.12.2/conf/monitrc
       monit-5.12.2/man/
       monit-5.12.2/man/man1/
       monit-5.12.2/man/man1/monit.1
       STDERR: cp: cannot create regular file `/usr/bin/monit': Text file busy
       ---- End output of tar zxvf monit-5.12.2.tar.gz && cd monit-5.12.2 && cp bin/monit /usr/bin/monit ----
       Ran tar zxvf monit-5.12.2.tar.gz && cd monit-5.12.2 && cp bin/monit /usr/bin/monit returned 1
       [2015-05-05T14:26:47+01:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

@phlipper  Is there anything to be done for this to be merged?


update CommentForest.list() signature

(cherry picked from commit 2bf8cc18d4fe1518acfd6e4e652874dec33c7ee0
References

https://github.com/praw-dev/praw/pull/1569

Pull Request Test Coverage Report for Build 2a7c6862f195a51932d0a30d3c1a9a2cf457eb7a-PR-30

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build be588a46712d1fb854c5eb03de0f45984fbd8134:
0.0%

Covered Lines:
3508

Relevant Lines:
3508

💛  - Coveralls

Pull Request Test Coverage Report for Build 2a7c6862f195a51932d0a30d3c1a9a2cf457eb7a-PR-30

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build be588a46712d1fb854c5eb03de0f45984fbd8134:
0.0%

Covered Lines:
3508

Relevant Lines:
3508

💛  - Coveralls


no ref available for saving qr code

How do I save the qr code to file without having access to the content?
normally i would do something like :
Ref={(c) => (qrCodeRef.current = c)}
and then  qrCodeRef.current?.toDataURL... using RNFS
please assist?

@loekTheDreamer Hi there! Please, provide more info about "toDataURL..." method.

from this library react-native-qrcode-svg
react-native-qrcode-svg
  saveQrToDisk() {
   	this.svg.toDataURL((data) => {
   		RNFS.writeFile(RNFS.CachesDirectoryPath+"/some-name.png", data, 'base64')
   		  .then((success) => {
   			  return CameraRoll.saveToCameraRoll(RNFS.CachesDirectoryPath+"/some-name.png", 'photo')
   		  })
   		  .then(() => {
   			  this.setState({ busy: false, imageSaved: true  })
   			  ToastAndroid.show('Saved to gallery !!', ToastAndroid.SHORT)
   		  })
   	})
  }

@loekTheDreamer I would rather use that library than work with base64

ok thanks i was about to try that next.


treewide: more fixes to tests

Yet another^2 followup to #39464.

Would it be possible to avoid the conditional and always patch like we are potentially going to run the tests?

Yes, but ladspaPlugins is a pretty heavy thing and I'm trying not to influence build times till there's a consensus of setting doCheckByDefault to true.
#43702 does similarly for glib for the same reason.

Yes, but ladspaPlugins is a pretty heavy thing and I'm trying not to influence build times till there's a consensus of setting doCheckByDefault to true.

Ok that makes sense.

@GrahamcOfBorg eval

Success on x86_64-linux (full log)
Attempted: at-spi2-atk, at-spi2-core, fribidi, libnice, librdf
Partial log (click to expand)
shrinking /nix/store/pcg6h1dnbqkm9acn7d52ai6hqx0vnyrc-liblrdf-0.5.0/lib/liblrdf.so.2.0.0
strip is /nix/store/90vmpr41dzsx350k5argycaf693hnl1l-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/pcg6h1dnbqkm9acn7d52ai6hqx0vnyrc-liblrdf-0.5.0/lib
patching script interpreter paths in /nix/store/pcg6h1dnbqkm9acn7d52ai6hqx0vnyrc-liblrdf-0.5.0
checking for references to /build in /nix/store/pcg6h1dnbqkm9acn7d52ai6hqx0vnyrc-liblrdf-0.5.0...
/nix/store/sw01ib2kcc5wfzlir4jjhb9b78b6cfq5-at-spi2-atk-2.26.2
/nix/store/0zzc3y9plkfnv2n3asvph0snkmi383i0-at-spi2-core-2.28.0
/nix/store/gwck3q705ckmhn2bzms0g22dmdi302qn-fribidi-1.0.4
/nix/store/mylyhlbd95j7j3021z9iha0sihpma3fq-libnice-0.1.14
/nix/store/pcg6h1dnbqkm9acn7d52ai6hqx0vnyrc-liblrdf-0.5.0

Success on aarch64-linux (full log)
Attempted: at-spi2-atk, at-spi2-core, fribidi, libnice, librdf
Partial log (click to expand)
shrinking /nix/store/8h1hwj8n8qj7l14xqqx0wccjrr8zinm5-liblrdf-0.5.0/lib/liblrdf.so.2.0.0
strip is /nix/store/7iyn7gn33i7xxjgmwf25k20246y6nd9d-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/8h1hwj8n8qj7l14xqqx0wccjrr8zinm5-liblrdf-0.5.0/lib
patching script interpreter paths in /nix/store/8h1hwj8n8qj7l14xqqx0wccjrr8zinm5-liblrdf-0.5.0
checking for references to /build in /nix/store/8h1hwj8n8qj7l14xqqx0wccjrr8zinm5-liblrdf-0.5.0...
/nix/store/9p1pps6g3xbw8ig8ygw86zfjqqd2bjk2-at-spi2-atk-2.26.2
/nix/store/0zcz5wymxc2nnyxqnq6kn5zgqn26vq83-at-spi2-core-2.28.0
/nix/store/jqybygz1k9by0pz099bg2xprd0rp5j19-fribidi-1.0.4
/nix/store/5l36vk8625qmh77mg7g7jg13zczd9dda-libnice-0.1.14
/nix/store/8h1hwj8n8qj7l14xqqx0wccjrr8zinm5-liblrdf-0.5.0