Fix build on aarch64-linux

In nixpkgs, we encountered the following error on aarch64-linux when bumping to 2.0.0:
/build/source/src/core/solvers/intro.cpp:196:19: error: no matching function for call to 'max(double&, int)'
  196 |   stop_ = std::max(hfeas_, abs(d_[0] + 0.5 * d_[1]));

The obvious fix is to replace abs with std::abs.

Hi ! This project doesn't usually accept pull requests on the main branch.
If this wasn't intentionnal, you can change the base branch of this PR to devel
(No need to close it for that). Best, a bot.

Hi @wegank,
Thanks for this PR and your packaging of crocoddyl (and its dependencies) in nix. I already gave it a try a year ago or so, but got distracted on the way, so I'm very glad you started it.
FYI, I'll make a crocoddyl v2.0.1 soon, with

this PR
some fixes following example-robot-data v4.0.7
a couple reverts to get everything working on 18.04, as @cmastalli needs it for now,

so maybe you can wait for this instead of providing a patched v2.0.0 on nix, and then pushing v2.0.1 a couple days later. But that's as you prefer :)


[GDScript 2.0] Add byte Variable type

I'm still no experienced contributor, I still need help in the following:
adding var test:byte to a script, still generates No constructor for type byte
add the key color and icon for byte type.

Adding a new type to Variant has a significant cost, so it needs to be done carefully.

What's the purpose of byte? Variant still gonna use it's full size, so there's no obvious benefits over int.

What is the difference be between byte and int?

Since there is no consensus and no proposal, is the pr archivable?

Closing as there's no proposal attached to this PR and no clear indication that this would have any use.


Up Next Videos

Is it possible to continue with the next up video after the current video/playlist finishes? 🤔

Hi @cabaalexander
Isn't this the current behavior? When a video ends, the next video in the playlist starts.
If you want the playlist to restart, just check the option "Loop YouTube videos and playlists" at chrome-extension://ekajjllcmeckibblgckgoceinmmgnfop/options.html

Yes yes, I haven't opened a playlist yet. But I tried the loop option with a single video.
Using the loop option on a single video is ok when you found a really good song that you want to burn until you hate it. XD
But what I mean is to continue play the recommended videos which is really nice to descover new related or the new videos of your subscriptions. Dunno, it depends of the youtube API. 🤔
Example:

Ooh I see, the recommended videos. Unfortunately it's not possible as far as I know.
The best thing you can do is check the option "Show related videos". When a video ends, you'll see a list with related videos, then you can right click them and "Open link in popup", like this:

You can also turn a search into a playlist instantly. Just go to YouTube, search for anything, and then click the Floating Player icon in the upper-right corner of the screen. Too bad it only supports 20 videos at most.
Test with this link: https://www.youtube.com/results?search_query=install+ubuntu

Ow man! That does the work :DDD
The only thing is that you need to do it manually but I buy it! XD
💯


Spellchecked the documentation.

This is my first pull request to an open source project and I tried to be a bit useful :)
Changes:

Checked the entire documentation for spelling mistakes and errors.
Removed corrupted symbols.
Rephrased some explanations.

Join in Discord, Reddit or Google Groups

Btw, does your repo participate in HacktoberFest 2021? :)

Let's chat in Telegram


feat: resolve external APIs in the local build

Goal:
On the local Vulcan server, resolve external APIs with polyfill.
And in the production build, the APIs will be marked as external.

I believe the polyfill should be in #env/polyfills. That is, this is an environment-adapted polyfill (env), like fetchPolyfill, and should not appear in the final build artifacts. What do you think?

I believe the polyfill should be in #env/polyfills. That is, this is an environment-adapted polyfill (#env), like fetchPolyfill, and should not appear in the final build artifacts. What do you think?

I agree, let's move the external polyfills to the #env/polyfills path.
External polyfills are resolved in build, but are separated between build/polyfills and env/polyfills.

:tada: This PR is included in version 2.3.0-stage.1 :tada:
The release is available on:

npm package (@stage dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Library is untested and has no examples

This repository is made by enthusiasts. Unfortunately it's not ready-to-ship code, and may require some expertise to use.
We should add some good examples. Unfortunately, neither me nor @jteeuwen (AFAIK) have time to work on this at the moment, so help is welcomed!
Feel free to ping this thread on a frequency less than once/month to show your interest.
Supercedes https://github.com/go-gl/gltext/issues/18 https://github.com/go-gl/gltext/issues/19 https://github.com/go-gl/gltext/issues/20 https://github.com/go-gl/gl/issues/58

Sorry for all the posts on the same matter, I was attempting to get in contact with someone and it seems it has worked. Last night I attempted to use this library and had little luck. I only used loadttffont and printf which is fairly simple but threw errors at runtime. I will continue to play around with the code and post any results

Anyone got an working example of this yet?

Not that I am aware, sorry. The situation is still the same as in the original post.

I'm not an OpenGL expert, I'm just playing a bit and wanted to share my discoveries, here what I've found after some trial-and-error:
To load a font
	fontFile, err := os.Open("Roboto-Light.ttf")
	if err != nil {
		log.Panicf("Open font file: %s", err)
	}
	defer fontFile.Close()
	font, err := gltext.LoadTruetype(fontFile, 25, 32, 127, gltext.LeftToRight)
	if err != nil {
		log.Panicf("LoadTruetype: %s", err)
	}

25 is the font size
32 and 127 are the first and last gliph that should be loaded into the texture used for later rendering (in this case the most common ASCII characters).
In the drawing loop I used the following lines:
	gl.Clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT)

	gl.MatrixMode(gl.MODELVIEW)
	gl.LoadIdentity()

	gl.Color4f(0, 0, 0, 1)
	font.Printf(0, 0, "Hello")

and indeed this is enough to print "Hello" in the top left corner of the screen.

There's also https://github.com/loov/zombies-on-ice containing a great reference on drawing images and font.

If looking for another example of rendering golang text: https://github.com/4ydx/gltext/tree/master/example

It's been a while and no one stepped up to fix and maintain this library. It's in a poor shape, and without someone actively working on it, it won't get better.
To help maintain a high bar for packages in go-gl namespace, I propose we move this to go-gl-legacy. This will help future people who run into it, and accidentally expect it to be in good shape (e.g., see https://github.com/go-gl/example/issues/63).
If someone wants to actively work on it, they can do so and we can consider moving it back when it's in a good shape.

Agreed.

I have my own version of gltext at https://github.com/4ydx/gltext.  I don't know if it meets expectations in terms of code, but I would be happy to try to help out using that as a starting point.  It adds onto what go-gl/gltext does in ways that might not be standard given that I am a novice when it comes to opengl development.

I think for a package to (continue to) reside in go-gl namespace, it should, at minimum, have one active user, and one active maintainer. And when I say active, I mean that an issue or a PR that is posted should get a response within a month by someone willing to deal with it (even if to say "this feature request is out of scope" or "this is a valid bug that needs to be investigated/fixed").
@4ydx, if you're actively using and maintaining your gltext version, we can definitely consider putting it here in place of this gltext. Because this gltext isn't actively maintained and we'll need to move it to go-gl-archive soon (at the current rate).

Sure if you decide to move the current package into archive and find that mine is palatable then I will maintain it.

I am eager to have my code be more broadly used as well as to be apart of group collaboration so if my code looks acceptable I would like to have it become the gltext package.

@shurcooL: I second using @4ydx's version, he is responsive to issues.


Removed accountId parameter from requestRecentGames

Solves Issue #32

fyi this is a breaking change. can you check if more than one parameter is provided and handle that case for backwards compat?

Oops totally forgot about that.. Working on it right now

Not sure what's the most elegant solution for this...suggestions are welcome :c

I left a note on 51a35c7
Also, can we try and keep the bracing style similar to what's being used within the rest of the project? Other than that, while it isn't the most elegant, it looks good to me.

I have made the appropriate changes!

:+1: lgtm

This should do hopefully. I am surprised that it took this many commits for this little change :3

Fixes #33


Won't be able to dismount

Tried Ridables, not that I need it. I tried to let fish spawn since the fish bug which doesn't even work with the Mojangs ocean_reviver.
Enabled the squid as an example.
Opped myself
Left click to ride
Left shift won't dismount
Only using /spawn dismounts it. Even /tppos does not help, I can't teleport.
Tried Ridables build 54 from the jenkins
Tried Ridables 2.5.6 from the spigot
Latest Paper

Could you elaborate a bit? What fish bug? What is ocean reviver? Etc..
Does this happen for you with no other plugins installed? If not, which
plugin breaks it?
On Wed, Nov 21, 2018, 5:44 AM X1p<EMAIL_ADDRESS>wrote:

Tried Ridables, not that I need it. I tried to let fish spawn since the
fish bug which doesn't even work with the Mojangs ocean_reviver.
Enabled the squid as an example.
Opped myself
Left click to ride
Left shift won't dismount
Only using /spawn dismounts it. Even /tppos does not help, I can't
teleport.
Tried Ridables build 54 from the jenkins
Tried Ridables 2.5.6 from the spigot
Latest Paper
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/BillyGalbreath/Ridables/issues/26, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAUS73FpQk6j--k57qst344CO9_S9u9Hks5uxTyBgaJpZM4Ys89E
.

I'm speaking about this bug:
https://bugs.mojang.com/browse/MC-134702
This prevents fish spawn around the world if a fish tank is build on the spawn.
Anyway. They do spawn with ridables installed.
I'll try to eliminate other plugins

That bug was fixed in vanilla 1.13.2, but md_5 broke it again in
CraftBukkit.
https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/browse/nms-patches/EntityFish.patch
v2 of Ridables doesn't fix this itself because it wasn't a problem before
md_5 messed with the logic. However, in the upcoming v3 of Ridables this is
fixed.
https://github.com/BillyGalbreath/Ridables/blob/v3.0/src/main/java/net/pl3x/bukkit/ridables/entity/animal/fish/RidableCod.java#L53-L63
As for the dismount issue, @electronicboy has been trying some changes
around the logic in Paper to hopefully fix some inconsistencies (or
something). Try using build 456 (no idea if that's your already using or
not). If the problem still persists try downgrading to build 446 (447 was
the first build with the dismount code changes and is known to cause
issues).
If the problem still persists on build 446 then you have a conflicting
plugin doing something weird.
On Wed, Nov 21, 2018, 9:09 AM X1p<EMAIL_ADDRESS>wrote:

I'm speaking about this bug:
https://bugs.mojang.com/browse/MC-134702
This prevents fish spawn around the world if a fish tank is build on the
spawn.
Anyway. They do spawn with ridables installed.
I'll try to eliminate other plugins
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/BillyGalbreath/Ridables/issues/26#issuecomment-440697972,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAUS76c1SNrk9mw7TpaVTwgPE3PQFWS_ks5uxWypgaJpZM4Ys89E
.

Ok. Going to close this then. No one else is reporting that issue, and it definitely works as intended. So idk what to tell you.


Let Linalg on tensor ops pass LegalizeInputTypes

Assume that all Linalg ops on tensors have legal input types for now.
This allows IREE to ingest Linalg on tensor ops from the frontend and pipe it through.
This is necessary to use Linalg on tensors as a programming model for IREE without relying on HLO.

There are 2 issues right now:

in the case of a linalg named op, we could end up with a matmul on say i8, irrespective of the fact that the linalg op will not support that. The future-proof way is to convert from named to generic, do the rewrite and then convert back to the appropriate named form. The conversion back is not available.
even starting from a linalg.generic op, the pass seems to have been written quite a long time ago and currently chokes here when encountering a linalg::Yield. The problem is that the parent op is not built yet and the verification fails. We could hack this more to circumvent this use case but it generally seems problematic that the ability to verify an op in a transient state is part of the logic to decide what to do.

I am unsure what @benvanik envisions for this pass.
Since this was written prior to widespread use of conversions, should we consider just turning this into a conversion?
Not sure whether that would help with the logic but it seems the majority of the code implements what conversion patterns do.

Note that this may also be indicative of missing OpInterface for the specific purpose of type legalization?

I approve it. If @benvanik has no comments, I dont have any either :)

(looking now, I think this may just make issues harder to find later on)

The type converter here is what performs the i64/f64->i32/f32 truncation today. A majority of the lower level code now handles these types (or can be easily made to handle them) except VMLA. Since the linalg on tensor path doesn't intersect with VMLA this should be fine - and we can delete the entire pass once we are able to kill VMLA.
LGTM!

Thanks!

@pifon2a


Middle of the Linked List

Kindly check it out and do the needful.
Thanks!
Fixed #915

Also resolve merge conflicts.

Please do again.

@rudrakshi99  done


getContent() is null on Samsungs

Hello.
I've big problem, on Samsung getContent() always return null, but when I try on Nexus 4, Nexus 5 all is ok!
This is my call part:

IntentIntegrator integrator = new IntentIntegrator(childActiv);
        integrator.setDesiredBarcodeFormats(IntentIntegrator.QR_CODE_TYPES);
        integrator.setPrompt("Scan a barcode");
        integrator.setResultDisplayDuration(0);
        integrator.setCameraId(0);
        integrator.initiateScan();

and in onActivityResult

 IntentResult scanResult = IntentIntegrator.parseActivityResult(requestCode, resultCode, intent);

                if (scanResult.getContents()!= null){
                    qrCodeValue  =scanResult.getContents();
                    showInfoByQRcode(activity, scanResult.getContents());
                }else{
                   //code...
                }

This part always retuns null in scanResult.getContents() on Samsung.
Please help.

Which specific Samsung is this? I've tested on many Samsung devices without any problem.
Do you see any errors in the ADB logs? If the contents are null, it's possible that the scan activity had an error. What is the resultCode that you receive?
Also try without the integrator.setCameraId(0) part - it should not be required in most cases.

In The ADB logs no errors.
I try without integrator.setCameraId(0)
Result code is:0
Request code is:code is:49374.
I test on S3 and S5.

Is this after successfully scanning a barcode? Does it display the result if you use something like integrator.setResultDisplayDuration(3000)? I can't remember if that option is actually supported in the library, but it may work.

Yes this is after successfully scanning.
I tried your way, but it wasn't changed.

Ok, in that case it's quite difficult to debug. Does this same happen with different barcode types, e.g. QR codes and CODE 128?

Hi.
I've found the problem.
In My manifest file I put android:launchMode="singleInstance" on Activity which calls Bar code Scanner.
When I removed it - Scanner works fine.
Thank you for help.


left-sidebar: Add topic filter input in zoomed topic view.

Fixes: #18505.
Testing plan: node tests and manually
GIFs or screenshots: Regarding live update when topic filter is on:

Sending message to topic which is part of search list:
in_list.gif

Sending message to topic which is not part of search list:
not_in_list.gif

Thanks, @m-e-l-u-h-a-n.  While I have no competence to do real review on the change, I looked at the diff and everything made sense to me.  I hope this lands; really looking forward to using it in some of our busier many-topic streams.

This looks great visually.  I posted a batch of comments on the code details.
I'll also mention that I'm not sure the filtering algorithm here is correct; but I'm OK with test-deploying this to chat.zulip.org for discussion once the above changes are made (or maybe even merging to master and discussing from there).

I have updated this pr, with all the suggested changes and mentioned each changes in respective comments. It is ready for another review.

I merged this with the following changes.  Huge thanks for doing this @m-e-l-u-h-a-n!
diff --git a/static/js/topic_list.js b/static/js/topic_list.js
index b2ead0fb85..4c7c20acc6 100644
--- a/static/js/topic_list.js
+++ b/static/js/topic_list.js
@@ -155,7 +155,7 @@ export class TopicListWidget {
         } else if (!is_showing_all_possible_topics) {
             nodes.push(more_li(more_topics_unreads));
         } else if (zoomed) {
-            // In zoomed topic view, we show input
+            // In the zoomed topic view, we need to add the input
             // for filtering through list of topics.
             nodes.unshift(filter_topics_li());
         }
@@ -177,16 +177,13 @@ export class TopicListWidget {
     }

     update_topic_search_text(text) {
-        if (typeof text !== "string") {
-            return;
-        }
         this.topic_search_text = text;
     }

     update_topic_search_input() {
         const input = this.parent_elem.find("#filter-topic-input");
         if (input.length) {
-            // Restore saved topic search text
+            // Restore topic search text saved in remove()
             // after the element was rerendered.
             input.val(this.topic_search_text);
             input.trigger("focus");
@@ -198,17 +195,16 @@ export class TopicListWidget {
     }

     remove() {
-        // If topic search was on, we store the
-        // input value lazily just before removing
-        // old dom.
+        // If text was present in the topic search filter, we store
+        // the input value lazily before removing old elements.  This
+        // is a workaround for the quirk that the filter input is part
+        // of the region that we rerender.
         const input = this.parent_elem.find("#filter-topic-input");
         if (input.length) {
             this.update_topic_search_text(input.val());
         } else {
-            // This block ensures that topic search
-            // is cleared before input is shown when
-            // we go from normal to zoomed view.
-            this.update_topic_search_text();
+            // Clear the topic search input when zooming out.
+            this.update_topic_search_text("");
         }
         this.parent_elem.find(".topic-list").remove();
         this.prior_dom = undefined;

I'll follow up on the design thread; I'm pretty sure we'll find we need follow-ups to this.

Merged as the series ending with 3f0ed46fa2d2da8ca4c8b0503aad75b9e8abe535.

Seconded -- thank you so much, @m-e-l-u-h-a-n, and thanks @timabbott for the review!

@kfogel I'd appreciate your feedback on the filtering logic after playing with on chat.zulip.org.  See https://chat.zulip.org/#narrow/stream/101-design/topic/topic.20filter/near/1204406.

Hmm.  Well, the UI is great, and at first I thought the filtering logic all made complete sense: with each new character I typed, it seemed like the list filtered down further to include only those topics that matched the current string.
But then I found a counterexample:
There's a topic in the #design stream called Consistent Design Language.  But when I type, e.g, "sis", that topic is not included.  Further experimentation led me to believe that the rule is actually "include all topics that have a word that starts with the current string".  Is that right?
The rule I expected was "include all topics that match the current string (though maybe with consecutive whitespace folded to a single space, in both the string and the topics, for matching purposes)".
Personally I prefer the second rule, but even with the first rule it's still a huge UX win, so I'm not complaining!


xgboost\dmlc-core\src\io\local_filesys.cc:86: LocalFileSystem.GetPathInfo: agaricus.txt.train error: No such file or directory

XGBoost installed from source with Visual Sudio 2017 on win10
When running mushroom.conf, it cannot loading the data and report the error above.I wonder why.
Thanks.

I'm using XGBoost 1.3.0

You can obtain agaricus.txt.train from https://github.com/dmlc/xgboost/blob/master/demo/data/agaricus.txt.train.

It doesn't work either.

You should double check mushroom.conf and see if the path is correctly specified.

I'm sure the path is correct.I have tried relative path and absolute path.Neither works.

Make sure to use forward slashes when specifying the path. (Not backslashes)

Tried, but no  use.

Sorry, I'm out of ideas. If you happen to find the cause, please share.

The path of training data
data = "agaricus.txt.train"
Please change the above line as follows to try
data = C:\xgboost\demo\binary_classification\agaricus.txt.train
there is not need ".

No use. Maybe it's not the problem

Maybe you can debug step by step to confirm what is the real problem.

Thanks very much
发送自 Windows 10 版邮件应用
发件人: Philip Hyunsu Cho
发送时间: 2020年11月12日 9:58
收件人: dmlc/xgboost
抄送: jiangqi-1; Author
主题: Re: [dmlc/xgboost] xgboost\dmlc-core\src\io\local_filesys.cc:86:LocalFileSystem.GetPathInfo: agaricus.txt.train error: No such file ordirectory (#6086)
Closed #6086.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


[FEATURE] ONLY SHOW TEAMMATES NICKNAMES PLACEHOLDER

What is the feature request for?
In the placeholders there is already a  variable that does this but it also shows the player himself. I would like you to add a way to only show his teammates. Thanks.
Relevant links
No response
Additional Information
No response
Feature requests are not going to be implemented by booksaw, instead you will have to find another developer to make a pull request to implement the feature.

[X] I understand

Hi, which placeholder are you referencing?

This issue is being closed for inactivity. If you are still having problems feel free to open a new issue linking this one, make sure you answer any questions asked in the new issue.


[Req] Add HyperX Cloud Wireless 3

Would it be possible to add the cloud wireless 3 to the supported devices?

Probably yes, if you're prepared to help.
Does ngenuity show the exact battery percentage in the app?
If yes, please provide:

A recording of the USB traffic (using Wireshark and USBPcap) while you're opening ngenuity that ends after you see the current battery percentage.
Battery % as shown by ngenuity at the time of the recording?
A screenshot of the product ID. (Open device manager -> find the headset under "Sound, video and game controllers" -> Right click -> Properties -> Details tab -> Hardware IDs property

And post all that in here and I'll see if I can figure it out.

Hey, sorry for the late response.
Can you run me through what to do with Wireshark and USBPcap?

Sorry for the delay.

Install Wireshark. If you scroll down a bit, you can see the download links.
Install Wireshark. During install it should ask you if you want to also install USBPcap. You should agree (checkmark it first).
Open Wireshark.
In the top menu click Capture->Options
In the Input tab, you should see 1 (or more) USBPcap options (USBPcap1, USBPcap2 etc.).
Now you have to figure out which USBPcap can record your headset data. I suggest you double click one of the USBPcap options in the Input tab, which should start a recording. Then play some music and see if there is a bunch of data being recorded when the music is on and less (or none) when the music is off. The port that responds like that is probably the port your headset is using.
Once you've figured it out, start a new recording for the correct USBPcap entry (with no music) and then open HyperX Ngenuity.
Once you can see your headset in Ngenuity, click on it so that you can see your current battery level. Remember the battery level and write it here.
Stop the Wireshark recording and upload it here.
Upload the screenshot of the product ID. Instructions where to find are in the previous comment.

If you need more help let me know, I can probably make a guide with screenshots or something similar if needed.
Thanks for your help!

After clicking the Capture->Options, it does not show USBPcap options, I tried reinstalling Wireshark, but the options do not appear.
Any ideas on how to fix?

Hey, thanks for the instructions, I messed up earlier because I installed USBPcap and Wireshark seperately.
I managed to get the recording, hardware ID and battery level. Hope this helps. :D

recording.zip

Crap, I totally forgot about this. Sorry! I'll be more attentive from now on.
I took a look at the recording and it seems very different to what I've seen with other headsets.
Could you maybe try and create another recording? Basically just restart from step 6 from my previous post. I have a small suspicion that you might have also recorded some data that was actually you moving your mouse but I could totally be wrong on that and this headset is just that different.
I appreciate your time and help in this, and as I mentioned sorry for the wait.

recording2.zip
Yeah, no worries.
I rerecorded it on a different usb port if that helps. I'm not sure if its something on my PC that is affecting the Wireshark output, let me know if I need to do something else.

If this helps, this is what the USBPcap.exe shows, I don't know if the other stuff showing could be any of them.

Judging from the USBPcap screenshot this 2nd recording should be the correct USB port but honestly I can't find what data could be the battery level. Usually you'd get a URB_INTERRUPT in that would have the battery level in it's data (in hex) and I don't see anything like that here. I'll try to start over again sometime and hopefully I can figure it out with a clear head.
Just in case, did you make the screenshot and the recording at the same time (roughly).
Thanks.

Yeah the screenshot and recording were done at the same time.
I do not have the ngenuity headset drivers installed which might be the issue? (I saw that it makes the sound quality significantly worse for the Cloud 3 Wireless)
But after opening ngenuity, I can still see the battery level after clicking "Headset" option.
Let me know if I gotta do anything, more than happy to comply :D

Yeah honestly I can't figure it out from this recording. If you're up for it, I'd ask you to make one last USB recording, this time with a more specific order of actions.
Ok so:

Completely exit/quit the ngenuity app.
Start new USBPcap recording in Wireshark. Use USBPcap3.
Open ngenuity.
Wait for the headset to show up in the "Connected devices" in ngenuity.
Click the headset.
Take a screenshot of the battery level.
End USBPcap recording.

If that doesn't create a helpful recording, then I'm out of ideas.

Alright, I tried again. You might be right, I didn't complete quit out of ngenuity last time, hopefully this time it shows the right data. Thanks again for trying to get this to work.
recording3.zip

Well I lied and didn't respond for way too long again.
I did try a couple of times to understand the data and find the battery info in the packets but I didn't succeed so I think this will have to wait either for someone else to figure it out or for my headset to die and then maybe I buy a Cloud 3 and try it.
I'll keep the issue open in case someone else makes a pull request or something so that you get a notification.
Sorry for wasting your time. Appreciate your help!

Hi, maybe you can provide a "device data reader" within your application (like an plugin) to identify all data coming from that one specific device (selected by the user), exportable in a file, which can be uploaded here to help you?

Hello,
I have an HyperX Cloud III Wireless. I followed your last instructions from here : https://github.com/auto94/HyperX-Cloud-2-Battery-Monitor/issues/7#issuecomment-2145872480
cloud3_capture_73bat.zip
Here is the recording of the correct USBcap :
cloud3_capture_73bat.zip
Here is a screenshot from the app with the battery level :

Here is the hardwares ID :

I hope these informations can help!

Hey,
Just saw this post, was there any updates on it?

Not that I am aware of

I've checked Virgils recording when he posted it and it didn't help. It seems to me that the Cloud III is quite different from the rest in regards to the data being sent/received so unless someone who owns a headset puts in the time (or I happen to get my hands on one), I think it's unlikely it gets added.
Having said that, the more recordings the better so anyone who comes across this feel free to add yours, the instructions are in this comment.

capture.zip

hope this can help


Update free-courses-hi.md

Added Computer Graphics and Multi-Media course in Hindi
What does this PR do?
Add resource
For resources
Description
Computer Graphics and Multi-Media course in Hindi
Why is this valuable (or not)?
The author starts from basics and takes the topic to the next level.
How do we know it's really free?
It is on Public domain (youtube)
For book lists, is it a book? For course lists, is it a course? etc.
Youtube playlist for EEC course
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Thanks, and welcome to free-programming-books!


[BLE] Ensure bluetooth service is always running

Currently the bluetooth service is BluetoothManager is started when the app starts. However, if the device restarts and the user does not explicitly start the app, service will not work. We need to ensure it does.
As of v2.3.0 WorkManager supports running foreground services through it which will ensure service persists through app/device restarts: https://developer.android.com/topic/libraries/architecture/workmanager/advanced/long-running
So I think this is the best approach to solve the problem. Again, I would like @apisov's take on this. Also, will this be implemented in the TCN library or on the client side!?

@BurningAXE @Apisov @madhavajay where does this stand?

@nkumarcc It looks like we fixed it in the library so when we integrate it it should work.


[WFCORE-5027] Security Realms should support specifying the charset and encoding for credentials

Jira: https://issues.redhat.com/browse/WFCORE-5027
To pass CI, this will require an Elytron upgrade.
Analysis document: https://github.com/wildfly/wildfly-proposals/pull/323
Requires: https://issues.redhat.com/browse/ELY-2001
Elytron PR with tests: https://github.com/wildfly-security/wildfly-elytron/pull/1440
WildFly PR with tests and documentation updates: https://github.com/wildfly/wildfly/pull/13548

Core - Full Integration Build 9914 outcome was FAILURE using a merge of 2b5ccd80bba7981d30ddf42ae6c1520e13de8576
Summary: Compilation error: Compiler (new) Build time: 00:01:14

Core - Full Integration Build 9966 outcome was FAILURE using a merge of 2b5ccd80bba7981d30ddf42ae6c1520e13de8576
Summary: Compilation error: Compiler (new) Build time: 00:02:36

Core - Full Integration Build 9944 outcome was FAILURE using a merge of df30933124890fbd680cb433e0eea2a53ddb16cc
Summary: Compilation error: Compiler Build time: 00:02:15

Core - Full Integration Build 9989 outcome was FAILURE using a merge of df30933124890fbd680cb433e0eea2a53ddb16cc
Summary: Compilation error: Compiler Build time: 00:02:22

Core - Full Integration Build 9999 outcome was FAILURE using a merge of 8fa4a012262af4b45d01e1d1a578ee5fbc8610de
Summary: Compilation error: Compiler Build time: 00:01:32

Core - Full Integration Build 9954 outcome was FAILURE using a merge of 8fa4a012262af4b45d01e1d1a578ee5fbc8610de
Summary: Compilation error: Compiler Build time: 00:02:07

Core - Full Integration Build 10004 outcome was FAILURE using a merge of c7a8f0e8d724913d3825c26806cbbfa7b6cba74a
Summary: Compilation error: Compiler Build time: 00:01:02

Core - Full Integration Build 9959 outcome was FAILURE using a merge of c7a8f0e8d724913d3825c26806cbbfa7b6cba74a
Summary: Compilation error: Compiler Build time: 00:01:42

Core - Full Integration Build 10019 outcome was FAILURE using a merge of 8debb394fa6d3edab6279733b5c868c9df6e7953
Summary: Compilation error: Compiler Build time: 00:01:00

Core - Full Integration Build 9976 outcome was FAILURE using a merge of 8debb394fa6d3edab6279733b5c868c9df6e7953
Summary: Compilation error: Compiler Build time: 00:01:52

Core - Full Integration Build 10054 outcome was FAILURE using a merge of cd7fa73984b7150c4dad88890d59b3f273ece759
Summary: Compilation error: Compiler Build time: 00:01:39

Core - Full Integration Build 10020 outcome was FAILURE using a merge of cd7fa73984b7150c4dad88890d59b3f273ece759
Summary: Compilation error: Compiler Build time: 00:01:56

Core - Full Integration Build 10021 outcome was FAILURE using a merge of d7f124cd95985ac6b510041067ce08b14aaf63a4
Summary: Compilation error: Compiler Build time: 00:02:00

Core - Full Integration Build 10055 outcome was FAILURE using a merge of d7f124cd95985ac6b510041067ce08b14aaf63a4
Summary: Compilation error: Compiler Build time: 00:02:27

Core - Full Integration Build 10203 outcome was UNKNOWN using a merge of dbc7bfeed22e69ef37e54bc2dad1538b1b78de9d
Summary: Canceled Build time: 00:00:02

Core - Full Integration Build 10203 outcome was UNKNOWN using a merge of dbc7bfeed22e69ef37e54bc2dad1538b1b78de9d
Summary: Canceled Build time: 00:00:02

Core - Full Integration Build 10204 outcome was UNKNOWN using a merge of dbc7bfeed22e69ef37e54bc2dad1538b1b78de9d
Summary: Canceled Build time: 00:00:01

Core - Full Integration Build 10204 outcome was UNKNOWN using a merge of dbc7bfeed22e69ef37e54bc2dad1538b1b78de9d
Summary: Canceled Build time: 00:00:01

Core - Full Integration Build 10205 outcome was FAILURE using a merge of dbc7bfeed22e69ef37e54bc2dad1538b1b78de9d
Summary: Compilation error: Compiler (new) Build time: 00:01:01

Core - Full Integration Build 10205 outcome was FAILURE using a merge of dbc7bfeed22e69ef37e54bc2dad1538b1b78de9d
Summary: Compilation error: Compiler (new) Build time: 00:01:01

Core - Full Integration Build 10255 outcome was FAILURE using a merge of dbc7bfeed22e69ef37e54bc2dad1538b1b78de9d
Summary: Compilation error: Compiler (new) Build time: 00:01:45

Core - Full Integration Build 10255 outcome was FAILURE using a merge of dbc7bfeed22e69ef37e54bc2dad1538b1b78de9d
Summary: Compilation error: Compiler (new) Build time: 00:01:45

Core - Full Integration Build 10432 outcome was FAILURE using a merge of 4933c8ca0c4e0ee4afb9094c2cd6e340a889bca4
Summary: Compilation error: Compiler (new) Build time: 00:01:23

Core - Full Integration Build 10377 outcome was FAILURE using a merge of 4933c8ca0c4e0ee4afb9094c2cd6e340a889bca4
Summary: Compilation error: Compiler (new) Build time: 00:01:26

Core - Full Integration Build 10434 outcome was FAILURE using a merge of d04ad69a364913407a661486a1d5570f67d262c9
Summary: Compilation error: Compiler Build time: 00:01:43

Core - Full Integration Build 10379 outcome was FAILURE using a merge of d04ad69a364913407a661486a1d5570f67d262c9
Summary: Compilation error: Compiler Build time: 00:01:54

Core - Full Integration Build 10445 outcome was UNKNOWN using a merge of 151880ed8b7825dee0df01b75c46203d8e9d4397
Summary: Canceled (Error while applying patch; cannot find commit c618da4602d2896826d058043200752603b59ad8 in the https://github.com/wildfly/wildfly-core.git repository, possible reason: refs/pull/4324/merge branch was updated and the commit selected for the ... Build time: 00:00:12

Core - Full Integration Build 10387 outcome was UNKNOWN using a merge of 151880ed8b7825dee0df01b75c46203d8e9d4397
Summary: Canceled (Error while applying patch; cannot find commit c618da4602d2896826d058043200752603b59ad8 in the https://github.com/wildfly/wildfly-core.git repository, possible reason: refs/pull/4324/merge branch was updated and the commit selected for the ... Build time: 00:00:13

Core - Full Integration Build 10389 outcome was FAILURE using a merge of 151880ed8b7825dee0df01b75c46203d8e9d4397
Summary: Compilation error: Compiler Build time: 00:01:11

Core - Full Integration Build 10447 outcome was FAILURE using a merge of 151880ed8b7825dee0df01b75c46203d8e9d4397
Summary: Compilation error: Compiler Build time: 00:00:46

this PR is out of sync with the main branch.
I'm closing it. Please reopen it when it is up to date and can be built.

Converted to draft as we are awaiting approval to include in an Elytron tag.

A chained build has been submitted here https://github.com/wildfly/snapshot-ci/issues/13

@SoniaZaldana this one has a merge conflict in the pom, could you please address (You may need to do git merge upstream/master to avoid changing the SHA of the subsystem bump).
Then can you please edit the description of https://github.com/wildfly/snapshot-ci/issues/13 to see if we can try another run,

Sorry @SoniaZaldana this one has a another merge conflict.
This PR is still active, just awaiting approval to merge.

Thanks @darranl, I resolved the conflict

@SoniaZaldana It looks like your changes for WFCORE-5027 have been accidentally dropped here. I'm only seeing the commit with the subsystem bump.

Core - Full Integration Build 10672 outcome was FAILURE using a merge of 73c4936095d6197cc272ab3561825b3683b6335e
Summary: Compilation error: Compiler (new) Build time: 00:02:01

Core - Full Integration Build 10599 outcome was FAILURE using a merge of 73c4936095d6197cc272ab3561825b3683b6335e
Summary: Compilation error: Compiler (new) Build time: 00:02:33

Core - Full Integration Build 10673 outcome was FAILURE using a merge of 5eccad679e9e3b8cc0171d1881b2723eaa8a2298
Summary: Compilation error: Compiler Build time: 00:01:21

Core - Full Integration Build 10600 outcome was FAILURE using a merge of 5eccad679e9e3b8cc0171d1881b2723eaa8a2298
Summary: Compilation error: Compiler Build time: 00:01:16


outdated dependencies

please update

https://github.com/shama/gaze/issues/178#issuecomment-168045946


[WIP] chore: Upgrade to Webpack 4

Upgrade Webpack to version 4
https://webpack.js.org/migrate/4/

It seems that we can also do this:

We should update ts-jest before, nevermind.


Update create-safe-sender-lists-in-office-365.md

Updating doc for secure by default.

@andypunt, is this OK to publish (the feature is in place)?

Can we commit this in mid-DEC?

@andypunt, sure. No problem.


feat: dashboards update from @louis

add Requirement Granularity
add Build count and Build Success Rate
update most Jira queries
rename Delivery Efficiency to Delivery Velocity
add Dashboard - Delivery Capability

⚠   Pre Checklist

Please complete ALL items in this checklist, and remove before submitting

[x] I have read through the Contributing Documentation
[x] This PR is using a label (bug, feature etc.)
[x] My code is has necessary documentation (if appropriate)
[ ] I have added any relevant tests
[ ] This section (⚠   Pre Checklist) will be removed when submitting PR

Summary

Key Points

[x] This is a breaking change
[ ] New or existing documentation is updated

Description
Describe what this PR does, and aims to solve in a few sentences.
Does this close any open issues?
Please mention the issues here.
Current Behavior
Describe the current behaviour of this issue, if relevant.
New Behavior
Describe the new behaviour updated in this issue, if relevant.
Screenshots
Include any relevant screenshots here.
Other Information
Any other information that is important to this PR.

Hi @joncodo , this is the up-to-date dashboards. You can update the Gitlab-related charts on this version otherwise there will be conflicts.


Feature: Add a '-recurse' flag to 'mox import maildir'

As it is common that mail accounts have lots of subfolders it would be nice to have mox recurse into subdirs when importing.
As an example (dovecot):
If I want to use mox import on this:
/vmail/example.com/accountOne/
/vmail/example.com/accountOne/.Inbox.Folder 1/
/vmail/example.com/accountOne/.Inbox.Folder 2/
/vmail/example.com/accountOne/.Sent/
/vmail/example.com/accountOne/.Junk/
/vmail/example.com/accountOne/.Trash/

I have to import every single folder:
./mox import maildir accountOne Inbox /vmail/example.com/accountOne
./mox import maildir accountOne 'Inbox/Folder 1' '/vmail/example.com/accountOne/.Inbox.Folder 1'
./mox import maildir accountOne 'Inbox/Folder 2' '/vmail/example.com/accountOne/.Inbox.Folder 2'
./mox import maildir accountOne Sent /vmail/example.com/accountOne/.Sent
./mox import maildir accountOne Junk /vmail/example.com/accountOne/.Junk
./mox import maildir accountOne Trash /vmail/example.com/accountOne/.Trash

Not mentioning translated named for some folders like accountOne/.Entw&APw-rfe (German: Entwürfe) for Draft.

hi @andreasheil, it's been a while, but this seems like a useful feature, thanks for reporting.
it seems the examples you gave are in "maildir++" format. with the leading dot, and further dot-separating (instead of slash-separating) folder names. https://en.wikipedia.org/wiki/Maildir mentions it as maildir++, and https://www.courier-mta.org/maildir.html mentions the dot-details.
an alternative seems to be submaildirs under the main maildir, as described in https://doc.dovecot.org/configuration_manual/mail_location/Maildir/.
it seems safe to automatically import submaildirs following either scheme: as long as they have cur,new,tmp subdirs, there shouldn't be any confusion about whether a directory is a maildir.
the imaputf7 parsing could be enabled with a cli flag.
the maildir import code currently expects a single directory to treat as maildir. we can import maildir/mbox from zip & tar files. tar files are streaming, so we may have to relax the "needs all of new/cur/tmp directories" rule into "needs just cur or new", importing any message file those subdirs when we encounter them.
because the code expects a single directory, we'll need to do some refactoring. the web-based zip/tar import code can already import from multiple mbox files, so it's not entirely new.
the cli import command could also benefit from an "import mbox" variant that imports messages from all ".mbox" files in a directory into mailboxes. but that could be out of scope.
i don't have a lot of time available at the moment, so it will take a while. if you want to give implementing it a try, i can give some pointers.

Ok, sounds good. I would like to implement that. Some pointers would be nice.

Excellent. I looked at the code just now. We have import.go (at the root) that implements the cli import commands. And we have webaccount/import.go, handling the import through the webaccount interface. Then there is store/import{,_test}.go implementing iterators over a single mbox or single maildir.
It turns out webaccount/import.go, which imports from zip/tar/tgz, can already handle multiple mbox and multiple maildirs. That code could be used as an example. It doesn't decode imaputf7 from mailbox names. It could be useful to add a checkbox "Decode UTF-7 in mailbox names" to the webaccount import frontend, and pass it to webaccount/import.go so it can decode names. A checkbox around https://github.com/mjl-/mox/blob/3bbd7c7d9b9b25c10ecab3ea23e32e1e7f922b86/webaccount/account.ts#L1240 and parsing imaputf7 at the beginning of importFile around https://github.com/mjl-/mox/blob/3bbd7c7d9b9b25c10ecab3ea23e32e1e7f922b86/webaccount/import.go#L688. We already have an utf7 decoder at https://github.com/mjl-/mox/blob/3bbd7c7d9b9b25c10ecab3ea23e32e1e7f922b86/imapserver/utf7.go#L28, just needs to be exported.
The cli import commands would need most work, "mox import mbox" and "mox import maildir". There are also unlisted variants "mox ximport mbox" and "mox ximport maildir": They operate without a running mox, but really just set up the process so it looks like a mox is running.
All cli-based importing starts at import.go's importctl(), https://github.com/mjl-/mox/blob/3bbd7c7d9b9b25c10ecab3ea23e32e1e7f922b86/import.go#L160. Above that code are function cmd* that are the cli command entrypoints, parsing flags. They call ctlcmd* functions that write to the mox server ctl unix domain socket, served by ctl.go, which ends up calling our importctl().
It seems to me that importing multiple mbox/maildirs in a directory is strictly better than importing a single mbox/maildir, so we don't need to keep the old behaviour. We can just modify importctl() to take an account and directory, no longer a mailbox name, but introduce a flag for decoding imaputf7, and just import anything that looks like an .mbox file or messages from a cur/new maildir directory. That means we can reduce to a single command "mox import" instead of the two variants for mbox/maildir.
The cli import code will work more like webaccount/import.go. It makes sense to start looking at that code first, and copy it, or refactor it for reuse. the webaccount import code currently processes mbox/maildirmessages from a zip or tar. Those zip or tar files could be abstracted into a Go interface that keeps returning next files to process. Then we just need an implementation that iterates over the directory we are importing, shouldn't be too hard. I think store.NewMaildirReader would become unused, but it will still be useful to keep around.
The webaccount import code sends updates over SSE (counts for a mailbox), while the cli command just writes textual updates, that will need some changes. The SSE-event-sending code is at the start of importMessages, at https://github.com/mjl-/mox/blob/3bbd7c7d9b9b25c10ecab3ea23e32e1e7f922b86/webaccount/import.go#L291. The cli variant could write lines like it does now (https://github.com/mjl-/mox/blob/3bbd7c7d9b9b25c10ecab3ea23e32e1e7f922b86/import.go#L145), or it's probably better to use a ctlwriter to stream formatted output to the command (https://github.com/mjl-/mox/blob/3bbd7c7d9b9b25c10ecab3ea23e32e1e7f922b86/ctl.go#L144 and https://github.com/mjl-/mox/blob/3bbd7c7d9b9b25c10ecab3ea23e32e1e7f922b86/ctl.go#L128). The formatted lines could print every 1000 messages, or when it encounters a new mailbox, again similar/same to the webaccount import code.
Hope this helps. I can explain more about the mechanisms of the ctl socket if that helps. Can also do interactive chat/call session to clarify.

Thanks @mjl-
I'll start right away with this.

I remember thinking some time ago: What about making a separate small subcommand that walks an existing Maildir, and decodes the imaputf7 path elements, and prints the import commands for each mailbox? Then you would just run those commands to get everything imported, perhaps slightly tweaking/correcting some names first. Saves quite a bit of hard work changing the import code.


[webapp] Prepare for scion-apps update script

A few more things should be done to allow webapp to run as a long-running web server:

Add export of logging to log file for later debugging.
Replace panic and fatal logging code to allow the web server to keep running.

https://github.com/netsec-ethz/scion-coord/issues/301


Suggestions to improve README.md

Feature Request

What can $options be in streamHtml() and getPdf()? Example?
"Enable the Bundle" is not necessary if you use Symfony 4 or Flex - I'm not sure which it is :-)
Which other defaults can be configured in core23_dompdf.yaml?
How can you add meta data (without the bundle it's: $dompdf->add_info('Title', $title);)

I can't create additional PR's, since I don't know the answers ;-)

How can you add meta data (without the bundle it's: $dompdf->add_info('Title', $title);)

Could be accomplished with the proposal of https://github.com/core23/DompdfBundle/issues/15 implemented

Feel free to improve the README.md file @ThomasLandauer


Add Karazhan background logo

I spent some time exercising my lacking graphic skills today and managed to make some icons that look ok. I won't submit a PR with them as they still look a bit too different from the rest of the icons, but feel free to use them while we wait.
My fork is here, and this is the commit.

Yeah, looks fine to merge, though I'd really like to take care of #19 so that we don't have to mess around with custom assets like that.

Yeah I saw that one, would be great :)
I went ahead and created https://github.com/HearthSim/sunwell/pull/20, after all.


Support aliases in Gateway

The linking we do in Adobe I/O Runtime and AWS Lambda depends on runtime functionality (sequences [OW] and version tags [AWS]) that have no equivalent in Google or Azure.
We can instead create the aliases in Fastly using an edge dictionary.
The downside is that Google and Azure won't be able to do aliased invocations on the same runtime, and would need to go back to universal runtime.

Azure might have a different option: http://json.schemastore.org/function says that function.json can have a scriptFile property, which means we could try to create a "scriptFile"<EMAIL_ADDRESS>alias and use a PUT request to create that file.


Fix ztunnel deployment on OpenShift

As cni, it requires special privileges.

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


Make it possible to increase or decrease goals by a certain amount in the Emotional Appraisal

It should be possible to increase or decrease goals by a certain amount instead of just setting them to a certain value.

Improvements have been made and it is now live

Improvements have been made and it is now live


updates needed for Azure DevOps for CI/CD

Hi,
could you please review this page? I am relatively new to Azure DevOps, but realized that this site is not very accurate anymore. Eg. when adding the server job, first the description itself is lacking some information, additionally this does not work anymore as in the instructions. Thanks!

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

ID: 229d5555-e668-139a-36a8-efa4b10f053e
Version Independent ID: af5a586a-05df-6476-e486-b5b6ae37cdbd
Content: Azure DevOps for CI/CD - Azure Machine Learning
Content Source: articles/machine-learning/how-to-devops-machine-learning.md
Service: machine-learning
Sub-service: mlops
GitHub Login: @fkriti
Microsoft Alias: kritifaujdar

@MichaelaHeindl
Thanks for your feedback! We will investigate and update as appropriate.


Add Precommit

failing at the moment due to simple lint issue; not fixing it here since will need to fix it in the #37 branch before; want to keep merge simple

Not relevant any more since added in #37


Changed logo

Hello PA @Manaregr8 ,
Issue resolved - #53
I have changed it on home page and about page.
Since products page which i have made is not merged yet, it still have previous logo
Kindly merge it with main
Best regards

Hello PA @Manaregr8 , Issue resolved - #53
I have changed it on home page and about page. Since products page which i have made is not merged yet, it still have previous logo
Kindly merge it with main Best regards

Hi @Ridhima10

Add padding-left: 20px; to li elements in menu.
I want gaming to have the same width as chrome in logo. {like you did before in your version}
On theme switching from light to dark mode i want the Chrome in logo to be black in color.

Great efforts, Thank You


Jamf C2C doc and release notes

Purpose of this pull request
This pull request is to create a new doc for Jamf C2C and the respective release notes.
Select the type of change

[ ] Minor Changes - Typos, formatting, slight revisions
[ ] Update Content - Revisions, updating sections
[x] New Content - New features, sections, pages, tutorials
[ ] Site and Tools - .clabot, version updates, maintenance, dependencies, new packages for the site (Docusaurus, Gatsby, React, etc.)

Ticket (if applicable)
JAMF C2C - Documentation

@jpipkin1 Sorry, I missed it. Thanks for helping me with that and for your review.


Is agent.py finished?

Hi, thanks for your great work. I wonder agent.py has already finished? Is its function just to provide a heuristic template for us to refer to, and the specific functions still need to be completed by ourselves?

Hi,
The environment is in gym style so it's easy to integrate any RL algorithms. PRs are welcomed.

I get it. Thanks a lot.

I get it. Thanks a lot.


[Enhancement] Reduce cache miss when evaluate lots of expr in aggregate

What type of PR is this：

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

move some function call expr from project node to aggregate node
evaluate function call expr before call aggregate node

cache miss
before:

after:

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto backported to target branch

[ ] 2.5
[ ] 2.4
[ ] 2.3
[ ] 2.2

run starrocks_admit_test

run starrocks_admit_test

run starrocks_admit_test

run starrocks_fe_unittest

run starrocks_admit_test

run starrocks_admit_test

[FE PR Coverage Check]
:heart_eyes: pass : 78 / 80 (97.50%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/rule/tree/ExtractAggregateColumn.java
77
79
97.47%
[82, 91]

:large_blue_circle:
com/starrocks/sql/optimizer/Optimizer.java
1
1
100.00%
[]

run starrocks_admit_test


Add Core Wev vitals metrics

Hello there!
Thank you very much for the wonderful exporter!
Can we add core web vitals metrics to the exporter?

Hi @ngnix, we certainly can. Are you able to make a PR with this functionality?

Hello, @martinhaus !
Sorry but i cannot write code and send PR.
I hope for your help.


Improve detection of Debian testing

IMHO it would be nicer if a numeric value would be reported for release on Debian testing/unstable that is guaranteed to be larger than the current version number of Debian stable eg. 999999 or 2^32-1.
That would simplify serverspec tests that check for a minimum or maximum Debian version like
context 'Bullseye or newer', if: os[:release] .to_i >= 11 do
  …
end

instead of
context 'Bullseye or newer', if: os[:release] .to_i >= 11 || os[:release] == 'testing' do
  …
end

Please do not include irrelevant changes. Removing sfl is not relevant to the purpose of this PR.


add rooch documents TOC

#776

For example, tx flow, L1ToL2 flow, L2ToL1 flow, multi-chain settlement will be under this directory

That sounds good.


Can't merge pull requests

@rossbar @jarrodmillman @matthew-brett
Hi Ross,
We followed your instructions from today and can push to our own forks. However, no one can merge the requests into berkeley-stat159/project-zeta since no one has write access.
How can we fix this?
Also, our build is unknown. Is it because we aren't listed here? https://travis-ci.org/berkeley-stat159
Best,
Team Zeta
(P.S. Matthew & Jarrod, to catch you up, we accidentally pushed 2 GB of data and it got saved into our commit history. So cloning the repo took forever. Ross was able to delete it from the history, and make us a new folder on github. However, I think we need to resync that with Travis CI and get write access for our members.)

I've re-added team-zeta as collaborators - try now

Pull requests work like a charm now! Thank you! :)
How can we get the Travis Build to work?

How about now?

You may need to push something in order to trigger the travis build

Everything is working perfectly now! Thank you so so so much!


[Desktop] Make app use system titlebar on linux and add option to switch to custom

might be good for windows too

Issue created by BlueBubbles Bot in the BlueBubbles commnity on behalf of @jojejo in #desktop-support.

Linux uses system titlebar by default now as of a0bbf4b Keeping this open so we add a toggle in the future

I think we did this, no?

Apparently this is still an issue

Apparently this is still an issue

Yes. For now if you don't want both, the only option is to hide the custom titlebar in desktop settings

done


ChangeTokens and signalling Deleted files

Hello,
In my custom IFileProvider, i'd like it to behave correctly when a file being watched is deleted. I already have it returning a custom IChangeToken for the watched file, but i'm not clear on exactly what needs to be done in order to correctly signal a Delete. Are there any examples of this that I could look at? Is it just as simple as passing Null when raising the callbacks - i.e:
                     myChangeToken .HasChanged = true;
                    myChangeToken.RaiseCallback(null);

Where all RaiseCallback does is loop through the subscribed listners and invoke them passing the specified argument - which usually would be the updated file, but in this case as the file is deleted, I guess I would need to set it to null?

This issue was moved to aspnet/FileSystem#241

oops sorry wrong repo! That will teach me to have too many github pages open at once.


verifyAndLogin -> Match.where error

Hello! I found your package very useful, thank you for it!
But I got a problem I can't find a way to solve.
For created user instead of logginWithPassword after email and password submit I want to confirm his email for signIn:
->  I'm using getAuthCode instead of ligginWithPassword:

-> afterwards I can get user and code in sendCode:

-> then, I'm getting email with a link to my component where I can read token from route:

-> after I'm following the link where my verification component trying to veryfyAndLogin

=> but I'm getting error:

I think that selector doesn't have access to state and can't provide such data as 'user' and 'password' to login. I think that I don't understand it properly and hope on your help!
Will be glad to contact in telegram if smth.
My contacts: +375(29)182-52-97 / chelovekdrakon.
Sincerely Fiodar Morau.

as I understand: state is temporary client-side variable like Session
if so, should I only do this confirmation in one tab?

@chelovekdrakon I guess I can help you here.
You're right, userQuery (email or username) and password are stored locally in reactive dict and not accessible from new tab.
I'd suggest you to separate processes: email verification and login with two factor.
Two factor login is for confirming identity, email verification is for confirming access to email inbox.

@vbelolapotkov okey, thank you :)


0.73.0 - light.tplink - division by zero

Home Assistant release with the issue:

0.73.0
Last working Home Assistant release (if known):
0.72.1
Operating environment (Hass.io/Docker/Windows/etc.):

Docker / RPI3B
Component/platform:

light.tplink
Description of problem:
LB100 causes division by zero error with kelvin temperature conversion. seems #15020 could be the culprit
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
light:
  - platform: tplink
    host: <IP_ADDRESS>

Traceback (if applicable):
homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 214, in async_update_ha_state
    attr = self.state_attributes or {}
  File "/usr/lib/python3.6/site-packages/homeassistant/components/light/__init__.py", line 504, in state_attributes
    value = getattr(self, prop)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/light/tplink.py", line 110, in min_mireds
    return kelvin_to_mired(self.smartbulb.valid_temperature_range[1])
  File "/usr/lib/python3.6/site-packages/homeassistant/util/color.py", line 474, in color_temperature_kelvin_to_mired
    return math.floor(1000000 / kelvin_temperature)
ZeroDivisionError: division by zero

Additional information:

Hmm, LB100 does not support temperature changing, so the backend library reports 0 as min & max kelvin. The fix would be to check for that and return whatever is the default return for those methods.

Probably return None for min_mireds with that bulb?

This was the fix for me. Edit color.py
From:
def color_temperature_kelvin_to_mired(kelvin_temperature):
    """Convert degrees kelvin to mired shift."""
    return math.floor(1000000 / kelvin_temperature)

To:
def color_temperature_kelvin_to_mired(kelvin_temperature):
    """Convert degrees kelvin to mired shift."""
    if kelvin_temperature != None and kelvin_temperature != 0:
      return math.floor(1000000 / kelvin_temperature)

Same problem here - LB110 doesn't have colour control, so now they are broken in the GUI. Still seem to work in automations, but it would be good to see this fixed. Is there an ETA?
I am using hassio, so hard to fix the source.

I'm wondering if the get_features() should already be called in setup_platform()? That way min_mireds and max_mireds should never be accessed and this issue would be solved without other changes. Anyone mind testing if that'd do the trick?

Its interesting to see this issue reappear. It used to occur way back in the early days of the tplink platform. Strange to see it resurface now. Was working fine for me until 0.73.1. For now I'll go back to altering color.py as I did in the old (lol maybe a year ago) days.

I had the same issue and the implemented something similar as comment 6 https://github.com/home-assistant/home-assistant/issues/15339#issuecomment-405041884

If you are going for a local change, please test #15484 since that is what we expect will fix this issue.

seems resolved in 0.74.0

It seems that @rytilahti managed to fix it with #15571 👍


Fix firestore warning by using Timestamp instead of dates

Fixes #140

Codecov Report

Merging #141 into master will increase coverage by 0.29%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master     #141      +/-   ##
==========================================
+ Coverage   24.15%   24.45%   +0.29%
==========================================
  Files          82       82
  Lines         505      507       +2
  Branches       25       25
==========================================
+ Hits          122      124       +2
  Misses        369      369
  Partials       14       14

Impacted Files
Coverage Δ

app/redux/matches/matches.actions.js
16.66% <0%> (ø)
:arrow_up:

app/redux/store.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3a55a60...0d8b24f. Read the comment docs.


Fix conhost clipboard handling bugs

conhost has 2 bugs related to clipboard handling:

Missing retry on OpenClipboard: When copying to the clipboard
explorer.exe is very eager to open the clipboard and peek into it.
I'm not sure why it happens, but I can see CFSDropTarget in the
call stack. It uses COM RPC and so this takes ~20ms every time.
That breaks conhost's clipboard randomly during ConsoleBench.
In non-benchmark practice I expect this to break during RDP.
Missing null-terminator check during paste: CF_UNICODETEXT is
documented to be a null-terminated string, which conhost v2
failed to handle as it relied entirely on GlobalSize.

Additionally, this changeset simplifies the HGLOBAL code slightly
by adding _copyToClipboard to abstract it away.
Validation Steps Performed

ConsoleBench (#16453) doesn't fail randomly anymore ✅

@DHowett This is another PR we could merge into 1.19 inbox if we wanted to. It does fix actual bugs, but they have been in conhost since forever and so I'm not sure how important fixing it ASAP is.

@lhecker merge conflict from Tushar's work


Create Kong image for s390x and multi-arch image

Create a multi-arch Kong image using official docker images for amd64 and arm64, plus a custom-built image for s390x (no s390x image currently exists).

Docker Hub multi-arch image, including s390x: https://hub.docker.com/repository/docker/linuxforhealth/kong


improvements to the examples

I'm just dropping a number of improvements that would improve the experience of these examples.  I have some of these in my local tree but maybe an expert should take a crack at it.

Add a headless mode.  Disable overlays, dump everything to fakesink, and obviously disable all syncing.
Change detection.py to use tiling.  As far as I can tell, the detection example is basically tiling with 1 tile.  So it's a subset of a tiled example.  Given how unreadable and difficult these pipelines are to construct, I think this would be a much more demonstrative and helpful example.
Either fix the hangs or build in a watchdog.  In file mode the code hangs quite a lot -- I can't imagine how you guys are managing to get through a release process and regression with this many hangs.  A very brief look at utilization shows it's hanging at or near the end of a run while polling for some file descriptor.  Maybe put a sensible timeout in the poll, or pop up a watchdog thread.  Or fix the hang.  Pick one, two, or all three, but don't pick none.

@goatzillax can you please share which RPi 5 you got (4GB / 8GB) and which video encoding and resolution you use?
In addition please make sure you enabled the PCIe gen 3.


BambooBSC Setup & Further Development

Hi Chen,
I came across BambooBSC almost a month ago. I loved it and wanted to use it for my organization and customize it a little bit according to my company's business model.
I successfully deployed the VM part. I can browse the software in my host machine's browser. Everything is working almost fine.
I have few questions, hope you don't mind answering them :)

Can this application be modified? All I see is *.jar files everywhere (except HTML, JS, CSS etc). I am assuming that I can only use the end product as it is without any further development. Am I right?

If yes, then how? Where can I find the business logic files?

I wanted to remove some extra columns in 'Scorecard' section but I couldn't find any controller, model etc. I assume there must be a place where I can update the SQL queries and fetch only what I need.

I tried to create a development environment on my local machine but failed. I couldn't understand the documentation properly. Can you provide some additional documentation material? So that I can see if I made any mistakes or not.

I really need your help, please please please reply soon. I shall be very thankful to you for your favor.

Hi , you maybe need use Eclipse load the developer project, https://github.com/billchen198318/bamboobsc#build-development-environments

Thanks for the reply Chen.
https://github.com/billchen198318/bamboobsc/archive/v0.7.4.zip
Is this the developer project your are referring to?

use Eclipse git-plugin load project from git https://github.com/billchen198318/bamboobsc
reference how to use Eclipse load project form github https://stackoverflow.com/questions/6760115/importing-a-github-project-into-eclipse

Great, and what version of Eclipse IDE do you think is best for BambooBSC? I'm going to try the latest one.

Hi Chen,
I have configured bambooBSC on my Window 7 machine. This is what I have done so far:

Cloned the repository in C:\home\git\bamboobsc-master.
Imported all projects in Eclipse. Please see this snapshot http://prntscr.com/lpepmg
Configured external libraries for core-lib (http://prntscr.com/lpeqtm), core-base (http://prntscr.com/lper6b), and gsbsc-standard (http://prntscr.com/lpes1h).
Cleaned all projects.

Even after following all steps mentioned at https://github.com/billchen198318/bamboobsc#build-development-environments, I am still getting this error http://prntscr.com/lpetax.

https://www.mkyong.com/eclipse/where-is-eclipse-deploy-web-application-tomcat/
and need modify project resource/applicationContext/conf/applicationContext-dataSource.properties database connection config, with need start MySQL service.

I did configure the database and tomcat server. Tried starting the tomcat server from eclipse:

After this I tried running the project in my chrome browser:

Mysql server is also up and running:

Also imported bbcore database:

I have no idea what to do next. Please help.

I already added them:

My tomcat server is also up and running:

But when enter http://<IP_ADDRESS>:8080/core-web/index.action in my browser it gives me this:

Why am I getting this error?

And when i navigate to Scorecard > Vision I get this screen:

Here is what Application Site settings page shows:

Hi, guys, I need your help I'm trying to BambooBSC Setup in eclipse but getting so many errors.
I need your help, please.

VijayanMurugan95:
Maybe you can try this ( bambooBSC develope workspace resource for Eclipse EE windows version) : https://github.com/billchen198318/bamboobsc/releases/download/v0.7.7/bamboobsc-0.7.7-DEV-source-resource.7z
bye.

hi thanks for your reply if need any help from the feature  I will ping you thanks again.

@muhammad-ali-kolachi i am creating a development environment but i face issue after cleaning the project. Issue like
The Project was not built since it depends on core-base, which has build path errors.
Do you face these error?

yes, I too faced the same issue.
On Mon, Dec 14, 2020 at 6:33 PM Junaid-Amjad<EMAIL_ADDRESS>wrote:

@muhammad-ali-kolachi https://github.com/muhammad-ali-kolachi i am
creating a development environment but i face issue after cleaning the
project. Issue like
The Project was not built since it depends on core-base, which has build
path errors.
Do you face these error?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/billchen198318/bamboobsc/issues/72#issuecomment-744424856,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALX6UCWM6JHBTW2QOA7B6D3SUYEJRANCNFSM4GGFKA6Q
.

--
Thanks.

@Vijayan-Murugan-Mvp did you resolve it?

Yes, I did.
On Mon, Dec 14, 2020 at 9:07 PM Junaid-Amjad<EMAIL_ADDRESS>wrote:

@Vijayan-Murugan-Mvp https://github.com/Vijayan-Murugan-Mvp did you
resolve it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/billchen198318/bamboobsc/issues/72#issuecomment-744521507,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALX6UCXA76ZVTPQEEFKLFADSUYWJ7ANCNFSM4GGFKA6Q
.

--
Thanks.

Can you please tell me how did you do that.

@Vijayan-Murugan-Mvp  Can you please tell me how did you do that.

Hi Amjad,
After importing the project in eclipse you have to include the missing jar
files in the project folder. you need to add jars as an external jar
On Tue, Dec 15, 2020 at 1:12 AM Junaid-Amjad<EMAIL_ADDRESS>wrote:

@Vijayan-Murugan-Mvp https://github.com/Vijayan-Murugan-Mvp Can you
please tell me how did you do that.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/billchen198318/bamboobsc/issues/72#issuecomment-744666715,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALX6UCXN3CMXSDATIOYPAUTSUZTCPANCNFSM4GGFKA6Q
.

--
Thanks.

Hi @Vijayan-Murugan-Mvp, which bamboobsc did you used?  I am using 0.7.8 and I added jar files as instructed in the github. But it was not resolved.

Hi Amjad,
I'm using 0.7.7
can you give me the project clone URL I will try to resolve that errors.
sorry for the late
On Tue, Dec 15, 2020 at 11:29 AM Junaid-Amjad<EMAIL_ADDRESS>wrote:

Hi @Vijayan-Murugan-Mvp https://github.com/Vijayan-Murugan-Mvp, which
bamboobsc did you used? I am using 0.7.8 and I added jar files as
instructed in the github. But it was not resolved.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/billchen198318/bamboobsc/issues/72#issuecomment-745072288,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALX6UCVA45CQKUVEQ35XJZLSU33KVANCNFSM4GGFKA6Q
.

--
Thanks.

Reference the step-by-step build development environment video.
download from https://github.com/billchen198318/bamboobsc/releases/download/v0.7.8/bamboobsc-0.7.8-build-dev-env-mp4-video.7z
need use 7zip to extract.

@billchen198318 Thanks for the video, but i configured it after google the problems. It is configured and running on the browser right now. The steps you have taken is different then the steps which i take from the google. If i face any issue related to the application then i will cross verify it from the video. Thanks for the help.


Guidance on when to use brackets

What do you need?
https://github.com/AusDTO/gov-au-content-guide/issues/125
Which entry/section is this related to?
http://content-guide.apps.staging.digital.gov.au/punctuation-grammar/

Now being tracked in Trello


Flutter 3 Support

Just update your flutter to latest 3.0.0 release.
Warning: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null.
 - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../../fvm/versions/stable/packages/flutter/lib/src/widgets/binding.dart').
        WidgetsBinding.instance?.scheduleFrameCallback((_) => animateRemove());

relate to https://github.com/boyan01/overlay_support/issues/76
You can use 2.0.0-beta.0
I'll publish a stable 2.0.0 version in few days.

overlay_support: ^2.0.0 published


Adding class level annotations to generated Java files from jsds

I want to add the following annotation to my generated java file from jsd files.( Want a mechanism to specify that in the jsd file)
@JsonIgnoreProperties(ignoreUnknown = true)
I went through the documentation here https://github.com/joelittlejohn/jsonschema2pojo , but couldn't find anything. Looking forward to hearing from you.

The only option here is a custom annotator:
http://joelittlejohn.github.io/jsonschema2pojo/site/0.5.1/generate-mojo.html#customAnnotator
https://stackoverflow.com/a/48411162/125825

I have created a custom annotator for adding the class level annotation @JsonIgnoreProperties(ignoreUnknown = true) - https://github.com/josesmithesh/jsonschema2pojo-ignoreunknown-annotator. Even though it is simple, it may not be straight forward for a beginner to implement it.
@joelittlejohn Do you have any concerns if I go ahead and publish it in maven central?

That's great. Go for it!

Fantastic!


Added search-bar icon

Added search-icon in find jobs and scholarships to make it more enhanced.

@Pooja3Bhattrai sure you can work on it make sure to follow the contributing.md properly especially the commit part it will help you get the github co author badge

make sure to star the repo

yes did star to the repo.    I  am also done with responsive task.

@Pooja3Bhattrai but i told you that i have assigned the responsive task to other contributor

Hello, sir plz assign to me this issue .

@Nikhilkumar111 hi already told you that it is first come first serve

@Nikhilkumar111 please create your own issue

@Pooja3Bhattrai but i told you that i have assigned the responsive task to other contributor

ok alright, no worries


binary search

(high + low) >>> 1 could be changed to (high - low) >>> 1 + low;

If you believe that there is undocumented and unwanted overflow in the code, please point at it specifically and provide a corresponding unit test to verify. Pull request invited.


changelog: document incompatibility of viv files

.viv files (generated by vivisect) are not compatible between Python 2 and Python 3. This causes capa to raise an UnicodeDecodeError exception and should be documented better. I'll add this change to the release notes after the review.
Related to https://github.com/fireeye/capa/issues/469

Requested change applied. Merging and updating release notes...


fixed issues with PropTypes. implemented new dependency to handle tha…

…t: prop-types

Awesome, thanks!


Images without file extensions don't appear

With <Image>, the source URI doesn't need a file extension to be recognized and rendered properly as an image. I just tested <ResponsiveImage> and that also works.

Do you have an example URI ?

Here's one: https://s3.amazonaws.com/timemachinemedia/00081e4c6376f8abb5305d447d8c378d_file
Thanks for looking into this!

@pejalo
When I click this link in the browser, it tries to download. Doesn't that mean the URL is returning the incorrect mime/type? If it was an image shouldn't the browser display it ?

Hey @jayesbe you are probably right. The image was just uploaded as a blob of data to Amazon S3. Apparently AWS has no way of bulk-updating the HTTP headers that are served along with the file.
It makes sense that the browser can't download the entire file automatically and then inspect it to see what to do with it. But in the case of using a component like <Image> or <CacheableImage> it certainly is convenient to have it be treated like an image by default.
I ended up using this instead because it "just works" like <Image>:
https://github.com/kfiroo/react-native-cached-image
BTW I was also having issues with <CacheableImage> where sometimes they would not load. This is probably because I needed to render 20+ instances on the screen all at once.

I've found that iOS will not display a local image without an extension because it assumes PNG. More details here: https://github.com/jayesbe/react-native-cacheable-image/issues/23#issuecomment-260864612
The fix for this is to append an extension to the cached copy if one doesn't exist. The library you linked appends 'jpg' to any file without an extension: https://github.com/kfiroo/react-native-cached-image/blob/master/ImageCacheProvider.js#L41

Interesting... thanks @nbolender ! I wonder if <Image> uses the same approach.

Thanks, @nbolender !


libvmi: Introduce new common libvmi Option for cloud init

To reduce the number of potential forms of cloud init options, this commit introduces new common Option: WithCloudInitVolume, to create custom cloud init volumes.
This new option, receives CloudInitBuilder as a parameter.
The new CloudInitBuilder interface defines the following methods:

WithUserData(string) CloudInitBuilder
WithEncodedData(string) CloudInitBuilder
WithSecretName(string) CloudInitBuilder
WithNetworkData(string) CloudInitBuilder
WithNetworkEncodedData(string) CloudInitBuilder
WithNetworkSecretName(string) CloudInitBuilder

There are two builders, to build the cloudInit volume:

NewNoCloudResourceBuilder
NewConfigDriveResourceBuilder

Example:
vmi := libvmi.New(
    libvmi.WithCloudInitVolume(
        NewNoCloudResourceBuilder().WithUserData("user data"),
    ),
)

Release note

None

/assign

Done in #12145


⚠ ClamAV has degraded performance

In 3edf846, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 70 ms

Resolved: ClamAV performance has improved in bffe52a after 5 minutes.


Slate watch command Invalid theme id

Problem
[22:23:33] Starting 'watch'...
[22:23:33] Starting 'validate:id'...
[22:23:33] Finished 'watch' after 7.92 ms
[22:23:33] Invalid theme id for development: undefined theme_id must be an int
eger or "live".
Replication steps
slate watch
More Information
config.yml
development:
password:[password]
theme_id:[12345]
store:[storename].myshopify.com
#ignore_files:
#- settings_data.json # Uncomment this line to avoid resetting theme settings

Hi @itzm3, can you provide a few more details?
I assume this doesn't work when running slate start as well. The error output is telling you what's wrong. If you're actually using the format you posted, you'll want to remove the brackets from the password, theme_id and store values, e.g.:
password:somelonghash
theme_id: 1234567
store: myshop.myshopify.com


Add Preprocessing Wrappers

Added few wrapper classes to handle preprocessing cursors..

InclusionDirective
PreprocessingDirective
MacroExpansion
MacroDefinition

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: udaken sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Overall LGTM.
Just a nit about the layout of the types.

@tannergooding Thank you for the review.
I changed it.


How can I intercept an event type?

Hi,
I was looking into using Tiny.Invoke for creating the necessary code for my multicast events in Spring4D for non windows platforms which currently use the dead slow System.Rtti.
However I cannot find a way how to intercept a tkMethod type. I need an intercept callback for a TMethodSignature similar to how I can see in the VirtualInterface Demo.
Regards

Hi, Stefan!
Events (methods) can be intercepted. On the one hand, this is easier to do than interfaces. On the other hand, it's a little more complicated. The main difficulty in intercepting events is to store the overhead. Below I sketched a simple example of how to make a virtual event inheriting from a virtual interface. I hope this will help you understand the features of the library.
program Project1;

{$I TINY.DEFINES.inc}
{$APPTYPE CONSOLE}

uses
  SysUtils,
  Tiny.Types,
  Tiny.Rtti,
  Tiny.Invoke;

type
  TVirtualMethod<TMethod> = class(TRttiVirtualInterface)
  protected
    {$ifdef WEAKINSTREF}[Unsafe]{$endif} FValue: TMethod;
  public
    constructor Create(const ACallback: TRttiVirtualMethodInvokeEvent);
    property Value: TMethod read FValue;
  end;

constructor TVirtualMethod<TMethod>.Create(const ACallback: TRttiVirtualMethodInvokeEvent);
var
  LTypeData: PTypeData;
  LSignature: TRttiSignature;
  LMethods: TRttiVirtualMethodDataDynArray;
  LSystemMethod: ^System.TMethod;
begin
  LTypeData := GetTypeData(TypeInfo(TMethod));
  LSignature.Init(LTypeData.MethodSignature, @DefaultContext);

  SetLength(LMethods, 1);
  LMethods[0].InterceptFunc := LSignature.OptimalInterceptFunc;
  LMethods[0].Method.Name := Pointer(@PTypeInfo(TypeInfo(TMethod)).Name);
  LMethods[0].Method.Index := 0;
  LMethods[0].Method.Signature := InternalCopySignature(LSignature);
  LMethods[0].Method.Context := nil;
  FDefaultInvokeEvent := ACallback;
  LMethods[0].Callback := GetCallback(FDefaultInvokeEvent);

  CreateDirect(nil, LMethods);

  LSystemMethod := Pointer(@FValue);
  LSystemMethod.Data := @FTable.Vmt;
  LSystemMethod.Code := FTable.Vmt[3];
end;

type
  TMyMethod = function(const X, Y, Z: Integer): Integer of object;

var
  MyMethod: TMyMethod;
  MyMethodStorage: IInterface;
  R, X, Y, Z: Integer;

begin
  MyMethodStorage := TVirtualMethod<TMyMethod>.Create(
     function(const AMethod: Tiny.Invoke.TRttiVirtualMethod;
      const AArgs: TArray<Tiny.Rtti.TValue>; const AReturnAddress: Pointer): TValue
    begin
      Result := AArgs[1].AsInteger + AArgs[2].AsInteger + AArgs[3].AsInteger;
    end) as IInterface;
  MyMethod := (MyMethodStorage as TVirtualMethod<TMyMethod>).Value;

  X := 1;
  Y := 2;
  Z := 3;
  Write('Summ(', X, ', ', Y, ', ', Z, ') = ');
  R := MyMethod(X, Y, Z);
  Writeln(R);

  Write('Press Enter to quit');
  Readln;
end.

Thank you - I tried without putting it into the TRttiVirtualInterface instance because that seemed like unnecessary overhead - can I assume that the intercept stubs that you generate are generated specifically for the layout of that class so that is why I ended up getting AVs when trying this?

Quite right. The interception was done specifically for virtual interfaces. Because virtual interfaces are more complex and more commonly used.
There are 3 stages of interception:

Depending on the number of the interface function, the corresponding TRttiVirtualMethodData is looked for in the dynamic array. For the case of a virtual event, the function number is 0, so we can not use a dynamic array, but immediately put a pointer to the desired structure.

  TInterception = packed record
    MethodData: PRttiVirtualMethodData;
    Data: packed record end;
    // System.TMethod(MyMethod).Data := @Interception.Data;
    // System.TMethod(MyMethod).Code := Signature.InterceptJumps[0];
  end;

asm
  ...
  mov edx, [eax - 4]
  add edx, ITEM_OFFSET
  jmp [edx] // jmp MethodData.InterceptFunc
end

TRttiVirtualMethodData contains all necessary information about the method. The InterceptFunc function is important, it reads and writes registers relative to the dump. It can be determined either through Signature.OptimalInterceptFunc or Signature.UniversalInterceptFunc. After the used registers are written, the TRttiVirtualMethodData.Callback is called, which is user-defined.
High-level interception can be used if necessary (TValue). Conversion of dump values to TValue array occurs in the TRttiVirtualInterface.InternalEventCallback procedure.

Thanks again
I was able to make it work to power the multicast events - performance is nice on Windows (still a little slower than the handwritten asm implementation though) and while a couple times slower on Linux it runs circles around what I had using System.Rtti.

Tell me what multicast events are
Maybe I will be able to offer an effective solution
A big request, if there is any code that runs slower in Linux than the standard solution - please open a corresponding ticket. Thank.

https://bitbucket.org/sglienke/spring4d/src/534d63bccd0891d165d6cee1cbfff18df790661e/Source/Base/Spring.pas#lines-1066
Internal implementation is in https://bitbucket.org/sglienke/spring4d/src/develop/Source/Base/Spring.Events.pas and this is where I added the support for Tiny.Invoke (still in a private branch as there is more going on unrelated to this)
Basically the observer pattern as a ready to use data type and fully compatible with any Delphi event or method reference type.
And no I am just saying that the same code runs a couple times slower on Linux than it does on Windows - but I blame the poor optimization of the Delphi Linux compiler for that. Using Tiny.Invoke is several magnitudes faster than using System.Rtti which was why I tried it in the first place.

Anonymous method and event with the same signature practically do not require intermediate interception and invocation.
It is very easy to create an event, that invoke an anonymous method:
program Project1;

{$APPTYPE CONSOLE}

type
  TMyMethod = function(const X, Y, Z: Integer): Integer of object;
  TMyAnonimous = reference to function(const X, Y, Z: Integer): Integer;

var
  MyMethod: TMyMethod;
  MyAnonimous: TMyAnonimous;
  R, X, Y, Z: Integer;

begin
  MyAnonimous := function(const X, Y, Z: Integer): Integer
  begin
    Result := X + Y + Z;
  end;

  // MyMethod := MyAnonimous;
  TMethod(MyMethod).Data := PPointer(@MyAnonimous)^;
  TMethod(MyMethod).Code := PPointer(PNativeUInt(TMethod(MyMethod).Data)^ + 3 * SizeOf(Pointer))^;

  X := 1;
  Y := 2;
  Z := 3;
  Write('Summ(', X, ', ', Y, ', ', Z, ') = ');
  R := MyMethod(X, Y, Z);
  Writeln(R);

  Write('Press Enter to quit');
  Readln;
end.

In newer versions of Delphi, the inverse transformation is even easier:
MyAnonimous := MyMethod;

But since what version of Delphi this construction works - I don't know. You may have to do the transformation magic manually.

You are missing the point but that's ok.


A few changes in README and add LICENSE file

Hello,
This project has been part of eLabFTW since quite some time now! Thanks for putting it out there. I'll probably have to write something new when jQuery goes out the door but for now it does its job well :)
Please consider merging these few minor cosmetic changes, it's just to make the README more readable and the LICENSE file will help GitHub and others figuring out the usage conditions.

Before

After

Happy to hear this little old thing has been useful 👍
Thanks for improving the formatting and adding license text.


View automatically finished when the live did not

Hello there... idk if this actually was addressed but I couldn't find it, at least, in oppened issues.
The thing is that at some poit, I get to this page, sometimes just once, sometimes repeatedly at the point of the live almost being imposible to watch... when the live is not even finished.

It has been happening to me since I discovered this tool (like two years ago).

unfortunately that's just Youtube itself screwing up, when the streamer's internet quality is bad the Embed Player (which we use) have more bugs than the Youtube.com Player.
I obviously can't fix youtube bugs, so we're stuck.
Maybe try installing Holodex+ extension (can find instruction on the about page) and it might help the error, but I forgot if there's error mitigating features in that extension...


Fix drone CI tests

default OS Ubuntu 18.04
if standalone mode has been removed from URL, then also removing 'standalone' test.
the other cmake test is looking for all boost libraries & their CMakeLists.txt.  The solution is to build "in tree".
add missing libc++abi-dev

This was already merge.  Closing PR.


Constant resizing in browser view

when I load the stellaru window in chrome the Waiting (Connected)... bar/icon constantly jumps between two indentation states which is incredibly annoying when your trying to look at a graph and its resizing every few seconds. Can be fixed by adjusting zoom level but ideally this would not happen at any scale.

Sounds like the text in the box gets too big and wraps onto a new line?

Cut a new release for you with the fix: https://github.com/benreid24/Stellaru/releases/tag/v2.0.2
Thanks for pointing that out!

wow, awesome turn around, yes that is what is happening. Thank you!


Separate search logic from render logic

Hi :)
I think, since autoComplete.js expose a class, it should be better to separate the search logics and the render logics.
It'll allow people to render the results in the way they want.
For example in my app, I would like to render the results in a <ion-list> element with <ion-item> inside, so the <ul> and <li> elements doesn't suits to me.
With that features I would be able to do that, by getting the search results and displayed them the way I want

Hello @Johann-S your requested enhancement has been tackled and implemented in the current new release v5.0, NPM & CDN.
Check it in the playground
Cheers! :)

Thanks man you're awesome 👍


Add blog post about J5 v1.0

Hello! This PR adds a (draft) blog post about the release of Johnny-Five 1.0. Please do not merge as-is! We need to (at the least) determine whether we're going to tag another pre-release before 1.0, and @nebrius should get a change to do editorial revision.

Aha! Apparently I can't assign reviewers. @nebrius and @rwaldron HELLO ALERT! 😄


ClothingPrefix is broken

Test case is looking at jumpskirts. If you equip one in-game it will just be the male version of the jumpsuit on your body. The YAML has a ClothingPrefix which is supposed to specify the prefix for the -equipped- version of the sprite.
Unfortunately it doesn't appear to work. A hacky workaround for it is to rename the inhand clothing sprite to the prefix of the -equipped- clothing sprite and then it will work.
It's hard to explain but if you look at the YAML files and the ingame reality you'll see that it's broken.

Fixed by #1442. Closing.

Fixed by #1442. Closing.


Delete commands (deleteLeft, deleteRight) don't work in dialogs

Issue Type: Bug
Steps to reproduce

Add the following to keybindings.json

{
        "key": "ctrl+h",
        "command": "deleteLeft"
},

Verify it works in file focus

Execute it in a dialog focus (find or command palette) and get unexpected result

Expectation: A character from the focused dialog should be deleted
Actuality: A character from the last editor focus is deleted
When I search the binding for my backspace key in Preferences: Open Keyboard Shortcuts, it shows that backspace is bound to deleteLeft. The aforementioned result is all the more unexpected considering that the backspace key does what I expect whereas ctrl+h doesn't, even though they are "supposedly" bound to the same command.
VS Code version: Code 1.66.1 (8dfae7a5cd50421d10cd99cb873990460525a898, 2022-04-06T14:50:12.141Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz (8 x 2995)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.71GB (5.82GB free)

Process Argv
--crash-reporter-id b6b63ffd-30a1-4a6a-ad59-7dbdd7de2c9f

Screen Reader
no

VM
0%

Extensions (39)

Extension
Author (truncated)
Version

project-manager
ale
12.5.0

tsl-problem-matcher
amo
0.6.2

github-markdown-preview
bie
0.2.0

markdown-checkbox
bie
0.3.2

markdown-emoji
bie
0.2.1

markdown-footnotes
bie
0.0.7

markdown-preview-github-styles
bie
1.0.1

markdown-yaml-preamble
bie
0.1.0

gitignore
cod
0.7.0

doxdocgen
csc
1.4.0

vscode-eslint
dba
2.2.2

git-extension-pack
don
0.1.3

githistory
don
0.6.19

gitlens
eam
12.0.5

EditorConfig
Edi
0.16.4

go
gol
0.32.0

better-cpp-syntax
jef
1.15.13

Lisp
mat
0.1.12

vscode-docker
ms-
1.21.0

python
ms-
2022.4.1

vscode-pylance
ms-
2022.4.0

jupyter
ms-
2022.3.1000901801

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.6

remote-containers
ms-
0.231.5

remote-ssh
ms-
0.78.0

remote-ssh-edit
ms-
0.80.0

remote-wsl
ms-
0.66.0

cmake-tools
ms-
1.10.5

cpptools
ms-
1.9.7

cpptools-extension-pack
ms-
1.1.0

powershell
ms-
2021.12.0

multi-command
ryu
1.5.1

kb-macro
tsh
0.12.0

cmake
twx
0.0.17

groog
und
0.0.1

clang-format
xav
1.9.0

vscode-open-in-github
ziy
1.3.6

vscode-proto3
zxh
0.5.5

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
pythonvspyl392:30443607
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
pythonvsnew555:30457759
vscscmwlcmt:30465135
cppdebugcf:30466690
pynewfile477:30463512

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Errors while adding packages for ionic and ionicons

When I run both meteor add for both meteoric:ionic-sass and meteoric:ionicons.-sass, it shows the error below.
=> Errors while adding packages:
While checking for<EMAIL_ADDRESS>error: No compatible binary build found for this package. Contact the
package author and ask them to publish it for your platform.
I use a windows machine btw...is that the problem?

+1

I just added the packages to a new project on OS X and didn't run into this.


can this parser support json string?

hi, in my application, I want to parse json string in csv file, like this:

can this parser parse row NO.2 values as a line and assign values in columns to key "Module", "Function", "Param", "Expect", "Result", "Info" respectively？
looking forward your response, thank you!

Quoted strings without non-escaped newlines work. The library does not care whether this is JSON or not.


Very important notice for 2.1.0

Describe the bug
If you are using version 2.1.0, please select the target architecture as ARM64 (it's ARMv7 by default). Otherwise, this makes the build file on the phone unusable(unable to download and load models). I can't say this for everyone, but this was the case for me. I hope people with the same problems will see this issue. I figured this out since other AI projects I was using before had similar problems with the target architecture. I hope this helps!
Steps to reproduce

LLMUnity version
2.1.0
Operating System
None

Yes, that's correct. 2.1.0 is still work in progress, I haven't released it yet :slightly_smiling_face: .
I'll certainly add this to the Readme :+1:

I'll even use your image, thanks :slightly_smiling_face: !


RE.required_fields should be replaced by a validation func

Current:
RE = RunEngine(md={})

Prposed:
RE = RunEngine(md={}, my_validation_func=None)

It's arguable that making owner, group, and beamline_id required in the document schema was a mistake, and that these should not be enforced by mongo but rather by beamline-specific validation functions as above. I especially don't like that the word "beamline" got into this otherwise general experimental data collection package.

:+1: on making it more generic
On Sun, Oct 4, 2015 at 12:10 PM, Dan Allan<EMAIL_ADDRESS>wrote:

It's arguable that making owner, group, and beamline_id required in the
document schema was a mistake, and that these should not be enforced by
mongo but rather by beamline-specific validation functions as above. I
especially don't like that the word "beamline" got into this otherwise
general experimental data collection package.
—
Reply to this email directly or view it on GitHub
https://github.com/NSLS-II/bluesky/issues/213#issuecomment-145363278.

--
Dr. Eric Dill
Assistant Computational Scientist
National Synchrotron Light Source 2

Closed by #219