workerd: macOS symbolication does not work

Symbolication with llvm-symbolizer was enabled for the workerd github runners in test.yml in #1247.
Shortly after, it was suspended for macOS in commit ad20f5e039d34 in PR #1283 when additional build configurations were added because it leads to test timeouts. The symbol search process appears to be slow / misconfigured and the CPU and storage capabilities of the free-tier github runners are limited.
We've had issues with macOS, symbols for LLVM, and bazel build. workerd explicitly sets a source-map for debugging. The problem in this ticket is likely related.
I've spent a day or two looking into this, but have not cracked it. This ticket is just to track that we have a problem here. The next step is to collect fs activity from llvm-symbolizer, macOS is very different from Linux / Windows; procmon on windows is king :-). For macOS, it looks like it needs System Integrity Protection turning off and then finding a dtrace based tool for the fs activity (opensnoop or some-such).
It would also be good to fix this as a reasonable proportion of workerd users have macOS machines and they have no chance of reporting stack traces even if they want to.
A couple of related observations:

macOS has it's own backtrace_symbols function. This might be more expedient to use since it should give meaningful stacks without needing to run an additional tool.

llvm-symbolizer has a --filter-markup option that consumes symbolizer markup. This probably post-dates the code used in workerd (capnproto) and might make things marginally cleaner.

It looks like fs_usage will trace file open events.
Crude approach, in terminal session 1 run:
# addr.txt is generated from a workerd crash (just a list of addresses, one per line, each starting 0x...).
workerd % (sleep 60; cat addr.txt ) | $(brew --prefix llvm@15)/bin/llvm-symbolizer --obj=./bazel-bin/src/workerd/server/workerd --verbose

Whilst that command is sleeping, use another terminal session to run fs_usage:
orion@LY4QWFNYJH:workerd % ps -eaf | grep llvm
  502 96657 88050   0  4:26pm ttys001    0:00.00 grep llvm
  502 96630 88092   0  4:26pm ttys003    0:00.01 /opt/homebrew/opt/llvm@15/bin/llvm-symbolizer --obj=./bazel-bin/src/workerd/server/workerd --verbose
orion@LY4QWFNYJH:workerd % sudo fs_usage -f pathname 96630
16:27:16.547638  open              F=3        (R__________X)  /private/var/tmp/_bazel_orion/0126d6c634aca3f3b55777a59ff39b0e/execroot/workerd/bazel-out/darwin_arm64-dbg/bin/src/workerd/server/workerd                                                                                0.000149   llvm-symbolizer.5446225
16:27:16.568909  close             F=3                                                                                0.000018   llvm-symbolizer.5446225
16:27:16.569000  open                   [  2] (R__________X)  /private/var/tmp/_bazel_orion/0126d6c634aca3f3b55777a59ff39b0e/execroot/workerd/bazel-out/darwin_arm64-dbg/bin/src/workerd/server/workerd.dSYM>>>>>>>>>>                                                                        0.000023   llvm-symbolizer.5446225

llvm-symbolizer is looking for .dSYM files. It seems we have enough debug info in the workerd binary for effective debugging in llvm, but either need that info in separate .dSYM files, or are lacking info for symbolication.
There is -gsplit-dwarf, though ld on macOS doesn't appear to support that (man ld).  See also refs to -gsplit-dwarf in https://bazel.build/docs/cc-toolchain-config-reference.

This might be as simple as running dsymutil on the workerd binary.
BTW, interesting background on dSYM in https://wiki.dwarfstd.org/Apple's_"Lazy"_DWARF_Scheme.md.


feat(lru cache): add interface lookup_with_request_dedup which …

…can avoid await
I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?
Add interface lookup_with_request_dedup which leverages Tokio::spawn to avoid await in LruCache for storage prefetch purpose.
Checklist

[x] I have written necessary rustdoc comments
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Documentation
If your pull request contains user-facing changes, please specify the types of the changes, and create a release note. Otherwise, please feel free to remove this section.
Types of user-facing changes
Please keep the types that apply to your changes, and remove those that do not apply.

Installation and deployment
Connector (sources & sinks)
SQL commands, functions, and operators
RisingWave cluster configuration changes
Other (please specify in the release note below)

Release note
Please create a release note for your changes. In the release note, focus on the impact on users, and mention the environment or conditions where the impact may occur.
Refer to a related PR or issue link (optional)

Almost LGTM.
Could we write a benchmark for this interface ?

nexmark q7 (left PR, right main):


Added exception handling to color parsing

Added exception handling when parsing a color value.  Saw the following css color value on a website...
color: rgb(0 0 0/var(--tw-text-opacity));
Looks like something from Tailwind CSS.  In any case, released code throws an exception and clipboard paste is halted.

I prefer not to throw exceptions in case a value is not supported, it is better to just ignore it. You can see this case in CSS, which also tends to ignore when it fails to understand some syntax.
However, let me add some changes so that those who want exceptions to be thrown are not forced to reinvent themselves.

color: rgb(0 0 0/var(--tw-text-opacity));

It might be a good idea to comment on why the code returns null in case of any exception and when it throws an exception.

It might be a good idea to comment on why the code returns null in case of any exception and when it throws an exception. Also, some tests cover this case so the fix won't removed accidentally.

We could do better by creating exceptions controlled by the developer himself. That is, adding functions so that in any case in which an exception is thrown, the developer is the one who decides what to do with the object that is going to be given to him (whether he will do a rethrow, or show his own custom exception, or just show a message)

In my case, someone was trying to paste a blob of html into flutter_quill editor and one color style was causing the exception so nothing was pasted.  Not sure a calling application would have any idea how to handle the exception, at a minimum the text should paste, which is what happens with the current try / catch.

In my case, someone was trying to paste a blob of html into flutter_quill editor and one color style was causing the exception so nothing was pasted

Maybe we could paste as plain text when in case of a failure. I'm thinking about adding paste as a plain text feature or disabling the rich text paste by default completely.
In either case, in v11, it's possible to override the default without rewriting it completely.

I do like the the html paste but need control over what attributes are allowed as our editor implementation doesn't allow all of the editor features. Having a plain text feature or a callback to edit pasted delta would be better than what I'm doing now.
`onReplaceText: (index, len, data) {
var changed = false;
final operations = [];
      if (data is Delta) {
        for (final op in data.operations) {
          final attributes = <String, dynamic>{};
          for (final key in op.attributes?.keys ?? <String>[]) {
            if (!['color', 'font', 'background', 'link', 'size', 'line-height', 'header']
                .contains(key)) {
              attributes[key] = op.attributes![key];
            } else {
              changed = true;
            }
          }
          operations.add(Operation.insert(op.data, attributes.isEmpty ? null : attributes));
        }

        if (changed) {
          WidgetsBinding.instance.addPostFrameCallback((_) {
            final newDelta = Delta.fromOperations(operations);
            _controller!.replaceText(index, len, newDelta, _controller!.selection);
          });

          return false;
        }
      }

      return true;
    },`


Update dependency rss to "~> 0.3.0"

This PR contains the following updates:

Package
Update
Change

rss
minor
"~> 0.2.9" -> "~> 0.3.0"

Release Notes

ruby/rss (rss)
v0.3.0: rss 0.3.0 - 2023-08-12
Compare Source
Improvements

itunes: Added support for <itunes:type>.
GH-16
Patch by Luis Alfredo Lorenzo.

itunes: Added support for <itunes:episode> and <itunes:season>.
GH-31
Patch by Daniel-Ernest Luff.

itunes: Added support for <itunes:title>.
GH-44
Patch by Ryan Brunner.

itunes: Added support for <itunes:episodeType>.
GH-45
Reported by Tim Uckun.

Thanks

Luis Alfredo Lorenzo

Daniel-Ernest Luff

Ryan Brunner

Tim Uckun

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:
File name: Gemfile.lock

No preset version installed for command bundler
Please install a version by running one of the following:

asdf install ruby 3.2.0

or add one of the following versions in your config file at
ruby 3.0.5
ruby 3.1.4
ruby 3.2.1
ruby 3.2.2
ruby 3.3.0

Renovate Ignore Notification
Because you closed this PR without merging, Renovate will ignore this update ("~> 0.3.0"). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.


Support example responses for GET requests

This is a followup from #77
At the moment, only POST requests with a request body are supported and will see their example responses extracted.
The reason is that the PostmanRequestItem creation getPostmanRequests method only contains id in the case where codegenOperation.bodyParam isn't null.
This needs to be improved (but can be done just a bit later, since currently our GET requests don't contain example responses.

thinking again, I wonder if we need to do this now, for the Adyen generator @gcatanese ?
I feel like this should be done in the generic generator first, and then adapted for Adyen needs but today we won't get examples for GET requests will we?


Integrate custom WebViewClient in enrollment screens

This sets up the config for COURSE_ENROLLMENT and integrates custom WebViewClient for intercepting URLs in both FindCoursesBaseActivity and CourseInfoActivity.
cc @shahidtamboli @aleffert @nasthagiri

We have updated the Enrollment Feature and added necessary changes.
@aleffert @rohan-dhamal-clarice - Please review.

Looks good. I will merge this.


AddingPowerSupport_For_golang-github-sasha-s-go-deadlock

Adding Power Support.
Adding power support ppc64le
This is part of the Ubuntu distribution for ppc64le. This helps us simplify testing later when distributions are re-building and re-releasing. For more info tag @gerrith3.
The build is successful for both arch: amd64/ppc64le. Here is the travis link: https://travis-ci.com/github/santosh653/go-deadlock

This change is

@sasha-s Can you please check this PR & approve?

@sasha-s If all the checks are successful, Can you please approve this PR?

In case there are no further checks to be verified, Can we have this PR approved? It is open from quite sometime now.

@sasha-s Can you Please check & approve this PR? It's been open from long time.,

@sasha-s Herewith Checking if you have any further questions on this.
Thank you!!

A gentle nudge, Checking if you have any questions on this PR!!

Hi, if the maintainer didn't see your first six messages, or read them and didn't act on them he's unlikely to see the seventh. It's fairly annoying behavior to continue to do this.

Apologies, @kevinburkemeter

Checking herewith if there are any further queries here?


XS✔ ◾ Added mattermost documentation

❌ Add a description.

@hussnain612 Image is available for testing. docker pull stakater/workshop-exercise:SNAPSHOT-PR-78-eddbb2b6


remove iojs and add node6

Because package.json says >=4.0
Remove unneeded file
Minor whitespace fix

Coverage remained the same at 100.0% when pulling 3adb574c759c1b7e8d88cdbd09a22b2cab72463e on stevemao:travis into 38ca8c02fe85b85928dda9f4e84dd26aaa0f2e83 on cht8687:master.


Configure GIT for uniform line endings

Addresses #3:

add a .gitattributes with file types specified for all repository file types
convert those files in the repo that have non-standard line endings. (Mostly examples and tests.)

Normalize line endings so that developers on Windows and Linux do not interfere with each other:

identify all file extensions used, and specify whether text or binary files
for text files, specify any platform specific line ending policies
adjust line endings of files already in the repo to conform with policies.


Bump version requirement

Bump version requirement to allow selecting the 0.6.0 imposter release.
A ^ constraint with 3 digits (major.minor.patch) limits versions to the same major and minor.

Imposter hasn't relased 0.6.0 yet 🤔


feat: WDS theme color picker improvements

Currently we accept only fully valid value in HEX, rgb, rgba etc.
Sensible improvements:
— accept valid HEX numbers for the seed even when the # is missing
— don't accept transparency values in rgba etc. (either by disabling formats with transparency or by ignoring that value)

Hey team! Please add your planning poker estimate with Zenhub @KelvinOm @tbrizitsky

Is it possible to assign this to me? Thanks


Add instructions for TextMate2

Adapted from: http://stackoverflow.com/a/30379079/601782

This uses a fork so I'm not inclined to merge until the issue in https://github.com/Benvie/JavaScriptNext.tmLanguage/pull/122 is resolved in some way. Do you see a way to resolve that? I'm not familiar with textmate.

@simonzack basically the problem is that the AAAPackageDev requires an additional step to transform the .tm* files from YAML to XML. From what I see this is supported in Sublime by installing the AAAPackageDev package. A possible solution is to work directly with the XML files and keep them directly in their final position which should work well for both TM2 and ST (e.g. https://github.com/nathos/sass-textmate-bundle).
That mostly depends on how the project maintainers are used to work with those files.
If you want I can prepare a PR for that quite easily.

It would be great to mention the issues surrounding TextMate in the README when stating that this bundle is supported in TextMate.

The instructions worked without a hitch for me on Mac OS X 10.8.5 by copy+paste into Terminal.  Thanks!

What’s the status of this PR?


How to make a language switcher?

When calling LocaleSettings.setLocale(locale); nothing happens unless I click "Hot reload".
How can I have the views update when changing language?

Found: https://github.com/slang-i18n/slang/issues/37
The solution is to use final t = Translations.of(context); instead. This should probably be documented.

Hi, this is already documented in https://pub.dev/packages/slang#-changing-locale


Random failure in Android Unity Cloud Builds

We are seeing a random failure in ~25% of Android builds created using Unity Cloud Build with the following stack trace:
[error] [warning] [2023-04-26T20:52:31Z - Unity] ExecutionEngineException: String conversion error: Illegal byte sequence encounted in the input.
[2023-04-26T20:52:31Z - Unity]   at (wrapper managed-to-native) System.Runtime.InteropServices.Marshal.PtrToStringAnsi(intptr)
[2023-04-26T20:52:31Z - Unity]   at System.Runtime.InteropServices.Marshal.PtrToStringUTF8 (System.IntPtr ptr) [0x00000] in <88e4733ac7bc4ae1b496735e6b83bbd3>:0
[2023-04-26T20:52:31Z - Unity]   at NatML.MLEdgeModel.OnCreateSecret (System.IntPtr context, System.IntPtr secret) [0x00028] in BUILD_PATH/p\o3h-client\Library\PackageCache\ai.natml.natml@1.1.4\Runtime\MLEdgeModel.cs:324
[2023-04-26T20:52:31Z - Unity]   at (wrapper native-to-managed) NatML.MLEdgeModel.OnCreateSecret(intptr,intptr)
[2023-04-26T20:52:31Z - Unity]   at (wrapper managed-to-native) NatML.Internal.NatML.CreateSecret(NatML.Internal.NatML/SecretCreationHandler,intptr)
[2023-04-26T20:52:31Z - Unity]   at NatML.MLEdgeModel.CreateSecret () [0x00012] in BUILD_PATH/p\o3h-client\Library\PackageCache\ai.natml.natml@1.1.4\Runtime\MLEdgeModel.cs:292
[2023-04-26T20:52:31Z - Unity]   at NatML.Editor.NatMLSettingsEmbed.CreateEmbeds (UnityEditor.Build.Reporting.BuildReport report) [0x00079] in BUILD_PATH/p\o3h-client\Library\PackageCache\ai.natml.natml@1.1.4\Editor\NatMLSettingsEmbed.cs:50
[2023-04-26T20:52:31Z - Unity]   at NatML.Hub.Editor.BuildEmbedHelper`1[T].UnityEditor.Build.IPreprocessBuildWithReport.OnPreprocessBuild (UnityEditor.Build.Reporting.BuildReport report) [0x0002b] in BUILD_PATH/p\o3h-client\Library\PackageCache\ai.natml.hub@1.0.20\Editor\BuildEmbedHelper.cs:89
[2023-04-26T20:52:31Z - Unity]   at UnityEditor.Build.BuildPipelineInterfaces+<>c__DisplayClass16_0.<OnBuildPreProcess>b__1 (UnityEditor.Build.IPreprocessBuildWithReport bpp) [0x00000] in <6e08e61cfda04255b3972ba7f0515fae>:0
[2023-04-26T20:52:31Z - Unity]   at UnityEditor.Build.BuildPipelineInterfaces.InvokeCallbackInterfacesPair[T1,T2] (System.Collections.Generic.List`1[T] oneInterfaces, System.Action`1[T] invocationOne, System.Collections.Generic.List`1[T] twoInterfaces, System.Action`1[T] invocationTwo, System.Boolean exitOnFailure) [0x000ff] in <6e08e61cfda04255b3972ba7f0515fae>:0

using NatML version 1.1.4.
Which identifies native code passing an invalid string pointer to C# in a pre process build step.
This has been reproduced in both clean and incremental builds in UCB, but presumably there's something about that environment as we haven't seen this locally.
Looking for any ideas on what could be the cause of this issue.

Hey @allan-o3h do you know what OS + version that your UCB worker uses? I presume it's running on macOS?

@olokobayusuf Android builds are running on Windows - they use cygwin 2.905 but I don't actually know (nor does it seem to be documented) what version of the OS is used.
I've also tried a few UCB Android builds on macOS (Monterey aka 12) and those appear to fail at a higher rate (although I didn't run enough to be statistically significant).
iOS builds running on macOS do not display this issue at all.

Found the issue. Fix coming in next update.

Awesome, thank you.


Update folder-collection file name on title change

As the slug is generated from the title, it would be more accurate to update the file name when the title is changed, and so avoid non relevant name for the file.
No idea on how to do it thought...

Not necessarily - we use the title to generate the slug because we need some way of creating a meaningful name, but changing the file name after publishing has big consequences, like breaking any existing links if a redirect isn't created.
The current thought is that this will be more or less fixed under #445, which will make the slug visible and editable, but afterward perhaps that behavior could be extended with configurable automatic redirect creation. For example, this would mean a new entry being created in the redirects file for sites hosted on Netlify.

Closing in favour of https://github.com/netlify/netlify-cms/issues/1576 due to the detailed discussion there.


Wip subset fix

@athanatos reviewed it and tested it manually for a week and found no issue. Assigning to @zmc because I don't feel confortable doing the merge myself.

Reviewed-by: Loic Dachary<EMAIL_ADDRESS>

@zmc  in a nutshell this fix is important otherwise --subset will sometime miss a workload. That does not happen when scheduling the larger suites. Rather when scheduling a part of a suite that triggers the bug. This is specially important when validating the pull requests with a few jobs because it creates a confusion when a job turns out to fail while the reviewer was convinced it was run when testing the pull request.

@zmc this is a very important pull request. Without it we will miss tests. Thanks :-)

@dachary apologies for not getting to this sooner!

It would be really nice if it passed flake8.
Why not defined __str__() instead of the magic tostr() method?

@zmc will re-submit with the requested changes


[Compute/CloudService] The property name returned by service is frontendIpConfigurations, but it's defined as frontendIPConfigurations

The property name returned by service is frontendIpConfigurations (lower case p in Ip), but it's defined as frontendIPConfigurations in swagger. Service team needs to fix swagger definition.
Originally posted by @fengzhou-msft in https://github.com/Azure/azure-sdk-for-net/issues/26713#issuecomment-1134249274

I am working with the dev owner of CloudServices to get the swagger file updated.

This will need to be changed under an upcoming version header because changing the casing in a released version header is considered a breaking change.

@Drewm3 I would like to assign this issue to you

The swagger file update was held off until there was a new API version because the API review folks consider a case change a breaking change. That is why this update has taken so long. The fix is rolling out now and should be fully deployed and available in a week or two.

This has been updated in the latest Cloud Services API spec: https://github.com/Azure/azure-rest-api-specs/blob/fe331143b67ab7679e84c47f659f3c90c0c81f64/specification/compute/resource-manager/Microsoft.Compute/CloudserviceRP/stable/2022-09-04/cloudService.json#L2096


add translation for Malay language

Some translation quite off, it can be updated later from time to time.

Thanks!


Open Roberta xNN - Pop-up Trainingsdata window on test-server

Describe the bug
When you click on enter training data, the pop-up window for entering the data appears with a doubled heading line. the error disappears when you close and reopen the window or when you add or remove a line in the data set
To Reproduce
Steps to reproduce the behavior:

Go to 'xNN'
Click on 'enter trainings/test data'
See error

Expected behavior
only one heading line appears
Screenshots

Device information

Type laptop
OS: MacOS
Browser chrome

A quick fix is introduced in feature/Issue1628


Bracket pair colorisation proposal

This PR implements bracket pair colourisation for VS Code. I've run a few experriments that ended up informing my decisions, namely:

It looks like all text colours are the same within the variations of a theme – i.e. Gruvbox Dark Soft, Medium and Hard use the same font colours. Following this logic, same bracket colours are proposed for all variations.
In terms of the sequence of particular colours, the rainbow sequence seemed to make the most logical and aesthetical sense. Both Orange to Purple and Purple to Orange were tested, and the latter was found to be subjectively more readable for most language examples. Finally, red was used for unexpected/unbalanced brackets.
Since Colour 2 is used for text in both Light and Dark themes, using Colour 1 makes brackets slightly distinguishable from the rest of the tokens, thus subjectively improving readability.
As for the place to include the rules, they were put into the end of the editor. block.

PS: some Prettier JSON auto-formatting trickled into the files. This alters formatting but does nothing to the semantics. My apologies for that. If this turns out to be a critical issue, I will revert and re-commit. Feel free to point this out if this is the case.

@shpigunov please also add yourself to the end of the contributor list in package.json & README.md

@jdinhify done!

:tada: This PR is included in version 1.6.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


sliding evaluation

Hello, thank you for your excellent work, I read your paper, I have a place is not very clear, is the experiment mentioned in the sliding evaluation is what it means, hope to get your reply, thank you!

Sorry, I cannot understand your question.
The sliding evaluation is only for the Cityscapes dataset to deal with the high-resolution driving scenes, and all the hyper-parameters are based on the CPS (https://github.com/charlesCXK/TorchSemiSeg/tree/main/exp.city/city8.res50v3%2B.CPS%2BCutMix).
Please let me know if you are not satisfied with the answer.

Thank you for your timely response

Hello, I would like to ask, what is the function of self.assist_mask_calculate() function in line 224 of train.py?

Sorry, I have one more question. After the teacher-student model is trained, shouldn't the student model be used for validation, but here you are using the average of the teacher model for validation.What are the benefits of doing this?

Hi @NJNUCS
I apologise that I didn't see your question on time. In our cases, we experimentally find that the dual teachers inference are slightly better than the students (maybe the more stable prediction can be the reason). Please note: we utilise single-teacher inference in cityscape for efficiency.


Fix slack sharing tree selection

Description

This PR fixes https://github.com/dust-tt/tasks/issues/1224.
The problem lies in our DropdownMenu implementation, which struggles with managing complex layouts. When using a switch, the menu doesn't close even though the action is executed. In our situation, the modal was opening, but we needed an initial click to close the menu before we could interact with the modal.
Risk

Deploy Plan

PMRR.


logger host cannot resolve DNS queries

Operating System Version: Win10 21H2
Deploying via (VirtualBox/VMWare/AWS/Azure/ESXi): VirtualBox
Vagrant Version (if applicable): 2.2.19

Please verify that you are building from an updated Master branch before filing an issue.
Description of the issue:
While building the logger host, I'm running into the following error message that causes the build to stop:
logger: ERROR: '~apt-fast' user or team does not exist.

After some digging, it was determined that the logger host cannot resolve DNS queries. I confirmed that the logger host does have direct IP connectivity and can PING <IP_ADDRESS>, etc. However, when attempting to resolve any DNS name, it returns a SERVFAIL error.
Here are the current networking configs:
vagrant@logger:~$ cat /etc/netplan/01-netcfg.yaml
network:
  version: 2
  ethernets:
    eth0:
      dhcp4: true
    eth1:
      dhcp4: true
      nameservers:
        addresses: [<IP_ADDRESS>,<IP_ADDRESS>]

vagrant@logger:~$ cat /etc/netplan/50-vagrant.yaml
---
network:
  version: 2
  renderer: networkd
  ethernets:
    eth1:
      addresses:
      - <IP_ADDRESS>/24

vagrant@logger:~$ cat /etc/resolv.conf
# This file is managed by man:systemd-resolved(8). Do not edit.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "resolvectl status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs must not access this file directly, but only through the
# symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way,
# replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.

nameserver <IP_ADDRESS>
options edns0 trust-ad

Noticed this is the same error as seen previously via #765.
The net adapters seem to be working fine, it is that no DNS queries can be made.
Can ping <IP_ADDRESS> but dig google.com @<IP_ADDRESS> results in SERVFAIL.
This is why the dependencies can't be installed.

Hi arnydo,
I'm having the same issue, all other VMs built without errors, but logger has the same as you are reporting.
My VMnet 2 Network is set as follows:
<IP_ADDRESS>
<IP_ADDRESS>
no GW
Even tried setting <IP_ADDRESS> on my Preferred DNS Server, did not help.
So, I will keep digging for a solution.

Oh man, I've seen this problem appear sporadically and I've never been able to figure out the root cause. Let me see if I can reproduce it.

No dice on reproducing.

Here's my settings:

Thanks, Chris for looking into this issue. I can rule out a Virtualbox vs VMware Workstation 16. I'm using VMware Workstation 16 and seeing the same issue. I even deployed a test Ubuntu 20.04 VM and it came right up with both a NAT and VMnet2 nic with DNS resolution working. For as long as I have been using Detection Lab, since the beginning, I have not had issues with the logger VM, it's always with the Windows VMs.
I will keep digging on it and if I do figure it out will let everyone know.

Thanks for the response @clong !
It looks like my net settings are matching yours.
This is indeed odd.

Here is another interesting observation. I can resolve DNS queries via resolvectl but not dig. Not sure what this indicates...

That is very interesting, might be another lead into the problem.
On Fri, Mar 25, 2022 at 9:01 AM Kyle Parrish @.***>
wrote:

Here is another interesting observation. I can resolve DNS queries via
resolvectl but not dig. Not sure what this indicates...
[image: image]
https://user-images.githubusercontent.com/11653079/160146351-a3863bcb-c81c-4a2e-ad98-16b71f85b1ef.png
—
Reply to this email directly, view it on GitHub
https://github.com/clong/DetectionLab/issues/791#issuecomment-1079116201,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGAI4HLV5L7RXYQHJWRRZEDVBXIODANCNFSM5RI3D3FA
.
You are receiving this because you commented.Message ID:
@.***>

Hello, All
I have been working on this issue and think that I found the problem, Chris, can you confirm what I have found. Interestingly, not everyone seems to be having the issue, so here is what I have done as a workaround for now.
After testing with another Bento VM, the same box image (bento/ubuntu-20.04):
Here is the resolv.conf file without modification.
nameserver <IP_ADDRESS>
options edns0 trust-ad
search localdomain
======================================================================
Here is what the resolv.conf file looked like after being deployed with the logger_bootstrap.sh script.
nameserver <IP_ADDRESS>
options edns0 trust-ad
======================================================================
Workaround:
Logger after modifying the logger_script (logger_bootstrap.sh):
I commented out lines 11-13.
if grep '<IP_ADDRESS>' /etc/resolv.conf; then
sed -i 's/nameserver <IP_ADDRESS>/nameserver <IP_ADDRESS>/g' /etc/resolv.conf && chattr +i /etc/resolv.conf
fi
Here are the results after modifying the logger_bootstrap.sh script.
Here is what the $ /etc/resolv.conf looked like.
nameserver <IP_ADDRESS>
options edns0 trust-ad
search localdomain
I also needed to change the DNS Server setting from <IP_ADDRESS> to <IP_ADDRESS> on Line 7 in the Vagrant file.
cfg.vm.network :private_network, ip: "<IP_ADDRESS>", gateway: "<IP_ADDRESS>", dns: "<IP_ADDRESS>"

Note: I would recommend that you destroy the logger VM and start over as the --provision seemed to not work for me.

vagrant destroy logger

And it works without issue for me. If arnydo can test and confirm what I have done as a workaround that would be great.
Please let me know if you were successful or not.
Thanks,

Good morning! I can confirm that the changes you mentioned worked for me as well @rangerrkm.

Glad to hear, so Chris if you need me to explain more of my troubleshooting process, please let me know.
I do know that it might have been a change on the Bento Box Ubuntu or some Netplan change.
Thanks,

Hey folks, I keep meaning to comment on this thread and forgetting. @arnydo and @rangerrkm - thanks for the debugging you did here! It basically looks like I tried to work around systemd-resolvd incorrectly and that's what can cause issues intermittently.
It seems I have two paths to take:

Remove systemd-resolvd and fall back to using good ol' resolv.conf as the source of truth
Make sure systemd-resolvd gets configured correctly

I'll try to make a decision and put in a fix in the coming days/weeks

Hi Chris,
Let me know if I can help more on this issue.
On Thu, Mar 24, 2022 at 11:07 PM Chris Long @.***>
wrote:

Oh man, I've seen this problem appear sporadically and I've never been
able to figure out the root cause. Let me see if I can reproduce it.
—
Reply to this email directly, view it on GitHub
https://github.com/clong/DetectionLab/issues/791#issuecomment-1078659283,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGAI4HMQ7XN2MO7LZ6G56ALVBVCX3ANCNFSM5RI3D3FA
.
You are receiving this because you commented.Message ID:
@.***>

@rangerrkm I think the problem should be solved. I resort to just disabling systemd-resolvd and using /etc/resolv.conf now: https://github.com/clong/DetectionLab/blob/master/Vagrant/logger_bootstrap.sh#L12-L18

I'm going to mark this as closed since I think the commit referenced in the last comment fixed this. Whatever is in /etc/resolv.conf is now the source of truth for DNS and systemd-resolved is disabled because I don't like useless layers of abstraction


Fix of procmacro2 version incompatibility when used with other crates

I believe this fixes Issue #98 and hope that it will allow users of the crate to have more flexibility in which procmacro2 version is used.

Closing as fixed in f802e376ab9b0f3f7f2f6ac626d5e4c36c8e5702


What 's the RTF  on CPU?

Hi,
Thank U for share!
What 's the RTF  on CPU?

Hi @zhangsanfeng86 , the current implementation samples a single audio about in 0.0372 RTF (including vocoder).

@keonlee9420 thank you for your reply!
and how about the RTF without vocoder on CPU?

Sorry but I currently don’t have time to take it. It would be better if you can share the information.

Close due to inactivity.


BadRequestKeyError (Trying to synthesize)

Type: BadRequestKeyError
Text: 400 Bad Request: The browser (or proxy) sent a request that this server could not understand.
Full: Traceback (most recent call last): File "flask\app.py", line 1950, in full_dispatch_request File "flask\app.py", line 1936, in dispatch_request File "application\views.py", line 262, in synthesis_setup_post File "werkzeug\datastructures.py", line 377, in getitem werkzeug.exceptions.BadRequestKeyError: 400 Bad Request: The browser (or proxy) sent a request that this server could not understand.
This error shows whenever I click "Submit" on the "Synthesis" stage.
I think it may be related to the fact that, at the end of the page, there's a blank menu with no options to choose from.

Nevermind.
I didn't know you had to upload the models yourself.


Signed Packages 1

New page to explain basic signing features

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

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/TOC.md
:white_check_mark:Succeeded

docs/create-packages/Sign-a-Package.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Nice work. I've added the do-not-merge label because this article also depends on adding articles for nuget sign and nuget verify commands, which you refer to, as well as updating the errors and warnings page. Those should all be in the same PR.


Suitable camera for a close distance

Required Info

Camera Model
D400 series

Firmware Version

Operating System & Version
Linux

Kernel Version (Linux Only)

Platform

SDK Version

Language

Segment

Issue Description
I don't specifically have a problem, but rather a question of what camera would suit our use case the best. We need a depth camera to capture moving hands in the range of 10 cm to 100 cm. The use case is pose estimation of the hand (fingers and palm).
At the moment I have two cameras at my disposal---SR305 and D415. SR305 is no longer being sold, so I don't consider this an option anymore. The advantage of SR305 was its depth accuracy. As for the D415, I am able to decrease min-z by decreasing resolution and increasing disparity shift which gets me to min-z of 13 cm. The issue is, however, that at this distance the palm is too big to fit in the image. I suppose this is because of limited FOV. Experimentally, my hand needs to be at least at the distance of 22 cm so that it fits inside it whole; thus, the FOV is also limiting for our use case.
The following image demonstrates the above-mentioned scenario when my hand is captured by the D415 camera at 13 cm with a disparity shift of 30 and resolution 480x270.

The following image demonstrates the ideal image. Note that this was captured by the SR305 camera from a greater distance than the previous image. It is cropped from a bigger image, as it serves only for demonstration purposes.

The other issue with D415 is that the depth accuracy is too low when compared to SR305. I do not know to what extent settings can be adjusted or if other cameras in the D400 series are more accurate.
To summarize, the requirements are:

range from 10 cm to 100 cm or more
moving hands
the whole palm should fit in the image (wide enough FOV)
accurate depth (almost similar to SR305)

I explored a bit and found that D435, D435i, and D455 all have wider FOV. Moreover, I read that they support closer distances than D415. Therefore, I wonder whether either one of them could suit our case.
Thank you for any advice.

Hi @LadaOndris  The 400 Series cameras are significantly more capable than the older SR30x models.  As the SR30x is based on a different depth sensing technology to the stereo depth of the 400 series, there are a small number of applications that may produce a more desirable result on SR30x than the stereo depth technology can.  It is usually possible to compensate for this and enhance the image with the extensive range of powerful features such as post-processing and custom camera configuration that are available to the 400 Series though.
If the 0.3 meter minimum depth sensing distance of the D415 camera model is problematic for your project then the D455 would not be the most suitable choice as its minimum distance is 0.4 meters.  The D435 and D435i are well suited for close range sensing as they have a minimum depth distance of only 0.1 meters.
You can still use disparity shift with D435 and D435i to reduce the minimum distance below 10 cm, though there will be a distance below which the image begins blurring. 7 cm would be a good target for an absolute minimum distance with disparity shift.
An entire hand could fit within the field of view (FOV) size of D435 / D435i.
Because the RGB sensor on these models have a slower 'rolling' shutter whilst the depth sensors have a fast 'global' shutter, the RGB image may experience motion blur with a fast moving hand, as described in https://github.com/IntelRealSense/librealsense/issues/3554 but there are a couple of workarounds for reducing RGB blur.
If RGB auto-exposure is enabled then setting the FPS speed to 60 will help to negate the blurring.  If RGB auto-exposure is disabled though and manual exposure is being used, you can use 6 FPS (not 60) and set a manual RGB exposure value of 70.   https://github.com/IntelRealSense/librealsense/issues/3554 provides technical information that explains these settings.

Wonderful, thank you for the detailed information. We are not intending to use RGB, so the described motion blur should not be a problem in our case. From the information you provided, it seems that D435 and D435i are worth a try.
Could you shortly compare these two cameras and say which one may be more suitable?

The main difference between D435 and D435i is that the D435i has an additional internal hardware component called an IMU that provides accelerometer (accel) and gyroscope (gyro) data.  If you do not require such motion data for your project and are only using depth then the IMU-less D435 would be fine.
A good visual demonstration of the fast motion capture capability of the D435 / D435i depth sensor is the YouTube video in the link below, where a D435 is mounted to a car traveling at full speed.
https://m.youtube.com/watch?v=OwJmCyAn3JQ

Here is a similar issue that might help you: https://github.com/IntelRealSense/librealsense/issues/4550
Additionally, if you have not read them yet, I would suggest you take a look at these two Intel whitepapers:
Tuning depth cameras for best performance
Depth Post-Processing for Intel® RealSense™ Depth Camera D400 Series

Thanks very much @roelofvandijk for the list of resources for @LadaOndris   :)

Thank you, @roelofvandijk, I really appreciate it. It is a good idea to tune the camera a little.

And also thank you, @MartyG-RealSense, for explaining the difference between the two cameras. We'll probably give the D435 a try.

Hi @LadaOndris  Do you require further assistance with this case, please?  Thanks!

I do not think so, thank you!

You are very welcome.  Thanks for the update!


Android post composer does not flex properly

Describe the bug
On Android (13 in my case, unsure if iOS as well), text and the cursor in the post composer will overflow horizontally by approximately a 2-3 characters depending on the length of the line. Additionally, as the line count exceeds three, the whole text box gets jumpy and will cut off the top line briefly until more characters are input onto the newest line.
To Reproduce
Steps to reproduce the behavior:

Open a post.
Type multiple lines.
Observe.

Expected behavior
I expect the post composer to always show the full post and not jitter.
Screenshots
Relevant post with screenshots: https://bsky.app/profile/juicysteak117.gay/post/3khlscejgy32j
A video that hopefully shows it better:
https://github.com/bluesky-social/social-app/assets/20595808/70a98512-f705-4a6c-868f-cbeeafffb793
Details

Platform: Android
Platform version: 13
App version: Latest

Observed the same thing today
Just half a character though, but it was reproducible on several lines.

Also observed by at least two more users, so I think it's fair to say it's widespread, but it's still just a minor inconvenience.

I think this might actually be fixed in the next release, i can't repro on any device personally anymore. Not something that I thought would be fixed but...maybe.


pinax/stripe/tests/settings: remove support for Django < 1.8

Lint error:

pinax/stripe/tests/settings.py:3:1: F401 'django' imported but unused

Still used with #456, so please ignore it.


Questions for the tutorial

Please add to this discussion all your questions, we should ask our tutor.

How to handle Plots we want to refer to -> appendix ? yes or no or refer to github repo


Can't view pictures in tutorial

Pictures on the tutorial page failed to load:

I'm using Chrome (Version 63.0.3239.132) on Mac (10.12.6).

It works fine for me, probably it's something on your side.
Check DevTools coonsole.

@AlexP11223 Thanks for your response! I think I realized the problem:
The pictures in the Tutorial Wiki page work fine, but the Tutorial linked from the Macrobase Homepage are down. Would you mind checking that? I've tried with both my laptop and my phone so it's less likely to be something from my side.

Yes, it doesn't work there.
I guess they need to either copy these images to that server or change links to use the images hosted in this GitHub repo (currently they are relative, so it tried to access non-existing images on http://macrobase.stanford.edu).

Looks like the image links are fixed: https://macrobase.stanford.edu/docs/gui/tutorial/


A more informative error message when syncing from block 1

Is your feature request related to a problem? Please describe.
When node operators attempt to start their node from block 1 they get an unclear error message like
panic: json: cannot unmarshal array into Go value of type map[string]json.RawMessage
Example Issue: https://github.com/zeta-chain/node/issues/2682
Describe the solution you'd like
Instead, if someone attempts to start at block 1 it should give them an informative error message like
You cannot sync testnet or mainnet from block 1 using this version. You should sync your node from a snapshot
Motivation and Context
Many node operators run into this problem, get confused, and ask for help in Discord.

I think it's a good idea to refactor the message , to make it meaningful
It would be better, though, if we could also come up with a doc or a process to follow for someone who wants to sync from block 1. Is that something we have ever tested?
It would be a good idea to spend some time on a sprint to test this to see if it's possible.

Do you know what is the actual error and what message should be printed for this specific case here?

The error I got when trying to sync a node using
https://www.zetachain.com/docs/nodes/start-here/setup/
12:22PM INF initializing blockchain state from genesis.json module=server
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x1035759b0]

goroutine 1 [running]:
github.com/cosmos/cosmos-sdk/x/gov.InitGenesis({{0x105ab67b0, 0x1077946c0}, {0x105ad06d0, 0x140009d2580}, {{0x0, 0x0}, {0x140016040e0, 0x10}, 0x0, {0x0, ...}, ...}, ...}, ...)
        /Users/tanmay/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.47.10/x/gov/genesis.go:15 +0xc0
github.com/cosmos/cosmos-sdk/x/gov.AppModule.InitGenesis({{{_, _}, {_, _, _}}, _, {_, _}, {_, _}, ...}, ...)
        /Users/tanmay/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.47.10/x/gov/module.go:304 +0xcc
github.com/cosmos/cosmos-sdk/types/module.(*Manager).InitGenesis(_, {{0x105ab67b0, 0x1077946c0}, {0x105ad06d0, 0x140009d2580}, {{0x0, 0x0}, {0x140016040e0, 0x10}, 0x0, ...}, ...}, ...)
        /Users/tanmay/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.47.10/types/module/module.go:357 +0x290
github.com/zeta-chain/node/app.(*App).InitChainer(_, {{0x105ab67b0, 0x1077946c0}, {0x105ad06d0, 0x140009d2580}, {{0x0, 0x0}, {0x140016040e0, 0x10}, 0x0, ...}, ...}, ...)
        /Users/tanmay/IdeaProjects/kingpinXD/zeta-node/app/app.go:892 +0x1d8
github.com/cosmos/cosmos-sdk/baseapp.(*BaseApp).InitChain(0x140007370e0, {{0x0, 0xedcc373b0, 0x0}, {0x140016040e0, 0x10}, 0x14000694860, {0x1077946c0, 0x0, 0x0}, ...})
        /Users/tanmay/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.47.10/baseapp/abci.go:78 +0x408
github.com/cometbft/cometbft/abci/client.(*localClient).InitChainSync(0x14000d4f800, {{0x0, 0xedcc373b0, 0x0}, {0x140016040e0, 0x10}, 0x14000694860, {0x1077946c0, 0x0, 0x0}, ...})
        /Users/tanmay/go/pkg/mod/github.com/cometbft/cometbft@v0.37.4/abci/client/local_client.go:275 +0x184
github.com/cometbft/cometbft/proxy.(*appConnConsensus).InitChainSync(0x140006af008, {{0x0, 0xedcc373b0, 0x0}, {0x140016040e0, 0x10}, 0x14000694860, {0x1077946c0, 0x0, 0x0}, ...})
        /Users/tanmay/go/pkg/mod/github.com/cometbft/cometbft@v0.37.4/proxy/app_conn.go:85 +0x1a8
github.com/cometbft/cometbft/consensus.(*Handshaker).ReplayBlocksWithContext(_, {_, _}, {{{0xb, 0x0}, {0x10448693d, 0x6}}, {0x140016040e0, 0x10}, 0x1, ...}, ...)
        /Users/tanmay/go/pkg/mod/github.com/cometbft/cometbft@v0.37.4/consensus/replay.go:336 +0xbac
github.com/cometbft/cometbft/consensus.(*Handshaker).HandshakeWithContext(0x14001bd3db8, {0x105ab6d60, 0x1077946c0}, {0x105ad5650, 0x14001b2e000})
        /Users/tanmay/go/pkg/mod/github.com/cometbft/cometbft@v0.37.4/consensus/replay.go:274 +0x314
github.com/cometbft/cometbft/node.doHandshake({_, _}, {_, _}, {{{0xb, 0x0}, {0x10448693d, 0x6}}, {0x140016040e0, 0x10}, ...}, ...)
        /Users/tanmay/go/pkg/mod/github.com/cometbft/cometbft@v0.37.4/node/node.go:449 +0x118
github.com/cometbft/cometbft/node.NewNodeWithContext({0x105ab6d60, 0x1077946c0}, 0x14000a6f1e0, {0x105a980f8, 0x140019e81e0}, 0x140019f1f50, {0x105a828e0, 0x14000631680}, 0x140015f7008, 0x105a6f3a0, ...)
        /Users/tanmay/go/pkg/mod/github.com/cometbft/cometbft@v0.37.4/node/node.go:929 +0x3fc
github.com/cometbft/cometbft/node.NewNode(0x1074e7db0?, {0x105a980f8?, 0x140019e81e0?}, 0x37?, {0x105a828e0?, 0x14000631680?}, 0x105a828c0?, 0x140013f5c00?, 0x0?, {0x105ab6820?, ...}, ...)
        /Users/tanmay/go/pkg/mod/github.com/cometbft/cometbft@v0.37.4/node/node.go:849 +0x84
github.com/zeta-chain/node/server.startInProcess(_, {{0x0, 0x0, 0x0}, {0x105ad3420, 0x14000a2d200}, 0x0, {0x1400148d4f0, 0x10}, {0x105adee00, ...}, ...}, ...)
        /Users/tanmay/IdeaProjects/kingpinXD/zeta-node/server/start.go:417 +0x2334
github.com/zeta-chain/node/server.StartCmd.func2(0x14000f38608, {0x1077946c0?, 0x0?, 0x0?})
        /Users/tanmay/IdeaProjects/kingpinXD/zeta-node/server/start.go:159 +0x284
github.com/spf13/cobra.(*Command).execute(0x14000f38608, {0x1077946c0, 0x0, 0x0})
        /Users/tanmay/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:983 +0x834
github.com/spf13/cobra.(*Command).ExecuteC(0x140013caf08)
        /Users/tanmay/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115 +0x344
github.com/spf13/cobra.(*Command).Execute(...)
        /Users/tanmay/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039
github.com/spf13/cobra.(*Command).ExecuteContext(...)
        /Users/tanmay/go/pkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1032
github.com/cosmos/cosmos-sdk/server/cmd.Execute(0x140013caf08, {0x0, 0x0}, {0x14001148120, 0x18})
        /Users/tanmay/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.47.10/server/cmd/execute.go:33 +0x148
main.main()
        /Users/tanmay/IdeaProjects/kingpinXD/zeta-node/cmd/zetacored/main.go:20 +0x3c

The linked pr should fix that problem.
@CharlieMc0 , I was not able to replicate the exact error message you created the issue for but the recover function I added should catch any panic from initializing the state from genesis.
If you have the steps to replicate the error , I can try it on my branch


Improper translation of regex

jfyi, this is part of Phoenix app default config:
config :myapp, Myapp.Endpoint,
  live_reload: [
    patterns: [
      ~r{priv/static/.*(js|css|png|jpeg|jpg|gif)$},
      ~r{web/views/.*(ex)$},
      ~r{web/templates/.*(eex)$}
    ]
  ]

and this is actually translated into the following:
    "myapp.Elixir.Myapp.Endpoint.live_reload.patterns": [
      doc: "Provide documentation for myapp.Elixir.Myapp.Endpoint.live_reload.patterns here.",
      to: "myapp.Elixir.Myapp.Endpoint.live_reload.patterns",
      datatype: [
        list: :binary
      ],
      default: [
        %{__struct__: Regex, opts: "", re_pattern: {:re_pattern, 1, 0, 0, <<69, 82, 67, 80, 157, 0, 0, 0, 0, 0, 0, 0, 81, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 112, 0, 47, 0, 0, 0, 1, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...>>}, source: "priv/static/.*(js|css|png|jpeg|jpg|gif)$"},
        %{__struct__: Regex, opts: "", re_pattern: {:re_pattern, 1, 0, 0, <<69, 82, 67, 80, 106, 0, 0, 0, 0, 0, 0, 0, 81, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 119, 0, 120, 0, 0, 0, 1, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...>>}, source: "web/views/.*(ex)$"},
        %{__struct__: Regex, opts: "", re_pattern: {:re_pattern, 1, 0, 0, <<69, 82, 67, 80, 116, 0, 0, 0, 0, 0, 0, 0, 81, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 119, 0, 120, 0, 0, 0, 1, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...>>}, source: "web/templates/.*(eex)$"}
      ]
    ],

I know what the problem is here, need to add explicit support for a :regex type. I have some changes queued up, I'll add this to the list.


Order options in columns.

If I have several number of options would be nice to be able to order them in columns.

Could you describe what you want a little bit more?


Purchases are getting rolled back after 3 days

https://developer.android.com/google/play/billing/release-notes#release-2_0
We need to figure out how to ack purchases.

https://github.com/dooboolab-community/react-native-iap/issues/1003

Attempt to fix it in short term
https://github.com/croma-app/huehive-mobile-app/commit/349885ca0b687abd531360f1f251d8aed5966eb9

https://github.com/croma-app/huehive-mobile-app/pull/198


Adds cacheControl config setting

When testing this code locally, I found that it doesn't work. It throws an error because the import paths are incorrect. I'm going to add a github workflow to prevent this from happenign in the future.

When testing this code locally, I found that it doesn't work. It throws an error because the import paths are incorrect. I'm going to add a github workflow to prevent this from happenign in the future.


Unix: add uninstall.sh and update install.sh to modify it during install

Note: The URL on line 91 has been changed to download from 14-create-uninstallation-scripts instead of main for testing purposes. This will need to be changed back before merging.
Another couple of points:

The uninstall script has been added to FILES so will be downloaded if no arg is given. If arg is given install.sh will copy uninstall.sh to the M269 folder. So whichever way the script is run uninstall.sh will end up in the M269 folder; not sure if this is correct based on what the second mode is supposed to be used for.
The messaging (echoed to the user) and general comments might need some changes for consistency with the original script and just a better "bedside manner".
The script does not delete itself at the end. For the process of reinstallation I think it would make sense to do this?

I am not sure why I did not realise this before, but reading in between (or directly) the lines of Michels comments and picking up the subtle hints. We do not need to introduce code into the main branch at this time (so close to the 23j release) that could potentially break; it is just so unnecessary. Nobody has the time to test this thoroughly at present and the gains are minimal at best.
We can still have the 14-create-uninstallation-scripts branch to work on and hopefully we can get some adventurous 23j students to help test and contribute towards this script. Thanks for you patience Michel :smile:


cannot use sudo or su when home dir name contains space

DemianTinkiel+Demian Tinkiel@DemianTinkiel MINGW64 ~/bin
$ sudo sh
realpath: Tinkiel/bin: No such file or directory

I am having this same problem. how to add quotes?

@AlokBhushanJss Looks like that is a separate problem. The quotes were committed already. Please fill in a new issue.


Chat/Participant flyout panel width

Hi - on a 13' laptop the width of the flyout panel for chat, file sharing and participant list takes up ~40% of the screen size on the left side.
Where can I change this width in the code?

Change the widths in this CSS:
https://github.com/havfo/multiparty-meeting/blob/8a3cfb68de2c6188c8531614ef517f283cd49618/app/src/components/Room.js#L43

@havfo  in app config.js you mean in theme=>overrides=> MuiDrawer =>paper rule ?
https://material-ui.com/api/drawer/
Am I right?

Hi - I made the change @havfo suggested and the width did compress but the effect is not desirable as the Participant text is then cut off.
I guess a better way would be to compress the whole flyout rather than just change the width. Thank you @havfo

You can override all element width as I wrote above, chek css and adjust it.

Thank you @misi. This can be closed now from my perspective.


Open folders with long loading times will impact all folders in FileManager

Description
My Network Location needs a long time to load, so when I open Network Location, it takes time to load, and in the time, if I choose to open other folders instead of wait, they will not be loaded and File Manager will display empty until the Network Location is completely load.
Steps To Reproduce

Open Files App.
Click one of Network Drives in left column, and it usually takes long time to load.
Not wait and click any other drives.
Then you can see nothing until the Network Drive you Clicked is loaded completely.

Expected behavior
If I choose to open other folders instead of wait, File Manager should stop loading the Network (In fact all folders which take long times) and just load the folder immediately which I newly opened.
Files Version
Version: <IP_ADDRESS>
Windows Version
OS Version: 10.0.25179.1000
Relevant Assets/Logs
I can't copy the files maybe because of the EFS Encrypting or Group Policy

Merging with #9566


Changing implementation of FromSourceRegionZone

Reverts kanisterio/kanister#612

Added UTs to test cross region migration as well


Fix Flaky test

reloader_test.go:269:

	exp: 5

	got: 3

--- FAIL: TestReloader_RuleApply (10.04s)
    reloader_test.go:238: Performing step number 1
    reloader_test.go:238: Performing step number 3
FAIL
FAIL	github.com/thanos-io/thanos/pkg/reloader	10.769s

Quite often spotted.

https://github.com/thanos-io/thanos/blob/c35d47b41954dae0e9b5592cb327bf0896e78e26/pkg/reloader/reloader_test.go#L182
Reason: plus op is not an atomic operation.

@bwplotka @johncming I guess that the reloader read the middle status of watched files, because of using ioutil.WriteFile.
// WriteFile writes data to a file named by filename.
// If the file does not exist, WriteFile creates it with permissions perm;
// otherwise WriteFile truncates it before writing.

@johncming I think this part is ok as there is only a single writer.
@jojohappy you are right but this can happen normally as well so we should handle it properly.
IMO it is just a CI slowdown, so increasing timeout here https://github.com/thanos-io/thanos/issues/1442 (:


TalentsJson data added in SaveData.cs

Fixed the reset of talent points during file save.

i have tested to make sure this works the only thing im worried about is if i did the pull request right since i never used git to make a pull rerequest before


Would you please kindly provide the data loading file of VVeRi901?

I have made a custom implementation of the data manager. Check my repo for details.


Do not work with SD-WLAN-Card :(

Tried to connect to my Altherma3 which has this WLAN-Gateway installed. I found the IP but the integration will not connect.
Is there a future implementation to add support for the wlan network gateway?

You can also try https://github.com/speleolontra/daikin_residential_altherma


Fixed same weights bug when loading SSL models from Vissl

For simclr-rn50, swav-rn50 and pirl-rn50, the model weights ended up being the first one that were loaded because torch.hub.load_state_dict_from_url cached the state dicts based on the file_name of the url (last part) although the first part of the url was completely different. With the file_name argument, we specify now a unique name based on the model name.

Hi Jonas, I can imagine this was an incredibly annoying bug to find 🤣
Do I understand it correctly that, for example, if you loaded swav-rn50 then the model URL is https://dl.fbaipublicfiles.com/vissl/model_zoo/swav_in1k_rn50_800ep_swav_8node_resnet_27_07_20.a0a6b676/model_final_checkpoint_phase799.torch and torch then caches this state dict based on the model_final_checkpoint_phase799.torch part. Then if you want to use pirl-rn50 then it takes its URL (https://dl.fbaipublicfiles.com/vissl/model_zoo/pirl_jigsaw_4node_pirl_jigsaw_4node_resnet_22_07_20.34377f59/model_final_checkpoint_phase799.torch") and looks up the filename as of the last path delimiter (/) which is the same for those three models you mentioned and incorrectly ignores anything but the first one?
Okay, I've taken a closer look at all the filenames now and can more clearly see what the issue was and how the fix amends it. It would have been a bit clearer to specify more clearly the addition of unique_model_id in _download_and_save_model which then is used to define the file_name parameter of torch's load_state_dict_from_url and perhaps a demo of the problem (citing the problematic URLs).
I can see this was raised in the main repo about 5 years ago, yikes.
LGTM.


Changing QueryTransformContext query collection to be case insensitive

This PR will change the query collection of QueryTransformContext to be case insensitive which will be consistent with ASP.NET.
This PR fixes the bug mentioned in issue: 1496

Please add copyright, otherwise LGTM. Thank you for the contribution!

Comments addressed, please review it again.
Thanks :D

Please add copyright, otherwise LGTM. Thank you for the contribution!

Comments addressed, please review it again.
Thanks :D

Approved, thank you for the quick response


Better UI

There should be a variety of multipliers when changing value of variable in menu. For example allow x10, x50 and x100 multipliers.

I decided to add option to change which decimal place should be incremented/decremented instead using x10, x50 and x100 multipliers.


In neotree and dired, can't rename "foo" to "fo" because completion selects "foo"

Disclaimer: I am new to both emacs and doom.
What did you expect to happen?
Renames and copies in dired and neotree would not interpret Return to mean complete, but "accept" what was typed.
What actually happened?
In neotree and dired, when I try to rename "foo" to "fo", company(?) appears, I enter "fo" and then press Return, causing "fo" to be completed as "foo"
Additional details:
Messages says: Cannot move to same file
Steps to reproduce:

open a simple text file named foo
press C-x C-j
press R to rename
type fo
press Enter

System information:
SYSTEM  type       darwin
        config     x86_64-apple-darwin19.5.0
        shell      /usr/local/bin/bash
        uname      Darwin 19.6.0 Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64 x86_64
        path       (~/.emacs.d/bin/ ~/.emacs.d/bin/ /usr/local/bin /usr/bin /bin /usr/sbin /sbin<EMAIL_ADDRESS>EMACS   dir        ~/.emacs.d/
        version    27.1
        build      Aug 27, 2020
        buildopts  --disable-dependency-tracking --disable-silent-rules --enable-locallisppath=/usr/local/share/emacs/site-lisp<EMAIL_ADDRESS><EMAIL_ADDRESS>--with-xml2 --with-gnutls --without-dbus --with-imagemagick --with-modules --with-rsvg --with-ns --disable-ns-self-contained
        features   RSVG IMAGEMAGICK GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS JSON PDUMPER LCMS2 GMP
        traits     (server-running envvar-file)
DOOM    dir        ~/.doom.d/
        version    2.0.9
        build      HEAD -> develop adff1aa68 2020-10-22 02:10:59 -0400
        elc-files  0
        modules    (:completion company ivy :ui doom doom-dashboard doom-quit hl-todo modeline neotree ophints (popup +defaults) vc-gutter vi-tilde-fringe workspaces :editor (evil +everywhere) file-templates fold snippets :emacs dired electric undo vc :term vterm :checkers syntax :tools (eval +overlay) lookup magit :os macos :lang emacs-lisp markdown org sh yaml :config (default +bindings +smartparens))
        packages   (n/a)
        unpin      (n/a)
        elpa       (n/a)

** Workaround **
I use hlissner's workaround here: https://github.com/hlissner/doom-emacs/issues/3722#issuecomment-672067263

When you finish writing fo, press C-k (or the up arrow) to move the selection candidate from foo to the typing prompt fo.
...Or just press C-M-j (ivy-immediate-done).

ymarco, thank you! Sorry for the simple question.


onRowSelect and onSelectAll not checking checkbox

I have this code:
GitHub code doesn't format correctly
If I remove the setState on either of them, the checkboxes will be checked.
Is there something I have to do to prevent this?

@MichielDx what is updateList ?

The rows that are selected will get updated when the user clicks a button. So updateList is the list with selected rows.

@MichielDx some questions, when you use state.updateList??
if you want to control the selection rows by your state, the state.updateList should be an array which contains only rowkeys and pass this state(state.updateList) to selectRow.selected props.
It's sorry because I didn't have any idea about what your purpose, I can help you if you give more details about your code and explain it. thanks
following is an example if you want to control the selection by your state.
https://github.com/AllenFang/react-bootstrap-table/blob/master/examples/js/selection/externally-managed-selection.js


Swift 3 support

Is there a way to use this with Swift 3 yet? Alamofire itself has a branch for Swift 3.0 which works well but this plugin shows compilation errors.

Same question as @amolgupta

Is swift 3.0 actually finalised at this point? I know the syntax is, but the API set into macOS/iOS seems to be in flux for the post WWDC pre-release time.

There may still be changes...
I have just created a fresh branch called swift-3. Feel free to create any PRs to upgrade the project to swift-3.0. I don't currently have time to do the migration.

Hi all, I just updated the swift-3 branch. Everything is now up and running in the latest xcode 8 beta

I'm getting a ton of ObjectMapper errors about inout.

Had to manually add ObjectMapper to my Podfile.
pod 'ObjectMapper', :git => 'https://github.com/Hearst-DD/ObjectMapper.git', :branch => 'swift-3'

Can u guys solve this error? I'm using Xcode 8 beta 4 and my Podfile.
pod 'AlamofireObjectMapper', :git => 'https://github.com/tristanhimmelman/AlamofireObjectMapper', :branch => 'swift-3' pod 'Alamofire', :git => 'https://github.com/Alamofire/Alamofire.git', :branch => 'swift3' pod 'ObjectMapper', :git => 'https://github.com/Hearst-DD/ObjectMapper', :branch => 'swift-3'
Thanks

@Stjng this should be fixed now.


[Tests] fail when AppWorkPath is changed on compile

gitea version: v1.12.x to master
if you use export LDFLAGS="-X code.gitea.io/gitea/modules/setting.AppWorkPath=/var/lib/gitea/"
and compile the binary make build now make test-sqlite fail
ref: https://gitlab.alpinelinux.org/alpine/aports/-/issues/12092

export GITEA_WORK_DIR=$(pwd) before executing test solve it


Migrate to Vite for building

Overview
https://vitejs.dev/
It's way faster than webpack and also supported by Storybook - https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-framework-api

DONE


[REQ] Support Gitlab SAST output format (gl-sast-report.json)

Is your request related to a workflow problem?
In our gitlab projects we are integrating ast-cli in pipeline execution for SAST scanning in checkmarxOne.
In older versions of checkmarx, cx-flow provided an option to generate output format gl-sast-report.json.
Is it planned to support this output format with ast-cli ?
Propose a solution
We tried to convert the existing cx_result.json into a compatible gl-sast-report.json, but some fields are missing to be compliant with the schema providen by Gitlab at https://gitlab.com/gitlab-org/security-products/security-report-schemas/-/blob/master/dist/sast-report-format.json
Additional comments
Here the link to gitlab documentation: https://docs.gitlab.com/ee/user/application_security/sast/#reports-json-format.

Hi @ssavrim
Thank you for bringing this issue to our attention. We understand the importance of supporting the gl-sast-report.json output format with ast-cli for your GitLab projects' pipeline execution and SAST scanning in checkmarxOne.
While we currently have a fully packed development schedule for the rest of the year, we acknowledge  this request and will do our best to find a suitable solution.
Considering the impact we have assigned this issue a medium priority.
We appreciate your patience as we explore potential support.
If you have any additional information or insights that could assist us in resolving this matter, please feel free to share them
Regards,
Yoav Ast | CxONE Product Manager |

Hi @Yoavast,
Thanks for your feedback.
For the moment we wil try to extract needed data from existing output file cx_results.json
Regards,


stability label color for testcase should be configurable

Now % value range for label color is hardcoded, but for various projects this range differs, so we should find the way to customize it.

obsolete


Adding Mortgage Calculation and Tests

Additions

Add calculations for prepaid expense and initial escrow
Add tests for each mortgage function
Add placeholders for some tests, which need to be filled out when ready

Removals

N/A

Changes

Fix a few bugs on mortgage calculations when running tests

Review
@cfarm @virginiacc

:+1:  This looks awesome, thanks! I had a couple of really small comments about var declaration punctuation, but other than that this is ready to go in!

Fixed all, ready for review again.  @cfarm @virginiacc

Looks great to me! @cfarm?

:shipit:


Transdroid details

Hi,
What are the details for connecting the Transdroid app after having installed with rtinst, do I need to put something in the SCGI mount point?
I have tried putting in my normal host name and the same username / password I use for ruTorrent but I just get a communication error, unfortunately with no detail about what bit is wrong.
Perhaps have this included in the output at the end of the install process.
Dave

Yes, you have to setup a SCGI mount point. Here is a guide I found after a quick search: https://bytesized-hosting.com/pages/transdroid. There won't be given any further support here as this is a rutorrent-plugin related issue and not directly related to rtinst script.

Thanks, just for the benefit of others, I had to set the SGCI mount point to "/rutorrent/plugins/httprpc/action.php" as mentioned in that guide AND tick all the SSL options.

Glad to hear that you figured it out!


Can search for searchable metadata via server.

What does this change?
In the search bar, a user should be able to enter an organization/admin enabled file metadata alias and only images matching that metadata field are displayed: :.
Additionally, a user should be able to select any of the additional field aliases where the displaySearchHint is true from the advanced filter by pressing +, select a hint, type in search value and be able to view only images matching the search parameters.
How can success be measured?
By ensuring searching for images with their file metadata alias returns appropriate result.
Screenshots (if applicable)

Who should look at this?

Tested?

[Y] locally
[ ] on TEST

Closing this PR as its a direct merge from a feature branch search-extra-metadata and not BBC master


Sourcehost

Adds the host for the service url to the elastic search index.

Coverage increased (+0.01%) to 97.327% when pulling 7a8da19f0a782b6bbbc452911de610baf18f625a on bitner:sourcehost into 2b6fd70be40eced88335a6f10550494bb3be585d on boundlessgeo:master.

Coverage increased (+0.02%) to 97.337% when pulling 13d04276c9c6da63999b291867e3385b36711f5b on bitner:sourcehost into 2b6fd70be40eced88335a6f10550494bb3be585d on boundlessgeo:master.

@bitner urlparse function is already imported in registry. The six module has both python2 and python3 support

Coverage increased (+0.007%) to 97.324% when pulling 87da3d193465a49ce95daabf42c78c05a11e2360 on bitner:sourcehost into 2b6fd70be40eced88335a6f10550494bb3be585d on boundlessgeo:master.

Coverage increased (+0.007%) to 97.324% when pulling 87da3d193465a49ce95daabf42c78c05a11e2360 on bitner:sourcehost into 2b6fd70be40eced88335a6f10550494bb3be585d on boundlessgeo:master.

Coverage increased (+0.007%) to 97.324% when pulling 7f1979ac0081ceb0093d4c7694db612110fd4406 on bitner:sourcehost into 2b6fd70be40eced88335a6f10550494bb3be585d on boundlessgeo:master.

Coverage increased (+0.007%) to 97.324% when pulling 7f1979ac0081ceb0093d4c7694db612110fd4406 on bitner:sourcehost into 2b6fd70be40eced88335a6f10550494bb3be585d on boundlessgeo:master.

Coverage increased (+0.007%) to 97.324% when pulling 7f1979ac0081ceb0093d4c7694db612110fd4406 on bitner:sourcehost into 2b6fd70be40eced88335a6f10550494bb3be585d on boundlessgeo:master.


Remove wrapping curly brackets

The brackets prevented the commands from being copied into a terminal.
Thanks for such a great tutorial.

This same issue happens in many of the later chapters as well.
Maybe we could extend this Merge Request to cover all cases ?

@petervandenabeele, done.

The wrapping works for me on MacOS and Linux in bash. The wrapping is there to cut down on the number of commands people need to copy and paste.


fix: production build

Similar to my last one, but using esm

Signed-off-by: Kevin Amado<EMAIL_ADDRESS>

It works perfectly!


fixes https://github.com/Azure/azure-sdk-for-python/issues/28307

trivially fixes #28307

Closing this in favor of #28472 but thanks again for your contribution!


[#149452105] defines kcr configuration svc

https://www.pivotaltracker.com/story/show/149452105

Changes made, merging


Controllers specs

In this pull request I have made the following changes:

Create a Request spec file for all my controllers.

My tests are action check the following:

If the response status was correct.
If a correct template was rendered.
If the response body includes correct placeholder text.

Hello review here is my test passing,  after making a changes


mongoose not being traced without await

Hello,
i'm trying to auto trace my mongoose (v 4.13.17, mongo v 3.4.1, node v 8.11) queries.
Just for testing purpose i've created simple route
router.get('/mongo', (req, res) => {
  new Model({ body: 'body'}).save();
  res.send('Request to mongo is completed.');
});

in this scenario i receive from DEBUG  DEBUG TraceApi#createChildSpan<EMAIL_ADDRESS>Creating phantom child span [mongo-insert] because root span [/app/mongo] was already closed.
And only HTTP request is traced in https://console.cloud.google.com/traces
in @google-cloud/trace-agent DEBUG TraceWriter#flushBuffer: Flushing traces array i see only HTTP request.
When i mark this route callback as async and run await newModel({ body: 'body'}).save(); on  https://console.cloud.google.com/traces page, under HTTP request i see mongo-insert section.
How can i fix that i can see mongo queries without await?

@kjin now that #913 has landed, what else needs to be done here?

We would need to add a config option to allow child spans to be started after a root span has ended.
@radziszp has the above worked for you so far (in at least publishing child spans)?

@kjin i've just installed vesion 3.5.2 but it seems like js files from trace-agent/build don't have changes from #913

@radziszp Sorry for the late response -- we published 3.6.0 which should include the changes.

Closing this for now -- please leave a comment if there are outstanding issues to address.

Hello,
something is still not right :/
maybe i'm doing something wrong? Could you please verify?
I've uploaded simple project to github.
After visiting /mongo-async everything in tracing mode looks ok, but non-async mongo call aren't shown.
https://github.com/radziszp/test-tracing

Sure, let me take a look

Even though we added support for ending child spans later than their parent, we still don't support child spans starting after a root span is closed, which is why you're not observing child spans being created in the /mongo endpoint. The suggestion I wrote here has not been implemented yet.
It's possible that I could implement this option, but keep in mind that:

in normal usage, an arbitrary child span being started after its parent has ended is usually a red flag of a context issue in the application, and we would no longer be able to differentiate the valid and invalid cases where a child span starts after its parent, and
we usually delete entries from our internal table of parent spans when the span has ended (for memory management purposes), and we would need to introduce some approximate heuristic to extend this deletion instead if we want to create children of spans after they've ended. (In other words it might not work 100% of the time)

That being said, is there a particular reason you would want to invoke find or other query methods without waiting for the result? And if there is, it seems like it would likely not affect your request latency.

Thank you for such detailed response.
You're 100% right about point of this approach.
Please let it stay as it is.
Thank you for your time.

@radziszp No problem, thanks for bringing up the concern!


added windows 11 ansd server 2022,

this is my own PR , after reading this article, I found windows 11 and server 2022, so I added windows 11, I confirmed that Windows 11 is supported for user profile service with slow link.
i arranged the windows OS edition and version in descending order.
Main article page
https://docs.microsoft.com/troubleshoot/windows-server/user-profiles-and-logon/manage-profile-service-slow-link-detection

@RAJU2529 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@v-tappelgate , Please verify this PR #568 , and merge it , if it is correct.

@RAJU2529 Could you type "#sign-off" in the comment if this PR is ready to merge?

#sign-off

@RAJU2529: I'm sorry - only the author of this article, @v-tappelgate, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

@RAJU2529 Thanks. I am confirming this change with the author. I will update this pull request once I receive any update.

this is OK

@Deland-Han : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Thank you. @RAJU2529 and @HerbertMauerer. I will merge the PR.
@RAJU2529 The articles in this repo do not use list format for "applies to", so I would change it back to our common style. Thank you for the feedback.


Add concept of enforcement technique

Current dependencies on/for this PR:

main

PR #43   👈

This stack of pull requests is managed by Graphite.


Allow to use bulk_update in models whose pk is an uuid.

Fixes issue #52.

Tests fail for django version <= 1.7 because models.UUIDField came up at 1.8.
What should we do?

Drop support for these old django versions,
or adapt tests to only test the uuid pk if django version >= 1.8?

Any thoughts, @aykut ?

Thanks a lot for your support. I think it is better to workaround with the django-uuidfield package to cover django < 1.8, https://github.com/dcramer/django-uuidfield
try:
    from django.db.models import UUIDField
except ImportError:
    from uuidfield import UUIDField

What do you think?

Yes, great idea. Done.
Even though, I think that a major release (django-bulk-update==2.0.0) is needed soon which drops support to django<=1.7.
I've added a commit with tox.ini, which is very useful for testing with different packages versions.
Please, let me know if any change is needed.

Thank you very much. You are right about dropping support for django<=1.7, if you would develop that, I am more than happy to merge it :).

Thanks for the release, it will be very helpful for the project I'm working on.
Next week I'll try to work in dropping support for django<=1.7.


move database operation off main thread

b/142357385 People find the app stuck on RMQ database write operation as they are on main thread.
Moving all the write operations off main thread.
Some of the sync methods used to return a value, it is used to tell the operation succeed and print error if not. We will remove those return value and print error inside the method.
There are other return values are not used at all by the parent class. Remove those and make them async method.
Also refactor the method scanWithRmqMessageHandler: which is very interesting. It has two callbacks as parameters, each is used on different occasions. This function reads data from database, instead of return the results at once, it triggers callback per row of database read. This used to work because database operation is blocking, so client just blocking read each row of database and return a callback to continue the next step. Unified both callback to one and trigger the callback after database read is complete and return with the database results.

This is not going to the incoming release. So no time urgency.

breakage at the podspec which is strange cuz I didn't update the podspec file.

It's probably a build or test failure that fails to log. Run ./scripts/pod_lib_lint.rb --verbose FirebaseMessaging.podspec to diagnose.

Looks like more stall is detected at b/143297145, the travis is green now and please take a look at.


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Luis Recognizer in TextInput Prompt

Describe the bug
It's my understanding that when you're in a child dialog, the responses get processed by that dialog first and then get bubble up to the parent dialog, either because of the automatic conclusion of the child dialog, or because the child deliberately invoked the parent dialog before its own conclusion.
I have created a sample based on this tutorial, https://docs.microsoft.com/en-us/composer/tutorial/tutorial-luis.
It's available here: https://github.com/irwinwilliams/nurse-carter-luis-example
While I've gotten the bot to use its LUIS recognizer to successfully invoke the child dialogs, when I try to get input, the default behavior is to invoke the LUIS recognizer again, which triggers the dialog at the parent level and don't result in the Text Input getting a result.
Version
      Bot Framework Composer

            Version:  1.3.0
            Electron: 8.2.4
            Chrome: 80.0.3987.165
            NodeJS: 12.13.0
            V8: 8.0.426.27-electron.0

Browser

[ ] Electron distribution
[* ] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

OS

[ ] macOS
[* ] Windows
[ ] Ubuntu

To Reproduce
Steps to reproduce the behavior:
See provided sample

@irwinwilliams I've got your bot and am taking a look.

@irwinwilliams I've got your bot and am taking a look.

I think the crux of the issue is that you have duplicate triggers for facility, help and cancel. have a
{
  "triggers": [
    {
      "$kind": "Microsoft.OnConversationUpdateActivity"
    },
    {
      "$kind": "Microsoft.OnIntent",
      "intent": "facility",
      "actions": [
        {
          "$kind": "Microsoft.BeginDialog",
          "dialog": "getFacility"
        }
      ]
    },
    {
      "$kind": "Microsoft.OnIntent",
      "intent": "help",
      "actions": [
        {
          "$kind": "Microsoft.BeginDialog",
          "dialog": "getHelp"
        }
      ]
    },
    {
      "$kind": "Microsoft.OnIntent",
      "intent": "cancel",
      "actions": [
        {
          "$kind": "Microsoft.BeginDialog",
          "dialog": "cancel"
        }
      ]
    },
    {
      "$kind": "Microsoft.OnIntent",
      "intent": "cancel",
      "condition": "=#Cancel.Score >= 0.8",
      "actions": [
        {
          "$kind": "Microsoft.BeginDialog",
          "dialog": "cancel"
        }
      ]
    },
    {
      "$kind": "Microsoft.OnIntent",
      "intent": "help",
      "condition": "=#Help.Score > 0.5",
      "actions": [
        {
          "$kind": "Microsoft.BeginDialog",
          "dialog": "getHelp"
        }
      ]
    },
    {
      "$kind": "Microsoft.OnIntent",
      "intent": "facility",
      "condition": "=#Facility.Score >= 0.8",
      "actions": [
        {
          "$kind": "Microsoft.BeginDialog",
          "dialog": "getFacility"
        }
      ]
    }
  ]
}

I removed the ones that did not have a condition, ensured their LU was matched up correctly and then was able to run and test and it seems to be working as expected. Please give that a try and let me know if that works for you. I am also able to share the bot with changes, if needed.

I think the crux of the issue is that you have duplicate triggers for facility, help and cancel. have a
{
  "triggers": [
    {
      "$kind": "Microsoft.OnConversationUpdateActivity"
    },
    {
      "$kind": "Microsoft.OnIntent",
      "intent": "facility",
      "actions": [
        {
          "$kind": "Microsoft.BeginDialog",
          "dialog": "getFacility"
        }
      ]
    },
    {
      "$kind": "Microsoft.OnIntent",
      "intent": "help",
      "actions": [
        {
          "$kind": "Microsoft.BeginDialog",
          "dialog": "getHelp"
        }
      ]
    },
    {
      "$kind": "Microsoft.OnIntent",
      "intent": "cancel",
      "actions": [
        {
          "$kind": "Microsoft.BeginDialog",
          "dialog": "cancel"
        }
      ]
    },
    {
      "$kind": "Microsoft.OnIntent",
      "intent": "cancel",
      "condition": "=#Cancel.Score >= 0.8",
      "actions": [
        {
          "$kind": "Microsoft.BeginDialog",
          "dialog": "cancel"
        }
      ]
    },
    {
      "$kind": "Microsoft.OnIntent",
      "intent": "help",
      "condition": "=#Help.Score > 0.5",
      "actions": [
        {
          "$kind": "Microsoft.BeginDialog",
          "dialog": "getHelp"
        }
      ]
    },
    {
      "$kind": "Microsoft.OnIntent",
      "intent": "facility",
      "condition": "=#Facility.Score >= 0.8",
      "actions": [
        {
          "$kind": "Microsoft.BeginDialog",
          "dialog": "getFacility"
        }
      ]
    }
  ]
}

I removed the ones that did not have a condition, ensured their LU was matched up correctly and then was able to run and test and it seems to be working as expected. Please give that a try and let me know if that works for you. I am also able to share the bot with changes, if needed.

Thank you very much, I removed the regex-based ones, had to recreate the trigger words for the ones that remained and it worked!

Thank you very much, I removed the regex-based ones, had to recreate the trigger words for the ones that remained and it worked!


Update extensions to use a system prompt for Claude 3 - and set API Version

Update the VS Code extension to properly format prompts based on the sourcegraph version and provider/model requested.
Send an api version header

Legacy client support is already added this issue is the address adding api v1 support for new clients versions

🙇 @philipp-spiess


New package: SoftMaker.FreeOffice.2024 version 1.0.6075

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Verify:

The application doesn't seem to display the version number, but instead gives a year and a revision.

Verify:
The application doesn't seem to display the version number, but instead gives a year and a revision.

Version number is displayed in installed apps list.


Querying a view with a left join and alias results in inefficient query plan

CrateDB version
4.6.6
CrateDB setup information
Standard single-node local Docker deployment
Steps to Reproduce
Table layout:
CREATE TABLE "metric_mini" (
   "ts" TIMESTAMP WITH TIME ZONE,
   "ts_production" TIMESTAMP WITH TIME ZONE
);

The basis of the further description is this query, which is a minimum reproducible version of a real-world customer problem:
SELECT "b".ts_production AS "productionStart"
FROM (
  SELECT MAX(ts) AS max_ts
	FROM metric_mini
) last_record
LEFT JOIN metric_mini b ON "b".ts_production = "last_record"."max_ts"
WHERE "ts_production" >= '2021-12-01' and "ts_production" <= '2021-12-01 00:59:59';

Execution plan:
Eval[ts_production AS productionStart]
  └ NestedLoopJoin[INNER | (ts_production = max_ts)]
    ├ Rename[max_ts] AS last_record
    │  └ Eval[max(ts) AS max_ts]
    │    └ HashAggregate[max(ts)]
    │      └ Collect[doc.metric_mini | [ts] | true]
    └ Rename[ts_production] AS b
      └ Collect[doc.metric_mini | [ts_production] | ((ts_production >=<PHONE_NUMBER>000::bigint) AND (ts_production <=<PHONE_NUMBER>000::bigint))]

The important detail is the ts_production >= .. AND ts_production <= ... condition, which here is part of the Collect and shows good performance.
Scenario 1: View with LEFT JOIN and alias
Now we store that query (without the ts_production filter) as a view and query the view:
CREATE OR REPLACE VIEW test_view AS
SELECT "b".ts_production AS "productionStart"
FROM (
  SELECT MAX(ts) AS max_ts
	FROM metric_mini
) last_record
LEFT JOIN metric_mini b ON "b".ts_production = "last_record"."max_ts";

EXPLAIN SELECT *
FROM test_view
WHERE "productionStart" >= '2021-12-01' and "productionStart" <= '2021-12-01 00:59:59';

Rename["productionStart"] AS doc.test_view
  └ Eval[ts_production AS productionStart]
    └ Filter[((ts_production AS productionStart >=<PHONE_NUMBER>000::bigint) AND (ts_production AS productionStart <=<PHONE_NUMBER>000::bigint))]
      └ NestedLoopJoin[LEFT | (ts_production = max_ts)]
        ├ Rename[max_ts] AS last_record
        │  └ Eval[max(ts) AS max_ts]
        │    └ HashAggregate[max(ts)]
        │      └ Collect[doc.metric_mini | [ts] | true]
        └ Rename[ts_production] AS b
          └ Collect[doc.metric_mini | [ts_production] | true]

Outcome: The ts_production filter criteria is no longer applied as part of the Collect, but moved up to Filter. For large tables, this causes a CircuitBreakingException[[query] Data too large ....
Scenario 2: View with INNER JOIN and alias
Now we change the join from a left join to an inner join:
CREATE OR REPLACE VIEW test_view AS
SELECT "b".ts_production AS "productionStart"
FROM (
  SELECT MAX(ts) AS max_ts
	FROM metric_mini
) last_record
JOIN metric_mini b ON "b".ts_production = "last_record"."max_ts";

EXPLAIN SELECT *
FROM test_view
WHERE "productionStart" >= '2021-12-01' and "productionStart" <= '2021-12-01 00:59:59';

Rename["productionStart"] AS doc.test_view
  └ Eval[ts_production AS productionStart]
    └ HashJoin[(ts_production = max_ts)]
      ├ Rename[max_ts] AS last_record
      │  └ Eval[max(ts) AS max_ts]
      │    └ HashAggregate[max(ts)]
      │      └ Collect[doc.metric_mini | [ts] | true]
      └ Rename[ts_production] AS b
        └ Collect[doc.metric_mini | [ts_production] | ((ts_production AS productionStart >=<PHONE_NUMBER>000::bigint) AND (ts_production AS productionStart <=<PHONE_NUMBER>000::bigint))]

Outcome: We are back to an ideal query plan
Scenario 3: View with LEFT JOIN and no alias
Now the view with a LEFT JOIN, but no alias for the ts_production column:
CREATE OR REPLACE VIEW test_view AS
SELECT "b".ts_production
FROM (
  SELECT MAX(ts) AS max_ts
	FROM metric_mini
) last_record
LEFT JOIN metric_mini b ON "b".ts_production = "last_record"."max_ts";

EXPLAIN SELECT *
FROM test_view
WHERE "ts_production" >= '2021-12-01' and "ts_production" <= '2021-12-01 00:59:59';

Rename[ts_production] AS doc.test_view
  └ Eval[ts_production]
    └ NestedLoopJoin[INNER | (ts_production = max_ts)]
      ├ Rename[max_ts] AS last_record
      │  └ Eval[max(ts) AS max_ts]
      │    └ HashAggregate[max(ts)]
      │      └ Collect[doc.metric_mini | [ts] | true]
      └ Rename[ts_production] AS b
        └ Collect[doc.metric_mini | [ts_production] | ((ts_production >=<PHONE_NUMBER>000::bigint) AND (ts_production <=<PHONE_NUMBER>000::bigint))]

Outcome: Ideal query plan
Scenario 4: View with INNER JOIN and no alias
The view with an INNER JOIN, and no alias for the ts_production column:
CREATE OR REPLACE VIEW test_view AS
SELECT "b".ts_production
FROM (
  SELECT MAX(ts) AS max_ts
	FROM metric_mini
) last_record
LEFT JOIN metric_mini b ON "b".ts_production = "last_record"."max_ts";

EXPLAIN SELECT *
FROM test_view
WHERE "ts_production" >= '2021-12-01' and "ts_production" <= '2021-12-01 00:59:59';

Rename[ts_production] AS doc.test_view
  └ Eval[ts_production]
    └ HashJoin[(ts_production = max_ts)]
      ├ Rename[max_ts] AS last_record
      │  └ Eval[max(ts) AS max_ts]
      │    └ HashAggregate[max(ts)]
      │      └ Collect[doc.metric_mini | [ts] | true]
      └ Rename[ts_production] AS b
        └ Collect[doc.metric_mini | [ts_production] | ((ts_production >=<PHONE_NUMBER>000::bigint) AND (ts_production <=<PHONE_NUMBER>000::bigint))]

Outcome: Ideal query plan
Expected Result
Scenario 1 should show the same ideal query plan as scenarios 2, 3, and 4, filtering for the timestamp as early as possible.
Actual Result
Scenario 1 shows an inefficient query plan, ending for large tables in a CircuitBreakingException.

Thanks for the detailed issue report.
This will be improved with 4.7 - see https://github.com/crate/crate/pull/12071


Progress bar has delay

Currently there is a big delay between ad time and progress bar.
For example ad is already done playing and the progress bar is not even at full width yet. By the looks of if there is something like 1s delay without using any css transition. If you add css transitions to make the progress bar look smooth and not buggy then the delay is even bigger.

Is it possible to adjust this with any property ?

For example the ad is done playing and it closes and the progress bar is still not fully expanded like this:

Simple example:
https://codepen.io/imasdk/pen/wpyQXP

Why is this an issue?
If someone is looking at the progress bar, they might think that you are closing the ad before the player even finishes playing the ad.

Browser: chrome 108.0.5359.125
"videojs-ima": "^2.1.0"

Just an idea:
src\client-side\ad-ui.js
  // Update UI
  //add configurable property so if user uses css like for ex. ".ima-progress-div { transition: width 1s ease; }"
  //so that he can add this 1s for the animation delay
  const userConfigurableDelay = 0; //default 0s and passed into the function as a parameter
  const animationDefaultDelay = 0.5; //by default there seems to be 0.5s animation delay

  currentTime += animationDefaultDelay + userConfigurableDelay;

  const playProgressRatio = currentTime / duration;
  const playProgressPercent = playProgressRatio * 100;
  this.progressDiv.style.width = playProgressPercent + '%';

Just for reference to see which lines are changed:

Hello @damjan25 ,
Using your sample app, I see the progress bar nearly full right as the ad is nearly finished playing, see attached screenshot. Let me know if there is anything additional needed to be done to reproduce the issue.

Jackson
IMA SDK team

@Kiro705 This is the issue, that it does not go all the way. Looks like it just depends on player size.
On my laptop screen there seems to be much more space left (like on my 1st screenshot) but on my pc screen it looks the same as on your screenshot.
Would it be possible to add this so that the bar goes all the way ?

Hello @damjan25 ,
Would it be possible to share a screen-size I can emulate with Chrome inspector tools that can reproduce the issue?
Thank you,
Jackson
IMA SDK team

24' 1080p 100% zoom  => looks like on my first screenshot
27' 1440p 125% zoom => looks the same as on my first screenshot
16' 1200p 150% zoom (laptop) => looks the same as on your screenshot (progress bar does not go all the way but there is not that much space left)
Problem is that if you add any css animation/transition on progress bar to make it smoother it will add that delay :(

Hello @damjan25 ,
It is my understanding that the bar fills up at the same rate, and the last image of the progress bar will be roughly 95%-97% full. On larger players, the gap will appear larger, but will still be only 3-5% of the total length of the bar.
As far as I can tell, the bar is accurately representing the remaining time of the ad. At 100% the player will have already transitioned back to content or gone to the next ad.
Right now, we are considering this as 'working as indented'.
Please let me know if you have any follow-up questions.
Thank you,
Jackson
IMA SDK team

Here is where the css percentage is calculated:
https://github.com/googleads/videojs-ima/blob/main/src/client-side/ad-ui.js#L300
Either
// Update UI
  const playProgressRatio = currentTime / duration;
  const playProgressPercent = (playProgressRatio * 100) + 5;
  this.progressDiv.style.width = playProgressPercent + '%';

or
// Update UI
  const playProgressRatio = currentTime / duration;
  const playProgressPercent = (playProgressRatio * 100);
  if (playProgressPercent > 90) {
    playProgressPercent = 100;
  }
  this.progressDiv.style.width = playProgressPercent + '%';

would result in making sure the progress bar reaches 100% while the ad is still playing.


Display dataset size in dataset retriever cli step

Currently in the CLI, the dataset retriever retrieves datasets, but it's not clear how big they are. I'd like to avoid downloading a huge dataset with multiple millions of examples, so it'd be nice to tell the user what size the datasets are.

@viswavi I think that the dataset retriever only retrieves datasets, which are not that huge.

Hi @neubig , can I take this up?

@hitenvidhani absolutely! Please message me on discord if you have any questions


ci: use last stable splunk version instead of hardcoded

:tada: This PR is included in version 3.25.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Getting "The widget could not be displayed" when opening the "Add widget" view for a few seconds

Getting "The widget could not be displayed" when opening the "Add widget" view for 2-3 seconds before the widget loads. This should likely pre-load the data or show a loading indicator, otherwise this communicates an error state when it's not.

Duplicate of #1047

Duplicate of #595

Actually not really a dupe of 595 -- 595 is if the widget itself wants to display a progress ring.


cannot mount contents with bind mounting

I could succeed to mount /work/script directory. but mounted the folder is an empty.
How can I mount with files which directory has.
docker = Docker::Container.create({
        'Image' => 'HOGE',
        'Env' => [
          'CTRADER_FLUENTD_HOST=docker.for.mac.localhost',
          'CTRADER_FLUENTD_PORT=24224',
          'CTRADER_DB_PROTOCOL="tcp(docker.for.mac.localhost:3306)"'
        ],
        'Volumes' => {
          "../work/script": {}
        },
        'HostConfig' => {
          'CapDrop' => 'ALL',
          'CapAdd' => 'SYS_CHROOT',
          'Privileged' => true
        },
      })
      docker.start({"Binds": ["#{mount_path.to_s}/script:#{mount_path.to_s}/work/script"]})

@goleador0322 Not sure if you figured this out, but you need to have an absolute path for the Volumes. Can't use ../.  Can do File.expand_path("../work/script").