add dependency for modelscope

We find that the latested prebuilt whl or Executable Installer do not contain the modelscope module.
To import modelscope, I add the modelscope dependency in the pyproject.toml and I guess this may install the modelscope module when building nexaai. If there are any other places where the modelscope dependencies need to be added, please let me know. And thank you for updating the whl and Executable Installer to the version that support model downloading from ModelScope.

@mi804 Thanks for your contribution


Remove BCL Dependency

Would it be possible to remove the dependency on BCL? The Azure SDK 2.4 has a bug in it which loses the web.configs if built with BCL. Since 4.5 apps don't need BCL, it would be great not to take this dependency.

We are in the process of migrating to the AutoRest generator. The BCL dependency will only be pulled in with the downlevel NuGet packages.


Obtain url matchers for both spring and spring-boot endpoints.

Read the contribution guidelines
Include a reference to a related issue in this repository
A description of the changes proposed in the pull request

Coverage decreased (-0.5%) to 29.087% when pulling 1a6204929ee80cb9396fe70410f1e932763493d1 on fix/monitoring-all-endpoints into ff176275a0d435fe47dbb9f84dba91dc7632a64e on master.


No support for shortcuts such as copy/paste?

Hi,
Notedown is exactly what I am looking for. After a short try it turned out, that copy/paste (cmd + c/v) doesn't work. Is this a bug or the desired behaviour?
Hope you keep up the work!
Christoph

Hey mate,
Cheers,
What OS are you running on? Sounds like OSX
I'll check it out when I get a chance to jump on my OSX machine - the shortcut keys are working on Win32/Linux.

Yep, OSX Mavericks.
I googled around and it seems to be a known issue: https://github.com/nwjs/nw.js/issues/1955

Thanks for the feedback - looks like there's a fix.
I'll jump on my OSX machine and have a play and patch it.

Fixed with df0fe3224966e15a330235686a70ff2afbbca67e.
Cheers for the help.


Wrong assumptions on SCTP data chunk and design issue..

In one SCTP package we can have multiple SCTPData chunks. The current code doesn't support it and will provide all other chunks as payload. I removed the special case of decodeSCTPChunk and then put a Payload into the SCTPData struct. One issue is that the test data is kind of invalid...
The fundamental issue is that the structure of SCTP is like this.
   IP
  SCTP
  SCTPDataChunk
     Payload
  SCTPDataChunk
     Payload

While p.NextDecoder will just be linear. We would need to have some kind of special "Payload" so we can jump to the next SCTPDataChunk. Alternatively be always eager for SCTP...

Would it make sense for SCTPDataChunk to just have a []byte to its data, then it could return the next SCTPDataChunk immediately after?

Yes, that would be the easiest (and how I patched gopacket) locally. But I don't know if "Payload" has significance for other users gopacket? E.g. if code should work transparently for tcp and sctp then someone might have written something like the below code? Should this continue to work?
for _, layer := ranges packet.Layers() {
    if payload, ok := packet.(Payload); !ok {
      continue
    }
}


No visible @interface for 'PortInfo'

After adding, the plugin and following star guide to add frameworks to the project I get the following error

no visible @interface for 'PortInfo' declares the selector 'isConnected'

I got this error using both ios 3.9.2 and 4.*, andy idea what I did wrong?

at last i get it figured to import the framework but now i faced this problem  spent the last 48 hours working on this and no result really need a solution please help

solved it at last just remove ios platform then add it while u have the plugin then add the framworks and it will run
but man the owner need to update the demo :)

I actually got this working by only adding StarIO.framework and StarIO_Extension.framework and not adding the SMCloudServices.framework and also commenting out the line [dict setObject:[NSNumber numberWithBool:[portInfo isConnected]] forKey:@"isConnected"]; in the portInfoToDictionary

@auctifera-josed well then since u have been using this long time before me can i ask u how to print the logo ?? am used to do it in epson printer by configuring the printer to print the logo after every cut but here i dont know where to do it... i know its out of the subject but really need to do it and am desperate
thanks

Hi @warbadev, haven't get around to use images yet (if that's what you mean by 'logo') but probably will soon, you can check my plugin

@auctifera-josedi checked it looks fine but still my problem is there no support to print the logo there pls if u can do it asap u will be my savior 😊


Upload Dataset Part 4 [Delete Dataset/Cancel Upload]

Design: https://www.figma.com/file/g0L0CfVzRc8r6HQa4NH1wJ/Publisher-Collection?node-id=493%3A225
What:
After finishing this PART 4 ticket, the user will be able to delete/cancel a dataset
Delete Dataset
No need to do delete collection

Render the dataset entry as a row, as shown in design here -- Please double check with @hthomas-czi this is the correct design 🙏

API doc is here - to delete a dataset, call the DELETE endpoint

BE tickets here

User Flows:

Notice that the trash can button at the dataset row, on hover will expand and show text "Delete" in addition to the icon (please reach out to Harley if the mock doesn't reflect this hover behavior)

On trash can / delete button click, we show a confirmation modal as a checkpoint

Once user decides again to delete, we send a POST call to backend. If we get success response, we refetch all datasets, and the pending delete dataset should no longer be displayed

Please note that since cancel also hits the same DELETE endpoint, we'll also implement the cancel flow in this ticket!

Refinement note from @tihuan - 706 (Delete / Cancel Dataset) has a slight coupling with 705, because of the conversion cancellation trash can. But I think all three tickets can still be done in parallel, and I can create an integration ticket between 705 and 706 for 1 point, if we end up parallelizing 705 and 706!


Background tooltip of svg track does not have the right size

When hovering track below the presence absence matrix a tooltip with both text and background appears. This background does not fit the actual size of the text that is displayed.
For now the text is preprocessed in a canvas, then the size of that text is used to determine the size of the background and there is no direct link with the size of the displayed svg text.
We could either try to fix this (maybe some CSS conflicts ?) or modify the tooltips to use html tooltips instead of svg ones.

Solved with commit 9c56430f


First generic Meta-Model in Nevergrad

Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Motivation and Context / Related issue
Meta-models are very cool and cheap (in the worst case it does not work and you use something else).
Very naive version. No idea if it's good at anything.
How Has This Been Tested (if it applies)

Checklist

[x] The documentation is up-to-date with the changes I made.
[x] I have read the CONTRIBUTING document and completed the CLA (see CLA).
[x] All tests passed, and additional code has been covered with new tests.

Code looks ok to me, tests running to see if this performs well on illcondi and illcondipara.


Update README with information about blockify-legacy AUR package.

As mentioned on AUR

Good stuff, thanks mate!

No problem!
On Wed, 11 May 2016 13:36 Max Falk<EMAIL_ADDRESS>wrote:

Merged #103 https://github.com/mikar/blockify/pull/103.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/mikar/blockify/pull/103#event-657036352


nativeBars - use themeEditors colors

Cobalt Android is not using the good theme colors. We should match the colors visible in the theme editor of the new Android Studio.
Update cobalt theme to use them

roxane.paurobally [9:33 AM, today]
I finished this issue. it will need some tests/review before merging it

assigned to @Doc1faux for review :)

I have implemented a mix between @xarone & @Myrdhinn ways, fixing some attribute issues on specific versions and some parsing and integrated it in Cobalt, modifying a bit the code of bars handling & font handling.


PhotoKit crash

Hi guy,
I'm facing problem when I get images use PhotoKit.

Sometime, I didn't get image with real device.

Hi @buithuyen, too much memory is being allocated, it's obviously a video data. DFPhotosKitImageFetcher does not support assets with PHAssetMediaTypeVideo type, however demo project was trying to display them anyway. I've added a predicate to change that:
PHFetchOptions *options = [PHFetchOptions new];
options.predicate = [NSPredicate predicateWithFormat:@"mediaType == %d", PHAssetMediaTypeImage];
PHFetchResult *assetsFetchResults = [PHAsset fetchAssetsInAssetCollection:moment options:options];

I would consider adding support for video assets in future versions, thanks for your question :)

See #77

I hope that you support video assets soon. Thanks for your help!

Be aware, that you should stick with PHImageManager whenever possible. Use DFImageManager when:
a) you need to display images from Photos, network (and other sources) on the same screen
b) you need to play animated GIFs from Photos


Oauth fix

In case logging in with OAuth tries to generate a conflicting user account, try to generate a unique value for the login field.
We can't deduplicate emails, and we definitely can't be sure that<EMAIL_ADDRESS>on our site is the same person as<EMAIL_ADDRESS>on Facebook, so that duplication is still a failure. But now we're telling the user about it and chance are it is the same person who just forgot they already had a normal account.

LGTM, merging


Swagger annotations for AsyncAPI

Is Swagger core would be envisaging accepting contribution to support annotations for the Async API specification ?
See https://www.asyncapi.com/
The idea is to fully leverage the Swagger existing capabilities about REST to be applied to Async APIs, with the "io.swagger.v2.aas" package name.
Thanks.

@ludovic-pourrat supporting AsyncAPI is for sure interesting, and any contribution is welcome; unfortunately I think that many modules would need to be implemented alongside the current ones, with some code reuse but also mainly new implementations, e.g. it would need new models, new annotations (even if some could be reused), probably an extended reader at least, as well as model resolver.
Said that, if you have a plan in mind please go ahead, and let me know about any question

@frantuma I am currently sketching out a plan to figure out a design about implementing it, I will submit something for feedback / comments before prototyping it.
Thanks.

Hi,
I have successfully implemented a proof-of-concept to validate this feature within a Spring boot JMS application annotated with Swagger Async annotations and using a dedicated Springdoc implementation for Async.
With this approach, the JMS micro service is capable to expose an endpoint to fetch the generated Async API specification.
Swagger Async Project Definition
Group Id io.swagger.async.v2
Name swagger-async
Package io.swagger.v2.aas.annotations
Modules

swagger-annotations
swagger-models
swagger-core
swagger-integration

Links
https://springdoc.org/
https://www.asyncapi.com/
If stepping further, I will coordinate the extension on Springdoc, and referencing of this feature to Async API community.
Looking forward to feedbacks.

Hi any feedbacks ?

Hi, sorry for late response, missed this. If I get this correctly your plan is to add separate modules for asyncapi within swagger-core or as a separate project as mentioned in your comment, which sounds good I guess; I am not sure if you have anything shareable (as you mention you have a POC), a good way to proceed might be implementing this in a branch/PR and see how it goes. Please let me know what you think

@frantuma works for me that way, I will proceed soon.

hi All,
is the asyncAPI implemented? i used the springwolf and there is some mismatch for the discriminator field, which AsyncAPI expecting to have it plain, however swagger 3 is generating object, so, this makes an issue.
AsyncAPI expectation:
"discriminator" : "petType"
Swagger API generation as follows:
"discriminator": {
"propertyName": "petType"
}
is there any workaround or option to modify this from swagger object/generation itself?
My Best Regards


When will you make a release that includes this fix?

@bugsnag/browser still hasn't been released with this fix.
when will you guys cut a release?
https://github.com/bugsnag/bugsnag-js/blob/ec5765492960c42a3ccc3858c7ecb0c888e3474e/packages/plugin-inline-script-content/inline-script-content.js#L24

Released this in v6.4.1 – thanks for waiting!


Security issue

Hi,
Anyone access http://localhost:8000/filemanager/index.html to manipulate files. What is your suggestion to secure it.

It's already secure, did you try it ?

Yes you are right.
Thanks.


local directory (module) appeared on nate's machine

not sure why... seems like a full copy of app.

I deleted and committed. should be gone.


Fix typo in 11.transactional-outbox.md

"Activities" was spelled incorrectly in 11.transactional-outbox.md.

Fixed when editing other files.


[multistage] QueryRunnerTest tear down takes 10sec (default timeout)

this very likely indicates some type of resource leak when issuing purposefully malicious queries, which is some of the test cases in this class do
need investigate on whether this is a test setup issue or an actual resource leak in main/prod code.

yes we should do a framegraph dump and see what's the time spent during the tearDown() process (e.g. is it on server executor or mailbox service or the scheduler async wait. once we ident we should be able to figure out which step is stuck cleaning stuff up.
The fact that it only happens to the QueryRunnerTest but not the ResourceBasedQueriesTest is also interesting to see which query actually is causing the tear down to be slow


VidLii.com extractor broken

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I'm running yt-dlp version 2023.06.22 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
Any
Provide a description that is worded well enough to be understood
It seems like it isnt parsing the final mp4 url correctly.
for example i get the following error,
ERROR: unknown url type: '/usfi/v/wwoNFgzQZoG.buV_uDhvqV0H2sKNuM9f6v8dxfy9Te5sPpUOJRa9fw9yQ_3Ky8xwTdDUpWh3nMpTouVvl-wJRDU9csPP.mp4'

i dont know how this specific extractor works but it seems like a fix woud be an easy fix, just append the proper url scheme before the final mp4 url that is to be downloaded.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[chuck@archlinux ~]$ yt-dlp --version
2023.06.22
[chuck@archlinux ~]$ yt-dlp -vU https://www.vidlii.com/watch?v=wwoNFgzQZoG
[debug] Command-line config: ['-vU', 'https://www.vidlii.com/watch?v=wwoNFgzQZoG']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[812cdfa06]
[debug] Python 3.11.3 (CPython x86_64 64bit) - Linux-6.3.9-arch1-1-x86_64-with-glibc2.37 (OpenSSL 3.1.1 30 May 2023, glibc 2.37)
[debug] exe versions: ffmpeg 6.0 (setts), ffprobe 6.0
[debug] Optional libraries: certifi-2023.05.07, sqlite3-2.6.0
[debug] Proxy map: {}
[debug] Loaded 1851 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>yt-dlp is up to date<EMAIL_ADDRESS>[VidLii] Extracting URL: https://www.vidlii.com/watch?v=wwoNFgzQZoG
[VidLii] wwoNFgzQZoG: Downloading webpage
ERROR: unknown url type: '/usfi/v/wwoNFgzQZoG.buV_uDhvqV0H2sKNuM9f6v8dxfy9Te5sPpUOJRa9fw9yQ_3Ky8xwTdDUpWh3nMpTouVvl-wJRDU9csPP.mp4'
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/yt_dlp/YoutubeDL.py", line 1555, in wrapper
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/yt_dlp/YoutubeDL.py", line 1631, in __extract_info
    ie_result = ie.extract(url)
                ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/yt_dlp/extractor/common.py", line 708, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/yt_dlp/extractor/vidlii.py", line 74, in _real_extract
    if self._request_webpage(HEADRequest(source), video_id, f'Checking {height}p url', errnote=False):
                             ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/urllib/request.py", line 322, in __init__
    self.full_url = url
    ^^^^^^^^^^^^^
  File "/usr/lib/python3.11/urllib/request.py", line 348, in full_url
    self._parse()
  File "/usr/lib/python3.11/urllib/request.py", line 377, in _parse
    raise ValueError("unknown url type: %r" % self.full_url)
ValueError: unknown url type: '/usfi/v/wwoNFgzQZoG.buV_uDhvqV0H2sKNuM9f6v8dxfy9Te5sPpUOJRa9fw9yQ_3Ky8xwTdDUpWh3nMpTouVvl-wJRDU9csPP.mp4'

diff --git a/yt_dlp/extractor/vidlii.py b/yt_dlp/extractor/vidlii.py
index 5933783ae..cde4274d9 100644
--- a/yt_dlp/extractor/vidlii.py
+++ b/yt_dlp/extractor/vidlii.py
@@ -70,6 +70,7 @@ def _real_extract(self, url):
             r'src\s*:\s*(["\'])(?P<url>(?:https?://)?(?:(?!\1).)+)\1',
             webpage) or []]
         for source in sources:
+            source = urljoin(url, source)
             height = int(self._search_regex(r'(\d+).mp4', source, 'height', default=360))
             if self._request_webpage(HEADRequest(source), video_id, f'Checking {height}p url', errnote=False):
                 formats.append({


Feature request: Remove YI Logo in lower left corner of video / foto

I would like to have an option to disable the "YI" logo / watermark in lower left corner of the video / foto.
Many thanks for the great software,
Dennis

See this: https://github.com/roleoroleo/yi-hack-Allwinner/issues/34

Thanks for the link, I used the white image from: https://github.com/roleoroleo/yi-hack-Allwinner/issues/34#issuecomment-629753507
I hope there will be an option to completely remove this watermark soon.

I think it will not be possible.


APIs fail for repo names which contain the string .asp

I discovered a bug in the repos endpoint. If the repo name contains the string .asp this causes the request to 403. Eg:
https://drone.<companyName>.com/api/repos/<ownerName>/abc.aspectj
We have a repo with the name org.aspectj and this causes issues with fetching information and build info for this repo.
If a repo name is not found, the api usually returns a 404. For example these calls return a 404:
https://drone.xxx.com/api/repos/ladybug/org.as
https://drone.xxx.com/api/repos/ladybug/org.asa
https://drone.xxx.com/api/repos/ladybug/org.asb
https://drone.xxx.com/api/repos/ladybug/org.asc

But these return a 403:
https://drone.xxx.com/api/repos/ladybug/org.asp
https://drone.xxx.com/api/repos/ladybug/org.aspabc
https://drone.xxx.com/api/repos/ladybug/abc.asp
https://drone.xxx.com/api/repos/ladybug/junk.aspjunk

My guess is that there's some firewall rule or other security feature that checks for any urls that contain .asp and blocks these requests.

Hi @sid-propelo is the issue still there? can you log out and log back that would refresh the credentials?
Did you check if you have enough permissions to push?
Can you elaborate your usecase?
Thanks!


WIP: Remoteworkitem Tracker Refactor

Remoteworkitem: Tracker Refactor
Partially fixes issue #1681

@DhritiShikhar snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1722-1

@baijum @pranavgore09 can you please review this pr?

Codecov Report

Merging #1722 into master will decrease coverage by 0.23%.
The diff coverage is 56.73%.

@@            Coverage Diff            @@
##           master   #1722      +/-   ##
=========================================
- Coverage   57.13%   56.9%   -0.24%
=========================================
  Files         128     128
  Lines       14776   14755      -21
=========================================
- Hits         8443    8397      -46
- Misses       5679    5697      +18
- Partials      654     661       +7

Impacted Files
Coverage Δ

design/media_types.go
0% <ø> (ø)
:arrow_up:

remoteworkitem/scheduler.go
61.22% <0%> (-2.05%)
:arrow_down:

design/user_types.go
0% <0%> (ø)
:arrow_up:

remoteworkitem/trackeritem_repository.go
71.65% <100%> (ø)
:arrow_up:

remoteworkitem/remoteworkitem.go
77.21% <100%> (ø)
:arrow_up:

migration/migration.go
76.08% <100%> (+0.09%)
:arrow_up:

controller/tracker.go
56.52% <53.96%> (+6.52%)
:arrow_up:

remoteworkitem/tracker_repository.go
63.54% <54.71%> (-19.91%)
:arrow_down:

remoteworkitem/trackerquery_repository.go
83.13% <90%> (+5.91%)
:arrow_up:

models/transaction.go
36.36% <0%> (-27.28%)
:arrow_down:

... and 9 more

Continue to review full report at Codecov.

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

@DhritiShikhar snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1722-2

@DhritiShikhar snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1722-3

@DhritiShikhar snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1722-5

@DhritiShikhar snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1722-6

@DhritiShikhar snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1722-7

@DhritiShikhar snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1722-8

@DhritiShikhar snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1722-9

@DhritiShikhar snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1722-10


building error, tensorflow master, with bazel 0.4.5, Cuda 8.0, Cudnn 6, Nvidia p100 pci, Ubuntu 16.04

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): 16.04
TensorFlow installed from (source or binary): source
TensorFlow version (use command below):   ('v1.1.0-rc2-221-g48d9915', '1.1.0-rc2')
Bazel version (if compiling from source): 0.4.5
CUDA/cuDNN version: 8.0/6
GPU model and memory: P100 PCI - 16 GB
Exact command to reproduce:
bazel build --config=opt --config=cuda //tensorflow/tools/pip_package:build_pip_package

python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
./tensorflow/core/util/tensor_format.h(58): warning: missing return statement at end of non-void function "tensorflow::GetTensorFeatureDimIndex"
./tensorflow/core/util/tensor_format.h(71): warning: missing return statement at end of non-void function "tensorflow::GetTensorSpatialDimIndex"
ERROR: /root/tensorflow/tensorflow/contrib/verbs/BUILD:135:1: C++ compilation of rule '//tensorflow/contrib/verbs:rdma' failed: crosstool_wrapper_driver_is_not_gcc failed: error executing command external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -fPIE -Wall -Wunused-but-set-parameter ... (remaining 151 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 1.
tensorflow/contrib/verbs/rdma.cc: In member function 'virtual void tensorflow::RdmaTensorBuffer::SendNextItem()':
tensorflow/contrib/verbs/rdma.cc:785:11: error: 'struct tensorflow::WorkerSession' has no member named 'rendezvous_mgr'
->rendezvous_mgr->RecvLocalAsync(step_id, parsed, cb);
^
Target //tensorflow/tools/pip_package:build_pip_package failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 252.968s, Critical Path: 205.52s
Thanks

Closing in favor of #9752.


UofT-DSI | Production - Assignment 1

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
complete the assignment
What did you learn from the changes you have made?
How to process/modify/use dask data frames
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
none.
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
yes. I struggled... very much. Spent my entire Saturday on this.
How were these changes tested?
vscode
A reference to a related issue in your repository (if applicable)
n/a
Checklist

[x] I can confirm that my changes are working as intended

a1: incomplete
Please comment:
-Was it necessary to convert to pandas to calculate the moving average return? -Would it have been better to do it in Dask? Why?

Was it necessary to convert to Pandas? Yes, converting to Pandas was necessary because Dask's moving average calculation ran inefficiently (I tried about 6 different versions of my code and all of them would run without completing or erroring out due to running out of memory - leak?), stalling or taking hours and hours without completing, while Pandas completed the task effectively.
Would it have been better to do it in Dask? In my case with my code, no. Dask’s parallel processing is beneficial for larger-than-memory datasets, but it adds overhead for smaller data or simpler tasks. Pandas performed better for me, perhaps due to its optimized in-memory operations.
I understand the goal was to use Dask, but it refused to work for me for some reason i could not resolve after 9 hours of troubleshooting (and I tried running it on an even more powerful system without luck).  I know that one might use Dask for very large datasets or complex computations that benefit from parallel processing and don’t fit into memory, as Dask can handle data in chunks across multiple cores or clusters, but for me, the opposite was happening. Alas, put simply, it was not working when Pandas was, despite a great deal of effort to try.


add html tree to home page and style it with tailwindcss

the work was reviewed by @SeifEleslam  and everything was in order as the task was


[Feature request] rotate image by two fingers

Can we add a new feature that allows user to rotate the image by two fingers? The gesture is, put a finger on the screen as the center of a "divider", then draw an arch using another finger. It's very cool and useful, isn't it?

As far as I understand, this is supported? It sounds like you are just describing pinch zoom

@Jawnnypoo No, the key feature is rotating the image. It seems that PhotoView allows user to zoom in/out an image but not to rotate it.

Ohhh, right. Rotation is out of the scope of this library. Feel free to make a pull request if you have an idea of how to achieve it, but it will not be added


cleanup: docs: remove temporary inline styles

NOT ready for merge (see below)
Some inline <style> tags were temporarily added to the documentation because the documentation-stylesheets where not yet updated to the latest version (see https://github.com/docker/docker/pull/11231 and
https://github.com/docker/docker/pull/11229#issuecomment-77698868).
This removes those temporary <style> tags.
depends on #11230

ping @moxiegirl here's the PR that can be merged after the CSS issue is resolved.

LGTM

LGTM - @docker/docs-owners (for whenever you guys think its ready to merge)

^^ depends on https://github.com/docker/docker/issues/11230 (mentioning so it doesn't get accidentally merged)

oh man needs rebase then i will merge sorry @thaJeztah

@jfrazelle Was actually working at it right now. 5 minutes :)

@jfrazelle rebased. also fixed two code-blocks being indented twice.
BTW, noticed that Jenkins is acting weird, or is that on docs-only tests only?;
Linux:
time="2015-03-17T18:01:03-04:00" level=fatal msg="Post http:///var/run/docker.sock/v1.18/containers/26e266b6fd43e14675a895fba8960e93f022d6a247d829b77cd3c70351478a2b/wait:
write unix /var/run/docker.sock: broken pipe. Are you trying to connect to a TLS-enabled daemon without TLS?"

Windows:
time="2015-03-17T21:55:15Z" level=fatal msg="Get http://<IP_ADDRESS>:2357/v1.18/images/json: dial tcp <IP_ADDRESS>:2357: ConnectEx
tcp: No connection could be made because the target machine actively refused it..
Are you trying to connect to a TLS-enabled daemon without TLS?"

oop sorry that was me i was using the machine for something


Community Meeting May 31, 2022

At 11am Eastern, 8am Pacific, 3pm UTC; find your time
Video call link: https://meet.google.com/ohf-kwvd-mrp
Or dial: (US) +1<PHONE_NUMBER> PIN: 936<PHONE_NUMBER>#
More phone numbers: https://tel.meet/ohf-kwvd-mrp?pin=9361820877398
Or join via SIP<EMAIL_ADDRESS>Meeting recordings available on YouTube at https://www.youtube.com/channel/UCfP_yS5uYix0ppSbm2ltS5Q
This issue will collect prospective agenda topics. Add topics you'd like to discuss below!

Incoming issues: https://github.com/kcp-dev/kcp/issues?q=is%3Aopen+is%3Aissue+-label%3Acommunity-meeting+no%3Amilestone
0.5 Milestone topics

v0.6 sprint

Logo voting https://github.com/kcp-dev/kcp/issues/1021#issuecomment-1138901736

vendoring pkg/apis

Recording: https://www.youtube.com/watch?v=y7dboS3SF7U


Can't detect the length property of a string type

$ tsc --version
Version 2.0.3

Code
public static tryParseNumber(str: string = '', radix: number = 10, defaultValue: number = 0): number {
    var retValue = defaultValue;
    if (str !== null) {
      if (typeof str === 'String' && str.length > 0) {
        retValue = parseInt(str, radix);
        if (isNaN(retValue)) {
          retValue = defaultValue;
        }
      }
    }
    return retValue;
  }

Expected behavior:
This function should compile correctly
Actual behavior:
Gives error as follows:
(100,42): error TS2339: Property 'length' does not exist on type 'never'.

100th line is if (typeof str === 'String' && str.length > 0) {. When I remove the second comparison, with length, it works as expected.
Live example in TypeScript play. See the red squiggly beneath length.

if (typeof str === 'String' && str.length > 0)

is never true because typeof doesn't return String, it's string.

Please test that your code actually would work before filing a compiler bug?


FailedGetExternalMetric Warning for selenium KEDA- Unable to get external metric

Report
selenium keda is unable to get external metric which results in hpa failure
These are my K8s yaml using to scale chrome node on selenium hub on my Windows machine
https://github.com/DeepKandey/POMFramework/tree/master/k8s

Error Message
unable to get external metric default/s0-seleniumgrid-chrome/&LabelSelector{MatchLabels:map[string]string{scaledobject.keda.sh/name: selenium-chrome-scaledobject,},MatchExpressions:[]LabelSelectorRequirement{},}: unable to fetch metrics from external metrics API: rpc error: code = Unknown desc = error when getting metric values no matching metrics found for s0-seleniumgrid-chrome
Expected Behavior
It should get the metrics and should autoscale bases on the metricsbased
Actual Behavior
It does not get the metrics and should autoscale based on the metrics
Steps to Reproduce the Problem

Go to the below GitHub  and apply the manifests for hub and node deployment -> https://github.com/DeepKandey/POMFramework/tree/master/k8s
Hit the command kubectl describe hpa

Logs from KEDA operator
example

KEDA Version
2.10.1
Kubernetes Version
1.26
Platform
Other
Scaler Details
No response
Anything else?
No response

The issue is solved.

@DeepKandey Hi, how did you solve it? I get the same error.

I was passing the wrong selenium hub url. I added the namespace in the url so that keda metric server could access the selenium hub
For example
Http://Selenium-hub:4444
Http://selenium-hub.default:4444

just adding on to this since I had some issues too
http://user:pass@service-name.namespace:port


chore: bump SAST to 0.0.46

The --classes option SAST which was previously accepting a directory or a JAR file has now been replaced by a more generic --classpath option which is intended to be the standard Java classpath containing all the classes including the dependencies or self-contained JAR or WAR files with nested JAR dependencies.
The main goal is to make the SAST API more generic and able to work in the same way with Mariana Trench and Infer.
This changes the public API of the action code so we will need to create a different release tag to migrate the place where this code is used progressively.

Do we really need to make a new tag for just a renaming? Couldn't we temporarily accept both classes and classpath in the code while we update all usages to the latter?

@edoardopirovano
Yes, we can do this. I realized that I messed up my local commit and this PR should not pass the test because I forgot to update one of the files.

I think you need to thread through the new input here too: https://github.com/lacework/code-security-action/blob/0c00505fd2e29d37ba58a456306419676e921c39/action.yaml#L97

I think you need to thread through the new input here too:
https://github.com/lacework/code-security-action/blob/0c00505fd2e29d37ba58a456306419676e921c39/action.yaml#L97

Should I pass both classes and classpath here?

Should I pass both classes and classpath here?

Yes please.


Script for starting VS Code using correct dotnet

This adds startcode.cmd/ps1 scripts which are similar in nature to startvs variants. Most notably it effectively puts the .dotnet directory into consideration for searching for the appropriate .NET SDK for global.json.

Really, we should just set dotnet.dotnetPath in our repo-specific settings and never care about this again.

This only works though if you dont' install via MSI. Cause if you install via MSI then we don't populate the .dotnet folder. The advantage of this script is it's dirt simple and works with all sane ways the SDK is installed.

Cause if you install via MSI then we don't populate the .dotnet folder.

This is unfortunate :confused:. If we need to add this script, though, I'm going to ask you to write a bash version as well. Or we should just make it so we don't need this script by not using nightlies like we are right now.

You should just run restore then activate then code. It's only 3 commands Michael, how long could it take?

Or we should just make it so we don't need this script by not using nightlies like we are right now.

I'd agree to this but right now we're using nightlies and using VS Code is unreasonably hard. Every time I flip machines Code starts or stops working. This makes it work.

If we need to add this script, though, I'm going to ask you to write a bash version as well

Thats' fine. Willing to do that.


Add Information Card Component

Context
Develop a responsive Information Card component based on the provided design specifications. The card will display key details about services, grants, and web resources, and it will be reusable. These cards will be integrated into the app within a responsive layout and populated with available data.
Figma Design
Definition of Done

A fully functional responsive Information Card component.
The component should be reusable.
Static data should be stored in a separate file.
Alignment with the provided design specifications (layout, spacing, typography, colors).
The card layout adapts to various screen sizes.
Unit tests created and passed using Jest to verify the component’s functionality.
The Information Card component should be added to the component test library.

Engineering Details

Built with React and styled using Chakra UI
The component's content will be sourced from a data.ts file, which should be created to store all static data.

Nice write-up. Is the static data meant to be passed in via props?

Yes, I've added it in the Engineering Details, thank you :)


assets: replace old images and restructure asset directories

resolves #110 and resolves #111

Looks good! Can you do a small change here https://github.com/cod-ed/simulate/blob/80362e2af64c40dc22af36997c47257b88d06a6b/lib/src/simulations/epicycloid.dart#L115
to
animate ? ScreenUtil().setHeight(1600 / 4.0) : ScreenUtil().setHeight(1600 / 6.0)

Great work! Thanks!


Update sidebar glTF logo

Continuing conversation from https://github.com/AnalyticalGraphicsInc/gltf-vscode/commit/84a8891a58aaa23f32adce18f0e8268cdaed8883#r31672093
/cc @bghgary

The inner graphic here is about 34 x 20.  The doc wants square 28 x 28, but of course the glTF logo is not square.  So this is a little shorter vertically, and spills a bit horizontally.
The containing box has been corrected to 50 x 40 per the documentation.

Holding this to see if we can score an SVG version of the TF bug.

Actually I'm going to merge this since it's better than what's in master.  If/when we get a TF SVG, we can update again.

Continued in #140.


Create a code-snippets-v4 repository

Completed initial content and configuration: https://github.com/Senzing/code-snippets-v4/issues/1
@antaenc and @docktermj I didn’t copy over any existing python code, only the build config.


Implement Thanos for long-term storage of Prometheus logs

Long term storage of Prometheus metrics
For historical analysis and alerting on long-term trends, we can use Thanos

This is enabled by default so we don't need to do anything 🎉
https://mojdt.slack.com/archives/C03QZ776JVA/p1716386918954279


SSL Client Authentication - Server did not accept certificate

Hi AFNetworking community,
We're facing a big problem right now and took us a lot of days resolving but unfortunately none of the solutions applied were working and I'm already ran out of idea.
The problem is about iOS SSL Mutual Authentication (Client Certificate Authentication).
The certificates are self-signed and configured the app to allowInvalidCertificates = YES; validatesCertificateChain = NO; self.securityPolicy.validatesDomainName = NO;
policy PinningMode = AFSSLPinningModeCertificate;
We can connect to the server using https but the server is rejecting(did not accept) the client certificate, though both the server and the client certificates were created using the same private key. The certificates were provided by the client.
However, in contrast to this problem, the Android version of the app that were able to successfully connect and make an API call to the server.
Looking forward to your replies.
Please help.
Thank you
See below the variants of the work-arounds I applied with the logs next to them.
--- Using AFNetworking 2.4 Framework ----
I tried Both AFHTTPRequestOperationManager and AFHTTPSessionManager classes to connect the server using https. And applied some hacks to the AFNetworking Framework hoping to resolve the issue.
self.securityPolicy.validatesCertificateChain = NO;
self.securityPolicy.validatesDomainName = NO;
2015-05-08 13:11:39.819 project_name[2353:445912] CFNetwork SSLHandshake failed (-9824 -> -9829)
2015-05-08 13:11:39.887 project_name[2353:445912] NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9829)
2015-05-08 13:11:39.905 project_name[2353:445860] Erro https://<IP_ADDRESS>/api/0000/config The server “<IP_ADDRESS>” requires a client certificate.
self.securityPolicy.validatesCertificateChain = YES;
self.securityPolicy.validatesDomainName = NO;
2015-05-08 13:12:19.521 project_name[2358:446153] Erro https://<IP_ADDRESS>/api/0000/config The operation couldn’t be completed. (NSURLErrorDomain error -1012.)
self.securityPolicy.validatesCertificateChain = YES;
self.securityPolicy.validatesDomainName = YES;
2015-05-08 13:10:36.108 project_name[2348:445528] getBridgeConfigOnSuccess ---> https://<IP_ADDRESS>/api/0000/config
2015-05-08 13:10:36.555 project_name[2348:445528] Erro https://<IP_ADDRESS>/api/0000/config The operation couldn’t be completed. (NSURLErrorDomain error -1012.)
self.securityPolicy.validatesCertificateChain = NO;
self.securityPolicy.validatesDomainName = YES;
Result:
CFNetwork SSLHandshake failed (-9806)
2015-05-08 13:01:12.760 project_name[2342:444467] Erro https://<IP_ADDRESS>/api/0000/config The operation couldn’t be completed. (NSURLErrorDomain error -1012.)
hacked Framework to load the .p12 and extract certificates and private key pair
and evaluate with the remote certificate.
Result:
2015-05-08 13:14:42.679 project_name[2374:447023] CFNetwork SSLHandshake failed (-9825)
2015-05-08 13:14:42.751 project_name[2374:447023] NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9825)
2015-05-08 13:14:42.772 project_name[2374:446969] Erro https://<IP_ADDRESS>/api/0000/config The server “<IP_ADDRESS>” did not accept the certificate.
Compared the Data between certificates.
Result:
The hash length and contents did not matched.
By pass evaluation to forced app accept the certificate evaluation.
Result:
CFNetwork SSLHandshake failed (-9806)
2015-05-08 13:01:12.760 project_name[2342:444467] Erro https://<IP_ADDRESS>/api/0000/config The operation couldn’t be completed. (NSURLErrorDomain error -1012.)
--- Using iOS Network Framework NSURLConnection ---
Tried the built iOS SDK Network Framework(not AFNetworking Framework)
Based on this link: https://github.com/vanjakom/iOSplayground/blob/master/HttpSSLClient/HttpSSLClient/ViewController.m
Result:
2015-05-08 14:20:08.662 project_name[2486:458418] NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813)
2015-05-08 14:20:08.814 project_name[2486:458365] Did recieve error: The certificate for this server is invalid. You might be connecting to a server that is pretending to be “192.168.” which could put your confidential information at risk.
2015-05-08 14:20:20.850 project_name[2486:458365] {
NSErrorFailingURLKey = "https://<IP_ADDRESS>/api/0000/config";
NSErrorFailingURLStringKey = "https://<IP_ADDRESS>/api/0000/config";
NSLocalizedDescription = "The certificate for this server is invalid. You might be connecting to a server that is pretending to be \U201c192.168.\U201d which could put your confidential information at risk.";
NSLocalizedRecoverySuggestion = "Would you like to connect to the server anyway?";
NSURLErrorFailingURLPeerTrustErrorKey = "<SecTrustRef: 0x14e9b8e0>";
NSUnderlyingError = "Error Domain=kCFErrorDomainCFNetwork Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be \U201c192.168.\U201d which could put your confidential information at risk." UserInfo=0x14da6b70 {NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be \U201c192.168.\U201d which could put your confidential information at risk., _kCFNetworkCFStreamSSLErrorOriginalValue=-9813, _kCFStreamPropertySSLClientCertificateState=0, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorCodeKey=-9813, kCFStreamPropertySSLPeerTrust=<SecTrustRef: 0x14e9b8e0>, _kCFStreamErrorDomainKey=3, NSErrorFailingURLStringKey=https://<IP_ADDRESS>/api/0000/config, NSErrorFailingURLKey=https://<IP_ADDRESS>/api/0000/config}";
"_kCFStreamErrorCodeKey" = "-9813";
"_kCFStreamErrorDomainKey" = 3;
}
Tried the built iOS SDK Network Framework(not AFNetworking Framework)
Added a block to handle Client Certificate Authentication
Based on this link: http://www.sunethmendis.com/2013/01/11/certificate-based-client-authentication-in-ios/
Result:
2015-05-08 15:35:32.385 project_name[2687:475310] NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9825)
2015-05-08 15:35:32.390 project_name[2687:475260] Did recieve error: The server “192.168.” did not accept the certificate.
2015-05-08 15:35:32.394 project_name[2687:475260] {
NSErrorFailingURLKey = "https://<IP_ADDRESS>/api/0000/config";
NSErrorFailingURLStringKey = "https://<IP_ADDRESS>/api/0000/config";
NSLocalizedDescription = "The server \U201c192.168.\U201d did not accept the certificate.";
NSURLErrorFailingURLPeerTrustErrorKey = "<SecTrustRef: 0x15d524e0>";
NSUnderlyingError = "Error Domain=kCFErrorDomainCFNetwork Code=-1205 "The server \U201c192.168.\U201d did not accept the certificate." UserInfo=0x15ec5190 {NSLocalizedDescription=The server \U201c192.168.\U201d did not accept the certificate., _kCFNetworkCFStreamSSLErrorOriginalValue=-9825, _kCFStreamPropertySSLClientCertificateState=1, _kCFStreamErrorCodeKey=-9825, kCFStreamPropertySSLPeerTrust=<SecTrustRef: 0x15d524e0>, _kCFStreamErrorDomainKey=3, NSErrorFailingURLStringKey=https://<IP_ADDRESS>/api/0000/config, NSErrorFailingURLKey=https://<IP_ADDRESS>/api/0000/config}";
"_kCFStreamErrorCodeKey" = "-9825";
"_kCFStreamErrorDomainKey" = 3;
}

I'm sorry you're experiencing difficulties getting a solution to work for your particular use case. However, we don't use GitHub as a support forum. For usage questions, please try Stack Overflow. Otherwise, I would encourage you to consult the AFNetworking documentation as well as Apple's Foundation URL Loading System Programming Guide


DataFusion weekly project plan (Andrew Lamb) - Feb 26, 2024

Follow on to Feb 12, 2024
It would be great for other contributors to DataFusion who plan non trivial work could try to make them visible somehow as well 🙏  (feel free to copy / modify the format)
My Highlights from Last Week

We are beginning beginning the large scale "extract scalar functions from the core" : https://github.com/apache/arrow-datafusion/issues/9285
merged specialized group values for strings/binary https://github.com/apache/arrow-datafusion/pull/8827

My (personal) goals for this project
1000 projects are built using DataFusion 📈
My (personal) plans for this week

[x] Catch up on github alerts and reviews from last week
[x] Revise the proposal for a new top level project and start a vote thread: https://github.com/apache/arrow-datafusion/discussions/6475
[x] https://github.com/sqlparser-rs/sqlparser-rs/issues/1114
[x] Organize agenda for DataFusion meetup #8522

Project Queue (list of future projects)

[ ] SIGMOD paper feedback (I plan to work on this the week of March 4, 2024): #8373
)

Projects I plan to help actively help review / plan

[ ] https://github.com/apache/arrow-datafusion/issues/9171 with @appletreeisyellow (we need this for InfluxDB)
[ ] https://github.com/apache/arrow-datafusion/issues/9285 -- we are starting this work with @jayzhan211  and others
[ ] Improved planning speed https://github.com/apache/arrow-datafusion/issues/5637 with @matthewmturner
[ ] Hardening Recursive CTEs https://github.com/apache/arrow-datafusion/issues/462 with @matthewgapp (All that remains is to get memory limiting in place and we could enable this by default). If I don't see motion this week I'll probably file a ticket to track the remaining work explicitly.

Algorithm for (my) prioritizing PR reviews
Note there are many committers who can and do review and merge PRs, so this is not the priorities of the project as a whole, just the approximate algorithm I use to prioritize my own time
Priority:

Bug fixes (where something is just incorrect), especially regressions (where it used to work and now does not)
Improvements directly related to features needed for InfluxDB (my employer)
Documentation and test improvements (I view these as very strategically important)
PRs that I think are strategically important
Other new features / additions to functionality (note this is the lowest)

The top strategically important projects in my head are:

Anything that makes it easier to use DataFusion as a user (docs, examples, better APIs, etc), including Getting started guide for new users (who want to use DataFusion in their project)
Anything that improves DataFusion's quality such as bug fixes, and improved / expanded tests, etc
Making function packages modular and easier to mix/match: https://github.com/apache/arrow-datafusion/issues/8045
Improving performance of aggregation  - especially high cardinality groupings, where we still lag state of the art by 2x

Thus, if you are interested in contributing to DataFusion and are interested in a fast turn around time I would recommend looking into bug fixes / test improvements / documentation or the projects named above
If you propose adding new functionality, the review cycle will likely be longer. You can make it a shorter cycle by looking at the comments on other recent PRs and following the same model (e.g. ensure there are tests in sqllogictest for example, the CI passes, includes documentation, etc)
Background
The idea of this ticket is make my plans for DataFusion visible, largely for my own personal organizational needs, but also to:

Communicate / coordinate in the community
Help provide an interesting summary of what is happening in DataFusion this week

Review Queue
DataFusion:

[ ] https://github.com/apache/arrow-datafusion/pull/9307

DataFusion

[ ] https://github.com/apache/arrow-datafusion/pull/9352

SQLParser

[ ] https://github.com/sqlparser-rs/sqlparser-rs/pull/1145
[ ] https://github.com/sqlparser-rs/sqlparser-rs/pull/1140
[ ] https://github.com/sqlparser-rs/sqlparser-rs/pull/1144
[ ] https://github.com/sqlparser-rs/sqlparser-rs/pull/1146
[ ] https://github.com/sqlparser-rs/sqlparser-rs/pull/1136
[ ] https://github.com/sqlparser-rs/sqlparser-rs/pull/1135
[ ] https://github.com/sqlparser-rs/sqlparser-rs/pull/1137
[ ] https://github.com/sqlparser-rs/sqlparser-rs/pull/1138
[ ] https://github.com/sqlparser-rs/sqlparser-rs/pull/1141

DataFusion

[ ] https://github.com/apache/arrow-datafusion/pull/9015
[ ] https://github.com/apache/arrow-datafusion/pull/9304
[ ] https://github.com/apache/arrow-datafusion/pull/9352
[ ] https://github.com/apache/arrow-datafusion/pull/9343

SQLParser

[ ] https://github.com/sqlparser-rs/sqlparser-rs/pull/1146
[ ] https://github.com/sqlparser-rs/sqlparser-rs/pull/1135
[ ] https://github.com/sqlparser-rs/sqlparser-rs/pull/1137
[ ] https://github.com/sqlparser-rs/sqlparser-rs/pull/1138
[ ] https://github.com/sqlparser-rs/sqlparser-rs/pull/1141

DataFusion

[ ] https://github.com/apache/arrow-datafusion/pull/9304
[ ] https://github.com/apache/arrow-datafusion/pull/9396
[ ] https://github.com/apache/arrow-datafusion/pull/9343

SQLParser

[ ] https://github.com/sqlparser-rs/sqlparser-rs/pull/1150
[ ] https://github.com/sqlparser-rs/sqlparser-rs/pull/1151
[ ] https://github.com/sqlparser-rs/sqlparser-rs/pull/1152
[ ] https://github.com/sqlparser-rs/sqlparser-rs/pull/1153
[ ] https://github.com/sqlparser-rs/sqlparser-rs/pull/1154
[ ] https://github.com/sqlparser-rs/sqlparser-rs/pull/1155
[ ] https://github.com/sqlparser-rs/sqlparser-rs/pull/1156

Next week tracked in https://github.com/apache/arrow-datafusion/issues/9453


server-side does not render

other elements are returned by server side, but only 'el-table' wat not returned

table is so complexed. We can use ClientOnly to wrap it.
As far as I know, table doesn't support ssr yet. @jw-foss


Drop support for Scala 2.11

Scala 2.11 is costing us developer resources that we don't have, and as much as I'd like to maintain it, the ecosystem has moved on.

Cats no longer builds for 2.11
Cats-Effect no longer builds for 2.11
sbt has moved to Scala 2.12 some time ago
Spark has moved to Scala 2.12, finally

What sparked this desire is that publishing to Sonatype for Scala 2.11 is currently broken. This is because Scaladoc packaging fails on Scala 2.11.12, with the compiler crashing. And disabling Scaladoc packaging for Scala 2.11 is not possible, as it would fail when uploading to Sonatype b/c the staging servers on Sonatype require doc packages.

Current error message:
[error]
[error]   bad constant pool tag 19 at byte 57
[error]      while compiling: /Users/wp79lh/Projects/monix/monix/monix-reactive/shared/src/main/scala/monix/reactive/subjects/Var.scala
[error]         during phase: globalPhase=terminal, enteringPhase=parser
[error]      library version: version 2.11.12
[error]     compiler version: version 2.11.12
[error]   reconstructed args: -Ywarn-value-discard -d /Users/wp79lh/Projects/monix/monix/monix-reactive/js/target/scala-2.11/api -Ywarn-nullary-unit -sourcepath /Users/wp79lh/Projects/monix/monix/ -feature -Ypartial-unification -Xcheckinit -Ywarn-numeric-widen -unchecked -Yno-adapted-args -encoding utf8 -deprecation -Xlint:adapted-args -Xlint:nullary-unit -Xlint:inaccessible -Xlint:nullary-override -Xlint:infer-any -Xlint:missing-interpolator -Xlint:doc-detached -Xlint:private-shadow -Xlint:type-parameter-shadow -Xlint:poly-implicit-overload -Xlint:option-implicit -Xlint:delayedinit-select -Xlint:by-name-right-associative -Xlint:package-object-classes -Xlint:unsound-match -Xlint:stars-align -P:silencer:pathFilters=.*[/]src_managed[/].* -P:scalajs:mapSourceURI:file:/Users/wp79lh/Projects/monix/monix/->https://raw.githubusercontent.com/monix/monix/171946d158ce6e098cfb1558fd456aa355fe5bd3/ -Xplugin:/Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scala-js/scalajs-compiler_2.11.12/0.6.33/scalajs-compiler_2.11.12-0.6.33.jar -Xplugin:/Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/typelevel/kind-projector_2.11.12/0.11.0/kind-projector_2.11.12-0.11.0.jar -Xplugin:/Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/com/olegpy/better-monadic-for_2.11/0.3.1/better-monadic-for_2.11-0.3.1.jar -Xplugin:/Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/com/github/ghik/silencer-plugin_2.11.12/1.7.1/silencer-plugin_2.11.12-1.7.1.jar -Ywarn-nullary-override -explaintypes -language:implicitConversions -language:higherKinds -language:existentials -language:experimental.macros -classpath /Users/wp79lh/Projects/monix/monix/monix-execution/js/target/scala-2.11/classes:/Users/wp79lh/Projects/monix/monix/monix-eval/js/target/scala-2.11/classes:/Users/wp79lh/Projects/monix/monix/monix-catnap/js/target/scala-2.11/classes:/Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scala-js/scalajs-library_2.11/0.6.33/scalajs-library_2.11-0.6.33.jar:/Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/modules/scala-collection-compat_sjs0.6_2.11/2.1.6/scala-collection-compat_sjs0.6_2.11-2.1.6.jar:/Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/io/monix/implicitbox_sjs0.6_2.11/0.2.0/implicitbox_sjs0.6_2.11-0.2.0.jar:/Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/typelevel/cats-effect_sjs0.6_2.11/2.0.0/cats-effect_sjs0.6_2.11-2.0.0.jar:/Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/typelevel/cats-core_sjs0.6_2.11/2.0.0/cats-core_sjs0.6_2.11-2.0.0.jar:/Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/typelevel/cats-macros_sjs0.6_2.11/2.0.0/cats-macros_sjs0.6_2.11-2.0.0.jar:/Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/typelevel/cats-kernel_sjs0.6_2.11/2.0.0/cats-kernel_sjs0.6_2.11-2.0.0.jar -bootclasspath /Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.11.12/scala-library-2.11.12.jar -doc-external-doc:/Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.11.12/scala-library-2.11.12.jar#http://www.scala-lang.org/api/2.11.12/ -doc-external-doc:/Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scala-js/scalajs-library_2.11/0.6.33/scalajs-library_2.11-0.6.33.jar#http://www.scala-js.org/api/scalajs-library/0.6.33/ -doc-external-doc:/Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/typelevel/cats-kernel_sjs0.6_2.11/2.0.0/cats-kernel_sjs0.6_2.11-2.0.0.jar#http://typelevel.org/cats/api/ -doc-external-doc:/Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/typelevel/cats-core_sjs0.6_2.11/2.0.0/cats-core_sjs0.6_2.11-2.0.0.jar#http://typelevel.org/cats/api/ -doc-external-doc:/Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/typelevel/cats-macros_sjs0.6_2.11/2.0.0/cats-macros_sjs0.6_2.11-2.0.0.jar#http://typelevel.org/cats/api/
[error]
[error]   last tree to typer: Select(This(package subjects), Var)
[error]        tree position: line 83 of /Users/wp79lh/Projects/monix/monix/monix-reactive/shared/src/main/scala/monix/reactive/subjects/Var.scala
[error]             tree tpe: monix.reactive.subjects.Var.type
[error]               symbol: object Var in package subjects
[error]    symbol definition: object Var (a ModuleSymbol)
[error]       symbol package: monix.reactive.subjects
[error]        symbol owners: object Var
[error]            call site: method readResolve in object Var in package subjects
[error]
[error] == Source file context for tree position ==
[error]
[error]     80 }
[error]     81
[error]     82 object Var {
[error]     83   /** Builder for [[Var]] */
[error]     84   def apply[A](initial: A)(implicit s: Scheduler): Var[A] = {
[error]     85     new Var[A](initial)
[error]     86   }
[info] Main Scala API documentation to /Users/wp79lh/Projects/monix/monix/monix/js/target/scala-2.11/api...
model contains 1 documentable templates
[info] Main Scala API documentation successful.
[error] stack trace is suppressed; run last reactiveJS / Compile / doc for the full output
[error] (reactiveJS / Compile / doc) scala.reflect.internal.FatalError:
[error]   bad constant pool tag 19 at byte 57
[error]      while compiling: /Users/wp79lh/Projects/monix/monix/monix-reactive/shared/src/main/scala/monix/reactive/subjects/Var.scala
[error]         during phase: globalPhase=terminal, enteringPhase=parser
[error]      library version: version 2.11.12
[error]     compiler version: version 2.11.12
[error]   reconstructed args: -Ywarn-value-discard -d /Users/wp79lh/Projects/monix/monix/monix-reactive/js/target/scala-2.11/api -Ywarn-nullary-unit -sourcepath /Users/wp79lh/Projects/monix/monix/ -feature -Ypartial-unification -Xcheckinit -Ywarn-numeric-widen -unchecked -Yno-adapted-args -encoding utf8 -deprecation -Xlint:adapted-args -Xlint:nullary-unit -Xlint:inaccessible -Xlint:nullary-override -Xlint:infer-any -Xlint:missing-interpolator -Xlint:doc-detached -Xlint:private-shadow -Xlint:type-parameter-shadow -Xlint:poly-implicit-overload -Xlint:option-implicit -Xlint:delayedinit-select -Xlint:by-name-right-associative -Xlint:package-object-classes -Xlint:unsound-match -Xlint:stars-align -P:silencer:pathFilters=.*[/]src_managed[/].* -P:scalajs:mapSourceURI:file:/Users/wp79lh/Projects/monix/monix/->https://raw.githubusercontent.com/monix/monix/171946d158ce6e098cfb1558fd456aa355fe5bd3/ -Xplugin:/Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scala-js/scalajs-compiler_2.11.12/0.6.33/scalajs-compiler_2.11.12-0.6.33.jar -Xplugin:/Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/typelevel/kind-projector_2.11.12/0.11.0/kind-projector_2.11.12-0.11.0.jar -Xplugin:/Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/com/olegpy/better-monadic-for_2.11/0.3.1/better-monadic-for_2.11-0.3.1.jar -Xplugin:/Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/com/github/ghik/silencer-plugin_2.11.12/1.7.1/silencer-plugin_2.11.12-1.7.1.jar -Ywarn-nullary-override -explaintypes -language:implicitConversions -language:higherKinds -language:existentials -language:experimental.macros -classpath /Users/wp79lh/Projects/monix/monix/monix-execution/js/target/scala-2.11/classes:/Users/wp79lh/Projects/monix/monix/monix-eval/js/target/scala-2.11/classes:/Users/wp79lh/Projects/monix/monix/monix-catnap/js/target/scala-2.11/classes:/Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scala-js/scalajs-library_2.11/0.6.33/scalajs-library_2.11-0.6.33.jar:/Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/modules/scala-collection-compat_sjs0.6_2.11/2.1.6/scala-collection-compat_sjs0.6_2.11-2.1.6.jar:/Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/io/monix/implicitbox_sjs0.6_2.11/0.2.0/implicitbox_sjs0.6_2.11-0.2.0.jar:/Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/typelevel/cats-effect_sjs0.6_2.11/2.0.0/cats-effect_sjs0.6_2.11-2.0.0.jar:/Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/typelevel/cats-core_sjs0.6_2.11/2.0.0/cats-core_sjs0.6_2.11-2.0.0.jar:/Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/typelevel/cats-macros_sjs0.6_2.11/2.0.0/cats-macros_sjs0.6_2.11-2.0.0.jar:/Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/typelevel/cats-kernel_sjs0.6_2.11/2.0.0/cats-kernel_sjs0.6_2.11-2.0.0.jar -bootclasspath /Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.11.12/scala-library-2.11.12.jar -doc-external-doc:/Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.11.12/scala-library-2.11.12.jar#http://www.scala-lang.org/api/2.11.12/ -doc-external-doc:/Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scala-js/scalajs-library_2.11/0.6.33/scalajs-library_2.11-0.6.33.jar#http://www.scala-js.org/api/scalajs-library/0.6.33/ -doc-external-doc:/Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/typelevel/cats-kernel_sjs0.6_2.11/2.0.0/cats-kernel_sjs0.6_2.11-2.0.0.jar#http://typelevel.org/cats/api/ -doc-external-doc:/Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/typelevel/cats-core_sjs0.6_2.11/2.0.0/cats-core_sjs0.6_2.11-2.0.0.jar#http://typelevel.org/cats/api/ -doc-external-doc:/Users/wp79lh/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/typelevel/cats-macros_sjs0.6_2.11/2.0.0/cats-macros_sjs0.6_2.11-2.0.0.jar#http://typelevel.org/cats/api/
[error]
[error]   last tree to typer: Select(This(package subjects), Var)
[error]        tree position: line 83 of /Users/wp79lh/Projects/monix/monix/monix-reactive/shared/src/main/scala/monix/reactive/subjects/Var.scala
[error]             tree tpe: monix.reactive.subjects.Var.type
[error]               symbol: object Var in package subjects
[error]    symbol definition: object Var (a ModuleSymbol)
[error]       symbol package: monix.reactive.subjects
[error]        symbol owners: object Var
[error]            call site: method readResolve in object Var in package subjects
[error]
[error] == Source file context for tree position ==
[error]
[error]     80 }
[error]     81
[error]     82 object Var {
[error]     83   /** Builder for [[Var]] */
[error]     84   def apply[A](initial: A)(implicit s: Scheduler): Var[A] = {
[error]     85     new Var[A](initial)
[error]     86   }
[error] Total time: 61 s (01:01), completed 11 Aug 2020, 13:26:04

I'm fine with it, 2.11 users can always stay on 3.2.2 that seems to be solid.

Hmm... I'd like to still use monix with spark which is always quite far beyond.
Was pretty sure I'd get stuck trying to to make spark with 2.12...
But now checking release notes for 3.0 and seems this GA release has 2.12 support: https://spark.apache.org/releases/spark-release-3-0-0.html
This remains a concern to me and suggest this is important to others using Scala for big data applications.
Please advise.

I find the situation regrettable. The big issue is that our dependencies stopped supporting 2.11.
We would have to stay on older versions for Cats and Cats-Effect. And once Cats-Effect 3.0 hits the shelves, which is about the end of the year (by my own estimates), that's basically impossible.
Also I've bumped into the error above by upgrading to Scala 2.11.12 and Scala.js 0.6.33. Sjs 0.6.33 is probably the last in the 0.6.x line, and 1.x does not support 2.11. I don't know which of the upgrades are responsible, but we'd have to stay on older versions that still work, or invest resources in working around the issue (like starting to delete the problematic code or smth).
You can still stay 3.2.x for Scala 2.11, that version doesn't go away. You'd do the same with Cats too.

I think I know how to proceed, given I've figured out what caused #1231.
Due to the upcoming Cats-Effect 3.0, we need to start working on Monix 4.0 anyway. Therefore:

I renamed master to series/3.x (we'll no longer have a master)
I created a new series/4.x branch

We'll start breaking binary compatibility there.

#1230 was merged in series/4.x.


Catalog specifying parent name should be checked with circular dependency

we should check the inherit circle during create and update

Assigned to @RemindD , please fix this issue in your strengthen validation work.

@iwangjintian works with @linyguo to fix this.

Fixed in https://github.com/eclipse-symphony/symphony/pull/453


Initial samples

Adding the initial set of samples

Shall we add a sample Config.toml also or add a readme with those? Otherwise, some config formats are hard to derive, e.g. calendar:ListenerConfig

I added README.md files for three complicated samples. I will add README.md files for the remaining samples soon. Please review and merge if there are no other issues.


Can we please shut down fossasia-bot?

As discussed in https://github.com/fossasia/query-server/pull/349#issuecomment-347194797 @fossasia-bit generates a ton of superfluous messages that clutter the PR.  It assigns PRs to their author which as far as I can tell is both redundant and useless.  It then warns of conflicts which either echos information that GitHub has already provided or it is lying because there is no conflict.  It tells you if tests fail but GitHub, Travis, and Codasy already provide that data in a more consumable way.

Yep, I agree with you @cclauss

@cclauss the bot was meant as an experiment. I do agree it is a pretty chatty right now. But somethings like setting labels (needs review and ready to ship) is actually useful for big projects.
And the reason the bot comments the information already provide by GH is that many contributors fail to see the status updates provided by travis. But when the bot comments by mentioning their username, they get a notification and actually see the issue. Leading to a faster response from the PR creator.
Another useful function of the bot is moving issues from one repo to the other. Which is pretty damn useful in multi-repo projects.
But I do agree the bot is chatty. That could be fixed. Feel free to make a PR to https://github.com/niranjan94/github-automaton

It is a bummer that GitHub web UI does not allow contributors to set a few labels like needs review.  I think that humans can make that decision better than bots can.  I have written to GitHub on this topic several times but no positive response yet.  I do not see the value in adding the ready to ship label given that the status of the PR always changes at the same time.
Moving issues from one repo to another sounds cool but does not apply here.

Leading to a faster response from the PR creator.

I think we are reinforcing bad habits (ignoring test tools) and at the same time focusing on optimizing the wrong step in our process.  Our current issue is not that we are being too slow at creating PRs but that we are too slow at reviewing and merging PRs.  If I am reviewing PRs and I open #343 it is really difficult for me to evaluate if this PR is ready or not because there are 14 @fossasia-bot comments that clutter the PR log that are hiding the 5 comments made by humans.
fossasia-bot may have utility in other projects but here I believe that it is slowing us down in our key choke point: review --> merge.  I believe that we are better off without it.

It has been turned off for query-server.

Thanks @niranjan94
Do you have admin rights to help solve #332 ?

@cclauss nope. That isn't under my codacy account.


Mock Import Cleanup

The standard library has had mock as part of unittest since Python 3.3, so no reason now to wrap it with a try...except block.
A lot of these weren't really used though, so deleted where it didn't matter

Love it.


Update default config file name in graphhopper.sh output

The name printed did not match the file used

Thanks!


Create new UI to select the columns of the datagrid and be displayed above the datagrid

Release Type: non breaking changes
Fixes https://x-team-internal.atlassian.net/browse/XP-2800
Description
Created a new UI component based on the already existing SelectBox/Dropdown component, styled to be used above the DataGrid. This component is used to choose what columns of the DataGrid need to be displayed.
Checklist

[x] set yourself as an assignee
[x] set appropriate labels for a PR (In Review or In Progress depending on its status)
[x] move respective JIRA issue to the IN REVIEW column
[x] make sure your code lints (npm run lint)
[x] Flow typechecks passed (npm run flow)
[x] Snapshots tests passed (npm run jest)
[x] component's documentation (.stories.js file) is changed or added accordingly to reflect any new or updated use cases or variants usage
[x] if you've fixed a bug, make sure to also include a new story that will expose declarations with problematic data that caused the bug in the first place, so that we can assure that no regressions will pop up on future interactions
[x] if any snapshots have been changed, verify that component still works and looks as expected and update the changed snapshot
[x] manually tested the app by running it in several different browsers (Firefox, Chrome, Opera, Safari, MS IE/Edge, etc.) and checked nothing is broken and operates as expected!

Steps to Test or Reproduce
In the Storybook search field type ColumnsCustomizer, you will see the option to visualize the created new UI, click on the sub menu "basic usage", you will se the UI component being shown on the viewport.
Impacted Areas in Application

ColumnsCustomizer.js
ColumnsCustomizer.stories.js

Screenshots

@bernardodiasc I saw you requested changes the first time. More updates have been added since then. Could you please give it a final review?

@nicksp regarding this comment

Also, I've noticed that the cursor isn't as expected when you hover over the checkbox and the label. We should fix that:

I believe this is not what expected for this task, that effect on mouse hover is expected for the https://x-team-internal.atlassian.net/browse/XP-2889 feature.

@bernardodiasc

I believe this is not what expected for this task, that effect on mouse hover
You didn't get me. I said the cursor is wrong, not the style effect for the element underneath.

Sure. In this case let’s keep it like that.
Sent from myMail for iOS
Friday, 15 March 2019, 23:28 +0300 from<EMAIL_ADDRESS><EMAIL_ADDRESS>
@marcoacfilho commented on this pull request.
In  src/components/ui/ColumnsCustomizer.js :

 border-radius: 2px;

 padding-left: 10px;

 padding-right: 8px;

 margin-left: 22px;

}

& > :nth-child(2n) {

 top: calc(100% + 10px)

}
`
)
+}

+type Props = {

items?: Array,
onSelect?: Function,

This is the same as in the SelectBox Props, I think if I change it there I have to change it in the SelectBox component as well
—
You are receiving this because you were mentioned.
Reply to this email directly,  view it on GitHub , or  mute the thread .


Add TravisCI

We should add Travis CI to run tests on pull-requests

https://travis-ci.org/zmap/ztag

Duuuudeee... add ALL the plugins!
https://codeclimate.com/
https://coveralls.io/
I'm sure there are more...
On Fri, Oct 23, 2015 at 5:45 PM David Adrian<EMAIL_ADDRESS>wrote:

https://travis-ci.org/zmap/ztag
—
Reply to this email directly or view it on GitHub
https://github.com/zmap/ztag/issues/3#issuecomment-150700780.

This is how your website ends up looking like Pat's million dollar pixel
website instead of something with easily digestable information. :)
On Fri, Oct 23, 2015 at 2:57 PM Pat Pannuto<EMAIL_ADDRESS>wrote:

Duuuudeee... add ALL the plugins!
https://codeclimate.com/
https://coveralls.io/
I'm sure there are more...
On Fri, Oct 23, 2015 at 5:45 PM David Adrian<EMAIL_ADDRESS>wrote:

https://travis-ci.org/zmap/ztag
—
Reply to this email directly or view it on GitHub
https://github.com/zmap/ztag/issues/3#issuecomment-150700780.

—
Reply to this email directly or view it on GitHub
https://github.com/zmap/ztag/issues/3#issuecomment-150702646.

Does coveralls even support non "import unittest" tests?

it sure doesn't support we rolled our own tests because we didn't like
other peoples'
On Fri, Oct 23, 2015 at 9:03 PM David Adrian<EMAIL_ADDRESS>wrote:

Does coveralls even support non "import unittest" tests?
—
Reply to this email directly or view it on GitHub
https://github.com/zmap/ztag/issues/3#issuecomment-150751235.

To be fair, we could have solved our testing problem by dynamically generating new subclasses of unittest.

Code Climate rates zmap higher than ztag, which is so laughably wrong I can barely type this comment. https://codeclimate.com/github/zmap/zmap


Build failed in PlarformIO

Hello! I'm trying to use lvglpp in a Platform IO project. When I start building it, errors occurs like below:
lib/lvglpp/src/lvglpp/widgets/switch/switch.cpp:12:5: error: specializing member 'lvgl::core::Widget<lv_switch_create>::Switch' requires 'template<>' syntax
     Switch::Switch() {
     ^~~~~~
lib/lvglpp/src/lvglpp/widgets/switch/switch.cpp:16:5: error: specializing member 'lvgl::core::Widget<lv_switch_create>::Switch' requires 'template<>' syntax
     Switch::Switch(Object & parent) {
     ^~~~~~
lib/lvglpp/src/lvglpp/widgets/switch/switch.cpp:20:10: error: specializing member 'lvgl::core::Widget<lv_switch_create>::initialize' requires 'template<>' syntax
     void Switch::initialize() {
          ^~~~~~
lib/lvglpp/src/lvglpp/widgets/switch/switch.cpp:23:10: error: specializing member 'lvgl::core::Widget<lv_switch_create>::initialize' requires 'template<>' syntax
     void Switch::initialize(Object & parent) {
          ^~~~~~
*** [.pio\build\esp32-s3-devkitc-1\libee7\lvglpp\lvglpp\widgets\switch\switch.cpp.o] Error 1

The platform is esp32-s3, and the C++ standard is set to gnu++2a.
Thank you!

Hi!
I guess clang is less restrictive there as I doesn't complain. The Switch class is a specialization of the Widget class. Try to add ´template<>´ in front of the offending lines and see what happens. If that doesn't fix it I'll see to write it by the standards, but that might take some time.

Thanks very much for your reply!
I tried to rewrite the Switch class with a more complicated way as below:
class Switch : public Widget<lv_switch_create> {
    void initialize();
    void initialize(Object &parent);

  public:
    using Widget::Widget;
};

And removed the constructors in switch.cpp then it works.
Besides, there are some dynamic_pointer_cast in anim.cpp, which requires RTTI feature. However if -fno-rtti is removed when building the project for ESP32, linking errors occured. Then I replaced them with static_pointer_cast, which made it able to build. But when an animation is configured, my ESP32 crashed with this info:
assert failed: void lvgl::misc::Animation::set_path_cb(lv_anim_path_cb_t) anim.cpp:60 (this != this->raw_ptr()->var)

Now I have no idea how to fix it. :(

Well, you're just subclassing a template class, which is fine but this shouldn't be necessary.
For the dynamic cast thing, I can't say if I don't know what the linking errors are. With static cast you're removing a runtime check, but if you know how to keep your code safe that way go ahead.
The assert fails when you used Animation.set_var or any of the callback setters in template form and you try to use one callback setter in non-template form. You would replace the pointer to the callbacks stored in the C structure and make some previously-defined callbacks to fail. Post the bit of code where you define the animation object and callbacks and we can see what should be amended.


addon won't start using ssl true

Problem/Motivation

the addon don't start  when ssl is set to true

Expected behavior

start pihole using ssl

Actual behavior

the log show
[17:24:09] FATAL: Unfortunately, the file specified in the
[17:24:09] FATAL: 'certfile' option does not exists.
even if the file exist and the write are correct:
chown root:root fullchain.pem privkey.pem
chmod 600 fullchain.pem privkey.pem

root@orangepipc:/usr/share/hassio/homeassistant/ssl# ls -al
total 16
drwxr-xr-x  2 root root 4096 févr. 16 22:09 .
drwxr-xr-x 12 root root 4096 mars   1 17:16 ..
-rw-------  1 root root 3558 févr. 16 22:09 fullchain.pem
-rw-------  1 root root 1708 févr. 16 22:09 privkey.pem
Steps to reproduce

set the ssl to true

I'm unable to reproduce this on my end. Tested on 3 different setup's, all were able to enable SSL.

I'm unable to reproduce this on my end. Tested on 3 different setup's, all were able to enable SSL.

is there any log i can share ?
Could you point me the file ?

it's working now
i found something very strange.
home assistant use the path /usr/share/hassio/homeassistant/ssl/ for the certificate
pihole use the path /usr/share/hassio/ssl/ for the certificate.
I will check with other addons wich path is used.
i temporaly copi the certificate in both path.
I will do later a symplink.
cp /usr/share/hassio/homeassistant/ssl/* /usr/share/hassio/ssl/
Wich path should be used for the certificat?

/ssl is not strange, that is where it should be and is documented as such as well. You should not store your SSL certificates in your Home Assistant configuration folder.
Glad it is resolved.

thanks !


This anchor tag is not properly closed

Anchor tag is not closed causing an issue of whitespace in the website.
https://github.com/ceadoor/cea.ac.in/blob/ed0daa1adbc82d372be57f366b68d6bd1883082e/src/index.html#L306

Fixed. Closing.


Make grafana dashboard refId ordered

Please provide a description for what this PR is for:

make refId for those charts organized in alphabetically order.
minor fixes for prom queries.

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[x ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ x] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any changes that may affect Istio users.

tested locally, dashboards work fine.

@carolynhu: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
26ddd1bc3ed6ebefb88d2b5fdd7500aae948080b
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

In response to a cherrypick label: new pull request created: #28761


Login Issue

When attempting to authorize access for the app to my Spotify account, the page displays:
"Something went wrong, please try again or check out our help area"
In the console, it logs:
"Failed to load resource: the server responded with a status of 400 ()"

Hi Liam
I was probably able to fix this with my pull request https://github.com/trungvose/angular-spotify/pull/100. You can either wait until Trung accepts it and rolls out the fix, or I don't know if you have a deployment yourself (I was able to run it on the localhost without any problems, for example), in which case you could of course try it yourself.
All the best
JZEL

Should be fixed in #100, thanks @jzelAdmin2006!


Rename azureeventhubsource to azureeventhubssource

Closes #1216
This change will require that current users remove manually the old CRD from their clusters afterthe new version is installed
kubectl delete crd azureeventhubsource

we are moving to a plural form ?

we are moving to a plural form ?

Yes, this is a backwards incompatible change, but:

that is how the product is named.
the target uses the correct plural name.


🔧 No such a file or directory found

How were you trying to build the app?
in Android, if we try to rebuild the project we face this issue
Full build logs
node_modules/react-native-vision-camera/android/build/intermediates/cxx/ndk_locator_record_v4yjh1kg.log (No such file or directory)

Project dependencies
"dependencies":{
 "react": "18.2.0",
    "react-native": "0.73.0",
    "react-native-reanimated": "^3.16.0",
    "react-native-vision-camera": "^4.5.3",
    "react-native-worklets-core": "^1.3.3"
}

VisionCamera Version
4.5.3
Target platforms
Android
Operating system
MacOS
Can you build the VisionCamera Example app?
I didn't try (⚠ your issue might get ignored & closed if you don't try this)
Additional information

[ ] I am using Expo
[X] I have enabled Frame Processors (react-native-worklets-core)
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

@mrousavy xan you please look into this I am unable to install in android

I didn't try (⚠ your issue might get ignored & closed if you don't try this)

Sorry, but I cannot help you if you dont try to build example app.


Continuous fuzzing integration by way of OSS-Fuzz

Hi,
I was wondering if you would like to integrate continuous fuzzing by way of OSS-Fuzz? In this PR https://github.com/google/oss-fuzz/pull/7799 we do exactly that, namely created the necessary logic from an OSS-Fuzz perspective.
Essentially, OSS-Fuzz is a free service run by Google that performs continuous fuzzing of important open source projects. The only expectation of integrating into OSS-Fuzz is that bugs will be fixed. This is not a "hard" requirement in that no one enforces this and the main point is if bugs are not fixed then it is a waste of resources to run the fuzzers, which we would like to avoid.
If you would like to integrate, the only thing I need is as list of email(s) that will get access to the data produced by OSS-Fuzz, such as bug reports, coverage reports and more stats. Notice the emails affiliated with the project will be public in the OSS-Fuzz repo, as they will be part of a configuration file.
In the event your unfamiliar with fuzzing, then it's a technique used to automate test case generation. It's been used frequently over the last decade to analyse projects in memory unsafe languages to catch memory corruption issues, but is now moving into supporting memory safe languages (hence this PR). In the Python world, the expected bugs to be found at the moment is uncaught exceptions. I'm happy to answer any questions you may have!

We don't have the time resources to integrate this and follow through, sorry.


UI: Unnecessary approval on Transfer tab

On the Swap page -> Transfer tab, if you:

Have a non-zero amount of the selected token in your Farm Balance;
Have zero of the selected token in your Circulating Balance; and
Have Combined Balance selected for the Source,

The UI will prompt you to submit an approval txn, even if you don't use any funds from your Circulating Balance. Approvals are not necessary to transfer funds from Farm Balances. Thus, this issue can currently be circumvented manually by instead selecting Farm Balance for the Source.
A potential solution is to disable the selection of Combined Balance if the user has zero of the selected token in their Circulating Balance OR Farm Balance.
EDIT 06/24/23:
This is now happening on other pages as well like Sow, but this time even when only Farm Balance is selected.

@uncoolzero 🐐


parameters are not being substituted inside of shell scripts $(... )

Looks like I'm confused on what the order of operations should be w/r/t parameter substitution and the execution of shell and maybe erb scripts.

Fixed in v0.5.11


Installing ChromeDriver on VM

Following these instructions I was able to get Selenium & the Chrome Driver to work with my Behat Tests on the VM
sudo apt-get install libxss1 libappindicator1 libindicator7
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

sudo dpkg -i google-chrome*.deb
sudo apt-get install -f
sudo apt-get install xvfb
sudo apt-get install unzip

wget -N http://chromedriver.storage.googleapis.com/2.20/chromedriver_linux64.zip
unzip chromedriver_linux64.zip
chmod +x chromedriver

sudo mv -f chromedriver /usr/local/share/chromedriver
sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver
sudo ln -s /usr/local/share/chromedriver /usr/bin/chromedriver
sudo apt-get install python-pip

source: http://christopher.su/2015/selenium-chromedriver-ubuntu/
I'm wondering if it would be helpful to turn this into an ansible recipe? I found this url but this is a bit over my head..
http://coryklein.com/ansible/2015/10/09/using-ansible-to-install-google-chrome.html
May try to figure this out but thought I'd ask first to see if anyone thinks this is a really bad idea for some reason. I'm was tried installing the firefox browser too but was getting weird selenium errors when trying to run my behat tests
Here's my behat.yml file for reference:
default:
  formatters:
    pretty: true
    progress: true
  gherkin:
    filters:
      tags: "~@skip"
  suites:
    default:
      contexts:
        - behatch:browser
        - behatch:debug
        - behatch:system
        - behatch:json
        - behatch:table
        - behatch:rest
        - behatch:xml
        - FeatureContext
        - Drupal\DrupalExtension\Context\DrupalContext
        - Drupal\DrupalExtension\Context\MinkContext
        - Drupal\DrupalExtension\Context\MessageContext
        - Drupal\DrupalExtension\Context\DrushContext
  extensions:
    Sanpi\Behatch\Extension: ~
    Behat\MinkExtension:
      base_url: http://ss.vm
      browser_name: 'chrome'
      goutte: ~
      selenium2:
        wd_host: "http://<IP_ADDRESS>:4444/wd/hub"
    Drupal\DrupalExtension:
      blackbox: ~
      api_driver: 'drupal'
      drush:
        alias<EMAIL_ADDRESS>      drupal:
        drupal_root: '/var/www/ss/docroot'
      selectors:
        message_selector: '.messages'
        error_message_selector: '.messages.messages-error'
        success_message_selector: '.messages.messages-status'

Here's the Behatch feature > Scenario I was testing from within PHPStorm
Feature: Homepage
  In order to make sure the homepage isn't jacked
  As a anonymous website user
  I need to see a few key things

  # Requires chrome driver installed based on these instructions
  # http://christopher.su/2015/selenium-chromedriver-ubuntu/
  # included in post-install.sh now though
  @javascript
  Scenario: Behatch Browser Test
    Given I am on the homepage
    When I hover "#block-bartik-branding"
    Then I should see the text "Home"

And here's the working output
ssh://vagrant@<IP_ADDRESS>:22/usr/bin/php /home/vagrant/.phpstorm_helpers/behat.php --format PhpStormBehatFormatter --config /var/www/ss/btests/behat.yml /var/www/ss/btests/features/Homepage/Homepage.feature:30
Testing started at 3:27 PM ...

1 scenario (1 passed)
3 steps (3 passed)
0m5.30s (29.47Mb)

Process finished with exit code 0

@thom8 mentioned forking arknolls role https://github.com/beetboxvm/ansible-role-selenium. Not sure what the plans for either is but that's probably where this would be a nice addition.

@oxyc happy to accept PR's on this fork but the long term plan will be to split out the browser install functionality into a seperate role(s) to give more flexibility and better test coverage.

It is actually easier IMO to run with SeleniumHQs Docker project instead of inject it all into DrupalVM.
http://www.seleniumhq.org/

@kevinquillen :+1: Thanks for the awesome note. I'll definitely give the docker project a try.
A blog post on all this stuff would be fantastic at some point. I've been thinking about doing a writeup as well.

@kevinquillen / @justinlevi / anyone else - I, too, would love for someone to do a good writeup/blog post on the topic. We could add a link to the post in the documentation and that way people could choose what kind of Selenium setup they want. For some, the built-in solution will do everything they need. Others with more needs would definitely want to build a more custom environment.

@kevinquillen So I was able to get the standalone-chrome.2.52.0 up and running on Docker. It may be a little faster for me but hard to say. My first time working with Docker so pretty excited to finally dive in!
I'm a bit conflicted by this approach though. The setup was easy enough once you understand the basics around the docker container etc. The issue I have is that it moves away from the single contained Drupal development environment that you could potentially achieve by getting everything setup and working on the VM. It also adds one more layer to the technology stack which gets me nervous.
I realize this is a highly subjective topic and I love learning different approaches to this stuff. The team I'm working with is really after a couple of core things:

A easy to setup development environment that mirrors test, staging, and production as closely as possible.
A way to implement BDD without having to worry too much about setup and configuration.

For me, I really don't care how long it takes for the VM to install as I'm rarely doing that once I get things configured and working. I would rather have an "easy button" where I know everything is setup and running to work in my drupal sites and write and run tests in the fastest way possible.
My biggest issue right now that I'm trying to figure out now is that working on a windows host, running a single javascript scenario is taking up to 13seconds. Most of the time is spent ssh'ing into the VM. This seems waaaaaay to long to me and I'm not really sure how to speed things up.

I'm also keen to test this out but my concern would be more in relation to provisioning time.
Would this increase the size of a preprovisioned base box?
We use a feature branch model so each branch is developed in isolation on top of "current production" including update hooks for any changes to the database, so the feature is easily testable and deployable.
Due to this, each feature needs to be built from a fresh version of prod, and so switching branches requires rebuilding to mitigate any conflicts. Our CI platform works the same way by checking out a branch and running db updates it can replicate the deployed state of any feature branch.
This has proven very useful as we can create a release at any time and only include branches that have:

Proper test coverage
Passing tests
Approval from test team
Approval from product manager

We have looked into other options rather than rebuilding each time but this has actually been useful as it's effectively testing the deployment to prod each time you checkout the branch which often picks up issues when a feature skips a release, as it will need rebasing to the new "current production".
Any major works are done on a project branch and project feature branches are based on this but the same principles apply.

Let's merge this discussion into #421


add @table::protodunevd_drifty_refactored_simulation_services

Seems like the fcl file was missing a simulation services table, after comparing with the non-driftY version.

See also
https://github.com/DUNE/dunecore/pull/125
The PRs aren't dependent on one another in that they will cause jobs to fail if they aren't both merged, but both are needed to get a consistent gdml.  Somehow the geometry configuration writer doesn't check the auxdet geometry.


Strange Newline

I use Markdown Here in Gmail (and love it).
I have noticed strange behavior after rendering and then un-rendering.
Every time I do these two operations, a new blank line appears in the beginning of the email. This is important because many times I render-and-unrender a few times until I get the wanted outcome. This creates about 3-4 extra blank lines in the beginning of the email.

Any really good developer know how to insert newline in bio , be kind please tell here -
https://github.com/jack17529


Fix docstrings and adjust configuartions

The documentation should now be parsed properly by Read the Docs:
https://w-herbst-tobac.readthedocs.io/en/docs/modules.html

Codecov Report

Merging #38 into v2.0-dev will not change coverage.
The diff coverage is 33.33%.

@@            Coverage Diff            @@
##           v2.0-dev      #38   +/-   ##
=========================================
  Coverage     33.12%   33.12%
=========================================
  Files            13       13
  Lines          1875     1875
=========================================
  Hits            621      621
  Misses         1254     1254

Impacted Files
Coverage Δ

tobac/analysis/analysis.py
45.88% <ø> (ø)

tobac/analysis/centerofgravity.py
0.00% <ø> (ø)

tobac/plot/plotting.py
3.39% <0.00%> (ø)

tobac/themes/tobac_v1/feature_detection.py
63.97% <ø> (ø)

tobac/themes/tobac_v1/segmentation.py
63.26% <ø> (ø)

tobac/themes/tobac_v1/tracking.py
60.71% <ø> (ø)

tobac/themes/tobac_v1/wrapper.py
6.89% <ø> (ø)

tobac/utils.py
38.94% <50.00%> (ø)

Continue to review full report at Codecov.

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

That was on purpose. The routine listings were not parsed, but since we are using autosummary we have routine listings anyway. I only added them in the two files to test the functionality.


required system uptime metric to the semantic conventions that will describe the system uptime.

We are not getting system uptime for server(windows,linux) hostmetrics. as a metric that measures the uptime of the system. For host observability purpose uptime should be scrap.

Hi @bhupenbisht I think this is a duplicate of #648. Please take a look, and if yes I will close this.

Hi @joaopgrassi yes.. its same requirement. Could you please confirm if this is available..?

Close as dup of #648


db: Robustify creation of indices in migrations

Ensure schema migration in stage 3 to version 8 does not fail when involved indices
are already created.

Already approved by @tmcgilchrist in #1126 .


Cannot read property 'label' of undefined

VSCode Version:1.22.1
OS Version:windows 10 ENTERPRISE LTSB

Steps to Reproduce:
1.Cannot read property 'label' of undefined
TypeError: Cannot read property 'label' of undefined
at Object. (c:\Program Files\Microsoft VS Code\resources\app\extensions\html-language-features\server\out\htmlServerMain.js:323:84)
at step (c:\Program Files\Microsoft VS Code\resources\app\extensions\html-language-features\server\out\htmlServerMain.js:36:23)
at Object.next (c:\Program Files\Microsoft VS Code\resources\app\extensions\html-language-features\server\out\htmlServerMain.js:17:53)
at fulfilled (c:\Program Files\Microsoft VS Code\resources\app\extensions\html-language-features\server\out\htmlServerMain.js:8:58)
at
2.

Does this issue occur when all extensions are disabled?: Yes/No

Can you tell us the exact steps that you did to see this error?

The stacktrace points to the html emmet code.

@lic2112 Can you provide a sample code where you found this error?

Thank you, guys. I've found my mistake.

@lic2112 I'd still like to know what caused it :)


Upgrade to ring 0.17

ring 0.17 has been released! This PR updates to that version.

I don't think we should hardcode a git reference of ring like this. Until a new version has been released we should keep the existing versions. Folks should still be able to use cargo's patch feature to override the ring version until then.

I don't think we should hardcode a git reference of ring like this. Until a new version has been released we should keep the existing versions.

Sorry, bad communication on my end. I don't expect this to be merged until the version is actually released!
I only opened this PR to make sure we can get this released ASAP once ring actually releases the new version and to be able to test that we can do what we want to do (https://github.com/melekes/rust-libp2p/pull/12) with these changes.

Folks should still be able to use cargo's patch feature to override the ring version until then.

Negative. This only works if the version in the Cargo.toml is not bumped yet. ring already has it set to 0.17.0-not-released-yet so a [patch.crates-io]-entry in a manifest is a no-op.

I don't think we should hardcode a git reference of ring like this. Until a new version has been released we should keep the existing versions.

Sorry, bad communication on my end. I don't expect this to be merged until the version is actually released! Hence the draft PR.
I only opened this PR to make sure we can get this released ASAP once ring actually releases the new version and to be able to test that we can do what we want to do (melekes/rust-libp2p#12) with these changes.

I'd appreciate a review to make sure we aren't blocked on something once ring cuts a new release!

LGTM but this needs rebasing

I fixed the conflicts by merging. I hope that is fine! You seem to squash-merge in here so I didn't bother with a rebase :)

@yngrtc This is now ready for review.

Could you fix clippy/fmt error?

Could you fix clippy/fmt error?

It seems unrelated to my changes and likely caused by an implicit dependency bump as you are not tracking Cargo.lock in git. Do you want it fixed in this PR or in a separate one?

I sent a PR here: https://github.com/webrtc-rs/webrtc/pull/503

Rebase it?

Rebase it?

I am assuming because you squash-merge anyway in here that merge was fine too. Btw, there is a setting in GitHub to "always suggest updating branch" that you can enable to always have the button for manually merging master in PR branches!


Add back lost documentation for editing a dependency locally

When we migrated to our new doc site we lost the following topic:
https://github.com/golang/dep/tree/e69d6e84581e1b9944bb38e2fa150ce18a850ba5#testing-changes-to-a-dependency
How to test changes to a dependency
We should add that back to our FAQ under Best Practices.

@carolynvs I would love to 👍

@scriptonist Yes, please do!


Allow popupRender to work properly

This allows a user to use their own html popup rather than the default {title, address} format.
Description of changes
Unclustered Layer has an option to render your own popup, however does not implement this feature.
Description of how you validated changes
Tested on test enviorment, works fine.
Checklist

[x] npm test passes

Thanks for the fix :)