Apply for GSoC 2015

Could you apply for Google Summer of Code 2015? I've seen some students over at IRC looking for hints on how to contribute. @thockin replied to a guy who was speaking in his name and of two others, so there should be interest in this.
I'd be more than willing to pass on the word :-)

Good idea.

FYI the "Org Application Deadline" is February 20 at 19:00 UTC (11am PT).

Unsure exactly how to triage this. If anyone would like to claim it would simplify.

Just a reminder, 6 days to go.

I don't understand -- what would we need to do here?

@brendandburns @thockin
I submitted the application. I created a github label for the project idea list:
https://github.com/GoogleCloudPlatform/kubernetes/labels/kind%2Fgsoc
If you have ideas for projects, file an issue and add the label or, if you can't, mention the issue here and I'll add the label.

Top of my head:
JobController and tooling
Kubelet work (goroutine per pod or other large reworks)
kube-proxy as pure iptables
more complex demo apps
I have an intern this summer too, so the same list applies there :)
Performance and de-pessimization
Make DNS work from the node
service pre-declaration (if we can come to agreement on it :)
using docker stuff - ulimits, extra GIDs
new docker stuff - parent cgroups, shared PID and user namespaces, network
plugins, etc
On Wed, Feb 18, 2015 at 11:42 PM, Brian Grant<EMAIL_ADDRESS>wrote:

@brendandburns https://github.com/brendandburns @thockin
https://github.com/thockin
I submitted the application. I created a github label for the project idea
list:
https://github.com/GoogleCloudPlatform/kubernetes/labels/kind%2Fgsoc
If you have ideas for projects, file an issue and add the label or, if you
can't, mention the issue here and I'll add the label.
--
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/4259#issuecomment-75010155
.

JobController and replacing proxy with iptables are good ideas. I think the project needs to be better defined than most of the other things -- it's not quite the same as an intern, IIUC. Maybe "parallelize kubelet and/or apiserver" could work.

GSoC application is now complete. Let me know if you have more project ideas.

Started a wiki: https://github.com/GoogleCloudPlatform/kubernetes/wiki/Google-Summer-of-Code-(GSoC)

Galaxy listed Kubernetes integration as a project: https://wiki.galaxyproject.org/Develop/GSOC/2015Ideas

Hi, @bgrant0607  , i'm GSOC 2015 applicant.. I'm willing to work on pod based networking models. my project idea is to enable multicloud integration of Kubernetes through pod based networking model. I started reading  docs related to pod based.... Please suggest me to do few more task, so that i'll able to come with good project proposed and be efficient candidate to team.

@thockin @bgrant0607 hi, goroutine per pod in kubelet interested me, but I failed to find any issue related with it, is there any?
BTW, it is so hard to find any idea that no one is working on

@xudifsd Goroutine-per-pod was implemented #4895. Sorry. Yes, the project is moving quickly.
AFAIK, nobody is working on the per-node controller #1518, or job controller #1624, or converting replication controller to a plugin #3058.
Efficient label queries, reverse label lookups, field-based selection, and field filtering would all be great to have, also.
A Kubelet UI would be great to have -- very useful for debugging, and for standalone kubelet scenarios.

Are we doing a per-node controller? The thread seems cool on the idea
(Tim's comments). If I thought this is something we definitely wanted then
I would have jumped on it earlier.
S
On Sat, Mar 14, 2015 at 10:21 PM, Brian Grant<EMAIL_ADDRESS>wrote:

@xudifsd https://github.com/xudifsd Goroutine-per-pod was implemented
#4895 https://github.com/GoogleCloudPlatform/kubernetes/pull/4895.
Sorry. Yes, the project is moving quickly.
AFAIK, nobody is working on the per-node controller #1518
https://github.com/GoogleCloudPlatform/kubernetes/issues/1518, or job
controller #1624
https://github.com/GoogleCloudPlatform/kubernetes/issues/1624, or
converting replication controller to a plugin #3058
https://github.com/GoogleCloudPlatform/kubernetes/issues/3058.
Efficient label queries, reverse label lookups, field-based selection, and
field filtering would all be great to have, also.
A Kubelet UI would be great to have -- very useful for debugging, and for
standalone kubelet scenarios.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/4259#issuecomment-80863733
.

@satnam6502 Yes, we are. Tim developed a prototype #2491.

@rashmimargani Networking is a complex topic. Take a look at #3760 or #260. If you just want to get your feet wet, take a look at #15 (yes, 2 digits).

I was won over.
On Sat, Mar 14, 2015 at 10:36 PM, Brian Grant<EMAIL_ADDRESS>wrote:

@satnam6502 https://github.com/satnam6502 Yes, we are. Tim developed a
prototype #2491
https://github.com/GoogleCloudPlatform/kubernetes/pull/2491.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/4259#issuecomment-80867954
.

Is this issue #3692  still actual? Can I take part in designing this feature during gsoc?

Hi
Could you tell me how many slots have been allocated to k8s  in gsoc 2015? I'm really concerned about it.

@you-n-g We'll be selecting projects next week. It's true that we have more proposals than slots (and mentors).


786 - Interface Language and UI

committed second revision of these files, properly altering the text of the buttons without affecting the constants.

Please refer to #561 instead


Updated samples corresponding to the latest changes

Verified all scripts on Mac and Windows.

@jhouserizer I created a release/10.5 branch so that the older samples can remain intact.
This PR fixes A TON of stuff (several example were broken), while adapting them to dynamic-config.

I had a look at the changes, they all seem right to me. Approving.
Note: I didn't test all that locally. I guess / hope we have a jenkins job doing that.

I had a look at the changes, they all seem right to me. Approving.
Note: I didn't test all that locally. I guess / hope we have a jenkins job doing that.

I have tested on Windows and Mac.
There's no CI in this repo (which explains why several samples were broken). The CI job would need to call scripts and check the exit statuses, as there, or we write tests which do that. But this isn't a maven project either. So the work there is non-trivial.


componentWillUnmount is not unsafe

see the list of deprecated methods here https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html

Oh boy, I don’t even know/remember why it was marked that way. Thanks for the PR!

Hello. Not sure if you are already aware, but I believe this change fixes a memory leak. Any chance of a release with this fix soon?
More details: I'm looking at using your Modal, but seeing a warning about calling setState/forceUpdate on an unmounted component when I: include your Modal on a screen, navigate there and then to another screen, and then rotate the device. I think it's because: although componentWillUnmount would be called, UNSAFE_componentWillUnmount never is, so without this fix the "didUpdateDimensions" listener is never removed.

Oh, I thought this was released. I’ll release it tomorrow, thank you for reporting it @cjerozal !

Awesome, thank you for that and all your work on this library!

Available in v7.0.2 :)


added local bootstrap

bootstrap javascript files were missing.
replaced bootstrap CDN with a local version, which gives is more control and does not make us dependent on a foreign service.
added blocks for css and scripts in base template.

closes #32


Revert "Server returns Blob_Deleted for deleted blob out of retention  (#2821)"

Summary
Revert one commit

Codecov Report
Attention: Patch coverage is 0% with 6 lines in your changes missing coverage. Please review.

Project coverage is 18.61%. Comparing base (52ba813) to head (692c845).
Report is 54 commits behind head on master.

Files
Patch %
Lines

...n/java/com/github/ambry/store/PersistentIndex.java
0.00%
2 Missing :warning:

...n/java/com/github/ambry/store/StoreGetOptions.java
0.00%
1 Missing :warning:

...in/java/com/github/ambry/server/AmbryRequests.java
0.00%
1 Missing :warning:

...rc/main/java/com/github/ambry/store/BlobStore.java
0.00%
1 Missing :warning:

.../main/java/com/github/ambry/store/HardDeleter.java
0.00%
1 Missing :warning:

:exclamation:  There is a different number of reports uploaded between BASE (52ba813) and HEAD (692c845). Click for more details.
HEAD has 2 uploads less than BASE

Flag
BASE (52ba813)
HEAD (692c845)

3
1

Additional details and impacted files
@@              Coverage Diff              @@
##             master    #2835       +/-   ##
=============================================
- Coverage     64.24%   18.61%   -45.63%
+ Complexity    10398     2915     -7483
=============================================
  Files           840      844        +4
  Lines         71755    72448      +693
  Branches       8611     8723      +112
=============================================
- Hits          46099    13488    -32611
- Misses        23004    57721    +34717
+ Partials       2652     1239     -1413

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


gulp running clean after build and exits

Hi,
I just installed a new node with all required modules and tried to build pixi.js but the build process just called jshint, build, clean and exits, so I do not have a bin/-folder:
$ gulp
[13:08:41] Using gulpfile ~/coding/gown/src/pixi.js/gulpfile.js
[13:08:41] Starting 'jshint'...
[13:08:41] Starting 'build'...
[13:08:41] Starting 'clean'...
[13:08:45] Finished 'jshint' after 3.79 s

When I call done directly in clean (without doing any actual cleaning) it also runs other tasks:
gulp.task('clean', function (done) {
    done();
});

$ gulp
[13:12:52] Using gulpfile ~/coding/gown/src/pixi.js/gulpfile.js
[13:12:52] Starting 'jshint'...
[13:12:52] Starting 'build'...
[13:12:52] Starting 'clean'...
[13:12:52] Finished 'clean' after 94 μs
[13:12:52] Starting 'scripts'...
[13:13:05] Finished 'scripts' after 13 s
[13:13:05] Finished 'build' after 13 s
[13:13:06] Finished 'jshint' after 15 s
[13:13:06] Starting 'default'...
[13:13:06] Finished 'default' after 5.24 μs

I am running ubuntu 14-04 with node v4.0.0 (installed via nodeenv inside a python-virtualenv)

This is because you got a new version of del that is backwards incompatible.

Fixed in the latest dev.


Compute CAHVOR from camera matrix parameters

We have camera matrix generated from stereo camera calibration. Extract all required information from that and get CAHVOR camera model parameters.

solved !


[Request] Custom highlight syntax

Hi,
This is a request.
It should be great if YARD could support custom syntax highlight. It's already possible to give YARD some option to use custom markdown renderer, so why not the same for syntax highlight?
The actual syntax highlight is not very sexy (from my POV) for code blocks and it is nearly impossible to make the difference between inline code and normal text.
Code block, plain/raw (we can see the difference) :

Code block, ruby highlight (not sexy but works) :

Inline code (different size and/or font but look a lot like normal text) :

This

or this

is much more readable for inline code.
Even if only one syntax highlighter is supported the needed is feature is to allow the user to choose the theme.
From user POV this can be --syntax-highlight highlightjs and --syntax-highlight-theme color-brewer (native theme), or --syntax-highlight rouge and --syntax-highlight-theme tulip, or even --syntax-highlight prismjs and --syntax-highlight-theme okaidia.

highlight.js: (usage)
prism.js: (usage)
rouge: (usage)

You can implement your own syntax highlighting through template customization. Does this get you what you need?

@lsegal Let's assume I have a gem. I'm actually doing yard doc (with a .yardopts file) and then yard server to see it. As I understand what I need to do is (if I want to use highlight.js for example):

create a custom template folder at the root of my project, ex: yard_highlightjs_template
copy highlightjs css inro yard_highlightjs_template/fulldoc/html/css/default.css
copy highlightjs JS into yard_highlightjs_template/fulldoc/html/js/highlight.pack.js
create yard_highlightjs_template/layout/html/setup.rb:

 def stylesheets
   # Load the existing stylesheets while appending the custom one
   super + %w(css/default.css)
 end

 def javascripts
   # Load the existing javascripts while appending the custom one
   super + %w(js/highlight.pack.js)
 end

add those options in my .yardopts file

--template template_name_here_but_dont_know_what_it_is
--template-path yard_highlightjs_template

find a way to add <script>hljs.initHighlightingOnLoad();</script> to the template.:

create yard_highlightjs_template/class/html/highlightjs.erb and I don't know how yet add the previous script loader
add this in my yard_highlightjs_template/layout/html/setup.rb

def init
  super
  sections.push :highlightjs
end

Help wanted, tell me if I'm wrong.
I think this is a little tricky for non-dev people. Include this in yard and add a custom --syntax-highlight command option will be easier. But if add this in yard is something out of question, once I'll have figured how to create the custom template, I'll make a PR to add this as an example in the doc because this is something that a lot of people will want to do.

Help wanted, tell me if I'm wrong.

This is mostly correct:

The path would be yard_highlightjs_template/default/fulldoc/html/css/default.css. Note the default. That's the template.
You don't need --template, since you're overriding the default template.

You can look at yard-js for an example of how highlight.js can be used.

I think this is a little tricky for non-dev people.

Nothing is stopping you from packaging this up as a plugin for less technical people to use. Others have already done this, yard-pygments and yard-coderay are examples, you can even just use those directly if you find that easier.

In fact I'm not a dev, it seems a little blurry to me. If I'm doing it it will be a dirty hack. I prefer not to create a template. And it's really heavy for everybody to have to create it's own template to do that.
Here is the final point : I request for YARD to natively support a syntax highligther. If you don't want to add this feature you can close the issue.

And it's really heavy for everybody to have to create it's own template to do that.

Maybe I wasn't clear when I explained this above, but not everybody needs to modify the template. Creating a plugin allows other users to just use --plugin yourpluginname and that's it. No technical knowledge is needed for secondary users. There are already plugins available that do this, see the post above for information. The short answer is if you want syntax highlighting you can install those plugins and use --plugin pygments or --plugin coderay.
I'm going to close this issue because there are currently no plans to include customization of syntax highlighting into YARD core. The intention has always been to allow template customization through the templating architecture and plugins, and adjusting the visual styling of syntax highlighters (or any other part of the page) falls under that category.

@lsegal Yeah using plugin seems very easy. I'm not good enough to create a highlightjs plugin. OF course I read your previous comment, I understood the template functionality but didn't understand there was a simple plugin support. I'll try yardoc --plugin coderay it looks very simple and pure ruby.
Again you're right to close the issue, I didn't understand there was a plugin feature. That's all good, thank you very much.


Model not getting bound - inconsistent behaviour while using ngModel with subscribe

Hi,
While I was binding the property that is subscribed for an ajax api request, I was not able to see the value in the editor often.
Html template :
<ckeditor [(ngModel)]="emailEvent.Body" debounce="500" #contents="ngModel" (ready)="onReady($event)">
                                            </ckeditor>

Typescript file:
ngOnInit() {
        this.emailEvent = new EmailEvent();
        this.sub = this.route.params.subscribe(params => {
            this.emailEventId = +params['emailEventId'];
            if (this.emailEventId != undefined && !isNaN(this.emailEventId)) {
                this.emailEventService.getEmailEvent(this.emailEventId)
                    .subscribe(emailEvent => {
                        this.emailEvent = emailEvent
                    }
                    );
            }
        });
    }

In onready event, I could see the value in $event.editor._.data but it is missing in the UI.

I get the value binded on page refresh but not in straight case. Why ?

Use AfterViewInit for call the function and set timeout.
there is feature debounce="500" but it cant work actually i think.
so,
export class SiteContentComponent implements OnInit, AfterViewInit {}

	ngAfterViewInit() {
		setTimeout(() => {
			this.emailEvent = new EmailEvent();
			this.sub = this.route.params.subscribe(params => {
				this.emailEventId = +params['emailEventId'];
				if (this.emailEventId != undefined && !isNaN(this.emailEventId)) {
					this.emailEventService.getEmailEvent(this.emailEventId)
						.subscribe(emailEvent => {
							this.emailEvent = emailEvent
						}
						);
				}
			});
		}, 500);
	}

Solved the issue by enabling the ckeditor component only when the data is retrieved from api
ngOnInit() {
        this.setPageTitle();
        this.emailEvent = new EmailEvent();
        this.sub = this.route.params.subscribe(params => {
            this.emailEventId = +params['emailEventId'];
            if (this.emailEventId != undefined && !isNaN(this.emailEventId)) {
                this.emailEventService.getEmailEvent(this.emailEventId)
                    .subscribe(emailEvent => {
                        this.emailEvent = emailEvent;
                        this.loadEditor = true;
                    }
                    );
            }
        });
    }

`<ckeditor [(ngModel)]="emailEvent.Body" #contents="ngModel" (ready)="onReady($event)" *ngIf="loadEditor">
                                            </ckeditor>`

@shashi97 this seems like a better solution that settimeout
Thank you for the suggest 👍


start and start_link are delegated to :exec without converting the options

start and start_link are delegated to :exec without converting the options (e.g. port_path -> portexe and binaries -> charlists).  I'm not sure that was intended.

Should be fixed now.


Best dll injector?

Can anyone recommend any dll injector for osiris which is undetected and doesnt require any coding?

Can I use xenia injector or process hacker?

Xenos*

@Kraken69 use GHInjector, Manualmap
close this please

Can I use process hacker?

This is not related to Osiris
You can use daniel's injector, i don't think many people use it so its probably not detected
Xenos is most certainly detected, I always get VAC Authed when I try to use it.
Best solution: make your own injector. This is unrealistic unless you dedicate yourself to windows to learn injection methods (or you reverse malware for their injection methods).

I agree with xAkiraMiura, making your injector is always been the best solution for injector. I've made my own and used it not only on CSGO but TF2 and L4D2 as well. And still, no VAC.


add spellcheck CI

I left one mistake unfixed to see if it detects it.

Seems to work nicely with low false positives.


playback freezes if you add an Oscillator to Global without having a Send

Steps to replicate:

Toggle playback, hear tune
Add Oscillator to Global

Expected: Playback continues
Current: Playback dies
Only resumes if you add Send after Oscillator

Every time a new unit is added, the player tries to recompile the patch into the internal virtual machine. However, if a source (e.g. an oscillator) is not balanced by a sink (e.g. an out), it leads to a compile error.
There's a few options how to resolve this:

Keep on using "last known good" synth until the user makes a valid patch. This is how it worked earlier, but lead to confusing situations where one does not notice the compile error and tries adjust parameters and nothing happens, as the patch is in erroneous state and is not getting compiled.
Make the sound silent because the synth does not compile, but keep the time running (play advances).
Keep it as it is: when a synth does not compile or throws an error (e.g. not a number, division by zero etc.), the sound and playing is stopped.

Tangential to all these is that the compiler could do "best effort" to fix patch errors. For example: 1) any signals left on stack in the end of the patch are automatically popped (discarded). This might not help too much, as at most 8 signals can be on the x87 stack and any extra useless signals will quickly lead to stack overflows. 2) If a specific instrument gives an error, try to compile the patch by excluding the instruments. The sound still "disappears" suddenly for that particular instrument, so not entirely different from the option 2) above.

maybe best for user to learn how to use the app rather than hold their hand. closing


Native PHP function's boolean responses are ignored in Form_validation

When using a one-parameter native PHP function as a validation rule, the boolean response of that function is ignored.
I use a global PHP function (not native, but accessible globally) for certain validations.  When it returns FALSE, this response is ignored.
I have modified Form_validation so that, if a PHP function validation rule returns FALSE and there is a corresponding CI error message, it will act like a normal callback.  Otherwise, it acts as it does now.

The cause and fix are mentioned here:
http://codeigniter.com/forums/viewthread/183369/#960212

Please fix this once and for all. Seriously, the fix is to redo the code to call native functions in a way that avoids bad programming.
Here is my patch for it:
diff --git a/httpdocs/system/libraries/Form_validation.php b/httpdocs/system/libraries/Form
index bfad0de..6a46147 100644
--- a/httpdocs/system/libraries/Form_validation.php
+++ b/httpdocs/system/libraries/Form_validation.php
@@ -632,11 +632,10 @@ class CI_Form_validation {
                                    {
                                            log_message('debug', "Unable to find valida
                                    }
-
-                                       continue;
+
                            }
-
-                               $result = $this->$rule($postdata, $param);
+                               else
+                                       $result = $this->$rule($postdata, $param);

                            if ($_in_array == TRUE)
                            {

Essentially I removed the 'continue' and I added a conditional for the call to $this->$rule (it won't exist anways).

erm looks like this problem is still present in version 2.2.0....the offending code in Form_validation.php, lines 613 - 647
if ( ! method_exists($this, $rule))
{
    // If our own wrapper function doesn't exist we see if a native PHP function does.
    // Users can use any native PHP function call that has one param.
    if (function_exists($rule))
    {
        $result = $rule($postdata);

        if ($_in_array == TRUE)
        {
            $this->_field_data[$row['field']]['postdata'][$cycles] = (is_bool($result)) ? $postdata : $result;
        }
        else
        {
            $this->_field_data[$row['field']]['postdata'] = (is_bool($result)) ? $postdata : $result;
        }
    }
    else
    {
        log_message('debug', "Unable to find validation rule: ".$rule);
    }

    continue;
}

$result = $this->$rule($postdata, $param);

if ($_in_array == TRUE)
{
    $this->_field_data[$row['field']]['postdata'][$cycles] = (is_bool($result)) ? $postdata : $result;
}
else
{
    $this->_field_data[$row['field']]['postdata'] = (is_bool($result)) ? $postdata : $result;
}


android adding mallinfo equivalent to linux's mallinfo2 and malloc_us…

…able_size

r? @JohnTitor
(rust-highfive has picked a reviewer for you, use r? to override)

Thanks! @bors r+

:pushpin: Commit 69706dabaf4050e3da8ac4f31a8550dc32d3da42 has been approved by JohnTitor

:hourglass: Testing commit 69706dabaf4050e3da8ac4f31a8550dc32d3da42 with merge da79cd0e32b15f7b9f900411a4e7c86ca0de5fa4...

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13
Approved by: JohnTitor
Pushing da79cd0e32b15f7b9f900411a4e7c86ca0de5fa4 to master...


splitWithPortion returns wrong dataset type

When called on an ClassificationDataSet (as shown in the tutorials), splitWithPortion does not return ClassificationDataSets but SupervisedDataSets.
The issue was introduced in this commit: https://github.com/pybrain/pybrain/commit/2f02b8d9e4e9d6edbc135a355ab387048a00f1af
See discussion here: http://stackoverflow.com/questions/27887936/attributeerror-using-pybrain-splitwithportion-object-type-changed/30869317#30869317
And pull request here: https://github.com/pybrain/pybrain/pull/164

+1 to @attoPascal

+1


Push Notifications don't receive in chat

Hi
i use skygear to make chat server  and i use skygear portal with my app (larsa)
when send message from Device A to Device B , Device B dont receive any Notification.
but when i send notification manually from Device A to Device B the message is received to Device B
What can i do to enable push Notifications in message

@KhaledAld to send a push notification to the devices when there are new messages you need to register an afterMessageSentHook. Here's the doc: https://docs.skygear.io/guides/chat/cloud-event-hook/js/. Scroll to the bottom and you will find an example.
Closing this issue since it is not a bug. Please reach us on https://discuss.skygear.io/ for support. Thanks!


feat: Support external features

Provide new option features: TableFeature[] to extend table core features

We are actively looking into adding this, doing more research if anything else needs to be considered here.

The next version of TanStack table will have way better support for this more than likely following a similar pattern, but a lot more needs to be done, especially for the TS support

This is finally implemented in v8.14.0 https://tanstack.com/table/latest/docs/guide/custom-features

@fw6  This is finally implemented in v8.14.0 https://tanstack.com/table/latest/docs/guide/custom-features


V4.1.2 cfund prio fee

CFund proposals are stored using LevelDB, being the hash of the proposal the key. This causes proposals to be randomly prioritised when, for example, there are no enough funds on the fund and the consensus protocol needs to decide which proposal is the first with right to claim coins.
To solve this CCFundDB::GetProposalIndex() should sort the vector based on the paid fee of the proposal, so proposals with a higher fee are prioritised.
#147

This seems to have some other changes mixed in with it, is this what you were talking about the other day when you mentioned other changes showing up in the diff?

Yes, that's what I was talking about.
The only change is contained in this commit: https://github.com/NAVCoin/navcoin-core/pull/148/commits/5fa006aba6023afc6131c9ab8b82e3033bd95235


Add DOG

Add DOG not to be confused with Dog.
Adding a language

[x] The code displays "Hello World"
[x] I have updated the readme to include the new language
[x] I have incremented the language count in the readme

does anything need fixed?

Nope


PromiseKit.Result type conflicts with Swift.Result type

Using the blanket framework import
import PromiseKit

causes conflicts in files that want to use the Swift.Result type.
To avoid conflict with the standard library, can PromiseKit.Result be updated to a new name or embedded in another class like PromiseKit.Promise.Result?
I searched my codebase and for 2802 explicit declarations of the word Promise I have 0 explicit uses of Result. Because of this, the latter suggestion of keeping the Result name, but nesting it inside Promise class, would be a better solution.

Wouldn’t it make more sense to just have PromiseKit adopt Swift.Result?

We cannot change its name without breaking semantic versioning. We removed Result in PromiseKit 7 which is in beta.
You will have to differentiate with Swift.Result or PromiseKit.Result.

If you want to use PromiseKit 7 alpha, it is tagged and can be imported with all packaging solutions.

Great thanks!

@mxcl This is probably not standard practice for alpha branches, but would you consider adding an .xcodeproj folder defining the package there? Using carthage at the moment, the package has to be built and configured manually on each new pull.

We’re not adding an xcodeproj, but instead waiting on Carthage to support SwiftPM which they have an active ticket open for. You can generate a project with SwiftPM.


Fix hanging GDB when continuing after a hardfault

If a hard fault occurs while debugging the signal SIGSEGV is returned
on halt.  When trying to continue after this hard fault the GDB client
sends the vCommand "Cont;C0b:1;c".  This is ignored in the vCont
processing since nothing matches the action "C0b".  This causes the
target to remain halted and the gdb client and server to go out of
sync.
This patch fixes this problem by comparing against only the first
character in the command.  That way if a continue or step packet
comes in with a signal specified then the correct action will still be
taken.  This patch also adds an error log statement to print if there
is an unsupported command.

@mbed-bot: TEST

I pulled this change, I got an executable hitting hard fault. The callstack seems to be displayed better (previously was showing nonsense functions), I can close and reenter debug session (eclipse was showing some errors, had to restart entire eclipse app). However, I still can't restart current debug session. Stays at the fault after pressing restart current process.

@mbed-bot: TEST

+1, lets merge it


Support course exemption

Hi, I would like to see an option to mark a course as exempted.
Right now you have to input a grade between 1 and 100 for a course to be included in the calculation, which affects your overall grade, whereas normal exempted courses (like those done in other universities) won't.
I tried meddling myself with the Qt code, but both lack of knowledge in your code and Qt in general I couldn't add another column with a tick box to every course.
So I'd love that it will be implemented by someone else, or get some direction on how to do it, and I'll do a pull request.
Thanks, and good execution on an amazing idea!

I don't really think there is a nice way to fit the exemption check in the table because the scaling of the QTable widget is a mess, there is one appropriate way i thought of to mark a course as exempted i could add a grade of -1 to the grades range but that won't intuitive to the users

Another solution is to add an Exemption category to the combo box in the table, if you find that appropriate tell me :)

Yeah, the second solution is what I somewhat managed to do myself, just for testing and playing around with the app, you're more than welcome to add this. Thank you :)

Implemented on Development branch , feel free to try it :)

Just leaving a comment to say that it works great (apart that now you "don't know" if it's mandatory, A list, B list and such, so it requires manual subtraction)

Is it possible to get an exemption on a a/b list course?

Personally all the courses I had exempted were mandatory, but I do know of people that have some from the a/b list.


Add weight to Loss

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.50%. Comparing base (5729174) to head (7080cb9).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #42      +/-   ##
==========================================
+ Coverage   90.40%   90.50%   +0.09%
==========================================
  Files          19       19
  Lines         396      400       +4
  Branches       65       65
==========================================
+ Hits          358      362       +4
  Misses         38       38

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


fixed preview in Swift UI

Hello,
I've just update the code to make the preview in swiftUI displaying correctly in the watch os. To do so I had to rename several files from "8 ball" to "Eight Ball" in order to make the preview works.

Thank you for sharing. I am happy to update the preview, but it appears this PR also changes the name of the product.

I didn't realise because in Xcode 13 there is no Product anymore,
That's just how Xcode 13 works. In a new project created in Xcode 13, there is no Products category (group) visible in the Project navigator any longer.
What conflicts do you have if you update it with a different name product?


added logic for enabling state filter

https://issues.redhat.com/browse/RHIROS-362
Screenshots:

Thank you @PreetiW  and @karelhala for review.


Update index.js

'withDrop' props added (drop task if errors). 'options' props added (xo options - for more flexible use).

No thanks


Fix AL scrape

The Alabama scraper works but includes in the final output CSV that appears to be dirty. The rows in question (see image below) can be found at the bottom of the state's layoff listings page, but we'll need to research what these rows mean and possibly update warn.scrapers.al.py to discard them.

Is this ticket still active?

We have had a hard time getting ahold of AL officials to fix the data on their end, so we added a hard-coded regex to remove the erroneous data for now. This means the issue should be fixed for now.
(In the future, we will need to remove this hard-coded fix if/when AL changes systems; the regex removes all rows that dont have a value that starts with "clos" or "lay" in the first column.)
@zstumgoren do you think we can close this?

If the AL officials are still not responding and we're confident the code fix discards only these few garbage rows, I'm fine with closing this issue. @palewire if you're in agreement, feel free to do the honors


Maintain code definition order in T::Enum

Summary
The ordering of enums can be important. Enums are often naively implemented as arrays which make this easy. But with T::Enum, the definition order is lost – values are currently sorted alphabetically. This requires, for example, duplicate code to maintain an array of the desired order alongside the instances.
I don't think this sort is necessary – I think the definition order should be maintained. This will make migrating code from other styles of (Array-based) enums to T::Enum easier.
Also addressed a bug in which a T::Enum value can be new'd without being assigned to a constant, which effectively orphans it.
Test plan
Added and modified unit tests

Thanks. I'm working on resolving the downstream side effects (broken tests from literal string expectations) and then I'll merge this.


Vaccination Data still incorrect

Also with the Version 0.7.0 issues with the vaccination data.
RKI Erstimpfung is as before not updated.
Last update was from 25th May.
And the percentages from 1st and 2nd vaccination is also not updated.
And there is a new error Message:
Cannot handle vaccination data for Germany fromm RKI, if this erros continues please report a bug to the developen!

`

coronavirus-statistics.0
2021-06-29 08:00:15.766
warn
(2071) Cannot handle vaccination data for Germany fromm RKI, if this erros continues please report a bug to the developen!

coronavirus-statistics.0
2021-06-29 08:00:15.706
warn
(2071) Cannot handle vaccination data for Germany fromm RKI, if this erros continues please report a bug to the developen!

coronavirus-statistics.0
2021-06-29 08:00:15.630
warn
(2071) Cannot handle vaccination data for Germany fromm RKI, if this erros continues please report a bug to the developen!

`

Der Fehler tritt bei den bundesweiten Daten der Impfung auf.

Habe seit 18.45 auch Fehler im log, schaue morgen

solved in 0.7.1


Style search: hide close icon, animate open

Hides the overlapping close/clear icon on webkit browsers.
Animate the opening of the search input field.
Simplify JS.

If this works well, last step to allow clicking magnify to submit form (and clicking away from search to close input field).

@mmcky This PR looks better. Thanks for guidance 🙏

@mmcky This PR looks better. Thanks for guidance 🙏

Spoke too soon. I need to build it before commit? Sorry @mmcky

@mmcky This PR looks better. Thanks for guidance 🙏

Spoke too soon. I need to build it before commit? Sorry @mmcky

Forgot about pre-commit. Finally got there..

Ah @DrDrij sorry with delayed review. Just saw the X and I now see it just needs a re-run for anaconda to setup.

@DrDrij I have upgraded to python==3.10 now so the sample project build shouldn't fail any more.

@DrDrij in the latest test deployment the search box doesn't seem to show up
https://648130a927ea09080280f196--hungry-lovelace-7d0512.netlify.app/intro.html
any ideas?

@DrDrij if you have time to work on this by tomorrow ~3pm AEST tomorrow I will setup a new release and update our sites :-)

Updated the search field JS. Tested on Chrome, Safari, Firefox. Please let me know how you go @mmcky

thanks @DrDrij I am going to merge this. It's working nicely on the demo
https://6489b6eacb6e88213e2dc04d--hungry-lovelace-7d0512.netlify.app
The only pickup is that the search icon doesn't work in the header on the actual search page but it seems to work on all other pages that I tested.


go build fails with "pattern webui: no matching files found"

$ go build -o saturn-l2-svc main/main.go
...
go: downloading golang.org/x/sys v0.0.0-20220412211240-33da011f77ad
main/main.go:13:2: //go:build comment without // +build comment
resources/resources.go:8:12: pattern webui: no matching files found

Should we mirror the behavior from https://github.com/filecoin-project/saturn-l2/blob/44ae67ed0d2ee9531fd31738e7cd661712ac1f17/.github/workflows/release.yml#L27-L31 for local dev, or find a workaround?

the current instructions from the README work now


Redesigning of COC Page

https://github.com/user-attachments/assets/fd9a3346-9e87-46f3-a88a-091d9c97591a
#830 completed

@sanjay-kv label of level is not showing in my PR

Label of level is not showing

@sanjay-kv @HimangshuSharma01 sir, please add label of level to this PR.

@HimangshuSharma01 sir, thanks alot


Panel Packs (sift)

As an admin I need to be able to download the candidate applications including any attachments such as statements of suitability and self-assessments in one document in an easily accessible format for panel members.

This needs to be something I can easily load to Google Drive or email to panellists and print.

This needs to have name blind capability. By this the admin needs to be able to remove the names and replace with a reference number to ensure panellists do not know who each candidate is.

I need to be able to find this at the applications tab. https://admin.judicialappointments.digital/exercises/AaWKfpkKdSWOQryCgn1T/applications

For discussion - do we need to have a conversation with staff about this. And how well formatted can it be in time for applications close on 4 Feb

superseded by #410 and is currently being progressed.

superseded by #410 and is currently being progressed.


Add input, internal and output topic resources

Coverage remained the same at 100.0% when pulling e47f2b5ae12687fa81652aa15ef0c2706c3ca5b4 on component_resources into f8d575e584a7434080641c584873a2acaf2cbc54 on main.


[Need to fix] REST API result format is different from the JSON Standard & CB-Tumblebug.

@seokho-son  @jihoon-seo @zephy-mzc
This change affects CB-Tumblebug and CB-WebTool.

example of correction

<AS-IS>
    null

<TO-BE>
  {  "driver": [] }

<AS-IS>
[
        {
            "DriverLibFileName": "aws-driver-v1.0.so",
            "DriverName": "aws-driver01",
            "ProviderName": "AWS"
        }
]

<TO-BE>
{
  "driver": [
        {
            "DriverLibFileName": "aws-driver-v1.0.so",
            "DriverName": "aws-driver01",
            "ProviderName": "AWS"
        }
  ]
}

관련 함수

https://github.com/cloud-barista/cb-spider/blob/31e1be44c2926fe42f101e1c67e3d4225a5360ed/api-runtime/rest-runtime/CCMRest.go#L53
https://github.com/cloud-barista/cb-spider/blob/31e1be44c2926fe42f101e1c67e3d4225a5360ed/api-runtime/rest-runtime/CCMRest.go#L148
https://github.com/cloud-barista/cb-spider/blob/31e1be44c2926fe42f101e1c67e3d4225a5360ed/api-runtime/rest-runtime/CCMRest.go#L242
https://github.com/cloud-barista/cb-spider/blob/31e1be44c2926fe42f101e1c67e3d4225a5360ed/api-runtime/rest-runtime/CCMRest.go#L336
https://github.com/cloud-barista/cb-spider/blob/31e1be44c2926fe42f101e1c67e3d4225a5360ed/api-runtime/rest-runtime/CCMRest.go#L430
https://github.com/cloud-barista/cb-spider/blob/31e1be44c2926fe42f101e1c67e3d4225a5360ed/api-runtime/rest-runtime/CCMRest.go#L524
https://github.com/cloud-barista/cb-spider/blob/31e1be44c2926fe42f101e1c67e3d4225a5360ed/api-runtime/rest-runtime/CCMRest.go#L618
https://github.com/cloud-barista/cb-spider/blob/31e1be44c2926fe42f101e1c67e3d4225a5360ed/api-runtime/rest-runtime/CCMRest.go#L685
(더 있을 수 있음)

You can get the previous interface version.
$ git clone --branch v0.1.1 https://github.com/cloud-barista/cb-spider.git

completed.

Now you can get list like this.

$ curl -sX GET http://localhost:1024/spider/vmstatus?connection_name=aws-ohio-config |json_pp
{
   "vmstatus" : [
      {
         "VmStatus" : "Suspended",
         "VmId" : "i-0bdc15983e803e7a8",
         "VmName" : "backup"
      },
      {
         "VmId" : "i-03488fbc4001f7476",
         "VmStatus" : "Suspended",
         "VmName" : "spider1"
      },
      {
         "VmName" : "Park_node1",
         "VmStatus" : "Suspended",
         "VmId" : "i-0d582231c5d2d4642"
      },
      {
         "VmName" : "Park_node2",
         "VmId" : "i-0db92d5774cac2547",
         "VmStatus" : "Suspended"
      },
      {
         "VmName" : "Park_master",
         "VmStatus" : "Suspended",
         "VmId" : "i-089c919eb7bc35eea"
      }
   ]
}

ref) https://github.com/cloud-barista/cb-spider/commit/3d09601939344683ddcfd82609179b25c29e45a5


implement log function

It'd be nice to have a function that would calculate the log of whatever was passed in, in some base. Can someone write this please?
def log(x, y):
"""Returns the log x, base y
"""

Perhaps write some tests too?

Called it!


Allow sorting by $natural on non-capped collections

FerretDB version
v1.17.0-30-gf8d94bdc
Backend
any
Environment
dev
What did you do?
See repro #3942.
What did you expect to see?
no error
What did you see instead?
$natural sort for non-capped collection is not supported.

Not sure if this should be labeled as a bug or a feature request because it returns a NotImplemented error.


Submission: Jeremy L

All code encased in these code blocks are directions and should be deleted when submitting your pull request.

Is this a program written for a school assignment or based on another prompt (e.g. a Coding Challenge)?

[ ] Yes
[x] No

If so, which assignment/prompt?
Please provide a link if applicable.
If your answer was no, please delete the above question.

Checklist:

[x] My code is in a branch titled submission-john-doe (with my name)
[x] My project folder has been added into the showcase folder
[x] My code is well-documented
[x] If applicable:

I have commented out lines that would modify the filesystem
OR added generated files to a .gitignore in my project folder

[x] At the top of the main sketch file, I have added a comment as indicated in the README

Please describe your program below:
Capture the Flag is a modified version of the real life game "Capture the Flag". More information can be found in the README and in-game.

Awesome! I've moved the resources into the data folder and relocated your project within the overall repository. Let me know if it works on your machine and it's just about ready to merge in!
To pull the changes I've made, go ahead and git pull from your respository.

Cool, looks great! Thanks for your submission!


[ALLUXIO-2596]Make CreateDirectoryOptionsTest final

https://alluxio.atlassian.net/browse/ALLUXIO-2596
To avoid accidental subclass extension

Can one of the admins verify this patch?

ok to test

Jenkins, add to whitelist

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/13936/
Test PASSed.


Use of base_scan vs base_scan_raw

I'd like to ask about the pros and cons of filtering laser data for cartographer. By default the fetch provides two scan topics, base_scan_raw and base_scan. The scan topic base_scan_raw comes straight from the ros node for the SICK network driver, and the base_scan is a filtered version of base_scan_raw to remove the LIDAR's shadow artifacts. In this package, it looks like raw is used, and so I'd like to ask if one is better that the other, or in what cases. As most of our environments at floor level have many spindly furniture fittings and generate a lot of shadows, and am wondering if some cartographer perams may be sensitive to those.
I've collected a figure 8 trajectory bagfile on our floor, and maps using raw and filtered scan topics for comparison, drive link. It looks like the raw catches more edges/wall voxels, but filtered sustains a cleaner dilated free space in small cluttered areas.
Raw:

Filtered:

As an aside, perhaps I should increase the LaserFanInserterOptions.miss_probability to fix the missing free space? The freight's velocity was a brisk striding pace, and perhaps faster than originally configured. Also should one increase cartographer.mapping_2d.proto.SubmapsOptions.resolution  or decrease cartographer.mapping_2d.proto.SubmapsOptions.half_length to acquire more pixels/meter from the map servier topic?

@damonkohler has most experience. Afaik we do not have a non-simulated fetch yet though, so our knowledge might be limited here.

I configured it to use the raw scan simply because that's what we've always done. There's nothing inherently wrong with using the filtered scan instead. Personally, I don't see an appreciable difference in the maps you shared.
The missing free space looks like the result we'd expect to see from map_saver/map_server. It stems from the implementation of thresholding to replace the gradient with a ternary map. Instead of changing the miss/hit probabilities, which can affect mapping quality, it's better to change the thresholds to allow a higher "uncertainty".
I believe our /finish_trajectory service saves the map as gray scale instead of ternary. You may have to change/configure map_server to make better use of the full range of values.


offline support

What is missing?
Your current role requires the ansible control machine to have internet access.
Some environments do not have any direct internet access for security reasons.
Would you accept PRs to make internet access optional?

Offline installation is already possible. Look into PR which implemented it: https://github.com/cloudalchemy/ansible-prometheus/pull/239 and our test case in https://github.com/cloudalchemy/ansible-prometheus/blob/master/molecule/alternative/prepare.yml and https://github.com/cloudalchemy/ansible-prometheus/blob/master/molecule/alternative/playbook.yml

great, thanks for the superfast reply. I assume this is the case for all your ansible roles then (specifically https://github.com/cloudalchemy/ansible-node-exporter)

I don't think this is propagated to all of them, but node-exporter has it already as you can specify node_exporter_binary_local_dir.

this role has offline support via prometheus_binary_local_dir, closing.


Virtiorng

What this PR does / why we need it:
This PR introduces the virtio RNG device support for the virtual machine. This PR also limits itself purely to implement the API part of the virtio RNG.
The changes are made in convertor to the XML as well as in the kubernetes API.
This PR does not solve the hardware RNG, support for windows or prepare any presents for the virtio rng. This issues will be tacled in separate PRs to keep everything simple.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #1260
Special notes for your reviewer:
Release note:

NONE

This change is

or prepare any presents for the virtio rng

sure, let's leave that to Santa

@cynepco3hahue Thanks for review, done.

The thing is, I am still unsure whether the YAML is pure API or it is "the
golden way" for the user to communicate.
My take is, YAML is just an API and what is exposed is the user GUI. If
this is not the case, the rate limiting will be removed, for sure.
How should I treat the YAML? Thanks.
On Wed, Aug 1, 2018 at 4:30 PM Vladik Romanovsky<EMAIL_ADDRESS>wrote:

@vladikr commented on this pull request.
In pkg/api/v1/schema.go
https://github.com/kubevirt/kubevirt/pull/1385#discussion_r206902855:

@@ -758,3 +762,18 @@ type PodNetwork struct {
// Default <IP_ADDRESS>/24 if not specified.
VMNetworkCIDR string json:"vmNetworkCIDR,omitempty"
}

+// Rng represents the random device passed from host
+// ---
+// +k8s:openapi-gen=true
+type Rng struct {

// Source sets the host source used to provide entropy
Source string json:"source"
// RateBytes limit the amount of bytes that the VM can read from entropy source
// per period
// +optional
RateBytes *uint32 json:"rateBytes,omitempty"
// RatePeriod sets the length of a read period
// +optional
RatePeriod *uint32 json:"ratePeriod,omitempty"
+}

Are you planning to remove the RateBytes and RatePeriod in the next
iteration?
I thought we've agreed not to expose RateBytes and RatePeriod to the users
as it introduces a security issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kubevirt/kubevirt/pull/1385#pullrequestreview-142405554,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AISOCRerlkRXxczsvl-ecvsoB4bJ-oroks5uMbuNgaJpZM4VjqL2
.

@petrkotas  - so question w.r.t RDSEED and RDRAND - https://wiki.qemu.org/index.php/Features/VirtIORNG
so if i passthrough the CPU to the guest and I know my CPU has RDRAND, i'd like to disable virtio-rng device. since qemu will use the /proc/cpuinfo | grep -i rdrand effectively.

@cynepco3hahue Finished the work on this. Would you mind giving me a review once more? Thanks a lot.

@petrkotas I think you need to rebase and call make generate again to resolve the conflicts. Thanks!

@vladikr @cynepco3hahue I did the rebase.

I'm still not convinced why do we need the disabled filed, not because of a minimal spec, but simply this is how the rest of the features are getting enabled/disabled.
It should be pretty straightforward if a struct is present - it's enabled otherwise - not, or am I missing something?

@fabiand ah sorry about that. I saw that the generated files have not been generated. They are now.
To explain the attribute disabled. We mutually agreed to have a default of RNG added when not present. This means, that if the section is removed to have it disabled, the defaulter will add it again.
That lead me to introduce the disabled switch to have option to disable the RNG.
@vladikr am I handling the defaulter right? I did what every other default section was doing in our code.

We mutually agreed to have a default of RNG added when not present.

I think that later on we agreed not to do it that way, and rather require the presence (see vladik's comment above)
+1 or not adding it by default. It's really simple to add "rng" to every relevant OS preset. We shouldn't be adding anything silently if we can avoid that, it always looks ugly (see autoattachGraphicsDevice)

@michalskrivanek @vladikr I see that presets can solve the defaulting. However, as it is still not clearly defined what presets are and what are they doing, we still need some sort of defaulting now. Moreover, in the future we will need the ultimate ability to overpower the preset and disable the virtio rng. For instance think of system wide present, where you want to turn this feature for only one VM.
@michalskrivanek @vladikr What is the issue you are seeing? Why you do not want the disabled switch?

For instance think of system wide present, where you want to turn this feature for only one VM.
Right, but can't we just remove the definition of RNG from the spec for that given VM

@michalskrivanek @vladikr What is the issue you are seeing? Why you do not want the disabled switch?
@petrkotas I'm not against anything. As I mentioned above, I just see why enabling/disabling of this feature should be different from any other feature we have?
If RNG is not added by default, it can be explicitly enabled or disabled. The defaulter should just set the relevant properties - in our case it's just source I think (maybe libvirt sets the source to /dev/urandom by default, then we don't need anything added at all)

Apologise, I confused you with my previous comments.

@vladikr I understand. I weighted all pros and cons.
With everything considered I will remove defaulting in the manner of "alway add the rng" and leave only the defaulting for /dev/urandom. This way only the raw logic will remain in the API.
To ensure the right defaults, KubeVirt will have to have some high level logic which handles it.
@michalskrivanek @fabiand @vladikr do we agree on this?

@petrkotas if you are saying that:

rng will not be added by default
the enabled attribute will be removed
the source attribute will be removed

then yes

@fabiand that is exactly what I meant. Thanks.

@fabiand @vladikr I made the changes. Can we merge now?

@petrkotas looks like it needs a rebase.

Rebasing sounds good.

@vladikr @fabiand did rebase. Can merge now :).

Please add a release note @petrkotas - Reviewing now

@fabiand @vladikr Added the release note.

retest this please

ci test please

CI fails on your code:
[Fail] Configurations VirtualMachineInstance definition with rng [It] should not have the virtio rng device when not present
/root/go/src/kubevirt.io/kubevirt/tests/vmi_configuration_test.go:367

Should I ask to take a look? ;)

No need, fixed.
Thanks :)
s pozdravem,
Petr Kotas
On Thu, Aug 23, 2018 at 3:52 PM Fabian Deutsch<EMAIL_ADDRESS>wrote:

CI fails on your code:
[Fail] Configurations VirtualMachineInstance definition with rng [It] should not have the virtio rng device when not present
/root/go/src/kubevirt.io/kubevirt/tests/vmi_configuration_test.go:367
Should I ask to take a look? ;)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kubevirt/kubevirt/pull/1385#issuecomment-415421394,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AISOCXFx7R8ouK9pzacm1tK22aKGHlcCks5uTrOCgaJpZM4VjqL2
.

@fabiand I see the test passing, at least for k8s. Unfortunately openshift timeouts (not due to virtio rng tests). The tests fail finally in later stage.
[check-patch.k8s-1.10.4-release.el7.x86_64] SUCCESS! -- 145 Passed | 0 Failed | 0 Pending | 14 Skipped
[check-patch.k8s-1.11.0-release.el7.x86_64] SUCCESS! -- 145 Passed | 0 Failed | 0 Pending | 14 Skipped
[check-patch.windows2016-release.el7.x86_64] SUCCESS! -- 6 Passed | 0 Failed | 0 Pending | 153 Skipped

Can we merge now?

@fabiand ping?

A user guide update?

@fabiand Yes of course. The user guide is separate repository belonging to kubevirt site, so I it will be separate PR.

@fabiand @rmohr the user guide was already merged. Is this the right time to merge? The PR is approved, CI is passing and user guide is there.

The failing and not-debuggable CI prvents me from merging this RP.

ci test please

@fabiand I went through the CI logs. It seems that the server is simply failing randomly.
[check-patch.k8s-1.11.0-release.el7.x86_64] Traceback (most recent call last):
[check-patch.k8s-1.11.0-release.el7.x86_64]   File "/var/lib/stdci/container-slaves/3/home/jenkins/workspace/kubevirt_kubevirt_standard-check-pr/jenkins/scripts/docker_cleanup.py", line 299, in <module>
[check-patch.k8s-1.11.0-release.el7.x86_64]     main()
[check-patch.k8s-1.11.0-release.el7.x86_64]   File "/var/lib/stdci/container-slaves/3/home/jenkins/workspace/kubevirt_kubevirt_standard-check-pr/jenkins/scripts/docker_cleanup.py", line 38, in main
[check-patch.k8s-1.11.0-release.el7.x86_64]     stop_all_running_containers(client)
[check-patch.k8s-1.11.0-release.el7.x86_64]   File "/var/lib/stdci/container-slaves/3/home/jenkins/workspace/kubevirt_kubevirt_standard-check-pr/jenkins/scripts/docker_cleanup.py", line 129, in stop_all_running_containers
[check-patch.k8s-1.11.0-release.el7.x86_64]     _remove_container(client, container)
[check-patch.k8s-1.11.0-release.el7.x86_64]   File "/var/lib/stdci/container-slaves/3/home/jenkins/workspace/kubevirt_kubevirt_standard-check-pr/jenkins/scripts/docker_cleanup.py", line 157, in _remove_container
[check-patch.k8s-1.11.0-release.el7.x86_64]     client.stop(container)
[check-patch.k8s-1.11.0-release.el7.x86_64]   File "/usr/lib/python2.7/site-packages/docker/utils/decorators.py", line 21, in wrapped
[check-patch.k8s-1.11.0-release.el7.x86_64]     return f(self, resource_id, *args, **kwargs)
[check-patch.k8s-1.11.0-release.el7.x86_64]   File "/usr/lib/python2.7/site-packages/docker/api/container.py", line 403, in stop
[check-patch.k8s-1.11.0-release.el7.x86_64]     self._raise_for_status(res)
[check-patch.k8s-1.11.0-release.el7.x86_64]   File "/usr/lib/python2.7/site-packages/docker/client.py", line 174, in _raise_for_status
[check-patch.k8s-1.11.0-release.el7.x86_64]     raise errors.APIError(e, response, explanation=explanation)
[check-patch.k8s-1.11.0-release.el7.x86_64] docker.errors.APIError: 500 Server Error: Internal Server Error ("{"message":"Cannot stop container 920bb0fe50cfb032129d964bdf5320564f85bb9006b2da0c668ff70028b9557d: Cannot kill container 920bb0fe50cfb032129d964bdf5320564f85bb9006b2da0c668ff70028b9557d: rpc error: code = 14 desc = grpc: the connection is unavailable"}")
[check-patch.k8s-1.11.0-release.el7.x86_64] Aborting.

Fortunately is passes at some point. The openshift passed this time, at least partially. The list of failing tests:
[check-patch.openshift-3.10-release.el7.x86_64] [Fail] VMIlifecycle Delete a VirtualMachineInstance with grace period greater than 0 [It] should run graceful shutdown
[check-patch.openshift-3.10-release.el7.x86_64] /root/go/src/kubevirt.io/kubevirt/tests/vmi_lifecycle_test.go:1046
[check-patch.openshift-3.10-release.el7.x86_64]
[check-patch.openshift-3.10-release.el7.x86_64] [Fail] VMIlifecycle Killed VirtualMachineInstance [It] should be in Failed phase
[check-patch.openshift-3.10-release.el7.x86_64] /root/go/src/kubevirt.io/kubevirt/tests/vmi_lifecycle_test.go:1077
[check-patch.openshift-3.10-release.el7.x86_64]
[check-patch.openshift-3.10-release.el7.x86_64] [Fail] VMIlifecycle Killed VirtualMachineInstance [It] should be left alone by virt-handler
[check-patch.openshift-3.10-release.el7.x86_64] /root/go/src/kubevirt.io/kubevirt/tests/vmi_lifecycle_test.go:1104
[check-patch.openshift-3.10-release.el7.x86_64]
[check-patch.openshift-3.10-release.el7.x86_64] [Fail] Expose Expose service on a VM [BeforeEach] Expose ClusterIP service Should expose a Cluster IP service on a VMI and connect to it
[check-patch.openshift-3.10-release.el7.x86_64] /root/go/src/kubevirt.io/kubevirt/tests/expose_test.go:27
[check-patch.openshift-3.10-release.el7.x86_64]
[check-patch.openshift-3.10-release.el7.x86_64] [Fail] Expose Expose service on a VM [BeforeEach] Expose ClusterIP service with string target-port Should expose a ClusterIP service and connect to the vm on port 80
[check-patch.openshift-3.10-release.el7.x86_64] /root/go/src/kubevirt.io/kubevirt/tests/expose_test.go:27
[check-patch.openshift-3.10-release.el7.x86_64]
[check-patch.openshift-3.10-release.el7.x86_64] [Fail] Expose Expose service on a VM [BeforeEach] Expose NodePort service Should expose a NodePort service on a VMI and connect to it
[check-patch.openshift-3.10-release.el7.x86_64] /root/go/src/kubevirt.io/kubevirt/tests/expose_test.go:27
[check-patch.openshift-3.10-release.el7.x86_64]
[check-patch.openshift-3.10-release.el7.x86_64] Ran 148 of 159 Specs in 3875.137 seconds
[check-patch.openshift-3.10-release.el7.x86_64] FAIL! -- 142 Passed | 6 Failed | 0 Pending | 11 Skipped

Luckily none if related to virtioRNG. Can we merge?

The failures don't look virtio rng related and rather like flakiness.
@petrkotas will oyu take care of the CI issues?


PrimeNg - datepicker without numberOfMonths shows empty picker

Description
When using a PrimeNg datepicker without setting the numberOfMonths property, the picker component is empty, so the component is not usable.
It should probably default to 1 when not set, so the component can work correctly
Minimal Reproduction
https://stackblitz.com/edit/angular-ckrox7?file=src%2Fapp%2Fapp.component.ts
Your Environment

Angular version: 14.3.0
Formly version: 6.3.0
PrimeNg version: 13.4.1

This issue has been fixed and released as part of v6.3.2 release.
Please let us know, in case you are still encountering a similar issue/problem.
Thank you!


Editing text column content in editor is not working

Description
If I change data in the editor (pressing F7 in the result tab), the changes are not recognized and not saved to the record.
This is a new issue introduced in 23.3.4
DBeaver Version
23.3.4
Operating System
Mac
Database and driver
PostgreSQL 16
Steps to reproduce
No response
Additional context
No response

Forget it. Was my fault.
For whatever reason, I haven enabled "auto-apply value"


Case-sensitive naming issue in repository

Your repository somehow contains two different paths, which windows considers the same:

Windows-driver-samples\AVStream
Windows-driver-samples\avstream

This causes weird things to happen in Windows, making it very hard to work with anything in the second path, not to mention being extremely confusing!

Duplicate issue #96


Here's the configuration I am using: gist. Configs that are not set probably have default values (other than things like storage.batch-loading set to true).  As mentioned in the other issue, here's the code I'm using, if it helps!
The bulk load speed is very, very slow: a couple hours for 100k nodes (each node has tens of properties, the total size of which is less than 1KB). By monitoring the instance, it is not the bottleneck, and it seems DynamoDB's intake is an issue.
Is there something obvious I'm missing in the config?  Could anyone give some tuning advice to speed up the loading?

Uploaded a write capacity screenshot on the edgestore table: pic
It seems like writes are clustered in alternating periods of ~10 minutes. What's the loader instance / DynamoDB doing in the other no-activity 10-minutes?

I will take this up in detail later today. Thanks for the feedback. Stay tuned.
2015/09/19 16:21、Zongheng Yang <notifications<EMAIL_ADDRESS>のメッセ`ジ:
Uploaded a write capacity screenshot on the edgestore table: pichttps://i.imgur.com/7zOUuZK.png
It seems like writes are clustered in alternating periods of ~10 minutes. What's the loader instance / DynamoDB doing in the other no-activity 10-minutes?
―
Reply to this email directly or view it on GitHubhttps://github.com/awslabs/dynamodb-titan-storage-backend/issues/10#issuecomment-141632513.

Oh, and thank you for the warm wishes in your first issue! We are excited to share the DynamoDB Storage Backend for Titan.

@amcp Thanks so much for your quick & detailed responses!
I see where the issue is now. However, my graph is unfortunately complicated. Each vertex has 40 indexed properties, so each vertex incurs 42+41=83 mutations.  Now let's assume storage.buffer-size is set to 83 * <buffer size in batch graph> (actually, one thing in the analysis that's not clear to me -- what's the recommended BatchGraph buffer size here? 1k, 100k?), so that we can fully utilize the 13000wps capacity.
For 10 million nodes, that's 10*10^6 * 83 / 13000 / 60 / 60, which is 18 hours! That's unfortunately too long. Does this calculation sound about right?
I've put in a service limit request yesterday to increase the write capacity. But the weekend has hit, which is unfortunate.  Is it possible for that request to be expedited?

I'm now experimenting with the following: BatchGraph buffer size 200k, storage.buffer-size 16.8 million (83 * first number, with some scratch space), and s.d.client.executor.max-queue-length 16.8 million as well (since the comment says it should be as large).
Now the graphindex and edgestore writes are in parallel, but there's consistently ~50-60 writes per second. This is in comparison to my previous run, where -- although not in parallel -- I saw ~5000 writes per second.
Any ideas?

If you open a support case in the AWS console the DynamoDB service team is able to adjust account limits like maximum throughput per table and per account.

Yes, make sure you up the rate limiters, thread pool, and max HTTP connections in addition to the provisioning of the tables.

https://github.com/awslabs/dynamodb-titan-storage-backend/blob/0.5.4/src/test/resources/META-INF/dynamodb_store_manager_test.properties#L46

Rule of thumb for threads and connections: 1 thread and 1 connection per 50 writes per second in multiple item data model.

Closing this issue due to lack of activity. If you run into any more issues loading data, please let us know.

@amcp Thanks, Alex. I didn't get a chance to test your new suggestions. Will report back if I do.

Rule of thumb for threads and connections: 1 thread and 1 connection per 50 writes per second in multiple item data model.

@amcp What's the rule of thumb for reads?


Logging Not Working for ExecuteStoredProcedureAsync

I am using the extensions for the framework and have been using the .NET Framework version until a recent project.  I converted to the .NET Core version and noticed that a number of my calls to SQL are not being logged.
When I use the ExecuteStoredProcedureAsync call, nothing is logged.
Here is my setup:
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
    // Log SQL messages
    optionsBuilder.LogTo(Filter, LogData);
    base.OnConfiguring(optionsBuilder);
}
protected bool Filter(EventId eventId, LogLevel logLevel)
{
    return (eventId.Id == 20100 || eventId.Id == 20101 || eventId.Id == 20102);
}

protected void LogData(Microsoft.EntityFrameworkCore.Diagnostics.EventData eventData)
{
}

How can I get the logging to work properly?

Hello @rwoodslap ,
Unfortunately, it was easy to log through EF6, but that's another story for EF Core.
So, indeed, SQL call will not be logged for EF Core. And we do not believe this behavior will change as we tried multiple times to make it work correctly without success.
Best Regards,
Jon

If I get it to work, I will send you the code.  I need it to work for my project.

Hello @rwoodslap ,
Unfortunately, it was easy to log through EF6, but that's another story for EF Core.
So, indeed, SQL call will not be logged for EF Core. And we do not believe this behavior will change as we tried multiple times to make it work correctly without success.
Best Regards,
Jon

Jon,
I was able to update the library, but I don't really use GitHub, so I emailed you the update I made to the file.
Thanks,
Robert Woods

Thank you @rwoodslap
We will look at it.
Best Regards,
Jon


wrong documentation? cell editor doesn't work as described in the WIKI - it is not available and missing in context menu.

System information:

Operating system (distribution) and version: Windows 10
DBeaver version <IP_ADDRESS>102141704
Additional extensions

Connection specification:

Database name and version: SQL Server 2019
Driver name: I don't know where to find this information. dbeaver installed something when I first time connected to an SQL Server
Do you use tunnels or proxies (SSH, SOCKS, etc)? no

Describe the problem you're observing:
The main reason why I wanted to try dbeaver was the feature "cell editor" which is described here:
https://github.com/dbeaver/dbeaver/wiki/Data-Viewing-and-Editing
I need this feature to enter multiline data into some text fields, but SSMS or Azure Data Studio have issues with multiline data input. And I prefer an open source project, so I could recommend to other users to use a working tool, when it will work for me.
The cell editor is not available as described in the documentation. There is no "edit cell" in the context menu and there is no "edit cell" button.

Steps to reproduce, if exist:
In the tree, double-click on any table. The data grid will open.

I can't imagine that this feature was implemented is then removed. So I assume the feature is still there, but that it has been well hidden for new users.
Maybe the implementation has changed, but the documentation is wrong and describes an old way?
Even if it is possible - then it is not intuitive.

Hi @aisbergde ,
you can open the editor using Shift+Enter when the needed cell is chosen.
Also, you can change double-click behavior in preferences.


Offline Mode for Excalidraw+

As an Excalidraw+ i want to continue working on my drawings when i am offline same as the free users.

Bump.
Any plans to address this?


dragging rows often creates duplicate entries (visually)

nova-sortable 4.1.0
nova 4.12.13
laravel 8.83.23
chrome 103.0.5060.134
There is an issue in nova-sortable in 4.x that wasn't present on 3.x.  When clicking and dragging around rows it'll often duplicate the row.  Thankfully this is only a visual bug as refreshing the page restores the correct count and expected positions.
Reproducing it isn't exact. But it's fairly straightforward if you click and drag rows to near the bottom of the list.  Doing it quickly appears it make it more likely.
In the below screenshot, I moved #7 down to between 9 and 10.  Seems like maybe the original entry wasn't removed from the local state which shows up as a duplicate value?
I disabled all other 3rd party nova packages to ensure no weird conflicts.

I am also getting this issue!

Same issue

Same here

Hi, I have the same issue

Thanks for reporting this! Fixed in version 3.2.0. :)


Jitpack dependency not working

I've tried different versions, nothing seems to work.
Also, jitpack.io gives me the url "com.github.afollestad:bridge:1.6.2", but the README says "com.afollestad:bridge:1.6.2". I've tried both, no result.

com.afollestad is a custom domain version of com.github.afollestad. They both lead to the same result.
Did you include the repository?

repositories {
    maven { url "https://jitpack.io" }
}

dependencies {
    compile 'com.afollestad:bridge:1.6.2'
}

Interesting, I had to put the jitpack dependency in the application-level gradle file. The "normal" maven plugin worked in the top-level gradle file. Alright, now it's working.


Add non-local installation instruction

It will look like this:
go install github.com/maragudk/go-bench2csv/cmd/bench2csv@main

@sedyh Good idea, thanks. 😊


Service worker and cache issue - bug or implementation problem?

Hi there, we've got service worker enabled for caching purposes and we also have notification bar in app which informs user about its new version. This notification bar also includes button to update app by click :-)
registerServiceWorker.js with little modifications has following code:
const isLocalhost = Boolean(
  window.location.hostname === "localhost" ||
    // [::1] is the IPv6 localhost address.
    window.location.hostname === "[::1]" ||
    // <IP_ADDRESS>/8 is considered localhost for IPv4.
    window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/)
)

export default function register(config) {
  if (process.env.NODE_ENV === "production" && "serviceWorker" in navigator) {
    // The URL constructor is available in all browsers that support SW.
    const publicUrl = new URL(process.env.PUBLIC_URL, window.location)
    if (publicUrl.origin !== window.location.origin) {
      // Our service worker won't work if PUBLIC_URL is on a different origin
      // from what our page is served on. This might happen if a CDN is used to
      // serve assets; see https://github.com/facebookincubator/create-react-app/issues/2374
      return
    }

    window.addEventListener("load", () => {
      let isInitialServiceWorker = false
      if (!navigator.serviceWorker.controller) {
        isInitialServiceWorker = true
      }
      const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`

      if (isLocalhost) {
        // This is running on localhost. Lets check if a service worker still exists or not.
        checkValidServiceWorker(swUrl, config)
      } else {
        // Is not local host. Just register service worker
        registerValidSW(swUrl, config)
      }

      navigator.serviceWorker.addEventListener("controllerchange", () => {
        if (navigator.serviceWorker.controller) {
          if (!isInitialServiceWorker) {
            window.location.reload()
          }
        }
      })
    })
  }
}

function registerValidSW(swUrl, config) {
  navigator.serviceWorker
    .register(swUrl)
    .then(registration => {
      registration.onupdatefound = () => {
        const installingWorker = registration.installing
        if (installingWorker == null) {
          return
        }
        installingWorker.onstatechange = () => {
          if (installingWorker.state === "installed") {
            if (navigator.serviceWorker.controller) {
              // At this point, the old content will have been purged and
              // the fresh content will have been added to the cache.
              // It's the perfect time to display a "New content is
              // available; please refresh." message in your web app.
              console.log("New content is available; please refresh.")
              if (config && config.onUpdate) {
                config.onUpdate(registration)
              }
            } else {
              // At this point, everything has been precached.
              // It's the perfect time to display a
              // "Content is cached for offline use." message.
              console.log("Content is cached for offline use.")
            }
          }
        }
      }
      if (registration.waiting === null) {
        setInterval(() => registration.update(), 3600000)
      } else {
        // this needs to be done because of firefox, is it doesn't have
        // serviceWorker in installing state before app load
        const waitingWorker = registration.waiting
        if (waitingWorker.state === "installed") {
          if (navigator.serviceWorker.controller) {
            console.log("New content is available; please refresh.")
            if (config && config.onUpdate) {
              config.onUpdate(registration)
            }
          }
        }
      }
    })
    .catch(error => {
      console.error("Error during service worker registration:", error)
    })
}

function checkValidServiceWorker(swUrl, config) {
  // Check if the service worker can be found. If it can't reload the page.
  fetch(swUrl)
    .then(response => {
      // Ensure service worker exists, and that we really are getting a JS file.
      if (
        response.status === 404 ||
        response.headers.get("content-type").indexOf("javascript") === -1
      ) {
        // No service worker found. Probably a different app. Reload the page.
        navigator.serviceWorker.ready.then(registration => {
          registration.unregister().then(() => {
            window.location.reload()
          })
        })
      } else {
        // Service worker found. Proceed as normal.
        registerValidSW(swUrl, config)
      }
    })
    .catch(() => {
      console.log("No internet connection found. App is running in offline mode.")
    })
}

I also got serviceWorkerAppend.js file with following listener, it's appended to build/service-worker.js file:
self.addEventListener('message', function(event) {
  // Force SW upgrade (activation of new installed SW version)
  if ( event.data === 'skipWaiting' ) {
    /* eslint-disable-next-line no-restricted-globals */
    self.skipWaiting();
  }
});

Problem is that some users report app unavailability after production build updates. It means they're unable to load it until they do cmd + shift + r. I've received screen from user once it happened, it's from firefox and it says SyntaxError: expected expression, got '<' for both chunk files.
I've noticed that the files has old chunks, it means they're not from the newest app version. These files are not on the production servers anymore after build. Why these files are not served via service worker? Is there some caching limitation (cache duration)?
I can imagine the possible scenario, when this problem can occur:

user visits the app, service worker is installed
user visits app after some time, new service worker with new version exists
it's being installed but it's waiting for activation, old chunk javascript files cannot be for some reason served via current service worker (why?), they don't exist on server anymore
app doesn't load because of that, solved after hard refresh

Could anyone help me, I would like to know how to resolve this issue.

Some users report they cannot access website, only after they press cmd shift r. When they hit cmd r, site is not available again. I've explored there's service worker up and running, but the cached index file points to old css and js files (from previous version), how this can happen? How is it possible that assets are from new version but index.html is old with references to old assets?

@jeffposnick do you have some idea why service worker caches new assets (js/css) but doesn't refresh index.html in cache?

I'm also seeing a similar issue when using a production build.


Enable statsd metrics collection for histograms

This enables histogram support for Envoy metrics by using the statsd exporter to collect data from Envoy and then allow Prometheus to scrape for those metrics.
Note this PR has non-standard Contour builds as it depends on changes to enable statsd endpoints. PR for that is heptio/contour#366. Once that merges we can update the image to use a master tag until a new release of Contour.
Fixes #92
Signed-off-by: Steve Sloka<EMAIL_ADDRESS>

@stevesloka Is this something that we want to merge with the unofficial image? Or will we wait to get the contour PR merged before merging this?

@alexbrand I removed that config from the prometheus config, also I took out the /metrics annotation from the envoy deployment since it's redundant as well.

@stevesloka Sweet! Are we OK with merging this with an unofficial image?

Was about to merge but then realized that the --statsd-enabled flag on the init container would break the envoy deployment. Keeping this PR open until the Contour PR is resolved.

Contour has merged the statsd PR, so this is now unblocked. I updated the deployment to use the master tag from Contour until the next release of Contour comes out.

Let me review a couple of the stats quickly, might of found an issue.

I did some testing, the metrics work fine, however, master on Contour is still broken (https://github.com/heptio/contour/issues/363). So for this PR I'm using master only for the Envoy config and v0.5.0 for Contour daemon.


docs: fix migrating-to-modern-redux.mdx

name: :memo: Documentation Fix
about: Fixing a problem in an existing docs page
Checklist

[ ] Is there an existing issue for this PR?

link issue here

[ ] Have the files been linted and formatted?

What docs page needs to be fixed?

Section: Using Redux > Setup and Organization
Page: https://redux.js.org/usage/migrating-to-modern-redux

What is the problem?
Argument of type '{ url: string; }' is not assignable to parameter of type 'FetchBaseQueryArgs'. Object literal may only specify known properties, and 'url' does not exist in type 'FetchBaseQueryArgs'.

What changes does this PR make to fix the problem?
Replace url with baseUrl

Thanks!


feat(config): make arrangement backfill default

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
This PR makes arrangement backfill the default backfill by changing the streaming_use_arrangement_backfill to true by default.
We also fix some ci issues which block this from being the default.
Changes
Large number of changes are due to ./risedev dapt changing the planner tests, since now ArrangementBackfill will be the scan type instead of Backfill.
In this PR we also hide some compactor table_ids, since these will take up a lot of logging space and are not really useful in debugging CI.
Here are the regression in PR runtimes:

end-to-end test 19min -> 21min
end-to-end test parallel 10min -> 12min
end-to-end test deterministic sim 21min -> 25min (Could be just regression from other pipelines..)

It's fine IMO since it's just debug builds. More importantly main-cron does not show regression for e2e test release or backfill tests.
Here are the changes to main-cron runtimes (see https://github.com/risingwavelabs/risingwave/pull/14846#issuecomment-2011334852 for details):

Backfill test seem to improve.
e2e release test seem to improve.
Recovery test runtimes seem to slightly increase. Perhaps due to the following overheads:

Instead of just using storage table, we now use ReplicatedStateTable. Metadata is larger since we need the full TableCatalog, instead of just TableDesc.
On recovery, we need to read backfill state and recover the vnode level state.

Performance comparisons between this and no shuffle backfill:

https://github.com/risingwavelabs/risingwave/pull/14846#issuecomment-2002832562

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added test labels as necessary. See details.
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

Need to figure out:

Why e2e test will TLE. (Perhaps it's the get_row each time we persist state in debug mode).

At least main-cron is not taking a long time for e2e test streaming. Seems to be an issue specific to debug mode.

https://buildkite.com/risingwave-test/backfill/builds/387
https://buildkite.com/risingwave-test/backfill/builds/386

Arrangement backfill passes tests.

with tombstone:
create_watermark_mv_latency(ms): 124532.255
create_mv_latency(ms): 110062.274
batch_query_latency(ms): 28296.241
mv_query_latency(ms): 22080.314

without tombstone:
create_watermark_mv_latency(ms): 124186.916
create_mv_latency(ms): 114223.373
batch_query_latency(ms): 26236.617
mv_query_latency(ms): 21391.008

To revert this PR:

set streaming_use_arrangement_backfill back to false by default.
Run ./risedev dapt to reset stream scan to use backfill rather than arrangement backfill.

Main cron today https://buildkite.com/risingwavelabs/main-cron/builds/2104 seems to be failing as well due to TLE:

For this main-cron for this PR: https://buildkite.com/risingwavelabs/main-cron/builds/2108#
Importantly the runtime for backfill and e2e test does not regress:

In the main cron build above, the timings are 12m26, 15m40s respectively.

Waiting for main-cron fixes https://github.com/risingwavelabs/risingwave/pull/15861, https://github.com/risingwavelabs/risingwave/pull/15908 before merging this in. To make sure no regressions are caused by arrangement backfill.

Fix parallel in memory tests here. https://github.com/risingwavelabs/risingwave/pull/15930


sort_select: true does only order by String - implement custom sorter hook

The sorting of the values in a Dropdown list filter should consider the data type. Right now it seems to sort always by string even if it is a number or a date

What you can do at the moment to sort numeric drop-down options in a ascending or descending manner is use the sort_num_asc or sort_num_desc options:
var tfConfig = {
  col_0: 'select',
  col_1: 'checklist',
  sort_num_asc: [0],
  sort_num_desc: [1]
};

The above configuration instructs TableFilter to sort the the drop-down filter numeric options in a ascending manner for the first column and in a descending manner for the second one.
Date sorting for drop-down options is currently not supported, this is another story as the script needs first to support any formatted datetime (refer to #283). However, we could add a callback for sorting the drop-down options, where you would implement your own custom sorter as it is already the case for column sorting (#283).

Hello. First of all, thank you for this TableFilter. I love it! And second, sorry about my english, it's not my main language.
I would like to sort the drop-down filter. It's the only thing that I need at this moment. It's for a date, and for a custom type. In your last message, you say:

However, we could add a callback for sorting the drop-down options, where you would implement your own custom sorter as it is already the case for column sorting.

But I don't find anything about how to implement this. I don't know if you talked about a posibility to implent in a future, or if there is a real way to implement this.
Sorry if this is answered in another post, I have been searching but I don't find anything.

Hi @albertonbass,
no worries, I only spoke about the possibility of adding a hook for allowing a custom sorter for drop-down options. Unfortunately at this stage this is not implemented yet.

Oh! What a pity! I will wait for it. But one question more. Is there a way to tablefilter don't sort by alphabetic order the drop down filters? At first, i thought the list was filled in order of a appeareance, but it always sort in alphabetic.
Thank you!

Yeah I know, I remember thinking about doing it but got dragged away by other priorities.
You can set the sort_select option to false to disable the default alphabetic order for the select, multiple and checklist filter types. Unfortunately this is a global flag so it will apply to all those filter types on your table, if you have more than one.

Well. I've read the docs many times, but I don't know sort_select! Why!!!??? Thank you. This solves one thing, because my tabla has a dates in order. But don't solve the custom types.
Although I think it's simple, now I know that it's not possible by options I've decide to use javascript to modify DOM. There is a lot of examples on how to sort a html options. This works for me. It uses a version of functions of @schmelzpunkt in #284, to sort custom types. In function SortOptions I've referenced Id 'flt2_mociones', because is the name of my select options. Every one must search yours. I think the name is 'flt'+col_number+id_table.
<script>
function customSort(val) {

    var valor = val.split("separator");
    if (valor[0]==="Todos/as") { valor[0]="01-01-1900"};
    var dt = valor[0].split("-");
	var day = Number(dt[0]);
	var month = Number(dt[1]);
	var year = Number(dt[2]);
	var mydate = new Date(year, month-1, day, 0, 0, 0, 0);
	return mydate;
}

function SortOptions(){
vec=document.getElementById('flt2_mociones').options;
tmp=new Array();
for(i=0;i<vec.length;i++){
tmp.push(vec[i].text+'separator'+vec[i].value);
}
tmp.sort(function(a,b){
     if ((customSort(a)) < (customSort(b)))
       {return -1;}
     if ((customSort(a)) > (customSort(b)))
     {return 1;}
	  return 0;
});

document.getElementById('flt2_mociones').length=0;
for(i=0;i<tmp.length;i++){
aux=tmp[i].split('separator');
document.getElementById('flt2_mociones').options[i]=new Option(aux[0],aux[1]);
}
}

</script>

And I call SortOptions(), after TableConfig.
<script>
var tf = new TableFilter('mociones', filtersConfig);
tf.init();
SortOptions();
</script>

It's not the most efficient code, but it works. You can use jquery or whatever do you want. I share it, because it could useful to another rookie like me.

Tx for sharing your code @albertonbass
By the way:

the sort_select option appears in this wiki page and also in the title of this issue.
The getFilterId(columnIdex) public method on the TableFilter instance gives you the filter's element ID of a specified column: http://koalyptus.github.io/TableFilter/docs/class/src/tablefilter.js~TableFilter.html#instance-method-getFilterId, no need to hardcode flt2_mociones

I have prioritised this issue, I'll probably pick this one as the next task, to recap:

sort the filter options based on the type of the column (string, number, date) therefore making the sort_num_asc and sort_num_desc obsolete (TBC)
allow a hook to allow a custom sorter

Thank you, thank you, thank you! It wasn't a complain about the documentation, it was a complain about my reading skills!
Also, I don't control public methods, but I think that is a good start point.
Again, thank you.

Starting from v0.5.12, TableFilter will sort by default the dropdown filter options based on the column type. It will also be possible to sort a filter options with a custom sorter by using the new filter_options_sorter configuration option.
Cheers


Tags issue: Displaying previously entered tag

When I enter tag, then the last tag entered is displayed twice.

the last entered tag is displayed in the textbox

I can't get reproduce this. How are you entering your tags (Enter, Tab, arrows, mouse)?

@hellogerard  It happens with both tab and enter on focus leave of tags input
http://g.recordit.co/qyE93J5crJ.gif


fix typo

This typo will cause syntax error, unexpected ')'

Laravel 8 requires PHP 7.3 which allows for this syntax.

oops...I forgot I just took a copy from PHP 7.4 environment into PHP 7.2 env and got this error😅Thanks for your reminder!


Update azure-stack-validate-registration.md

added CSP Shared Services/IUR info

Thank you for the contribution --
#sign-off


keycloak-http to 0.0.20

Promote keycloak-http to version 0.0.20

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

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

@jenkinsx-bot-sss: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

promotion-build
95bbf83fb086f445d7486ef0572e72c2e5ace318
link
/test this

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/test-infra repository. I understand the commands that are listed here.


fix: upgrade mochawesome from 6.2.2 to 6.3.1

Snyk has created this PR to upgrade mochawesome from 6.2.2 to 6.3.1.
See this package in npm:
https://www.npmjs.com/package/mochawesome
See this project in Snyk:
https://app.snyk.io/org/circleci-78h/project/98240b32-4d7c-417a-8562-f9f1798322e8?utm_source=github&utm_medium=referral&page=upgrade-pr

merge synk  change


Validate ChainStore tip on load

See https://app.clickup.com/t/46vgx6.
The ChainStore consists of two tables which could conceivably go out of whack  due to the fact that these tables are individually updated (i.e. non-atomically). This PR adds a check to LoadAsync to ensure that the tip of the chain table corresponds to an available header in the headers table.

@Francois, (1) during LoadAsync we're only loading the chain, I assume with the assumption that the headers table would be aligned with it. This PR is verifying that assumption. (2) whenever we create a ChainedHeader we are adding the corresponding block header to the chain store's headers table. However there is one constructor that is not doing that and that is the one used by (1).
After this PR we should be able to claim that the header should always be present after the ChainedHeader constructor had been called.

@quantumagi can you check the tests please?
https://dev.azure.com/StratisProject/StratisFullNode/_build/results?buildId=28747&view=results

@quantumagi please comfirm whether you have at least done a full sync with StraxMain and partially synced CirrusMain?

Strax synced:


Ru ac notebook

Not really looking to merge yet - for now, the examples I thought of including in the actual causality notebook are complete. Before I write the textual content, please look at the implementation and the code in  ru-actual_causality.ipynb (ignore ru-ac_descr.ipynb for now) and let me know if you have any comments or suggestions.

Key notebooks now landed in the consolidation-oriented #253  for partial re-use, this PR can be now closed.


error 0x00000002

I have downgraded my o3ds and now on 9.2. I followed part 3 with the installation of emuNAND until where it says to reinstall menuhax again for sysNAND. i have tried everything, replacing the files, changing themes, moving the files. This the screen i get every time. Sorry if this issues has been solved before and thank you for the help.

The error message says you are missing some menuhax files from your SD card, so try to copy over the files related to menuhax again into the sd card.

Ok
It worked
Thank you for clarifying
Had the replace everything
On 10 Mar 2016 19:47, "Sigurd Bøe"<EMAIL_ADDRESS>wrote:

The error message says you are missing some menuhax files from your SD
card, so try to copy over the files related to menuhax again into the sd
card.
—
Reply to this email directly or view it on GitHub
https://github.com/Plailect/Guide/issues/7#issuecomment-194808555.


Buffering Progress Indicator Needs to Disappear Sooner for Streaming Content

Streaming HLS video. The video becomes playable, but the Buffering Progress Indicator (spinning blue circle) only disappears after the video has stopped buffering. (It buffers up to 2 min ahead of current position). I can play the video well before that occurs. I end up with a blue circle spinning while watching the video.
Any way to change the Progress Indicator to appear ONLY while buffering the current video segment?

I am having the same problem.  While playing live broadcast in m3u8 type, circularprogress is constantly appearing on the video.  Is there a setting for this @diegotori

@burhanaksendir What I have done recently is create my own custom controls based on the CupertinoControls class, and I have removed the circular progress indicator from the build method.
You could do this for both Material and Cupertino, and then show whichever custom controls based on the user's device. This workaround isn't perfect, since it gets rid of the buffering indicator altogether but it's a better user experience in the interim.
Replace this in CupertinoControls:
    return MouseRegion(
      onHover: (_) => _cancelAndRestartTimer(),
      child: GestureDetector(
        onTap: () => _cancelAndRestartTimer(),
        child: AbsorbPointer(
          absorbing: notifier.hideStuff,
          child: Stack(
            children: [
              if (_latestValue.isBuffering)
                const Center(
                  child: CircularProgressIndicator(),
                )
              else
                _buildHitArea(),

With this:
    return MouseRegion(
      onHover: (_) => _cancelAndRestartTimer(),
      child: GestureDetector(
        onTap: () => _cancelAndRestartTimer(),
        child: AbsorbPointer(
          absorbing: notifier.hideStuff,
          child: Stack(
            children: [
                _buildHitArea(),

@burhanaksendir and @djsjr, ChewieController now supports a progressIndicatorDelay that you can set so that it doesn't display the progress indicator immediately. You can add maybe a delay of 500ms or more, give or take, so that if it's still buffering after that time, then it will display the indicator. Please let me know if this ends up solving the issue altogether.

Any solution? I have the same issue :C

I also had the same issue , but it only appears on the ios .

the same here, iOS only

The issue still occurs. In my case the progress indicator is shown after video has finished playing in iOS. Any updates?