How to record the audio in my system

Hi Kapoor,
I have utilized your ruby gem to capture both video and audio during recording. However, I recently acquired a new system and unfortunately, I am unable to locate the audio system. When I ran your command, it presented the following message.
C:\A\Rajagopalan\VideoRecorder>ffmpeg -list_devices true -f dshow -i dummy
ffmpeg version 4.3.2-2021-02-02-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 10.2.0 (Rev6, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
[dshow @ 0000013e445cd840] DirectShow video devices (some may be both video and audio devices)
[dshow @ 0000013e445cd840]  "Integrated Camera"
[dshow @ 0000013e445cd840]     Alternative name "@device_pnp_\\?\usb#vid_04f2&pid_b724&mi_00#6&1ae8f5d2&1&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global"
[dshow @ 0000013e445cd840] DirectShow audio devices
[dshow @ 0000013e445cd840]  "Microphone Array (Intel® Smart Sound Technology for Digital Microphones)"
[dshow @ 0000013e445cd840]     Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{802631D0-D092-490C-B489-AA766DFC470A}"

I used this one Microphone Array (Intel® Smart Sound Technology for Digital Microphones in

advanced = { log: 'AppData/Logs/recorder.log', f: 'dshow', i: 'audio="Microphone Array (Intel® Smart Sound Technology for Digital Microphones)"' }
ScreenRecorder.ffmpeg_binary = File.expand_path("VideoRecorder/ffmpeg.exe")

And it's recording the voice which is going through the mic not what's coming through the speaker and it's expected. Last time In my system, I found these two in my system

[dshow @ 000001c148079280]  "virtual-audio-capturer"
[dshow @ 000001c148079280]     Alternative name "@device_sw_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\{8E146464-DB61-4309-AFA1-3578E927E935}"
[dshow @ 000001c148079280]  "Headset Microphone (Jabra UC VOICE 150a MS)"
[dshow @ 000001c148079280]     Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{F5273A14-3E0B-49B2-85FD-0310E87EFD44}"
dummy: Immediate exit requested

However, I am currently unable to locate this feature on my current system. What steps can I take to address this issue and find a solution?

I have solved this problem by myself. thanks. you could close this issue.

Great! Could you share the solution here for others?

I encountered a new bug where the video recording works fine, but unfortunately, it is not capturing the audio. Could you kindly take a look at it, please?


Refactor locations default

Set a default location instead of using YP_LOCATION_NULL_VALUE

Closed in favor of removing locations entirely in #656


iOS 10 handleInputModeList issue

I am trying to implement handleInputModeList that was added in iOS10. This is my code
  case Key.KeyType.keyboardChange:
   if #available(iOSApplicationExtension 10.0, *) {
     keyView.addTarget(self, action: #selector(self.handleInputModeList(from:with:)), for:UIControlEvents.allTouchEvents)
     } else {
     keyView.addTarget(self, action: #selector(KeyboardViewController.advanceTapped(_:)), for: .touchUpInside)
 }

But it doesnt work. I tried to create new button and add same target there and it worked normally. But it doesnt work with keyViews. Any idea?

@archagon @AaronFW any idea how to handle it?

I haven't had much chance to try using it.

Well, I think it is because handleInputModeList(from:with) is a method of UIInputViewController but  keyView is KeyboardKey Class and KeyboardKey Class is UIControl (which inherits from UIView).
Typically when handleInputModeList is used, it is used directly in the UIInputControlView class declaration. For example, one project I looked at had
 self.nextKeyboardButton.addTarget(self, action: #selector(handleInputModeList(from:with:)), for: .allTouchEvents)
In which "self" was the class KeyboardControllerView: UIInputControllerView

@AaronFW I think the main reason is because @archagon rewriting events on forwardingview and handleInputModeList(from:with:) is something that it doesnt understand. Normally if i add extra UIButton to forwardingview and add same target it works without any problem. Now i dont know how to figure it out with this architecture.

@archagon @AaronFW could you please let me know this issue is fixed or not? because I also having issue with
    keyView.addTarget(self, action: #selector(self.handleInputModeList(from:with:)), for:UIControlEvents.allTouchEvents)
handleInputModeList, Could you please let me know what should I do with this?

@mromanuk can you share a code sample showing how you do it ?

@ifanchu Can you share a code sample ?

Here is my full solution to this issue, don't know if it's the best approach. thanks for @mromanuk sharing the tips.
in KeyboardKey.swift, add originalViewTouch property:
var originalViewTouch = false

in KeyboardViewController.swift, setupKeys function:
case Key.KeyType.keyboardChange:
    keyView.addTarget(self,
                      action: #selector(handleInputModeList(from:with:)),
                      for: .allTouchEvents)
    keyView.originalViewTouch = true

and delete advanceTapped method.
in ForwardingView.swift, hitTest function:
replace
else {
    return (self.bounds.contains(point) ? self : nil)
}

with
if !self.bounds.contains(point) {
    return nil
}
if let view = self.findNearestView(point),
    let keyView = view as? KeyboardKey,
    keyView.originalViewTouch {
    return keyView
}
return self


Add PHPUnit 8.1 compatibility

It seems that php-mock implements some interfaces which were marked as @internal in the new version of the PHPUnit and those objects aren't backward compatible anymore 😢

@davidkmenta php-mock-phpunit 2.3.0 released with support for PHPUnit 8.1.


Fix other non-http protocal issue

I use this plugin with Ionic framework, it's hybrid app and the location.protocal is 'file:'.
This will cause http request fail.

Fixed this in the next branch. Release v2.0.0 be released before the end of this year. Currently usable trough:
npm install leaflet-geosearch@next --save

Thanks for your contributions.


Unsoundness with j.l.RuntimeException

Ceylon's Exceptions are j.l.RuntimeExceptions, which is something I didn't know before, but which I think is great.
OTOH, the way it is implemented is unsound:
import java.lang { RuntimeException }

shared void run() {
    interface I {
        shared void oops() {}
    }

    I | OverflowException e = OverflowException();
    if (is RuntimeException e) {
        e.oops();
    }
}

Note: Created module simple/1.0.0
ceylon run: ceylon.language.OverflowException cannot be cast to simple.run$I_
java.lang.ClassCastException: ceylon.language.OverflowException cannot be cast to simple.run$I_
        at simple.run_.run(run.ceylon:10)
        at simple.run_.main(run.ceylon)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

But it the only fix is to make Exception extend j.l.Exception, perhaps this bug should remain. It's awfully nice to have Java code that knows nothing of Ceylon like:
catch (RuntimeException e) { ... }

work as expected for Java-calling-Ceylon interop.

Ah, well, we should add j.l.RuntimeException to the list of types you can't reference from Ceylon. Easily done.

How does that code even compile?

@CPColin inside the if block, the type of e is narrowed to
<I | OverflowException> & RuntimeException

which is also
<I & RuntimeException> | <OverflowException & RuntimeException>

The type checker (falsely) believes that RuntimeException and OverflowException are disjoint, so the above type simplifies to
<I & RuntimeException> | Nothing

Or, simply I & RuntimeException.
The invocation e.oops() is legal, since I & RuntimeException has a member oops().

Wow, sneaky! Thanks for explaining.

Thanks @jvasileff, fixed by making RuntimeException unimportable.

Well, actually, perhaps preventing you from importing RuntimeException completely is too heavy-handed. Perhaps it would be enough to prevent you from using it in  is and catch.

perhaps preventing you from importing RuntimeException completely is too heavy-handed

I haven't been able to come up with an opinion on that, but if disallowed from is and catch, what's left? It's far-out conceivable that someone might want to extend java.lang.Exception, but that's something different. Extending java.lang.RuntimeException is possible regardless of the restriction.

but if disallowed from is and catch, what's left?

Well it can still occur as the type of a variable or as a type parameter. And Java API can still accept/return it.

I rolled back my previous changes on this issue.

So, as a temporary solution, I've now just disallowed catching and narrowing to RuntimeException.  However, I it's pretty trivial to circumvent this restriction with a union or intersection type, it's just not a full fix to the problem. At least it will catch some obvious cases.
A better fix might be to simply hack the disjointness analysis, so that Ceylon exception classes are understood to not be disjoint from RuntimeException.

Hey, I bet we have a similar problem with java.io.Serializable. :-(

A better fix might be to hack the disjointness analysis, so that Ceylon exception classes are understood to not be disjoint from RuntimeException.

Yeah, OK, I've implemented that solution, along with the same reasoning for Serlializable.

HTH


Query Editor Memory improvements

@anthonydresser the CI test failure looks like it may be related to this change.

It is, I need to change the test since I changed the area it was testing.


[Bug]: API endpoint outdated in features/crons page

What happened?
Update the /app/crons endpoint to /app-api/v1 to match the new version of the API.
What browsers are you seeing the problem on?
No response
Version
No response
Relevant log output
No response

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

GitHub release
v1.0.1

Your semantic-release bot :package::rocket:


NEXT-9410 - Add target attribute to manufacturer link on product deta…

…il page. Fixes #15.

1. What does this change do, exactly?
Opens the link to the manufacturer page in a new tab.
2. Describe each step to reproduce the issue or behaviour.
Visit a product detail page with a manufacturer that has a website. Click on the link. Before this change it opens in the same tab and "closes" the shop. After the change it will be opened in a new tab. See: https://vimeo.com/458894191/b47607ba55
3. Checklist

[ ] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[x] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Adding rel="noopener" or rel="noreferrer" to your target="_blank" links avoids performance and security issue: https://web.dev/external-anchors-use-rel-noopener/


Update ammonite-compiler_2.12.10, ... to 3.0.0-M0-67-83057fea

About this PR
📦 Updates

sh.almond.tmp.ammonite:ammonite-compiler_2.12.10
sh.almond.tmp.ammonite:ammonite-compiler_2.12.11
sh.almond.tmp.ammonite:ammonite-compiler_2.12.12
sh.almond.tmp.ammonite:ammonite-compiler_2.12.13
sh.almond.tmp.ammonite:ammonite-compiler_2.12.14
sh.almond.tmp.ammonite:ammonite-compiler_2.12.15
sh.almond.tmp.ammonite:ammonite-compiler_2.12.16
sh.almond.tmp.ammonite:ammonite-compiler_2.12.17
sh.almond.tmp.ammonite:ammonite-compiler_2.12.18
sh.almond.tmp.ammonite:ammonite-compiler_2.13.10
sh.almond.tmp.ammonite:ammonite-compiler_2.13.11
sh.almond.tmp.ammonite:ammonite-compiler_2.13.3
sh.almond.tmp.ammonite:ammonite-compiler_2.13.4
sh.almond.tmp.ammonite:ammonite-compiler_2.13.5
sh.almond.tmp.ammonite:ammonite-compiler_2.13.6
sh.almond.tmp.ammonite:ammonite-compiler_2.13.7
sh.almond.tmp.ammonite:ammonite-compiler_2.13.8
sh.almond.tmp.ammonite:ammonite-compiler_2.13.9
sh.almond.tmp.ammonite:ammonite-compiler_3.3.0
sh.almond.tmp.ammonite:ammonite-cross-3.3.0-repl-api_2.13.11
sh.almond.tmp.ammonite:ammonite-cross-3.3.0-repl_2.13.11
sh.almond.tmp.ammonite:ammonite-repl-api_2.12.10
sh.almond.tmp.ammonite:ammonite-repl-api_2.12.11
sh.almond.tmp.ammonite:ammonite-repl-api_2.12.12
sh.almond.tmp.ammonite:ammonite-repl-api_2.12.13
sh.almond.tmp.ammonite:ammonite-repl-api_2.12.14
sh.almond.tmp.ammonite:ammonite-repl-api_2.12.15
sh.almond.tmp.ammonite:ammonite-repl-api_2.12.16
sh.almond.tmp.ammonite:ammonite-repl-api_2.12.17
sh.almond.tmp.ammonite:ammonite-repl-api_2.12.18
sh.almond.tmp.ammonite:ammonite-repl-api_2.13.10
sh.almond.tmp.ammonite:ammonite-repl-api_2.13.11
sh.almond.tmp.ammonite:ammonite-repl-api_2.13.3
sh.almond.tmp.ammonite:ammonite-repl-api_2.13.4
sh.almond.tmp.ammonite:ammonite-repl-api_2.13.5
sh.almond.tmp.ammonite:ammonite-repl-api_2.13.6
sh.almond.tmp.ammonite:ammonite-repl-api_2.13.7
sh.almond.tmp.ammonite:ammonite-repl-api_2.13.8
sh.almond.tmp.ammonite:ammonite-repl-api_2.13.9
sh.almond.tmp.ammonite:ammonite-repl_2.12.10
sh.almond.tmp.ammonite:ammonite-repl_2.12.11
sh.almond.tmp.ammonite:ammonite-repl_2.12.12
sh.almond.tmp.ammonite:ammonite-repl_2.12.13
sh.almond.tmp.ammonite:ammonite-repl_2.12.14
sh.almond.tmp.ammonite:ammonite-repl_2.12.15
sh.almond.tmp.ammonite:ammonite-repl_2.12.16
sh.almond.tmp.ammonite:ammonite-repl_2.12.17
sh.almond.tmp.ammonite:ammonite-repl_2.12.18
sh.almond.tmp.ammonite:ammonite-repl_2.13.10
sh.almond.tmp.ammonite:ammonite-repl_2.13.11
sh.almond.tmp.ammonite:ammonite-repl_2.13.3
sh.almond.tmp.ammonite:ammonite-repl_2.13.4
sh.almond.tmp.ammonite:ammonite-repl_2.13.5
sh.almond.tmp.ammonite:ammonite-repl_2.13.6
sh.almond.tmp.ammonite:ammonite-repl_2.13.7
sh.almond.tmp.ammonite:ammonite-repl_2.13.8
sh.almond.tmp.ammonite:ammonite-repl_2.13.9

from 3.0.0-M0-50-f03f2d82 to 3.0.0-M0-67-83057fea
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "sh.almond.tmp.ammonite" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "sh.almond.tmp.ammonite" }
}]

labels: library-update, early-semver-pre-release, semver-spec-pre-release, commit-count:1

Closing, we're now using Ammonite mainline again


EDM-390: Add lifecyclestatus to devicestatus

The lifecycle status field is modeled on the update status field. This field will hold information for the user on how the device has progressed through its lifecycle, ex. whether it is still enrolled or is decommissioning.

I fixed the unit tests, but not sure what is going on with the integration tests. The failure is
Error in test harness go routine: error starting main api server: http: Server closed
Error in test harness go routine: error starting main agent api server: http: Server closed

I've updated the statuses so we aren't reflecting decommissioning end states in those, based on guidance from Frank:

The status is Decommissioned. The detail is either in the condition’s last Reason code (if the condition exists) or implicit if lastSeen < timeout. Additionally, we update the info field to have a human-friendly message.
At least this is the pattern the other statuses implement.


Doesn't work as expected on safari 12.0

Do you want to request a feature or report a bug?
Report a bug
What is the current behavior?
When I use Pickr in safari all of the swatches at the bottom are black and the color doesn't change when I click on the save button.
If the current behavior is a bug, please provide the steps to reproduce
Go to the demo page (https://simonwep.github.io/pickr/) in safari 12.0
All the swatches are black and the color doesn't change when I click save
What is the expected behavior?
Swatches should be different colors and should change when I click save.
Your environment:
Version (see Pickr.version): latest
Used bundle (es5 or normal one): es5
Used theme (default is classic): all themes
Browser-version:  safari 12.0
Operating-system:  macOS Mojave 10.14

Nice, safari seems to be not able to round / accept floating point rgba values.
Fixed in 63d45c0582ba8f9399cf8607cd3fd40b348c6a26, thanks for the report :)


Getting similar issue while migrating to AEM6.1
org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException
org.apache.sling.scripting.sightly.SightlyException: Promise has completed with failure: Error: No resource found at path: /content/xxxxxxxx/xxxxxxxxxxxxxxxxxxx/xxxx/products/jcr:content/mainnav/flyout/spotlight
at org.apache.sling.scripting.sightly.js.impl.async.AsyncExtractor.decodeJSPromise(AsyncExtractor.java:63)
at org.apache.sling.scripting.sightly.js.impl.async.AsyncExtractor.extract(AsyncExtractor.java:45)
at org.apache.sling.scripting.sightly.js.impl.rhino.JsValueAdapter.forceAsync(JsValueAdapter.java:112)
at org.apache.sling.scripting.sightly.js.impl.rhino.JsValueAdapter.adapt(JsValueAdapter.java:68)
at org.apache.sling.scripting.sightly.js.impl.rhino.HybridObject.getAdapted(HybridObject.java:79)
at org.apache.sling.scripting.sightly.js.impl.rhino.HybridObject.getProperty(HybridObject.java:53)
at org.apache.sling.scripting.sightly.impl.engine.runtime.RenderContextImpl.getProperty(RenderContextImpl.java:278)
at org.apache.sling.scripting.sightly.impl.engine.runtime.RenderContextImpl.resolveProperty(RenderContextImpl.java:103)
If the spotlight node is not present under flyout, it breaks the entire portal. The portal continued to work in AEM6.0 although the same exception was reported in logs there also.

Any solution for this??

same here...

This should be fixed in https://github.com/Adobe-Marketing-Cloud/aem-htl-repl/releases/tag/aem-htl-repl-1.0.4.


Training

Hello, I have looked at all the issues, but there are many confusion. For example, some say they need to modify the leakyrelu loss, and I want to prepare my own dataset training. May I ask if this code is complete? Can I simply not modify it?

will update the code and release soon

will update the code and release soon

thanks for your working!

any timeline to release the code? @primepake
Thx~


Highlight in Papers2 app

Ref: Conversation #857 / Joo Hyun

Not done - no suitable keyboard shortcut to hook into.


Request for Inference Code

Hi, thank you for sharing your work and this repository! If possible, could you please release the inference code (raw code is also okay) for the baseline models, especially Emu2? I noticed that you mentioned using a pipeline to combine Emu2-Chat and Emu2-Gen to complete interleaved tasks, and I’m very interested in the detailed implementation. Thanks again! Nice work!

Hello! Thank you for your interest in our work! The inference code of Emu2 is copied directly from https://huggingface.co/BAAI/Emu2-Chat and https://huggingface.co/BAAI/Emu2-Gen. We use Emu2-Chat to generate text and then use the text as input to let Emu2-Gen generate images. Actually the process is more like integrated models. But since Emu2-Chat and Emu2-Gen are both fine-tuned from Emu2, we have categorized them as interleaved models.
For other models' inference codes, all of them are similarly copied and adapted from their official released versions. And specifically for Gill, since the official code doesn't work well, we release our revised version at https://github.com/Lillianwei-h/runable-gill, but it is not well tested for other environments.

 It is a fixed pipeline.


Unify test and main build system

firmware/tests uses its own build systems since it appears that googletest cannot be built with the CMake Unix Makefiles generator that is required for stm.
find a way around this bug and built test as a target in firmware/CMakeLists.txt (may need to use Docker or similar)
Once this is done, move firmware/tests/googletest to firmware/third-party/googletest

Do we need tests besides the shared/util/mappers? Is it even worth pursuing? I think most of our tests are system-level and will be incorporated in the SIL


Stargazer Bot

Could you explain why more then the half of your stargazer accounts are created on the same day there are stared this repo and are none active after anymore?

What? I really don't know.
Maybe Is my student do this for me...
Let me check...


How to run django with non root user

Hi
I want to run django with non root user.
/home/myuser/app:/usr/src/app
myuser must can modify his own files and folders.

I would like to know the same. Can I use gosu in the command?


Standardize Success, Error messages

We need to come up with a standard for success and error messages. For example right now when a secret is added there is no output. Perhaps we should do something like this:
$ drone secret add ...
successfully created secret foo

We should strive for consistent wording on every command...

successfully deleted repository foo/bar
successfully cancelled foo/bar #1
successfully restarted foo/bar #1
...

Note that we don't have to use the exact text above. Also we should enable --silent mode with no output and --format to provide custom output format.

I would expect that no output means success. And only in the error case display a message and set the exit code to a non-zero value. This is also how git works for example, e.g. git add fileexists vs. git add nonexisitingfile.


Changes name of CNI conf file from .cni to .conf

High Level Description
This changes is required for dcos-kubernetes project as kubernetes require cni config files to have .conf extention
Related Issues

DCOS-17194 Rename .cni config files to .conf.

Checklist for all PR's

[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[x] Read the DC/OS contributing guidelines
[x] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

PLEASE FILL IN THE TEMPLATE ABOVE / DO NOT REMOVE ANY SECTIONS ABOVE THIS LINE
Instructions and Review Process
What is the review process and when will my changes land?
All PRs require 2 approvals using github's pull request reviews.
Reviewers should be:

Developers who understand the code being modified.
Developers responsible for code that interacts with or depends on the code being modified.

It is best to proactively ask for 2 reviews by @mentioning the candidate reviewers in the PR comments area. The responsibility is on the developer submitting the PR to follow-up with reviewers and make sure a PR is reviewed in a timely manner. Once a PR has 2 ship-it's, no red reviews, and all tests are green it will be included in the next train.

@spahl @asridharan Request you to please review this PR

@mesosphere-mergebot bump-ee

@spahl looks like you need to mark approved

@GoelDeepak this itself won't fix DCOS-17194. You will need a Mesos and overlay module bump with your changes to get this fixed?

I understand that. It fixes the file that kubernetes is interested in. I could also bump mesos and overlay in this same PR. Are they ready for a bump?

Well they would still see dcos.cni just with this bump alone and I am guessing their issue would still persist? @greggomann just pinged about bumping Mesos and Mesos modules so I think we are ready for a bump. cc: @greggomann

@asridharan @GoelDeepak I've created a PR for the Mesos/mesos-modules bump here: https://github.com/dcos/dcos/pull/1741
Do we need to put this change in that PR as well, or can we merge them separately?

@greggomann the two PR's can go separately, its just we can't close DCOS-17194 till we have #1741 merged. Thanks a lot !!

@mesosphere-mergebot Ready For Review

@mesosphere-mergebot label Ready For Review


Docker build fails due to omitted copy of internal directory

Dockerfile currently includes the following:
# Copy the go source
COPY main.go main.go
COPY apis/ apis/
COPY controllers/ controllers/

It should have COPY internal/ internal/ included before the build

This was closed via https://github.com/vmware-tanzu-labs/operator-builder/pull/136


Pick a random rack instead of default-rack as the first rack

Problem: If there are more than 1 rack configured, we always try to pick the first bookie from "default-rack". If this rack is not there, we log warning "fallback to choose bookie randomly from the cluster" and end up choosing a random bookie. This will also overload bookies in default-rack, since we always pick the first bookie from this rack and choose the remaining bookies from remaining racks(if more than 2 racks exists).
Solution: Pick a random rack from the available rack as our first rack and iterate through the remaining ones to pick the rest.

@saandrews what JIRA is this for?

The logic of the "default rack" is a bit tortuous. I think the intent is to pick at least 1 bookie in the same rack as the client (broker in this case) to minimize cross rack network usage.
How would that work with this patch?

Unless the whole layout of brokers, bookies and racks laid out properly, even picking a bookie from local rack could overload bookie if many brokers and few bookies end up in a rack.

I think that part of the problem is that we're using the rack-aware but the brokers do not have a "rack" assigned. What would you think of doing the random selection only in this case?

To  your earlier point about picking a bookie from local rack of the broker, we anyway wait for the ack from local and remote rack write. So, there is no real benefit to pick a local rack.
Right now, we don't have a way to assign rack for broker and I am not seeing a real use case to do that as well.
Are you thinking of some use case which is not addressed here?

@saandrews I think the reason to pick a bookie in same rack might be to minimize the traffic on the rack-level switch, since at least one copy stays internal.
I agree that it doesn't make sense if the bookie client doesn't have the rack info filled out, though my point was to not change current behavior (if broker rack was indeed filled out).

@merlimat Should we close this pull request then? Adding code to just avoid the initial warning message may not be worth. We are relying on the fact that brokers and bookies should be laid out evenly to get the real benefit of rack affinity.

Randomly selecting the first rack will allow for more even distribution when 3+ racks are defined. Furthermore, if you have use an ensemble size of 3+, having 3+ racks defined will allow a write on each rack instead of forcing you to double-up on one (which robs you of the distribution/redundancy you actually requested).
I think you should change the logic slightly. In order to preserve existing behavior, pick default-rack for the first rack if it is defined. If not, pick a random first rack.


Bazel python rules don't work for generated .proto files

When using the grpc and protobuf compilation rules provided by the grpc bazel package, issues arise when generating python files for proto_rules that place data into _virtual_imports.
This is just a failing test case that we can use as a reference point for behavior that should be fixed.  I believe that this is fixed by https://github.com/grpc/grpc/pull/22800

@donnadionne

We can't look at this until you sign the CLA.


[AIRFLOW-2222] Implement GoogleCloudStorageHook.rewrite

JIRA
This adds the ability to avoid error 413 Payload Too Large when copying GCS files over 5 TB or between locations and/or storage classes, as described in  AIRFLOW-2222. Since this issue appears only in very specific circumstances, it does not resolve the issue automatically, but gives the DAG authors a mechanism to circumvent it.
Description
Adds the GoogleCloudStorageHook.rewrite method, which calls the API endpoint of the same name and keeps calling it until the whole file is transferred.

Thanks @berislavlopac, can you also add a test for this method?

Yes, I need to see what is the best way to test this. The tests for this hook are quite lacking overall.

Maybe check if the requests can be mocked

Ah, yes, exactly what we're looking for. Do you have any experience with it @kaxil ?

Codecov Report

Merging #3264 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3264   +/-   ##
=======================================
  Coverage   75.89%   75.89%
=======================================
  Files         197      197
  Lines       14706    14706
=======================================
  Hits        11161    11161
  Misses       3545     3545

Continue to review full report at Codecov.

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

I have a bit of experience with this but not much. I will try this tonight or tomorrow and update here.

Thank you @kaxil, I'm currently swamped with work so can't devote much time on this. :disappointed:

I have added some tests in PR https://github.com/apache/incubator-airflow/pull/3322. I am ready to write tests for this PR once it is merged. @Fokko


feat: Support omnilock administrator mode

What problem does this PR solve?
Support omnilock administrator mode
Check List
Tests

Unit test

is_unlocked() also need to update for support Unlock via administrator's lock script hash


example for twitter topic

i just tried this program to get twitter topic
here is the final result
from twitter_scraper_selenium.keyword import Keyword
URL = 'https://twitter.com/i/topics/1415728297065861123'
headless = False
keyword = 'steamdeck'
browser = 'firefox'
keyword_bot = Keyword(keyword, browser=browser, url=URL, headless=headless, proxy=None, tweets_count=1000)
data = keyword_bot.scrap()
with open('steamdeck.json', 'w') as f:
    json.dump(json.loads(data), f, indent=2)

#  print result
import textwrap
width = 120
for item in sorted(list(json.loads(data).values()), key=lambda x: x['posted_time']):
    wrap_text = '\n'.join(textwrap.wrap(item['content'], width=width))
    print(f"{item['posted_time']} {item['tweet_url']}\n{wrap_text}")
    print('-'*width)

some note on this

i got error when initializing webdriver similar to https://github.com/scrapy/scrapy/issues/5635

pip install 'pyOpenSSL==22.0.0' should fix it from linked issue
this is little bit confusing because all import error is catch with general exception see also example 1 below

if possible just let error happened and end the program

save json will replace old data, so be careful

it is possible to update json data by load the data first if file exist
the same thing happen with csv

selenium can use custom profile folder, currently i have to edit on either set_properties or set_driver_for_browser on driver_initialization.Initializer
any reason why Keyword.scrap have to return json string? why not just return it as dict? when saving the data as csv, it have to be decoded back to dict

example 1
try:
 # assume error on this line because import webdriver failed
 from inspect import currentframe
except Exception as ex:
 print(ex)

# error happened again because currentframe is not imported
frameinfo = currentframe()

Thanks for the review @rachmadaniHaryono.

this is little bit confusing because all import error is catch with general exception see also example 1 below
if possible just let error happened and end the program

Yeah, moving import outside of try/catch will help catch the bug.

save json will replace old data, so be careful

The behaviour to write data in write mode is definitely misleading, this issue created misunderstanding for the user of my other library. Here's the issue. That's the feature I was even thinking of implementing to check if the file already exists and switch writing mode.

selenium can use custom profile folder, currently i have to edit on either set_properties or set_driver_for_browser on driver_initialization.Initializer

Yeah, Selenium can use a custom profile but I don't think It is going to help much in scraping as long as you're scraping unauthenticated way. Is it going to help in any way?

any reason why Keyword.scrap have to return json string? why not just return it as dict? when saving the data as csv, it have to be decoded back to dict

The output will be invalid JSON.

Yeah, Selenium can use a custom profile but I don't think It is going to help much in scraping as long as you're scraping unauthenticated way. Is it going to help in any way?

i'm thinking of scraping my twitter frontpage with this and use some firefox extension while scraping the data

maybe i will create pr to scrap twitter topic later

Oh, Okay. Thanks


Title sorting on Discover does not produce expected results

Use "Title" "Ascending".  The results do not have a clear sorting pattern.
001.zip

Issue resolved as a part of the Discover redesign


Create beta.freebmd.org.uk

Deployment will be to this site, for Beta testing

Looking forward to seeing this!

Not sure why I'm on this - Rich is this just you?

Not sure why I'm on this - Rich is this just you?

@richpomfret can this be ready for use by Monday 21st please.
Is it possible for this to be on a faster server?  I may be too used to the new fast FreeCEN and FreeREG!! but I guess we are going to get complaints about time to search - will need to alert testers to this if it isn't possible to resolve before testing.

Sorry Pat, this won't be ready for then. We will need to use Test3 for initial testing and then have the beta site ready for wider testing.

Now in-progress following email thread with @lemon-ukgen and @Vino-S. We discussed whether we use test3 for beta testing, but now looking at getting production site set-up with full DB with beta url.

https://beta.freebmd.org.uk/ is up in a new rails2 jail on night.freebmd.org.uk (same auth as test2/3)
There will be likely some glitches to resolve but the basic frontend seems ok.
I don't have access to the backend to check, eg, Refinery is happy. I have started registration as a Technical volunteer to check.

Thank you @lemon-ukgen. We will need to consider how we update refinery or update/deploy new changes from Test3.

@Vino-S to explore - e.g. scan page, loading scans.

@DeniseColbert to make story about any site performance issues or bugs in terms of slow loading. This story now to be closed as we have the beta site up and running.


Update pipeline_ddpm.py

Inspect the signature of the scheduler, then decide to whether to  pass the generator as an augment to the self.scheduler.step()
What does this PR do?

Fixes #7354
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[x] Did you read the contributor guideline?
[x] Did you read our philosophy doc (important for complex PRs)?
[x] Was this discussed/approved via a GitHub issue or the forum? Please add a link to it if that's the case.
https://github.com/huggingface/diffusers/issues/7354
[x] Did you make sure to update the documentation with your changes? Here are the
documentation guidelines, and
here are tips on formatting docstrings.
[ ] Did you write any new necessary tests?

Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.
@yiyixuxu

Hi:
we didn't receive this PR at diffusers - can you send a PR to diffusers instead? see https://huggingface.co/docs/diffusers/en/conceptual/contribution#how-to-open-a-pr


linking of rule "_pywrap_tensorflow_internal.so" failed: crosstool_wrapper_driver_is_not_gcc

System information

OS Platform and Distribution:Ubuntu Server 18.04.3 LTS
Docker version:19.03
GPU model and memory:GTX 1080 8GB
GPU driver version: 440.44
CUDA version: 10.2

Describe the problem
My computer's CPU doesn't support the AVX instructions, so I had to build it from source code, and I made sure I had the graphics driver installed correctly on the host and that the Docker container could use it.
I did the following:
https://www.tensorflow.org/install/source#gpu_support_2
The Docker image I'm using is:
https://hub.docker.com/layers/tensorflow/tensorflow/latest-devel-gpu-py3/images/sha256-86ee8d4e5b6d70b04e1a2853c343f62105533cfc01ef75e067f90151de721ac5
But I encountered the following error...

FAILED: Build did NOT complete successfully

Full log

Can someone here give me any suggestions or practices?


Add PD rotation notifications to slack

As a member of the RS PagerDuty rotation I want the current "on call" person to be posted to Slack.
Need to determine what channel and which calendar we're going to use.
https://developer.pagerduty.com/api-reference/3a6b910f11050-list-all-of-the-on-calls - API ref
We already have several GHA that call slack, we just need to call PD, get the current person and post it to Slack. This should run on a schedule that matches the rotation schedule.

We have two RS rotations now: https://prime-cdc.pagerduty.com/schedules-new, Deployment and Dependabot. If we have the ability, when posting the schedule for "Dependabot," rather than the message saying Arnej or Victor, I'd prefer it to say the team. So, when it's Arnej it should say "Platform" and when it's Victor it should say "Engagment"

add url to show security related & dependency related pending depedabot findings.

We have two RS rotations now: https://prime-cdc.pagerduty.com/schedules-new, Deployment and Dependabot. If we have the ability, when posting the schedule for "Dependabot," rather than the message saying Arnej or Victor, I'd prefer it to say the team. So, when it's Arnej it should say "Platform" and when it's Victor it should say "Engagment"

I'll look at this but as an MVP it's going to post "XXX is responsible for [Dependabot|Deployment] this [period]" to the appropriate channel (-engineering or -deployment).


Add examples of running falco-no-driver and falco-driver-loader in fully privileged mode and reasons why one might want to

Signed-off-by: Thomas Spear<EMAIL_ADDRESS>
What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind user-interface

/kind content

/kind translation

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area blog

/area documentation

/area videos

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #459
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: tspearconquest
To complete the pull request process, please assign lucperkins after the PR has been reviewed.
You can assign the PR to them by writing /assign @lucperkins in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Thank you as well! I have made the suggested edits.

LGTM label has been added.  Git tree hash: d14dde7ecc84662819627fe0b026114e23349292

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leogr, tspearconquest
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


feat: Bump Firebase iOS SDK to 9.5.0

Description
Replace this paragraph with a description of what this PR is doing. If you're modifying existing behavior, describe the existing behavior, how this PR is changing it, and what motivated the change.
Related Issues
Replace this paragraph with a list of issues related to this PR from the issue database. Indicate, which of these issues are resolved or fixed by this PR. Note that you'll have to prefix the issue numbers with flutter/flutter#.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

[ ] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[ ] All existing and new tests are passing.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] The analyzer (melos run analyze) does not report any problems on my PR.
[ ] I read and followed the Flutter Style Guide.
[ ] I signed the CLA.
[ ] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change.
[x] No, this is not a breaking change.

We previously had to update the docs but now that has been removed from the current documentation so this is fine 👍

@russellwheatley The iOS SDK version is mentioned in the Firestore docs: https://firebase.google.com/docs/firestore/quickstart#set_up_your_development_environment

@nilsreichardt for iOS?

Yes, unfortunately, the Cloud Firestore docs are not open source :(


Automated cherry pick of #11066

Cherry pick of #11066 on release-7.3.
/cc  @AshishDhama
NONE

Trying to auto merge this PR.

Pull Request successfully merged
SHA: fafccb3d98d441f729db4c9c302080fba053a9cd


Cloud Connection alert

Description:
Add Cloud connection alert to Sensor Settings page
This alert is shown only to PRO subscription level or higher
Default alert interval is 15 minutes
Minimum is 2 minutes
User can adjust in 1 minute intervals

iOS card: https://github.com/ruuvi/com.ruuvi.station.ios/issues/1514

QA passed

@andreevdenis looks like this line is not filled all the way to the right side. Do we have other locations where line is not full? Maybe this should be full.

@markoaamunkajo we have the same for other alerts edit

QA passed


Clarify and reformat Gt=0 and new VS=0 calculation

Addresses #333

Hey there 👋 thanks for the issue. I'm adding it to the next big update (next week) todo list🤗

Thanks: I'm merging it 🤗


Replied & Forwarded messages are stored in INBOX not in SEND folder

Hello
replied & forwarded messages are stored in INBOX folder not in SEND folder. Version <IP_ADDRESS>.

Have you enabled "Place replies in the folder of the message being replied to" checkbox?


For a 0.2.3 release

Codecov Report

Merging #19 (5929f2f) into master (77428a4) will decrease coverage by 0.32%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #19      +/-   ##
==========================================
- Coverage   84.31%   83.98%   -0.33%
==========================================
  Files           5        5
  Lines         306      306
==========================================
- Hits          258      257       -1
- Misses         48       49       +1

Impacted Files
Coverage Δ

src/test.jl
94.84% <100.00%> (-1.04%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Missing EXTENDED_ACCESS permission: add Google Trips app signature

Hi,
Can you add Google Trips signature to KNOWN_GOOGLE_SIGNATURES in https://github.com/microg/android_packages_apps_GmsCore/blob/master/play-services-core/src/main/java/org/microg/gms/common/PackageUtils.java and try if Google Trips work?
Thanks,

Can I help somehow?
I thought it would be easy to implement…

Seeing this too in Google Cardboard Camera:

<IP_ADDRESS>917439 works ok, no Skip/Update Services dialogue is shown
<IP_ADDRESS>734800 crash on start, disabling FakeGApps w/ reboot makes the app offer the Skip/Update Services dialogue, but it works after that
<IP_ADDRESS>061787 crash on start disabling FakeGApps w/ reboot makes the app offer the Skip/Update Services dialogue, but it works after that

logcat: https://gist.github.com/licaon-kter/452e381a897bd5d52e46b76af7fc2218

I am having exact same problem. Any news?

If some of you know how to get the SHA1 signature of related Google apps, we can make a pull request.
However, I have no use anymore for this project so this is no longer installed on my phone, if you want to try it.
I regret that the maintainer totally ignored this issue, it didn't seem to be very long to fix…

I don't think it ignore it.
It may be just busy with other things.

@papjul can you explain more how to do it? I obtained the SHA1 of Google Trip apk.

Click on the Pencil icon on the top right: https://github.com/microg/android_packages_apps_GmsCore/blob/master/play-services-core/src/main/java/org/microg/gms/common/PackageUtils.java
Add Google Trips SHA-1 to the list of private static final String[] KNOWN_GOOGLE_SIGNATURES. Add a comment /* Google Trips */ like for other applications. This should be a pretty straightforward task, but ask if you're stuck.
Then make a pull request to the original repo of mar-v-in ;)

Thanks! Done https://github.com/microg/android_packages_apps_GmsCore/pull/375

This should be fixed.

@ale5000-git do you know when or where is a new preview release with this fix available? I thought it was nightly built but it looked like I was wrong.

The code was merged but there isn't a new build yet, probably he wait to add other fixes before releasing a new build.

Build is uploaded to website / F-Droid now.

@mar-v-in thanks for updating. Why did it take so long to publish a new version? Wouldn't it be better to have a nightly build or something?


Feature request: Implement word-level confidence score visualisation by color coding the transcript

This whisper gui implementation visualizes the confidence score by coloring words: https://github.com/jojojaeger/whisper-streamlit This would be helpful for quicker review or for model accuracy comparison

yes, that would be very nice. I'm a teacher and using this to assist scoring students recording would be fantastic

Bumping this up as a feature for the upcoming release with the new version.


Issue: Clarify Contribution Process for Newcomers

The current documentation for contributing to the AOSSIE website may not be entirely clear for newcomers. Specifically, the instructions for forking and cloning the repository might be confusing. New contributors may not fully understand that they need to fork the repository first and then clone their own fork to their local system.

I would like to work on this issue @Manan21st

Hi @Manan21st
I've submitted a pull request to address Issue #153, which clarifies the contribution process for newcomers. The documentation has been updated to provide clearer instructions for forking and cloning the repository.
Please review the changes at your convenience, and let me know if any adjustments are needed. Thank you!

I want to work on this issue could you please assign me.


Support of DBMS_OUTPUT

I noticed that the DBMS_OUTPUT package does not output anything to the console, for example if you run:
BEGIN
    DBMS_OUTPUT.PUT_LINE('Hello');
END;

Then SQL CONSOLE: MESSAGES will be empty.
Is this feature not supported or am I doing something wrong?

Hi, it's updated, please see if it satisfy your needs.

Judging by the commit https://github.com/hashhashu/sqltools-Oracle-driver/commit/33afe65048e0c0daaadd157211babd8d04cdda24, you added the implementation through the pipelined function. I have some concerns about this method:

What happens if the user does not have enough rights to create types and functions in the database? In this case, the query will terminate with an error?
What happens if the types\functions with the names no_dorow\no_dofetch were created earlier to perform business logic? In this case, will their logic be overwritten?
The file driver.ts#L164 has a check to include the string 'DBMS_OUTPUT'.  What happens when 'DBMS_OUTPUT' is called from another function\procedure and this line is not in the body of the SQL query itself? In this case, the buffer will not be read?

In this documentation https://node-oracledb.readthedocs.io/en/latest/user_guide/plsql_execution.html#using-dbms-output suggests another way  to fetch DBMS_OUTPUT with node-oracledb - bind an output string when calling the DBMS_OUTPUT.GET_LINE() procedure, print the string, and then repeat until there is no more data. An example implementation can be found in the dbmsoutputgetline.js. This way, in my opinion, will be more universal.

Thanks for your detailed reply, i will try the way you metioned.

Hi, it's updated, see if it has any problems, thanks.

I have executed the following code:
BEGIN
    DBMS_OUTPUT.PUT_LINE('Hello1');
    DBMS_OUTPUT.PUT_LINE('Hello2');
    DBMS_OUTPUT.PUT_LINE('Hello3');
END;

And got the output to the console with the text of the script:

The output was expected to contain three lines of text:
Hello1
Hello2
Hello3

Result set includes all messages on single line:

In this case the result set was expected empty, because select query not executed.

yes, I put a summary page for the not select querys, and you can see the more detailed result when you right click and choose open editor with ...

OK, if you open it in a text editor, then the messages are displayed correctly. But how convenient is it to open a message in a text editor every time? The DBMS_OUTPUT package is used to debug PL\SQL code, and for this you need to see the sequence of messages output to the console. As far as I understand, this view cannot display multi-line text, then it might make sense to direct the output of debug messages to a separate VSCode channel, which will be displayed on the standard "Output" tab? An example of creating a channel https://stackoverflow.com/a/58139566/19707292.

Hi, sorry for late reply, it's been busy lately.
it's updated, you can see the output in the "output" tab and choose "SQLTOOLS" channel

"Driver Oracle is not installed." i guess it has something to do with the activation rule, i accidently remove the activation sentance and only when you open a sql file it will be activated, it should be good the next update.


link in property comments does not work

This does not work. The link is not resolved.
/**
     * store the local state
     * @private
     * @type {Object}
     * @property {Array} users - the users taken from the {@link GlobalState}
     */
    this.state = {
      users: []
    }

Please check latest ESDoc


Attempting to clone a private repo produces "Error: repository x/y doesn't exist"

I'm trying to hub clone a private repo:
hub clone x/y

Which produces an error like this:
Error: repository x/y doesn't exist

Even though I can clone just fine using the full URI:
hub clone git@github.com:x/y.git

The error message seems to come from this line in clone.go.
Could it be that hub is trying to query the GitHub API for information about a private repo, without sufficient authentication?

Well, I found the cause. I was using a GitHub token without the repo scope. Adding that scope solved the issue.
For anyone who comes across this issue, none of the sub-scopes are sufficient either. It needs "Full control of private repositories" (repo), which is a bit unfortunate.


Error in definition of method readSingleFile()

The js-file does not load, because of typo on line 633 of Web-GUI-for-SQLite.js.
The line is:
readSingleFile = function(e, readAs, callback) {

It's supposed to be:
readSingleFile(e, readAs, callback) {

It is corrected, thank you very much!


Fix volumes_from when the target service specifies a container name

Signed-off-by: Josh Curl<EMAIL_ADDRESS>

@joshwget oh I see what the problem was :sweat_smile:
LGTM 🐸


Growling good. Flooding bad.

Seem to have an early swarm-level solution for network flooding. This just looks at the swarm download speed and prevents new piece requests over a threshold (growls).
So far:
...
engine.swarm = swarm;
//Wide open if not otherwise set (existing default behavior)
engine.DOWNLOAD = 0;
engine.THROTTLE = Number.MAX_SAFE_INTEGER;
....

var select = function(wire, hotswap) {
   if (wire.requests.length >= MAX_REQUESTS) return true;

   // Growl
   if (swarm.downloaded > engine.DOWNLOAD && swarm.downloadSpeed() > engine.THROTTLE)
       return true;
   ...

Requests are stalled above a threshold, ensuring the overall download rate from the swarm will fall and "accelerate back" to the maximum speed attainable when resumed (see fig 1).

DOWNLOAD and THROTTLE can be set anytime:
 engine.DOWNLOAD = 10  * 1024 * 1024 + engine.swarm.downloaded; //  10 MB wide open
 engine.THROTTLE = 312 * 1024;                                  // 312 KBps growl

This solution allows for adjusting the THROTTLE while streaming (see fig 2).
This is also how early racing carburetors used rpm to prevent flooding at idle (see fig 3).
Injecting rate limiters at the wire-level might then be called a "Weber"  (see fig 4)

Wow this is very nice! Thanks for this. :+1:

Note this does not limit to an upper rate, rather it seeks a lower limit.
Since pieces are known to be 16K in size, limiting the number of onrequest calls would be the way to set an upper limit on a healthy (predictable) torrent.
The issue with achieving a hard upper limit is that freeriders (leeches)  weaken the torrent and make the algorithm unpredictable.
This method ensures at least a lower limit can be maintained.

Since pieces are known to be 16K in size, limiting the number of onrequest calls is the way to set an upper limit.
The issue with achieving a hard upper limit is overcoming freeriders (leeches) that weaken the torrent and make the algorithm unpredictable.
This method ensures at least a lower limit can be maintained.

Growling good. Flooding bad.

Is there any way to make this dynamic ? ie when starting download speed limited at ~ 50mbps, when user watching and not doing any seek it limit to file bitrate + 10% - so it uses only needed amount of BW, when user seek's to some point - it again gives full speed (50mbps) and then again after first few pieces downloaded it limits speed to file bitrate + 10% ?

It is dynamic. The stream consumer (a video app in your case?) can set rate at any time, as described.
The torrent-stream has no way to know how fast the stream is being consumed.
It has to be done at the consumer level where that info is available.


Fix false positives for Style/HashExcept cop

Fixes false positive for Style/HashExcept cop when using reject/!include?, reject/!in? or select/!exclude? combinations. Adds new test cases which fail on master.
The tests that have been changed in this patch weren't correct and actually produced the inverse result; for example, the first updated test in this patch expected that
{foo: 1, bar: 2, baz: 3}.reject { |k, v| !%i[foo bar].include?(k) }
# => {:foo=>1, :bar=>2}

is auto-corrected to
{foo: 1, bar: 2, baz: 3}.except(:foo, :bar)
# => {:baz=>3}

when this shouldn't have been an offense for this cop since the code is equivalent to:
{foo: 1, bar: 2, baz: 3}.slice(:foo, :bar)

This PR fixes these combinations:
h.reject { |k, v| !k.in?(X) }
h.reject { |k, v| !X.include?(k) }
h.select { |k, v| !X.exclude?(k) }

Previously they would register as offenses, now they don't since they're functionally equivalent to h.slice(*X).

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

I think you also need to update the cop's examples.

I think you also need to update the cop's examples.

Updated!

Thanks!


[Swiper Svelte] Swiper fails to initialize and throws an error when using the breakpoints option

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Swiper Version: 6.3.1.

Platform/Target and Browser Versions: Linux Chrome 85, but likely broken in any environment.

What you did
Setting the breakpoint option in a Svelte Swiper component breaks Swiper initialization.
<script>
import { Swiper, SwiperSlide } from 'swiper/svelte';
</script>

<Swiper breakpoints={{640: {slidesPerView: 1}}}>
<SwiperSlide>1</SwiperSlide>
</Swiper>

Expected Behavior
The Swiper component should initialize without js hard errors.
Actual Behavior
Swiper fails to initialize and throws an error:
swiper.js:402 Uncaught (in promise) TypeError: Cannot create property 'value' on boolean 'false'
    at Swiper.onBeforeBreakpoint (swiper.js:402)
    at events-emitter.js:108
    at Array.forEach (<anonymous>)
    at events-emitter.js:107
    at Array.forEach (<anonymous>)
    at Swiper.emit (events-emitter.js:95)
    at Swiper.setBreakpoint (setBreakpoint.js:64)
    at Swiper.init (core-class.js:413)
    at new Swiper (core-class.js:257)
    at initSwiper (init-swiper.js:37)

There's a spurious Vue-like .value here: https://github.com/nolimits4web/swiper/blob/87852ad0b2ff9967c9788bbf6e87d1b57b05ec7d/src/svelte/swiper.svelte#L68-L70


[AVM Module Issue]: Role Assignment to multiple resources issue

Check for previous/existing GitHub issues

[X] I have checked for previous/existing GitHub issues

Issue Type?
Bug
(Optional) Module Version
0.0.1, 0.1.0
(Optional) Correlation Id
No response
Description
Trying to use the Role Assignments module to apply roles to multiple resources fails with error:
`Planning failed. Terraform encountered an error while generating this plan.
╷
│ Error: Invalid index
│
│   on .terraform\modules\role_assignments\local.role.assignments.for.resources.tf line 86, in locals:
│   86:             scope              = data.azurerm_resources.resources_by_resource_group_and_name[key].resources[0].id
│     ├────────────────
│     │ data.azurerm_resources.resources_by_resource_group_and_name is object with 3 attributes
│
│ The given key does not identify an element in this collection value: the collection has no elements.`
The code works if I only apply roles to one resource at a time, but otherwise I get a variation of the above error.
role_assignments_for_resources = {
    sa1 = {
      resource_name       = azurerm_storage_account.dl_st.name
      resource_group_name = azurerm_resource_group.rg.name
      role_assignments = {
        role_assignment_1 = {
          role_definition = "role2"
          users           = ["user1"]
        }
        role_assignment_2 = {
          role_definition = "role3"
          users           = ["user1"]
        }
      }
    }
    sp1 = {
      resource_name       = azurerm_synapse_spark_pool.syn_spark.name
      resource_group_name = azurerm_resource_group.rg.name
      role_assignments = {
        role_assignment_1 = {
          role_definition = "role3"
          users           = ["user1"]
        }
      }
    }
    syn1 = {
      resource_name       = azurerm_synapse_workspace.workspace.name
      resource_group_name = azurerm_resource_group.rg.name
      role_assignments = {
        role_assignment_1 = {
          role_definition = "role3"
          users           = ["user1"]
        }
      }
    }
  }

Thanks for reporting this. I am unable to replicate this issue. I suspect it may be a timing issue. The resources are created and are not being returned in the data source query. The resources output of the azurerm_resources data source would be empty in the scenario it can't find the resource and throw the error you are seeing.
You could try adding an explicit dependency or a timeout to your code. Or alternatively, since you already have access to the resource id in your scenario, you could use the role_assignments_for_scopes variable instead and supply the resource id in the scope attribute.
I am adding a test scenario to cover this.
I am going to close this for now, since there is nothing we can do in the module to resolve it at this time.


Global Download Button give a .tar archive of the repository

This resolves issue #162.
Actually, it doesn't catch errors of the command git archive ... for now.
And I have tried to make a .zip instead of .tar, but I have an encoding error which corrupts the archive.
Fixes #162

I have spotted the encoding issue: the "get" request from "lwt_request" will cast the response into a DOMString, which is utf-16 encoded, then the "Js.to_string" will cast into an Ocaml string by encoding it into utf-8, which could change its size.
I have tried to force casting into utf-16 with "Js.to_bytestring", but the "fake_download" function would need to create an object Url with a blob, which is utf-8 encoded
A workaround would be to get the response of the request as a blob directly and send it to the fake_download (WIP)

Any news on this?

The workaround might need to create a "File.blob Js.t request" in the learnocaml_api if we want to avoid useless conversion. But I don't know if I should solve that way or if there are better solutions.

By creating a regular download URL (not the fake one with a blob), I don't have any issue with encoding and the web browser will detect the URL as a download by default.


Tests fail to compile with Clang 3.7

As stated in #806, cpputest wont compile using clang if tests are enabled.
Here are the errors reported:
[…]/cpputest/tests/MemoryLeakWarningTest.cpp:275:5: error:
      'delete' applied to a pointer that was allocated with 'new[]'; did you
      mean 'delete[]'? [-Werror,-Wmismatched-new-delete]
    delete memory;
    ^
          []
[…]/cpputest/tests/MemoryLeakWarningTest.cpp:273:20: note:
      allocated with 'new[]' here
    char* memory = new char[100];
                   ^
[…]/cpputest/include/CppUTest/MemoryLeakDetectorNewMacros.h:56:13: note:
      expanded from macro 'new'
#define new new(__FILE__, __LINE__)
            ^
[…]/cpputest/tests/MemoryLeakWarningTest.cpp:353:5: error:
      'delete' applied to a pointer that was allocated with 'new[]'; did you
      mean 'delete[]'? [-Werror,-Wmismatched-new-delete]
    delete nonArrayMemoryNoThrow;
    ^
          []
[…]/cpputest/tests/MemoryLeakWarningTest.cpp:347:35: note:
      allocated with 'new[]' here
    char* nonArrayMemoryNoThrow = new (std::nothrow) char[10];
                                  ^
[…]/cpputest/tests/MemoryLeakWarningTest.cpp:354:5: error:
      'delete' applied to a pointer that was allocated with 'new[]'; did you
      mean 'delete[]'? [-Werror,-Wmismatched-new-delete]
    delete nonArrayMemoryThrow;
    ^
          []
[…]/cpputest/tests/MemoryLeakWarningTest.cpp:348:33: note:
      allocated with 'new[]' here
    char* nonArrayMemoryThrow = new char[10];
                                ^
3 errors generated.

Would it be better to set this compile option so the tests can still run
-Wno-mismatched-new-delete
That is a compile time check which could be hidden from Clang if the
allocation and deallocation are not in the same compilation unit.
James

James Grenning - Author of TDD for Embedded C - wingman-sw.com/tddec
wingman-sw.com
wingman-sw.com/blog
twitter.com/jwgrenning
facebook.com/wingman.sw

On 28 Dec 2015, at 8:27, offa wrote:

As stated in #806, cpputest wont compile using clang if tests are
enabled
Here are the errors reported:
[…]/cpputest/tests/MemoryLeakWarningTestcpp:275:5: error:
   'delete' applied to a pointer that was allocated with 'new[]'; did
you
   mean 'delete[]'? [-Werror,-Wmismatched-new-delete]
 delete memory;
 ^
       []
[…]/cpputest/tests/MemoryLeakWarningTestcpp:273:20: note:
   allocated with 'new[]' here
 char* memory = new char[100];
                ^
[…]/cpputest/include/CppUTest/MemoryLeakDetectorNewMacrosh:56:13:
note:
   expanded from macro 'new'
#define new new(__FILE__, __LINE__)
         ^
[…]/cpputest/tests/MemoryLeakWarningTestcpp:353:5: error:
   'delete' applied to a pointer that was allocated with 'new[]'; did
you
   mean 'delete[]'? [-Werror,-Wmismatched-new-delete]
 delete nonArrayMemoryNoThrow;
 ^
       []
[…]/cpputest/tests/MemoryLeakWarningTestcpp:347:35: note:
   allocated with 'new[]' here
 char* nonArrayMemoryNoThrow = new (std::nothrow) char[10];
                               ^
[…]/cpputest/tests/MemoryLeakWarningTestcpp:354:5: error:
   'delete' applied to a pointer that was allocated with 'new[]'; did
you
   mean 'delete[]'? [-Werror,-Wmismatched-new-delete]
 delete nonArrayMemoryThrow;
 ^
       []
[…]/cpputest/tests/MemoryLeakWarningTestcpp:348:33: note:
   allocated with 'new[]' here
 char* nonArrayMemoryThrow = new char[10];
                             ^
3 errors generated

Reply to this email directly or view it on GitHub:
https://github.com/cpputest/cpputest/issues/807

Was this on linux? Checking this. I'm confused by the pull request changes though.

Would it be better to set this compile option so the tests can still run

If that's possible just for the test, that would be good.

Was this on linux? Checking this. I'm confused by the pull request changes though.

Yes, but i also failed with clang on windows.
The PR solves the issues to be able to compile at least without tests on clang. I wasn't sure how to address this test issues so i've opend this issue.

Hmm, I tried to get 3.7 on my Ubuntu, but it isn't packaged yet for the stable release. Want to have a look at this myself.

I'm not on Ubuntu, but it seems you can get it from here: http://llvm.org/apt/

Thanks, I'll have a look at it these days.


Nuxt configuration is not working for Nuxt2.x (Cannot find module '#app')

Says in documentation that plugin works in Nuxt 2, but example in documentation is not working.
`TS2307: Cannot find module '#app' or its corresponding type declarations.
1 | import { createNuxtPersistedState } from 'pinia-plugin-persistedstate'

2 | import { defineNuxtPlugin, useCookie } from '#app'
|                                             ^^^^^^
3 |
4 | export default defineNuxtPlugin(nuxtApp => {
5 |   nuxtApp.$pinia.use(createNuxtPersistedState(useCookie))`

Removing this line and trying to do correct import statements, will lead to errors for useCookie(not found)

Hey :)
useCookie is a nuxt3 specific composable, and so is the createNuxtPersistedState factory.
You can use it with nuxt2 by making it a client side only plugin. I don't know much about cookies on nuxt2 though.

I'm not sure about Cookies, but I hope this helps for Nuxt 2:
plugins/persistedStatePlugin.js
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

const persistedStatePlugin = ({ $pinia }) => {
  $pinia.use(piniaPluginPersistedstate)
}

export default persistedStatePlugin

nuxt.config.js
  plugins: [
    '~/plugins/persistedStatePlugin.js'
  ],

I'm not sure about Cookies, but I hope this helps for Nuxt 2:
plugins/persistedStatePlugin.js
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

const persistedStatePlugin = ({ $pinia }) => {
  $pinia.use(piniaPluginPersistedstate)
}

export default persistedStatePlugin

nuxt.config.js
  plugins: [
    '~/plugins/persistedStatePlugin.js'
  ],

Added this to the project and the following error occurs when accessing app on localhost after npm run dev:

 ERROR  localStorage is not defined                                                                                16:33:45

  at node_modules\pinia-plugin-persistedstate\dist\index.js:86:17
  at node_modules\pinia\dist\pinia.cjs:1590:43
  at EffectScopeImpl.run (node_modules\@vue\composition-api\dist\vue-composition-api.common.js:110:24)
  at node_modules\pinia\dist\pinia.cjs:1590:33
  at Array.forEach (<anonymous>)
  at createSetupStore (node_modules\pinia\dist\pinia.cjs:1577:14)
  at createOptionsStore (node_modules\pinia\dist\pinia.cjs:1168:13)
  at useStore (node_modules\pinia\dist\pinia.cjs:1654:17)
  at asyncData (node_modules/vue-loader/lib/index.js:85:0)
  at promisify (.nuxt/utils.js:314:0)
  at server.js:4105:82
  at Array.map (<anonymous>)
  at module.exports../.nuxt/server.js.__webpack_exports__.default (.nuxt/server.js:245:0)

name your file plugins/persistedStatePlugin.client.js to make it clientside only, that way it won't try to access to localStorage while server side rendering


Integration test improvement: rename "update" to "step"

"Step" is a better term than "update" here because as the test cases structure has evolved, each step may or may not actually perform an update - some steps may simply check the state of the JobSet, Jobs, etc.

/lgtm


Bootstrap is not loading from local resources

Hello,
the bootstrap framework is loading from the CDN but not locally....
Do you known why?

Fixed


[Cherry pick] FIX: URL to Symfony cache adapters

Cherry pick to 4.7 of https://github.com/silverstripe/silverstripe-framework/pull/9812

Feed free to cherry pick docs changes like this straight into the patch branch @emteknetnz

Feed free to cherry pick docs changes like this straight into the patch branch @emteknetnz


400 Bad Request Issue in Sharepoint online(through C#)

Hi ,
I have issue in SharePoint authentication through C#. I downloaded the library (sharepoint.client and sharepoint.client.runtime). I send password (secure password) to sharepoint for authentication. but application throwing error 400(Bad request). but I have admin access for my credentials. Is any other special permission required from sharepoint online for develop a desktop application

It's not a permission error, because that would likely be a 401 or 403.
Can you share your code that you are using to help diagnose the problem?

Hi
Please find my below code and error message.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Net;
using System.Security;
using System.Threading.Tasks;
using Microsoft.SharePoint.Client;
namespace CSOMOffice365
{
class Program
{
static void Main(string[] args)
{
string userName =<EMAIL_ADDRESS>Console.WriteLine("Enter your password.");
string password = "**********";
SecureString securePassword = new SecureString();
foreach (char ch in password.ToCharArray())
{
securePassword.AppendChar(ch);
}
try
{
            using (var clientContext = new ClientContext("https://Plan8890.sharepoint.com"))
            {
                clientContext.Credentials = new SharePointOnlineCredentials(userName, securePassword);
                Web web = clientContext.Web;
                clientContext.Load(web);
                clientContext.ExecuteQuery();
                Console.WriteLine("Title: ");
            }
        }
        catch (Exception ex)
        {
            Console.WriteLine("Error is: " + ex.Message);
        }
    }
}

}
Error Message :
I got error message " mail id or password wrong" if i gave wrong password.
I got below error message while i am sending correct password
Error is: The remote server returned an error: (400) Bad Request.

Hi, so I took your code and copied it into a console app in my solution. I have no problem connecting to my SharePoint environment, I am able to load the web successfully.

Can you clarify what Nuget packages are you are loading for the Microsoft.SharePoint.Client assembly?

I have below nuget package.

I also have Microsoft.SharePointOnline.CSOM(16.1.9021.1200)
I'm going to take a stab in the dark here. When you created your console app... did you create it as a .NET core app instead of .NET Framework?
If so, this would return a 400 error. This is because the current version of CSOM is built on .NET Framework and not .NET core.
Try to re-create the console app as a .NET Framework console app.

Hi Cameron,
Thank you so much for your help. it was really amazing.
Yes, i done that,
I am purely from java background, so i dont know, how to start built in C# or .Net.
First i tried to connect the sharepoint with java, but it not allowing me, it was expecting secure password(unfortunately it was not present for java) from me. so i forcefully started to using C#. Do you know how to connect sharepoint online with java.. anyway Thanks again for your help

Can you clarify that yes you can created it as a .net core app instead of a .net framework app?

Of course, yes I can able to connect my SharePoint though .net framework instead of .net core

Great! We'll close this ticket.
But to answer your second question, you can use OAuth to connect to SharePoint Online with Java. However, you have to do it through a registered application in Azure AD. If you search google for a little, there should be plenty of resources on how to implement OAuth with SharePoint.
Thanks,


Role collection 'Integration_Provisioner' undocumented

Issue description
I know the role collection is mentioned multiple times in the documentation of SAP Integration Suite.
However, a clear definition of the tasks associated with that collection is missing.
Feedback Type (Optional)
None
Page Title on SAP Help Portal (prefilled)
Configuring User Access to SAP Integration Suite
Page URL on SAP Help Portal (prefilled)
https://help.sap.com/docs/SAP_INTEGRATION_SUITE/51ab953548be4459bfe8539ecaeee98d/2c6214a3228e4b4cba207f49fda92ed4.html?locale=en-US&version=CLOUD&q=Integration_Provisioner

Hi @bauer-at-work
Thank you for your feedback. We will check and get back to you.

Hi @bauer-at-work
We've worked on this comment and added the necessary information in the same document. You will see it when the document is release next.


Get Method with other query params

Hi,
I am using CRA with protobuf to generate proto files and adding generated proto query
export const getGenericList = {   localName: "getGenericList",   name: "getGenericList",   kind: MethodKind.Unary,   I: genericDetailsRequest,   O: genericDetailsResponse,   service: {     typeName: "bfi.application_setting.rpc.ApplicationSettingService"   } } as const;
while i am using this as
  const { data } = useQuery({     ...getGenericList,     idempotency: MethodIdempotency.NoSideEffects, // for GET method   }); but whever i am calling an API, it adds other query params like
connect: v1 encoding: octet-stream base64: 1 message: CgR0ZXN0 on url which i dont need.
e.g https://**/v1/bfi.application_setting.rpc.ApplicationSettingService/getGenericList?connect=v1&encoding=octet-stream&base64=1&message=
how to pass custom query and use GET method on connect-query without autogenerated query params.

Hi Kamal,
Connect GET uses the following query parameters:

message: The request message, typically JSON or base64-encoded binary.
base64=1: Tells whether the message is base-64 encoded.
encoding: Typically json for JSON, and proto for Protobuf binary.
connect=v1: Allows servers and proxies to distinguish Connect requests from other requests.

If you use Protobuf binary (useBinaryFormat: true in your transport), the base64=1 parameter is required, because binary data cannot be encoded in query parameters, and base64 makes it safe to encode.
If you use JSON (omit the useBinaryFormat option in your transport), the base64 query parameter is not needed, and will not be included in the URL.
You can find the specification here.
You cannot remove these query parameters because they are required by the server to parse the request. You cannot add query parameters because the server will most likely not understand them, since they would not be part of the schema defined in Protobuf.


Initial usage docs

Story
As a Rancher User,
I want to have documentation on using the CAPI extension,
So that i know how to install & use the extension.

Closing this in favour of the issues in rancher-turtles-docs


neon property incompatible with v1

v1 sets neon property to an object, in v2 however, we only set properties on neon itself - eg v1 does this:
const vehicle: alt.Vehicle;

vehicle.neon = { left: false, right: false, front: false, back: false };

in v2 however, the above would look like this:
const vehicle: alt.Vehicle;

vehicle.neon.left = false;
vehicle.neon.right= false;
vehicle.neon.front = false;
vehicle.neon.back = false;

We need to make compatiblity class compatible with that (i recently added setNeonActive and getNeonActive which behave exactly the same as in v1)

Fixed in referenced Issue. Will be available in next build.


Revisit Vector telemetry's default config

Following #906, enabling Vector telemetry does not inject a new sidecar anymore, it just modifies the existing system-logger sidecar (which is now based on Vector, see k8ssandra/cass-operator#498).
If the user also provides custom config via cassandra.telemetry.vector.components, it will get merged with a "default" Vector config hard-coded into k8ssandra-operator.
Where it gets confusing is that that "default" config is not the same as what you get from cass-operator if telemetry is disabled. This is apparent if you create a cluster like so:
spec:
  cassandra:
    telemetry:
      vector:
        enabled: true
    datacenters:
      ...

The Kubernetes logs of the system-logger container are now stripped of all contextual information:
Seed provider couldn't lookup host demo-dc1-additional-seed-service
Creating replication strategy none params KeyspaceParams{durable_writes=true, replication=ReplicationParams{class=org.apache.cassandra.locator.NetworkTopologyStrategy, dc1=1}}
Configured datacenter replicas are dc1:rf(1)

This is because k8ssandra-operator's "default" config include a transformation that parses the Cassandra log line (pkg/telemetry/vector.go):
. |= parse_groks!(.message, patterns: [
  "%{LOGLEVEL:loglevel}\\s+\\[(?<thread>((.+)))\\]\\s+%{TIMESTAMP_ISO8601:timestamp}\\s+%{JAVACLASS:class}:%{NUMBER:line}\\s+-\\s+(?<message>(.+\\n?)+)",
  ]
)

This extracts a message fields that overrides the initial message (what used to be the log line). And then we send that transformation to the console:
	systemLogSink := telemetry.VectorSinkSpec{
		Name:   "console_log",
		Type:   "console",
		Inputs: []string{"parse_cassandra_log"},
		Config: `target = "stdout"
encoding.codec = "text"
`,
	}

I suggest we get rid of that parsing phase, it serves no purpose here (and loses context). The defaults to be merged with the user config should be mostly similar to cass-operator's defaults.
If we need log parsing in downstream projects, we can simply reimplement the parse_cassandra_log phase there, instead of inheriting it (it will also be easier to understand).

Alternatively, we just reconstruct the output in the console sink (a single remap). The idea why I wanted this to be in the k8ssandra-operator is to provide simple parsed log output no matter which system the user is using. The user only needs to add a new sink that listens to this output.


Release v1.29.0

Description of the change:
Prep for the v1.29.0 release
Motivation for the change:
Release v1.29.0 of the operator-sdk
Checklist
If the pull request includes user-facing changes, extra documentation is required:

[ ] Add a new changelog fragment in changelog/fragments (see changelog/fragments/00-template.yaml)
[ ] Add or update relevant sections of the docs website in website/content/en/docs

Overriding the sanity/docs check and merging this in


tasks loading error on gcloud run

Describe the bug
deployed on google cloud with the one click button on readme.md page, a cloud run instance is successfully created. but it seems that this instance is always denied to read a gs bucket file. every time i click on tasks it shows following error:
Tasks loading error
Error calling the IAM signBytes API: b'{\n "error": {\n "code": 403,\n "message": "The caller does not have permission",\n "status": "PERMISSION_DENIED"\n }\n}\n'
To Reproduce
Steps to reproduce the behavior:

Go to 'TASKS' and configure cloud bucket correctly
TASKS will show the correct number of images in cloud bucket
give allUsers cloud admin permission
refresh page tasks to see error

Expected behavior
i suppose i should have seen images but there wasn't any
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

OS: ubuntu
Browser chrome
Version [e.g. 22]

Additional context

Can you tell more about this step: "give allUsers cloud admin permission"?
What permissions were before this step? Can you send screenshot - where you change these permissions in gcloud?

Can you tell more about this step: "give allUsers cloud admin permission"?
What permissions were before this step? Can you send screenshot - where do you change these permissions in gcloud?

Thanks for your reply.
After the one click deployment on gcloud, I created a task based on my gs bucket right away without changing any permission policy of anything. The IAM 403 denied error appeared right after that.
I supposed that "The caller does not have permission" was due to lack of permission for the requested gs bucket so I changed permission configuration in my gs bucket page and let allUsers to be Cloud Storage Admin (so my gs bucket went public, and normally any request from anyone should be accepted and not denied. ). That didn't work.
I've also looked into the permission config page of cloud run but I don't know what to do
Basically, I don't know what permission is required by LabelStudio to load and show my images on gs bucket

Have you managed to do something about this problem?

I hope you've fixed this issue. By the way we've added some improvements in 0.7.4 release relative to s3 access rights (region problems).


get authenticated user raises NotImplementedError

api.me().screen_name no longer works, it returns a NotImplementedError. I'm using tweepy 3.10.0

I'm unable to reproduce this, and it's not possible to determine what's going on without a full traceback and/or the relevant code. Also, Tweepy v3 is no longer supported. You should look into using Tweepy v4.

I upgraded to 4.3.0, the API object has no attribute 'me' - Here is the full code and traceback:
[in]
import tweepy

read_twitter_api_key = API_KEY
read_twitter_api_secret = API_SECRET

auth = tweepy.AppAuthHandler(read_twitter_api_key, read_twitter_api_secret)
read_api = tweepy.API(auth, wait_on_rate_limit = True)
read_api.me()

[out]
AttributeError                            Traceback (most recent call last)
<ipython-input-64-9421ad920711> in <module>
----> 1 read_api.me()

AttributeError: 'API' object has no attribute 'me'

Tweepy v4.0.0 removed API.me. You can use API.verify_credentials instead.
See the relevant section of the FAQ in the documentation.

@Harmon758 - I tried this but I get :
Forbidden: 403 Forbidden
37 - Your credentials do not allow access to this resource

can you tell me what permissions I need to change for this to work?

You're using app authentication, which doesn't have any user information associated with it.
You need to authenticate as a user to get information about the authenticating user.


Error starting up

I'm running into an error starting up rabbit with the plugin enabled to cluster autoscale group members. The machines have the correct IAM roles and  I currently have 2 machines running in the asg.
Neither machine will successfully start rabbitmq-server with the autocluster stanza  active in the config file. If I comment the stanza out, the machines each successfully can start rabbitmq-server.
Here's the error report:
=CRASH REPORT==== 21-Sep-2016::21:26:25 ===
  crasher:
    initial call: application_master:init/4
    pid: <0.154.0>
    registered_name: []
    exception exit: {bad_return,
                        {{rabbit,start,[normal,[]]},
                         {'EXIT',
                             {function_clause,
                                 [{autocluster,maybe_register,
                                      [error,aws,autocluster_aws],
                                      [{file,"src/autocluster.erl"},
                                       {line,111}]},
                                  {autocluster,init,0,
                                      [{file,"src/autocluster.erl"},
                                       {line,33}]},
                                  {rabbit_boot_steps,
                                      '-run_step/2-lc$^1/1-1-',1,
                                      [{file,"src/rabbit_boot_steps.erl"},
                                       {line,49}]},
                                  {rabbit_boot_steps,run_step,2,
                                      [{file,"src/rabbit_boot_steps.erl"},
                                       {line,49}]},
                                  {rabbit_boot_steps,
                                      '-run_boot_steps/1-lc$^0/1-0-',1,
                                      [{file,"src/rabbit_boot_steps.erl"},
                                       {line,26}]},
                                  {rabbit_boot_steps,run_boot_steps,1,
                                      [{file,"src/rabbit_boot_steps.erl"},
                                       {line,26}]},
                                  {rabbit,start,2,
                                      [{file,"src/rabbit.erl"},{line,583}]},
                                  {application_master,start_it_old,4,
                                      [{file,"application_master.erl"},
                                       {line,273}]}]}}}}
      in function  application_master:init/4 (application_master.erl, line 134)
    ancestors: [<0.153.0>]
    messages: [{'EXIT',<0.155.0>,normal}]
    links: [<0.153.0>,<0.7.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 2586
    stack_size: 27
    reductions: 255
  neighbours:

My rabbit.config file
[
 {rabbit,
  [
   {log_levels, [{autocluster, debug}, {connection, debug}, {mirroring, debug}, {channel, debug}]},
   {tcp_listeners, [5672]},
   {disk_free_limit,<PHONE_NUMBER>},
   {heartbeat, 0},
   {tcp_listen_options, [binary, {backlog, 1024}, {nodelay, true}, {keepalive, true} ]},
   {vm_memory_high_watermark, 0.6},
   {default_user, <<"guest">>},
   {default_pass, <<"guest">>},
   {loopback_users, []}
  ]},
 {kernel,
  ]},
 {autocluster,
  [
   {backend, aws},
   {aws_autoscaling, true},
   {autocluster_failure, ignore},
   {startup_delay, 7},
   {node_type, 'disc'}
  ]},
 {rabbitmq_management,
  ]},
 {rabbitmq_shovel,
  [{shovels,
    ]}
  ]},
 {rabbitmq_stomp,
  ]},
 {rabbitmq_mqtt,
  ]},
 {rabbitmq_amqp1_0,
  ]},
 {rabbitmq_auth_backend_ldap,
  ]}
].

My enabled.plugins file
[autocluster,rabbitmq_federation,rabbitmq_federation_management,rabbitmq_management,rabbitmq_management_agent,rabbitmq_management_visualiser,rabbitmq_mqtt,rabbitmq_stomp,sockjs].
Specs:

Ubuntu Trusty AMI on AWS
Rabbit version 3.6.5,
autocluster plugin version 0.6.1
esl-erlang-18.3.1

I'd close this in favour of #104 which has a few investigation comments based on the stack traces and the AWS backend code.

This plugin was forked by the RabbitMQ team and is now part of RabbitMQ. More information can be found @ https://github.com/rabbitmq/rabbitmq-autocluster


PowerRename tries to sort items, but a few of them are misplaced

Microsoft PowerToys version
0.49.1
Running as admin

[X] Yes

Area(s) with issue?
PowerRename
Steps to reproduce
select some files (50 in my case) that are sorted to try to enumerate them
✔ Expected Behavior
sorted as selected in the explorer
❌ Actual Behavior
files offsetted

Selectring the folder itself solves the issue, but it's still there when I select items indivitually
Other Software
No response

Duplicate of #14288

Thanks for reporting this. This issue is a duplicate.
I'm linking this issue to #14288 to centralize the discussion thread for tracking.
Thanks for your help to make PowerToys a better piece of software!

Thanks for reporting this. This issue is a duplicate. I'm linking this issue to #14288 to centralize the discussion thread for tracking.
Thanks for your help to make PowerToys a better piece of software!

I saw the previous post, but I saw that the results are shifted (a few first items are at the end) and that it doesn't apply to folders, so it may be a hint about what's going on, like an additional info about the bug.


In WControl._set control focus_mode

When widget focus_mode is set, propagate to all nodes below.

This cannot be done since user might add child nodes to a widget on Editor or via code, affecting them unintentionally.


Ci cd testing

Description
Please explain the changes you made here.
Checklist

[ ] Created tests which fail without the change (if possible)
[ ] Extended the README / documentation, if necessary

Issue(s)
[Fixes] #<issue_number>

gonna close this because it's superseded.


Mojs prevent Angular from updating the view when model changed

Mojs prevent Angular from updating the view when model changed.

Angular:

5.x

Mojs

//cdn.jsdelivr.net/mojs/latest/mo.min.js

Code:  <app-root></app-root>
  <script src="//cdn.jsdelivr.net/mojs/latest/mo.min.js"></script>
  <script src='//cdn.jsdelivr.net/mojs-player/latest/mojs-player.min.js'></script>

detail
Everytime I updated the model of Angular components, the view was not updated until I click on the view.But if I delete the HTML below, it works.
    <script src="//cdn.jsdelivr.net/mojs/latest/mo.min.js"></script>
    <script src='//cdn.jsdelivr.net/mojs-player/latest/mojs-player.min.js'></script>

Sounds like some problem with your build system. But would need more info what you mean by not updating  the view. Does mojs prevent your angular application to hot reload while saving a change in your code editor?
Can you try to embed the mojs script in your build system instead of linking it to a cdn?
Hadn't work with angular so not sure if their is some problem with the mojs library, but I  believe the problem is how you implement it.

Hi @wangzhenhui1992,
Did you fixed your issue with Angular + mojs?

Hi @wangzhenhui1992,
Did you fixed your issue with Angular + mojs?

@xavierfoucrier No, I have given up it....


Can't catch unhandled promise rejection

Since Atom 1.0.18, we can't use
process.on('unhandledRejection', ...)

to catch unhandled rejections.
How to reproduce: in console of latest Atom build, type in
setTimeout(function(){Promise.reject(1)}, 100)

And verified we get following errors:

whereas It is supposed be something like
``'Unhandled promise rejection %o with error: %o', promise, error)```
according to https://github.com/atom/atom/blob/0a67cb97298eadd16a1d2fae91f9c40566cb879b/static/index.js#L13

Reproduced on Atom 1.0.19, Windows 10 x64.

cc @maxbrunsfeld as we are losing track of unhandled promises.


Extending the semantic search with ANN tutorial to images?

I really like the tutorial on Semantic Search with Approximate Nearest Neighbors and Text Embeddings. I think a sister tutorial covering the same things for images might be good for developers.
I am skeptical about how well random projection (the dimensionality reduction technique used in the tutorial) would play out with precomputed image features (with a pre-trained network) but I am hopeful. What do you folks think?

Thank you for the proposal, Sayak! We can add a comment to this issue once such a tutorial has been published.


Crash on startup 1.20.1

Enabling Ferritocore v6.0.1 in my modded instance crashes on startup.
Crashlog: https://mclo.gs/0mm0dvc
Full log: https://mclo.gs/uDLwPm2

Is the pack you are using available on CF/MR? The "usual" cause for this is a bug in another mod. If I have the modpack I can find the problematic mod fairly easily, but only by using some "advanced" tools. Otherwise binary search on your mods is probably the only way to find the right mod.


Shader fails to compile when its material is specified in model's import settings

[Worker0] Shader error in 'DELTation/Toon Shader': Couldn't open include file 'Packages/com.deltation.toon-shader/Assets/DELTation/ToonShader/Shaders/ToonShaderInput.hlsl'. at line 198

Restarting the project resolved the issue.


chore: add support for Tokenizer

Adding support for tokenizers of type Tokenizer (to support Cohere) https://app.shortcut.com/galileo/story/8963
The class from tokenizers import Tokenizer is a performant implementation of lots of popular tokenizers https://github.com/huggingface/tokenizers. It is implemented in Rust with bindings in Python.
The class from transformers import PreTrainedTokenizerFast seems more popular as it integrates easier with transformers and many trained tokenizers have this type https://huggingface.co/docs/transformers/v4.33.2/en/main_classes/tokenizer#transformers.PreTrainedTokenizerFast.
We first implemented support for PreTrainedTokenizerFast and require support for Tokenizer (in particular for Cohere). It turns out a Tokenizer can be converted into a PreTrainedTokenizerFast, so that's what we'll use for now since it allows minimal code change. We can think about a more general solution if we'll need to support more general tokenizers

The failing test is due to an ultralytics (for OD) upgrade that will be fixed here https://github.com/rungalileo/dataquality/pull/798

Codecov Report
Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (87e1235) 86.70% compared to head (b7befa0) 86.67%.

Files
Patch %
Lines

tests/conftest.py
40.00%
3 Missing :warning:

tests/integrations/seq2seq/test_hf.py
94.73%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #797      +/-   ##
==========================================
- Coverage   86.70%   86.67%   -0.03%
==========================================
  Files         195      196       +1
  Lines       15459    15486      +27
==========================================
+ Hits        13404    13423      +19
- Misses       2055     2063       +8

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


module.json reflects minimum Foundry version to 11 but the module is not shown beyond 1.3.1

Summary
So at first I thought that was the last version available for Foundry v11 (I'm playing Pathfinder 1e) but after checking the module.json seems to be that minimum is 11 not 12 but that version is not downloadable from Foundry packages.

So it does. I have corrected that now and it will be properly reflected going forward.
Version 12 is required, as I only test in the latest version.