Some problems

Hello
Thank you for your contributions :+1:

I am confusing with the function, would you please make any explanation to me? what does it work ?
Thanks in advance.

Looking forward to your reply
Best regards

it is used to build the graph of filter and response which are defined in the following code.

Hello, thanks ,I've gotten that. :smiley:
I have downloaded the repository and the trained-models  you provided, however, the result is not making me ease which like this. The problems are as following:

The saved images are black, but in running, it's not.
The tracking results seem not good, the model you provided is the last one you using to test?

I'm using ubuntu16.04, python2.7, tensorflow1.4.0, with nothing modified other than some print functions.

On top of the mentioned problems, I have some other problems:

when you run the otb benchmark, do you use this tracker implemented with tensorflow , python3.5?

if you did, which version of the otb benchmark did you use ? the version of matlab or the version of
python? And would you please teach me how to test it ? Because, in my opinion, one version of otb benchmark is matlab and the another is python2.7, which confuses me how should you make this tracker tested. It's amazing :exclamation:

I'm not very familiar with python wrapper.When in programming, how to think about it? :confounded:

Looking forward to your reply :smile:
Best regards

For the black image, I guess it should be some display problem.

I use python3.5

I use python version of otb benchmark and convert the result to matlab version for easy comparison

Hello

I use python version of otb benchmark and convert the result to matlab version for easy comparison

I know the version of otb benchmark, however, the one author gave is python2 not python3. Did you convert it to py3?  emmm..... In one word , would you please tell me how to use the benchmark of py2 to test the tracker of py3? If you changed the benchmark version from py2 to py3, would you please share it ?(PS: I failed to change it because there are some imports and functions which I don't know how to deal with :sob: ) Thanks :pray:

For the black image, I guess it should be some display problem.

Ok, on top of the black image, is the rectangle results the same with yours?

Best regards
Looking forward to your reply

Hello

I use python version of otb benchmark and convert the result to matlab version for easy comparison

I know the version of otb benchmark, however, the one author gave is python2 not python3. Did you convert it to py3?  emmm..... In one word , would you please tell me how to use the benchmark of py2 to test the tracker of py3? If you changed the benchmark version from py2 to py3, would you please share it ?(PS: I failed to change it because there are some imports and functions which I don't know how to deal with 😭 ) Thanks 🙏

For the black image, I guess it should be some display problem.

Ok, on top of the black image, is the rectangle results the same with yours?

Best regards
Looking forward to your reply

Hi there.
I also got the same problem while saving the frames. It's because the image is normalized [0,1]. Just multiply the image by 255 and the problem is solved.]
Best regards


Inconsistency with thumbprint_list during cluster update

Description
Every time when am updating the Kubernetes version,  EKS module is replacing the OIDC thumbprint_list.
Versions

Module version [Required]: 20.8.3

Terraform version: 1.7.5

Provider version(s): ~ 5.0

Reproduction Code [Required]
module "eks-test" {
  source  = "terraform-aws-modules/eks/aws"
  version = "20.8.3"
  subnet_ids      = module.vpc.private_subnets
  vpc_id       = module.vpc.vpc_id
  cluster_name = var.k8s_cluster_name
  cluster_version = "1.27"

  enable_irsa  = true

.....
}

Steps to reproduce the behavior:

Expected behavior
I shouldn't see the thumbprint_list change.
Actual behavior
Terraform will perform the following actions:

  # module.eks-test.data.tls_certificate.this[0] will be read during apply
  # (depends on a resource or a module with changes pending)
 <= data "tls_certificate" "this" {
      + certificates = (known after apply)
      + id           = (known after apply)
      + url          = "<redacted>"
    }

  # module.eks-test.aws_eks_cluster.this[0] will be updated in-place
  ~ resource "aws_eks_cluster" "this" {
        id                        = "eks-test"
        name                      = "eks-test"
        tags                      = {
            "terraform-aws-modules" = "eks"
        }
      ~ version                   = "1.27" -> "1.28"
        # (10 unchanged attributes hidden)

        # (5 unchanged blocks hidden)
    }

  # module.eks-test.aws_iam_openid_connect_provider.oidc_provider[0] will be updated in-place
  ~ resource "aws_iam_openid_connect_provider" "oidc_provider" {
        id              = "<redacted>"
        tags            = {
            "Name" = "eks-test-eks-irsa"
        }
      ~ thumbprint_list = [
          - "<redacted>",
        ] -> (known after apply)
        # (4 unchanged attributes hidden)
    }

Seems something with wrong the data tls_certificate while getting the thumbprint.

@bryantbiggs It would be great to know the cause.

I see the same behavior using 20.8.3, even without updating the Kubernetes version.
After the initial apply, a subsequent plan without any configuration change is changing the thumbprint_list.
@bryantbiggs - please let me know if further details are required.

there isn't anything that we plan to change for this - as far as I can tell, its just a matter of something showing up in a plan diff, but theres no actual impact to the cluster so this is a no-op

@bryantbiggs can we add ignore_changes for the thumbprint_list? We can gate it behind a variable if needed.
The issue is that this change creates a drift in the configuration.
Same for platform_version - we have no control over this value and when it changes it causes a drift.


Delete unnecessary requirements in requirements.txt

Otherwise building takes forever:

https://docs.travis-ci.com/user/caching/#pip-cache describes how to speed up the build by caching the required python packages.
requirements.txt should still be cleaned.


unsubscribe topic no work

on iOS  It work well on add topic, but when I unsubscribe topic at using unsubscribeFromTopic:topic function. It  doesn't work at all. I still can receipt the message about the unsubscribe topic.
[[FIRMessaging messaging] unsubscribeFromTopic:@"order"];

@alexames any ideas on this?

Hi Liseylee,
I tried subscribing and unsubscribing a topic, and then sending a message to that topic after I had unsubscribed, and my app did not receive the message which is what the expected behavior is. If you're still seeing this error try upgrading to a newer version of the SDK and seeing if that makes a difference, or showing us the code you're using to subscribe and unsubscribe, and the log messages too. The log messages should tell you when the subscribe and unsubscribe calls have gone through.

@liseylee since we haven't heard back from you we're closing this issue.  Please contact http://firebase.google.com/support if you continue to have issues and the engineering team should be able to debug your project.


Difference between NLVR2 Dev performance

When you ran the NLVR2 fine-tuning and reported your result in this issue https://github.com/airsplay/lxmert/issues/1#issuecomment-523983982, the result (dev performance) was 74.39. Similarly, when I ran fine-tuning, I got about 74.33 for dev accuracy. How come the dev accuracy reported in the paper, in the table in the README, and in the NLVR2 leaderboard (http://lil.nlp.cornell.edu/nlvr/) is 74.9? Thanks for your help.

Hi, since some CuDNN operations are not deterministic (see here for a reference), the results for multiple runs are different even I already fixed all the seeds here (random seed, np.random seed, torch seed which would set both torch CPU and torch GPU seeds).
Thus the leaderboard snapshot, your run, and my previous run in comment would be different from each other and the range of difference also depends on the size of validation/test set.
Thus, on VQA(5K images) /GQA(300 images) /NLVR2 (2K images) validation set, the results vary a little bit but the results on VQA/GQA test sets (with around 10 to 50K images), the results would be much more stable.
Hope this helps!

By the way, we actually got around 59~60 result on NLVR2 early this year, but we do not think

Thanks for your response. For the results when you got 74.9, did you use the random seed that you have written in param.py, or did you run several times (without fixing the seed) and choose the run in which you got the best result on the validation set? I'm asking only about NLVR2.

The two results are run with the same code and the same seeds. The only difference is that they are two different runs (type the same commands and press enter in two different days).
The reason for these different results is that the GPU computation is non-deterministic. Moreover, it is due to that the associativity is not held in floating-number numerical computation, which means (a+b) + c may not equal to a + (b + c). As a result, the result may differ if the order of the computation changes.
We did not tune the results based on the seed. This kind of behavior is not acceptable to me at all.

Thanks for your detailed response. That makes sense.


WARNING: Makefile 'package/luci-app-openclash/luci-app-openclash/Makefile' has a dependency on 'kmod-inet-diag', which does not exist

这是什么问题？ WARNING: Makefile 'package/luci-app-openclash/luci-app-openclash/Makefile' has a dependency on 'kmod-inet-diag', which does not exist

支持PROCESS-NAME的依赖，目前大多数源还没有包，可以自行在kernel_menuconfig里启用，这个警告不用理会

implemented in the master branch
https://github.com/openwrt/openwrt/pull/9431


require

Hi, is it possible to support require to import this module, thanks

I will solve this problem this month

Hi, is it possible to support require to import this module, thanks

I will solve this problem this month

Hello. Fixed

TypeError: imdb.getYear is not a function,looking forward to your fix, thanks


Codes and tests for tricky anonymous class field

Professor,
This is the PR to fix #73. I have replace the field insideAnObjectCreation with a method with the same name. I have also changed the way we get the simple name of a type (previously we used the asString method, which is not very accurate when there is a special symbol going with the type, such as [] or <>). And I have added codes to remove every class declaration that is not used by the target methods.

Professor,
I have removed the unrelated components. Please take a look. Thank you.

Professor,
I have updated the codes. Please take a look. Thank you.


IRGen: use a more portable comment leader

MachO uses ;, other targets use #.  This would result in a rather
cryptic error message when building libdispatch for Linux AArch64:
<inline asm>:1:27: error: unexpected token in argument list
        mov     fp, fp          ; marker for objc_retainAutoreleaseReturnValue
                                             ^
LLVM ERROR: Error parsing inline asm

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci please test and merge


update to Spring Boot RC1

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


reorder path preset category

I ordered better the path presets category, based on type and most used.

Thanks @willemarcel, but I'd prefer not to order the preset lists by most used.  This comes up for discussion sometimes and in the past we have decided these category lists are more about teaching new users what they can map, rather than speeding up data entry by putting common presets near the top.
However I will move "Pedestrian Street" further down the list, since those are somewhat more rare than the other presets.


typo

There is a typo in this:
Create VPN_Profile.xml and VPN_Proflie.ps1
should be:
Create VPN_Profile.xml and VPN_Profile.ps
Cheers.

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

ID: 77e14da1-102d-3ddf-e2a1-a20ce533b95a
Version Independent ID: 374edc4c-f527-b7b7-c291-353928b97d8d
Content: Configure Windows 10 Client Always On VPN Connections
Content Source: WindowsServerDocs/remote/remote-access/vpn/always-on-vpn/deploy/vpn-deploy-client-vpn-connections.md
Product: windows-server
Technology: remote
GitHub Login: @Teresa-Motiv
Microsoft Alias: v-tea

Hi @MrZepto, please could you elaborate on why this should be changed to .ps?  The file extension for a PowerShell script is .ps1, so this should be correct already:
"A script is nothing more than the same or similar commands that you would run interactively in the PowerShell console, except they're saved as a .PS1 file."
(https://docs.microsoft.com/en-us/powershell/scripting/learn/ps101/06-flow-control?view=powershell-7.2#scripting)

#assign:@dknappettmsft

#please-close

Sorry I made a typo to. Should be ps1 of course.
The typo is this:
Proflie
should be Profile

Ah, got it! I've fixed that typo and the change should be visible later today. Thanks for flagging it.


Fixes #2913. Pos objects preventing Garbage Collection of views

Fixes #2913 - View.Dispose now sets x, y, height and width variables to Null before Disposing subviews
Pull Request checklist:

[x] I've named my PR in the form of "Fixes #issue. Terse description."
[x] My code follows the style guidelines of Terminal.Gui - if you use Visual Studio, hit CTRL-K-D to automatically reformat your files before committing.
[x] My code follows the Terminal.Gui library design guidelines
[x] I ran dotnet test before commit
[ not needed (I changed one existing func) ] I have made corresponding changes to the API documentation (using /// style comments)
[x] My changes generate no new warnings
[x] I have checked my code and corrected any poor grammar or misspellings
[x] I conducted basic QA to assure all features are working

Please also see this other pull request, wich I made to help testing this resolution.

Let's just use #2914 since you put this same fix here. The v2 variant is #2918


Cannot convert object to primitive value

I have got the following error message coming from raven-node:

TypeError: Cannot convert object to primitive value
at Array.join (native)
at Console.log (/Users/oliviertassinari/argos/node_modules/raven/lib/breadcrumbs.js:38:31)
at resolveSetValidationStatus (/Users/oliviertassinari/argos/src/server/graphql/BuildType.js:64:11)
at resolveOrError (/Users/oliviertassinari/argos/node_modules/graphql/execution/execute.js:474:12)
at resolveField (/Users/oliviertassinari/argos/node_modules/graphql/execution/execute.js:460:16)
at /Users/oliviertassinari/argos/node_modules/graphql/execution/execute.js:248:20
at process._tickDomainCallback (internal/process/next_tick.js:129:7)

It's coming from that line.
Here is a reproduction example to better understand what's going on:
var args = [];
var hash = Object.create(null);
args.push(hash);
args.join(' ') // Cannot convert object to primitive value

Oh, fun stuff; thanks for the report @oliviertassinari. Not the first time an object without a prototype has been tricky (see also here with query_string).
This is probably broken in raven-js as well, and it's not immediately obvious to me what the best strategy for a fix is; at the very least we can avoid creating this TypeError, but I've also noticed that '' + args.join(' ') doesn't always produce the same string that the native console methods will actually log.
/cc @benvinegar let's chat on this

Investigated more, figured out we should be using util.format. Fairly easy fix on the node side, opening a separate issue for the browser JS side where we don't have util.format.
Will have 1.1.4 out shortly.

@oliviertassinari published 1.1.4.

@LewisJEllis Thanks for the fix.


added parameters for updating view in simulation step object

@TristanWright This adds a view property to the simulation, it looks like we already have a view property on each simulation step, do we need both?

I don't see why we would need a view property on the simulation itself.

@TristanWright  By the way great to see you pushing code on the server side :-)

I thought this was applying it to the step? The reason for this was that the PATCH /simulations/{id}/steps/{stepName} endpoint was not updating the view attribute? (screenshots from dev-v2)

@TristanWright I see the confusion now. It was already on the simulation, but you added it to the step. I have pushed a fix that removes it from the simulation and adds a test case.

@TristanWright LGTM. merge if you are happy with additional commits.


Logic to move app zip to electron-updater cache location as part of utils

if useAppsupportCache is set to true than the updater location will be in app support/app.name

check this functionality end to end and update the docs


Revealing Procedures related to the QR-Report for Extension Development

Hello, I would like to propose removing the internal access modifier of the procedures AddBufferRecord, InitBuffer, SetSourceRecord and GenerateImage. We need to access these in an extension to create a specialized QR Report for a customer.

Thanks for the suggestion! We'll look into it asap.

Thanks for the suggestion! We'll look into it asap.

Changes are scheduled to release with next major. Let me know if changes are needed sooner, and we can backport them.

Changes are scheduled to release with next major. Let me know if changes are needed sooner, and we can backport them.

Changes are scheduled to release with next major. Let me know if changes are needed sooner, and we can backport them.

Hey, thanks a lot for approving this, it really is great to see! I assume the next Major release will be in April? if so, I would really appreciate if you could move the changes up a little bit, since the deadline for our project is at the end of march. We could reconvene with our customer about changing the deadline, but it would definitely be nice to roll it out on time. :)

Changes are scheduled to release with next major. Let me know if changes are needed sooner, and we can backport them.

Hey, thanks a lot for approving this, it really is great to see! I assume the next Major release will be in April? if so, I would really appreciate if you could move the changes up a little bit, since the deadline for our project is at the end of march. We could reconvene with our customer about changing the deadline, but it would definitely be nice to roll it out on time. :)

My pleasure! I will backport the fix to the upcoming minor 17.4. No problem at all :-) Expected release is then next month!

My pleasure! I will backport the fix to the upcoming minor 17.4. No problem at all :-) Expected release is then next month!

Availability update: We will publish a fix for this issue in the next update for release 17.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

Availability update: We will publish a fix for this issue in the next update for release 17.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Windows 11上 ，ollama_llama_server.exe会被“效率模式”运行，导致响应非常慢

What is the issue?
再window 11上，intel 13代cpu (目前手里的有 i5-13490F,i5-13600,应该和大小核有关，在没有小核的cpu上没有复现)运行ollama时，出现提出问题后，cpu占用40%左右，但一直没回答问题或者几分钟回答一个字。使用process lasso关闭效率模式后，正常响应。 是否可以增加一个环境变量，控制是否使用效率模式工作。
OS
Windows
GPU
Other
CPU
Intel
Ollama version
<IP_ADDRESS> 及以前

This may be a dup of #3511 - it appears there are some scenarios where laptops put Ollama in efficiency mode, which results in very poor performance.  You should be able to workaround this in Task Manager by selecting the ollama processes and making sure they don't have the green leaf/efficiency mode selected.

Thank you for your attention ^.^
Yes, indeed, it's the efficiency mode that's causing the issue. , and it's not exclusive to laptops; I'm using a desktop.What I mean is, will the official team provide command-line support for this issue? For instance, Chrome or Edge already supports command-line control with --disable-features=UseEcoQoSForBackgroundProcess. I don't know the Go language, and the Chromium code is as follows:
bool Process::SetPriority(Priority priority) {
  DCHECK(IsValid());
  // Having a process remove itself from background mode is a potential
  // priority inversion, and having a process put itself in background mode is
  // broken in Windows 11 22H2. So, it is no longer supported. See
  // https://crbug.com/1396155 for details.
  DCHECK(!is_current());
  const DWORD priority_class = priority == Priority::kBestEffort
                                   ? IDLE_PRIORITY_CLASS
                                   : NORMAL_PRIORITY_CLASS;

  if (base::win::OSInfo::GetInstance()->version() >=
          base::win::Version::WIN11 &&
      FeatureList::IsEnabled(kUseEcoQoSForBackgroundProcess)) {
    PROCESS_POWER_THROTTLING_STATE power_throttling;
    RtlZeroMemory(&power_throttling, sizeof(power_throttling));
    power_throttling.Version = PROCESS_POWER_THROTTLING_CURRENT_VERSION;

    if (priority == Priority::kBestEffort) {
      // Sets Eco QoS level.
      power_throttling.ControlMask = PROCESS_POWER_THROTTLING_EXECUTION_SPEED;
      power_throttling.StateMask = PROCESS_POWER_THROTTLING_EXECUTION_SPEED;
    } else {
      // Uses system default.
      power_throttling.ControlMask = 0;
      power_throttling.StateMask = 0;
    }
    bool ret =
        ::SetProcessInformation(Handle(), ProcessPowerThrottling,
                                &power_throttling, sizeof(power_throttling));
    if (ret == 0) {
      DPLOG(ERROR) << "Setting process QoS policy fails";
    }
  }

  return (::SetPriorityClass(Handle(), priority_class) != 0);
}


req.headers update

req.headers is case sensitive when accessing a json key vs an actual headers key. The function only runs twice since this would otherwise return an undefined amount

@apatwary12 thanks for creating this PR. I won't merge it now because this is going to fix the issue for you but it's going to create the same issue for users who get X-WP-TotalPages instead of the lowercase name. We could add settings for overriding the header names or we can change the code to check for both versions.

Fixed in #8


Running npm rebuild before npm install and adding back es6-promise to package-lock.json

Explain the changes

Running npm rebuild before npm install
Adding back es6-promise to package-lock.json

Hi @guymguym
npm rebuild recompile the modules.
The reasons for adding that are:

Making sure we are getting the modules for the correct arch
The downstream uses this (due to reason 1) and we don't want the diversion.

Rethinking of it, it will probably not rebuild anything as we don't have any modules in that stage...
removing this part.


Error initializing platform

Describe the bug
I have this error on my console
[LgThinqAirConditioner] Error initializing platform Error: getaddrinfo EAI_AGAIN route.lgthinq.com route.lgthinq.com:46030
Symptom check

Does your unit appear in the Home app? No
Is the current on/off state, temperature, and mode being reported? No
**Does your unit respond to the controls?**No

Relevant logs
[LgThinqAirConditioner] Error initializing platform Error: getaddrinfo EAI_AGAIN route.lgthinq.com route.lgthinq.com:46030
Also the
Login URL (paste this into your browser)
is empty

This sounds like a networking error. Could you try restarting the system that hosts Homebridge? Or if this is in a container, restart the container? If that still doesn't work, could you paste the response of nslookup route.lgthinq.com?

Hi @sman591 thank you very much! that worked.


crc32: aarch64 accelerated crc32 calculate based on linux kernel

For arm64 plantform ,the hardware crc32 instructions will improve crc32 performance. base on the linux kernel crc32 acceletated calculation, we add it to arch/aarch64 and test on Cortex-A72 which get improvements for about 40%
Hope these patches would merged into zlib-ng mainline for others want to test on arm64.
Thanks & Best Regards.
cc: Ard Biesheuvel<EMAIL_ADDRESS>

Will you accept inline assembler?

We prefer intrinsics because that way we catch differences between compilers more easily. Using intrinsics also allows compiler to better integrate the code to surrounding lines and optimize as whole.


pretrain

How does the video transformer pre train on image1k? Isn't the input different?
for example : 3D patch-embedding in video, 2D patch-embedding in image?

Thanks for your question. YES, the input is different, we simply inflate the 2D kernels to 3D for video input.
The code is as follows:
https://github.com/Sense-X/UniFormer/blob/e8024703bffb89cb7c7d09e0d774a0d2a9f96c25/video_classification/slowfast/models/uniformer.py#L387-L421

As there is no more activity, I am closing the issue, don't hesitate to reopen it if necessary.


Enable type kwarg without var name

Hi,
your library looks promising for my Django project. 👍
However, I found that DEBUG = env(default=False, type=bool) does not work unless the variable name is also specified (thus, DEBUG = env("DEBUG", default=False, type=bool) works). From looking at the code, I think the reason is that the type kwarg is not incorporated in DjangoEnv.__call__'s if branch if var is None: (which results in a DeferredSetting). From what I've read, it should be possible to pass type along and use django_env_typemap either in DjangoEnv.get or DeferredSetting.setting. The former may be preferable because then DeferredSetting does not need to know/access DjangoEnv.django_env_typemap, and could look sth. like this:
def get(self, var, default=None, prefix=_USE_DEFAULT_PREFIX, type="str"):
    if type == "str":
        return super().get(self._with_prefix(var, prefix=prefix), default)
    else:
        return self.django_env_typemap[type](
            self, var, default=default, prefix=prefix
        )

where the type kwarg is passed from DeferredSetting ._kwargs in DeferredSetting.setting.

If there is a good reason to not support this behavior, it should at least be stated in the docs IMO.
Let me know what you think 😉

Glad you find it useful, and thanks for the bug report.
This was not intentional. All kwargs specified in an implied/deferred setting should be passed into the DefaultSetting instance.


Give LineEdit/TextEdit a custom color for font while uneditable

By default an uneditable LineEdit's text has some transparency hardcoded.
This change adds a custom color to LineEdit for adjusting the font when editable is unchecked.
It also leaves the default behavior (0.5 alpha) unchanged.
Fixes #29814

I believe TextEdit also does that when in read-only mode. This change should be made there as well then.

Hopefully I didn't miss anything while testing...
One thing I noticed:
The order of the custom colors in editor isn't the same as the order in the code, so the readonly color is way off at the bottom by itself, but I'm not sure how to control this?

Thank you for the changes. And happy first contribution!

From my quick look in the editor, it seems that code order doesn't affect constants, so you're in the green on that.
However, Travis detect some errors. I will comment on the lines that they were found shortly.

The readonly_alpha variable found in line 665 is now unused and should be removed.
(which I would have loved to have commented directly on it, but GitHub doesn't allow commenting on lines too far away from modifications because "reasons" and- this is not the proper place to rant about that isn't it?)

That should be it. I recommend getting Godot's git hooks, so clang will alert you when breaking formatting.

Thanks!

@akien-mga was this reverted?
there is no option for disabled text color for line edit

I see "Read Only" among colors in your screenshot...

@akien-mga  the thing is its not changing anything

Color name is font_color_uneditable, and it's available if you add the item to the theme Edit Theme->Add Item, select Type: LineEdit, Data Type: Color, Name: font_color_uneditable. There's no color with name read_only, you are probably using a theme created in the old engine version.


Add bottom-up non-recursive merge sort

I have an implementation of bottom-up merge sort that I'd like to share with you. It has exactly the same space and time complexity of the regular algorithm, except it doesn't overwhelm the stack with recursion.
Furthermore, my code uses templates for generic sorting of any data structure and, it is well-documented and uses Doxygen in case a person would like to auto-generate documentation.

Sounds awesome!  No need to open an issue...  You can just directly create a pull request.
Should we use Doxygen more broadly across the repo?  Maybe make a GitHub Action that autogenerates docs on pull requests?

That's great, I will a pull request.
Regarding Doxygen, it would be amazing to use it across the repo either for generation of documentation or facilitating programming since IDE can recognize it and display its information as needed. Although, I don't feel excited about making such documentation be generated on GitHub, due to increasing repo size and the fact it can be generated locally.

Let's try to automate Doxygen for just one algorithm to see how it works and determine its efficacy.


hipPointerGetAttributes fails on malloc() and stack pointers

There is some incompatibility between cudaPointerGetAttributes and hipPointerGetAttributes. In particular, if the pointer given to hipPointerGetAttributes is the result of calling malloc() or if it is simply the address of a stack object, cudaPointerGetAttributes will run successfully and indicate that these are host pointers, however hipPointerGetAttributes will fail with hipErrorInvalidValue. This is problematic for codes trying to figure out whether memory should be copied using hipMemcpy or memcpy. The deeper irony is that hipMemcpy(a, b, hipMemcpyDefault) seems to work with such pointers still, suggesting that HIP does have a way to identify that those types of pointers are in host space.
Here is some example code that maybe helps illustrate the issue:
  void* from_hipMalloc = nullptr;
  auto hip_err = hipMalloc(&from_hipMalloc, sizeof(double));
  if (hip_err != hipSuccess) {
    fprintf(stderr, "hipMalloc failed\n");
    std::terminate();
  }
  hipPointerAttribute_t attributes;
  hip_err = hipPointerGetAttributes(&attributes, from_hipMalloc);
  if (hip_err != hipSuccess) {
    fprintf(stderr, "failed for from_hipMalloc\n");
  } else {
    fprintf(stderr, "succeeded for from_hipMalloc\n");
  }
  void* from_hipHostMalloc = nullptr;
  hip_err = hipHostMalloc(&from_hipHostMalloc, sizeof(double));
  if (hip_err != hipSuccess) {
    fprintf(stderr, "hipHostMalloc failed\n");
    std::terminate();
  }
  hip_err = hipPointerGetAttributes(&attributes, from_hipHostMalloc);
  if (hip_err != hipSuccess) {
    fprintf(stderr, "failed for from_hipHostMalloc\n");
  } else {
    fprintf(stderr, "succeeded for from_hipHostMalloc\n");
  }
  void* from_malloc = malloc(sizeof(double));
  if (from_malloc == nullptr) {
    fprintf(stderr, "malloc failed\n");
    std::terminate();
  }
  hip_err = hipPointerGetAttributes(&attributes, from_malloc);
  if (hip_err != hipSuccess) {
    fprintf(stderr, "failed for from_malloc\n");
  } else {
    fprintf(stderr, "succeeded for from_malloc\n");
  }
  double stack_variable;
  void* from_stack = &stack_variable;
  hip_err = hipPointerGetAttributes(&attributes, from_stack);
  if (hip_err != hipSuccess) {
    fprintf(stderr, "failed for from_stack\n");
  } else {
    fprintf(stderr, "succeeded for from_stack\n");
  }

I couldn't reproduce the result with ROCm 5.4 on an MI-series GPU.
succeeded for from_hipMalloc
succeeded for from_hipHostMalloc
succeeded for from_malloc
succeeded for from_stack

This is issue has not been fixed as of ROCm 6.0. If you run the command with AMD_LOG_LEVEL=1, you will see:
succeeded for from_hipMalloc
succeeded for from_hipHostMalloc
:1:hip_memory.cpp           :3421:<PHONE_NUMBER> us: [pid:109671 tid:0x7fd72ce9ba80] Cannot get amd_mem_obj for ptr: 0x6dc83c10

succeeded for from_malloc
:1:hip_memory.cpp           :3421:<PHONE_NUMBER> us: [pid:109671 tid:0x7fd72ce9ba80] Cannot get amd_mem_obj for ptr: 0x11ef71b8

succeeded for from_stack

Which comes from hipamd/src/hip_memory.cpp line 3424:
  } else {
    attributes->type = hipMemoryTypeUnregistered;
    attributes->devicePointer = nullptr;
    attributes->hostPointer = nullptr;
    attributes->isManaged = false;
    attributes->allocationFlags = 0;
    attributes->device = hipInvalidDeviceId;
    LogPrintfError("Cannot get amd_mem_obj for ptr: 0x%x \n", ptr);
  }

Currently this is causing Blender to crash:

ic| status: 4097
:1:rocdevice.cpp            :3232:<PHONE_NUMBER> us: [pid:108950 tid:0x7fffad5fe680] hsa_amd_pointer_info() failed
[New Thread 0x7ffd73dff680 (LWP 108997)]
[New Thread 0x7ffd735fe680 (LWP 108998)]
[New Thread 0x7ffd725ff680 (LWP 108999)]
[New Thread 0x7ffd715ff680 (LWP 109000)]
[New Thread 0x7ffd705ff680 (LWP 109001)]
ic| status: 4097
[New Thread 0x7ffd6f7ff680 (LWP 109002)]
:1:rocdevice.cpp            :3232:<PHONE_NUMBER> us: [pid:108950 tid:0x7fffad5fe680] hsa_amd_pointer_info() failed
ic| srcMemoryType: 0, dstMemoryType: 2
blender: /XXX/clr/hipamd/src/hip_memory.cpp:2197: hipError_t ihipGetMemcpyParam3DCommand(amd::Command*&, const HIP_MEMCPY3D*, hip::Stream*): Assertion `false && "ShouldNotReachHere()"' failed.
[New Thread 0x7ffd6e9ff680 (LWP 109003)]
[New Thread 0x7ffd6e1fe680 (LWP 109004)]

Thread 38 "blender" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffad5fe680 (LWP 108993)]
__pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at pthread_kill.c:44
warning: 44	pthread_kill.c: No such file or directory
(gdb) bt
#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at pthread_kill.c:89
#3  0x00007ffff7a45196 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4  0x00007ffff7a29835 in __GI_abort () at abort.c:79
#5  0x00007ffff7a29759 in __assert_fail_base (fmt=0x7ffff7bbeb38 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7fff9a0775c8 "false && \"ShouldNotReachHere()\"",
    file=file@entry=0x7fff9a076d00 "/XXX/clr/hipamd/src/hip_memory.cpp", line=line@entry=2197,
    function=function@entry=0x7fff9a077550 "hipError_t ihipGetMemcpyParam3DCommand(amd::Command*&, const HIP_MEMCPY3D*, hip::Stream*)") at assert.c:92
#6  0x00007ffff7a3be86 in __assert_fail (assertion=0x7fff9a0775c8 "false && \"ShouldNotReachHere()\"", file=0x7fff9a076d00 "/XXX/clr/hipamd/src/hip_memory.cpp", line=2197,
    function=0x7fff9a077550 "hipError_t ihipGetMemcpyParam3DCommand(amd::Command*&, const HIP_MEMCPY3D*, hip::Stream*)") at assert.c:101
#7  0x00007fff99d90199 in ihipGetMemcpyParam3DCommand (command=@0x7fffad5fbf70: 0x7fffad5fbfe0, pCopy=0x7fffad5fc040, stream=0x7fffaecbdd00) at /XXX/clr/hipamd/src/hip_memory.cpp:2197
#8  0x00007fff99d908c7 in ihipMemcpyParam3D (pCopy=0x7fffad5fc040, stream=0x0, isAsync=false) at /XXX/clr/hipamd/src/hip_memory.cpp:2298
#9  0x00007fff99dc9153 in hipDrvMemcpy2DUnaligned (pCopy=0x7fffad5fc850) at /XXX/clr/hipamd/src/hip_memory.cpp:3968
#10 0x00005555592b5ed9 in ccl::HIPDevice::tex_alloc (this=0x7fffa8e49300, mem=...) at /home/build/YPKG/root/blender/build/blender-4.0.0/intern/cycles/device/hip/device_impl.cpp:789
#11 0x00005555592b97ae in ccl::MultiDevice::mem_copy_to (this=0x7fffa30333c0, mem=...) at /home/build/YPKG/root/blender/build/blender-4.0.0/intern/cycles/device/multi/device.cpp:351
#12 0x00005555598c78b4 in ccl::ImageManager::device_load_image (this=0x7fffcb021800, device=0x7fffa30333c0, scene=0x7fffa3350800, slot=2, progress=<optimized out>)
    at /home/build/YPKG/root/blender/build/blender-4.0.0/intern/cycles/scene/image.cpp:820
#13 0x0000555559b04450 in std::function<void ()>::operator()() const (this=0x1a996) at /usr/bin/../lib64/gcc/x86_64-solus-linux/13/../../../../include/c++/13/bits/std_function.h:591
#14 tbb::detail::d2::(anonymous namespace)::task_ptr_or_nullptr<std::function<void ()> const&>(std::function<void ()> const&) (f=...) at /usr/include/tbb/../oneapi/tbb/task_group.h:135
#15 tbb::detail::d1::function_task<std::function<void ()> >::execute(tbb::detail::d1::execution_data&) (this=0x7fffbd1e5100, ed=...) at /usr/include/tbb/../oneapi/tbb/task_group.h:466
#16 0x00007ffff7f84d83 in ?? () from /usr/lib64/libtbb.so.12
#17 0x00007ffff7f86f62 in ?? () from /usr/lib64/libtbb.so.12
#18 0x00007ffff7a9a10a in start_thread (arg=<optimized out>) at pthread_create.c:444
#19 0x00007ffff7b27a8c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Actually, this is part of a known issue in https://github.com/ROCm/clr/blob/rocm-6.0.0/CHANGELOG.md#known-issues-1. hipPointerGetAttributes no longer fails, but any pointer you obtained from malloc will be viewed as unusable by HIP. Please ignore the Blender problem as that's a separate issue.

@ibaned and @GZGavinZhao can we close this issue as resolved?

Yes, I think this can be closed because this is a known behavior now documented in the CHANGELOG.

Closing this since the API doesn't fail now but it returns hipMemoryTypeUnregistered for the malloc and stack pointers.


Expose parser location

Jackson 2.16.0 changes the default for JsonParser.Feature.INCLUDE_SOURCE_IN_LOCATION to false for increased security. However, as the system tests are only dealing with test data, not production user data, its safe to enable this feature again. Enabling richer error messages.

coverage: 99.02% (+0.001%) from 99.019%
when pulling 7d86cfa878ecb9eb9792633e2c4e8fc36b0c16a0 on parser-location
into f84222e9d558eef67ad6859a265f22861ca68c65 on main.


update template to generic expectations

get user experience better

Current coverage is 38.46% (diff: 100%)

No coverage report found for master at 9165e52.

Powered by Codecov. Last update 9165e52...bce8cfa


How to use vue-piwik in  single page application

My project is a single-page application created with vue-cli. With your vue-piwik, statistics can already be achieved. However, because of the single-page application, the pages that are counted out are all the top pages of the website unless they are mapped to the corresponding page. Manually refresh the page statistics after the page is the correct page. What should vue-piwik use in a vue-cli single-page application?（我的项目是用vue-cli创建的单页面应用，用了您的vue-piwik已经可以实现统计了，但是由于是单页面应用导致统计出来的页面全部都是网站的首页，除非在进入到对应的页面后手动刷新一下页面统计的结果才是正确的页面。请问vue-piwik在vue-cli单页面应用中应该怎么使用呢）

Ah yes I see. It won't update the current page url. Thanks!

Please try version 0.1.5, see if that fixes your issue.

Thank you very much. can now update the url of the current page.


RestJSONParser now parses "code" from "__type" field

According to issue boto/boto3#186, this happens in cloudsearchdomain service and some other services too. This fix is generic for all RestJSON responses.

Just had a couple questions, but overall looks good.

Looks good :shipit:.  Please rebase and edit your commit message before merging.  Here's some guidelines that we follow: http://git-scm.com/docs/git-commit#_discussion, you can also look through the commit message for the CLI repo to get a feel for how the commit message are formatted.


Update optimization classes and handle_error definitions to use nested on_failure configuration

This one I am not fully understanding.
Where is the cascade coming from? It looks like the properties are hard-wired to the deployment config. Maybe this is just a commenting issue or I am getting tired but I can't follow it all the way through

This one I am not fully understanding.
Where is the cascade coming from? It looks like the properties are hard-wired to the deployment config. Maybe this is just a commenting issue or I am getting tired but I can't follow it all the way through

on_failure is defined on the BaseKubernetesConfiguration class which both KubernetesConfiguration and DeploymentConfiguration inherit from. The cascade_common_settings method of KubernetesConfiguration called during config init cascades the value for this setting down to the deployment configuration as demonstrated by the following log from some quick testing I did to make sure it was working the way I thought it was:
2021-04-26 09:56:18.019 | TRACE    | servo.connectors.kubernetes:cascade_common_settings:3368 | servo - cascaded setting 'on_failure' from KubernetesConfiguration to child '[DeploymentConfiguration(description=None, kubeconfig=None, context=None, namespace='kubetest-test-adjust-handle-error-respects-nested-co-1619448977', settlement=None, on_failure=<FailureMode.exception: 'exception'>, timeout=None, name='fiber-http', containers=[ContainerConfiguration(description=None, name='fiber-http', alias=None, command=None, cpu=CPU(name='cpu', type='range', pinned=False, value=None, min=125, max=875, step=125, requirements=<ResourceRequirements.compute: 3>), memory=Memory(name='mem', type='range', pinned=False, value=None, min=134217728, max=805306368, step=33554432, requirements=<ResourceRequirements.compute: 3>), env=None)], strategy=<OptimizationStrategy.default: 'default'>, replicas=Replicas(name='replicas', type='range', pinned=False, value=None, min=1, max=4, step=1))]': value=exception


⚠ Bofrost.lu has degraded performance

In 899db2c, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1528 ms

Resolved: Bofrost.lu performance has improved in e7fbbed after 8 minutes.


Pressing F1 to see tooltips can show tooltips for different editors

I can only reproduce this if I have an active cursor in multiple editors. Are there any other scenarios?

I see this with more than one active cursor in the same editor.

This should be fixed, tooltips are now only bound to the editor that happens to be the one with the active cursor.


add Toggle

toggle onclick and args onclick not matching same time, need to fix later.

#6 check

LGTM


Watch nuimo_app config file for changes

Important:  pyinotify needs to be installed for this PR to work.
It should only be merged when this is done in Senic OS.
TODO: It currently watches the whole data folder for changes, check why it doesn't work with a single file.

I added an issue for this PR: #236

I addressed the requested changes and for me it works now as it should.
I also added some TODOs for how to make it support multiple Nuimos.
Cannot be merged yet because pyinotify is still missing in Senic OS.

Tested with my setup and pip-installing pyinotify. It works for me and it could be merged when pyinotify is added to senic-os


Make Alluxio master can be scheduled via nodeSelector

Ⅰ. Describe what this PR does
Make Alluxio master can be scheduled via nodeSelector
Ⅱ. Does this pull request fix one issue?

#740

Codecov Report

Merging #755 (18c4610) into master (7d8b02e) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #755      +/-   ##
==========================================
- Coverage   12.65%   12.64%   -0.02%
==========================================
  Files          93       93
  Lines        4234     4240       +6
==========================================
  Hits          536      536
- Misses       3638     3644       +6
  Partials       60       60

Impacted Files
Coverage Δ

pkg/ddc/alluxio/transform.go
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


Update to<EMAIL_ADDRESS>

I tried but it broke a bunch of tests: https://travis-ci.org/tmpvar/jsdom/jobs/60607718#L373
@inikulin any ideas?

@domenic This is due to SalesforceEng/tough-cookie#36. Previously, localhost was resolved as public suffix which is incorrect. Need to fix tests on our side. I'll issue a PR.


Backup IMUs

We only have the one IMU at the moment, which is a bit of a point of failure given that it's potentially breakable with helium (#57). More worryingly, we might not recover it.
It might be a good idea to at least look into having a 'backup' IMU. Not as in a backup on the rocket, but a backup for us to be able to use if we lose the good IMU.

For the time being, closing this. It turns out I am just a little under-informed and we have two STIM300 units. Yay!


Error using Postgres

I get the following error when using Postgres 10.4:
Error: SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for type bytea

This isn't enough info to work with. Please provide the full stack trace.


Fix couldn't not resolve (pipx.config)

import pipx.config as config could not resolved
pipx/config.py pipx/main.py

Show me the error you receive in the logs.


include npm dependencies browserify explanation

@corinnekrych example explanation we could add WDYT?

nice 💅  work, @edewit

@corinnekrych it's not just the files the user creates it's the other template files as well

@edewit what about:
The init.js file is browserified and acts as a bridge between template script and npm dependencies. All the other JavaScript files in the template app will not be browserified, in order for you to be able to experiment live edit in RHMAP Studio preview.


[Colliders] bug running into wall and then changing pointing dir results in trespassing

it was actually aiming related v


Task/n2 28 configure language settings

postgres port 5432 exposed as port 5432 on localhost
'fi' removed from LANGUAGES in settings.
'fi' LOCALE removed.
Database/Models remigrated, initial data dumped back to JSON.
Static content pages edited and some removed in database to change Finnish references to NZ.

Oh oh, yes that's exactly what happened! My bad.
I'll re-do it.
On 10/5/22 08:24, Josh McArthur wrote:

@.**** requested changes on this pull request.
👏 nice start! Just looking at the flatpages fixture, it looks like it
has contenttypes and other types of models in there when it should
just be flatpages. Is there a chance you ran |dumpdata| without
specifying the app name to dump? That file should really only have
fixtures for flatpages, not for all apps
—
Reply to this email directly, view it on GitHub
https://github.com/ODNZSL/NZSL-signbank/pull/10#pullrequestreview-966891580,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATSFC6R7RMOQU6X6FU4UE3LVJGGABANCNFSM5VNJVZ2A.
You are receiving this because you authored the thread.Message ID:
@.***>

Ok fixed, JSON only contains flatpages. Site tested, works as before.


QuasiStationary Delta connector

Reported by ahaumer on 23 Aug 2013 10:18 UTC
The Delta connector of QuasiStationary is the other way round as the Delta connector of MultiPhase:
  connect(plugToPins_p.pin_p[j], plugToPins_n.pin_n[j+1]);

  connect(plug_n.pin[j], plug_p.pin[j+1]);

Migrated-From: https://trac.modelica.org/Modelica/ticket/1257

Comment by ahaumer on 23 Aug 2013 17:47 UTC
fixed by 194d446d529d1dc6a95ada55d87b8e50a56cbea1, cf8fe9350922f6ab64cf81228eb361ec1a5c2549, 57c758286266a06bf3baf7355afdd6d6130c7ca3


Add user transactions to the pool detail

Query is now available, hook up user transactions tab on the pool detail screen

PR #48 fixed this but added a new issue because not working with phantom stables issue #49


Introduce Create Single-Sig wallet flow

These changes add more pages after the initial onboarding.
To test, run the application with the -resetguisettings option.
Link to github actions build artifacts.

tACK 4c047e0 on WSL Ubuntu 22.04.
Wallet creation worked. In general agree with Marnix's comments.
And to be clear is this the first iteration, then layering more functionality (i.e. error messages, wallet name collision and more specific passwords hints )?

Yeah this is just following what was ready in the Figma. I think building it helps identify all of the gaps. I think all of these comments are great and I'll do my best to get these in on this first change-set.

cc @GBKS

tACK a3de255 on WSL Ubuntu 22.04
Works as expected, was able to create a new wallet in the default datadir


TFLite C++ example for Raspberry Pi

Having followed this guide: https://www.tensorflow.org/lite/guide/build_rpi I end up with a static library called libtensorflow-lite.a.
There doesn't seem to be any instruction, documentation or examples available on how to actually use this for C++ on ARM. Some says to have a look at the minimal.cc example, but this does not include the static library nor does it include any compile instruction for ARM.
Can someone provide a working example?

If you're looking for Makefile of minimal.cc, you can find it on https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/tools/make/Makefile#L280


vi failing with independent prior

this adds a test showing a failure mode of VI:
When sampling from a VIPosterior based on a MultipleIndependent prior there is a problem with the theta_transform and the vi_pyro_flows. I think it has to do with change in dimensionality from transformed to untransformed space, .e.g., it happens when calling link_flow(torch.zeros(event_shape, device=device)) (see trace below).  And then we fix it before releasing v0.18.0

Alternatively, we mark it as xfail and add TODO in the code.
But I would rather leave this PR open and not include it into the release.

I'm against the xfail. But simply leaving the PR open sounds good to me

Okey, the problem is that the MultipleIndependent define a CatConstraint in order to join the individual constraints. With this, biject_to generates a CatTransform. Unfortunately, CatTransforms require a batch dimension. This is what broke the code.
I tried to fix the support property of MultipleIndependent for a while, but I could not find a good fix. Thus, we simply have to watch out and always ensure that anything passed into our transforms has a batch dimension.

Thanks for tackling this!
I am OK with this solution. Is there a way to catch the AssertionError when we build the transform and give an informative error message? I think that would be great for catching future loop wholes of missing batch dimensions.

I don't know how we would do this unfortunately. The CatTransform is built automatically by biject_to, so we do not really have access to it.


[TIR] Preserve existing kTarget function attribute in BindTarget

Previously, if a function already has a tvm::attr::kTarget attribute, it will be overwritten by the tir.BindTarget transform. This commit updates the behavior such that tir.BindTarget adds annotations to functions that are missing a target annotation, but preserves any existing target annotations.
This is part of a series of commits to simplify the handling of multi-target builds.

Rebased onto main, failing tests required #14915.

Rebased onto https://github.com/apache/tvm/pull/14950, so CI can run with its bugfix.


Allow key-fn like hook for value

In our web application, we have a use case to transform all value from long to string when its key is found in a given key set. Currently, this was implemented as a ring middleware prior to serialization. It walks through the ring body then do the transformation. However, this operation eats quite lot of CPU time and quickly becomes the bottleneck of our application.
To optimize this behaviour, I hacked cheshire's generate-map function to add a hook on the value. At the moment, there is no way to extend the default behaviour, so I have to reimplement generate-map/generate-array and  generate in cheshire.generate to make it work.
There is key-fn option to transform keyword key in object. A further step can be adding key-value-fn that transforms the value with both key and value provided as context.
If this idea makes sense to you, I would like to create a pull request for this.

I think it's useful, but I'm hesitant to include it because of the scope creep that it adds to Cheshire. I'm concerned that we essentially do the work of a general purpose map transformation function library.
I'm not sure how to reconcile that, I'd be interested if there were any other folks who wanted to weigh in with their opinion on it.

@dakrone Thank you for your response. I can understand your concern. The reason I want to do it within cheshire is mostly about performance. Since cheshire has to walk through the data structure in order to serialize it, it's the ideal phase to do it.
From another perspective, this key-value-fn is a little bit like @JsonSerialize annotation of jackson which could customize serializer on a field level.


[BUG] Horizontal flip doesn't work at all

On both the web browser and the linux app, pressing the vertical flip and the "Alt" button should flip the layer horizontally, as described by the popup.
But, it doesn't.
As a workaround, what I did is use the rotation tool 2 times to get a flip but my sprite is so big that it erases pixels I want to use...

A better workaround, is to press the super/windows key (if you're using a microsoft/windows keyboard).


Yasson support

This PR creates Yasson support, following conventions established by Helidon's preëxisting JSON-P support.

This PR is now ready for review.  Note that I've followed the conventions and approaches in our JSONP support and in my Jackson support PR (which was approved and merged).

@tomas-langer Good to go?


Can FTK be used with react 17?

Currently the package.json of the core states in its peerDepdencies that react >=16.9.0 <17.0.0 is expected.
Is there any particular reason why it wouldn't work with React 17?
AFAIK React 17 didn't introduce any new features and no breaking changes as well but instead helps to prepare for a step-by-step migration to new breaking changes in React 18 (see https://reactjs.org/blog/2020/10/20/react-v17.html#gradual-upgrades).
If it is possible to use React 17 with the current FTK boilerplate would it be possible to change the semver for the peerDependencies of the core from "react": ">=16.9.0 <17.0.0", to "react": "^16.9.0 || ^17.0.0",?

Good point, should also work with 17. Will change it 👍


Large refactoring of sampling tasks and moved them from geometry to m…

The module with spatial sampling tasks has been refactored, tasks have been generalized, and the module has been moved from geometry subpackage to ml_tools subpackage.

Codecov Report

Merging #345 (f5ba5d8) into develop-v1.0 (bd79b66) will increase coverage by 0.66%.
The diff coverage is 90.44%.

@@               Coverage Diff                @@
##           develop-v1.0     #345      +/-   ##
================================================
+ Coverage         81.98%   82.64%   +0.66%
================================================
  Files                51       51
  Lines              5373     5382       +9
================================================
+ Hits               4405     4448      +43
+ Misses              968      934      -34

Impacted Files
Coverage Δ

ml_tools/eolearn/ml_tools/sampling.py
90.44% <90.44%> (ø)

Continue to review full report at Codecov.

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


Add new cluster_rules method that accepts BitVector or Vector{Bool}

@ConnectedSystems ready for a second review.


vscode can`t respond when using mstsc.exe

VSCode Version: 1.52.1
OS Version: Windows_NT x64 10.0.19042(double)

Steps to Reproduce:

Use mstsc(C:\WINDOWS\system32\mstsc.exe) on computer A connect to a computer B
Input CTRL+A on a file in vscode(computer B) by computer A
The vscode on computer B can`t respond this input but it looks like noting happened
Stop using mstsc.exe and open computer B
The vscode will not respond to any of my actions on computer B, but the system does not show that it has entered an unresponsive state. Sometimes this state will automatically return to normal after a period of time

Does this issue occur when all extensions are disabled?: Yes/No
No, but there is only one extension(Chinese (Simplified) Language Pack for vscode by Microsooft). Because I can`t disable it

Hi I'm not familIar with that program. What is it and how does it relate to vs code?

Hi I'm not familIar with that program. What is it and how does it relate to vs code?

Hello, mstsc.exe is a remote desktop application native to Windows system. It is located in C:\WINDOWS\system32\mstsc.exe. I usually use it to remote my computer at my work place. After I have used this native software, vs code will become unable to respond to my operations, and I need to restart vs code. Fortunately, I have not had this problem recently. I am sorry that I cannot give more details about this problem until I encounter this problem next time.

Hello, mstsc.exe is a remote desktop application native to Windows system. It is located in C:\WINDOWS\system32\mstsc.exe. I usually use it to remote my computer at my work place. After I have used this native software, vs code will become unable to respond to my operations, and I need to restart vs code. Fortunately, I have not had this problem recently. I am sorry that I cannot give more details about this problem until I encounter this problem next time.

I'm not sure if this is caused by other plug-ins, or because the content of the file I opened is too long, or if I use complex regular expressions to match words. I have closed all plug-ins that can be closed, I will give specific details when I encounter this problem next time
This bug may be caused by chromium, because when using chrome, I also encountered a similar problem. This bug usually manifests as: I can normally use the mouse to click, drag and drop, but I cannot use any editing functions, such as input and selection (it is usually possible to select only a small amount of text, but I cannot select a large amount or all of it. Text), but I can perform normal input operations in other applications

I'm not sure if this is caused by other plug-ins, or because the content of the file I opened is too long, or if I use complex regular expressions to match words. I have closed all plug-ins that can be closed, I will give specific details when I encounter this problem next time
This bug may be caused by chromium, because when using chrome, I also encountered a similar problem. This bug usually manifests as: I can normally use the mouse to click, drag and drop, but I cannot use any editing functions, such as input and selection (it is usually possible to select only a small amount of text, but I cannot select a large amount or all of it. Text), but I can perform normal input operations in other applications

Do you see this issue with latest insiders https://code.visualstudio.com/insiders/ ?


Add a CI script to check the links in documentation

All the data (links and targets) should be available after the html is generated for both user manual and API documentation.
This would need to parse the html and check the validity of all the local links. The rust book and api doc is already doing something like this, we could use the same tools as they do.
We could also check the links on the markdown files/documentation comments before generating HTML.

I don't really understand why this is not done by mdbooks during the build process, is there a reason for that ?

I believe it is just not implemented yet: they mention it on the documentation. You are right we should use the functionality from mdbook, either contributing it or waiting for someone to add it.


Updating to modern CMake?

This issue became quite lengthy; thus the TL;DR:

If I completely rewrite your CMakeLists' to use modern and idiomatic CMake, would you consider merging it?
Is there any reason to you're stuck on CMake 3.4?

The lengthy, descriptive issue:
Hey there!
At my work, we're using libFranka to command our pandas. It turned out to be quite hard to set up the dependencies on Windows for libFranka to compile properly.
To mitigate those issues, I wrote a "new" CMakeLists, with the following changes:

Search for POCO; if POCO is not available, download, configure and build it like any other target.
(Same spiel for Eigen and Google Test)
Reformatted and started using new CMake functions such as target_link_options and etc..

This allows us, to use libFranka, without actually installing it. E.g. in our projects, we use FetchContent (or to be more precise, CPMFindPackage, which is find_package + FetchContent but in useful) to download libFranka and resolve its dependencies with the procedure described above.
This doesn't require the user to have anything set up, besides a proper C++14 Compiler and CMake, and makes the build "bulletproof".
I'd like to open a pull request and incorporate those changes, as well as other changes that clean up the build scripts.
This would allow anyone to get libFranka, your work, running easily, without any hassles.
However, this would require at least CMake 3.13 and a bit more work from my side.
Would you accept such a contribution?
Regards,
Julian
P.S.: The fork I am working on currently, is not done yet, but works for builds using libFranka

Hi @HiImJulien ,
if this issue is still here... if you have a fork where we could have a look, we could give you some feedback :grinning:
Cheers,
Andreas


build error

Hi Ed!
When building in PlatformIO, with the uncommented #define SDCARD function in config.h, a warning appears in the terminal:
Library Manager: Installing SD(esp32) @ ^1.0.5
Warning! Could not find the package with 'SD(esp32) @ ^1.0.5' requirements for your system 'windows_amd64'
then the build fails with the following error:
Compiling .pio\build\esp32\src\main.cpp.o
Compiling .pio\build\esp32\src\utils.cpp.o
Generating partitions .pio\build\esp32\partitions.bin
Compiling .pio\build\esp32\lib1a0\Wire\Wire.cpp.o
Compiling .pio\build\esp32\libc45\PubSubClient\PubSubClient.cpp.o
Compiling .pio\build\esp32\lib274\SPI\SPI.cpp.o
Archiving .pio\build\esp32\lib1a0\libWire.a
Compiling .pio\build\esp32\libcb0\Adafruit BusIO\Adafruit_BusIO_Register.cpp.o
Archiving .pio\build\esp32\lib274\libSPI.a
In file included from src/main.cpp:616:
include/SDcard.h: In function 'void handle_ID3_SD(String&)':
include/SDcard.h:338:13: error: 'SD' was not declared in this scope
mp3file = SD.open ( path ) ;                              // Open the file
^~
include/SDcard.h:338:13: note: suggested alternative: 'SS'
mp3file = SD.open ( path ) ;                              // Open the file
^~
SS
include/SDcard.h: In function 'bool mount_SDCARD(int8_t)':
include/SDcard.h:458:11: error: 'SD' was not declared in this scope
if ( !SD.begin ( csPin, SPI, SDSPEED ) )             // Yes, try to init SD card driver
^~
include/SDcard.h:458:11: note: suggested alternative: 'SS'
if ( !SD.begin ( csPin, SPI, SDSPEED ) )             // Yes, try to init SD card driver
^~
SS
include/SDcard.h:464:36: error: 'CARD_NONE' was not declared in this scope
SD_okay = ( SD.cardType() != CARD_NONE ) ;         // See if known card
^~~~~~~~~
include/SDcard.h:464:36: note: suggested alternative: 'INADDR_NONE'
SD_okay = ( SD.cardType() != CARD_NONE ) ;         // See if known card
^~~~~~~~~
INADDR_NONE
include/SDcard.h: In function 'void scan_SDCARD()':
include/SDcard.h:485:17: error: 'SD' was not declared in this scope
getsdtracks ( SD, "/", SD_MAXDEPTH ) ;           // Build file list
^~
include/SDcard.h:485:17: note: suggested alternative: 'SS'
getsdtracks ( SD, "/", SD_MAXDEPTH ) ;           // Build file list
^~
SS
Compiling .pio\build\esp32\libcb0\Adafruit BusIO\Adafruit_I2CDevice.cpp.o
Archiving .pio\build\esp32\libc45\libPubSubClient.a
Compiling .pio\build\esp32\libcb0\Adafruit BusIO\Adafruit_SPIDevice.cpp.o
*** [.pio\build\esp32\src\main.cpp.o] Error 1
How can this be fixed?

SD is still experimental.
Try to add:
"lib_ignore = SD"
to your platformio.ini

Thanks for the quick response. Unfortunately, this did not help, the build still fails.

Try the new version of platformio.ini.

i have the latest version PlatformIO  Core 5.2.5·Home 3.4.1

I mean the file platformio.ini on the ESPRadio github.

Replaced platformio.ini, Now like this:
In file included from src/main.cpp:616:
include/SDcard.h:36:12: fatal error: SD.h: No such file or directory

Looking for SD.h dependency? Check our library registry!

CLI  > platformio lib search "header:SD.h"
Web  > https://registry.platformio.org/search?q=header:SD.h

#include <SD.h>
^~~~~~
compilation terminated.
*** [.pio\build\esp32\src\main.cpp.o] Error 1

I just downloaded the release version of ESP32Radio-V2 on a different test machine.
I copied your config.h file.
Compiled okay.
So it is a big mystery.
My SD.h is located at:
C:\Users\ed.platformio\packages\framework-arduinoespressif32\libraries\SD\src\SD.h

Bingo!  After update of pio, I got SD compile errors.  Now I have something to look for.

Yes, it's definitely a mystery. Thanks for the answers, I'll try again in the evening on another computer.
Have a nice day!

I included the SD library to the "lib" directory.  That seems to cure the compilation error.  Will test the result later.

I didn't wait for the evening :)
Everything came together without errors, thanks for the excellent work! But it looks like my ESP32 has failed so I can't download and test it yet.
How to add Cyrillic support?
Have a nice day!


Strange import behaviour on importing external dependency

I'm using klap 5.0.0 and I try to build a file that imports idb from unpkg.
This is the script I'm using.
import { openDB } from 'https://unpkg.com/idb/with-async-ittr?module';

const dbPromise = openDB('wieldy', 1, {
  upgrade(db) {
    const userStore = db.createObjectStore('users', {
      keyPath: 'id',
    });
  },
});

export const db = {
  async setAll(key, users) {
    const tx = (await dbPromise).transaction(key, 'readwrite')
    const store = tx.objectStore(key)

    for await (const user of users) {
      store.put({ ...user })
    }

    await tx.done;

    this.processCallbacks();
  }
};

This is my package.json.
{
  "name": "idb-import",
  "version": "1.0.0",
  "description": "",
  "source": "index.js",
  "module": "index.esm.js",
  "scripts": {
    "build": "npx klap build",
    "watch": "npx klap watch"
  },
  "devDependencies": {
    "klap": "^5.0.0"
  }
}

This is the output from klap:
<EMAIL_ADDRESS>- Working on build...
'babel-plugin-transform-async-to-promises/helpers' is imported by index.js, but could not be resolved – treating it as an external dependency
'https://unpkg.com/idb/with-async-ittr?module' is imported by index.js, but could not be resolved – treating it as an external dependency
        368 B   index.esm.js

The strange part here is that klap includes babel-plugin-transform-async-to-promises/helpers like this.
import{_forAwaitOf as r}from"babel-plugin-transform-async-to-promises/helpers";

And that will not work in the browser.
I don't why but klap includes  babel-plugin-transform-async-to-promises/helpers when I include this in my script
for await (const user of users) {
    store.put({ ...user })
}

thank you for the report @marcuslindblom.
I believe for-await-of handles sync iterables by converting them to async iterables. So the transformation here is correct. See a reproduction in babel repl here
as for the externals warning on babel-plugin-transform-async-to-promises/helpers, my thought was to keep it untranspiled in library code so that the final application bundle can de-dupe these helpers.
However, if you wanted to bundle it in, installing the helper in your project should help:
yarn add babel-plugin-transform-async-to-promises

This will bloat the final bundle size though.

@osdevisnot Ok, It's ok if the dependency is treated as external.
Maybe I wasn’t clear but I try to bundle js modules that should work in the browser.
Using this works in the browser
import { openDB } from 'https://unpkg.com/idb/with-async-ittr?module';

const dbPromise = openDB('wieldy', 1, {
  upgrade(db) {
    const userStore = db.createObjectStore('users', {
      keyPath: 'id',
    });
  },
});

export const db = {
  async setAll(key, users) {
    const tx = (await dbPromise).transaction(key, 'readwrite')
    const store = tx.objectStore(key)

    for await (const user of users) {
      store.put({ ...user })
    }

    await tx.done;

    this.processCallbacks();
  }
};

But after I have used klap. this is added to the beginning of the bundlee import{_forAwaitOf as r}from"babel-plugin-transform-async-to-promises/helpers"; and my code does not work in the browser anymore. The error is off course.
Uncaught TypeError: Failed to resolve module specifier "babel-plugin-transform-async-to-promises/helpers". Relative references must start with either "/", "./", or "../".
Shouldn’t this be possible with klap or do I need to bundle babel-plugin-transform-async-to-promises/helpers this my self and not treat it as an external dependency?

I think I might have misunderstood your original request. Looking deeper into this, it seems we add babel-plugin-transform-async-to-promises dependency even when the browser target is modern. I will fix this in a new release shortly.

:tada: This issue has been resolved in version 5.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Invalid security code and NotAck

During the integration test between CTMS and a Swarco TLC we sent an invalid security code in a command message. We expected to receive a NACK from the TLC, but the TLC did not reply on the command message. Should a TLC send a NACK or not? What is the correct behavior and is it documented?

Since this change (as stated above) would mean a slightly different behaviour of CommandReponse and MessageAck than stated in core.  This needs to be stated in the SXL instead for all commands where security code is used.

Clarification has been added to all commands in the TLC SXL which uses security code.
See e.g. http://rsmp-nordic.org/rsmp_specifications/rsmp_sxl_traffic_lights/1.1-draft/sxl_traffic_light_controller.html#m0001

done


Support X11 systems that don't have extension libraries installed

libXcursor, libXxfvm86, libXi, etc. are not necessarly available everywhere.

Any idea of what real-world systems this affects? Implementing a fallback for when XInput is not available is possible but you probably only want to have to maintain that code if there is a concrete use case for it.

The reason why I opened this issue is because of my raspi.
Its xinput library is missing some symbols and cannot be loaded. I had to remove support for xinput in glutin to make it work.

That's a pretty good use case. I don't have a raspi to hand at the moment, do you know what XInput symbols are missing? I presume they are not core functionality because I've seen blogs about using XInput with touchscreen devices.

The error said that XIBarrierReleasePointer was missing. Perhaps there are others, but the error only reports the first one.
Also Xcursor wasn't installed by default either.

Closing for https://github.com/tomaka/winit/issues/49


How can I solve "UnicodeDecodeError" ?

Hello.
I am trying to train ParallelWaveGAN on my own dataset, referring to "Run training using ESPnet2-TTS recipe within 5 minutes" on this page.
However, I am getting the following error.

$ ./run.sh --stage 1 --conf conf/parallel_wavegan.v1.yaml
Stage 1: Feature extraction
Feature extraction start. See the progress via dump/eval/raw/preprocessing.*.log.
Feature extraction start. See the progress via dump/train_nodev/raw/preprocessing.*.log.
Feature extraction start. See the progress via dump/dev/raw/preprocessing.*.log.
Successfully make subsets.
Successfully make subsets.
Successfully make subsets.
run.pl: 4 / 4 failed, log is in dump/eval/raw/preprocessing.*.log
run.pl: 4 / 4 failed, log is in dump/dev/raw/preprocessing.*.log
run.pl: 4 / 4 failed, log is in dump/train_nodev/raw/preprocessing.*.log
./run.sh: 3 background jobs are failed.

The contents of preprocessing.*.log are as follows (folder and file names are changed):

# parallel-wavegan-preprocess --config conf/parallel_wavegan.v1.yaml --scp dump/train_nodev/raw/wav.1.scp --dumpdir dump/train_nodev/raw/dump.1 --verbose 1
# Started at Tue 12 Dec 2023 03:52:48 PM JST
#

0%|          | 0/1174 [00:00<?, ?it/s]/mypath/anaconda3-2021.05/envs/espnet/lib/python3.8/site-packages/kaldiio/utils.py:481: UserWarning: An error happens at loading "dump/raw/org/tr_no_dev/data/format.1/wavefile.flac"
warnings.warn('An error happens at loading "{}"'.format(ark_name))

0%|          | 0/1174 [00:00<?, ?it/s]
Traceback (most recent call last):
File "/mypath/anaconda3-2021.05/envs/espnet/bin/parallel-wavegan-preprocess", line 33, in
sys.exit(load_entry_point('parallel-wavegan', 'console_scripts', 'parallel-wavegan-preprocess')())
File "/mypath/ParallelWaveGAN/parallel_wavegan/bin/preprocess.py", line 349, in main
for utt_id, (audio, fs) in tqdm(dataset):
File "/mypath/anaconda3-2021.05/envs/espnet/lib/python3.8/site-packages/tqdm/std.py", line 1178, in __iter__
for obj in iterable:
File "/mypath/ParallelWaveGAN/parallel_wavegan/datasets/scp_dataset.py", line 242, in __getitem__
fs, audio = self.audio_loader[utt_id]
File "/mypath/anaconda3-2021.05/envs/espnet/lib/python3.8/site-packages/kaldiio/utils.py", line 479, in __getitem__
return self._loader(ark_name)
File "/mypath/anaconda3-2021.05/envs/espnet/lib/python3.8/site-packages/kaldiio/matio.py", line 240, in load_mat
return _load_mat(fd, offset, slices, endian=endian)
File "/mypath/anaconda3-2021.05/envs/espnet/lib/python3.8/site-packages/kaldiio/matio.py", line 330, in _load_mat
array = read_kaldi(fd, endian)
File "/mypath/anaconda3-2021.05/envs/espnet/lib/python3.8/site-packages/kaldiio/matio.py", line 442, in read_kaldi
array = read_ascii_mat(fd)
File "/mypath/anaconda3-2021.05/envs/espnet/lib/python3.8/site-packages/kaldiio/matio.py", line 589, in read_ascii_mat
char = fd.read(1).decode(encoding=default_encoding)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x82 in position 0: invalid start byte
# Accounting: time=25 threads=1
# Ended (code 1) at Tue 12 Dec 2023 03:53:13 PM JST, elapsed time 25 seconds

It seems to be the same error as #372.
How can I solve this problem?

The simplest solution is to convert from flac to wav, and the use converted audios as the data for recipe.

Thank you for your answer.
I will try it and report back in a few days if it worked.

Sorry for the delay. I tried it and it worked. Thank you.


Remove steps that use text on the screen to set fields

We would keep things like 'I should see the phrase', but remove stuff for setting variables based on the words that appear on the screen.
On the one hand:
Using words that appear on the screen mean that steps can't be language agnostic.
On the other hand:
Keeping these steps would allow non-coders to write tests for at least one language.

We used to use it to identify that we were on the right page. Now we're using it in AssemblyLine unit tests that check the functionality of certain module behaviors by printing the output on the page itself.

It also requires us to allow people to specify the ordinal of the question as the same question text can appear on the page multiple times. For example, when filling out the names of multiple children.

Consensus is that we shouldn't spend more time on then and they're probably broken at the moment if they're still there, so we'll just remove them until/unless someone requests them.

I think by now we've basically achieved this for any steps that we could.


add option to start containers in parallel for junit (#5037)

#5037 add an option to TestContainers annotation for junit to start containers in parallel

Hi, this is my first contribution to the project. If you can review and leave some comments I would be happy to address them. @eddumelendez @kiview Thanks

Thanks for your contribution, @samed-bicer ! Left some comments.

Thanks for the review comments, applied them!


Add a function to post videos

Just a suggestion, it would be greatly appreciated and separate this repo from the other ones aside from how easy it is to use :)

The next updated is scheduled on 10th December, we are adding 10+ more features to this api including post video/video story.

The next updated is scheduled on 10th December, we are adding 10+ more features to this api including post video/video story.

this is a much needed update.  thanks for the implementation)

Hey bro , I was using selenium for username and password .  If I use this :-
response = bot.upload_story('image2.png')
print(response)
I know I will get an error .
Then how can I use this upload_story function .
Any idea ?

@b31ngD3v hi, any update?

Is it possible to upload videos yet?

Is it possible to upload videos yet?

No

Can I take this issue ?

hey @b31ngd3v  can you help a bit, I wisht to upload videos
if you have some potential docs for helping

hey @b31ngd3v can you help a bit, I wisht to upload videos if you have some potential docs for helping

this project was sponsored by a social media influencer, but at the end of 2020 he stopped providing funds. since then this project is not actively maintained. so the features i promised will not be available. sorry.

I can implement the feature myself and send a PR so if I can have some reference

I can implement the feature myself and send a PR so if I can have some reference

you've to reverse engineer the instagram mobile app with tools like burpsuite, and then try to replicate the requests that the app makes during a video upload.

Great got it


i need help with my coronastar III & VC & SA

Hello guys how do i get colored streetlights by ever pole you see on the picture normaly you get by every type one color by the same .dff but on this picture every lamppost is an other color you see lamppost 1 is purple and green and purple same as by VC and III if someone can help me i would be happy
Kaisers Champion

[StaticShadows]
RenderStaticShadowsForLODs = 0 //may reduce performance
StaticShadowsIntensity = 2.0
StaticShadowsDrawDistance = 200.0
this files is the shad_exp  what i said
but where is the coronastar


Retry Service Dependencies on Startup -- ExportClient

Issue #441
Also included in this pull request are commits normalizing the spelling of the word "Microservice" in documentation and logs to console.

recheck

@brandonforster Please investigate broken build related to docker image
23:09:05 make: *** [Makefile:43: cmd/export-client/export-client] Error 2
23:09:05 The command '/bin/sh -c make cmd/export-client/export-client' returned a non-zero code: 2
23:09:08 Makefile:108: recipe for target 'docker_export_client' failed
23:09:08 make: *** [docker_export_client] Error 2
23:09:08 Build step 'Execute shell' marked build as failure


Reopen with... entry missing on markdown tab after setting default

Testing #127355
Repro:

Open markdown file
Reopen with...
Set default for *.md
Choose markdown notebook
Right click markdown editor tab
🐛  => Reopen with... is missing

\duplicate https://github.com/microsoft/vscode/issues/127583


Gen-AI python implementation

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Workflow builds are failing. Could you take a look?
They are probably just linting failures which you can resolve by following the instructions under Code Style Check here


Added Raphnet Dual GameCube Adapter v3.6 GNU/Linux mappings

This PR adds mappings for the v3.6 firmware of the Raphnet Dual GameCube USB adapter for GNU/Linux.

Thanks you. Can you confirm face button mapping matches the layout shown in the README ? https://github.com/mdqinc/SDL_GameControllerDB?tab=readme-ov-file#mapping-guide

Thanks @offalynne for making the change and merging! Can I ask why the "Dual" in the name was dropped? Raphnet also makes a single-port GameCube adapter and my intent was to differentiate it. Thanks!


C#: Fix incorrect GC handle for non-instantiable types.

Fix #87515.

As #87515 explained, the binding generator didn't consider _ConstructAndInitialize for non-instantiable types.
This PR modifies its generation.
From:
internal DirAccess() {}

To:
internal DirAccess() : this(true)
{
    unsafe
    {
        _ConstructAndInitialize(null, NativeName, CachedType, refCounted: true);
    }
}

This will pass correct native type (CachedType above) and avoid accident GC handle.

Help to close #71081.
May alternative to #75434.

good job

Thanks!


objcgen/make  gets "0 Errors" but also "No shellcheck tool found"

Steps to Reproduce

git clone https://github.com/mono/Embeddinator-4000.git
cd Embeddinator-4000
git submodule update --recursive --init
cd objcgen
make

Expected Behavior
Actual Behavior
"No shellcheck tool found"
AND IS THE DIRECTORY...
.gitignore
CachedValue.cs
EqualsHelper.cs
ErrorHelper.cs
HashHelper.cs
Internals.md
Logger.cs
Make.config
Make.config.inc
Makefile
NameGenerator.cs
README.md
TypeMapper.cs
Version.generated.cs
bin
classhelper.cs
comparablehelper.cs
driver.cs
embedder.cs
error.cs
extensions.cs
generate-version.sh
generator.cs
methodhelper.cs
obj
objcgen.csproj
objcgenerator-helpers.cs
objcgenerator-postprocessor.cs
objcgenerator-processor.cs
objcgenerator-subscripts.cs
objcgenerator.cs
objcprocessor.cs
operatoroverloads.cs
packages.config
processedtypes.cs
processor.cs
protocolhelper.cs
script
sourcewriter.cs
system-check.cs
system-dependencies.sh
thin-framework.sh
utils.cs
Environment
macOS 10.14.6

Build Logs

Example Project (If Possible)

Creating multiple new issues for your troubles in building the project will not get you assistance more quickly. Trouble building an open source project is more appropriate through a gitter such as https://gitter.im/xamarin/xamarin-macios for example.
In any case, as I noted before "No shellcheck tool found" is a warning, and can be ignored. We just skipped part of the build that does shell checks on our scripts, since you don't have it installed.
It looks like you need to run make nuget-prep to create a _build directory that I mentioned before.
I'll repeat a question I asked before, why are you trying to build this instead of using a nuget version?

Discussion continues in duplicate https://github.com/mono/Embeddinator-4000/issues/764


How can I create a container with "stamps", the ability to prevent dragging into an area within a container

I am making an app where I have "windows" floating on the screen. Then i have "cards" that are dragged around the entire screen. I don't want the "cards" able to be dragged "behind" the "windows". In other MetaFizzy project such as Masonry, you can "stamp" out an area that is ignored for layouts. Is this possible with this library? If not, is there a way to "hook" into this library to add that functionality myself? If so, where would I begin?

You might want to look into how Packery handles dragging. Setting no-drag areas can be complicated. It's actually an unresolved issue with Packery metafizzy/packery#203

@desandro Would I have to fork draggabilly in order to make this work? Or is there some events/plugin system that I can use in order to not modify core code

You can use Draggabilly's events API. You don't need to fork it and modify its source. Packery uses standard Draggabilly events.

@desandro Looking at the source of draggabilly I see that an event is dispatched, but I don't see a way to override/prevent a drag from the event.


Add geocoding function to utils.py

This refactors out the geocoding logic from parse_csv, including viewport-biasing base on the default viewport parameter. @sanjayss34 @sandlerben

Had a few small comments, besides that lgtm

@kyle-rosenbluth it is merged.


use tcp instead of tcp4 in default serving info

/lgtm
if CI passes

/hold
I think we need something more sophisticated, like https://github.com/openshift-kni/cluster-kube-apiserver-operator/commit/1a96ae7f6065704c568949c340a28cf7f706dc16

/hold
This would need to be backported to 4.3, and I've been arguing that it would be bad (securitywise, etc) to switch a hostNetwork service from single-stack to dual-stack in a z-stream release... So I had filed #653 to toggle between single-stack IPv6 and single-stack IPv4 as needed.
I'm not really convinced that there are any real-world deployments where suddenly unexpectedly making kube-apiserver dual-stack would actually cause any problems. But still... it seems a little sketchy. Anyway, feel free to take this PR over #653 if you want. (Or perhaps, merge and backport #653 and then commit this over it for 4.4 only.)


failure in db connection

Fail to connect to your database, an error comes with "getaddrinfo failed", which I think might due to aninproper URI? Your kind help is very much appreciated!

Hello,
The script is just showing how the data are processed and saved into csv files. The database itself is not public to everyone because my MongoDB cannot maintain more than 100 connections at the same time.
If you eagerly want to get the raw data, please use the API: https://lab.isaaclin.cn/nCoV/ and get the JSON-formatted data, with which you will be able to preprocess and get the result on your own.
Furthermore, with the crawler project, you will be able to easily build your own database and use your own MONGO_URI.

Hello,
The script is just showing how the data are processed and saved into csv files. The database itself is not public to everyone because my MongoDB cannot maintain more than 100 connections at the same time.
If you eagerly want to get the raw data, please use the API: https://lab.isaaclin.cn/nCoV/ and get the JSON-formatted data, with which you will be able to preprocess and get the result on your own.
Furthermore, with the crawler project, you will be able to easily build your own database and use your own MONGO_URI.

Noted and thanks~


[Bug] Conflict between --waf-bypass and --test-CVE-2021-45046 arguments

--test-CVE-2021-45046 argument overwrites already set payloads:
if args.waf_bypass_payloads:
    payloads.extend(generate_waf_bypass_payloads(f'{parsed_url["host"]}.{callback_host}', random_string))

if args.cve_2021_45046:
    cprint(f"[•] Scanning for CVE-2021-45046 (Log4j v2.15.0 Patch Bypass - RCE)", "yellow")
    payloads = get_cve_2021_45046_payloads(f'{parsed_url["host"]}.{callback_host}', random_string)

Last line should be:
    payloads.extend(get_cve_2021_45046_payloads(f'{parsed_url["host"]}.{callback_host}', random_string))

Hi @esatormi
Yes, it's intentional, since the payloads for --test-CVE-2021-45046 are different than payloads for the original CVE-2021-44228. The --waf-bypass payloads are designed for CVE-2021-44228


Pls update dependency of brick/math to latest v 0.10

Thanks for the great product!
Would you pls update deps due to latest "brick/money" requires the latest brick/math (0.10)
The current ramsey/uuid supports only  "brick/math": "^0.8 || ^0.9"
https://github.com/brick/math
PS: sorry for "bug" category - others also not too much suitable :)

Cant update to laravel 9 because of this 😓

See #427

Thanks for the report. Please upgrade to version 4.4.0, which supports brick/math 0.10.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_7fe2fe5e-3fb1-4fab-8b43-8de168294824/pull/1 is merged into live branch.
Auto archive content to https://github.com/VSC-Service-Account/docs-archive-test-target_7fe2fe5e-3fb1-4fab-8b43-8de168294824.git

Docs Build status updates of commit f6b0d50:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

archiveSourceFolder/TOC.yml
:white_check_mark:Succeeded

archiveSourceFolder/content/someContent.md
:white_check_mark:Succeeded

archiveSourceFolder/content/sql-database-engine.png
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Modernizing a bit

Hey there! I've been using clj.rb for a while now to embed a Ruby-based asset pipeline in a ClojureScript build. For example, boot-middleman uses it.
There are a few things here that I think modernize it.

With the latest versions of JRuby (not sure since which version), the default LocalContextScope has changed. By exposing the option, we can still get the original behavior.
I've added a protocol for "load"-ing a Ruby file/input stream. This works so that ruby scripts on the classpath (say, in a jar) can be loaded.
Added a with-runtime macro to wrap the common pattern of spin up, do work, terminate.

Thanks for this library!

Hi @jgdavey! I'm glad you find this library useful! I'll be honest - I haven't used it since 2014 :).
If you are interested, I would be happy to add you as a contributor here and give you rights to deploy to https://clojars.org/clj.rb. Then you would be free to improve this as much as you like. How does that sound?

Hi @jgdavey! I'm glad you find this library useful! I'll be honest - I haven't used it since 2014 :).
If you are interested, I would be happy to add you as a contributor here and give you rights to deploy to https://clojars.org/clj.rb. Then you would be free to improve this as much as you like. How does that sound?

@tobias That works for me! Thank you!

@tobias That works for me! Thank you!

Great! Done and done. Let me know if you need a hand with anything, but don't feel like you need to run any changes by me.

Great! Done and done. Let me know if you need a hand with anything, but don't feel like you need to run any changes by me.

Thanks @tobias! I'll go ahead and merge this then :-)

Thanks @tobias! I'll go ahead and merge this then :-)


Fix templates, and config links, and add digi assets to this repo

not adding digi assets here but rest is good!


Not yielding skipping value ?

Hi,
multiple_attributes_iterator and single_attribute_iterator are yielding attribute that are eventually skip here and here. Does it make sense to just not yield them and forget the next if skip_value ? We would have 1 iteration saved per skip

Probably, but that must exist for a reason. I would change it and see what spec break.


chore: Install storybook, preserve autopopulated files

@shalane-proctor Can you take another look?
With these changes, we'll have to import SMUI components at version 8.0.0-beta.0 for now


what does OASIS SDK have to do with Parcel?

Hello, I am a student, what does OASIS SDK have to do with Parcel? If I plan to do research and development related to SGX-based blockchain privacy protection, which one should I use for development?

Oasis SDK enables one to build new runtimes (also called ParaTimes) that can run on top of the Oasis network. Each runtime can be considered as a separate chain that gets its security from the Oasis consensus layer. There are existing confidential runtimes that leverage SGX built using the Oasis SDK, for example Sapphire (high-level, docs, repository) which supports confidential EVM smart contracts.


Nice yaml handling

Closes #411

@bluesky/maintainers ready for review!

Fixed a dependency issue in 34cb75d, and now the tests pass (modulo the occasional "server startup timeout", which is a known issue).
Now I get this error when the docs build:
don't know which module to import for autodocumenting 'event_sources_by_name' (try placing a "module" or "currentmodule" directive in the document, or giving an explicit module name)

https://travis-ci.org/bluesky/databroker/jobs/541963561#L1436
I cannot reproduce that locally.

@ke-zhang-rd We also already have .. currentmodule set here https://github.com/bluesky/databroker/pull/413/commits/1554e8e76c07e117f941b7edeeeac97261173403#diff-7ac7fec400c200ba5a183ddde06a7889R13

OK, so the issues were:

Pip sees that databroker needs attrs and then later sees that jsonschema needs attrs >=17.4.0, but apparently it says, "Oh, I already know about needing attrs," and it ignores the pin. The workaround is to pin attrs >=17.4.0 in databroker as well.
Sphinx released 2.1.0, which has a bug that breaks out documentation build. I can now reproduce it locally. Building with 2.0.1 (the previous release) works fine. I have banned 2.1.0, and I am about to report the issue upstream to sphinx in the hope it will be fixed in 2.1.1.

2/3 builds passed, and 1 had a single "Server startup timeout error". Merging.

Upstream bug report: https://github.com/sphinx-doc/sphinx/issues/6452


Support bindable default value for inputs

split out default value in a separate prop and make it bindable to e.g. page parameters
Fixes https://github.com/mui/mui-toolpad/issues/414

@apedroferreira Trying out applying the methods from https://playwright.dev/docs/test-pom here

One more comment about UX: is it intentional that the prop control is completely disable on the right? I thought we wanted to have two-way binding, but not sure how easy or doable it is for now.


Update Network Traffic for CS03

end must be greater than or equal to start
extensions and end are now id-contributing properties

Codecov Report

Merging #514 (7a9d052) into master (646aaa3) will decrease coverage by 0.24%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##           master     #514      +/-   ##
==========================================
- Coverage   87.12%   86.88%   -0.25%
==========================================
  Files         151      151
  Lines       17702    17306     -396
==========================================
- Hits        15423    15036     -387
+ Misses       2279     2270       -9

Impacted Files
Coverage Δ

stix2/v21/observables.py
34.51% <33.33%> (ø)

stix2/test/v21/test_timestamp_precision.py
97.77% <0.00%> (-2.23%)
:arrow_down:

stix2/test/test_properties.py
99.50% <0.00%> (-0.03%)
:arrow_down:

stix2/test/v20/test_datastore_filesystem.py
99.20% <0.00%> (-0.02%)
:arrow_down:

stix2/test/v21/test_datastore_filesystem.py
99.22% <0.00%> (-0.02%)
:arrow_down:

stix2/test/test_hashes.py
100.00% <0.00%> (ø)

stix2/test/v20/conftest.py
100.00% <0.00%> (ø)

stix2/test/v21/conftest.py
100.00% <0.00%> (ø)

stix2/test/v20/test_tool.py
100.00% <0.00%> (ø)

stix2/test/v21/test_note.py
100.00% <0.00%> (ø)

... and 69 more

Continue to review full report at Codecov.

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


[Bug]: When a new user is shared a private app, they see hard to understand errors

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When an app

 end user is given a non-public link to the application by the developer,And

the end user has an appsmith account
the end user is logged out
the end user is not part of the organisation of the developer

After clicking the link the user is sent to Appsmith. A quick message saying “resource not found” appears before redirecting the user to the login screen, which should not be required. The user should be sent directly to the login screen
After logging in, the user is shown an error message saying: "page not found" Which is not ideal, since this does not have a lot of information
Steps To Reproduce
When an app

 end user is given a non-public link to the application by the developer,And

the end user has an appsmith account
the end user is logged out
the end user is not part of the organisation of the developer

Public Sample App
No response
Version
1.7.0

@ankitakinger Is this issue resolved?

@ginilpg the error message seen before redirection to login page is handled now. The redirection happens without any error message seen prior to that.

If user is not logged in we will show 404 page and CTA for login. This way we can convey the message and user can go to login page to access the app.

@ginilpg If we are planning to remove the redirection to the login page and show a login CTA on the 404 page instead, then I want to highlight this here:
While making this change, we will have to keep in mind the SSO with private embedded apps scenario. Private embedded apps work with redirection to the login page only. CTA inside the embedded app doesn't work.
For any further queries/info on this, please contact me or @infinitetrooper

The correct experience seems to be working. The user is taken to the login page and after they login, they see the app


Unable to run esy build on mac

    /Users/Bret/.esy/3____________________________________________________________________/b/esy_freetype2-2.9.1001-4cd9f534
    Using compiler: gcc
    include...
    .
    ..
    freetype
    ft2build.h
    lib..
    .
    ..
    cmake
    libfreetype.a
    pkgconfig
    ld: library not found for -lpng
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    ./esy/test.sh: line 21: ./test: No such file or directory
    error: command failed: './esy/test.sh' (exited with 127)
    esy-build-package: exiting with errors above...

  building<EMAIL_ADDRESS>esy: exiting due to errors above

I'm not entirely sure if this belongs here or on the esy issues, so any guidance is appreciated

Hey @Bretley ! @czystyl just updated the README.md with these steps:

For macOS users
f your build takes too much time then you can pre-install some libraries:

brew install cmake
brew install libpng ragel

Does that help?

Yes! Thanks


[FEATURE] Securing map functions via specific member accounts (ACL function)

As a request/requirement we need some form of functional lock ability for certain mapping data (tabs, static systems, settings)
At present it appears any and all users can just delete systems and map tabs at will (as well as disable/enable certain functions)
My proposal is to have some form of ACL (access control list) for the higher level functions of the mapper. Corp mates (and anyone granted access) can add and remove wandering sigs, move connections, etc... However for things mentioned above that a vital to mapping should be inaccessible.

I added some kind of admin interface with role management in v1.3.3
https://github.com/exodus4d/pathfinder/issues/164#issuecomment-366307442