:package: Chore: Add helios

Description
Concise description of proposed changes
Testing
Explain the quality checks that have been done on the code changes
Additional Information

[ ] I read the contributing docs (if this is your first contribution)

Your ENS/address:

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1504  👈 (View in Graphite)
#1496
#1495
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


Separation Modeling

Hello Cam,
This is an awesome project. I was wondering at what flapping frequency do you expect the unsteady VLM solver to stop giving accurate results? Have you attempted any validation on the force outputs? I would imagine that at higher frequencies you'd need some leading edge vortex shedding to capture what is happening (but maybe not?!)

Hi Antonios,
Thanks for the kind words about my project. I'm familiar with some of the awesome work you and Dr. Jones do at UMD, so it means a lot coming from you!
I have done some work to validate the solver, but more work in this area would be valuable! Check out /validation/validation_paper.pdf for a write-up comparing Ptera Software's simulations to wind tunnel data of a flapping-wing robot. The paper is a bit out of date (many bugs have been found and fixed since). However, you can try the simulation with the most up-to-date code by running /validation/validation_study.py. Here's an example of the output:

You also make an excellent point regarding LEVs and separated flow! Many animals use stable LEVs to enhance their force production during flapping-wing flight [1]. Other forms of flow separation are probably prominent as well. I am extremely interested in incorporating these phenomena into this project's solvers!
I have read a few papers that attempt to do something similar [2][3][4]. Unfortunately, I don't think their solvers are publicly available or open-source. Additionally, I'm not sure I have the expertise required to vet their approaches. Given your past work, I'd love to hear your opinions on if/how we could incorporate LEVs and separation into Ptera Software.
[1] Chin, D. D., & Lentink, D. (2016). Flapping wing aerodynamics: from insects to vertebrates. Journal of Experimental Biology, 219(7), 920–932. https://doi.org/10.1242/JEB.042317
[2] Roccia, B., Preidikman, S., Massa, J., & Mook, D. (2013). Modified unsteady vortex-lattice method to study flapping wings in hover flight. AIAA Journal, 51(11), 2628–2642. https://doi.org/10.2514/1.J052262
[3] Nguyen, A., Kim, J., Han, J., & Han, J.-H. (2016). Extended unsteady vortex-lattice method for insect flapping wings. Journal of Aircraft, 53(6), 1709–1718. https://doi.org/10.2514/1.C033456
[4] Levin, D., & Katz, J. (1981). Vortex-lattice method for the calculation of the nonsteady separated flow over delta wings. Journal of Aircraft, 18(12), 1032–1037. https://doi.org/10.2514/3.57596

Great job on the validation study. You bring up some interesting points on the comparison with experiments.
Indeed including LEV effects would be awesome. Here are some thoughts:
I do not think there is a standard "accepted" way of including leading edge separation in 3D potential flows. The simplest and perhaps least rigorous way is what ref. 3 did (from the references you cited).  Then take the suction force (tangential to the wing) and rotate it by 90 degrees and recompute lift. This is based on Polhamus' theory of LEV lift and I'd love to see how well it works but personally I am not convinced of its theoretical validity.
The next level of fidelity is to simply to shed vorticity at the leading edge by imposing the Kutta condition on it. It sounds funky but it actually gives decent results (in 2D as far as I know) and it is simple to implement numerically. You can even have an off/on switch again based on your effective angle of attack. However, this method is agnostic of the exact geometry of the leading edge, which as you can imagine plays a pretty significant role on the separation dynamics. This leads us to the next paradigm.
The "state-of-the-art" right now for leading edge separation in vortex models is the Leading Edge Suction Parameter (LESP). The idea is that for some given operating conditions and geometry, the leading edge can hold some critical amount of suction which is motion independent. If the suction exceeds that critical value, vorticity must be shed at the leading edge to bring it back down. A critical LESP value of 0 corresponds to the kutta condition (basically the edge cannot hold any suction). I have not seen this implemented in 3D so I am not sure if there are any implementation subtleties.
I think its worth giving any of these methods a try! Let me know what you think.

Thank you @antoniosgeme for your insights! Your comments led me to read some papers on modeling LEV separation using potential methods. For this conversation, let's refer to the rotated leading-edge suction technique as Method 1, the alpha-based leading-edge shedding technique as Method 2, and the LESP-based leading-edge shedding technique as Method 3.
Also, is it okay with you if I change the name of this issue to separation modeling?

Regarding Method 2, I was initially unconvinced of its accuracy due to some issues in reference 2 (which I believe implements this technique). Notably, figure 7 shows that a standard UVLM is more accurate than a UVLM  with leading-edge shedding. Therefore, I reached out to the lead author, Dr. Roccia, with this question.
According to him, the downstroke, which is the first half of figure 7, is contaminated because the simulation is just starting. Once we ignore the first half, figure 7 shows that Method 2 is slightly more accurate than a standard UVLM.
In his response, he also said that if we want to model LEVs, we may benefit from using a hybrid UVLM-VPM (vortex particle method) to avoid numerical instability and speed up the solver. What are your thoughts on this idea? During a preliminary search, I found one example of someone else trying this.
He also mentioned the Polhamus technique (which I'm calling Method 1). He said that this technique is much more straightforward but that it only works for analyzing insect flight and falling Samara seeds. Do you have any ideas why Method 1 would be more applicable to these cases?

Finally, I think I found a paper that implements Method 3 [5]! I haven't had time to read it yet, but I thought I'd leave the paper here in case you find it interesting.
[5] Hirato, Y., Shen, M., Gopalarathnam, A., & Edwards, J. R. (2021). Flow criticality governs leading-edge-vortex initiation on finite wings in unsteady flow. Journal of Fluid Mechanics, 910. https://doi.org/10.1017/JFM.2020.896

There is definitely nothing to lose by trying out method 1. It should be straight forward to implement (famous last words). However, this is definitely something which would need validation in my opinion. Perhaps some CFD since experimental data sets are so hard to come by.

Alright! Are you interested in implementing any of the methods and submitting a PR? Once we have it implemented we can find some previous CFD studies to compare against. No pressure if you're too busy, I just want to make sure we don't do double the work. 😊

I am not sure why Dr. Roccia suggested that it would only work for insects and samara seeds. Polhamus first discussed this theory with delta wings in mind. The LEV on delta wings is stabilized by the flux of vorticity along its core. Similar mechanisms exist in wings with high rotation rates so maybe this is what Dr. Roccia was referring to.

I wonder if Dr. Roccia may have meant that Method 1 only works for stabilized LEVs. There has been research demonstrating that some birds and bats also fly with stabilized LEVs, but it is quite recent [1]. In your opinion, would Method 1 also work for transient LEVs or just stabilized LEVs?

VPM is an interesting thought. I have never dealt with instabilities using panel methods. You probably have more experience on this given that you implemented the 3D UVLM solver. I can see the issue with rings being the TE-LE interaction. Particles are much further apart and can be regularized to not yield infinite velocities when the get close to one another. I read in the README that you use vortex decay? How does that work? Are you accounting for the spurious forces due to the vortex circulation change?

I think I may have used the term "vortex decay" incorrectly. I'm using a modified Biot-Savart law that eliminates the singularity issues at the wake vortex cores by giving them a finite radius. Then, I use the method described by Nguyen et al. on page 1711 to allow this finite radius to increase over time [3]. The increasingly thick radius prevents instabilities caused by wake vortices rolling up to be super close to each other and then shooting off to infinity. I'm not familiar with the spurious forces you mentioned. Could you elaborate on that?

Alright! Are you interested in implementing any of the methods and submitting a PR? Once we have it implemented we can find some previous CFD studies to compare against. No pressure if you're too busy, I just want to make sure we don't do double the work. 😊

I can probably take a crack at method 1 some time next week. Could you perhaps share some info on the implementation of the ring method? How are you enforcing the Kutta condition?

I wonder if Dr. Roccia may have meant that Method 1 only works for stabilized LEVs. There has been research demonstrating that some birds and bats also fly with stabilized LEVs, but it is quite recent [1]. In your opinion, would Method 1 also work for transient LEVs or just stabilized LEVs?

I do not think method 1 will work for LEVs that are in relative motion with the wing. Once the LEV detaches, stall conditions commence. However, insects and some birds flap in such a way so that this never happens, so perhaps for practical flows it could work well. It all depends on what we are trying to capture.

I think I may have used the term "vortex decay" incorrectly. I'm using a modified Biot-Savart law that eliminates the singularity issues at the wake vortex cores by giving them a finite radius. Then, I use the method described by Nguyen et al. on page 1711 to allow this finite radius to increase over time [3]. The increasingly thick radius prevents instabilities caused by wake vortices rolling up to be super close to each other and then shooting off to infinity. I'm not familiar with the spurious forces you mentioned. Could you elaborate on that?

Ah I see, so you regularized the vortices (great work!). Spurious forces arise when the circulation of a free vortex changes and the so-called the Brown-Michael Correction accounts for just that. Brown-Michael [6] argued that the change in circulation strength results in unbalanced forces in the flow, and this concept was later formalized by Michelin and Llewellyn Smith [7]. In order to maintain a force-free branch cut joining the vortex and its associated edge, a new term must be added to the convection velocity. In your case, as long as the circulation of the vortex remains fixed, even if its radius is changing, you should be on the clear.
[6] CE Brown and WH Michael. Effect of leading-edge separation on the lift of a delta wing. Journal of the Aeronautical Sciences (Institute of the Aeronautical Sciences), 21(10), 1954.
[7] Sebastien Michelin and Stefan G Llewellyn Smith. An unsteady point vortex method for coupled fluid{solid problems. Theoretical and Computational Fluid Dynamics, 23(2):127{153, 2009.

Great! Thanks so much for offering to help out. :smile:
In my opinion, the best description of the UVLM is in "Low-Speed Aerodynamics" by Joseph Katz and Allen Plotkin [7]. You should be able to find PDFs of it online (let me know if you're having trouble though). A broad overview is provided in chapters 12-14, and section 13.12 is especially relevant. Also, 13.11 discusses the Kutta condition. For a quicker, less detailed overview, the vortex lattice method Wikipedia page is great.
One area where I diverge from Katz and Plotkin is in the calculation of forces from the panel vortex strengths. Instead of using a modified version of Bernoulli's equation to calculate forces, I use the Kutta-Jokowski theorem to find them directly. Lambert, 2015 provides a good overview of the differences [8]. However, it may be necessary to implement Katz and Plotkins' technique for Method 1.
Feel free to keep me updated and continue to ask questions along the way!
[7] Katz, J., & Plotkin, A. (2001). Low-speed aerodynamics (2nd ed.). Cambridge University Press. https://doi.org/10.1017/cbo9780511810329
[8] Lambert T. (2015). Modeling of aerodynamic forces in flapping flight with the unsteady vortex lattice method. University of Liege.

Hey @camUrban I have not done any coding yet but I have looked through your code. As you said you are using vortex impulse to calculate the loads and not unsteady bernoulli. This is problematic as method 1 will require the load for each wing separately and vortex impulse can only calculate the total force experienced by the airplane as a whole. This will be the first step in the implementation.
Next we need to define a tangential direction. This is a bit awkward as wings can have 'washout' or twist but we'll figure something out.
Am I correct in assuming that the library only supports rigid wings?

As you said you are using vortex impulse to calculate the loads and not unsteady bernoulli. This is problematic as method 1 will require the load for each wing separately and vortex impulse can only calculate the total force experienced by the airplane as a whole. This will be the first step in the implementation.

I think this first step may be easier than it seems! While it is true that I'm using the Kutta-Joukowski equation, I am doing it for each panel. Also, each wing object contains a list of all its panels. Therefore, we could iterate through the list of panels for each wing, solve the unsteady Bernoulli equation for each of its panels, and then sum the result. The Kutta-Joukowski force calculation is described in equation 2.12, and the unsteady Bernoulli calculation in equation 2.16 [8].
In essence, this will involve writing a method that's a Bernoulli alternative for calculate_near_field_forces_and_moments in unsteady_ring_vortex_lattice_method.py.

Next we need to define a tangential direction. This is a bit awkward as wings can have 'washout' or twist but we'll figure something out.

Hmm yes, this could be a bit tricky. Perhaps we could approximate it as the quarter-chord line of each panel?

Am I correct in assuming that the library only supports rigid wings?

Yes! At least for now, all surfaces are rigid and all motion is prescribed.

I see. You are calculating the force for each panel and then summing up. I wonder if this force would be the same locally on the wing using both methods. I think the answer is no, but the total force will be the same. We can easily test this once implemented.
I am looking at your force calculation, and for the unsteady term I see the difference in circulation but it is not divided by the timestep. Am I missing something?
unsteady_near_field_forces_geometry_axes = (
            self.current_operating_point.density
            * np.expand_dims(
                (self.current_vortex_strengths - self.last_panel_vortex_strengths),
                axis=1,
            )
            * np.expand_dims(self.panel_areas, axis=1)
            * self.panel_normal_directions
        )

Also I have noticed that during the first few timesteps of the simulation the airplane experiences large negative lift and drag coefficients. Below is a simulation of a wing with no camber, sweep or twist, very large aspect ratio at 20 degrees angle of attack. In general its behavior is correct! There is a delay in lift build up due to the wake. However I do no think that initial negative lift coefficient is physical. Any ideas as to why this happens?

Hi @antoniosgeme! Sorry for the delay in getting back to you. These past few weeks have been crazy.
Regarding the unsteady force contribution, I think you just found a significant bug in the code. Thank you so much! Tomorrow, I'll publish a hot fix release that addresses this bug.
Out of curiosity, I corrected the equation and reran my test cases. The results still look reasonable. However, this doesn't fix the negative lift coefficients during the first few steps. I've noticed this result before and agree that it is strange. To be honest, I always brushed it off as an unimportant numerical issue because we are typically interested in results after the wake has fully developed. However, I'll reread how other UVLM implementations deal with the first timesteps and get back to you!

No problem, glad I could help.
I will look into the negative forces as well. I have some ideas.

I just released a hotfix! The bug in the unsteady force calculation is fixed in v2.2.1.
Regarding the negative forces, I noticed that this issue seems to be pretty recent. I noticed that this image shows results from the unsteady static example without an initially negative lift coefficient. However, when I run the example now, I see the negative lift coefficient we discussed. I last updated this file on 4/11/2022, so the bug must be from the last three-ish months.

Hey @camUrban just wanted to let you know I haven't forgotten about this and will hopefully pick it up again next week.
One comment that I have regarding that initial spike is that in general we are expecting singular behavior at the first instant but in the positive lift direction.  This is because of the infinite acceleration we are commanding (and therefore an infinite added-mass force). This added mass force comes in through the "unsteady term" that you have here, so we could start by looking at that calculation for a missing minus sign or something along those lines.

Hey @antoniosgeme! No worries at all! I'm in the final two weeks of my current job, so I'm working overtime to wrap up several projects. Therefore, I think I'll be a bit MIA myself until Monday, 8/1. I hope that's okay, and again, thank you so much for all the effort on your part! Starting in August, I'll be excited to contribute more to tracking down this issue and implementing separation modeling.

Hey @antoniosgeme, I hope you're doing well! I just finished up at my job, so I'll have more time to work on this in the next few weeks.
I'm trying to root out that negative-transient-lift bug you discovered. I think you're right that the issue comes from the unsteady_near_field_forces_geometry_axes calculation. This value is found via equation 2.11 [8]:

I'm approximating the vortex time derivative as a finite difference. I noticed that for the first time step, I assume that the bound vortices previously had zero vorticity. Therefore, the derivative is just the current vorticity divided by the time step.
Do you think that this is an appropriate assumption? Do you think it would be better to set this equation equal to zero for the first time step?

Hello @camUrban I believe it is okay to assume zero initial vorticity. This approximates the dirac delta response we expect in the first timestep (but for some reason in the wrong direction). A way to resolve this is to calculate the forces using bernoulli and compare. I gave it a try and was having trouble but then went on vacation and pretty much forgot everything :sweat_smile: . I will get back to you when I have something.

Force behavior should be an easy fix! #27


Tune pawns

Closes #112

Codecov Report
Patch coverage: 88.47% and project coverage change: -0.08 :warning:

Comparison is base (8c8a5e4) 93.68% compared to head (1b268b2) 93.60%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #165      +/-   ##
==========================================
- Coverage   93.68%   93.60%   -0.08%
==========================================
  Files          83       84       +1
  Lines       12249    12537     +288
==========================================
+ Hits        11475    11735     +260
- Misses        774      802      +28

Impacted Files
Coverage Δ

eval/src/lib.rs
100.00% <ø> (ø)

eval/src/params.rs
100.00% <ø> (ø)

tuner/src/eval_params.rs
0.00% <0.00%> (ø)

eval/src/complex.rs
95.83% <62.50%> (+0.08%)
:arrow_up:

movegen/src/pawn.rs
97.83% <88.23%> (-2.17%)
:arrow_down:

eval/src/pawn_structure.rs
95.18% <95.18%> (ø)

movegen/src/bitboard.rs
97.50% <100.00%> (+0.14%)
:arrow_up:

tuner/src/feature_evaluator.rs
80.00% <100.00%> (+1.66%)
:arrow_up:

tuner/src/position_features.rs
93.33% <100.00%> (+1.14%)
:arrow_up:

... and 2 files with indirect coverage changes

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


Add a file for Stefan

@mwiesen can you check if anything's missing or if I can 🚢

Hi @stoe. Where's the content?

@mwiesen and now? :ship: it?

@stoe nice picture! Go for it! 🚢


ARTEMIS-3453: exclude log4j transitive dep from zookeeper

https://issues.apache.org/jira/browse/ARTEMIS-3453
Didnt test this at all yet other than seeing its effect on the main build. Seems the way to go though so raising for a PR run and any input from others.
In particular, by excluding sl4fj-log4j and log4j across the board, it may be necessary to add other dependencies to some modules (examples?) if they lack a another means of output such as another slf4j bridge.

+1 it is the way to go

Will give a shot to see what can happen here

I dont see any examples depending on zookeeper directly, so I'm going to push the change as-is, can always follow up if needed.


Adding parameters and fixing url input on linux

Hi,
This is a follow up to my previous merge request.
Additions :

Cli parameter to open the rewards portal at the end of the run.
Cli parameter to define the browser initial load delay
Cli parameter to define the delay between searches

Fixes :

On Linux, the pyautogui.typewrite() function was writing improper urls with : and / characters, so now the url is directly copied into the paperclip and pasted into the browser. The bahvior would probably need to be improved beause without a time.sleep(1) delay, I sometimes had old content in the paperclip on a new search.

Also, note : this was tested on PopOS 22.04, with microsoft edge as the browser installed with the official deb package.
Command used :
/bin/python3 ./bing-rewards/bing_rewards/__init__.py --desktop -l 5 -s 5 --exe /usr/bin/microsoft-edge

Ok cool, I won't be able to take a look at this until next week, but thank you for the contribution. Note that you can add more commits to a PR by just pushing to your PR branch, and it will automatically update here on GitHub. Speaking of which, could you rebase your commits off of the Develop branch HEAD, as it will include the correct upcoming version number

Something like this ? https://stackoverflow.com/questions/54674971/github-fetch-and-rebase-fork-on-forked-master

Hi, so I have been reviewing the code. The copy/paste idea is interesting. On the one hand, I like that it will complete the operation with one keypress, instead of pressing multiple keys. That can be an issue if the window ever loses focus, or if the user tries to quit half way through. Also great that the pyperclip dependency is already required by PyAutoGUI (which is already too big IMO, but I don't have time to find an alternative rn).
On the other hand, I don't like the idea of clogging the system clipboard, especially on Windows where I uses the WIN+V clipboard manager regularly. And, that 1 second pause is absolutely prohibitive . That will make the process take way to long.
Interesting about the keyboard issue you ran into. I have also done some testing on Linux (Pop OS 22.04 LTS and Arch Linux) and I don't have the issue with Edge or Brave (much better Chromium-based alternative to Microsoft junk, btw). I have also never heard others report of that issue on Linux systems. Do you have an unusual keyboard layout or other macro settings?
I have run your copy/paste method on my linux machine without the 1 second delay and didn't notice any issues. Any idea why it takes so long for you?
I would be open to the idea once I do some testing on Windows as well

Thank you for the keyboard layout suggestion. I'm indeed on azerty, not qwerty layout, and the special characters issues might come from that, I have to look into it.
For the general speed of the system, it boils down to the kind of setup I target : a setup and forget system, with a really low tier VM that takes a while to do stuff so that my main working machine is not affected.
For example, loading edge takes 20 something seconds.
So taking time to make sure that every action is registered did not seem like a big issue at first.
Hmmm there's still work to do then.
Also, when I have the time, I think I'll try to create a systemd service file so the script can start on it's own.

If you are looking for a completely headless approach, I have seen some other tools around that use selenium. This one requires a desktop environment and grabs control of the keyboard while executing.
I am working on a major version update that will replace the heavy pyautogui dependency with pynput, which will reduce the total dependency tree significantly. PyAutoGUI does a whole lot more than is necessary for this project. I am also going to be adding some keyboard interrupt and exit features, and migrating to the poetry dependency manager and build system for python packages.
For your additions, can we just include the flags for search and load delay on the command line, and leave out the search method, since that is going to be reworked soon.
All of these features will probably be included in the 2.0.0 release

Sure thing for the limitation of the feature.
I'll create another branch, from your Dev branch, in which I'll add the feature and do the merge request? how does that sound?
Or you can just copy paste whatever you like from that crappy branch of mine :)
I don't really mind having a gui on a server, even if it's sometimes slow, I just need to code to properly interact with this fact.
Good call on poetry, it's going to make deployments quite a lot easier.

No need to create another PR, you can just make more commits and push here

Incorporated these commits into PR #25. Thanks for the contribution.


Fix object permissions for service accounts

Object permissions are not properly checked for multiple object types in API when using service accounts, ex:

Collection and Category through Sale
Pages
Collections
ProductVariant
Product through ProductType

Nature of this problem is described in detail for Products in #5108
More general approach and object access logic refactoring should be applied to avoid code redundancy and easy to make future bugs.
I would suggest connecting context with checking for permissions so it can access locally both user and service account when needed.

Apps have now proper permissions control on most of the objects, if anything is misconfigured around this, let's open a new issue.


Auto positioning/zooming of Gallery images

In the Sprite Editor, it would be nice to automatically position and appropriately zoom to the size and dimensions of whatever image you select from the Gallery.
Right now, if you select an image from the Sprite Gallery, the Editor will retain your previous zoom and position settings.

Fixed!


E2E: go workflow_dispatch main SLSA3 config-noldflags

Repo: https://github.com/ianlewis/example-package/tree/main
Run: https://github.com/ianlewis/example-package/actions/runs/2481895776
Workflow name: go workflow_dispatch main SLSA3 config-noldflags
Workflow file: https://github.com/ianlewis/example-package/tree/main/.github/workflows/e2e.go.workflow_dispatch.main.config-noldflags.slsa3.yml
Trigger: workflow_dispatch
Branch: main
Date: Sun Jun 12 01:38:09 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/2482068666
Workflow name: go workflow_dispatch main SLSA3 config-noldflags
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.workflow_dispatch.main.config-noldflags.slsa3.yml
Trigger: workflow_dispatch
Branch: main
Date: Sun Jun 12 03:08:48 UTC 2022
Tests are passing now. Closing this issue.


fix(imap-codec): Parse Capability::Thread

Closes #446

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

-4 of 4 (0.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.03%) to 93.031%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

imap-types/src/response.rs
0
4
0.0%

Files with Coverage Reduction
New Missed Lines
%

imap-types/src/response.rs
1
66.85%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
9558

Relevant Lines:
10274

💛  - Coveralls


Clipping/resolution issue with polygon stroke

To test the issue open the jsfiddle and play with the zoom.
https://jsfiddle.net/qk13vn2d/

Hi @Jesus89, any update on this issue? We're facing the same problem in ours polygons:

Thanks!

Hi @rafaelfernandezgis.
I'm currently not working on VL. I'll ping the team to check the status of the issue :wink:

Update: I have tested version 0.8.0 and seems to work fine. So this is a bug introduced in 0.9.0.
https://jsfiddle.net/qk13vn2d/

We're working on 0.9.1 indeed.
Thx!

The commit 07a3052d0587beff5345a4e7dfc2bd200dad60ba introduces this regression.

Thx for having a look at this @rochoa. Hopefully it was fixed soon.

We just released v0.10.0 fixing this issue. Could you double-check it's working in your case?

It works like a champ:

Thanks @Jesus89 @VictorVelarde @davidmanzanares @rochoa

Hi @Jesus89
I can't reproduce the problem yet. I have updated your first fiddle with v1.0 here and It looks like that the stroke is fine.
Could you please attach another example / configuration displaying the problem?

:thinking: I can not reproduce it either today :S
If I found it again I'll generate a reproducible example.
Closing this.

Thx, maybe it could be a problem just with the geometry of a precise feature...


Added PhantomJS 2.0 clearMemoryCache() method

https://github.com/baudehlo/node-phantom-simple/issues/63

Please, add test.

Not exactly sure how I'd do that.. some direction please? (Haven't done many cross-fork PRs)

Seems those fns are not covered with tests at all. Ok, one more untested fn will not change anything :)

FWIW: https://github.com/CaptoraInc/node-phantom-simple/commit/c9ed23214070328adba76588b4e9ba76eb50e0d8

Why did you touched second test (stripped some lines)?

Oh.. I accidentally put my stuff in that test first.. must've taken the lines out when I copy-pasted my lines over to the new file.  Sorry..


Add CocoaPods to the vendor list

I don't understand how come Carthage is in the list, but CocoaPods isn't.
Description

Checklist:

[ ] I am associating a language with a new file extension.

[ ] The new extension is used in hundreds of repositories on GitHub.com

Search results for each extension:

https://github.com/search?utf8=✓&type=Code&ref=searchresults&q=extension%3AFOOBAR+KEYWORDS+NOT+nothack

[ ] I have included a real-world usage sample for all extensions added in this PR:

Sample source(s):

[URL to each sample source, if applicable]

Sample license(s):

[ ] I have included a change to the heuristics to distinguish my language from others using the same extension.

[ ] I am adding a new language.

[ ] The extension of the new language is used in hundreds of repositories on GitHub.com.

Search results for each extension:

https://github.com/search?utf8=✓&type=Code&ref=searchresults&q=extension%3AFOOBAR+KEYWORDS+NOT+nothack

[ ] I have included a real-world usage sample for all extensions added in this PR:

Sample source(s):

[URL to each sample source, if applicable]

Sample license(s):

[ ] I have included a syntax highlighting grammar: [URL to grammar repo]
[ ] I have updated the heuristics to distinguish my language from others using the same extension.

[ ] I am fixing a misclassified language

[ ] I have included a new sample for the misclassified language:

Sample source(s):

[URL to each sample source, if applicable]

Sample license(s):

[ ] I have included a change to the heuristics to distinguish my language from others using the same extension.

[ ] I am changing the source of a syntax highlighting grammar

Old: [URL to grammar repo]
New: [URL to grammar repo]

[ ] I am updating a grammar submodule

[ ] I am adding new or changing current functionality

[ ] I have added or updated the tests for the new or changed functionality.

[ ] I am changing the color associated with a language

[ ] I have obtained agreement from the wider language community on this color change.

[URL to public discussion]
[Optional: URL to official branding guidelines for the language]

I don't understand how come Carthage is in the list, but CocoaPods isn't.

Because CocoaPods are currently considered generated (added in https://github.com/github/linguist/pull/3865) as are Carthage build files:
https://github.com/github/linguist/blob/1f65799270b46a0bd1d4a62ea5734a1117f45e61/lib/linguist/generated.rb#L56-L57
We probably don't want all of CocoaPods vendored too. See the discussion in https://github.com/github/linguist/pull/3865


Dart API docs for analyzer Package are missing

The Dart API docs page for the analyzer package seems to be missing: https://pub.dev/documentation/analyzer/latest/
Furthermore, there seem to be some analysis issues with the package in general: https://pub.dev/packages/analyzer/score
Is there some alternative place where I can find the documentation?

@jonasfj , @athomas , any idea what might be happening here? Are the docs not getting generated?

See:
https://pub.dev/packages/analyzer/score
This is probably a macro issue...
Since package:macro depends on _macro package from the SDK, it doesn't work
with stable SDK.
But since it's an indirect dependency we can detect SDK incompatibility.
Fix could be for analyzer to make SDK constraint more explicit. Or for
macros to be an actual SDK package, which we could then handle in Pana --
not that said infrastructure is in place yet.
On Wed, Jun 5, 2024, 20:59 Keerti Parthasarathy @.***>
wrote:

@jonasfj https://github.com/jonasfj , @athomas
https://github.com/athomas , any idea what might be happening here? Are
the docs not getting generated?
—
Reply to this email directly, view it on GitHub
https://github.com/dart-lang/sdk/issues/55936#issuecomment-2150754363,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABERZDPFPTW7WAX3PSL6SLZF5N23AVCNFSM6AAAAABI2NZ55OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJQG42TIMZWGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

@scheglov

@jakemac53

I filed an issue related to this somewhere.... there isn't any reasonable solution that has been proposed afaik... this version of analyzer can only be analyzed on the absolute latest SDK.

Ah, https://github.com/dart-lang/pub-dev/issues/7597 is the core issue

Add a note to:
https://github.com/dart-lang/pub-dev/issues/7597#issuecomment-2151065865
I think making package:macros an SDK would make the SDK constraints more explicit. And this would enable tools to be smarter.
This might be less painful when the latest version works with the latest stable SDK release, but whenever this is not the case packages using macros will feel more pain.

Hmm, I guess if we really want to pretend package:macros isn't an SDK package, we could hardcode into the SDK which versions its compatible with, and make all tooling understand that 🤣 -- but that was sort of what SDK packages was for in the first place (I think 🙈).

We still have no latest docs (I suspect we'll get some when Dart 3.5.0 is released).
@jakemac53 is there movement to change how analyzer depends on macros or macros depends on _macros, such that we won't always be needing to publish an analyzer that can only work on the latest dev builds of the Dart SDK?

Yes, we are trying to resolve the issue, but it will take a while


Idea: support dynamic key management

When adding/ removing/ updating keys (authentication-keys-directory) a restart of the service is required. This causes a disruption of service for all current users. Instead the changes should be picked up without a restart.

@gucki this is already implemented and should just work. What does your deployment setup look like?

Right, just tested different scenarios (add, remove, edit) again it works. :+1:


Enhance Release Changelog Verification

We enabled changelog verification during patch in #12271
I admit I understood this to mean verification that a changelog entry was present, but not that it enforced the date as stringently as it does.
Right now we attempted to release a package at 8PM PST. Unfortunately, for the agent machine, the current date is 7/3 2AM.
Whoops! Changelog verification fails. I believe that the proper way to resolve this is to:

Run the date check in the time zone of the user that approves the release.
OR Allow a "grace" period. If we're within a day of the labelled changelog date, allow the check to pass.

This issue covers the following.

Temporarily revert the changelog verification that was merged 2 days ago by @chidozieononiwu
Enhance the Get-Date logic in the pshell script to get the behavior we'd like.

We can't simply lock it to PST timezone during the check!
I can update the logic to allow a +or -1 day grace for the changelog date.

Do you know if the behavior changes for when the second stage is approved?  That would be awesome if so!
I think your proposal works though! Waiting for the others to chime in.

I have a PR that verify the changelog using the BuildNumber which contains the date the pipeline was queued https://github.com/Azure/azure-sdk-tools/pull/755/files

Side note (troll mode / devil's advocate): why do we even bother to check the date in the ChangeLog is the same as the current day? Is that a so common error? Does the effort to make it work really outbalance the potential (and real in this case) bugs that it brings?
In all matter, I think I would suggest as @scbedd to support a buffer of date. I think @scbedd has an excellent summary of why trying to be precise based on the number of timezone we have (China, New Zealand + a service team I know coming from Scottland, etc.) is just overkill and prone to error. And I'm not even talking about the leap year, that could block release on the 2/29, etc. :)
My two cents

I suggest we don't verify a specific date but instead only verify that it is a date and not "(Unreleased)". I don't believe there is much value in being strict about the specific date because builds might need to back or future date for different reasons, lets leave this up to the developer authoring the changelog.

Assigning to Dozie, as he has a PR open over here.

Fixed with PR


Add metric framework

What do these changes do?

There is no metrics in mars and it's useful and necessary to add a simple and convenient metric framework.
Related issue number

Issuse #2743
Check code requirements

[ ] tests added / passed (if needed)
[ ] Ensure all linting tests pass, see here for how to run them

According to the checks: https://dev.azure.com/mars-project/mars/_build/results?buildId=2423&view=logs&jobId=435ca956-9126-505f-566f-fff31072e2ba&j=435ca956-9126-505f-566f-fff31072e2ba&t=b177376e-c888-527f-c765-631942cc7432

According to the checks: https://dev.azure.com/mars-project/mars/_build/results?buildId=2423&view=logs&jobId=435ca956-9126-505f-566f-fff31072e2ba&j=435ca956-9126-505f-566f-fff31072e2ba&t=b177376e-c888-527f-c765-631942cc7432 , please use relative import instead of absolute import.

Thanks a lot. I'll fix it.

Woat is this for? Seems have nothing to do with current Mars code. Please create an issue about your idea and provide a scenario where these code is used.


fix: chunk sentences

The current sentence was missing from the array in chunks

@isafulf waiting for

Dear colleagues,
I am writing to inform you that I will be conducting a two-day bootcamp on
Open AI Azure next week. The purpose of this bootcamp is to introduce you
to the features and benefits of Open AI Azure and to provide you with some
hands-on experience.
However, I have encountered a challenge regarding the tokens and quotas for
Open Azure. As you may know, each account has a limited number of tokens
and quotas that can be used for accessing the Open AI Azure services. I
would like to request your support in increasing the tokens and quotas for
my account, so that I can allow the attendees to try out the Open AI Azure
services during the bootcamp.
I appreciate your cooperation and understanding on this matter. Please let
me know if you can grant me this request or if you have any questions or
concerns.
Regards,
Usama wahab khan
MVP, MCT
CTO Evolution technologies
On Sat, Aug 26, 2023, 6:28 AM Alisson Solitto @.***>
wrote:

@isafulf https://github.com/isafulf waiting for
—
Reply to this email directly, view it on GitHub
https://github.com/openai/openai-cookbook/pull/217#issuecomment-1694141081,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJL34N4MIM7XDYBX6PA2J6DXXFUM3ANCNFSM6AAAAAAVZPHDV4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


TLS Bootstrapping issue

Hello,
I am currently following this tutorial and ran across and issue. I am trying to TLS bootstrap the worker nodes and ran the ./cert_verify and it it failed one of the tests

I followed the link and it lead me to redoing the certificate authority lab. I glimpsed through both the TLS Bootstrap and the link and could not find any reference to kubelet-client-current.crt anywhere.
I would also like to add I am deriving from this tutorial slightly as I am doing this tutorial on raspberry pis rather than on vm's. So far this is the only time the ./cert_verify came back as an error. I am uncertain if I did the previous step correctly. The ./cert_verify came back with no errors when I bootstrapped worker-1. However when I run kubectl get nodes --kubeconfig admin.kubeconfig it comes back with no resource found rather than the expected output
Thanks for any help, I know I am deriving from the original tutorial but I thought this would be a fun variation.

Turns out my loadbalancer was configured wrong. The HAproxy config file was using the loadbalancer's loopback address and not its static ip address

I'm facing the same issue, and wondering why the loadbalancer could be the problem? :thinking:


Add delete command to channel sidebar

Can you add a delete channel command to the sidebar?

Channels are "deleted" when all the members leave.


Add vpc-and-vpn module example to the repository

Currently, the examples/ folder contains only an example for the eks module.
This assumes that the required networking infrastructure is already present.
It would be useful to show the usage of the vpc-and-vpn module as well and show how to create the networking infrastructure.

fixed in #48


WIP: Thor/jupyterlab

new step-by-step exercises, all clumped together so learners depending on interest can choose which ones to work on. Also tried to have a logical separation between 1st introductory/overview notebook and 2nd use-case/hands-on notebook

yes it's the usual annoying ipynb problem. Only thing i can think of now is to use nbviewer for each branch separately and manually compare. Diffs now look quite nice inside Jupyterlab thanks to nbdime, but i'm not aware of it being possible on github. Anyways here are the notebooks:
master:
https://nbviewer.jupyter.org/github/coderefinery/jupyterlab/blob/master/basics_of_jupyter.ipynb
https://nbviewer.jupyter.org/github/coderefinery/jupyterlab/blob/master/data_analysis_visualization.ipynb
thor/jupyterlab
https://nbviewer.jupyter.org/github/coderefinery/jupyterlab/blob/thor%2Fjupyterlab/basics_of_jupyter.ipynb
https://nbviewer.jupyter.org/github/coderefinery/jupyterlab/blob/thor%2Fjupyterlab/data_analysis_visualization.ipynb

Looks very good.
Personally I always felt that we allocated quite a lot of time for magics and we spent only 5 minutes on motivating.
I would suggest that we spend a bit more time on discussing when and why Jupyter:

pros/cons
examples/ use cases when to use and when not to use
"what you probably do today" vs. how this could look when using Jupyter

I agree that we shouldn't spend too much time on magics, and rather try to focus on use cases. The notebooks now have sections "when not to jupyter" and "jupyter use cases", and the exercises (now in separate notebook) are meant to cover some possible use cases.
""what you probably do today" vs. how this could look when using Jupyter" is a good idea for a discussion point and i'll add it, but i'm not sure how to stress the use cases and pros/cons better. Any ideas welcome

We could leave that point up for discussion and simply list the typical 4-6 things people do in daily research and then we could ask the participants to tell how they solve it today and we could discuss how this could look in the Jupyter world.

i think we're ready to merge. The found notebooks are rendered at:

basics
use cases
exercises
solutions

Thanks! Very minor comment:
The code examples often lack spaces, e.g.:
result = somefunction(x,y,z=2.0)

Instead of (better, easier to read, following PEP8):
result = somefunction(x, y, z=2.0)

For those who see Python for the first time we should give a good example.


awaitAdb never stops if no device is present

While testing #69 I realized that awaitAdb never stops because there is no timeout on wait-for-device. This is extremely annoying. I guess also, wait-for-device is mostly important when it comes to emulators and less important for physical devices. Maybe we should just exit awaitAdb if adb finds no devices and runTarget: 'device'?

Duplicate of https://github.com/tweaselORG/appstraction/issues/57.


Support glob paths in schema

Problem
I work on a project and we have many schema files, which we are collecting using glob, e.g. src/server/**/*.graphql.
After saving those files the watch mode codegen process does not start.
Solution
To solve this problem we can use loadSchema function which works as loadDocuments function. It takes array of paths and glob-patterns and returns array of normalized file paths.
We use this paths to match changed files.
Notes
Function loadSchema have a bug with typings. In the type definition says that it accepts only one schema pointer. But function use another module which supports array of schema pointers too.
I have created an issue to @graphql-codegen/cli - https://github.com/dotansimha/graphql-code-generator/issues/10196

Thanks for your contribution! I will give it a closer look as soon as I am able to. ❤


Cloudwatch

Description
Cloudwatch implementation which supports create/update, disable_action, enable_action and delete cloudwatch alarm metrics.
Check List

[x] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
[x] New functionality includes testing.
[x] New functionality has been documented in the README if applicable
[x] All commits have been signed for the Developer Certificate of Origin. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD

This is a super useful new addition. Can you please open a PR to document it though so that everyone knows this is an option?

Oops, missed to commit the README.md. Create a new PR #268


Create folder to hold Workshops ideas

[x] Create folder
[x] Create pages using content from https://github.com/OWASP/owasp-devseccon-summit/blob/master/session topics
[x] add #4 workshop idea

Done


undocumented functionality: UnitEval

See commit 97bbbb354288baed4818d44d0a533282a10fa40e
This functionality is missing from doc/manual.asciidoc
Text from commit:
  Added support for project-defined unit extension.

    UnitEval is a table parameter to Build which can be used to
    add custom units to the build process. For example:

        local my_foo_unit(generator, env, decl)
          -- process decl, which is the parameter block below
          return env:make_node { ... } -- generate DAG data
        end

        Build {
           UnitEval = {
                 Foo = my_foo_unit,
          },
          Units = function()
            -- use custom unit evaluator
                Foo { Baz = 1, QuirkMode = true, Sources = ... },
          end,
        }

This is now removed and the new nodegen layer is better documented.


Seconds of lag

Type: Performance Issue
Today code decided to be laggy on mouse and key entry. I disabled my one extension and rebooted and it's persisted. VSCode is now unusable and I don't know why.
VS Code version: Code 1.71.2 (74b1f979648cc44d385a2286793c226e611f59e7, 2022-09-14T21:12:14.256Z)
OS version: Linux x64 5.19.0-76051900-generic
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
AMD Ryzen 7 PRO 5850U with Radeon Graphics (16 x 3179)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: disabled_softwarevideo_encode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
1, 1, 0

Memory (System)
23.30GB (16.94GB free)

Process Argv
--unity-launch --crash-reporter-id 7928d1e2-f126-423d-8870-7a50a55265cb

Screen Reader
no

VM
0%

DESKTOP_SESSION
pop

XDG_CURRENT_DESKTOP
Unity

XDG_SESSION_DESKTOP
pop

XDG_SESSION_TYPE
x11

Process Info
CPU %	Mem MB	   PID	Process
    0	   143	 21792	code main
    0	    24	 21796	   zygote
    0	   143	 21830	     gpu-process
    0	    24	 21797	   zygote
    0	     0	 21799	     zygote
    0	    72	 35105	       issue-reporter
    0	    48	 21900	   utility-network-service
    0	   239	 21913	   window (docs - Visual Studio Code)
    0	   119	 22344	   shared-process
    0	    72	 22374	     ptyHost
    0	    72	 22710	     fileWatcher
    0	     0	 35133	     /bin/sh -c /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    0	     0	 35134	       /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    0	    95	 22350	   extensionHost

Workspace Info
|  Window (docs - Visual Studio Code)
|    Folder (docs): more than 20228 files
|      File types: go(10306) png(1204) mdx(963) yaml(832) md(642) svg(231)
|                  tf(156) sh(137) proto(129) yml(120)
|      Conf files: makefile(100) dockerfile(34) cmake(3) github-actions(2)
|                  package.json(2) tsconfig.json(1);

Extensions: none
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vstes627:30244334
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411cf:30557515
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
hb751961:30553087
dsvsc012cf:30540253
azure-dev_surveyone:30548225
i497e931:30553904
fc301958:30567733

I’m suspicious of an extension causing this behavior. Can you open the Command Palette (⌘/Ctrl+Shift+P) and run the extension bisect command: Help: Start Extension Bisect and follow the prompts? (More information about Extension Bisect here)

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

FYI The issue was GPU acceleration. I had to alias code to code --disable-gpu to resolve.


[SPARK-8389][Streaming][PySpark] Expose KafkaRDDs offsetRange in Python

This PR propose a simple way to expose OffsetRange in Python code, also the usage of offsetRanges is similar to Scala/Java way, here in Python we could get OffsetRange like:
dstream.foreachRDD(lambda r: KafkaUtils.offsetRanges(r))

Reason I didn't follow the way what SPARK-8389 suggested is that: Python Kafka API has one more step to decode the message compared to Scala/Java, Which makes Python API return a transformed RDD/DStream, not directly wrapped so-called JavaKafkaRDD, so it is hard to backtrack to the original RDD to get the offsetRange.

Merged build triggered.

Merged build started.

Test build #36378 has started for   PR 7185 at commit 2aabf9e.

@koeninger Mind taking a look?

Test build #36378 has finished for   PR 7185 at commit 2aabf9e.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class UnHex(child: Expression) extends UnaryExpression with Serializable

Merged build finished. Test PASSed.

Why only running the Kafka stream part, is this test mechanism changed?

I agree with most of @koeninger points. I think the issue is that there is that the python KafkaDirectStream generates python RDDs which is effectively [python map on the JavaPairRDD wrapping the KafkaRDD].
How about this.

Create a KafkaRDD class in python which is a subclass of python's RDD class. It adds the method getOffsetRanges(), which will find the offset ranges by traversing through the from the Scala RDD inside associated JavaPairRDD.

Create a KafkaDirectDStream in python which is a subclass of python's DStream, and override transform and foreachRDD method to apply the user specified function on the python's KafkaRDD objects instead of RDD objects. This will ensure that the user will be able to call rdd.getOffsetRanges() inside the transform and foreach functions.

With this I think it is doable to maintain consistency with Scala API, that is, rdd.getOffsetRanges() in python gives the offset ranges.

I don't have a problem with the static method, especially if it prevents
yet more wrapper classes.
My concern was more about the difference in semantics, not a static vs
member method.
On Jul 2, 2015 3:15 PM, "Tathagata Das"<EMAIL_ADDRESS>wrote:

I agree with most of @koeninger https://github.com/koeninger points. I
think the issue is that there is that the python KafkaDirectStream
generates python RDDs which is effectively [python map on the JavaPairRDD
wrapping the KafkaRDD].
How about this.

Create a KafkaRDD class in python which is a subclass of python's RDD
class. It adds the method getOffsetRanges(), which will find the offset
ranges by traversing through the from the Scala RDD inside associated
JavaPairRDD.
Create a KafkaDirectDStream in python which is a subclass of python's
DStream, and override transform and foreachRDD method to apply the user
specified function on the python's KafkaRDD objects instead of RDD objects.
This will ensure that the user will be able to call
rdd.getOffsetRanges() inside the transform and foreach functions.
With this I think it is doable to maintain consistency with Scala API,
that is, rdd.getOffsetRanges() in python gives the offset ranges.
—
Reply to this email directly or view it on GitHub
https://github.com/apache/spark/pull/7185#issuecomment-118153576.

Hi @koeninger and @tdas , thanks a lot for your comments, I think TD already explained well why I need to use getNarrowAncestors() to get the original KafkaRDD, Python code not only wraps the original KafkaRDD, but also do some additional transformations, so the RDD/DStream user get is not yet original KafkaRDD/DirectKafkaInputDStream.
Also in the current implementation, the distance to the original KafkaRDD is fixed, but it really depends on the internal of PySpark/ PySpark Streaming, if the logic changed, the distance will also be changed, so we should not assume a known and fixed distance.
Yes, currently my implementation definitely have some semantic difference compared to Java/Scala, also not so strict enough.
@tdas , I tried your way, since the solution you mentioned offers the same functionalities but with more python wrappers, I chose the previous simple way what I implemented. But thought bit on your way, I think your way is more strict and similar to the Scala/Java way, and will not lead to error use for users. I will try again your way.

Merged build triggered.

Merged build started.

Hi @tdas , now I change the code to follow your suggestion, would you please help to review, thanks a lot.
Now we offer similar way with Scala/Java to expose offsetRanges, also minimize the error use possibility.
rdd.offsetRanges()

or

stream.foreachRDD(lambda rdd: rdd.offsetRanges())

To support this, add lots of Kafka specific wrappers, please help to review, greatly appreciate it.

Test build #36491 has started for   PR 7185 at commit cff3893.

Test build #36491 has finished for   PR 7185 at commit cff3893.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class KafkaRDD(RDD):
class KafkaDStream(DStream):
class KafkaTransformFunction(TransformFunction):
class KafkaTransformedDStream(TransformedDStream):

Merged build finished. Test FAILed.

Jenkins, retest this please.

Merged build triggered.

Merged build started.

Test build #36493 has started for   PR 7185 at commit 7debf1c.

Test build #36493 has finished for   PR 7185 at commit 7debf1c.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class KafkaRDD(RDD):
class KafkaDStream(DStream):
class KafkaTransformFunction(TransformFunction):
class KafkaTransformedDStream(TransformedDStream):

Merged build finished. Test FAILed.

Still has serialization bug in the code, will fix it soon.

Merged build triggered.

Merged build started.

Test build #36555 has started for   PR 7185 at commit fd13937.

Test build #36555 has finished for   PR 7185 at commit fd13937.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class KafkaRDD(RDD):
class KafkaDStream(DStream):

Merged build finished. Test PASSed.

Other than a few easy-to-fix change, the general approach LGTM.
@koeninger Any thoughts about this PR?

In general, I feel like this is solving the problem of too many wrappers by adding more wrappers.  I don't know that it's worth it just to get an instance method instead of a static method.
That being said, as long as the semantics are similar, I'm not against it.

This wrapper problem has always been a problem with the Python API. All these wrapper magic allow us to the provide the almost similar semantics and API in Python as that in Java, which is what is the ultimate goal. This wrapper magic comes with the wrapper hell, which we have considered as a necessary, unavoidable evil in order to achieve the final goal.

Merged build triggered.

Merged build started.

Test build #36631 has started for   PR 7185 at commit e6a8011.

Test build #36631 has finished for   PR 7185 at commit e6a8011.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class KafkaRDD(RDD):
class KafkaDStream(DStream):

Merged build finished. Test PASSed.

Merged build triggered.

Merged build started.

Test build #36634 has started for   PR 7185 at commit 4c6d320.

Test build #36634 has finished for   PR 7185 at commit 4c6d320.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class KafkaRDD(RDD):
class KafkaDStream(DStream):
class KafkaTransformedDStream(TransformedDStream):

Merged build finished. Test PASSed.

@jerryshao @tdas
Have a few points from a user perspective regarding the DStream version:

Based on this PR it looks like foreachRDD is the only way to get offsets in the DStream case. This would mean that the data needs to be sent over to the driver in order to obtain offsets. Is it possible to obtain offsets in the workers right after receiving the data from Kafka?

We have state in updateStateByKey() that necessitates attaching corresponding Kafka metadata to every event in the DStream in order to be able to reconstruct the state across deployments. Is there a way to attach the Kafka offset to every event using the spark API? Essentially obtaining something akin to the output that juanrh had originally proposed in SPARK-8337.

You can use the alternate version of createDirectStream (returns DStream[T]) that allows you to specify messageHandler function MessageAndMetadata => T . This is applied on every message from Kafka, and you can encode both the message and its offset as a single Spark/RDD record.
BTW, this question unrelated to this PR best asked in the user-mailing list or the relevant JIRA.

@tdas
I assume you are talking about the scala API and not python? But maybe it is achievable using DStream.transform() in python?
I asked this here because I originally created SPARK-8337 and wanted to make sure that our use case is addressed :).

@amit-ramesh , the problem you mentioned is different from here what we addressed. Basically I think you required such functionality like messageHandler in Scala/Java API to get offset in the executor side. Currently we don't have clear solution to support this in Python API, since Spark Streaming Kafka API on Python is slightly different in implementation compared to Scala/Java, so it is not easy to handle the problem you mentioned unless we change the current semantics.

Even using DStream.transform() you could only get the offsetRanges in the driver side, please check the implementation of this PR.

@jerryshao
Although the title of SPARK-8337 is worded more broadly, all we really wanted is a way to attach Kafka offsets to individual events/messages :).
AFAICT, the implementation of transform appears to be doing executor side operations. And if the following two assumptions hold then we should be able to achieve what we need:

Events in an RDD partition are ordered by Kafka offset
The index of an OffsetRanges object in the getOffsets() list corresponds to the partition index in the RDD.

If this is not indeed so, it would be great if you could point me to some lines that use driver side operations in transform.

Hi @amit-ramesh , what I mentioned about getting offsetRanges in transform function is something like this:
dstream.transform(lambda r: r.offsetRanges())

Here r.offsetRanges is executed in driver side, if you have follow-up transformations inside transfrom function which need to use this offsetRanges, this offsetRanges will implicitly be sent to executor side. That's what I mean about.
Also:

Events in an RDD partition are ordered by Kafka offset
The index of an OffsetRanges object in the getOffsets() list corresponds to the partition index in the RDD.

This two assumptions are true as I know. so you could rely on this assumptions.

@jerryshao
Thanks for clarifying! I assume only the Kafka metadata moves between the executors and the driver for the rdd.offsetRanges() call while the actual events/messages don't have to go to the driver? Also, is offsetRanges() a driver side operation for scala as well, or is this python specific?
Thanks!

Yes, you're understanding things correctly.  Yes, scala works that way as
well.
On Wed, Jul 8, 2015 at 4:20 PM, amit-ramesh<EMAIL_ADDRESS>wrote:

@jerryshao https://github.com/jerryshao
Thanks for clarifying! I assume only the Kafka metadata moves between the
executors and the driver for the rdd.offsetRanges() call while the actual
events/messages don't have to go to the driver? Also, is offsetRanges() a
driver side operation for scala as well, or is this python specific?
Thanks!
—
Reply to this email directly or view it on GitHub
https://github.com/apache/spark/pull/7185#issuecomment-119733765.

Thanks, @koeninger!

Other than a minor point, it is LGTM.


Broken without code changes

I'm getting the dreaded
PhantomJS 1.9.8 (Mac OS X) ERROR
  TypeError: 'undefined' is not a function (evaluating 'require("/Users/Dom/git/nabu/tests/specs/iso/actions/projects-actions-spec.js")')
  at /Users/Dom/git/nabu/tests/specs/iso/actions/projects-actions-spec.js:1

but this has suddenly started happening by itself - no code has changed, and reverting to older versions doesn't help.
I did have this happen once before - but was able to fix my cleaning my npm cache. This isn't working now, and the tests fail every time.

Please create a project that reproduces this. We're happy to help on general issues but this does not sound like it's a karma-browserify issue.


Company Description and Link updation of entry of Skyserve

Please update the correct website : https://www.skyserve.ai/
Please update the description to : "Onboard AI for Satellites: Streamlined Edge Computing & MLOps for GeoAI"

Thanks @arvind-subramanian updated the website, will be published in next update.
I want to keep the descriptions as compact and "marketing-speech-free" as possible. Does "Edge Computing for satellite Onboard GeoAI & MLOps" work? Let me know if you have another suggestion


Add ORCIDs

https://github.com/ctsit/rcc.billing/blob/9f201b1b546c1b4dea45f1e461e670090a80182d/DESCRIPTION#L5

Addressed


Switch default build JDK to Java 12.

Fixes #2141

Could you also update the release task in /build.gradle to require Java 12? Maybe should we make the entire build require Java 12 rather than just the release process?

Thanks indeed. Changed the release task to require Java 12, and added a check for normal compile that verifies >=12 (don't think we have to require exactly 12 for normal building during development)


Remove mention of atlas (which is no longer an installed model)

https://github.com/RobotLocomotion/drake/pull/19160

This change is

+@sherm1 for both reviews, please.  High priority.

Apparently I'm not authorized to push to this repo so I can't merge. Please add me if you can.

As best I can tell, you are a Writer on this repo.


Provide Draggable Scrollbar/Thumb when scrolling direction is Axis.vertical

It would be very handy if a ready to use draggable scrollbar or thumb is given.
This type of scrollbar is usually seen at right side of the pdf viewer with page number displayed in it. This is very useful for scrolling or jumping to some page.

Any update about this issue?


fix(component): updates for org name change to stolostron

Minor changes for org name change from open-cluster-management to stolostron
re #18716

The build for this PR is failing at the step that tries to clone and build the kui-web-terminal image to run the tests.  That is failing as one script in the kui-web-terminal build is failing due to the org rename so the org rename changes need to be completed in that repo first before trying this build again.

For https://github.com/stolostron/backlog/issues/18716

The build now completes and the tests all pass.


update tendermint config

closes #896
Hello, I'm trying to use the config module with Tendermint v0.34.x and I found that lots of the options have been changed. I've updated them to be in line with https://github.com/tendermint/tendermint/blob/v0.34.10/config/toml.go.

[x] Referenced an issue explaining the need for the change
[x] Updated all relevant documentation in docs
[x] Updated all code comments where relevant
[x] Wrote tests
[x] Added entry in .changelog/

Codecov Report

Merging #897 (e3eb636) into master (5475e95) will decrease coverage by 0.0%.
The diff coverage is 57.8%.

:exclamation: Current head e3eb636 differs from pull request most recent head 85a3c57. Consider uploading reports for the commit 85a3c57 to get more accurate results

@@           Coverage Diff            @@
##           master    #897     +/-   ##
========================================
- Coverage    69.8%   69.7%   -0.1%
========================================
  Files         200     200
  Lines       16320   16311      -9
========================================
- Hits        11393   11381     -12
- Misses       4927    4930      +3

Impacted Files
Coverage Δ

tendermint/src/config.rs
60.8% <56.2%> (-0.9%)
:arrow_down:

tendermint/tests/config.rs
97.2% <100.0%> (-0.7%)
:arrow_down:

tendermint/src/abci/tag.rs
74.0% <0.0%> (-11.2%)
:arrow_down:

light-client/src/types.rs
29.8% <0.0%> (-0.6%)
:arrow_down:

light-client/src/macros.rs
10.4% <0.0%> (+<0.1%)
:arrow_up:

tendermint/src/hash.rs
36.5% <0.0%> (+0.3%)
:arrow_up:

tendermint/src/channel/id.rs
100.0% <0.0%> (+75.0%)
: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 5475e95...85a3c57. Read the comment docs.


analytics - get event buckets over time range

For example, you can say "get the data for event X over the past 24 hours, grouped into 15 minute buckets", and it'll return a List<DateTime, long> where DateTime is the minimum value for the bucket, and the long is the count.
Once we have this, add a CountEvent method that counts the number of events that occurred over a period of time (id agnostic).

CountEvent is simply GetCounts().Select(x => x.Item2).Sum(), so I don't think having a function to do that adds very much value.


webhook not working

i added webhook URL, and have not configure slack channel and token, it still looking for slack channel and token not sending events on webhook.

in the examples in the  readme there is the wrong container,
this is probably what you want:
apiVersion: v1
kind: ConfigMap
metadata:
  name: kubewatch
  namespace: kube-system
data:
  .kubewatch.yaml: |
    namespace: ""
    handler:
      webhook:
        url: "YOUR_URL"
    resource:
      deployment: true
      replicationcontroller: false
      replicaset: false
      daemonset: true
      services: true
      pod: false
      secret: true
      configmap: true
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: kubewatch
  namespace: kube-system
spec:
  selector:
    matchLabels:
      app: kubewatch
  template:
    metadata:
      labels:
        app: kubewatch
    spec:
      containers:
      - image: bitnami/kubewatch:0.0.4
        imagePullPolicy: Always
        name: kubewatch
        volumeMounts:
        - name: config-volume
          mountPath: /opt/bitnami/kubewatch/.kubewatch.yaml
          subPath: .kubewatch.yaml
      - image: quay.io/coreos/hyperkube:v1.10.3_coreos.0
        command: ["kubectl"]
        args:
        - proxy
        - "-p"
        - "8080"
        name: proxy
        imagePullPolicy: Always
      volumes:
      - name: config-volume
        configMap:
           name: kubewatch

@MohitArora1 did you ever get this figured out?  I have tried the suggestion from @Joshi425 and what is the readme and I cannot seem to get the webhook to work.
I am not using slack, etc... just the webhook.

I figured out my issue:  look out for webhook.enabled.  Without setting it to true, it won't work.


Probably wrong colour for highlighted commits in version control.

Probably wrong colour for highlighted commits in version control.

In the white theme too:

Steps to reproduce

Open "Version Control"
Click on the little gear icon
Activate "Current Branch" in dropdown

Environment
PyCharm 2017.2
Build #PY-172.3317.103, built on July 25, 2017
Licensed to Nick Espig
Subscription is active until October 15, 2017
For educational use only.
JRE: 1.8.0_152-release-915-b5 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.6

Material Theme EAP <IP_ADDRESS>

OS X 10.12.6

Windows ?

Linux ?

I'm not sure that this panel is customizable, but I will try to look at it and see if there is something that can be done.

Should be better now


Parent folder of files to package is now included in tar

I'm using 2.0.21 on Win10.
I have two inputs - a single file and a folder which contains three files.
C:\Users\NLI User\Documents\complex_objects_workshop.docx
C:\Users\NLI User\Downloads\strongbox_fixity_fail
I then make a tarred bag, but I see that in the TAR, the 'Documents' and 'Downloads' folders are also present even though my inputs were children of these folders. This issue does not occur if I just make a regular bag that is not tarred.

tar -tvf "C:\Users\NLI User\Documents\DART\6tyyryt.tar"
drwxr-xr-x  0 0      0           0 Aug 15 16:20 6tyyryt/
drwxr-xr-x  0 0      0           0 Aug 15 16:20 6tyyryt/data/
drwxr-xr-x  0 0      0           0 Aug 15 16:20 6tyyryt/data/Documents/
-rw-r--r--  0 0      0       36872 Feb 03  2021 6tyyryt/data/Documents/complex_objects_workshop.docx
drwxr-xr-x  0 0      0           0 Aug 15 16:20 6tyyryt/data/Downloads/
drw-rw-rw-  0 0      0           0 Aug 08 13:32 6tyyryt/data/Downloads/strongbox_fixity_fail/
-rw-r--r--  0 0      0        2488 Aug 08 12:54 6tyyryt/data/Downloads/strongbox_fixity_fail/18b3d60c-fc8f-41c0-8ad7-fed85b9b121f_manifest.md5
-rw-r--r--  0 0      0    57970553 Aug 08 10:27 6tyyryt/data/Downloads/strongbox_fixity_fail/file_report.csv
-rw-r--r--  0 0      0        2624 Aug 24  2021 6tyyryt/data/Downloads/strongbox_fixity_fail/WCL088763.xml
-rw-r--r--  0 0      0         501 Aug 15 16:20 6tyyryt/bag-info.txt
-rw-r--r--  0 0      0          55 Aug 15 16:20 6tyyryt/bagit.txt
-rw-r--r--  0 0      0         752 Aug 15 16:20 6tyyryt/manifest-sha512.txt
-rw-r--r--  0 0      0         430 Aug 15 16:20 6tyyryt/tagmanifest-sha512.txt

That's a known issue. DART tries to trim off the common prefix of all the folders you bag. For example, DART will trim /users/joe/documents if you're only bagging these directories:
/users/joe/documents/photos
/users/joe/documents/audio
/users/joe/documents/video

But if you add one more directory, like /users/mary/documents/audio, then the only common prefix DART can find is /users/. The bag will contain directories like /data/joe/documents/audio and data/mary/documents/audio.
I think tar and zip have similar behavior. I'm not sure how thoroughly this behavior is documented for DART, but path trimming was widely requested after DART's initial release.

Thank you for that great explanation, just confirmed it there by having a single folder input and all was well. Is this fixable or is it too baked into how tarring works?

I don't see any easy fix for this. When DART wasn't trimming paths, everyone complained. So the feature is in there by popular demand.
 Those get very long.
With path trimming on, there's no safe way to guess how to trim paths that have no common prefix.

I get you, I looked into it a bit more and can see why this is so awkward. I'm not that familiar with more complex tar use cases like this.
Is some version of the -C option in the regular tar command line some sort of solution here? https://www.gnu.org/software/tar/manual/html_node/directory.html

I would be reluctant to implement something like that, because I don't have much time and because it could make DART more confusing / harder to use. Part of its appeal is its simplicity and easy learning curve.
In case you're interested, when you get to the "Review and Run" screen, DART shows the part of the file paths that will be trimmed off in grey, while the rest of the path is in black. In the screenshot below, /Users/diamond/Downloads/ will be trimmed.


Integrate with Coverity's security scanning?

Hi,
Coverity hosts a service to perform security scans on open-source projects at:

https://scan.coverity.com/

Other projects such as the Linux kernel and Qemu have projects integrated there,
so I'm wondering if you have ever considered also adding this project? It says that
it supports VS2017, and I've seen references to some earlier versions in the Community
pages there.
(I noticed that the project is on the SemmLE LGTM.com site, but AFAICS that is restricted
to sources that compile directly on Linux only, but could be wrong)
Thanks,
Darren.

Hi,
Sound like a good idea. I will look into it.
Thanks,
Yan.

I was able to build the drivers with Coverity and submitted the build logs for analysis.
Looking now on how to automate the submissions.

The usage is straight forward.

Download the agent: https://scan.coverity.com/download?tab=cxx (from right side panel download Windows 64bit version).

Add Coverity bin directory to Windows path

No need to configure compilers

Run cov-build --dir cov-int build_AllNoSdv.bat

@Basils we can try adding Coverty check to the weekly CI

Added to internal CI


 I've opened a separate PR for that at #108 .
Marking as blocked for now.


How to request a valid AccessToken to access User Api from another client application?

Hi,
I'm trying to use your excellent IdentityManager in my project and unfortunately I'm faced to an access right issue when I try to access to UserAPI.
In my host, I use OpenIdConnect and Cookie authentication and it works fine when I use directly IdM user interface.
But for my project, I should be able to use IdM API to get/create users from an external client application.
I think that your web api host configuration required authentication through Bearer token only.
From my client application, the users authenticate with identity server and receive a valid access token.
When I set the header authorization with the bearer token, I receive an unauthorized error 401.
How IdM validate the access token passed in http authorization header?
I have also tried to reproduce my needs in your client samples by using RessourceOwnerFlow.
In bellow my startup class and the client sample
public class StartupWithHostCookiesSecurity
    {
        public void Configuration(IAppBuilder app)
        {
            LogProvider.SetCurrentLogProvider(new TraceSourceLogProvider());
            JwtSecurityTokenHandler.InboundClaimTypeMap = new Dictionary<string, string>();
            app.UseCookieAuthentication(new Microsoft.Owin.Security.Cookies.CookieAuthenticationOptions
            {
                AuthenticationType = "Cookies",
            });

            app.UseOpenIdConnectAuthentication(new Microsoft.Owin.Security.OpenIdConnect.OpenIdConnectAuthenticationOptions
            {
                AuthenticationType = "oidc",
                Authority = "https://localhost:44337/core",
                ClientId = "idmgr_client",
                RedirectUri = "https://localhost:44337",
                ResponseType = "id_token",
                UseTokenLifetime = false,
                Scope = "openid profile email phone idmgr",
                SignInAsAuthenticationType = "Cookies",
                Notifications = new Microsoft.Owin.Security.OpenIdConnect.OpenIdConnectAuthenticationNotifications
                {
                    SecurityTokenValidated = n =>
                    {
                        n.AuthenticationTicket.Identity.AddClaim(new Claim("id_token", n.ProtocolMessage.IdToken));

                        n.AuthenticationTicket.Identity.AddClaim(new Claim("firstname", "Hello"));
                        return Task.FromResult(0);
                    },
                    RedirectToIdentityProvider = async n =>
                    {
                        if (n.ProtocolMessage.RequestType == Microsoft.IdentityModel.Protocols.OpenIdConnectRequestType.LogoutRequest)
                        {
                            var result = await n.OwinContext.Authentication.AuthenticateAsync("Cookies");
                            if (result != null)
                            {
                                var id_token = result.Identity.Claims.GetValue("id_token");
                                if (id_token != null)
                                {
                                    n.ProtocolMessage.IdTokenHint = id_token;
                                    n.ProtocolMessage.PostLogoutRedirectUri = "https://localhost:44337/idm";
                                }
                            }
                        }
                    }
                }
            });

            var factory = new IdentityManagerServiceFactory();

            var rand = new System.Random();
            var users = Users.Get(rand.Next(5000, 20000));
            var roles = Roles.Get(rand.Next(15));

            factory.Register(new Registration<ICollection<InMemoryUser>>(users));
            factory.Register(new Registration<ICollection<InMemoryRole>>(roles));
            factory.IdentityManagerService = new Registration<IIdentityManagerService, InMemoryIdentityManagerService>();

            app.UseIdentityManager(new IdentityManagerOptions
            {
                Factory = factory,
                SecurityConfiguration = new HostSecurityConfiguration
                {
                    HostAuthenticationType = "Cookies",
                }
            });

            app.Map("/core", ids =>
            {
                IdSvrConfig.Configure(ids);
            });
        }
    }

Client :
static void Main(string[] args)
        {
            var response = RequestToken();
            ShowResponse(response);

            Console.ReadLine();
            CallService(response.AccessToken);
        }

        static TokenResponse RequestToken()
        {
            var client = new TokenClient(
                Constants.TokenEndpoint,
                "roclient",
                "secret");

            return client.RequestResourceOwnerPasswordAsync("admin", "admin", "openid profile email phone idmgr").Result;
        }

        static void CallService(string token)
        {
            var baseAddress = "https://localhost:44337/api/";

            var client = new HttpClient
            {
                BaseAddress = new Uri(baseAddress)
            };

            client.SetBearerToken(token);
            var response = client.GetStringAsync("users").Result;

            "\n\nService claims:".ConsoleGreen();
            Console.WriteLine(JArray.Parse(response));
        }

Thank you in advance for your help.
Regards,
Olivier

I finally found the solution by myself.
From the Startup class, I have removed the OpenIdConnect middleware and I use an other security configuration in the IdentityManagerOptions
appBuilder.UseIdentityManager(new IdentityManagerOptions
{
	Factory = Factory.ConfigureIdentityManagerFactory(appBuilder),
	SecurityConfiguration = new ExternalBearerTokenConfiguration()
	{
		SigningCert = Certificate.Load(),
		Issuer = "https://localhost:44333/core/",
		Scope = Constants.AccountMgrScope,
		Audience = "https://localhost:44333/core/resources"
	}
});

Could you may confirm that I don't created a security issue?
Thank you
Best Regards

That's the intent of the external bearer token config.

Brock - Does the ExternalBearerTokenConfiguration work? Per issue 123, it does not work. Can you elaborate (perhaps on issue 123 directly) what remains to be completed?

Well, it used to before some refactoring. After the refactoring I left it in, but never had a chance to confirm it was still working. But some other people did say it was working for them.

Thanks, I've been working through 401 unauthorized issues. Token looks good, I have the administrator role set too. I finally pulled in full source instead of using NuGet so I can try to track down what's wrong. I'll provide back information for others on success/failure.

I have done everything mentioned prior to this message but IDM still throws 401 for my api calls. Any suggestions ?

@sabby62 Are you using the NuGet package or source from GitHub? One thing from sample code above that stood out to me as an issue is the setup of IdentityServer at /core, but then calling the api at /api - I believe this should be called at /core/api, based on my results.

@iangriffin - For me I have the correct configuration. I am trying to call 'https://localhost:44333/admin/api/users' with bearer token

I am trying the same thing, but the claimsprincipal is not set by the middleware
header is correct with bearer token
when i get to the api controller, there is no principal


The incoming tabular data stream (TDS) protocol stream is incorrect. The MARS TDS header contained errors.

I'm getting "The incoming tabular data stream (TDS) protocol stream is incorrect. The MARS TDS header contained errors.".
I'm using .NET Core 2.1, with Dapper 1.60.6 which uses System.Data.SqlClient 4.5.1.
https://github.com/dotnet/SqlClient/issues/85#issuecomment-857012939 says:
"Closing as issue has been fixed and backported to all versions." - however this is not true as we are still getting this issue.
When will this be fixed?

.NET Core 2.1 is out of support!

.NET Core 2.1 is out of support!

Additionally if you wanted someone to investigate the cause of the problem you should provide a way to reproduce it.

@DavidKlempfner as @ErikEJ has mentioned support for Net Core 2.1 was dropped on August 21st and it wont be receiving any update patches.
As @Wraith2 mentioned can you provide a simple repro application that we can look at the issue as well?

I'm using .NET Core 2.1, with Dapper 1.60.6 which uses System.Data.SqlClient 4.5.1.

Please use v4.8.2+ of System.Data.SqlClient to get the fix.

Closing the issue as it is Backported to System.Data.SqlClient in .Net Core.


[5.6] make package.resolved more deterministic in edge cases (#3967)

5.6 cherry pick of #3967

@swift-ci please test


Dynamic Gas metering

I'm opening this as a sub-PR since it involves so many moving pieces, it's hard to keep track of them if they were mixed with the main PR.
UPDATE: ended up changing my approach to a more efficient implementation with a smaller diff.

Okay cool, feel free to merge into the other PR

Hold on, since you just merged #245 I'm gonna add a couple commits here :)

I will take a look on this Monday afternoon - feel free to ping me if I don't


Python 3.11 fails with quotes

Python 3.12 (evidently) supports nested quotes, but not 3.11.  This will be fixed in the next release, imminent.
If you can use 3.12, the issue should not manifest.

Fixed in 3.11.02


Purchase control box

Control box is needed for Raspberry Pi, relay board, and LCD display.  In addition, all other wiring will need be connected in the box.

Box has been purchased.


Error

Hi. Today, the League of Legends client, upon logging in to the hotfix, displays a message that the files are corrupt and a repair needs to be performed.

equally with me

same :/

:/

eso paso por la actualizacion

The hotfix method was patched with the new 11.9 patch.


Noob questions

I've read great things about breadwallet and am considering using it as my primary wallet.
A question for the paranoid: if, for whatever reason, the breadwallet app got pulled from the iTunes store, is there another way to recover your wallet?
The latest app update was released on 27 September 2014. When can we expect the next update to be available for download?

Next update is coming in a few weeks.
And yes, there are a few different options if the app were to be pulled. There are other wallets like hive that are available on other platforms, as well as web tools, and you could even build breadwallet from source using Xcode and run it in the iPhone simulator on your desktop.

new update is out.


Please add some more switchings in atk x mode

Greetings,
I am happy that ii found a real developer who knows about visual studio and c# with ragnarok gaming.
Right now i want to request a feature in which to have more switching capabilities.

The reason for this is that it will help players be more competative on a higher rate server as they need more switching capabilities.
and also is it possible to add a delay in each hotkey presses? just like the one in the "Macro Switch" I think this will fix some issues with item switching on atk X Mode. as some items are not being switched according to the buttons/hotkey.
Here is what i did to enable to switch at least 3 items. before it was not working but when i did this it worked . lets look at i am a sniper.
Wearing shield (defensive card), knife  (defensive card)and a garment (defensive card) in defense. then when i click the spam key "f1" i am able to switch to bow, garment (offensive card). but when i am not putting weapon in the hotkey it does not switch.
offensive weapon: R
Defensive knife: T
Defensive Garment: D7
Offensive Garment: u

I tried adding armor and boots but it does not switch the armor just the following hotkeys above.

Hey @epicseo thank you, and thank you for your explanation with all the details needed. I'll discuss with Marcus about your suggestion, so we can come with a solution this week.
One question, what's the extra in your picture?


[ISSUE #5097] Fix illegal reflective access

Make sure set the target branch to develop
What is the purpose of the change
close #5097

Codecov Report

Merging #5098 (abf6ea5) into develop (ad72dbe) will decrease coverage by 0.02%.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             develop    #5098      +/-   ##
=============================================
- Coverage      43.18%   43.16%   -0.03%
- Complexity      7750     7757       +7
=============================================
  Files            995      995
  Lines          69103    69175      +72
  Branches        9154     9153       -1
=============================================
+ Hits           29845    29858      +13
- Misses         35499    35563      +64
+ Partials        3759     3754       -5

Impacted Files
Coverage Δ

.../main/java/org/apache/rocketmq/common/UtilAll.java
37.78% <0.00%> (-0.50%)
:arrow_down:

...ebalance/AbstractAllocateMessageQueueStrategy.java
81.25% <0.00%> (-18.75%)
:arrow_down:

...org/apache/rocketmq/common/stats/StatsItemSet.java
41.79% <0.00%> (-8.96%)
:arrow_down:

...etmq/broker/processor/EndTransactionProcessor.java
45.91% <0.00%> (-5.50%)
:arrow_down:

...controller/impl/DLedgerControllerStateMachine.java
80.95% <0.00%> (-4.05%)
:arrow_down:

.../apache/rocketmq/controller/ControllerManager.java
73.11% <0.00%> (-2.16%)
:arrow_down:

...mq/store/ha/autoswitch/AutoSwitchHAConnection.java
70.16% <0.00%> (-1.62%)
:arrow_down:

...ocketmq/broker/processor/SendMessageProcessor.java
44.63% <0.00%> (-1.48%)
:arrow_down:

...he/rocketmq/client/trace/AsyncTraceDispatcher.java
81.42% <0.00%> (-1.43%)
:arrow_down:

.../org/apache/rocketmq/store/timer/TimerMetrics.java
67.42% <0.00%> (-1.33%)
:arrow_down:

... and 30 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


visualization incompatible

visualization Not compatible in mac os

I'm not sure to understand your point. The preview image was taken from the macOS 😅

@cpea2506 I exactly follow your guidance. Are there some ways I can solve it? In my mac, this theme is also incompatible with nvim-tree

@cpea2506 I exactly follow your guidance. Are there some ways I can solve it? In my mac, this theme is also incompatible with nvim-tree

Ah. That's a problem with your terminal'font. You need to install Nerd Font

Thanks, I will try it.


jestPuppeteer.debug() on error?

Hi, I read the documentation and played a lot with jest-puppeteer (love it!).
Something I find myself needing is a way to run jestPuppeteer.debug() whenever a test fails for whatever reason, it's very difficult to understand what's going on with a failing test if the browser instantly closes.
I'm quite sure this is possible, but I can't find how to enable it in the docs, may you guys help me out please?

Hello @FezVrasta, I am afraid it is currently not possible using Jest. Anyway if you find a way to do it, please tell us!

FWIW I made it work by redefining the it global:
global.it = async ( name, func ) => {
	return await test( name, async () => {
		try {
			await func();
		} catch ( error ) {
			if ( E2E_DEBUG ) {
				console.log( error );
				await jestPuppeteer.debug();
			}
			throw error;
		}
	} );
};

Also, this is the place where I add any failure-related logging/reporting such as screenshot capture.