No longer reference ga4 main

https://github.com/deer/fresh_ga4/blob/b5d1b8599784f9ed403f9e93d9f64564c613130d/deps.ts#L9
Not sure why I did this rather than a specific commit, but it needs to be changed.

closed by 44297ac21c5868c2aac94cd55f9adb8a6ede293b


public_dir cannot be set  NoMethodError - undefined method `public_dir' for CASServer::Server:Class:

Hello,
It seems I found a bug in the setting of the public_dir:
[2011-10-06 11:56:23] INFO  WEBrick::HTTPServer#start: pid=30595 port=443
NoMethodError - undefined method public_dir' for CASServer::Server:Class: 	/usr/local/rubycas-server/lib/casserver/server.rb:41:in static!'
/usr/local/lib/ruby/gems/1.9.1/gems/sinatra-1.3.1/lib/sinatra/base.rb:884:in dispatch!' 	/usr/local/lib/ruby/gems/1.9.1/gems/sinatra-1.3.1/lib/sinatra/base.rb:706:in block in call!'
/usr/local/lib/ruby/gems/1.9.1/gems/sinatra-1.3.1/lib/sinatra/base.rb:871:in block in invoke' 	/usr/local/lib/ruby/gems/1.9.1/gems/sinatra-1.3.1/lib/sinatra/base.rb:871:in catch'
/usr/local/lib/ruby/gems/1.9.1/gems/sinatra-1.3.1/lib/sinatra/base.rb:871:in invoke' 	/usr/local/lib/ruby/gems/1.9.1/gems/sinatra-1.3.1/lib/sinatra/base.rb:706:in call!'
/usr/local/lib/ruby/gems/1.9.1/gems/sinatra-1.3.1/lib/sinatra/base.rb:692:in call' 	/usr/local/lib/ruby/gems/1.9.1/gems/rack-protection-1.1.4/lib/rack/protection/xss_header.rb:22:in call'
/usr/local/lib/ruby/gems/1.9.1/gems/rack-protection-1.1.4/lib/rack/protection/path_traversal.rb:16:in call' 	/usr/local/lib/ruby/gems/1.9.1/gems/rack-protection-1.1.4/lib/rack/protection/json_csrf.rb:17:in call'
/usr/local/lib/ruby/gems/1.9.1/gems/rack-protection-1.1.4/lib/rack/protection/base.rb:47:in call' 	/usr/local/lib/ruby/gems/1.9.1/gems/rack-protection-1.1.4/lib/rack/protection/xss_header.rb:22:in call'
/usr/local/lib/ruby/gems/1.9.1/gems/rack-1.3.4/lib/rack/nulllogger.rb:9:in call' 	/usr/local/lib/ruby/gems/1.9.1/gems/rack-1.3.4/lib/rack/head.rb:9:in call'
/usr/local/lib/ruby/gems/1.9.1/gems/sinatra-1.3.1/lib/sinatra/showexceptions.rb:21:in call' 	/usr/local/lib/ruby/gems/1.9.1/gems/sinatra-1.3.1/lib/sinatra/base.rb:1334:in block in call'
/usr/local/lib/ruby/gems/1.9.1/gems/sinatra-1.3.1/lib/sinatra/base.rb:1403:in synchronize' 	/usr/local/lib/ruby/gems/1.9.1/gems/sinatra-1.3.1/lib/sinatra/base.rb:1334:in call'
/usr/local/lib/ruby/gems/1.9.1/gems/rack-1.3.4/lib/rack/handler/webrick.rb:59:in service' 	/usr/local/lib/ruby/1.9.1/webrick/httpserver.rb:111:in service'
/usr/local/lib/ruby/1.9.1/webrick/httpserver.rb:70:in run' 	/usr/local/lib/ruby/1.9.1/webrick/server.rb:183:in block in start_thread'
localhost - - [06/Oct/2011:11:56:26 BST] "GET / HTTP/1.1" 500 74413

-> /
NoMethodError - undefined method public_dir' for CASServer::Server:Class:   /usr/local/rubycas-server/lib/casserver/server.rb:41:in static!'
/usr/local/lib/ruby/gems/1.9.1/gems/sinatra-1.3.1/lib/sinatra/base.rb:884:in dispatch!'   /usr/local/lib/ruby/gems/1.9.1/gems/sinatra-1.3.1/lib/sinatra/base.rb:706:in block in call!'
/usr/local/lib/ruby/gems/1.9.1/gems/sinatra-1.3.1/lib/sinatra/base.rb:871:in block in invoke'   /usr/local/lib/ruby/gems/1.9.1/gems/sinatra-1.3.1/lib/sinatra/base.rb:871:in catch'
/usr/local/lib/ruby/gems/1.9.1/gems/sinatra-1.3.1/lib/sinatra/base.rb:871:in invoke'   /usr/local/lib/ruby/gems/1.9.1/gems/sinatra-1.3.1/lib/sinatra/base.rb:706:in call!'
/usr/local/lib/ruby/gems/1.9.1/gems/sinatra-1.3.1/lib/sinatra/base.rb:692:in call'   /usr/local/lib/ruby/gems/1.9.1/gems/rack-protection-1.1.4/lib/rack/protection/xss_header.rb:22:in call'
/usr/local/lib/ruby/gems/1.9.1/gems/rack-protection-1.1.4/lib/rack/protection/path_traversal.rb:16:in call'   /usr/local/lib/ruby/gems/1.9.1/gems/rack-protection-1.1.4/lib/rack/protection/json_csrf.rb:17:in call'
/usr/local/lib/ruby/gems/1.9.1/gems/rack-protection-1.1.4/lib/rack/protection/base.rb:47:in call'   /usr/local/lib/ruby/gems/1.9.1/gems/rack-protection-1.1.4/lib/rack/protection/xss_header.rb:22:in call'
/usr/local/lib/ruby/gems/1.9.1/gems/rack-1.3.4/lib/rack/nulllogger.rb:9:in call'   /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.3.4/lib/rack/head.rb:9:in call'
/usr/local/lib/ruby/gems/1.9.1/gems/sinatra-1.3.1/lib/sinatra/showexceptions.rb:21:in call'   /usr/local/lib/ruby/gems/1.9.1/gems/sinatra-1.3.1/lib/sinatra/base.rb:1334:in block in call'
/usr/local/lib/ruby/gems/1.9.1/gems/sinatra-1.3.1/lib/sinatra/base.rb:1403:in synchronize'   /usr/local/lib/ruby/gems/1.9.1/gems/sinatra-1.3.1/lib/sinatra/base.rb:1334:in call'
/usr/local/lib/ruby/gems/1.9.1/gems/rack-1.3.4/lib/rack/handler/webrick.rb:59:in service'   /usr/local/lib/ruby/1.9.1/webrick/httpserver.rb:111:in service'
/usr/local/lib/ruby/1.9.1/webrick/httpserver.rb:70:in run'   /usr/local/lib/ruby/1.9.1/webrick/server.rb:183:in block in start_thread'
localhost - - [06/Oct/2011:11:56:26 BST] "GET /sinatra/500.png HTTP/1.1" 500 74516
https://localhost/ -> /sinatra/500.png

To make it work I had to comment line 41 on server.rb
and hard code the path:
def static!
  # return if (public_dir = settings.public_dir).nil?
  public_dir='/usr/local/rubycas-server/public'

Fixed in 5b5ffd0d265e2555f278db76b5c81f744699807e


The translations resource files look to be 3 years old

We may want to update these.

Yes, absolutely. I will start to work on it.

Finished with #139


Remove the toCPU copy

Removes the copy from lib.py but copied in numpy instead

Hmm, this isn't a bad idea. I'm curious about the performance implications, I suspect this fixes the issues I was seeing.

This doesn't address #2417, since the copy would happen too late.

Hmm, this isn't a bad idea. I'm curious about the performance implications, I suspect this fixes the issues I was seeing.
When is the copy needed and why does this fix it?

This works because the tests call numpy() before recalling the jitted function, similar to what woze said. qtkite beat me to this by a couple hours I had just realized this would pass the current tests lol.
I am not sure if recreating the tensor at each jit call is feasible without placing more limitations on what types JIT can return. Consider returning an object where a tensor is deeply nested. Would we walk the return value to find the tensor?
It may be possible without walking the jit return object, but I am still working through how it would work.

Hmm, this isn't a bad idea. I'm curious about the performance implications, I suspect this fixes the issues I was seeing.
When is the copy needed and why does this fix it?

From running the testcases, looks like issues only arise when calling numpy will modify the rawbuffer so the copy is used there. Can't seem to notice any performance impact by doing some timing tests on the jit cases. I cleaned up buffer view from the rest of the codebase, now Tinygrad is 1 line shorter. Also just read about #2417 but that would mean a more robust handling of the tensors as imaolo mentioned.

 Maybe there's a better way to deal with this issue that I'm missing.

I locked the bounty for this, I think it's the right idea, it just needs tests

Right, I think this should be defined on what kind of behavior we want to see in JIT. If you are happy with the way this is as JIT is quite dumb, I can create another test that shows tocpu will share the same underlying buffer as the previous device buffer and document it as is.

Hmm interesting test, and I agree the behavior is counterintuitive

Merged, bounty is yours! Reach out to<EMAIL_ADDRESS>with a PayPal or USDC address to claim


Add prefetch options

This can be useful during SSR so we can generate link rel="prefetch" tags, for resources that are not fetched during SSR. prefetch will automatically tries to fetch the resources when the browser is idle, and if it finishes, the resources will be ready in the browser cache already.
Reference: https://developer.mozilla.org/en-US/docs/Web/HTTP/Link_prefetching_FAQ

Done in #21


Tiled Segmentation

Hi,

I tested training a network. Works OK I think. It is really fast, so I hope it used my complete training patches etc. However using the trained network gives a problem if the images are big and the script runs prediction on tiles. See picture. I also tried training Stardist, and predicting with Stardist does not give these effects at the borders.
Best, Ron

Hi @Jooppie
We use an overlap that is a multiple of the diameter that is provided by the cellpose builder. That overlap should be bigger than the largest object that you have. You can try to overcome the automatic overlap calculation by trying the following just before the detection.
The fact that it's not working is probably because you are using a custom model without setting the diameter
import qupath.ext.biop.cellpose.Cellpose2D

// Specify the model name (cyto, nuc, cyto2, omni_bact or a path to your custom model)
def pathModel = 'cyto'

def cellpose = Cellpose2D.builder( pathModel )
        .pixelSize( 0.5 )              // Resolution for detection
        .channels( 'DAPI' )            // Select detection channel(s)
//        .preprocess( ImageOps.Filters.median(1) )                // List of preprocessing ImageOps to run on the images before exporting them
//        .tileSize(2048)                // If your GPU can take it, make larger tiles to process fewer of them. Useful for Omnipose
//        .cellposeChannels(1,2)         // Overwrites the logic of this plugin with these two values. These will be sent directly to --chan and --chan2
//        .maskThreshold(-0.2)           // Threshold for the mask detection, defaults to 0.0
//        .flowThreshold(0.5)            // Threshold for the flows, defaults to 0.4
//        .diameter(0)                   // Median object diameter. Set to 0.0 for the `bact_omni` model or for automatic computation
//        .invert()                      // Have cellpose invert the image
//        .useOmnipose()                 // Add the --omni flag to use the omnipose segmentation model
//        .excludeEdges()                // Clears objects toutching the edge of the image (Not of the QuPath ROI)
//        .clusterDBSCAN()               // Use DBSCAN clustering to avoir over-segmenting long object
        .cellExpansion(5.0)            // Approximate cells based upon nucleus expansion
//        .cellConstrainScale(1.5)       // Constrain cell expansion using nucleus size
//        .classify("My Detections")     // PathClass to give newly created objects
        .measureShape()                // Add shape measurements
        .measureIntensity()            // Add cell measurements (in all compartments)
//        .createAnnotations()           // Make annotations instead of detections. This ignores cellExpansion
        .build()

// Run detection for the selected objects
def imageData = getCurrentImageData()
def pathObjects = getSelectedObjects()
if (pathObjects.isEmpty()) {
    Dialogs.showErrorMessage("Cellpose", "Please select a parent object!")
    return
}

cellpose.overlap = 200 // in pixels : amount of overlap between tiles. Should be larger than the largest object.

cellpose.detectObjects(imageData, pathObjects)
println 'Done!'

Hi
Thanks for that, it works! It also works if I include .diameter(130)  while
training and predicting.
Some remarks.
In training: I see:
INFO: Cellpose2D-train: >>>> !NEW LOGGING SETUP! To see cellpose progress,
set --verbose
INFO: Cellpose2D-train: No --verbose => no progress or info printed
So no progress is shown.
Also the imageJ table and graph show up empty in my case.
Furthermore: I added;
.useGPU()
.build()
For the training code: on the github website the .build() is not in the
example
Also on the website you show the "simplest way so far", but that is even
simpler on windows, you only need the conda environment. (with cuda if
possible, and use the .useGPU())
Some enhancements (if possible)
Use the calculated H & E channel for training and prediction (or is this
already possible?).
Thanks for the help and nice plugin!
Best. Ron
Op do 3 feb. 2022 om 17:15 schreef Olivier Burri @.***>:

Hi @Jooppie https://github.com/Jooppie
We use an overlap that is a multiple of the diameter that is provided by
the cellpose builder. That overlap should be bigger than the largest object
that you have. You can try to overcome the automatic overlap calculation by
trying the following just before the detection.
The fact that it's not working is probably because you are using a custom
model without setting the diameter
import qupath.ext.biop.cellpose.Cellpose2D
// Specify the model name (cyto, nuc, cyto2, omni_bact or a path to your custom model)
def pathModel = 'cyto'
def cellpose = Cellpose2D.builder( pathModel )
.pixelSize( 0.5 )              // Resolution for detection
.channels( 'DAPI' )            // Select detection channel(s)
//        .preprocess( ImageOps.Filters.median(1) )                // List of preprocessing ImageOps to run on the images before exporting them
//        .tileSize(2048)                // If your GPU can take it, make larger tiles to process fewer of them. Useful for Omnipose
//        .cellposeChannels(1,2)         // Overwrites the logic of this plugin with these two values. These will be sent directly to --chan and --chan2
//        .maskThreshold(-0.2)           // Threshold for the mask detection, defaults to 0.0
//        .flowThreshold(0.5)            // Threshold for the flows, defaults to 0.4
//        .diameter(0)                   // Median object diameter. Set to 0.0 for the bact_omni model or for automatic computation
//        .invert()                      // Have cellpose invert the image
//        .useOmnipose()                 // Add the --omni flag to use the omnipose segmentation model
//        .excludeEdges()                // Clears objects toutching the edge of the image (Not of the QuPath ROI)
//        .clusterDBSCAN()               // Use DBSCAN clustering to avoir over-segmenting long object
.cellExpansion(5.0)            // Approximate cells based upon nucleus expansion
//        .cellConstrainScale(1.5)       // Constrain cell expansion using nucleus size
//        .classify("My Detections")     // PathClass to give newly created objects
.measureShape()                // Add shape measurements
.measureIntensity()            // Add cell measurements (in all compartments)
//        .createAnnotations()           // Make annotations instead of detections. This ignores cellExpansion
.build()
// Run detection for the selected objects
def imageData = getCurrentImageData()
def pathObjects = getSelectedObjects()
if (pathObjects.isEmpty()) {
Dialogs.showErrorMessage("Cellpose", "Please select a parent object!")
return
}
cellpose.overlap = 200 // in pixels : amount of overlap between tiles. Should be larger than the largest object.
cellpose.detectObjects(imageData, pathObjects)
println 'Done!'
—
Reply to this email directly, view it on GitHub
https://github.com/BIOP/qupath-extension-cellpose/issues/5#issuecomment-1029154541,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALCJZYGZCJWBRYLJGKJ6QHLUZKS35ANCNFSM5NPFAXTQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

Dear Ron,
For help on how to use this extension, please refer to the Image.sc forum and place a post there
https://forum.image.sc/t/cellpose-in-qupath-qupath-extension-cellpose/58901/74
Regarding the training not displaying anything. This Commit fixes it: https://github.com/BIOP/qupath-extension-cellpose/commit/d16b539cce6787dda02ad00127498dcc5807ca0c
A new release has been made.


AMQ-6775: Race condition makes messages queued in the session be delivered before messages queued in consumers.

would it be possible to add a unit test?

I've added a test using Mockito to exemplify the conditions under which the out of order issue is verified.


Set up offline ISOs

Related to #198

Offline ISOs have been building as of #230. Any future "work" for this would be download links, but that's something for my website, not this repo.


Enable configuration of download cache dir, temp dir

@noam-almog please - most importantly does it make sense:)
My idea is:

tempDir - it's a runtime configuration of mysql, so moved it to MysqldConfig;
downloadCacheDir - it's download/prepare setting, so added to DownloadConfig and planning to add there additional settings - url, proxy, etc.

Given I will want to expose additional settings that are neither runtime nor download settings, I can easily do it via AdditionalConfig.

@viliusl not sure about the logic, all download and runtime should probably sit together.
btw, does the user must specify this in the builder right now ? i think this should be optional.

Not really following but noticed the "all download and runtime should
probably sit together" part and wanted to chime in and say we'll probably
need to use the download part separately from the runtime. Treat it sort of
like a maven dependency. Maybe it's completely irrelevant but wanted to
give my 2c
On Sun, 4 Jun 2017 at 19:39 Noam Almog<EMAIL_ADDRESS>wrote:

@viliusl https://github.com/viliusl not sure about the logic, all
download and runtime should probably sit together.
btw, does the user must specify this in the builder right now ? i think
this should be optional.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/wix/wix-embedded-mysql/pull/96#issuecomment-306051301,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUIF3vDSW75Et2SQYcsOPn06Yju0uwYks5sAt2wgaJpZM4Nou-i
.

@ittaiz i'll rephrase, target dir, download dir and all of the mechanics of downloading and extracting should be in the same place

sounds good
On Mon, Jun 5, 2017 at 10:53 AM Noam Almog<EMAIL_ADDRESS>wrote:

@ittaiz https://github.com/ittaiz i'll rephrase, target dir, download
dir and all of the mechanics of downloading and extracting should be in the
same place
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/wix/wix-embedded-mysql/pull/96#issuecomment-306126318,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUIF5z4QeT223wDGU1XMd8pl8eqTWWyks5sA7PbgaJpZM4Nou-i
.

@noam-almog yes/no/maybe.
Runtime: cwd (tempDir), port, user, ...;
Download: cacheDir, url, proxy, download timeout.
This was my motivation to add tempDir to an existing config and move download related stuff to a new one.
Otherwise DownloadConfig is optional.

@viliusl I would move temp dir to the download config, but that's just my opinion.
the DSL is good enough for people to find it anyhow :)


bad hardwired path

https://github.com/FlorentBuissonOReilly/BehavioralDataAnalysis/blob/a18dea2122d4e54bd692093df12a493ddc663f33/Chapter 2 - Behaviors%2C Causality and Prediction/chap 2 - generating data.R#L12

Resolved for when the R scripts are open in Rstudio, I will revisit the issue when creating the R notebooks.


What to do when iCloud is stuck on uploading items

category: note
I use iCloud as my syncing engine for my Obsidian Second Brain, and twice now I've seen iCloud get corrupted into a really bad state. I also back up everything to github, so I dont really experience much data loss, but it is annoying to see iCloud be so unreliable at even the simple task of syncing mostly text files.
Today's issue was that I somehow created some files that iCloud didnt like (I renamed one file, and added a few others, in a short period of time, but nothing crazy), which led to something like this:

and iCloud then refusing to sync anything else that I added or modified to my synced folders from there on out (i was uploading 7kb, not 2gb, which made it even more infuriating that it was getting stuck uploading that trivial of data)
If you google this problem you get a lot of really horrible advice from the apple forums, like turn off your iCloud and on again and again (which deletes stuff that was just fine! if you have a large icloud account - i use mine for photos - that is ~100gb of stuff that just gets wiped and later has to be resynced), or just a depressing chain of black box user anecdotes that don't offer any confidence whatsoever.
I also tried killing and restarting Finder itself, to no avail.
I'll skip straight to the point - this is the advice that worked for me.
$ ps aux | grep bird

# output looks something like
swyx               597   1.7  0.1 408320592  38384   ??  S     7:19PM   0:26.45 /System/Library/PrivateFrameworks/CloudDocsDaemon.framework/Versions/A/Support/bird
# grab the process ID (PID) from this output - here it is 597

# optional: Check current priority of bird process
$ ps -fl -C [PID]
  UID   PID  PPID   C STIME   TTY           TIME CMD                     F PRI NI       SZ    RSS WCHAN     S             ADDR
  501   597     1   0  7:19PM ??         0:36.11 /System/Library/  1004004  31  0 408325200  44208 -      R                   0

# Change priority of the bird process
sudo renice -n -10 -p [PID]

once I did this, syncing resumed almost immediately.

published it on my blog not because i think this has a wide audience, i literally just want to raise SEO ranking of the right answer

I face this problem too (exact same issue to do with using iCloud for Obsidian), but this solution doesn't work for me.
I used to run kill bird, but that has since stopped working for me.

thanks for contributing!

OK I have done a more in-depth investigation of this issue and think I've found a solution — posting it here so that it might benefit anyone else who comes across your site (which seems to have decent SEO).
Scenario 1: Your iCloud syncing occasionally gets stuck, but not all the time.
Solution: Kill the bird process (the iCloud syncing service). You can kill it via Activity Monitor or use the shell script linked in my previous comment. If you find that this immediately brings the syncing the completion, then your problem is a mild one and you can stop reading.
Scenario 2: Your iCloud syncing gets stuck all the time (particularly when using Obisidian), and killing the bird process doesn't provide immediate help. In my experience, just because it gets stuck doesn't mean it never completes. It just takes syncs intermittently when, on a laptop with no bugs, the syncing is supposed to be immediate.
Solution: I have noticed that, per this comment, clicking the option to turn off your iCloud somehow bumps up the priority of iCloud syncing and can actually help the sync complete. However, this is not a real solution. This is because, after returning to regular usage, the syncing continues to be stuck all the time. If this is your experience, you should:

Hi, I was following the instructions above from @tan-zx but when I run the script I get:
renice: 42296: setpriority: Permission denied
renice: 601: setpriority: Permission denied
renice: 854: setpriority: Permission denied
renice: 4600: setpriority: Operation not permitted
renice: 399: setpriority: Operation not permitted
renice: 574: setpriority: Permission denied
Any advice? I've killed the bird and then restarted and it'll temporarily fix the problem, but as soon as I have anything new to sync it gets hung up again. I've also logged out entirely and restarted, and then I even reset the entire laptop and I'm still having this issue. :(

hi @thatdebi, really sorry to hear that. sudo is required to run that script (which is likely the cause of your error)
in my experience, I didn't find the script necessary to fix the problem. instead, what I found to have fixed the problem permanently was to sign out of Apple ID, restart, and sign back in again. thereafter, while iCloud sync might hang occasionally, killing bird with this script would solve it for a good period of time (i.e. approximately a week before it recurs)
hope this helps!

thanks for being so nice in helping others @tan-zx  :)

This issue is also driving me nuts. I have previously used killall bird to get the sync to complete, but when I tried it right now, it didn't help either. The upload re-started but didn't complete, just like before. @tan-zx, why are you using that script instead of killall bird?
It looks as though some app is accessing a file onside the icloud folder and not letting it go, but lsof yields no file in any of the folders that have the cloud icon.
I also use Obsidian, so I closed down obsidian but the upload was still stuck. I suppose its not a coincidence that both os us with that problem are using obsidian. Also, the cloud symbol (indicating files that are not yet synced) is on my obsidian vault (and nothing else.  But what is obsidian doing to break icloud sync?

have you tried this:

to sign out of Apple ID, restart, and sign back in again

That signing in and out will temporarily fix the issue is rather trivial. I don't even need to sign in and out, a restart is enough. But that doesn't fix the root of the problem. Hence my question: what is obsidian (or one of its plugins) doing that might break icloud sync?
I just found this: https://github.com/tgrosinger/recent-files-obsidian/issues/33
Are you using the recent files plugin? I am, so I will now disable it and see if that fixes the issue.

That signing in and out will temporarily fix the issue is rather trivial

fwiw it fixed the root of the problem for me (unlike a restart), i.e. it doesn't recur except very rarely, in which case killall bird would fix it

Are you using the recent files plugin? I am, so I will now disable it and see if that fixes the issue.

No, I'm not

Thanks for the article. I've made oneliner to make things easier:
BIRDPID=`ps aux | grep -i bird | awk '{print $2}' | head -1`; sudo renice -n -
10 -p $BIRDPID

Thank you for the article, and thanks to @tan-zx for their comment convincing me to do the whole sign out / restart / sign in process :-D Sync is lightning fast at the moment. Fingers crossed!

Renicing 'bird' didn't help me just now (it just sat at 0% CPU), but killing it did work (using Activity Monitor). Thanks!

Somehow renicing doesn't work for me, bird process still has 31 as the priority. Killing bird didn't help as well, it will restart the uploading process and get stuck at some place.

It really helped me; the files started uploading to iCloud. I used all the commands mentioned in this article. I had an issue with the PID number. In my case, it was entirely different than expected, and I found it after a few attempts. I have almost no experience with coding, but if someone finds that this method doesn't work, they should try to find the actual PID number.

So looks like the problem for me is that the PID for my bird process keeps changing, I can never set the priority because it won't get the right PID. Does anyone know a fix for this?

I went into "Activity Monitor," and there, after using the killall bird command with no success, I copied the PID of that process directly from Activity Monitor. The Terminal showed me a completely different PID than Activity Monitor. As I mentioned, I have almost no experience with such things, but in my case, using the PID from Activity Monitor worked.

However, after this whole process of trial and error, I'm so frustrated with iCloud and this situation that I just switched to Dropbox. It's worse than iCloud in some aspects, but hey, at least it lets me upload something without a fight (just kidding, sort of).

Syncing with iCloud sounds painful! If you have an account, I'd suggest trying Microsoft OneDrive client on macOS. I used it for a couple years to sync a git repo between a Windows machine, and never hit any git corruption. (The worst problem was if OneDrive client crashed and was restarting, then any commands reading from onedrive dir would fail with a cryptic message.)


Fix array to string conversion in REST::sendRequest()

Minimum viable test for an array to string conversion error in REST::sendRequest().
Before:
$ vendor/bin/phpunit
PHPUnit 4.8.23 by Sebastian Bergmann and contributors.

........................E.............

Time: 178 ms, Memory: 8.00Mb

There was 1 error:

1) Google\Gcloud\Tests\Storage\Connection\RESTTest::testGetObjectReturnsResponseArray
Array to string conversion

/Users/mike/Code/mcrumm/gcloud-php/src/Storage/Connection/REST.php:263
/Users/mike/Code/mcrumm/gcloud-php/src/Storage/Connection/REST.php:152
/Users/mike/Code/mcrumm/gcloud-php/tests/Storage/Connection/RESTTest.php:39

FAILURES!
Tests: 38, Assertions: 40, Errors: 1.

FWIW, I found this repo last night while looking for a flysystem adapter for GCP.  Not finding one that I liked, I set out to write one using gcloud-php as its base.  This was the last of the issues I encountered while working on the initial implementation.

Thanks again @mcrumm! Happy to merge this and excited to hear about your plans to use the library. :)

@dwsupplee I'm not sure what HHVM is complaining about, here.  Any thoughts?

Yes, I believe it has to do with this line: https://github.com/GoogleCloudPlatform/gcloud-php/blob/master/src/Storage/Connection/REST.php#L228
Changing it to __DIR__ . '/ServiceDefinition/storage-v1.json' should do the trick. I will work quickly on getting my latest work up, it's got fixes for items like this as well as some restructuring to make tests easier to write.

Yep, that got hhvm to pass.  I can roll that change back if it will conflict with your other work, and rebase when the time is right.

It's no problem, this is good to merge. Thanks again!


Extending model to hyperspectral images?

I'd like to try to use this approach for hyperspectral images with more than 3 channels.  I'm having a hard time finding the point in the code where the input images are actually loaded.  Could someone please point me in the right direction?

https://github.com/Peterande/D-FINE/blob/master/src/data/dataset/

FYI: https://github.com/Peterande/D-FINE/issues/30


Creating a new book tells it was edited by "Ghost"

Hey,
after creating a new book (just now), the editor opens the very first page, the readme, and tells me, that someone named "Ghost" edited this file 9h ago:

My git-name is not ghost, and the book is now around 3min old, so this information is pretty much wrong and irritating. Directly after creating a book, all freshly created items should not show, that they were created by anything.
Additionally (a second bug, but refers to this): The image in the right corner is broken.
When I'm looking at the readme, and clicking the broken image, the page starts loading, but never finishes. Clicking the readme file again doesn't change this, selecting any other file works. If I click the broken image from another file, not the readme, I'll switch to the readme, even though this doesn't make sense.
Version is 6.0.0-alpha2

I believe the "Ghost" simply represents the template author but not you.


Explore using ansible playbook for helper node (bastion) setup

Updated ansible playbook for helper node setup is available here - https://github.com/RedHatOfficial/ocp4-helpernode
Explore if we can leverage the same ansible playbook and use TF for handling the infra pieces (VM creation, booting etc)

The ocp4-hellpernode script can be used for various services configurations such as DNS, DHCP, HAProxy, HTTP.
When I try to use the script I see some issues...

The main playbook at the end is using nmcli commands for setting DNS details on default interface. Since PowerVC VM does not required NetworkManager for assigning IP to the helper node, this will not work as the IP is not getting assigned after reboot on PowerVC.

This is fixed by https://github.com/ppc64le/ocp4_upi_powervm/pull/15


Add go-task/task

https://github.com/go-task/task
Thanks for your great software. I've added a simple task runner written in Go, called Task, so could you review it?
Anyone who need it ASAP, use https://gist.github.com/lambdalisue/f6c02275d2be63b82abe7921a5a6b71e

Done 👍


fix(msgraph): add missing docs for config options

Adds documentation for the recently introduced
config options

userExpand
userGroupMemberSearch
groupSearch

Closes: #9819
Signed-off-by: Patrick Jungermann<EMAIL_ADDRESS>Hey, I just made a Pull Request!

:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

No Changeset found
I believe no release/version bump needed for the README change. But let me know if I'm wrong about that.

just realized that userExpand introduced recently was never read from the config and passed to the MicrosoftGraphProviderConfig.
I will fix this as part of the work for issue #9795.

I've removed userExpand as it is not functioning anyways. So it would more confusing to expose it at the docs now.

Readme actually needs a changeset! It gets shipped with the package to npm

@freben alright! Let me fix this quickly

@freben maybe you can give it another look. Thanks!


ActionController::UnknownFormat in XXXController#export

The first time I try to do an export after start rails server, I get the error below.  Works fine on subsequent requests.


Improved Docker image

I would like to open a PR and improve the Dockerfile.
Currently there are quire a few issues and problems. I would like to improve it.

NO Git clone during build
Faster image build, seconds instead of hours.
Reduced Size to about 200-300MB
hub.docker compatible build.
There will be latest on each commit, Version TAG on each git TAG on master. And a stable build on each versioned tag.

Before I dig into it I would like to know if you are OK with those major changes to the Dockerfile.

Related to this, #951 .


Button spinner is barely visible on primary buttons

Select one ...  (check one with "x")
[ ] bug
[ ] feature request
[x] enhancement

Expected behavior

I used the Login component and enable the spinner in the button using clrLoading. The spinner should be visible enough in a darker button. The button I used is the default Login button of the Login component.
Actual behavior

Button spinner is barely visible in a primary button

Reproduction of behavior

Include a link to the reproduction scenario you created by forking one of the Clarity Plunker Templates:

Environment details

Angular version: 4.3

Clarity version: 0.10.3

OS and version:

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Hi @whizkidwwe1217
Thanks for the feedback. We're currently working on issue #1139 which appears to be a duplicate of this issue.
Please subscribe to that issue. Thanks!


[Feature (that we need)] Add a stick that links 2 specific portals.

I am TIRED of it making new crappy portals that don't link up. Add a command stick that allows one portal [block] (when right clicked with the/a stick) to link with another portal [block] (when right clicked again with the/a stick).
 I have gone through actual pain getting my portals to link up (they aren't linked still)
If you close this and don't add something like this, I don't think anyone would seriously appreciate this mod that much.
(This post is now in the 2+ total comments list)

seeing as no one else has said anything, I really don't think that this is needed that much

Please though, it's so annoying when connecting portals (or at least for me).

Oh my fking (sorry for the swear, I can't handle this anymore) god:

JUST FKING LINK!

So, you see what I mean? [If your that type of person who literally scans comments and posts too fast to see key details and don't know what I mean please USE YOUR EYES to look at the above screenshot :)]

@StupidRepo In your screenshot, you are trying to link a 1x1 with 10x8. 1x1 can link to 10x10 not 10x8

Use this datapack https://github.com/Pinaz993/ImmersiveTransit

Oh I am SOOO dumb.

I would really like this feature because portal linking can be a pain when trying to do it across dimensions, or when trying to link two portals that are extremely far away


startService(intent)

Hi,
I've been given this code example :
Android.Content.Intent intent = new Android.Content.Intent("fr.namespace.intent.action.stop.barcode.service");
intent.SetPackage("fr.namespace.service.device");
startService(intent)

but i'm not sure the startService(intent) is possible with your package. Did I miss something ?
Thanks

No, sorry it doesn't do startService... just startActivity and sendBroadcast.  No particular reason, just the original plugins I based this on didn't have the feature and you are the first person to ask.  I'll mark this as an enhancement.

Cool, thanks for the reply :)

I was doing some refactoring in the latest version so added startService also.
You should be able to do something like the following with the latest version:
window.plugins.intentShim.startService(
{
action: "fr.namespace.intent.action.stop.barcode.service",
package: "fr.namespace.service.device"
},
function()
{
//  Success
},
function()
{
//  Error
}
);
In my testing though, I specified the entire component: https://github.com/darryncampbell/plugin-intent-api-exerciser/blob/master/www/js/index.js#L264


Updated contributing and readme file

I have updated the readme and styles.md file. Please go through this
@Sailesh-Singh can you verify spelling and grammatical issues
@rex9840 please look into if I should add something here.
Thanks.

as sailesh has pointed everything just make the changes as sailesh suggested


Problem with ROS distribution

Hi everybody, i'm new to the ROS and need to use this package. i wonder if i can use it on the newest ROS Kinetic distribution?  also i'm running my ubuntu on virtual machine,  would that cause any problem when connecting kinect? thanks

I'm running it successfully on two different machines running Kinetic so yes it will work. Not sure about the VM thing but usually that works.

I think there could be issues with USB 3 and VMs. If I remember correctly some people had problems with it, please look at the issues at the libfreenect2 GitHub repository for more details.


adding library error

after add the dependency to my project y got this error:
More than one file was found with OS independent path 'META-INF/androidx.customview_customview.version'

problem solved by migrating to androidx


Carried Items/Npcs dont collide with thinareas

Throwing a carried item or npc on thinarea will result in droping the item thru the thinfloor.

i still think this is good, like its nice to be able to drop stuff down the shafts

Fixed

tested with items. it worked.


Body defined with 1 singular value cause fail

Is there a way to define JSON body with only single key using Body? It works fine when body has more then 1 key, for example:
import uvicorn
from fastapi import Body, FastAPI

app = FastAPI()

@app.post("/good")
async def good(name: str = Body(...), surname: str = Body(...)):
    return {"name": name, "surname": surname}

uvicorn.run(app, host='<IP_ADDRESS>', port=8000)

$ curl -X POST "http://<IP_ADDRESS>:8000/good" -d '{"name": "John", "surname": "Doe"}'
{"name":"John","surname":"Doe"}

But I couldn't make it work for body with only one key:
@app.post("/bad")
async def bad(name: str = Body(...)):
    return {"name": name}

$ curl -X POST "http://<IP_ADDRESS>:8000/bad" -d '{"name": "John"}'
{"detail":[{"loc":["body"],"msg":"str type expected","type":"type_error.str"}]}

Am I missing something?

You are.
Try this:
$ curl -X POST "http://<IP_ADDRESS>:8000/bad" -d '{"John"}'

@Kludex it doesn't work either. I have found an answer here:
@app.post("/bad")
async def bad(name: str = Body(..., embed=True)):
    return {"name": name}

$ curl -X POST "http://<IP_ADDRESS>:8000/bad" -d '{"name": "John"}'
{"name":"John"}

Sorry, I meant:
$ curl -X POST "http://<IP_ADDRESS>:8000/bad" -d '"John"'

:sweat_smile:

Thanks for the help here @Kludex ! 👏  🙇
Thanks for reporting back and closing the issue @drnextgis  👍

Sorry for the long delay! 🙈  I wanted to personally address each issue/PR and they piled up through time, but now I'm checking each one in order.


Add Terraform support for watsonx.governance service

[x] Upgrade GitHub Action golangci/golangci-lint-action to v2.297.0 to avoid pipeline failures due to warnings.
[x] Add new code to support Watson Governance
[x] Add Global Catalog ID for Sysdig, LogDNA and SCC Workload Protection
[x] Tests

@hiltol LGTM! 🚀


[DRAFT][CWS] one go-routine per event consumer

What does this PR do?
This PR start go-routine per event consumer. The global go-routine handles first the event for the event handler and then for each consumer

call the copy function
push the output of the copy function to a chan
the consumer consumes the chan and call the handler

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided. Except if the qa/skip-qa label, with required either qa/done or qa/no-code-change labels, are applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

I don't think the import changes reported by https://github.com/DataDog/datadog-agent/pull/22774#issuecomment-2096429369 are acceptable, not sure I understand why those are imported everywhere now on the other hand

Should this be in the open state?

/merge


Transformation Error

getting this error intermittently -
E/MediaCodec: Codec reported err 0xfffffff4/NO_MEMORY, actionCode 0, while in state 5/STARTING
D/MediaCodec: flushMediametrics
E/TransformationJob: Transformation job error
com.linkedin.android.litr.exception.TrackTranscoderException: Internal codec error occurred.Media transformation failed for job id: null
Diagnostic info: android.media.MediaCodec.error_1100
Any ideas how I can resolve, or what may be causing it?

Apologies for the late response.
Looks like the error is coming from Android's MediaCodec layer, which is beyond LiTr's control. Since codec is complaining about the lack of memory, I would check what resolution/bitrate you are trying to encode with and which device this is happening on. And if LiTr is the only one using MediaCodec at the time.


tests: nodejs: flaky attach-maps

See 2 test failures here: https://github.com/Granulate/gprofiler/actions/runs/3243777862/jobs/5320303422. They are flaky.
In both cases, the error is:
[2022-10-13 17:29:46,323] WARNING: gprofiler.profilers.node: Could not create debug symbols for pid 22987. Reason: HTTPConnectionPool(host='<IP_ADDRESS>', port=9229): Max retries exceeded with url: /json/list (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1691fd6370>: Failed to establish a new connection: [Errno 111] Connection refused'))

At least in one of them, I see this:
--------------------------- Captured stdout teardown ---------------------------
stdout:
stderr: Debugger listening on ws://<IP_ADDRESS>:9229/19543cbe-cfe6-44e3-9a74-991b667f88e5
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.

which tells us that the debug port was indeed opened and we did manage to connect to it... So this failure isn't obvious to me. Is it because we wait too little time for the debugger to start?

I think this can be closed right @Jongy ?

Yes, what I described here is resolved by https://github.com/Granulate/gprofiler/pull/561/files.


Question: gtop display problem

Environment

OS: CentOS
Node version: ($ node --version)
gtop version: ($ npm info gtop version)

Description

A description of the issue
what should I do with this problem?

use
LANG=en_US.utf8 TERM=xterm-256color gtop

as described in the README.


add canonical URL placeholder, need data

🎉 Thanks for taking the time to contribute to 🌲Evergreen! 🎉
It is highly appreciated that you take the time to help improve Evergreen.
We appreciate it if you would take the time to document your Pull Request.
Sadly, if we don't receive enough information, or the Pull Request doesn't
align well with our roadmap, we might respectfully
thank you for your time, and close the issue.
Respect earns Respect 👏
Please respect our Code of Conduct, in short:

Using welcoming and inclusive language.
Being respectful of differing viewpoints and experiences.
Gracefully accepting constructive criticism.
Focusing on what is best for the community.
Showing empathy towards other community members.

Hey @esteladiaz, I'm going to close this for now, but feel free to reopen when this PR is ready.


[Question] Nuget package deployment cycle?

When a new AWS feature was released, there was a cpp sdk release. However, this sdk does not come with every release on Nuget.org. I want to know the distribution cycle.

Unless there are some internal problems, currently Nuget packages release have about 10 hours delay than code release.

https://www.nuget.org/packages?q=awssdkcpp
as you can see, there is about more than 2 weeks delay currently.

Thanks for reporting that. We will push it out shortly.

The publish of Nuget package was delayed by some inner problems. And you can see the latest update on (www.nuget.org)[https://www.nuget.org/packages?q=awssdkcpp] now.


bartCause parameter and interpretation of results

First of all, thanks for this great tool!
It would help, if I could see the bartCause call including the parameter depending on my choices in the UI.
Furthermore, I need help more help to interpret the results. For example, I have an ATE of 0.79 but the interpretation box holds the text "For participants in this study, receiving the treatment led to an increase of 0.59 units compared to what would have happened if participants did not receive the treatment." It seems that 0.59 is the mean. The mean of what? And why is it not the ATE that explains for this difference?
Many thanks in advance.
Klaus

Hi Klaus - Apologies for the delayed response. I'm tagging @gperrett so he can address

Hi Klaus thank you for your feedback! I have made changes to the UI to make it clear which variables are included in the model. The interpretation section has also been updated. As for the ATE, I'm not sure I understand your comment. Would you like to connect over zoom and we can discuss?


Fixed #35426 -- Made querysets param required for GenericPrefetch

Trac ticket number

ticket-35426
Branch description
Provide a concise overview of the issue or rationale behind the proposed changes.
Checklist

[x] This PR targets the main branch.
[x] The commit message is written in past tense, mentions the ticket number, and ends with a period.
[x] I have checked the "Has patch" ticket flag in the Trac system.
[ ] I have added or updated relevant tests.
[x] I have added or updated relevant docs, including release notes if applicable.
[ ] I have attached screenshots in both light and dark modes for any UI changes.

Thank you for this @sobolevn!
This needs a test and a release note for 5.0.5
Test could be something like...
diff --git a/tests/contenttypes_tests/test_models.py b/tests/contenttypes_tests/test_models.py
index 88f715ceff..799f1cc58c 100644
--- a/tests/contenttypes_tests/test_models.py
+++ b/tests/contenttypes_tests/test_models.py
@@ -331,6 +331,14 @@ class ContentTypesMultidbTests(TestCase):

 class GenericPrefetchTests(TestCase):
+    def test_querysets_required(self):
+        msg = (
+            "GenericPrefetch.__init__() missing 1 required "
+            "positional argument: 'querysets'"
+        )
+        with self.assertRaisesMessage(TypeError, msg):
+            GenericPrefetch("question")
+
     def test_values_queryset(self):
         msg = "Prefetch querysets cannot use raw(), values(), and values_list()."
         with self.assertRaisesMessage(ValueError, msg):

maybe 🤔

Done! Thanks for the quick review :)


autoIPLogin is not functioning

Unsure if it was because of a SpongeForge api change or what. But it is not working at all. Tried various versions including the latest from your Jenkins as well
SF Ver: spongeforge-1.12.2-2825-7.1.6.jar
FlexableLogin Version: Latest
Players do not flexiblelogin.no_auto_login permission so no idea what the issue is.

nvm found the issue, was a conflicting plugin


Support mock http routes with more than one / (e.g. /welcome/bob)

I've been trying to use Davisjs.com (Simple, degradable JavaScript routing using HTML5 pushState) with a socketstream app. I noticed that trying to reload the app with a url like /welcome/bob (as from the Davisjs.com example) responded with the Connect error.

Hi Paul
This is fixed in 0.2.4. Please reopen if you still have problems.
Owen


Picovoice Documentation Issue (/docs/quick-start/picovoice-python/)

What is the URL of the doc?
https://picovoice.ai/docs/quick-start/picovoice-python/
What's the nature of the issue? (e.g. steps do not work, typos/grammar/spelling, etc., out of date)
import picovoce should be import picovoice

Thanks for reporting this. It's fixed now


Typing a word, followed by a space crashes the program

How to reproduce:

Open kalk
Type test  (notice the trailing space)
Press enter

The error:
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', kalk/src/lexer.rs:80:18
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1]    18396 abort (core dumped)  ./kalk_cli

Version: 0.1.10

Oh yeah, I'm getting this too apparently. Should be fixed now, thanks a lot!


SDK needs to be updated to handle Horizon 0.17.0 breaking changes

In Horizon release 0.17.0 (released 26 Feb 2019), several breaking changes were made (changelog), changing or removing fields that had previously been marked as deprecated.

Breaking changes
Fields removed in this version:
    Root > protocol_version, use current_protocol_version and core_supported_protocol_version.
    Ledger > transaction_count, use successful_transaction_count and failed_transaction_count.
    Signer > public_key, use key.
This Horizon version no longer supports Core <10.0.0. Horizon can still ingest version <10 ledgers.
Error event name during streaming changed to error to follow W3C specification.

Here is the relevant Horizon commit, showing the fields that were changed: https://github.com/stellar/go/commit/575707ed074a5672438b0f2b788f8b38584ef18d
This is an urgent issue! Any code using this SDK to access a Horizon 0.17.0 server (which includes the SDF public horizon instance at https://horizon.stellar.org/) will be broken until the SDK is updated to match the new response fields.

See #45

@ndizazzo Thanks for moving on this so quickly. I'd like to invite you (and any other interested maintainers here) to consider joining the stellar.public #sdk_maintainers channel on keybase. It's intended an informal way for us to stay in touch and coordinate releases between upstream Horizon and the SDKs.


./deploy_app.sh continues on error

Looks like the quickstart scripts are not using set -e, causing errors to be ignored and scripts to progress.
Consider using http://redsymbol.net/articles/unofficial-bash-strict-mode/
Here's a failure, but the script went on executing other stuff, which may cause the whole thing to not to work or unexpected/undebuggable outcomes:
$ ./deploy_app.sh
gcloud app create --region=us-central
You are creating an app for project [ahmetb-samples-playground].
WARNING: Creating an App Engine application for a project is irreversible and the region
cannot be changed. More information about regions is at
https://cloud.google.com/appengine/docs/locations.

ERROR: (gcloud.app.create) The project [ahmetb-samples-playground] already contains an App Engine application. You can deploy your application using `gcloud app deploy`.

Deploying ../app/app_template.yaml...
gcloud -q app deploy ../app/app_template.yaml
Services to deploy:

descriptor:      [/Users/ahmetb/workspace/junk/endpoints-quickstart/app/app_template.yaml_deploy.yaml]
source:          [/Users/ahmetb/workspace/junk/endpoints-quickstart/app]
target project:  [ahmetb-samples-playground]
target service:  [default]
target version:  [20170905t130157]
target url:      [https://ahmetb-samples-playground.appspot.com]

If this is your first deployment, this may take a while...done.

Beginning deployment of service [default]...
Building and pushing image for service [default]
Started cloud build [67bf479c-79ab-4608-b3f0-055fe399f322].
To see logs in the Cloud Console: https://console.cloud.google.com/gcr/builds/67bf479c-79ab-4608-b3f0-055fe399f322

I do use set -euo pipefail, it's set in util.sh, which is sourced by each script in scripts/. You do raise a good question, as to whether this should be explicit at the beginning of every script.

It's good practice to have them at every file, I'm not sure if "source" actually imports the bash mode flags.

I've added -set euo pipefail to each script.
https://github.com/GoogleCloudPlatform/endpoints-quickstart/commit/18e769cdf96fdb7c63e79b3637f81bb5abdc551a


S3 bucket - not found

First up, my deepest thanks for the great examples and useful modules you guys have laid out!
I'm trying to use this module to bootstrap an S3-backed cloudfront distribution. When I'm applying this module, though, I get an error trying to create the associated origin S3 bucket:
module.cdn.data.aws_s3_bucket.selected: data.aws_s3_bucket.selected: Failed getting S3 bucket: NotFound: Not Found

If I understand the module's code correctly, the module should be creating the S3 bucket if no origin_bucket parameter is provided. This is my basic configuration:
module "cdn" {
  source           = "git::https://github.com/cloudposse/terraform-aws-cloudfront-s3-cdn.git?ref=master"
  namespace        = "${var.namespace}"
  stage            = "${var.environment}"
  name             = "${var.name}"
  aliases          = ["app.${var.domain_name}"]
  parent_zone_name = "${var.domain_name}"
}

So with my configuration, shouldn't this module be creating the S3 bucket itself and returning its name/arn?

Out of curiousity, can you try a previous release of this module. We recently made some big changes and I am concerned that broke it.

(yes, it should create the bucket)

This was last tested using the example code in the example folder and it created. But it is a good idea to test the previous version!
Sometimes, you may notice that there are creation delays, and that running the terraform apply over the top of a previous apply may also fix it.

Yep, 0.1.7 works (creating bucket), 0.2.0 bails with a bucket not found

Can confirm the same happened here, running Terraform v0.11.7.

@danlamanna we'll try to find some more time to get back to this.
Pull requests welcome =)

I can confirm the same issue; strangely only happens when adding 2 blocks of module "cdn" { ... and module "cdn2" { with different names respectively, the second CDN module fails with S3 bucket not found.

@jschaul oh wierd! Thanks for sharing.
@Jamie-BitFlight see this?

Any idea what a work around could be? No Found error as well here.
I have no CDN in the account, fresh account. This module wont deploy as is, only building a single CDN, I do have AWS provider set to us-west-2, could that be it?
namespace                = "${var.dept}"
stage                    = "${var.env}"
name                     = "${var.dept}-${var.app}-cdn"
compress                 = "true"
forward_cookies          = "all"
use_regional_s3_endpoint = "true"
origin_force_destroy     = "true"
allowed_methods          = ["GET", "HEAD", "OPTIONS"]
cors_allowed_headers     = [""]
cors_allowed_methods     = ["GET", "HEAD"]
cors_allowed_origins     = [""]
cors_expose_headers      = ["ETag"]

Ok! We definitely need to get this fixed. For now, can you use an earlier release of the module?

Addressing this now

@garzparz what region is this in?

Can someone please see if my new branch regional_support resolves your issues?
module "cdn" {
  source           = "git::https://github.com/cloudposse/terraform-aws-cloudfront-s3-cdn.git?ref=regional_support"
  namespace        = "${var.namespace}"
  stage            = "${var.environment}"
  name             = "${var.name}"
  aliases          = ["app.${var.domain_name}"]
  parent_zone_name = "${var.domain_name}"
}

@Martaver can  you try the new branch too?

@Jamie-BitFlight
I tested the master branch yesterday and it worked (in us-west-2).
So I think it maybe depends on the region, or some race conditions happen.
Does this exists in all regions?
variable "static_s3_bucket" {
  description = <<DOC
aws-cli is a bucket owned by amazon that will perminantly exist
It allows for the data source to be called during the destruction process without failing.
It doesn't get used for anything else, this is a safe workaround for handling the fact that
if a data source like the one `aws_s3_bucket.selected` gets an error, you can't continue the terraform process
which also includes the 'destroy' command, where is doesn't even need this data source!
Don't change this bucket name, its a variable so that we can provide this description.
And this works around a problem that is an edge case.
DOC

  default = "aws-cli"
}

I tested your new module, same issue. Deployed to an account created by Landing Zone. So we have a master aws account, that has two AWS organizations accounts under it. I have deployed your module successfully under one AWS org account, but when using a second AWS org account from same master, I get the Not Found error. Not sure if my env could be contributing.
Is there some quick hack I could make to my fork to get past this? Function logic in terraform is a little tricky in your module.

Would you mind giving me a snippet of how you are using the module? So I can test it using a similar set up?

I'm creating my own origen bucket now and will try passing that in, my config below was assuming the S3 bucket would be created by the module.
module "cdn" {
source               = "git::https://github.com/cloudposse/terraform-aws-cloudfront-s3-cdn.git?ref=regional_support"
namespace            = "abc"
stage                = "dev"
name                 = "aaa-bbb-cdn"
compress             = "true"
forward_cookies      = "all"
allowed_methods      = ["GET", "HEAD", "OPTIONS"]
cors_allowed_headers = [""]
cors_allowed_methods = ["GET", "HEAD"]
cors_allowed_origins = [""]
cors_expose_headers  = ["ETag"]
tags = {
terraform   = "true"
env         = "dev"
dept        = "aaa"
app         = "bbb"
cost-center = "0"
}
}

Quick update, I had a terraform state file with no owner for this new module. Deleted, removed entry form lock table for new module and rebuilt, the original error I had reported is now gone. I can build the cdn letting it create S3 buckets.

@Martaver @mike-zipit @jschaul @danlamanna does @Jamie-BitFlight's PR fix your issues?

I'm experiencing the same problem with both master and the branch. I'm using the syntax exactly as in the example. I've tried applying on top of an apply with the same problem. It's in us-west-2, in a sub-account (not master account)


Allow space application supporter to access specific task endpoints.

Issue
Allow space application supporter to access specific task endpoints.
Context
We are introducing a new role and we want to make sure it has the right access.
Expected result
A space application support should be able access the following endpoints:
GET /v3/tasks
POST /v3/tasks/:guid/actions/cancel
GET /v3/apps/:guid/tasks
Acceptance
A space application supporter would see the same info as a space developer assigned to the same space for these and only these task endpoints.
Documentation
When I browse to any of these endpoints on v3 docs I can see the Space Application Supporter role in the list of permitted roles with an indication that this role is not fully implemented and the permissions will be changing.

Starting this

PR #2376 is pending.


CTD data review

Comments/issues on data review.


Problem with PyQt threads (Thread emit in two threads)

Nuitka: <IP_ADDRESS>
Python: 3.7.2
Windows 10
If you create a thread in a thread, and then use signal.emit and try to emit it from the first thread, nothing will come out. Before building through Nuitka (with --plugin-enable=qt-plugins and --follow-imports), everything works fine.
Example:
from PyQt5 import QtCore
import sys
from PyQt5.QtWidgets import QApplication, QWidget
from PyQt5.QtGui import QIcon

class SecondThread(QtCore.QThread):
    signal = QtCore.pyqtSignal(dict)
    def __init__(self):
        super(SecondThread, self).__init__()

    def run(self):
        self.signal.emit({"text":"example"})

class FirstThread(QtCore.QThread):
    signal = QtCore.pyqtSignal(dict)

    def __init__(self):
        super(FirstThread, self).__init__()

    def run(self):
        self.t = SecondThread()
        self.t.signal.connect(self.example_connector)
        self.t.start()

    def example_connector(self, d):
        self.signal.emit(d)

class Test():
    def __init__(self):
        self.t = FirstThread()
        self.t.signal.connect(self.main_example_connector)
        self.t.start()

    def main_example_connector(self, a):
        print(a)

class Example(QWidget):
    def __init__(self):
        super().__init__()
        self.initUI()
    def run(self):
        self.test = Test()

    def initUI(self):
        self.setWindowTitle('Test')
        self.show()

if __name__ == '__main__':
    app = QApplication(sys.argv)
    ex = Example()
    ex.run()
    sys.exit(app.exec_())

:thinking: I am hitting this bug too. I attached the traced execution.
nuitka.log

Sorry to insist, I would love to hear someone has an idea how to tackle this one as it is a blocker for those who are using PyQt. :crossed_fingers:

This is still an issue in 2021

With @pyqtSlot these things work these days.


Newbie need some help to bind key to shift+key

Hello, excuse me for being a complete noob I tried to understand somehow the Wiki to bind this but can't find the good rule so if someone can help please. I have a german keyboard on a Macbook Air and in brief I would like to change ß by ? but also # by ' . So from what I understood in the key definitions and the codes :

To have ß I press key name "hyphens" or "capslock+hyphens"
To have ? I press "shift+hyphens"
To have # I press key name "backslash" or "capslock+backslash"
To have ' I press "shift+backslash"

I was thinking if someone can create a rule to change :

"hyphens" and "capslock+hyphens" to "shift+hyphens" therefore "shift+hyphens" to "hyphens"
"backslash" and "capslock+backslash" to "shift+backslash" therefore "shift+backslash" to "backslash"

Thanks a lot !

Never mind ! I imported the 2 rules already created "Exchange hyphen and underscore" and "Exchange underscore and backslash" in Miscellaneous section


Monitoring: fix early gauge recording

Fixes https://github.com/istio/istio/issues/54191
Apparently in OTEL, if you record any values before you call SetMeterProvider (for us, via RegisterPrometheusExporter) they are lost. The metric is recorded but not the value.
This is particular troublesome for a gauge, where I may set a value once. Gauges with no values end up not showing up at all.
The following gauges are impacted:
pilot_info
istiod_managed_clusters
istiod_managed_clusters
citadel_server_root_cert_expiry_timestamp

This PR doesn't fix the fundamental issue -- I am not sure how to do that -- but does make it so we don't record any current metrics incorrectly. I had considered adding a runtime assertion of this (and did use it for testing) but I was worried about the runtime cost for something marginal so removed it.

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
35d3659dce0a1d40698675cbef4ddcaf72805a2e
link
true
/test gencheck

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
35d3659dce0a1d40698675cbef4ddcaf72805a2e
link
true
/test gencheck

lint_istio
35d3659dce0a1d40698675cbef4ddcaf72805a2e
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
a0adda9630a38e703eb9693039c9a4b664a07a34
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@howardjohn need backport to 1.23? the orginal issue report on 1.23.

sure
/cherrypick release-1.23
On Thu, Dec 5, 2024, 5:10 PM zirain @.***> wrote:

@howardjohn https://github.com/howardjohn need backport to 1.23? the
orginal issue report on 1.23.
—
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/54193#issuecomment-2521866616, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXJAAO5PZZX4VWPFDCD2ED2R5AVCNFSM6AAAAABTC4QMVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRRHA3DMNRRGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

@howardjohn: once the present PR merges, I will cherry-pick it on top of release-1.23 in a new PR and assign it to you.

In response to this:

sure
/cherrypick release-1.23
On Thu, Dec 5, 2024, 5:10 PM zirain @.***> wrote:

@howardjohn https://github.com/howardjohn need backport to 1.23? the
orginal issue report on 1.23.
—
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/54193#issuecomment-2521866616, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXJAAO5PZZX4VWPFDCD2ED2R5AVCNFSM6AAAAABTC4QMVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRRHA3DMNRRGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

In response to a cherrypick label: new pull request created: #54251

@howardjohn: new pull request created: #54252

In response to this:

sure
/cherrypick release-1.23
On Thu, Dec 5, 2024, 5:10 PM zirain @.***> wrote:

@howardjohn https://github.com/howardjohn need backport to 1.23? the
orginal issue report on 1.23.
—
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/54193#issuecomment-2521866616, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXJAAO5PZZX4VWPFDCD2ED2R5AVCNFSM6AAAAABTC4QMVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRRHA3DMNRRGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.


Screen ruler banner movable in multi-screen

Description of the new feature / enhancement
Giving the option of moving the banner to another screen
Scenario when this would be used?
In cases where several screens are connected to the system
Supporting information
No response

/dup https://github.com/microsoft/PowerToys/issues/23800


[WIP] Improving the phase-two performance of TCC mode

Ⅰ. Describe what this PR did
In TCC mode, the phase-two rollback can be asynchronous.
Ⅱ. Does this pull request fix one issue?

fixes #3749
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
正常case: 该PR版本的client 调该PR版本的server，预期：TCC异步回滚功能正常执行。
非正常case: 该PR版本的client 调低版本server，预期：异步回滚是不会生效的，因为server端没有该功能。
非正常case: 低版本client 调该PR版本的server，预期：与低版本client 调低版本server 效果一样。server端保存的commitType为各分支的默认值。（AT=SyncRollback，TCC= SyncRollback，XA= SyncRollback，SAGA= NoRollback）。
Ⅴ. Special notes for reviews

Codecov Report

Merging #3948 (e94efbe) into develop (30c2c75) will decrease coverage by 0.21%.
The diff coverage is 18.85%.

@@              Coverage Diff              @@
##             develop    #3948      +/-   ##
=============================================
- Coverage      40.21%   40.00%   -0.22%
- Complexity      3081     3084       +3
=============================================
  Files            690      693       +3
  Lines          23362    23480     +118
  Branches        2893     2860      -33
=============================================
- Hits            9396     9394       -2
- Misses         13092    13186      +94
- Partials         874      900      +26

Impacted Files
Coverage Δ

...ommon/src/main/java/io/seata/common/Constants.java
100.00% <ø> (ø)

...ava/io/seata/core/constants/ConfigurationKeys.java
0.00% <ø> (ø)

...a/io/seata/core/model/ResourceManagerOutbound.java
0.00% <0.00%> (ø)

.../java/io/seata/core/store/BranchTransactionDO.java
0.00% <0.00%> (ø)

...ta/core/store/db/sql/log/AbstractLogStoreSqls.java
100.00% <ø> (ø)

...seata/core/store/db/sql/log/MysqlLogStoreSqls.java
88.88% <ø> (ø)

...eata/core/store/db/sql/log/OracleLogStoreSqls.java
88.88% <ø> (ø)

.../core/store/db/sql/log/PostgresqlLogStoreSqls.java
88.88% <ø> (ø)

...java/io/seata/server/coordinator/AbstractCore.java
0.00% <0.00%> (ø)

...o/seata/server/coordinator/DefaultCoordinator.java
0.00% <0.00%> (ø)

... and 55 more

 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.0 out of 2 committers have signed the CLA.:x: PancrasL:x: wangliang181230You have signed the CLA already but the status is still pending? Let us recheck it.

 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.1 out of 2 committers have signed the CLA.:white_check_mark: wangliang181230:x: PancrasLYou have signed the CLA already but the status is still pending? Let us recheck it.

Due to code conflicts and age, if you are still interested in participating in the community, please resubmit this pr to the 2.x branch after resolving the conflict.
由于代码冲突以及年代久远，如果你还有兴趣参与到社区，请解决完冲突后重新请提交这份pr至2.x分支中


replace vim.fn in sumneko config

vim.fn was deprecated. This uses vim.env which seems to be working in my machine

CONFIG.md is auto-generated, so you'll need to edit sumeko.lua.
Also, vim.fn was not deprecated, just vim.fn calls which have an equivalent vim.api call.

oh, I see... I guess it's Ok to keep it, then
Thanks for clearing that out


Consider adding gnu make

I find Makefiles convenient when I have to verify a complex circuit in parts. Adding gnu make to the docker image would be a big help!

Commited and pushed to hub.docker.com


useLiveQuery with multi-entry index

I think this is a bug, but it may be user error. useLiveQuery doesn't seem to update the query when I add a new item to the collection.
As a repro, I forked the live query sandbox and changed the age to a multi-entry index (basically, I made age store a history of the birthdays instead of the current age).
If you load that sandbox and set the max age to 100, then add a person with an age of 21, the person will not show up in the friends list until you edit the max age to reboot the query.
If this isn't a bug, is there another way I can tell the live query to update when I add a value?

Thanks! It might well be a bug as I believe the code assumes indexed props are by value and records the array property instead of each entry when notifying changes. Must treat differently for multiEntry in observabilityMiddleware.

Wow, that was fast! Thanks for the fix.
Off topic, but I wanted to also say I'm super excited for dexie-cloud. :-)

I'm glad it was pretty straight forward to fix. Hope to release the fix on npm this weekend. Had the idea to get a refactoring done with that release but seems it has to wait for the next one. Glad to hear you're excited for Dexie Cloud. I'm also looking forward to releasing it.
Cheers!/D

This fix is in<EMAIL_ADDRESS>


KVStore lock for identity gets stuck

Environment

Cilium v1.5.7
Dedicated etcd
Recent upgrade of etcd

Symptoms
User cannot deploy a pod with particular labels into the cluster. Kubectl describe shows "Failed create pod sandbox errors" where the CNI failed to create the endpoint due to context deadline exceeded:
  Warning  FailedCreatePodSandBox  86s (x25 over 38m)  kubelet, node-1  (combined from similar events): Failed create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "7af5d7baf46f19244d1449b91e1aee645388015bfa4c961bb462f267f9c21612" network for pod "my-pod": NetworkPlugin cni failed to set up pod "my-pod" network: Unable to create endpoint: Put http:///var/run/cilium/cilium.sock/v1/endpoint/cilium-local:0: context deadline exceeded

Cilium status reports that etcd connectivity is fine:
$ cilium status
KVStore:                Ok         etcd: 3/3 connected, lease-ID=57486ccec4117090, lock lease-ID=57486ccec4117092, has-quorum=true: https://<IP_ADDRESS>:2379 - 3.3.10 (Leader); https://<IP_ADDRESS>:2379 - 3.3.10; https://<IP_ADDRESS>:2379 - 3.3.10
...

Cilium logs report endpoint creation failure:
level=warning msg="Creation of endpoint failed" containerID=6daec8e36e datapathPolicyRevision=0 desiredPolicyRevision=0 endpointID=2149 error="request cancelled while resolving identity" ipv4=<IP_ADDRESS> ipv6= k8sPodName=default/my-pod subsys=daemon

level=warning msg="Key allocation attempt failed" attempt=0 error="Error while locking path cilium/state/identities/v1/locks/k8s:app=my-pod...;: etcd client timeout exceeded" key="k8s:app=my-pod..." subsys=allocator

The endpoint also appears as waiting-for-identity in cilium endpoint list output on the node.
Background
In this case, etcd was recently upgraded, one instance at a time.
Restarting Cilium did not mitigate the issue. Restart was likely initiated around 11am and did not appear to fix the issue by 11:30am. Mitigation below was used around 12:00pm. This suggests that the lease interval was already exceeded but was not automatically released.
Mitigation
Same as here:
https://github.com/cilium/cilium/issues/7966#issuecomment-507227459
Example command execution:
sudo -E etcdctl get cilium --prefix | grep locks
cilium/state/identities/v1/locks/k8s:app=my-pod...;/20f46cceb84f35c2
...

After revoking all of the leases (final part of the lock path for entries above), Cilium agents were able to lock the path and allocate a new identity. Normal operation resumed and the pods were scheduled. No additional Cilium restart was necessary.
Prevention
Next step is to determine:

In which case could the lock end up getting stuck?
Why didn't the lock lease automatically expire to allow identity allocation eventually?

Related: #6667
Related: #7966

It doesn't seem to be Cilium related, will wait until we have more info.

For any future users that hit this, it would be useful to also gather and share information from cilium pods using the following command:
for pod in `kubectl get pod -l k8s-app=cilium -n kube-system --no-headers | awk '{ print $1 }'`; do echo ${pod}; kubectl exec -ti -n kube-system ${pod} -- cilium status | grep <LEASE_ID>; done

If you wish to share these logs privately, please reach out to the developers on Slack with reference to this issue.

I'm able to replicate this again. After running the requested for loop, I get the following:
KVStore:                Ok         etcd: 3/3 connected, lease-ID=2ba56cf9507b84cd, lock lease-ID=2ba56cf9507b84cf, has-quorum=true: https://<IP_ADDRESS>:2379 - 3.3.10 (Leader); https://<IP_ADDRESS>:2379 - 3.3.10; https://<IP_ADDRESS>:2379 - 3.3.10

I hit same issue, I follow the document adress below. https://github.com/cilium/hubble/blob/master/Documentation/metrics.md
Events:
  Type     Reason                  Age                  From               Message
  ----     ------                  ----                 ----               -------
  Normal   Scheduled               9m32s                default-scheduler  Successfully assigned kube-system/hubble-mz69h to worker3
  Warning  FailedCreatePodSandBox  7m29s                kubelet, worker3   Failed create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "3c82cfa8ee338c56dec1dea6d870e02d4f04ddc00b837371255d733a13a296f9" network for pod "hubble-mz69h": NetworkPlugin cni failed to set up pod "hubble-mz69h_kube-system" network: Unable to create endpoint: Put http:///var/run/cilium/cilium.sock/v1/endpoint/cilium-local:0: context deadline exceeded
  Warning  FailedCreatePodSandBox  5m30s                kubelet, worker3   Failed create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "589433128cfde76e1c308b8294e994591135da4c43e1e5c532dc08bca56c0091" network for pod "hubble-mz69h": NetworkPlugin cni failed to set up pod "hubble-mz69h_kube-system" network: Unable to create endpoint: Put http:///var/run/cilium/cilium.sock/v1/endpoint/cilium-local:0: context deadline exceeded
  Warning  FailedCreatePodSandBox  3m33s                kubelet, worker3   Failed create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "937ea4b3a5ccac256e8f55112e15430bd7a64d7ea46d91efb85816982881cc6a" network for pod "hubble-mz69h": NetworkPlugin cni failed to set up pod "hubble-mz69h_kube-system" network: Unable to create endpoint: Put http:///var/run/cilium/cilium.sock/v1/endpoint/cilium-local:0: context deadline exceeded
  Normal   SandboxChanged          89s (x4 over 7m29s)  kubelet, worker3   Pod sandbox changed, it will be killed and re-created.
  Warning  FailedCreatePodSandBox  89s                  kubelet, worker3   Failed create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "f0f6819f18a2fcd5bb7affa38d7934d13bd7789ca7cbbbda7110924651a0bc10" network for pod "hubble-mz69h": NetworkPlugin cni failed to set up pod "hubble-mz69h_kube-system" network: Unable to create endpoint: Put http:///var/run/cilium/cilium.sock/v1/endpoint/cilium-local:0: context deadline exceeded

@Aisuko the issue that you reported in the comment above is important to investigate, but it is not the same as the issue reported in the description.

@Aisuko can you please open new GitHub issue describing that problem? Thank you!

Thanks, I will do it.


Update report generator to implement classes

🗣 Description
Updated report_generator.py and pages.py to access metrics via the metrics classes previously implemented
💭 Motivation and context
This will simplify the code to limit the amount of variables that need to be passed throughout the different files in the code
🧪 Testing
We will test using the precheck tests and verify that all the reports generate correctly using the new method
✅ Pre-approval checklist

[ X] This PR has an informative and human-readable title.
[ X] Changes are limited to a single goal - eschew scope creep!
[ ] All future TODOs are captured in issues, which are referenced
in code comments.
[ ] All relevant type-of-change labels have been added.
[ ] I have read the CONTRIBUTING document.
[ ] These code changes follow cisagov code standards.
[ ] All relevant repo and/or project documentation has been updated
to reflect the changes in this PR.
[ ] Tests have been added and/or modified to cover the changes in this PR.
[ ] All new and existing tests pass.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

34 of 249 (13.65%)  changed or added relevant lines in 5 files are covered.
32 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-13.2%) to 16.883%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/pe_reports/data/db_query.py
3
4
75.0%

src/pe_reports/report_generator.py
15
91
16.48%

src/pe_reports/pages.py
11
149
7.38%

Files with Coverage Reduction
New Missed Lines
%

src/pe_reports/stylesheet.py
32
0%

Totals

Change from base Build<PHONE_NUMBER>:
-13.2%

Covered Lines:
138

Relevant Lines:
783

💛  - Coveralls

@dav3r, just wanted to check to see if you had any questions or comments

@DJensen94 I apologize for the delay - I have been occupied with other urgent priorities and have not had a chance to review these changes.  I will try to take a look at some point this week.

Thats great, thanks

@dav3r,
Checking in to get an idea of when you might have a time slot to take a look at this PR and other outstanding PR's?
Thanks

@dav3r I have quick question regarding all the typos in report_generator.py. Would you rather we fix all of them in one commit like I did here. OR would you rather us commit each of your changes individually using the "commit suggestion" button.

@dav3r I have quick question regarding all the typos in report_generator.py. Would you rather we fix all of them in one commit like I did here? OR should I have just used the "commit suggestion" button for each of them?

What you did is fine, though personally in cases like this, I prefer to use the "Add suggestion to batch" feature in the Github web GUI and then do a single commit that includes all of the related suggestions in the batch.

@dav3r I have quick question regarding all the typos in report_generator.py. Would you rather we fix all of them in one commit like I did here? OR should I have just used the "commit suggestion" button for each of them?

What you did is fine, though personally in cases like this, I prefer to use the "Add suggestion to batch" feature in the Github web GUI and then do a single commit that includes all of the related suggestions in the batch.

Ok great, that's good to know. I will make sure to do that next time. Better yet, we'll do better with our spelling :)

@dav3r Addressed all of your suggestions. Thanks!


Determinate Mode

Can we use this in determinate mode? and set custom progress programmatically. if yes, how to do this ??

Nope, the library is indeterminate-only


[FEAT] PES filter, save pes in different files

Is your feature request related to a problem?
I need to process some PES video packets, and I want to store the content of every PES packet in different files. The current -P pes --save-pes <filename> writes all inside the same file. It will be interesting to have some "<filename-frame0000.pes>" and so on.
Proposed solution:
Add a new parameter like -P pes --save-pes <filename> --split-files.
Alternatives:
The only alternative is to save all inside the same file, and after use an external tool to split the PES packets.
Additional information:
If you know another solution, please let me know.
Thank you!

Done

Automatically closed after 459 days without update and "close pending" label set.


add router ut

Coverage increased (+1.6%) to 66.204% when pulling c438696b0a8f6d9511ead29cfa283556fd45104f on tianxiaoliang:master into 7699041f810cd2cbb8f5d43c1f14e8be3d680e59 on go-chassis:master.


The description "POSIX-compliant bash script" conflicts.

Hello, first of all my apologies for not mentioning any bugs nor anything else at all.
I see you are describing your project is made of POSIX-compliant bash scripts; bash is not POSIX-compliant while sh is.
What really did you intend?

bash is indeed posix-compliant; “posix-compliant” is true fir anything that’s a superset of posix.

bash is indeed posix-compliant; “posix-compliant” is true for anything that’s a superset of posix.

Then have you ever read this document? It describes what utilities should be at least available on POSIX.
Also if you were not to care for compatibility, I'm sorry for making this issue.

That’s a long document. Which things in it aren’t part of bash?

well for one local isn't part of POSIX, which is used liberally.

well for one local isn't part of POSIX, which is used liberally.

@richard-whitty indeed, but its use is a no-op on the POSIX shells that lack local (dash, sh). It does warn on ksh, but has no other effect. "POSIX-compliant" doesn't mean "uses no non-POSIX features"; it means "works on POSIX systems", which this does.

@richard-whitty indeed, but its use is a no-op on the POSIX shells that lack local (dash, sh). It does warn on ksh, but has no other effect. "POSIX-compliant" doesn't mean "uses no non-POSIX features"; it means "works on POSIX systems", which this does.


Double code blocks?

Looking at your about page for vitesse, there are 2 duplicate code blocks. Is this intentional?
I don't remember it being like this, so maybe it's a bug?

Upgrade both markdown-it-shiki and vite-plugin-vue-markdown should fix it.


[RFC] On 4.0, disable dot notation access by default by setting DYNABOXIFY=False as default

#1115 adds DYNABOXIFY as a flag to disable the automatic casting of nested structures to Dynabox and BoxList.
On Dynaconf 4.0 this flag must be set to False as default, which means we are going to have only subscription access using square brackets settings.KEY["NESTED']["OTHER"] and also settings.get("key.nested.other") but the currently enabled settings.key.nested.other will be disabled by default.
This will also allow us to remove the vendor/box completely and to enable the feature box will need to be installed as an optional dependency.

this is actually not true, we are going to keep the dot access via schema to be implemented on #1130 and DYNABOXIFY will be irrelevant after the change because we are getting rid of box


mxGraph analysis function is missing

Hello
I read the mxGraph User manual and I found something useful:

This image shows the result of a function that determines and shows all the possible routes between two cells and also shows another function that returns the shortest path between those cells.
I already found the ShortestPath Function, but I am still looking for the function that allows me to get all possible routes between two cells, despite checking out the analysis package of mxGraph, I haven´t been able to identify this function; so I ask: Does this function exist?
If the function exists, it would be good to know its name and how to find it in mxGraph API.
Thank you.

No, it doesn't exist.


Only trigger fresh waypoints that are within the viewable area

It doesn’t make sense to trigger fresh waypoints that are already
outside of the visible area of the scrollable context. The waypoints
may be initialised when the context has already been scrolled somewhat.
This change will only trigger a fresh waypoint if that waypoint is
between the top and bottom of the visible area of the scrollable
context. It triggers both forward and back because there is no concept
of just ‘visible’.

Deals with #508. No tests yet as I wasn't able to get the test suite running locally. I wanted to table this change for discussion as it changes previous behaviour that may have been unintentional but still relied upon.

@imakewebthings, were you interested in looking into this change further?

I ran into this, in a painful way. I think it's totally surprising for it to behave the way it does. I tried your fix and it seems to work. The last commit was over a year ago (9/2016), and there over a thousand forks, so I'm guessing this is 💀. Thanks for the fix, @brendon!

Thanks @dzajic. It's a great project. @imakewebthings Caleb, would you be interested in bringing on some extra maintainers?  :)

Sad when good projects die like this. Funnily, I'm still using it in one of my projects. I think there's a lot of native support for this these days so I guess that's where I'll probably go if I decide to touch that code again.


Debug markers in release build

Right now, debug markers only available if the debug_assertions feature is set. This is true at least on the Vulkan and DirectX 12 backends, but I'd imagine the others as well. It would be nice if there were a feature flag or other way to enable debug markers in release builds as well.

Oh, fully agreed, this looks like an accidental bug in the backends. Would you want to make a PR to fix this?

I took a look at this, but I'm not quite sure the best way to make backend features like this controllable to end users.

I think we should just make the Vulkan backend to always support debug markers, if it can, and ignore them otherwise (like it does today in release mode). We could roll out a hal::Features flag fro this, but I don't think it's necessary here, since debug markers are non-observable from the API side.


ISPN-13484 Hot Rod server should ignore IllegalLifecycleStateException from address cache

https://issues.redhat.com/browse/ISPN-13484

integrated! thanks @danberindei !


Not able to Read Formula cell value as data

Using apache poi able to read formula cell value as data but not using monitorjbl,  as getCreationHelper().createFormulaEvaluator() it is unsupported . is there any other option to read formula cell value as data.
This is the link  for reading  derived cell value  as data using apache poi
https://stackoverflow.com/questions/4183708/how-to-get-the-formula-cell-valuedata-using-apache-poi

You cannot use dataformatter here, but cell.getNumericCellValue() for numeric, for string formulas cell.getStringCellValue(), cell.getBooleanCellValue() works. For formula itself,use cell.getCellFormula()


Add support for running test-js-with-node on particular files.

Fixed: #1127.

Automated message from Dropbox CLA bot
@TomaszKolek, it looks like you've already signed the Dropbox CLA. Thanks!

Cool, thanks for working on this @TomaszKolek!  you should fix the lint errors, I'd update the help to give more obvious examples (e.g. ./tools/test-js-with-node muting.js util.js), and I'd add documentation examples for this to README.dev.md and docs/testing.md next to the ones for our other test suites, but otherwise looks great!

@timabbott Please take a look especially at documentation

Looks great, merged!  I think a good quick follow-up project would be to change the output to be more clear that the tests passed when they do; can you take a look at that @TomaszKolek?


Appsec action 6.4: Verbose Error Messages (low)

Security Risk: Verbose error messages can inadvertently expose sensitive information about the application's internal workings, such as stack traces, database queries, and configuration settings. Attackers can leverage this information to identify potential vulnerabilities, such as SQL injection points, or gain insights into the application's architecture.
For e.g. the below screenshot shows the core.urls definition:

While these issues were identified in a development environment, they highlight a concern: default configurations and verbose error messages should always be disabled before deploying the application to production. Development environments are often replicated or migrated to production, and failing to address these configurations early can lead to serious security breaches once the application is live.
Remediation:
Disable Public Access to the Django Admin Page: Ensure that the Django admin interface is not accessible from public networks, or at least is protected with strong security measures.
Turn Off Verbose Error Messages: Configure Django to suppress detailed error messages and ensure that only essential error information is displayed to end-users in production.

Action - remove verbose logs / errors from all envs, and rely on local development to see this


Add Simulacra Initial Version to Repo

Description
When helping customers solve their issues with Ops Agent, we often have to replicate their environments. This involves spinning up a VM instance with the correct OS, installing Ops Agent and installing all the third party applications that the customer has configured to run with Ops Agent. This is an extremely tedious and time consuming process that can be automated. Although we have several build and install scripts to make it easy for us, we still have to manually go in, create a VM instance, SSH into it, run the scripts and wait for them to complete.
Simulacra helps us automate this process. Using Simulacra, we can automatically spin up VMs with Ops Agent with specific configurations. Simulacra even installs all third party applications that Ops Agent might be working with.
Note : The main file is in the integration_test/third_party_apps_data directory. This is because we use Embed.FS which can only read files from the current directory. We could have put it in the integration_test directory but that one already has a Go Package 'integration.'
Related issue

How has this been tested?
I used the tool with different Ops Agent configuration files to see if the VMs were correctly being instantiated. I later SSH'ed into those VMs to see if all applications were installed. I also checked the logs from the VMs in Pantheon to see that all the logs from the 3rd party apps were present.
Checklist:

Unit tests

[x] Unit tests do not apply.
[ ] Unit tests have been added/modified and passed for this PR.

Integration tests

[x] Integration tests do not apply.
[ ] Integration tests have been added/modified and passed for this PR.

Documentation

[x] This PR introduces no user visible changes.
[ ] This PR introduces user visible changes and the corresponding documentation change has been made.

Minor version bump

[x] This PR introduces no new features.
[ ] This PR introduces new features, and there is a separate PR to bump the minor version since the last release already.
[ ] This PR bumps the version.

Spoke offline, this will need an integration_test constraint so as to not break CI on master.


wrapper: fix race condition on lasterr

This change fixes a race condition on lasterr when
both Conn.Read and Conn.write fail at the same time.

Nice catch, changing the lasterr in a atomic.Value might be better though and we need to protect Close as well.

I've just updated the change to use atomic.Value instead of sync.Mutex.

Why pass the error interface by pointer ?


Issue removing fullInspector

After removing full inspector from my project I have a bunch of ghost transforms with missing Behaviours. I get about 30 different logs.

The referenced script on this Behaviour is missing!
The referenced script on this Behaviour (Game Object 'fiPersistentEditorStorage') is missing!
...

When I double click on the message It takes me to an fiPersistentEditorStorage Object that does not exist in the hierarchy or project pane. I've deleted both directories ( including the generated directory ).
I tried reinstalling fullInspector and through the interface deleted all meta data and deleting all serialized data.
I don't know what else to do. This is really starting to bother me.

I'm not sure. If you double click the messages does it take you to the objects with the metadata? There should only be 2-3 hidden objects.

These behaviors should be cleaned up automatically now by FI.

I think the issue is still present. @jacobdufault could you provide some hints how to clean up the scene/project manually? Thanks a lot.

@haraldreingruber I would recommend that you add back FullInspector and use the View All Scene GameObjects editor window to delete the fi* objects in each scene (need to open the scenes).
You can find that in Window/Full Inspector/Developer/View All Scene GameObjects
There'll be fiPersistentEditorStorage and fiGradientStorage, if I recall correctly. There  might be others I'm forgetting, but they'll all begin with fi*.
I also recommend you use the latest FullInspector from github, as it will have an improved editor window for listing the scene objects.

Thanks. It worked.