Help a stranger?

@CalebFenton
Hey,
You may or may not remember be, but i'm the guy who asked for your help on de-obfuscating a modified kik messager app known as "Pikek". The un-obfuscated version of the app was "leaked" so i jumped ship on trying to fuzz with the obfuscated code and started messing around with it.
I am back though asking for help on another obfuscated kik app.
This is my last plea.
Here's some background:
There is a small community surrounding it that does "Modifications" to its regular version. It's very popular now days for users to have a Modified Kik App. The "developers" of these modded kiks add all kinds of features that aren't normally in the regular version followed by mass distributing it via their websites.
The features include everything from changing the theme to having automated messages. If you'd like more detail, i'll give you a rundown of what the coolest mods to have on kik are. It really is a thing, no joke.
Fyi again, I do not know how to code and technically am a "skid", but i would like to be able to go in, look at the coding, see what they did, change and add things for myself; Basically customizing it the way i like it and using it on my personal behalf, for fun of course.
There is one app in particular known as "Matrik" that has been obfuscated similar to what "Pikek" had.
It has long class names with weird symbols and string encryption.  Obviously, this was done to prevent "skids" from taking their work and claiming it to be theirs.  It is only done to a handful of smali files; Files that they have either added or tampered with. Even so, most of the smali files weren't touched, just obfuscated differently. The ones with the added features are scattered among the smali files in the com and the folder titled matrik.
I have retried dex-oracle. The good news is that there are no errors, but the bad news is that i don't think the plugins are set up to do anything. "Optimized 0 methods" I can't figure out how to use or even understand what to change, yet alone figure out what i'm looking at for unique patterns and such.
It is an older version of kik: Version 8.10, that originally had default proguard with names and such as letters. Here is the regular version kik 8.10. Note: This is a old version of kik that the modded kik is based on, not the current one in the google store.
https://drive.google.com/open?id=0BwhSOSdIKPj8WWhKU1lORk40N1k
-> from my google drive and may have to copy and paste link into browser
Here is the Modified Kik App, also known as "Matrik": I obviously used the Apktool to decompile it.
https://drive.google.com/open?id=0BwhSOSdIKPj8WWhKU1lORk40N1k
-> from my google drive and may have to copy and paste link into browser
(If you'd like the decompiled apk, i'll give you a zip folder of all the files.  Of course it would be much faster if you decompiled it yourself)
This is what the class names look like:

This is what the encrypted strings look like: As you can see from looking at the function name, the main dude who writes most of the javascript/smali  calls himself moon. Don't get me wrong though, he seems to a very talented java script programmer. Some of what is on matrik is pretty impressive, to me anywho.

As a stranger, I am not pressuring you into helping me out, but i'd appreciate if you'd so kindly take some time out of your day try to help me break this. Although, this isn't anything important, most likely a waste of time, but i'm putting this out there in case you're bored.
By all means, Anyone who comes across this post may take a crack at it.
Thanks,
Paul

Hello there Paul,
I can see from the smali in the screen shot you provided that it looks like the encrypted string literals are stored in an array. I'm assuming that later on, the strings are retrieved from the array, decrypted, and used. This is a slightly different model than what dex-oracle handles right now, but it still may be possible to make it work.
Oracle itself is light weight and was at least designed to be flexible. The plugins are what contain most of the magic and take the most work to figure out and write. What's really needed is the ability for plugins to decide if they should be enabled or not. Until that exists, plugins can be added and disabled by default and enabled via the command line.
It should be possible to create a new plugin which first checks if the app looks like it's Kik and it has a known encryption. If this check passes, look for patterns like "const, const-string , aput-object", identify the decryption method, decrypt the strings using the decryption method, then replace that code with "const, const-string , const-string , aput-object". This wouldn't affect the behavior of the program, but would make the decrypted strings obvious when looking at the smali.
Also, since the string encryption is obviously base64, it'd probably be a good idea to make a general purpose base64 decryption plugin which does something similar to what I mentioned above for any string which looks base64 encrypted (contains only base64 characters, decrypts without error).
You're welcome to try and take a crack at making what I described, and I can help answer specific questions and review code. You can also try a tool called simplify. You can also try manually decrypting each string, assuming it's standard base64. I may eventually get some time to build the plugins myself, but it may be a few weeks.

Upon review of this issue, I see the download links are broken and no hashes were provided. I'm not able to build a plugin for this without a sample. Feel free to re-open if you have hashes for me.


Instantiate emscripten wasm failed

Describe the bug
instantiate emscripten wasm failed.
Screenshots
If applicable, add screenshots to help explain your problem.

 That's you have to deal with by instantiating in that way.

see the error which says you are trying to import a module "a". That's you have to deal with by instantiating in that way.

Sorry, I didn't understand the error, is it wrong to load the wasm the way I did?

Your Wasm file depends on a module named "a". It imports something - functions? - from module "a". You have not provided this module. You either need to figure out a way not to depend on module "a", or provide module "a".

Your Wasm file depends on a module named "a". It imports something - functions? - from module "a". You have not provided this module. You either need to figure out a way not to depend on module "a", or provide module "a".

OK thanks


Enable automated, reproducible releases

Upstream Cilium releases are not reproducible, so we take the pinned upstream images as a starting point and only add reproducible things on top. Golang builds are made reproducible with the usual combination of linking flags, while in Dockerfiles we make liberal use of SOURCE_DATE_EPOCH to replace timestamps.
The only Github action we need is the container image releaser, so we're stripping that workflow to the minimum required and remove all other workflows. After merging this PR, we should make v1.15-edg the default branch and turn on actions.

[x] Test runs on the same commit in my own fork, resulting in the same image digests:

~https://github.com/burgerdev/cilium/actions/runs/7489166201~
~https://github.com/burgerdev/cilium/actions/runs/7489165160~
https://github.com/burgerdev/cilium/actions/runs/7531335493
https://github.com/burgerdev/cilium/actions/runs/7531336868

E2E tests using these images (on https://github.com/edgelesssys/constellation/tree/burgerdev/bump-cilium)

[x] Upgrade test run
[x] Manual e2e test

The only Github action we need is the container image releaser, so we're stripping that workflow to the minimum required and remove all other workflows. After merging this PR, we should make v1.15-edg the default branch and turn on actions.

I think now might be a good to make this fork adhere to our rules: https://github.com/edgelesssys/wiki/blob/master/documentation/rebasing_forks.md. With that in mind I'd say that we trigger the release pipeline manually. What's your opinion?

Yes, we should follow the fork rules, but we nevertheless want actions activated, right? Rebasing the "delete all workflows" commit might turn out to be a pain, I wonder if we can work around that.


Allow the parked text to be placeable in different parts of a textview

This is more of an enhancement but I wouldn't mind working on a feature for this library where we can put the placeholder text in different parts of the textview instead of just at the beginning.

@ZkHaider hi, could you develop this part of your means?

Hey everyone, if you're looking to "park your text" in the beginning of the EditText, check out this fork from user "foxsake"! Just tried it out, works very well! Saved me the effort of modifying the source for the same feature, open source community yay!!!  :)
Once you use that repository, use this in your layout:
<com.goka.parkedtextview.ParkedTextView                     android:id="@+id/front_parked_edit_text"                     android:layout_width="match_parent"                     android:layout_height="wrap_content"                     android:background="@android:color/transparent"                     android:inputType="text"                     android:focusableInTouchMode="true"                     app:parkedInFront="true"                     app:parkedTextBold="true"                     app:parkedTextColor="#FFFFFF"                     app:parkedText="pika"                                         app:parkedHint="chuuuuuuu"                     app:parkedHintColor="#456a62" />
Have fun!  :D


Various small changes

Coverage decreased (-0.01%) to 93.44% when pulling 72f41e77900d430bf0661f8ee3fed7a48895d0ad on various into df1016517f06a2f9db45b44a1e9d84397ac7cc64 on master.

Coverage decreased (-0.75%) to 92.7% when pulling 13bb2f359248afaddb0113e3aee14f6f8899d0d0 on various into df1016517f06a2f9db45b44a1e9d84397ac7cc64 on master.

Coverage decreased (-0.75%) to 92.7% when pulling 13bb2f359248afaddb0113e3aee14f6f8899d0d0 on various into df1016517f06a2f9db45b44a1e9d84397ac7cc64 on master.

Coverage decreased (-0.81%) to 92.26% when pulling 7bd2e60819a602131967853ca1b1ea41191df19e on various into 08499c2d0e291a829023fc1d2726424b898cc187 on master.

Coverage decreased (-0.72%) to 92.82% when pulling 77e9cd70ff9d9bdab94fac257411ffebc0e00c34 on various into 729700532b2306675b083fce7158195fb5de125d on master.


removeColumn doesn't remove the column from the sColumns array

I have an issue where if i use removeColumn, the column will still be included in the sColumns array.
Using removeColumn will remove the column from the data array, but will it will still be included in the sColumns part.
The result is that when reordering, it will order by the wrong column.
Sorry for the vague explanation.

+1 or -1 select  exxample id,name,slug  error later id,name,slug,id

Hi, it seems that you were using Datatables v1.9 and below. I suggest you update to version 1.10++ if possible. See #12 for a sample code reference. I do recognized that the support for lower version is a little buggy and haven't used it already.
On the other hand, will check this given the time. Thanks for reporting.

As yajra said check out issue #12 for better examples.
I was having issues on the controller side. I set the column to "visible: false" on the view side and it works.

Sorry for my late reply, I'm using datatables 1.10.5
I build the datatable in the controller and use ->remove_column('id')
public function data()
{
    $event = Event::select(array('events.id', 'events.title', 'events.date', 'events.recurring', 'events.highlight', 'events.created_at'))
        ->orderBy('events.position', 'ASC');

    $test = Datatables::of($event)
        ->edit_column('date', '{{{ date("Y-m-d (D)", strtotime($date)) }}}')
        ->edit_column('recurring', '@if ($recurring) {{{ $recurring }}} @else off @endif')
        ->edit_column('highlight', '@if ($highlight=="1")  @else  @endif')
        ->add_column('actions', '  {{ Lang::get("admin/modal.edit") }}
                 {{ Lang::get("admin/modal.delete") }}
                <input type="hidden" name="row" value="{{$id}}" id="row">')
        ->remove_column('id')

        ->make();

    \Log::error($test);
    return $test;
}

That will result in this reply, that i use in the view for the datatable
{"sEcho":6,"iTotalRecords":5,"iTotalDisplayRecords":5,"aaData":[["abe","2015-04-08 (Wed)"," off "," <\/span> ","2015-04-01 03:27:07","<\/span>  Edit<\/a>\n                    <\/span> Delete<\/a>\n                    <input type=\"hidden\" name=\"row\" value=\"11\" id=\"row\">"],["abe","2015-04-16 (Thu)"," off "," <\/span> ","2015-04-01 03:42:55","<\/span>  Edit<\/a>\n                    <\/span> Delete<\/a>\n                    <input type=\"hidden\" name=\"row\" value=\"14\" id=\"row\">"],["abe","2015-04-16 (Thu)"," off "," <\/span> ","2015-04-01 04:11:12","<\/span>  Edit<\/a>\n                    <\/span> Delete<\/a>\n                    <input type=\"hidden\" name=\"row\" value=\"20\" id=\"row\">"],["2abe","2015-04-01 (Wed)"," monthly "," <\/span> ","2015-04-01 03:46:16","<\/span>  Edit<\/a>\n                    <\/span> Delete<\/a>\n                    <input type=\"hidden\" name=\"row\" value=\"16\" id=\"row\">"],["1abe","2015-04-01 (Wed)"," off "," <\/span> ","2015-04-01 03:46:04","<\/span>  Edit<\/a>\n                    <\/span> Delete<\/a>\n                    <input type=\"hidden\" name=\"row\" value=\"15\" id=\"row\">"]],"sColumns":["events.id","events.title","events.date","events.recurring","events.highlight","events.created_at","actions"],"aQueries":[]}

As you can see, the id column is still included in the sColumns part:
"sColumns":["events.id","events.title","events.date","events.recurring","events.highlight","events.created_at","actions"]

If I try to do what illuminate3 said, and add this part to the view
"columns": [
    {data: 'id', name: 'events.id', visible: false}
],

Then I'll get this error
DataTables warning: table id=table - Requested unknown parameter 'id' for row 0. For more information about this error, please see http://datatables.net/tn/4

I'm sorry if it's just me who aren't understanding this well enough

@Zalon
I liked to issue #12 above.
It has lots of details and code examples.
I used "visible: false" in the js declaration which does not solve your problem (which I had too) but it does work.

Should be fixed on v4.0.12 for L5 and 3.3.15 for L4.


[Suggestion] Explain how to use the generated files for the sapling maker in the GUI

I'm currently stumped on how to use the custom tree I made using the gui for the 1.14.4 version of this mod. Maybe have it explained in the GUI itself?

The easiest way currently is probably this mod by @darkhax.
Then you just have to throw the files in the appropriate subdirectories. Read that mods description for more info.
And yes, an explanation is on the todo list.

An explanation is now included in the GUI, along with some error handling.
Update to the latest version 2.1.2 to get those features.


Fix haddocks generation in GHA

Changelog
- description: |
    Fix haddocks generation in GHA
# uncomment types applicable to the change:
  type:
  # - feature        # introduces a new feature
  # - breaking       # the API has changed in a breaking way
  # - compatible     # the API has changed but is non-breaking
  # - optimisation   # measurable performance improvements
  # - improvement    # QoL changes e.g. refactoring
  # - bugfix         # fixes a defect
  # - test           # fixes/modifies tests
   - maintenance    # not directly related to the code
  # - release        # related to a new release preparation
   - documentation  # change in code docs, haddocks...

Context
Additional context for the PR goes here.
If the PR fixes a particular issue please provide a
link
to the issue.
Checklist

[ ] Commit sequence broadly makes sense and commits have useful messages
[ ] The change log section in the PR description has been filled in
[ ] New tests are added if needed and existing tests are updated.  These may include:

golden tests
property tests
round trip tests
integration tests
See Running tests for more details

[ ] The version bounds in .cabal files are updated
[ ] CI passes. See note on CI.  The following CI checks are required:

[ ] Code is linted with hlint.  See .github/workflows/check-hlint.yml to get the hlint version
[ ] Code is formatted with stylish-haskell.  See .github/workflows/stylish-haskell.yml to get the stylish-haskell version
[ ] Code builds on Linux, MacOS and Windows for ghc-8.10.7 and ghc-9.2.7

[ ] The changelog section in the PR is updated to describe the change
[ ] Self-reviewed the diff

Checked that there seemed to be no copy/paste crumbs coming from the same cardano-api PR. Found none, so LGTM :+1:


Added OnResponseCompleted to HttpResponse

Issue #160 @lodejard @Tratcher @GrabYourPitchforks

Have you considered making this new hook async?
Related discussion (concerning OSH): https://github.com/aspnet/Security/issues/76

:shipit:

@ajaybhargavb rebase this

Rebased.

:shipit:

Can you also look at all the related PRs?


checksums for new macchinina ova template

Description
This PR adds the newest checksums to the vmware version of the macchinina template.

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

@blueorangutan package

@DaanHoogland a Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 5036

@blueorangutan test centos7 vmware-70u3

@weizhouapache a Trillian-Jenkins test job (centos7 mgmt + vmware-70u3) has been kicked to run smoke tests

Trillian test result (tid-5590)
Environment: vmware-70u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 48154 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7001-t5590-vmware-70u3.zip
Smoke tests completed. 101 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File


Avoid sending Submariner return traffic to conntrack module

What happened:
When using Submariner with kubeproxy handler, it internally uses asymmetric routing (i.e., for a non-Gateway node, the incoming traffic is handled by CNI whereas outgoing traffic is handled by Submariner using the vx-submariner interface). Submariner can instruct Kernel to avoid sending the Submariner return traffic to Conntrack module as it impacts performance. We also need this fix because we are seeing an issue on OCP 4.11 platforms where the sourcePort of return traffic gets modified by the Conntrack module and the end-to-end communication fails.

In order to implement this feature, we will have to program new iptable rules in the "RAW" table with target "NOTRACK"


AVRO-3880: [Java][Build] Upgrade maven-antrun-plugin to 3.1.0

AVRO-3880
What is the purpose of the change
This PR aims to upgrade maven-antrun-plugin to 3.1.0 and replace an deprecated tag <tasks> with <target>.
In the current main branch, if we try to generate .class files from .proto files for test, we will get an error like as follows.
$ mvn -P protobuf-generate generate-test-sources

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:3.1.0:run (default) on project avro-protobuf: You are using 'tasks' which has been removed from the maven-antrun-plugin. Please use 'target' and refer to the >>Major Version Upgrade to version 3.0.0<< on the plugin site. -> [Help 1]

This is because maven-antrun-plugin 3.1.0 is automatically downloaded but <tasks> tag is not supported by the version.
Another option to fix this issue would be explicitly specifying the version of the plugin, say 1.8, which supports <tasks> tag, but it's too old.
This PR also includes change for some .java files, which is regenerated by the upgraded version of the plugin.
Verifying this change
Done by CI.
Documentation

Does this pull request introduce a new feature? (no)

@Fokko
Thank you for the review.
Should I ping others for some more review?

Thank you, @sarutak !


image preview

Description of the problem
It would be great if there was a feature to preview images
like https://www.npmjs.com/package/react-awesome-lightbox

Hi, @marefati110, thanks for your feedback. The feature to preview images is very nice. Yet, it is not the project's goal since UI is the most challenging part and it is impossible to provide ones unless we have a particular spec for it like Material Design or Ant Design. The core design of Zoom Image is inspired by the TanStack project. By mainly focusing on the logic from the library side, it creates unlimited capacity for UI customization from an application standpoint - The sky is the limit :)
As you can see from react-awesome-lightbox, it has its own style file. This might work for someone but not others, it leads to more or less CSS override shipped to browsers to customize the look and feel of applications. It also adds extra weight to bundle size which is bad for performance
I hope the answer above is clear enough to explain the ultimate goal of the project. I also updated the README and projection documentation site to reflect your feedback 🙂
Thanks so much
Best,
Nam

Hi Ali, I am going to close the issue since it's inactive for a while. Please feel free to open up if you need further discussion. Thanks so much :)


One point zooms too much

When a person only has one place data point, it zooms in all the way. Instead, we should zoom in a level appropriate for that place

Maybe it helps to change line #208 en line #213 to maxZoom: 16.
For me it looks better.


rest invoke output name mismatch in descriptor.json and runtime metadata

Descriptor json defines as result:
  "output": [
    {
      "name": "status",
      "type": "int",
      "description" : "The HTTP status code"
    },
    {
      "name": "result",
      "type": "any",
      "description" : "The HTTP response data"
    }
  ]

But runtime metadata define as data
type Output struct {
	Status int         `md:"status"` // The HTTP status code
	Data   interface{} `md:"data"`   // The HTTP response data
}

I think https://github.com/project-flogo/core/blob/master/activity/metadata.go#L18 will help you understand.

@skothari-tibco : @lixingwang pointing out that output metadata attributes are not in sync with descriptor.json.

@skothari-tibco I meant the output filed name not in sync. descriptor.json defined as result but runtime metadata define as data

Ohh. Yeah that's not correct. Thanks for pointing that out.

Any opinions on whether it should be data or result?  @mellistibco thoughts?

I think it should be data. As it is meant to be content of the result and not the result itself.

I would go with data.


App is not correctly finding loose closing braces.

The regex used to split the lines on special characters enclosed in braces is including loose closing braces.

Plan to update the regex from {\d+\s?".+?"}|{.+?} to {\d+\s?".[^{]?"}|{.[^{]?} to catch the condition where a loose closing brace is between an open and closed brace.  Also, will add this case to the test suite.


Proposal: Make it easier to obtain the position of the primary active cursor

Overview
Currently, it is rather difficult to obtain the position of the active cursor in the scene.
The focus handler system provides many pointers, and it is unclear which one is driving the active cursor. Further, there is no obvious means of gaining access to the active cursor in the scene.
Given that only one UIRayCasting camera is active at once in the scene, so it would make sense to be able to at least obtain information about the pointer driving that camera's position and orientation.
Expected Behavior
MixedRealityToolkit.InputSystem should contain an easy getter for obtaining information about the primary cursor in the scene. If there are two active cursors (one for each hand), it should return the cursor drawn by the dominant hand.
Actual Behavior
The MixedRealityToolkit.InputSystem can provide a list of many pointers and does not provide any information about the active cursor.
Unity Editor Version
Unity 2018.3.8f1
Mixed Reality Toolkit Release Version
v2 RC1

@luis-valverde-ms what do you think about this?

@provencher , it doesn't sound unreasonable. Can I ask about your particular use cases?

@luis-valverde-ms My use case involves interfacing with an existing UI interaction system, without rendering my scenes incompatible with MRTK interactibles.
I have an existing UI system which requires a Pointer origin and direction to draw a ray
That said, getting a general pointer origin and direction from the MRTK has required some clever hacking around.
The origin seems to be consistently represented by MixedRealityToolkit.InputSystem.FocusProvider.UIRaycastCamera.transform.position;
The cursor has been obtainable by writing code that checks for active hoverlight, as follows:

Finally, the direction I obtain by finding the vector drawn from the origin to the active hoverlight, which represents the active cursor.

getting a general pointer origin and direction from the MRTK has required some clever hacking around

Did you try using IMixedRealityPointer.Position/Rotation for that?

The origin seems to be consistently represented by MixedRealityToolkit.InputSystem.FocusProvider.UIRaycastCamera.transform.position;

I would advise against relying on that as it will contain information for the last pointer to raycast that frame.

The cursor has been obtainable by writing code that checks for active hoverlight

Did you try using IMixedRealityPointer.BaseCursor instead?

The issue with relying on IMixedRealityPointer anything, is that the only way to get access to it is by iterating over this list
MixedRealityToolkit.InputSystem.FocusProvider.GetPointers<IMixedRealityPointer>();
From that list, how do I know which one is driving the cursor?

One more datapoint: From chats with other folks who were getting started with MRTK v2, they also had similar feedback about wanting to know the "primary" cursor or pointer, so I'm just trying to +1 this to make it clear that we have multiple points of feedback on this.
I think that the other folks who were hitting this also clarified the statement with that the concept of "primary" can be funky when you have multiple sources of input (two hands) active, but the overall request still seems like a reasonable one to ask/explore.

@wiwei thanks for weighing in.
Regarding your point on the funkyness of getting the "primary" pointer, I think in most app, it makes sense to expose the dominant hand if two pointers are present. There already exists some notion of "handedness" in the MRTK.

@provencher , you usually know who is driving the cursor because you implement your UI logic based on pointer events. Is the problem here that your UI is Unity UI and hence receives a native Unity UI event that does not contain a reference to the pointer/cursor that is focusing it?

@luis-valverde-ms the issue is that the legacy UI system has its own focus system that has nothing to do with MRTK interfaces, and as such adapting it is a lot more work than allowing it to exist alongside the default MRTK systems.
I know this is not how the MRTK is designed to be used, but exposing data about what it's doing, allows me to integrate MRTK input in existing systems, without invasively modifying them

I think I'm getting there. So, you have your own UI system/components, which neither are Unity UI nor implement any of MRTK's pointer events.
This is where I get lost, do you want to use the active MRTK pointer to trigger UI events in your system?  Its a bit redundant, but it provides a ton of flexibility.

I'd worry that, unless you perform exactly the same raycast twice, you could end up with one of your UI components and one of the MRTK/Unity UI ones with simultaneous focus from the same pointer. If you don't consider things like the IMixedRealityFocusProvider.FocusLayerMasks and IMixedRealityPointer.PrioritizedLayerMasksOverride in use, you could get different results even from the same origin and direction.
Unless you really need to perform that second raycast yourself, I'd suggest having instead a global event listener that listens for all focus changes via IMixedRealityFocusChangedHandler and raises your UI events.
That would still leave us with the issue of deciding which pointer we care about. For that, I'd like to give a try to the concept of last pointer with input which I think it is similar to what we use in WMR portal, where you will see that the cursor ray is only displayed for the last controller you clicked. The input system could keep track of the last pointer that raised a pointer down event and report it as the primary cursor.
What do you think?

@luis-valverde-ms thanks for breaking that down.
I do agree that it's quite possible to get some variance if the layer masks are different.
The global listener suggestion isn't a bad one, however it comes at the cost of overhauling all my UI elements so that they will raise events when the MRTK raycast points at them.
My issue here especially, comes from the fact that I'm maintaing several apps with different UI interaction models. One in particular uses screen space graphics raycasting in order to determine focus, while the others use regular world raycasting for highlight. The former has additional code in place in order to snap to ui elements as the cursor is near, but not quite over the element. This was especially helpful given the HL1's gaze cursor isn't as stable as a hand caster.
In both of these cases however, the ray is initially cast from a pointer origin in a pointer direction. I use a common framework between these apps that both make use of this functionality, and both have very different cursor behaviors.
Finally, I'm perfectly comfortable with the notion of the last pointer, as in the WMR portal. Most vr systems are setup with this paradigm, and it's more than suitable. In our cases, the primary use case is going to be HoloLens 1 and 2, and I don't see it as important to select UI with more than one hand at once.
The important thing is largely that the bendy pointer ray lines up with where my ray cast is firing.
For the time being, as I've mentioned previously, I can accomplish this is simply by reversing the ray draw between the UIRaycastCamera and the first active cursor I find. Getting the last pointer used would be even more robust.

The idea behind the global listener is to avoid having to modify your UI elements by emulating the way you usually drive them based on the incoming MRTK events. The logic for that should reside in that shared, global listener that dispatches to the individual UI elements.
Nevertheless, I'll create a PR for that last pointer with input change and let you give it a try.

Perhaps I misunderstand the global listener workflow you're proposing.
Will the global listener just receive the pointer state every update, which I then route to my UI?
I assumed pointer still require interacting with some MRTK UI in order to trigger events.
Cheers for working on that PR however. It is much appreciated.

Pointer events are raised when the raycast hits something, whether it is UI or not, but looking at the code I see that at the moment some of them (focus changed, enter and exit) are not dispatched to the global listener.

@provencher , can you gives this a try? https://github.com/Microsoft/MixedRealityToolkit-Unity/pull/3983
@wiwei , do you think the changes in that PR could be useful too for that other people trying to figure out the primary pointer?

@luisalvesmartinsms that PR is certainly on the right track. It needs a bit of work however. Wrote some comments on the PR

Assigning to @luis-valverde-ms

@luis-valverde-ms I've been experimenting with this for a week now and here's where I'm at.
OnPointerDown, I store the active pointer. The issue is that the pointer is constantly destroyed when it goes out of view, so frequent clicking is required to get up to date things.
Beyond that I experimented with filtering out near interaction pointer, and finding which pointer is best represented by the ui targetting camera.
This code works about 90% of the time, but it does occasionally fail. I think this is a good way to look forward however.
private Vector3 GetReferenceDirection()         {             return MixedRealityToolkit.InputSystem.FocusProvider.UIRaycastCamera.transform.rotation * Vector3.forward;         }
`        private void Update()
{
if (PointerValid) return;
        IMixedRealityPointer closestPointerToReference = null;
        float referenceDotProduct = -1f;

        var referencePointerDirection = GetReferenceDirection();

        foreach (var pointer in MixedRealityToolkit.InputSystem.FocusProvider.GetPointers<IMixedRealityPointer>())
        {
            // Filter out near pointers and inactive pointers
            if (!pointer.IsActive || (pointer as IMixedRealityNearPointer) != null) continue;

            float dotProduct = Vector3.Dot(pointer.Rotation * Vector3.forward, referencePointerDirection);

            if (!(dotProduct >= referenceDotProduct)) continue;

            referenceDotProduct = dotProduct;
            closestPointerToReference = pointer;
        }

        ActivePointer = closestPointerToReference;
        //Debug.Log("New Active Pointer: " + ActivePointer);
    }`

Hey @provencher, interesting code. I'd like to understand a little better what the code is trying to do. When you say "which pointer is best represented by the ui targetting camera", how are you determining the "ui targeting camera"? Are you referring to the one that is referenced by the Unity UI system? You may not be referring to that one, but if you are I was under the impression that one of the reasons we moved to Interactables and away from Unity UI in v-next was to support multiple pointers and touch sources being able to interact with targets at the same time. But again, I could be misunderstanding what you mean here.
In your code above, what does the method GetReferenceDirection() return?

Hi @jbienzms
I've found that MixedRealityToolkit.InputSystem.FocusProvider.UIRaycastCamera.transform.rotation * Vector3.forward; is roughly mapped to the direction of the pointer, but not exactly.
That camera moves to match the head rotation when the GGV pointer is active, and then moves to the hand position and orientation when the hand far interaction pointer is active. From what I found there is also only one of those. I use that as a metric for aligning with the far interaction pointer.
I use this simply because I have failed to find any other suitable metrics

@provencher , I'd advise against taking a dependency on the value of UIRaycastCamera.transform. It is used by FocusProvider to perform raycasts against Unity UI for each pointer. The specific value it will end up with depends on the last pointer updated by the focus provider and there are no guarantees on pointer update order.
Would the forward direction of the main camera (CameraCache.Main.transform.forward) be a good altearnative for you here?

@luis-valverde-ms
I'll try using the main camera's forward direction as an alternative, however the reason I was using the rasycast camera was because it seemed to move to the far interaction pointer's world source dynamically.
Thinking about this further, I think my ideal usage scenario the following:
Before any click is detected:

The first pointer to draw a cursor on screen is held onto
If that first pointer goes out of view, the system switches to whatever other pointer is currently drawing on screen
After a click is detected:
-The click pointer should be the default, and I should be able to cache it without it going null after it going off screen.
If that pointer is no longer active (no longer in view), the system will fallback to the pointer above
If the pointer that clicked once comes back into view, it should return as the default pointer.

My code above is trying to emulate this scenario, but between the pointers getting destroyed and not being able to know when a pointer shows up on screen, it's quite difficult to get there exactly.

Pointers not being destroyed is filed as a separate proposal here: https://github.com/microsoft/MixedRealityToolkit-Unity/issues/4223

So I have another bit of code that helps recover the pointer that was used when you last clicked.
Basically I store the name, and when my cached pointer goes stale, I just search for the one that had the same name as the one that was cached when I clicked.
If that fails, I fallback to my dot product check.
`        private void Update()
{
if (PointerValid) return;
        IMixedRealityPointer closestPointerToReference = null;
        float referenceDotProduct = -1f;

        var referencePointerDirection = GetReferenceDirection();

        foreach (var pointer in MixedRealityToolkit.InputSystem.FocusProvider.GetPointers<IMixedRealityPointer>())
        {
            // Filter out near pointers and inactive pointers
            if (!pointer.IsActive || (pointer as IMixedRealityNearPointer) != null) continue;

            if (_clickPointerNameReference != null && pointer.PointerName.Equals(_clickPointerNameReference))
            {
                closestPointerToReference = pointer;
                Debug.Log("Found old pointer: " + _clickPointerNameReference);
                break;
            }

            float dotProduct = Vector3.Dot(pointer.Rotation * Vector3.forward, referencePointerDirection);

            if (!(dotProduct >= referenceDotProduct)) continue;

            referenceDotProduct = dotProduct;
            closestPointerToReference = pointer;
        }

        ActivePointer = closestPointerToReference;
        //Debug.Log("New Active Pointer: " + ActivePointer);
    }`

Further update that should include support for controllers
`// If active pointer is gaze, search for a better one
if (PointerValid) return;
        Handedness handInView = Handedness.None;

        // Check for controllers
        var connectedControllers = MixedRealityToolkit.InputSystem.DetectedControllers;
        bool isControllerConnected = connectedControllers.Count > 0;

        // Check if hand in view
        handInView = CheckHandInView();

        // If no hand in view or controllers are not found, we do not bother searching for a pointer and default to gaze pointer
        if (handInView == Handedness.None && !isControllerConnected)
        {
            UpdateActivePointer(MixedRealityToolkit.InputSystem.GazeProvider.GazePointer);
            return;
        }

        foreach (var pointer in MixedRealityToolkit.InputSystem.FocusProvider.GetPointers<IMixedRealityPointer>())
        {
            // Filter out near pointers and inactive pointers
            if (!pointer.IsActive) continue;

            var pointerName = pointer.PointerName;

            if (_clickPointerNameReference != null && pointerName.Equals(_clickPointerNameReference))
            {
                UpdateActivePointer(pointer);
                break;
            }

            // Filter out near interaction pointers
            if (pointer is IMixedRealityNearPointer) continue;

            Handedness pointerHandedness = GetPointerHandedness(pointerName);

            // Ensure we have a usable handedness
            if (pointerHandedness != Handedness.Left && pointerHandedness != Handedness.Right) continue;

            if (pointerHandedness == handInView || CurrentEngagedHand == pointerHandedness)
            {
                UpdateActivePointer(pointer);
                break;
            }

            if (!isControllerConnected) continue;
            // If we have controllers, try and match a hand with the first controller found
            foreach (var controller in connectedControllers)
            {
                if (controller.ControllerHandedness != pointerHandedness) continue;
                UpdateActivePointer(pointer);
                break;
            }
        }`

Resolved by #4538


default valid hostnames values and default scope value in the access token provider should be defined in graph core

default valid hostnames values and default scope value in the access token provider should be defined in graph core
Originally posted by @baywet in https://github.com/microsoft/kiota/pull/1051#r791026894
We should move https://graph.microsoft.com/.default and graph.microsoft.com

I will incorporate the typescript changes for the core part as I am already working on the auth part in core. And marking this issue in the Graph core for JavaScript

@baywet is this tracking work each team needs to cover or general kiota work.

I'm not sure anything needs to happen in Kiota itself anymore at this point. Maybe a little change in behaviour, if there are no valid hostnames, all the host names are valid (instead of nothing valid)?
For the scopes, maybe we could set a generic OpenId scope here as a default?
And then the work that needs to happen is to set the defaults in Graph cores instead.

After some additional research the best course of actions is probably:

To have a default scope of <scheme>://<host>/.default used in the GetAuthorizationTokenAsync method of the azure access token provider. This way it'll also work for national clouds or other APIs secured with MIP.
To have the allowed host validator validate when no hosts are provided. (already the case in .net)
To have default hosts defined with a derived authentication provider in graph core and removed from the kiota lib.

TODO:

[ ] test out ruby changes
[ ] update readmes for go/ruby service libs
[ ] create issues for php/python/swift
[ ] update public docs


[feature request] add Rust support

Recently I have tried converting a Rust elf binary to the  neorv32_application_image.vhd, by making a minor hack to the common.mk file. To my surprise it worked pretty much right away. My Rust program was very simple, essentially I only wrote to a couple of physical addresses (GPIOs) in order to toggle the LEDs on my board. But even calculating some trigonometric floating point stuff worked! But as soon as I added things like loops and more complex stuff, it didn't work anymore. My guess is that the instructions in the  neorv32_application_image.vhd were not valid for some reason. I haven't tried using the bootloader yet due to my hardware setup.
Anyway this got my hopes up, that we may have Rust support in the future in some way?

Hey @Chris44442!
That's an interesting idea! I've never worked with Rust before, but I see it being adopted more and more - even in tiny embedded systems (which have a focus on security).
So, yes, I would love to see this project support Rust. Unfortunately, I'm far too inexperienced to tackle it.

To my surprise it worked pretty much right away. My Rust program was very simple, essentially I only wrote to a couple of physical addresses (GPIOs) in order to toggle the LEDs on my board.

That sounds great! Could you make the sources available some where? Maybe that would be a good starting point.

My guess is that the instructions in the neorv32_application_image.vhd were not valid for some reason.

Several CPU extensions are disabled by default: https://github.com/stnolting/neorv32/blob/main/rtl/core/neorv32_top.vhd#L59-L71. You might try enabling them all.
Alternatively, when compiling your Rust program, you might try checking how to specify -march to avoid the compiler generating instructions which are not supported by the hardware.

This is my main.rs
#![no_std]
#![no_main]

use core::panic::PanicInfo;
const GPIO_BASE: usize = 0xffff_fc08;

#[no_mangle]
pub extern "C" fn _start() -> ! {
    let gpio_output_val = GPIO_BASE as *mut u32;
    let mut result: u32 = 0;
    unsafe {gpio_output_val.write_volatile(result);}
    result = result + 5;
    unsafe {gpio_output_val.write_volatile(result);}
    result = 3 * result;
    unsafe {gpio_output_val.write_volatile(result);}
    result = result - 2;
    unsafe {gpio_output_val.write_volatile(result);}
    if result == 1 {
        unsafe {gpio_output_val.write_volatile(0x0000_0001);}
    }
    else if result == 13 {
        unsafe {gpio_output_val.write_volatile(0x0000_3333);}
    }
    else {
        unsafe {gpio_output_val.write_volatile(0x0000_0010);}
    }
    loop {}
}

#[panic_handler]
fn panic (_info: &PanicInfo) -> ! {
    loop {}
}

and my Cargo.toml
[package]
name = "neorv32_rusty"
version = "0.1.0"
edition = "2021"

[dependencies]

[[bin]]
name = "neorv32_rusty"
test = false
bench = false

and my config.toml
[build]
target = "riscv32imc-unknown-none-elf"

*I have also tried riscv32i-unknown-none-elf as the target, but I haven't noticed a difference. So my guess is that the problem is not the rust compiler generating unsupported instructions, but something else.
my vhdl instantiation
neorv32_top_inst: entity work.neorv32_top
  generic map (
    -- General --
    CLOCK_FREQUENCY              => 50000000,   -- clock frequency of clk_i in Hz
    INT_BOOTLOADER_EN            => false,             -- boot configuration: true = boot explicit bootloader; false = boot from int/ext (I)MEM
    -- RISC-V CPU Extensions --
    CPU_EXTENSION_RISCV_C        => true,              -- implement compressed extension?
    CPU_EXTENSION_RISCV_M        => true,              -- implement mul/div extension?
    CPU_EXTENSION_RISCV_Zicntr   => true,              -- implement base counters?
    -- Internal Instruction memory --
    MEM_INT_IMEM_EN              => true,              -- implement processor-internal instruction memory
    MEM_INT_IMEM_SIZE            => 17*1024, -- size of processor-internal instruction memory in bytes
    -- Internal Data memory --
    MEM_INT_DMEM_EN              => true,              -- implement processor-internal data memory
    MEM_INT_DMEM_SIZE            => 8*1024, -- size of processor-internal data memory in bytes
    -- Processor peripherals --
    IO_GPIO_NUM                  => 8,                 -- number of GPIO input/output pairs (0..64)
    IO_MTIME_EN                  => true               -- implement machine system timer (MTIME)?
  )
  port map (
    -- Global control --
    clk_i  => FPGA_CLK1_50,     -- global clock, rising edge
    rstn_i => hps_fpga_reset_n,    -- global reset, low-active, async
    -- GPIO (available if IO_GPIO_NUM > 0) --
    gpio_o(0) => LED(0), -- parallel output
    gpio_o(1) => LED(1), -- parallel output
    gpio_o(2) => LED(2), -- parallel output
    gpio_o(3) => LED(3), -- parallel output
    gpio_o(4) => LED(4), -- parallel output
    gpio_o(5) => LED(5), -- parallel output
    gpio_o(6) => LED(6) -- parallel output
  );

To get it working I simply replace one of the main.elf files from the software examples with my compiled rust elf binary, comment out $(APP_ELF): $(OBJ) in the common.mk and run make image to get the neorv32_application_image.vhd
I have made a few more tests and right now my suspicion is that any loops results in jumps to the wrong address. One thing to note is that Rust elf files seem to look a bit different, if you inspect them with a hex editor compared to C elf files.
If statements seem to work, and I have also tested some u32 and f64 calulations which did seem to work. But, even the infinite loop at the end of the program can result in unexpected behavior. Maybe I will try to dig deeper in the next few days. But I have just started learning risc-v so my experience is limited.

Unfortunately, I still haven't found the time to try it out myself. Anyway, thanks for sharing your code! Rust is definitely on my want-to-learn list :wink:

One suggestion is to look at the ibex code:
https://github.com/lowRISC/ibex-demo-system/blob/main/sw/rust/demo/led_hal/src/main.rs
they have several rust examples running on their version of the risc-v with builds for the Arty board ....
#![no_main]
#![no_std]

extern crate panic_halt as _;

use core::fmt::Write;
use embedded_hal::blocking::delay::DelayMs;
use riscv::delay::McycleDelay;
use riscv_rt::entry;

use embedded_hal;
use embedded_hal::digital::v2::{InputPin, OutputPin};
use hal::{pac, ErasePin, GpioExt};
use ibex_demo_system_hal as hal;

In the Cargo toml file they reference it in their dependencies :
[dependencies]
panic-halt = "0.2.0"
riscv = {version = "0.10.1", features = ["critical-section-single-hart"]}
riscv-rt = "0.11.0"
ibex-demo-system-hal = {path = "../../ibex-demo-system-hal"}
embedded-hal = "0.2.7"


fix bitmap and bloomfilter index should not do light index change

Proposed changes
cherry pick https://github.com/apache/doris/pull/35214 to branch-2.1
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall


Uncaught ReferenceError: webpack_require is not defined

There is an error "Uncaught ReferenceError: webpack_require is not defined" in production render process.
It took me almost one day to solve it and finally fixed it by changing "babili-webpack-plugin": "^0.1.2", to  "babili-webpack-plugin": "0.0.11".

I also have a circular import issue in production environment while it is okay in development production. It seams BabiliPlugin a little not reliable. Is it possible to have other solution?

The boilerplate will be using uglifyjs for the next version (#1166) instead of babili. Maybe try implementing the changes relative to uglifyjs in the respective commit for the meantime?

@uppe-r thanks. uglifyjs works. I switched uglifyjs.

@wangyueming Do you use uglifyjs-webpack-plugin in webpack3?


Potential regression in next/head via v8.0.4-canary.20

Bug report
Describe the bug
Hi, I currently maintain next-seo and I am in the process of testing V2 of the library. I noticed that on the latest version of next that when navigating to another page the head does not update correctly. I started back at V7 of Next worked up to the version it stopped working on.
The last version it works on is v8.0.4-canary.19 and as soon as I update to v8.0.4-canary.20 it stops working. Looking through the commits associated with the version it doesn't seem that they would cause an issue. Any insights that would help debug?
Basic scenario:

Homepage has a title set (Title A)
Clicking a  to page b and the title remains as Title A
Refreshing the page will see that page title is correctly set

Hope to publish a canary version later of next-seo and provide an example sandbox with the steps to reproduce.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
System information

OS: [e.g. macOS, Windows]
Browser (if applies) [e.g. chrome, safari]
Version of Next.js: [e.g. 6.0.2]

Additional context
Add any other context about the problem here.

Maybe related to https://github.com/zeit/next.js/commit/445d3f0a33a24297711c695b2904f8795d06d728?
Can you revert just this commit and see if it fixes?

🤔 For some reason I can not get the changes to show up in the local file: linked version of next when I build it. Tried a good few steps but no joy.
I did manually override the node_modules version head.js to reflect that change revert but it had no affect. But I wouldn't be confident in doing it that way 😅

Hi, can you post a repo with a minimal reproduction? We actually have tests covering this here which are passing.

Ah... I just published an Alpha version of the next-seo so I could create a minimal repo for the issue and the issue is not there.
Only difference is that where I am seeing the issue I am referencing the lib directly -> see here
and on the repo that try's to re-create the issue, I reference the npm module see here
Is there any known strange behaviour with next/head locally?

Interesting 🤔 I'm not finding anything that we changed that would have affected the way you import next/head. Could you add repro steps for the error from referencing the lib directly?
Is it just pulling down the migrate-to-typescript branch, yarn build, and yarn test or are you running them differently?

Yeah so pull down that branch.
Run: npm install, npm run build
Then I have an e2e folder that I just cd into and install and run that as a normal app.
If you click around in there you will see the title not updating.
If you need more info let me know and will write out better info when I’m back my laptop.

It looks like this is due to you using two separate Next.js insallations. When you install next in the e2e folder and then import ../../lib it imports the next installed to your project's node_modules.
It works fine if you remove node_modules, next.config.js, and .babelrc from e2e and upgrade to next@canary in the project then run yarn next e2e from the project root.
I'm gonna close this issue now since it doesn't appear to be due to Next.js. If you're still having trouble feel free to reply.

🙏 @ijjk  thanks for taking the time to look into this. I'm not sure I would of figured that one out, was on a total different path. Hopefully I didn't waste too much of your time 😅


Validator "in" should be "included"

🔎 Overview
Documentation showed the use of an "in" operator but this does not exist. The operator should be "included".
Ex (Feat):

This PR fixes the radio button documentation example.

✔ Issues affected
No issues affected.

Thanks for the PR, much appreciated!


Set a short timeout for git clone and retry

Pull Request Checklist

[x] implement the feature
[x] write the documentation
[ ] extend the test coverage
[ ] update the specification
[ ] adjust plugin docstring
[ ] modify the json schema
[ ] mention the version

Fixes: #2317

Hi @optak and @sopos, please give it a try by using the patch (gh pr checkout 2425) in your environment, thanks!

/tests/unit seems to be failing because of:
DEBUG    tmt:log.py:720 retry: git clone --depth=1 https://github.com/beakerlib/THISDOESNTEXIST /var/tmp/tmt/run-003/tmpmklv5d7a/github.com/THISDOESNTEXIST failed, 1 retries left, trying again in 10.00 seconds.
ERROR    tmt:log.py:720 fail: git_clone() missing 2 required positional arguments: 'url' and 'logger'

@idorax, do you plan to finish this one for 1.30?

I've reviewed the code and I'd say the current approach is not very clear. There are still gaps which are not covered as mentioned above and the condition logic trying to cover the combinations becomes a bit complex.
What about introducing a new helper function which would take care of the cloning itself and handle the url rename, shallow clone and retry above it? Here's a quick outline how it could look like:
def git_clone(...):
    # Update url only once
    if can_change:
        url = clonable_git_url(url)

    # Do an extra shallow clone first
    if shallow:
        _git_clone(shallow=True, ...)

    # Finish with whatever number attempts requested (deep)
    try:
        retry(func=_git_clone, shallow=False, ...)
    except RetryError:
        ...

@happz, @therazix, @bajertom, @idorax, what do you think? Anyway, this is quite an essential part of the functionality, would be good to give a bit more testing before release so not a good candidate for a last minute change, thus moving to 1.31.

What about introducing a new helper function which would take care of the cloning itself and handle the url rename, shallow clone and retry above it? Here's a quick outline how it could look like:

Refactoring the code to get purer and more focused functions sounds like a good approach. I agree there's too much happening the code got too complicated.

@happz, @therazix, @bajertom, @idorax, what do you think? Anyway, this is quite an essential part of the functionality, would be good to give a bit more testing before release so not a good candidate for a last minute change, thus moving to 1.31.

Agreed, needs more time to mature.

Agreed, needs more time to mature.

Hi @happz, @psss, the patch is updated, please help to review again if you have time :-)

Unit test case test_beakerlib.py::test_mark_nonexistent_url, it fails after we use retry solution as the URL https://github.com/beakerlib/THISDOESNTEXIST does not exist. e.g.

The problem was that the RetryError exception has to be caught during the library fetching. Should be fixed by c7534a78 as well.

/packit test --identifier full

/packit test --identifier full


IntelliJ + Gradle: .idea/compiler.xml should be exluded

In the case when using IntelliJ and Gradle, the file .idea/compiler.xml should be excluded, as this file is automatically generated based on the Gradle build model.

Please submit template PR's to https://github.com/toptal/gitignore


Writing Console Apps: Creating single binaries with native compilation

Issue tracking new topic at http://dotnet.github.io/docs/console/single-binaries.html

This needs to be removed from the TOC.

Would it be added back in later?  I would think that we'd still be interested in the notion of creating single binaries at some point.

@cartermp no, we will never add it back. It is dead. It has gone to meet its maker. If we didn't nail it to GitHub, it would be pushing up the daisies. It has put down the curtain and gone to meet the choir invisible. It is a dead topic.
https://www.youtube.com/watch?v=npjOSLCR2hE :)))
Of course we will put it back.

Closing this for now. We just need to link to the native compilation roadmap from our core/index.md file when that is published.


Fix artifact delete

There is currently a bug in the system in which if there is an artifact with a processing job attached, it can't be deleted.
This PR allows to delete an artifact that has successful/failed processing jobs and raises a meaningful error if the artifact has queued/running jobs.
@antgonza @ElDeveloper @mortonjt a quick review is appreciated, since this bug is in master and in the live system.

Closing in favor of: https://github.com/biocore/qiita/pull/1604

:+1:


I need a INI file for 10.0.22000.1 - WIN 11

hi, I am really new in this topic and I can't run the RDP Wrapper on Win 11.
Maybe the rdpwrap.ini file is not compatible with win 11.

problem solved for win 11 pro with this:
https://raw.githubusercontent.com/sebaxakerhtc/rdpwrap.ini/master/rdpwrap.ini
thanks <3

非常感谢师傅,解决了我在win11家庭版22458.1000上不可用的问题.

not working in windows 11 pro version 10.0.22000.493


Provide main JSON output with the result, with the HTTP 200 OK status code.

Responding with the HTTP 200 OK status code and accompanied JSON outcome:

$ curl 'http://localhost:8765/route/direct?from=4838&to=524987'
{"from":4838,"to":524987,"direct":true}

or
$ curl 'http://localhost:8765/route/direct?from=82&to=35390'
{"from":82,"to":35390,"direct":false}

Bumping version number to 0.3.0.

She looks correct and concise! 👍 — Approved. 💙


UI doesn't allow putting Ambari HTTPS URL for importing

As I looked into developer tool in safari, there's no request on backend side.
@harshach Do we also need to fix this as well as HDF-3.0-maint?

@HeartSaVioR
UI doesn't do validation on whether it's http or https in URL. The reason you are seeing the error is that of missing "clusters" string in your URL as visible in the screenshot. :) It should be api/v1/clusters/cl1
Could you please try adding clusters and verify again. Thanks.

@shahsank3t Sorry that seemed to just my miss. Closing this. Thanks for reminding.


rtp.Amount trim trailing zero (or not force the decimal part)

Hello,
Is it possible to not force the decimal part of rtp.Amount?
Because some currencies:

don't have decimal part (i.e. XOF, XAF)
have more than 2 digits on decimal part (more unusual...)

This repository is used for RTP (by The Clearing House) which only allows USD. They don't support all of the currencies that ISO 20022 does.

make sens, but it possible to define global variable for precision of amount (as for ISODate https://github.com/jerome-laforge/rtp20022/commit/ac6fa8700c64570bc8c2e0866f2fc66affd78e50) with default value set to 2 (current behavior for USD) ?
	f := 1.5
	fmt.Println(strconv.FormatFloat(f, 'f', -1, 64)) // 1.5 no trailling zeros
	fmt.Println(strconv.FormatFloat(f, 'f', 2, 64))  // 1.50
	fmt.Println(strconv.FormatFloat(f, 'f', 3, 64))  // 1.500

https://go.dev/play/p/wQUjk5C34-5

I appreciate your insight with understanding there are slight differences in ISO 20022 usages across the industry. We are seeing this with fednow and fedwire implementations of ISO 20022 as well.


Added new package versions for Confluent 3.1.1 release.

One new service ... Confluent Replicator.   Other services are simply updated with latest Confluent packages.

@dbtucker Can I also ask you to write short getting started docs for these packages so users don't have any issues installing and understanding how they work?
You can create a PR against https://github.com/dcos/examples and refer other examples listed there. These examples will finally go here: https://dcos.io/docs/1.8/usage/tutorials/.
This is also now part of the package submission guidelines: https://github.com/mesosphere/universe#submit-your-package

Can do.   There is also a white paper we wrote up for the initial release at https://www.confluent.io/whitepaper/deploying-confluent-platform-with-mesosphere

Thanks @dbtucker. I've created an issue in https://github.com/dcos/examples/issues/23 for tracking.
You can reuse the content from this white paper and maybe also add a link to it at the end of each example. Please follow the template from other examples there.

Done with new commit to rename 3 to 0   Did not rebase ... hope that's OK.

On Nov 23, 2016, at 1:53 PM, Ravi Yadav<EMAIL_ADDRESS>wrote:
@ryadav88 commented on this pull request.
In repo/packages/C/confluent-replicator/3/config.json https://github.com/mesosphere/universe/pull/842:

@@ -0,0 +1,62 @@
+{
@dbtucker https://github.com/dbtucker directory version here doesnt affect the version of the package in Universe. It is for us to keep track of how many version updates were made starting with directory version 0. Please change it for confluent-replicator

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/mesosphere/universe/pull/842, or mute the thread https://github.com/notifications/unsubscribe-auth/AA8Pdn4X81k-S5whPd-H4wNR6wjAnvsoks5rBLXxgaJpZM4K3s1J.

@ryadav88   Can we merge this while the work on the examples doc is being completed ?   We have folks asking for this version and the AWS conference is this week (where I'd love to evangelize both DC/OS and Confluent).

@dbtucker did you make a decision for this:https://github.com/mesosphere/universe/pull/842#discussion_r89258736?
Apart from this, the PR LGTM! will merge after your response.
And yes, we can track the examples separately and add them once they are complete.

Forgive the confusion.   When I look at the "Files Changed" listing for this pull request, I see the replicator package as "C/confluent-replicator/0".   No sign of the "3" directory since I added the two extra commits to my branch (so the PR now encompassed 3 commits).   Is there something I'm missing ?


added first_differences method

fixes #58
This computes "first differences", or the difference/distance between sequential measurements taken from the same individual. This simply computes the differences, which can then be used as input for LME or other methods.

thanks @jairideout ! I believe the newest batch of changes covers all requested changes and unit tests. 🎾
I notice the merge conflict caused by another PR — I will fix that after you approve current changes in case other changes are required.

Weird, my latest review got split into two reviews. Anyways, here they are!
https://github.com/qiime2/q2-longitudinal/pull/59#pullrequestreview-69979527
https://github.com/qiime2/q2-longitudinal/pull/59#pullrequestreview-70016748

thanks Jai! I have made all requested changes in both new reviews, including registering a new SampleData[FirstDifferences] type.

Okay @jairideout I have updated the FirstDifferences format to use __validate__ and this is ready for you to review, thanks for the guidance!
It looks like travisCI is not initiating for some reason — all tests/flake8 are passing locally.

thanks @jairideout ! I have made all requested changes except for moving the semantic type information into a separate file. Please don't send me to circular import hell! 🌀🔥😱🔥🌀 (at least not in this PR)!
I hope all other changes look good!

@nbokulich I refactored the type/format/transformer code out of plugin_setup.py and made several other changes -- everything's described in this commit. Can you do a final review of my changes and then we can merge? Thanks!

Thank you so much for all your help on this @jairideout ! Your commit looks great to me — thank you for saving me from circular import hell! I owe you some 🍻 🌯 :1st_place_medal:
Ready to merge when you are...

Thanks @nbokulich, and not a problem at all!


Save array's size instead of offset.

Proposed changes
In #5142 , chaoyli gives some suggestions:

ArrayColumnWriter writes null as separate column.
save array's size instead of child column's offset.

Types of changes
What types of changes does your code introduce to Doris?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)
[ ] Code refactor (Modify the code structure, format the code, etc...)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x]  chaoyli have created an issue on (Fix #5142) and described the bug/feature there in detail
[x] Compiling and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If these changes need document changes, I have updated the document
[ ] Any dependent changes have been merged

@yangzhg cc @wangbo


[Bugfix] Nms_ir data_race solved

Bug reproduced on Mali GPU. Previously was tested on Intel graphics, Nvidia GPUs, worked find with no erros. @vinx13 Please lemme know if you think this also applies to faster-r-cnn, thanks!
@vinx13 @masahi Please help review

thanks @Laurawly @vinx13 this is merged.


Update NPM package

Can you please update the NPM package?
It was last published 2 years ago but the GitHub repository was updated on July 2019.
There's a substantial improvement in the GitHub code, mainly detecting Edge Chromium.
Thanks ❤

See the commit history:
https://github.com/bestiejs/platform.js/commits/master
There is not much important feature upgrade since last publish

Hey, sorry for the delay - will try to clear up some issues and bump this week.


feat: create custom renderer to improve performance on bigger datasets

Context
Recently I discovered we are having some issues on week mode when passing a larger dataset of events. This issue is caused due HERE we are filtering 3 times the event list in each re-render.
Solution
Now when enabling the enrichedEvents through the prop enableEnrichedEvents the lib will be using a new way to organize and render the events:

Lib preprocess the events creating a dictionary where the key is the date of the event and the value is the event itself.
a.  In case of multi-day events, the event will be duplicated (will be in all the keys from the start to the end date)
Lib renders the events inside a useCallback improving the performance on re-renders
we iterate just one time over the event list when rendering them

Tests
####Storybook
I adjusted the story named "Tons of sorted events" to show week mode and show one multi-day event

@acro5piano Could you please take a look

@Lespoir Nice catch. Thanks for your contribution!


Allow for setting enter as a keyboard shortcut through the UI

Issue Type: Feature Request
The Ask
Today you can set all keyboard shortcuts throught the UI, except those whose last chord part is a sole enter. This includes the shortcut enter. This seems to be because enter submits the shortcut's setting dialog.
My feature request is for VS Code to allow these shortcuts to be configured from the UI.
My Use Case
I'm an extension publisher and my extension has a REPL with a multiline prompt. Some users want to submit the prompt using enter, some  users want to create new lines using enter. My extension allows for this to be configured as a vscode keyboard shortcut. But the instructions I have to give to my users for configuring it involves finding the keybindings.json file and disable the default shortcuts and enable whatever shortcuts they want.
I'd want to just instruct them to use the Keyboard Shortcuts UI for configuring this.
I'll Send a PR
If this is deemed something that the VS Code teams want to enable, I am willing to put in work to get it done.
One idea for how this could be allowed is the change the UI such that the user needs to click a submit button in order to set bindings. Then enter would be non-special. I think people are used to such UI:s today from various chat clients.
VS Code version: Code 1.40.2 (f359dd69833dd8800b54d458f6d37ab7c78df520, 2019-11-25T14:52:45.129Z)
OS version: Darwin x64 19.0.0

Great, PR would be more welcome. Please think of a design that can disable enter to accept.

Hi, I'm interested in this issue. Can I work on this?

As far as I am concerned, yes, @blueworrybear . I had hoped to get the time with this, but then I made a workaround in my extension that killed a lot of my incentives. So it will probably not be something I find time to do.

I know this is a pretty old issue and apologies for the bump, but I'm writing this just as a reference for anyone in the future who has this problem, is looking for an answer, and happened to stumble across this issue like me.
To use only the "enter" key as a keybinding:

Change the command keybinding to something random (to make it appear in your keybindings.json)
Open keybindings.json (Ctrl+Shift+P > Preferences: Open Keyboard Shortcuts (JSON))
Find the command that you're trying to change the keybinding of
Change the value of the "key" field to "enter" ("key" : "enter",)


[0.3] Move upgrade command

This PR has modified files that have not been added for all versions. Please add them including the text [to be translated] so that the reviewer can easily upload or modify the translated versions. Missing folder/files:
EN - modules/ROOT/pages/operations.adoc

This PR has modified files that have not been added for all versions. Please add them including the text [to be translated] so that the reviewer can easily upload or modify the translated versions. Missing folder/files:
EN - modules/ROOT/pages/operations.adoc


ReactorServerHttpRequest resolveBaseUrl , Why take the host out of the header first?

Why not just use the original hostaddress first?

This is a class from spring framework. You should ask there.


Apparently unable to copy (cmd-c) from the console

I received an error after trying to run the sample generated by Atom.
The second time I ran it, I got a big exception and stack trace. I selected that text, and hit Cmd-C. I tried to paste it into GitHub, but apparently it's not being copied.

Atom 1.0.19, dartlang 0.4.8, SDK 1.13.0-dev.2.0 running on macos.

Other internal customers have reported this.

Thanks!


Update 'spo page clientsidewebpart add' command capabilities

Summary
Current behavior
Currently, with the spo page clientsidewebpart add command, you can :

[x] Add a Client Side Web Part to a SharePoint page only if this you have at least one section

If no section is existing on the targeted page, you will have an error that say "no section existing"

Additional behavior

[ ] Update existing page and add a section if not exist

To Do

[ ] Update command from solution
[ ] Update documentation of usage (MkDocs)
[ ] Validate cmdlet usage
[ ] Validate Unit test

Sounds like a good idea to add some convenience to using the method. Have you compared how this works in PnP Sites Core/PnP PowerShell? Which type of section is auto-added if necessary?

I had a doubt but after verification, with the following cmdlet:
Add-PnPClientSideWebPart -Page "Home" -Component "MyWebPart"

in fact, when you add a Client Side WebPart to an empty page (without section) the cmdlet create a default section if not exist and add Web Part.

Default section = 1 column?

Yes

Hey @Laul0 are you still working on this?

Hey @Laul0, did you have a chance to pick this one up or shall we let others help out?

Hi @waldekmastykarz, I'm finishing the mail send cmdlet first and I'll work on it.
Sorry for the delay, it is a period of holiday and family.
However, if someone else want to work on it, to be quicker, he is welcome

No problem. I'll set this command as available for picking and you can always take it back when you have time and it's still available.

Hi @waldekmastykarz, can I pick this up?

Of course! I appreciate your help 👏


Bulk Collection and Sending of Tracking Requests

Feature Description
Currently, the Matomo Java Tracker sends each tracking request to the Matomo server as soon as it is created. This can lead to a large number of individual requests being sent to the server, especially in high-traffic applications.
I propose adding a feature that allows the tracker to collect multiple tracking requests over a certain delay period and then send them all at once in a bulk request. This could potentially reduce the load on the Matomo server and improve the performance of the tracker.
Proposed Implementation
The tracker could have a configurable delay period (for example, 5 seconds) during which it collects all created tracking requests. At the end of this delay period, it sends all collected requests to the Matomo server in a single bulk request.
This feature could be optional and controlled by a new configuration property (for example, matomo.tracker.bulk-collection-delay). If this property is not set or set to 0, the tracker operates as it currently does, sending each request immediately.
Potential Challenges
One challenge could be ensuring that the tracker correctly handles the case where a new tracking request is created while it is in the middle of sending a bulk request. We would need to make sure that this new request is either included in the current bulk request (if possible) or held for the next bulk request.
Another challenge could be error handling for the bulk request. If the Matomo server returns an error for the bulk request, we would need a way to determine which individual request(s) caused the error.
Impact
This feature could significantly reduce the number of requests that the tracker sends to the Matomo server, potentially improving performance for both the tracker and the server. It could be particularly beneficial for high-traffic applications that generate a large number of tracking requests.

Oh, thanks so much! That sounds awesome! I will consider that.

@renatocjn Thanks for your analysis. The synchronization on queries came from the Matomo tracker I once created that was able to collect multiple send executions and create a bulk from them within a configurable delay. I removed that functionality due to the scope of the integration. However I forget to remove the synchronization on the queries.
I removed it until the feature is complete. You'll find a version 3.4.0 that contains a fix for that. No synchronization needed any longer. The bulk collection is not yet implemented in version 3.4.0.


Circular endpoint call timeout between FastApi services

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
from fastapi import FastAPI
import requests

app = FastAPI()

@app.get("/A1")
def read_root():
    return requests.get(url="http://localhost/B1")

@app.get("/A2")
def read_root():
    pass

@app.get("/B1")
def read_root():
     return requests.get(url="http://localhost/A2")  # this call will timeout

Description
Everything is tested only using development mode with auto reload enabled.
Assume services A and B both implemented using FastApi
Service A has endpoints A.1 and A.2
Service B has endpoint B.1
an external request arrives to endpoint A.1 which makes a call to endpoint B.1 (requests.post) which makes a call to endpoint A.2 (requests.delete). The final call times out resulting in the initial call to end in 500!
the handlers of each endpoint are simple CRUD operations
I know that design changes can remove the circular calls and everything will function. However, I'd really like to get to the bottom of this issue and understand why it is happening
thanks
Operating System
Linux
Operating System Details
No response
FastAPI Version
0.54.2
Python Version
3.7.7
Additional Context
No response

Hello @georgios-v
how are you running your services?
I had the same issue in the past and that was caused because I only had 1 worker.
If that's your case, here's what is happening:

an external request arrives to endpoint A.1
A.1 endpoint makes the request to B.1
fast api(or starlette i'm not sure) puts the B.1 request on hold while waiting for a worker to dispatch it
Time out happens because the existing only worker is processing A.1 request.

Solution:
Run the api with multiple workers
if you're using uvicorn, use the --workers argument
Example: $ uvicorn example:app --workers 4


Use alpine as the base image for haproxy

Dup https://github.com/appscode/voyager/issues/647
We want to switch to alpine base when moving to 1.8.x


converted subtitles not working

I tried converting this input
https://gist.github.com/darodi/3bc502f38ca02dc78664347f117d363c
The output is not correct, maybe because of the text format in the source file?

The script does not remove the additional color and placement annotations, or others that your file has.


Open in Windows 10

Hi
How could it run on windows ?
when i run "run.py" windows python open and close instantly
thanks

Hi,
Kindly check the readme file.
For windows, it's advised to use the bat file or pythonw
it'll run in the background on the available port.
Just open it in browser

Hi,
Why is the information blank on my control webpage?

Hi,
Are you sure you installed all dependencies correctly?
It seems that the data is not being parsed when loading  the template.
Also do you see any errors in the console?
On Wed, 9 Feb 2022 at 6:12 AM, lawattar @.***> wrote:

Hi,
Why is the information blank on my control webpage?
[image: image]
https://user-images.githubusercontent.com/99299731/153100122-5bce1fe9-5d16-4fc6-9751-6076c43585d6.png
—
Reply to this email directly, view it on GitHub
https://github.com/pavitra14/ArduinoARGBSync/issues/3#issuecomment-1033207731,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABWHB6L23YZ42AP4XIONKCTU2G2AXANCNFSM46ENHZFQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

The dependencies appear to be installed correctly in PowerShell.
I also put the bat file at system startup:

Can you please clarify how you launch the control screen? To get to the image I sent in my last comment, I clicked on app, templates, and index.html. Is this the correct way?

Please navigate to localhost:8080 to see the correct console.
On Wed, Feb 9, 2022 at 1:11 PM Laith Wattar @.***>
wrote:

[image: image]
https://user-images.githubusercontent.com/99299731/153142669-74c9dc70-55fb-4aab-8951-d09486444c0f.png
The dependencies appear to be installed correctly in PowerShell.
I also put the bat file at system startup:
[image: image]
https://user-images.githubusercontent.com/99299731/153143387-fe870c0f-01b6-4f45-b793-58906e8905c2.png
Can you please clarify how you launch the control screen? To get to the
image I sent in my last comment, I clicked on app, templates, and
index.html. Is this the correct way?
—
Reply to this email directly, view it on GitHub
https://github.com/pavitra14/ArduinoARGBSync/issues/3#issuecomment-1033438313,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABWHB6NGYEAKFQOCCJXHEWDU2ILCRANCNFSM46ENHZFQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

Thanks, I got it to work!


Fix for occasional qspi init bug

HAL strikes again. The NbData member of QSPI_CommandTypeDef is subtracted by 1 before being used. This either causes the initialization to take longer than it should when NbData is set to 0, or can cause a hard fault if the HAL code tries to read invalid data (like if the data buffer is on the stack, which is usually pretty close to the end of DTCMRAM).
I don't think the EnterQuadMode, ExitQuadMode, and EraseSector ones are really that important (since the HAL ignores them anyway), but it's probably best to set them to 1.

 C++-ify QSPI peripheral code

Interesting catch.
Weirdly, only the QSPI mode enable one (where DataMode is != QSPI_DATA_NONE) would be the only one that could trigger the issue. (The HAL Commands seem to ignore the Command->NbData unless the DataMode is something other than none). That said, 0 shouldn't be used anyway.
Perhaps more interesting, 0xffffffff as the NbData-1 would actually be set to the specified size of the flash chip. So probably best to update them all to 1 like you did.


"complete" event not dispatched on Android after playing a remote audio asset

Describe the bug
When using NativeAudio.addListener('complete', ...) to listen for the complete event, the event should be dispatched after the audio finishes playing. On Android, when playing an asset from a remote url (https://) the complete event is never dispatched.
To Reproduce
Steps to reproduce the behavior:

Prepare a project that targets Android
NativeAudio.preload({ assetId: "sample", assetPath: "https://download.samplelib.com/mp3/sample-3s.mp3", audioChannelNum: 1, isUrl: false })
NativeAudio.addListener("complete", event => console.log("complete", event))
NativeAudio.play({ assetId: "sample" })

Expected behavior
The complete event should be logged, but it is not.

@riderx Can this please be merged??

thanks for the work


ServiceDiscovery GetServiceResponse erroneously requiring an optional field

Version: rusoto_core 0.42.0, rusoto_servicediscovery 0.42.0
Failing code snippet:
let client = ServiceDiscoveryClient::new(Region::default());
let request = GetServiceRequest {
    id: service_id.to_string()
};
let response = client.get_service(request).sync().unwrap();

Result:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: ParseError("missing field `DnsRecords` at line 1 column 236")', src\libcore\result.rs:1165:5

Looking at the generated Service (part of the GetServiceResponse):
#[derive(Default, Debug, Clone, PartialEq, Deserialize)]
#[cfg_attr(any(test, feature = "serialize_structs"), derive(Serialize))]
pub struct Service {
...
    ///
A complex type that contains information about the Route 53 DNS records that you want AWS Cloud Map to create when you register an instance.

    #[serde(rename = "DnsConfig")]
    #[serde(skip_serializing_if = "Option::is_none")]
    pub dns_config: Option<DnsConfig>
...

and DnsConfig:
///
A complex type that contains information about the Amazon Route 53 DNS records that you want AWS Cloud Map to create when you register an instance.

#[derive(Default, Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct DnsConfig {
    ///
An array that contains one DnsRecord object for each Route 53 DNS record that you want AWS Cloud Map to create when you register an instance.

    #[serde(rename = "DnsRecords")]
    pub dns_records: Vec<DnsRecord>,
...

But the actual response from AWS looks as follows:
aws servicediscovery get-service --id srv-6rsvjngovanXXXX
{
    "Service": {
        "Id": "srv-6rsvjngovanXXXX",
        "Arn": "arn:aws:servicediscovery:us-west-2:XXXXXXXXXXXX:service/srv-6rsvjngovanXXXX",
        "Name": "XXXX",
        "NamespaceId": "XXXX",
        "Description": "XXXX",
        "DnsConfig": {},   <-- EMPTY STRUCT
        "CreateDate":<PHONE_NUMBER>.788,
        "CreatorRequestId": "BB099F98-64E1-47B0-94AD-3ECE136002E8"
    }
}

It looks like perhaps that empty struct is not being seen as "absent" but as "present with no fields", and as such the required dns_records field on DnsConfig is barfing.  This will be the normal response from a service in an HttpNamespace, which does not do any DNS registration.
Seems like dns_records should be Optional?  I am not sure if you could determine this during generation from boto or not...

Verified that changing DnsConfig.dns_records to pub dns_records: Option<Vec<DnsRecord>> allows the request to succeed as expected.  However, I see in botocore that servicediscovery has the following definition for DnsConfig:
"DnsConfig":{
      "type":"structure",
      "required":["DnsRecords"],
...

If this is being used to determine whether a field is Optional on types used in responses, then I don't think there is enough information provided by boto to do response generation like this statically. I am not comfortable submitting a PR for this because it seems like a potentially larger issue than just one field on one response...


Files not being served from rewrite rule after setting a SPA and root directory

Hi, I'm having an issue getting a rewrite rule to successfully serve files after setting a new root directory as a SPA. Basically, my folder directory is similar to this:

Project

app

index.html

node_modules
bower_components

Essentially, I'm launching the ws from the project root, setting app as the new root directory, setting index.html as the starting point for the SPA flag, and then trying to serve the bower_components folder to the app.
This is my launch command:
ws -d app --spa index.html -r '/bower_components/* -> ../bower_components/$1'
I'm getting a 403 error in terminal whenever the server tries to access the files. So I believe it's finding the folder, but can't serve it up. I've tried modifying the folder permissions with no success so far. Is there a way to do this currently? I might just be missing something completely. Any assistance would be greatly appreciated! Thanks!

Hi! Files outside of the root directory will not be served (for security reasons). If you set --directory to /app, then only files inside /app can be served. A rewrite can not help you here.
Your bower_components folder needs to be inside the root folder, so either serve the root project folder or move bower_components into /app


Update Composer dependencies (2024-02-17-00-03)

Visual regression test passed!
View the visual regression test report


allinone does not support changing the analyzer port

The following configuration does not work with "skydive allinone -c ":
analyzer:
  # address and port for the analyzer API, Format: addr:port.
  # Default addr is <IP_ADDRESS>
  listen: <IP_ADDRESS>:8087

analyzers:
  - <IP_ADDRESS>:8087

Error:
2017-03-16T11:36:53.22+01:00 fullstack-00:agent wsclient.go:125 http (*WSAsyncClient).connect > ERRO 09c Unable to create a WebSocket connection ws://<IP_ADDRESS>:8082/ws : Authentication failed: dial tcp <IP_ADDRESS>:8082: getsockopt: connection refused
The agent is still trying to connect on port 8082 although the analyzer is running on port 8087.
The culprit is this line in allinone.go: https://github.com/skydive-project/skydive/blob/e6cdba914d8ceac319c56d4619c3836be8f2adb9/cmd/allinone.go#L83
Changing the port to 8087 at this line solves the issue, but of course a good fix would consist in parsing the config and use the configured port.

https://softwarefactory-project.io/r/7202


Error received when using html for template

Hi,
I had a working example that was using a .jade file for the template, I have now updated this to use html. I have the required loader also but i am getting an error
new HtmlWebpackPlugin({
            template: './src/index.html',
            inject: 'body',

Is there something I am doing wrong ? when using a html file ? It should automatically use the required loader - right ?

Oops, I forget the html-loader :-) All working now.


Update Config.json

Tot PopClip-Extensions:
Adding a new line command to make it more functional.

This does not actually work. {\n: popclip text} would not insert a new line


Remove "1.0" from Handbook main page

The Handbook pertains to IBISBA, not specifically to IBISBA 1.0.

version numbers removed


Boxed expression component "insert multiple" columns/rows doesn't reset when opening another cell menu

The "insert multiple" columns/rows doesn't reset when opening the context menu from another cell.
video
https://github.com/kiegroup/kie-issues/assets/24302289/d91601af-c640-4459-8e92-6be6c99d37ec
steps

open a Relation expresion;
right click on a cell to open the context menu;
click on "Insert >"
right click on another cell;
the "Insert >" menu will still be opened.

### Tasks
- [ ] The option to insert multiples lines should reset when opening another cell's context menu

Not reproducible anymore. Thanks for testing it again @danielzhe!


5400203 - Scotch Creek

[x] Key climate change info that is not included in the assessment_comments can be added to alert the user via the PSCIS system standalone. Added - "Pipe is severely bent up at the inlet. Extensive erosion at the outlet with sheer clay walls.


Move wallet search to floatingbox

mobile needs the search results to be in its own list and not on top how desktop currently implements it

@keybase/react-hackers


Error with nullable values in headscale configuration

Since i barely have experience writing JS, please correct me if i'm wrong.
Today i was setting up version 0.3.9 with native integration (migrating from earlier version in podman), it mostly worked great
except headplane refused to load headscale config when tls_cert_path, tls_key_path, and oidc client_secret_path were set to null.
headscale does accept null for these values, and they're a sensible default that can be found on nixos
i've worked around by setting an invalid cert and using as an excuse to setup OIDC, but is there anything else required besides changing z.string().optional() to z.string().nullish() in app/utils/config/headscale.ts, to fix this issue?
zod optional/nullable/nullish differences

That most likely is the fix, I can address this within the next release.


Stop testing io.js

io.js has merged with the Node.js project again.
There won't be any further io.js releases.
Remove io.js inv from matrix testing.

@anthony-redFox Thanks for the suggestion.  Consider there won't be any more updates to IE8 either; should we stop testing that..?


Style inventory plugin not working, help!

Hi, trying to get this plugin to run:
https://github.com/getflourish/Sketch-Style-Inventory
to no avail
console error message:
TypeError: MSShapeGroup.shapeWithPath_ is not a function. (In 'MSShapeGroup.shapeWithPath_( shape)', 'MSShapeGroup.shapeWithPath_' is undefined)
line: 116
sourceURL: /Users/mycomputer/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Style Inventory.sketchplugin/Contents/Sketch/Inventory/Generate.js
column: 49
stack: addRectangleLayer@/Users/mycomputer/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Style Inventory.sketchplugin/Contents/Sketch/Inventory/Generate.js:116:49
addCheckeredBackground@/Users/mycomputer/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Style Inventory.sketchplugin/Contents/Sketch/Inventory/Generate.js:63:57
generate@/Users/mycomputer/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Style Inventory.sketchplugin/Contents/Sketch/Inventory/Generate.js:663:61
onRun@/Users/mycomputer/Library/Application Support/com.bohemiancoding.sketch3/Plugins/Style Inventory.sketchplugin/Contents/Sketch/Inventory/Generate.js:3306:57

Any help appreciated
thx!

tried replacing the function with some code found, now getting
"ReferenceError: Can't find variable: shape"

is there a plugin to run old plugins such as these?

As this is not about the API nor actionable, I'm going to close this.
You can ask help regarding plugin development here: https://sketchplugins.com


unshiftio / url-parse package-lock.json warning

https://github.com/manusa/isotope-mail/network/dependencies
Shows a warning due to a vulnerability in url-parse dependency.

Find out what dependency is causing trouble:
npm ls url-parse
`--<EMAIL_ADDRESS>  `--<EMAIL_ADDRESS>    +--<EMAIL_ADDRESS>    | `--<EMAIL_ADDRESS>    |   `--<EMAIL_ADDRESS>deduped
    `--<EMAIL_ADDRESS>
Updated webpack-dev-server to 3.7.1 and url-parse dependency updated to 1.4.3.

Warning disappeared


Update index.md

Adding Zola a rust based static site generator

Please confirm this pull request meets the following requirements:

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md.
[x] I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee).

Which change are you proposing?

[x] Suggesting edits to an existing topic or collection
[ ] Curating a new topic or collection
[ ] Something that does not neatly fit into the binary options above

Editing an existing topic or collection
I'm suggesting these edits to an existing topic or collection:

[ ] Image (and my file is *.png, square, dimensions 288x288, size <= 75 kB)
[x] Content (and my changes are in index.md)

A rustlang based alternative is providing more diversity to this list

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

@kenyonj quick question, when is this change rendered in the actual page https://github.com/collections/static-site-generators?

@dariuszparys 👋🏼 there was a manual edit we needed to make for the import process to complete successfully. It's all set now and is included in the collection.


🇨🇿 Czech translation is complete

The translation instructions say to celebrate, so here it is 🎉

Btw, after rebranding there was a hilarious bug where the original word for "pay", "zaplatit" (notice the "zap" beginning of the word) was translated to "BitBananalatit", which is obviously nonsense :) But at least it made me decide to contribute.
Anyway, keep up the good work!

Awesome! 🎉🥳
Thank you so much.
I did a release yesterday, that already contained most of your translations, but not all. The rest will be included in the next release.

This translation was released with 0.6.5. Thanks again for your contribution!


FR fix issues #128 & #131

Hello, we changed and corrected formats and values of certificate, dates and RAT test name and manufacturer.
Thanks

All issues fixed please could you commit changes
Thanks

You can create a new issue please.
We are going to fix issues needs to be fixed quickly.
Thanks


Half-height mode

How about a "half-height" mode in addition to the "fullscreen" mode?
I really like hstr because it gives me (besides other features) more context when browsing my history.
Still sometimes I miss however the context of my current terminal.
Hence I would prefer to configure a half-height hstr mode :) (if that's possible at all)

The reverse option may be helpful (prompt-bottom), see https://github.com/dvorka/hstr/blob/master/CONFIGURATION.md#examples

A solution can be find here: https://github.com/dvorka/hstr/issues/354


chore: Add initial stale bot config

This will not lock issues, so if an issue has been closed as stale, but someone from outside the Meltano team would like to reopen it, they need only add a comment to the issue to ask that it be reopened.
Closes #7328

@edgarrmondragon Good idea. We can create a centralized config file in meltano/.github (or any other repository), and add .github/stale.yml to each repository we want it to operate on that extends that central config: https://github.com/probot/stale/issues/141#issuecomment-402006522
I don't believe there's any way to have a single stalebot config file apply to multiple repositories.
I'll move this config over to .github, and update this PR to refer to that config file.


feat: Add clang-format-17 to package registry

Hi @jidicula,
As you requested in the Pull Request #163, I am creating this PR dedicated to the new entry in the package registry :wink:
Part of: https://github.com/jidicula/clang-format-action/issues/162

Edited your PR's body to link to https://github.com/jidicula/clang-format-action/issues/162


⚠ Turnos 24x7 has degraded performance

In 84cb6dc, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 1025 ms

Resolved: Turnos 24x7 performance has improved in 4461f7b.


Error execution --> ModuleNotFoundError: No module named 'lib.helper'

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
When I run the script -->   python3 pwnxss.py  -u https://mysite.com
I see this error:
Traceback (most recent call last):
  File "/opt/PwnXSS/pwnxss.py", line 7, in <module>
    from lib.helper.helper import *
ModuleNotFoundError: No module named 'lib.helper'

Desktop (please complete the following information):

OS: Linux  5.14.0-kali2-amd64 #1 SMP Debian 5.14.9-2kali1 (2021-10-04) x86_64 GNU/Linux
Python version: 3.9.7

A greeting and thanks

I'm running into this as well. Did you ever solve it?

I'm running into this as well. Did you ever solve it?

Not for now