Get a lot of error while compiling Dlib

Hi,I want to build examples on mac using comment line "cmake --build ."but I got an error like this:
In file included from /Users/xxh/dlib/dlib/gui_widgets/fonts.cpp:14:
/Users/xxh/dlib/dlib/gui_widgets/nativefont.h:313:21: error: use of undeclared identifier
      'XAllocColor'
                    XAllocColor(d, cmap, &xcol);
                    ^
/Users/xxh/dlib/dlib/gui_widgets/nativefont.h:319:36: error: use of undeclared identifier
      'XmbTextExtents'; did you mean 'XTextExtents'?
                            return XmbTextExtents(fs, str, len, ink, logical);
                                   ^~~~~~~~~~~~~~
                                   XTextExtents
/Users/xxh/dlib/dlib/gui_widgets/nativefont.h:318:43: note: 'XTextExtents' declared here
                        inline static int XTextExtents (XFontSet fs, char *str, int len...
                                          ^
/Users/xxh/dlib/dlib/gui_widgets/nativefont.h:322:36: error: use of undeclared identifier
      'XwcTextExtents'; did you mean 'XTextExtents'?
                            return XwcTextExtents(fs, str, len, ink, logical);
                                   ^~~~~~~~~~~~~~
                                   XTextExtents

what's that mean?

Something is wrong with your X11 install since it's missing functions from
X11.  Did you install XQuartz?

@davisking Yes,I have installed XQuartz.It seems that the identifier in X11 is different from that in /Users/xxh/dlib/dlib/gui_widgets/nativefont.h.
I reinstalled the XQuartz2.7.7.The error still exist.Should I use the older vision?

The older version of what?

@davisking XQuartz

I doubt it.  It's probably finding another copy of X11 on your machine.  Other people have posted about anaconda installing a broken copy of the X11 headers on their machines.  Maybe that's the source of the trouble.

@davisking yes,I once installed anaconda.And what can I do to fix it?

Uninstall anaconda?

SORRY,maybe I didn't describe the problem clearly.
Firstly,using comment line "cmake --build ."and I got an error like this:
/Users/xxh/dlib/dlib/gui_widgets/nativefont.h:29:10: fatal error:
'X11/Xlocale.h' file not found

Then, I find the Xlocale.h in /opt/X11/include/X11,and use " ln -s /opt/X11/include/X11 /usr/local/include/X11" in terminal.
Last,run the "cmake --build ." and got the MORE error above.

I uninstall anaconda using "rm -rf ~/anaconda".
it's run successfully.
Thanks a lot.

No problem


some question

How to make certain tags light at the beginning

@bingweibi Please provide more information

What I want to say is that some tags are active = true at the beginning, not all true or false.

@bingweibi for each tag you can decide whether it should be true or false. example with ternary operator
active = ( i < 3 || i > 10 ? true : false);

ok, thank you


ATB-1437: Add Extended history tests for AIS

Proposed changes

What changed

Why did it change

Issue tracking

ATB-1437

Testing

Checklists

[x] Did not commit any not-required changes to the src/infra/**/samconfig.toml
[x] Tested changes and included test evidence in the PR, if appropriate
[ ] Included all required tags and other properties for any new resources in the SAM template
[ ] Ensured that any new resources in the SAM Template follow appropriate naming conventions
[ ] Ensured that naming of new resources is compatible with deploying multiple stacks with custom stack names during development
[ ] Ensured that no log lines include PII or other sensitive data
[ ] Implemented unit testing for any new logic implemented, if appropriate
[ ] Ensured that all commits in this PR are signed
[ ] Ensured appropriate code coverage is maintained by unit tests
[ ] Checked SonarCube and ensured no code smells were added

Could we get another screenshot just as evidence that its working? For some reason its not loading for me, the rest of it looks good though!


Snackbar always calls onClose when window regains focus

[x] This is not a v0.x issue.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior 🤔

In MUI v3 losing focus of the window would stall the timer for a snackbar and then resume when focus was returned to the window.
Current Behavior 😯

In MUI v4, regardless of whether or not the snackbar is open, onClose is automatically called whenever a window with a snackbar loses and then regains focus unless disableWindowBlurListener is set, which sacrifices the pause/resume of the timeout functionality.
Steps to Reproduce 🕹

Link: https://codesandbox.io/embed/createreactapp-l9k45

Load the sandbox
Open another window and give it focus
Click back into the sandbox's browser content
Observe the console indicating that onClose has been called

Context 🔦

Currently this is causing my app to erroneously fire notification dismiss actions.
Your Environment 🌎

Tech
Version

Material-UI
v4.0.1

React
v16.8.6

React-DOM
v16.8.6

@drewgaze I fail to see a difference. The only onClose event I see is with clickaway, which is legit. Could you provide more information?

It's a change in behavior from the v3 version of this component. I can handle it in my own code so that onClose is only called if the Snackbar is open but I don't understand if this change is intentional.
Here's a video that hopefully demonstrates the issue better.

@drewgaze Ok thanks, I can reproduce the problem. It's an issue with the hook logic. I don't understand why it work with v3, but anyway, what do you think of this fix? cc @joshwooding
diff --git a/packages/material-ui/src/Snackbar/Snackbar.js b/packages/material-ui/src/Snackbar/Snackbar.js
index 327622d1b..b92cc5b9c 100644
--- a/packages/material-ui/src/Snackbar/Snackbar.js
+++ b/packages/material-ui/src/Snackbar/Snackbar.js
@@ -149,7 +149,9 @@ const Snackbar = React.forwardRef(function Snackbar(props, ref) {
   );

   React.useEffect(() => {
-    if (open) setAutoHideTimer();
+    if (open) {
+      setAutoHideTimer();
+    }

     return () => {
       clearTimeout(timerAutoHide.current);
@@ -203,7 +205,7 @@ const Snackbar = React.forwardRef(function Snackbar(props, ref) {
   };

   React.useEffect(() => {
-    if (!disableWindowBlurListener) {
+    if (!disableWindowBlurListener && open) {
       window.addEventListener('focus', handleResume);
       window.addEventListener('blur', handlePause);

@@ -214,7 +216,7 @@ const Snackbar = React.forwardRef(function Snackbar(props, ref) {
     }

     return undefined;
-  }, [disableWindowBlurListener, handleResume]);
+  }, [disableWindowBlurListener, handleResume, open]);

   // So we only render active snackbars.
   if (!open && exited) {

This problem also happens to reset the cookie we set in the documentation, displaying the notifications many times.

Marking as important since it affects the docs :)

I'm taking care of it, the notification popup is driving me crazy.


Invalid clearing of additional records

https://github.com/richardschneider/net-mdns/blob/cb3d0bd58da1b77a7e65f059a1f457bdfa780753/src/ServiceDiscovery.cs#L205
Should be
           // Many bonjour browsers don't like DNS-SD response
            // with additional records.
            if (response.Answers.Any(a => a.Name == ServiceName))
            {
               if (AnswersContainsAdditionalRecords)
               {
                   response.Answers.AddRange(response.AdditionalRecords);
               }
                response.AdditionalRecords.Clear();
            }

I agree, but the if (AnswersContainsAddditionalRecords) should be before the DNS-SD test.
Would you like to create a PR.  This way you will get credit as a contributor!

I do, ) I have 1 optimization for DNS
and fix for mdns (using with multiple NIC)

Please let me know how I could create a PR

https://help.github.com/articles/creating-a-pull-request/

Lol ))  I meant I dont have permissions ) to do this

Created 2 PRs, please check. not perfect ) but tested on multy Nics works perfect on windows 10 host.
Later will test on linux alpine

Does #40 resolve this issue?


Adoption request: reverse-proxy-auth-plugin

Description

Submitter checklist for adding or changing permissions

@rda1ton and myself @sboardwell are looking to adopt the https://github.com/jenkinsci/reverse-proxy-auth-plugin. It is marked as up-for-adoption.
CC'ing:

@wilderrodrigues
@oleg-nenashev
@jglick

Always

[x] Add link to plugin/component Git repository in description above

For a newly hosted plugin only

[ ] Add link to resolved HOSTING issue in description above

For a new permissions file only

[ ] Make sure the file is created in permissions/ directory
[ ] artifactId (pom.xml) is used for name (permissions YAML file).
[ ] groupId / artifactId (pom.xml) are correctly represented in path (permissions YAML file)
[ ] Check that the file is named plugin-${artifactId}.yml for plugins

When adding new uploaders (this includes newly created permissions files)

[x] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[x] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[x] Make sure to @mention the users being added so their GitHub account names are known if they require GitHub merge access (see below).
[x] All newly added users have logged in to Artifactory at least once

Reviewer checklist (not for requesters!)

[ ] Check this if newly added person also needs to be given merge permission to the GitHub repo (please @ the people/person with their GitHub username in this issue as well). If needed, it can be done using an IRC Bot command
[ ] Check that the $pluginId Developers team has Admin permissions while granting the access.
[ ] In the case of plugin adoption, ensure that the Jenkins Jira default assignee is either removed or changed to the new maintainer.
[ ] If security contacts are changed (this includes add/remove), ping the security officer (currently @Wadeck) in this pull request. If an email contact is changed, wait for approval from the security officer.

There are IRC Bot commands for it

Just the initial MIT licence PR one at the moment, but will be cleaning up and modernising the plugin as we go.

Both @rda1ton and I have already logged into Artifactory btw.

Hi @jglick - do you know what needs to happen in order to get this approved?

Welcome aboard


UI/UX Enhancements: It is will be useful to show analyzer and scanners in Applications page

Is your feature request related to a problem? Please describe.
It will be good to see the contributing analyzers and scanners in the applications view as a high level information. Right now scanners and analyzers can be seen after a few clicks and drilling down,
Describe the solution you'd like
The Application dashboard  view  looks busy and omits useful information info like SBOM Analyzers and Scanners. Perhaps the real-estate could be used to show the analyzer and scanner as high level data instead of the "id" which is a cryptic string and that string can be seen from the detailed view anyways upon clicking the application. So the ID and the label informaton are redundant here and can be traded to present more high level insights like which analyzers and scanners are involved in reporting the vulnerabilities in that application. Attaching a screenshot for reference

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@pkalapat, thanks for the suggestion. I don't think that Applications in the right screen for it, as it's a logical grouping of resources and not what is actually being scanned. The application ID is important here because it is used as the key to export the scan result from the CLI to associate the resource to an application.
I think that the Application Resources screen will be more suitable for that.


Suggestion: txt2al.exe: CaptionML and OptionCaptionML Indentation

Every if xliff is the thing now, it would be nice if txt2al.exe would indent CaptionML and OptionCaptionML in Tables better:
C/AL-Text:
    { 6   ;   ;Type                ;Option        ;CaptionML=[DEU=Art;
                                                              ENU=Type];
                                                   OptionCaptionML=[DEU=""" "",Sachkonto,Artikel,Ressource,""WG/Anlage"",""Zu-/Abschlag (Artikel)""";
                                                                    ENU=""" "",""G/L Account"",Item,Resource,""Fixed Asset"",""Charge (Item)"""];
                                                   OptionString=" ","G/L Account",Item,Resource,"Fixed Asset","Charge (Item)";
                                                   NotBlank=true }

November Update Result:
field(6;Type;Option)
    {
      CaptionML = DEU='Art',
ENU='Type';
      NotBlank = true;
      OptionCaptionML = DEU='" ",Sachkonto,Artikel,Ressource,"WG/Anlage","Zu-/Abschlag (Artikel)"',
ENU='" ","G/L Account",Item,Resource,"Fixed Asset","Charge (Item)"';
      OptionMembers = " ","G/L Account",Item,Resource,"Fixed Asset","Charge (Item)";
    }

Would be nice Result:
field(6;Type;Option)
    {
      CaptionML = DEU='Art',
                  ENU='Type';
      NotBlank = true;
      OptionCaptionML = DEU='" ",Sachkonto,Artikel,Ressource,"WG/Anlage","Zu-/Abschlag (Artikel)"',
                        ENU='" ","G/L Account",Item,Resource,"Fixed Asset","Charge (Item)"';
      OptionMembers = " ","G/L Account",Item,Resource,"Fixed Asset","Charge (Item)";
    }

Hi @DanielGoehler . Since we are moving away from ML syntax to the label syntax for xliff we wont be investing in this formatting rule. If you wish, you can use find and replace with regex to insert \n before ENU and such if that helps you with transitioning to the new syntax

After talking with @qutreson , it seems he already had this implemented :D You can expect this to be available in December update. Same for OptionML indentation.


Mv 309 implement vad (from master branch)

A prototype of implementation of Voice Acivity Detection algorithm. The implementation is based on the algorithm proposed in  Dominant Speaker Identification for Multipoint
Videoconferencing.
Changes in regard to the original include:

it is not a Dominant Speaker Identification algorithm but Voice Activity Detection which means:
- there is no algorithm for picking the best activity score
- the activity score is thresholded to estimate if the user is speaking
the immediates are thresholded by a simple dB level value so it's not adjusted to the browser's changes of the user's volume

What I do like about this:

the algorithm is a lot more responsive than the previous algorithm based on the running average
it does not use any hard and heavy ML like neuron networks or transformers; it's just simple approximation of speech based on probability and threshold
it's pretty fast even without optimisations

What I do not like:

the module is not documented
there are no tests
parameters are not tuned well which makes the icon jump way too frequently

There is still a big room for improvement for this algorithm. I leave the POC of what has been accomplished so far to see if it is of any use. Hope you find it at least a little interesting.

What has been added since he last review:

unit tests
changing what has been pointed out in the recent review


[Thread Network Diagnostics] SECURITY_POLICY & OPERATIONAL_DATASET_COMPONENTS are no more array

Problem
SECURITY_POLICY & OPERATIONAL_DATASET_COMPONENTS are no more array
Proposed Solution
<suggested fix, suggested enhancement>

The SDK encodes these as lists, but they're not lists in the spec.


xtensa: fix inline assembly of rsil in exception code for XCC

XCC doesn't like the syntax using STRINGIFY. So parameterize the second argument to rsil.

Compilation still fails with the same error message as shared in

https://github.com/zephyrproject-rtos/zephyr/pull/56587#issuecomment-1505807153

Can you try the latest one? I removed the last colon of the line.

5175531211d8 fixes the compilation issue with RG-2017.8-linux/XtensaTools !

Can you please add a Fixes commit ... ?


Add Azure App Service Certificate Order

The Azure App Service Plan and Environment are included in https://github.com/infracost/infracost/issues/561.
Azure pricing page: https://azure.microsoft.com/en-gb/pricing/details/app-service/
Resource:
azurerm_app_service_certificate_order

SSL certificate (standard) or SSL certificate (wildcard) - unit is months. This is listed per year on the pricing page, but not sure how it's specified in the DB.

Released in v0.8.5


Push replication to rcouch fails on rev with attachments

The problem seems to be caused by PusherInternal#uploadMultipartRevision(RevisionInternal) as its the only method that calls a StringBody constructor capable of getting an NPE latter on.
Stacktrace:
Exception uploading multipart request
java.lang.NullPointerException: Attempt to get length of null array
	at com.couchbase.org.apache.http.entity.mime.content.StringBody.getContentLength(StringBody.java:183)
	at com.couchbase.org.apache.http.entity.mime.MultipartEntity.isRepeatable(MultipartEntity.java:139)
	at com.couchbase.org.apache.http.entity.mime.MultipartEntity.isChunked(MultipartEntity.java:147)
	at org.apache.http.protocol.RequestContent.process(RequestContent.java:84)
	at org.apache.http.protocol.BasicHttpProcessor.process(BasicHttpProcessor.java:295)
	at org.apache.http.protocol.HttpRequestExecutor.preProcess(HttpRequestExecutor.java:165)
	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:413)
	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:560)
	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:492)
	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:470)
	at com.couchbase.lite.support.RemoteRequest.executeRequest(RemoteRequest.java:183)
	at com.couchbase.lite.support.RemoteMultipartRequest.run(RemoteMultipartRequest.java:48)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:152)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:265)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
	at java.lang.Thread.run(Thread.java:818)

Hi @sergio91pt ,
Could you please provide more detailed information?

Is this reproducible with CouchDB?
How many revisions does a doc have?
How many attachments?
etc

Hi @hideki,
The NPE was quite easy to fix, however I'm still unable to push this document, now it is the server that crashes.
In this branch I have the fix for the NPE above  and a related patch, to correct the filenames of the attachments present in the "parts", although I think only the order matters.
To answer your questions:

Is this reproducible with CouchDB?

Yes, just tested with 1.6.1

How many revisions does a doc have?

Two revisions. Attachments are only added in the second revision.
Both revisions are added in a transaction, so both should be pushed at the same time.

How many attachments?

6 binary attachments. Here is a zip with a curl reproducible request and related server logs.
The request was sniffed from CBL Android with the 2 commits from the branch I linked. The request seems valid and the attachments are in order...

The CouchDB crash was due to the '/' in the document id not being percent encoded in the url.

Hi @sergio91pt,
Does CBL Android not escape URL for database name?
Thanks!

Its the document id that wasn't escaped here. The method right after it, does escape the id.
The id of the document I was testing with was e7c50173-0fc8-49cc-9308-6c8651ef5b30/2015-04-27T17:52:51Z. The ':' were escaped probably by java.net.URL, but the slash wasn't.
Regarding the database name, I have no idea. The ones I use don't require encoding, but I do it anyway, as I think it is the responsibility of the user to encode them (as we must specify a full URL).

CouchDB supports forward slash '/' for its database name. it could be reason that database name without  URL escape works. Needs to verify.

@hideki You're right, and there's also the design documents (I remember seeing redirects on design documents, in packet captures).
So I finally dug deeper on this:
# We should try to avoid these pointless roundtrips
$ curl -v http://<IP_ADDRESS>:5984/test_db/_design%2Ftest
< HTTP/1.1 301 Moved Permanently
< Server: CouchDB/1.6.1 (Erlang OTP/17)
< Location: http://<IP_ADDRESS>:5984/test_db/_design/test

# One can percent encode a database with forward slashes
# I was expecting a 404 but it works, not even a 301
$ curl -v http://<IP_ADDRESS>:5984/test_db%2Fwith_slash/doc1
< HTTP/1.1 200 OK
{"_id":"doc1","_rev":"1-43e806c27be1a6486e6d9425e9e659e4","testing":true}

# But if the '/' in '_design/' is percent encoded it results again in a 301
# Btw one cannot create a database that starts with a '_' (just tested)
$ curl -v http://<IP_ADDRESS>:5984/test_db%2Fwith_slash/_design%2Ftest
< HTTP/1.1 301 Moved Permanently
< Server: CouchDB/1.6.1 (Erlang OTP/17)
< Location: http://<IP_ADDRESS>:5984/test_db%2Fwith_slash/_design/test

# Well, actually encoding '/' in database names is mandatory or we get a 404
$ curl -v http://<IP_ADDRESS>:5984/test_db/with_slash/_design/test
< HTTP/1.1 404 Object Not Found
{"error":"not_found","reason":"missing"}

$ curl -v http://<IP_ADDRESS>:5984/test_db/with_slash/doc1
< HTTP/1.1 404 Object Not Found
{"error":"not_found","reason":"missing"}


Add support for xfce4-terminal

Add support for xfce4-terminal.
Additionally refactored the logic for opening the terminal in a new tab.
Git also caught a trailing space.

Tested with mate-terminal and xfce4-terminal.
OS: Arch Linux w/ Budgie 10.6.4

While testing, I discovered that GNOME Terminal's --tab option is for specifying tabs in a new window, and not for opening a new tab in any current open windows.


scripts: tests: twister: TestSuite tests expansion

This should increase the coverage of the testsuite.py module up to 100%.
Some tests have been commented out, as the code under test is incorrect. Thus the real increase is 99%. See relevant Issues:

#60877
#60835

When fixing those Issues, one should uncomment the relevant tests.

just a question on whether there is a grphic view on the pytest converage?

If you follow the process specified in a README here, you can get a nice HTML report with a per-file per-line breakdown.

Compliance fix for name shadowing.

Are we waiting for #60877 with this?


Cannot import PDF file

Describe the bug
While using NX framework with the Webpack, I would like to convert it to Vite, and one thing that I have configured manually is the support for the PDF files to be imported in the React component.
Now, I've created a clean new Vite/React application to test it out, and I am having trouble with the PDF.
As far as I understood, it should already be supported, same as images, json and other such resources, however, I get IDE error and the resource does not get rendered on the page.

Reproduction
https://stackblitz.com/edit/vitejs-vite-i6fz83?file=main.js&terminal=dev
Steps to reproduce
Just accept the cookies (that's what the Stackblitz requires) and observe the non-rendered PDF file.
System Info
Stackblitz

Used Package Manager
yarn
Logs

Click to expand!
TS2307: Cannot find module './valid.pdf' or its corresponding type declarations.

Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

We have the typings declared at https://github.com/vitejs/vite/blob/9c114c5c72a6af87e3330d5573362554b4511265/packages/vite/client.d.ts#L203-L206. Did you set up the global types following here?
Vite doesn't help you render PDFs too, it only returns a link to the PDF which you can pass it to the object tag to render it, for example. But the repro doesn't show how you're doing it currently.

To be honest, I have not. This is an app generated by NX.
I'm rendering it via

You are totally right. Thanks for noticing and sharing the solution.


&fields=all error when fetching activities with non standard identifiers

Describe the bug
Most activities can be called and have all fields returned using:
https://iatidatastore.iatistandard.org/api/activities/?format=json&iati_identifier=GB-CHC-326859-GPAFINN014&fields=all
However, if the IATI identifier contains a space or unusual character a 500 error is returned:
https://iatidatastore.iatistandard.org/api/activities/?iati_identifier=GB-CHC-229476-Support%20-%20Arab%20World&format=json&fields=all
https://iatidatastore.iatistandard.org/api/activities/?format=json&iati_identifier=GB-CHC-327421-PPA(ProgrammePartnershipAgreement)DFID&fields=all
The two above calls work if you remove &fields=all
To Reproduce
Steps to reproduce the behavior:

Go to https://iatidatastore.iatistandard.org/api/activities/?iati_identifier=GB-CHC-229476-Support%20-%20Arab%20World&format=json&fields=all
See error
Go to https://iatidatastore.iatistandard.org/api/activities/?iati_identifier=GB-CHC-229476-Support%20-%20Arab%20World&format=json
See data

Expected behavior
I expect &fields=all to work regardless of how the IATI identifier is formed.
Or please let us know how else to return all data for activities with non standard identifiers.

:tada: This issue has been resolved in version 5.5.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


createElement() is not a thing in modern JSX

Describe the bug
https://github.com/swc-project/swc/pull/7128
While this PR solves a great issue, it emits creatElement() which is a React only API for backcompatibility, since key is part of the props. It would be great to have a way to emit modern JSX only, without fallback to support a legacy / only-react API.
Input code
No response
Config
No response
Playground link
No response
Expected behavior
Always emit jsx(), never createElement()
Actual behavior
No response
Version
nightly
Additional context
No response

I'm not sure if I understood this correctly: are you saying swc does not allow to use new api, or either there is a condition forces your code transpiled into createelement?

Almost all transpilation toolchains give the same result. No configuration is provided to mandate the use of "modern" JSX.

TypeScript Playground
Babel Playground
Sucrase


Ll kth from end

- [x]  Where k is greater than the length of the linked list

[x]  Where k and the length of the list are the same
- [x] Where k is not a positive integer
- [x] Where the linked list is of a size 1
- [x] “Happy Path” where k is not at the end, but somewhere in the middle of the linked list


Help with blockTypeLimits

Hello, I need help with small use case.
I need to limit number of blocks and I found "blockTypeLimits" option. It works fine, but users are confused the way how it works - it just prevent new block creation. There isn't any UI difference for block button or any messages. I try to find a solution how to make it more user friendly. Do you have any ideas? I expected that you add any class for for disabled buttons, but didn't see any difference between buttons in menu. Also I can't find any events to use custom handler. Can you help me?
Thanks

This is something that's slipped out of the 0.6 release. As we haven't really decided how to manage this yet.


Focus plan configuration availability

None of the plan configuration options shown in the documentation are available when I go to plan configuration.
The article does not mention when these features might be available:

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

ID: 40f032f9-30a5-b801-b3c2-602a6ef552d3
Version Independent ID: bffa68c6-76a6-3de4-ec42-ab75c6a264d2
Content: Focus plan - Workplace Intelligence
Content Source: WorkplaceAnalytics/MyAnalytics/Use/focus-plan.md
Product: mya
GitHub Login: @paul9955
Microsoft Alias: v-pausch

Hi mheptinstall,
Sorry about this late response.
I have a question about what you do see. Let's say you start at the MyAnalytics dashboard and then select Focus.
On the Focus page, select Plan configuration.
What options do you see on that page?
Thank you,
-- paul9955

Hi mheptinstall,
Sorry about this late response.
I have a question about what you do see. Let's say you start at the MyAnalytics dashboard and then select Focus.
On the Focus page, select Plan configuration.
What options do you see on that page?
Thank you,
-- paul9955

Hi again mheptinstall,
I'm closing this issue till I hear back from you. (I had a question in my response from earlier in January.)
Feel free to re-open if you'd like to pursue this.
Thank you,
-- paul9955

Hi again mheptinstall,
I'm closing this issue till I hear back from you. (I had a question in my response from earlier in January.)
Feel free to re-open if you'd like to pursue this.
Thank you,
-- paul9955

@paul9955 the options I see on Plan Configuration are the same as those in the original screenshot:

I don't see options like this:

@paul9955 the options I see on Plan Configuration are the same as those in the original screenshot:

I don't see options like this:

I'm seeing this same issue and woulld love to change the amount of focus time booked each day.

Hello mheptinstall, huntermaxfield, and beychok-j,
Thank you for your interest in this feature and these config options and I'm sorry that they haven't shown up for you. The page with the expanded set of options is currently rolling out worldwide but it hasn't reached all users. Unfortunately, I do not know the ETA for general availability.
-- paul9955

Hello,
The product team has informed me that the rollout of this new design has been continuing to users worldwide. Have you noticed that the new Plan configuration options are available to you now?
Thank you,
-- paul9955


A typo

diff --git a/ModernGL/vertex_arrays.py b/ModernGL/vertex_arrays.py
index 91d1251..47890c0 100644
--- a/ModernGL/vertex_arrays.py
+++ b/ModernGL/vertex_arrays.py
@@ -161,7 +161,7 @@ class VertexArray:
raise NotImplementedError()
 def __repr__(self):

   return '<VertexArray: %d>' % self.glo

   return '<VertexArray: %d>' % self.mglo

@property
def program(self) -> Program:

what version do you use?
Paste the output of  python -m ModernGL here

This is the correct code for __repr__:
return '<VertexArray: %d>' % self.glo

The self.mglo is an object from the implementation (it is an mgl object)
The self.glo is a property (int) that returns self.mglo.glo

Added a test, it is working fine in 4.1.7


K8SSAND-1769 ⁃ Operator does not handle invalid syntax in K8ssandraCluster creation

What happened?
created a K8ssandraCluster manifest and set the rack name to have an _. Underscores aren't acceptable characters in pod names.
The issue is that I created the K8ssandraCluster, everything seemed to be fine, no warnings or errors. But the pods weren't spinning up. Checking the k8ssandra-operator logs didn't show any problem. It was only in the k8ssandra-operator-cass-operator pod logs did I find the problem.

a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is 'a-z0-9?(\.a-z0-9?)*')"}

Did you expect to see something different?
Expected some validation checks to prevent this early in the create process.
How to reproduce it (as minimally and precisely as possible):
apiVersion: k8ssandra.io/v1alpha1
kind: K8ssandraCluster
metadata:
  name: example
spec:
  cassandra:
    datacenters:
      - metadata:
          name: dc1
        size: 2
        racks:
          - name: invalid_pod_name

K8ssandra Operator version:

v1.2.0
┆Issue is synchronized with this Jira Task by Unito
┆friendlyId: K8SSAND-1769
┆priority: Medium

@jeff-knurek Since https://github.com/k8ssandra/cass-operator/issues/404 is done, can we close this? cass-operator sanitizes names upon creation such that _ will be replaced with -.


Sign out not working

when a user presses a sign-out button it is not responding
please add the functionality

You can proceed to fixing this bug


Do not add default manifest if no manifests exist and sourcing

This issue tracks a fix such that the list of Unikraft manifests does not include the default manifest if empty and the kraft pkg source command is used. Currently, if the list is empty and sourcing command is used, the default source is added preemptively.

@nderjung I think This issue has been fixed.

Yes, this is fixed now, I will close it


Support configure time switches for using std::varient or std::optional instead of the boost versions

Nice expansion.


About LibreOffice...

Just out of curiosity.. Why is LibreOffice not included in SCOOP?
Thanks,
Angelo.

Because its inside Extras bucket.

https://github.com/lukesampson/scoop-extras/blob/master/libreoffice-fresh.json

Can this install be customized? There is only x86 version being installed. What about x86_64? Also even though multilingual version is provided it lacks polish translation. Can it be added?


Use hex fixed for hex ids to ensure 16 characters

Resolves #17
I thought about switching the Text inside Hex to ByteString entirely, but that looked like a bunch of changes so I figured I'd do this first.
prng <- liftIO createSystemRandom
let newWord :: IO Word64 = liftIO (uniform prng)
idLengths <- map (length . toLazyByteString . word64HexFixed) <$> replicateM 10000 newWord
filter (/= 16) idLengths
> []

Ah nice one, thanks.

switching the Text inside Hex to ByteString entirely

Yeah well, would have to convert to Text at some point to encode to JSON, so not sure there's much to gain.

Text at some point to encode to JSON

Not if we use toEncoding right? We could just use id then?

if we use toEncoding

Mm yeah, have to give it some thought ... it could optimize the read path from HTTP headers (which are ByteStrings), which currently go through TextMap.


Support for multiple component layers

We have systems with very few but very big containers (Eclipse IDE client application). Such a container consists of a few high level components which itself contain (sub-)components on its own (sometimes even one more component layer) until finally the code layer is reached.
It would be very helpful if the dsl and finally then also the cli and structurizr server would support multiple layers of components.
That means when defining views in the dsl it would be very helpful if only the directly contained elements are shown, that means the component view only shows the top level components of the given container. For lower component layers it would be nice if the "parent" component could be given as the context for the view.

It's unlikely that multiple layers of components will ever be supported I'm afraid ... it's a very large across all of the tooling. From a more general perspective, I don't recommend that teams modify the layers in the C4 model approach either. Alternative visualisations (e.g. graphs) or slicing your diagrams may help you diagram large component models.


fix: CI

@bep, the build failed again today. This suggests that the removal of the go.sum file did not result in a resolution of the issue.
I suspected it might be related to the older Hugo version used in the GitHub action here.
So, I created a ci-fix branch in which I:

deleted the go.sum file
set the GitHub action to checkout ci-fix branch
upgraded Hugo version used in the GitHub action
removed the step in which changes are pushed

Next, I manually triggered a GitHub action workflow run, specifying the use of the workflow from the 'ci-fix' branch.

The workflow run failed with error:
System.IO.IOException: No space left on device : '/home/runner/runners/2.309.0/_diag/Worker_20230928-063111-utc.log' at System.IO.RandomAccess.WriteAtOffset(SafeFileHandle handle, ReadOnlySpan`1 buffer, Int64 fileOffset

You can access the logs for the GitHub action workflow run here.

I'm closing this, I will take a look at this in another branch.


⚠ Bofrost.fr has degraded performance

In a362583, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1014 ms

Resolved: Bofrost.fr performance has improved in a9f672e after 6 minutes.


Actions secret not working in __dangerous__body_down_if_text_missing

Describe the bug
Using an Actions secret in __dangerous__body_down_if_text_missing doesn't work.
To Reproduce
Steps to reproduce the behavior:

Create a PRIVATE_SERVICE_DOWNIFMISSING Actions secret ;
Add __dangerous__body_down_if_text_missing: $PRIVATE_SERVICE_DOWNIFMISSING to .upptimerc.yml.

Expected behavior
Upptime checks whether the secret text is missing.
Screenshots
https://github.com/server-home-KaKi87/status/blob/df013dc0b0d852b6d3403cf3d058d76a36dc294d/.upptimerc.yml#L14
Desktop (please complete the following information):

OS: Ubuntu Unity
Browser: Brave
Version 1.60.125

Smartphone (please complete the following information):

Device: Xiaomi Mi 8
OS: Android
Browser Kiwi
Version 120.0.6099.26

Additional context
I wonder why does this issue template requires desktop & mobile devices info.

Thanks

This is how we currently implement the check: https://github.com/upptime/cli/blob/c6e6c3b24bc0a2a92c13bc3a08b898a2a1075260/src/update.ts#L133
Any ideas what could be going wrong?

Well, that works for normal strings, but not for Actions secrets.
Could you point me to the implementation of url and headers, which are documented as supporting Actions secrets ?
Thanks

This is how we deal with Actions secrets in url - https://github.com/upptime/uptime-monitor/blob/master/src/update.ts#L158
This is the source for replaceEnvironmentVariables - https://github.com/upptime/uptime-monitor/blob/master/src/helpers/environment.ts
I don't see it anywhere that you can use an Actions secret (environment variable) for __dangerous__body_down_if_text_missing. Is this somewhere documented?

This is how we deal with Actions secrets in url -<EMAIL_ADDRESS>
Thanks, then I suggest replacing these :
result.data.includes(site.__dangerous__body_down)
result.data.includes(site.__dangerous__body_degraded)
!result.data.includes(site.__dangerous__body_degraded_if_text_missing)
!result.data.includes(site.__dangerous__body_down_if_text_missing)

With these :
result.data.includes(replaceEnvironmentVariables(site.__dangerous__body_down))
result.data.includes(replaceEnvironmentVariables(site.__dangerous__body_degraded))
!result.data.includes(replaceEnvironmentVariables(site.__dangerous__body_degraded_if_text_missing))
!result.data.includes(replaceEnvironmentVariables(site.__dangerous__body_down_if_text_missing))

I don't see it anywhere that you can use an Actions secret (environment variable) for __dangerous__body_down_if_text_missing. Is this somewhere documented?

It's not, I just hoped it would work, and when it didn't I submitted this post.
Thanks


Check if conflict before removing posts from review

We won't generally want to remove a post from the review queue when the feedback is ['tpu', 'fp'].

This has gone completely bit rot. I am no longer able to understand what I wrote and cannot fix the CI.


Incomplete

This page explain how to free-up some space, which is very good.
However if users are storing activities with big files, we cannot just delete them. It would be interesting to advise how the same heavy files could be stored in Azure nblob or sharepoint and how to migrate.

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

ID: 70fbb1c8-1435-e762-8824-78cf96faed84
Version Independent ID: 062879b5-72cf-2353-63f2-d862fe1b40ba
Content: Microsoft Docs contributor guide overview - Contributor Guide
Content Source: Contribute/index.md
Product: non-product-specific
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Sorry there isn't enough information to assist you here.
You're better off to use the MSDN forums for more specific help on an Azure service.
https://social.msdn.microsoft.com/Forums/azure/en-US/home?forum=windowsazuredata
Thanks, Jason


Testing other platforms and testing CI

Using this to test CI integration for MRs

This MR adds apple support, and changes CI to test on ubuntu and macos.


Missing Player Toolbox Background

The player toolbox is missing the semi-transparent background from PR https://github.com/elan-ev/tobira/pull/938

Where is that missing? On tobira.opencast.org? In what browser? I can't reproduce that right now. Have you tried a hard refresh? Are there any errors in the browser tools console?

Strange, I tried it after your PR was merged, and it worked. Yesterday, it did not work, and today it's working again 🤷♂. I am using Fedora 38 with Firefox. The screenshot is from tobira.opencast.org, and there was no error in the console.

Hu ok, weird. So let's close this for now? If it happens again, just reopen. But let's hope its not happening again :grimacing:


subprocess.CalledProcessError: Command '['ninja', '-C', '/home/patri/connectedhomeip/.environment/gn_out', '-v', ':python_packages.install']' returned non-zero exit status 1.[BUG]

Reproduction steps
I use this link to setup Matter Device
https://community.arm.com/arm-community-blogs/b/internet-of-things-blog/posts/build-a-matter-home-automation-service-using-raspberry-pi-arm-virtual-hardware-and-python
but i create the step at 8 & 9 always show
error: command '/usr/bin/aarch64-linux-gnu-gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> grpcio-tools
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
ninja: build stopped: subcommand failed.
['ninja', '-C', '/home/patri/connectedhomeip/.environment/gn_out', '-v', ':python_packages.install']
Traceback (most recent call last):
File "/home/patri/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/virtualenv_setup/install.py", line 327, in install_packages
subprocess.check_call(ninja_cmd, stdout=outs, stderr=outs)
File "/usr/lib/python3.11/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja', '-C', '/home/patri/connectedhomeip/.environment/gn_out', '-v', ':python_packages.install']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/patri/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 795, in
sys.exit(main())
^^^^^^
File "/home/patri/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 787, in main
return EnvSetup(**vars(parse())).setup()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/patri/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 457, in setup
result = step(spin)
^^^^^^^^^^
File "/home/patri/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 606, in virtualenv
if not virtualenv_setup.install(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/patri/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/virtualenv_setup/install.py", line 342, in install
install_packages(gn_target)
File "/home/patri/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/virtualenv_setup/install.py", line 330, in install_packages
raise subprocess.CalledProcessError(err.returncode, err.cmd,
subprocess.CalledProcessError: Command '['ninja', '-C', '/home/patri/connectedhomeip/.environment/gn_out', '-v', ':python_packages.install']' returned non-zero exit status 1.
So How can i fix this problem
Bug prevalence
everytimes
GitHub hash of the SDK that was being used
db49235c39635582ea522929f9905af03e3114c7
Platform
python, raspi
Platform Version(s)
python 3.11.2 raspi Raspberry Pi OS Lite(64bit) 2023-10-10
Anything else?
No response

The error seems to be not being able to install grpcio-tools.
Are you able to pip install grpcio-tools generally or in a virtualenv?

Platform also seems to state python 3.11.2 raspi Raspberry Pi OS Lite(64bit). For our RPI compiles, we always use an ubuntu version. I would try with Ubuntu 24.04 to make sure you have the highest changes of success. Using RPiOS you are likely using something that not many (guessing nobody else?) are using.


bug(PostgreSQL CDC): use PostgreSQL multiple CDC , Only partial data was Ingested

Describe the bug
CREATE SOURCE pg_mydb  WITH (
    connector = 'postgres-cdc',
    hostname = '<IP_ADDRESS>',
    port = '5434',
    username = 'rep',
    password = 'xxxxxx',
    database.name = 'data_warehouse',
    slot.name = 'mydb_slot_dim'
);

CREATE TABLE ods.ods_hl_stock_record
(record_id int8
, request_id varchar
, record_type int2
, before_change_unit_quantity numeric
, before_change_total_quantity numeric
, unit_quantity numeric
, total_quantity numeric
, batch_id int8
, create_time timestamp with time zone
, create_by int8
, update_time timestamp with time zone
, deleted int2
, note varchar
, is_batch int4
, business_id int8
, PRIMARY KEY (record_id)
)  FROM pg_mydb TABLE 'ods.ods_hl_stock_record';

in postgresql have 7 million data, but rw only have 4 ten thousand。
bu use single cdc it's ok
CREATE TABLE ods.ods_hl_stock_record
(record_id int8
, request_id varchar
, record_type int2
, before_change_unit_quantity numeric
, before_change_total_quantity numeric
, unit_quantity numeric
, total_quantity numeric
, batch_id int8
, create_time timestamp with time zone
, create_by int8
, update_time timestamp with time zone
, deleted int2
, note varchar
, is_batch int4
, business_id int8
, PRIMARY KEY (record_id)
)
WITH (
    connector = 'postgres-cdc',
    hostname = '<IP_ADDRESS>',
    port = '5434',
    username = 'rep',
    password = 'xxxxxx',
    database.name = 'data_warehouse',
    schema.name = 'ods',
    table.name = 'ods_hl_stock_record'
);

Error message/log
No response
To Reproduce
No response
Expected behavior
No response
How did you deploy RisingWave?
No response
The version of RisingWave
docker
PostgreSQL 9.5-RisingWave-1.6.0
Additional context
No response

not find error

Hi @ediconss, there is an internal table to track the progress of snapshot loading, could you also take a look of it? The instructions is here:

To check the progress of backfilling historical data, find the corresponding internal table using the SHOW INTERNAL TABLES command and query from it. For instance, the following SQL query shows the progress of a CDC table named orders_rw.
SELECT * FROM __internal_orders_rw_4002_streamcdcscan_5002;
-[ RECORD 1 ]-----+---------------------------------------------------------------
split_id          | 5001
o_orderkey        | 4024320
backfill_finished | f
row_count         | 1006080
cdc_offset        | {"MySql": {"filename": "binlog.000005", "position": 60946679}}

{
"select * from __internal_ods_hl_stock_record_3_streamcdcscan_1004\r\n": [
	{
		"split_id" : "4294967294",
		"record_id" : 32848,
		"backfill_finished" : false,
		"row_count" : 32768,
		"cdc_offset" : "{\"Postgres\": {\"lsn\":<PHONE_NUMBER>6576, \"txid\": 960144396}}"
	}
]}

{
"select * from __internal_ods_hl_stock_record_3_streamcdcscan_1004\r\n": [
	{
		"split_id" : "4294967294",
		"record_id" : 32848,
		"backfill_finished" : false,
		"row_count" : 32768,
		"cdc_offset" : "{\"Postgres\": {\"lsn\":<PHONE_NUMBER>6576, \"txid\": 960144396}}"
	}
]}

Will we pull the full of data when creating this table?

Thank you. Based on this state, the backfilling is not finished (false in the output) and it should continue to load the historical data. And I notice that you are using the v1.6.0 version which actually has some bugs, I am not quite sure whether the bug will cause your problem. But I suggest you can upgrade to the risingwave:git-55ebf241c3639f05b240695b37a60c0bc73870c2 image to have a try, which contains bug fixes.

pull access denied for risingwave

okey, i pulled , but still no full data

okey, i pulled , but still no full data

Is there any MV built on top of the table? And you can take a look of the grafana dashboard on localhost:3001, and check if the  Barrier Latency is normal.

I found the reason, it's due to network issues. I used an SSH tunnel，

Thank you for your help！


Update StorageOS Operator to version 1.2.0

Seems that the operator doesn't produce logs when a StorageOsUpgrade Cr is created: https://travis-ci.com/operator-framework/community-operators/builds/111960944#L391
Is this expected?

Upgrade CR needs some work. It's expected for now.

The CSV is missing the replaces property to denote the upgrade from the 1.1.0 version.

Thanks for noticing that. Added that in the same commit.

@SamiSousa @dmesser is there anything else needed here?

@darkowlzz sorry this took so long, merging now.


Merge 1.8 code to master

Merge 1.8 code to master

There are many commits with log message 'fix'. Better to merge it into 1 commit :)


Deprecated Symfony 2.7 factory

Symfony 2.6 introduced a new way to use factories:
http://symfony.com/doc/current/components/dependency_injection/factories.html
The problem is that the old way (<2.6) generates a lot of deprecated messages with Symfony 2.7 which makes impossible the testing in dev mode.
Affected service:
friendly.faker:
class: Faker\Generator
factory_class: Faker\Factory
factory_method: create
Solution: changing this service to:
friendly.faker:
class: Faker\Generator
factory: [Faker\Factory, create]

This solve the factory deps

I messed up the first pull request, this should work. :)

And what about Symfony <2.6 ? It does not have setFactory method. You can check it in https://github.com/symfony/DependencyInjection/blob/2.5/Definition.php.
I think, the best solution to keep BC is to handle it via DependencyInjection Compilers.
@PedroTroller what do you think?

@akovalyov Or maybe via a bidge class ?

It's tough. I took a look at other projects and they used this format (xml):
From this one
<service id="sonata.admin.entity_manager" factory-service="doctrine" factory-method="getEntityManager" class="Doctrine\ORM\EntityManager" public="false">

To this one:
<service id="sonata.admin.entity_manager" class="Doctrine\ORM\EntityManager" public="false">
    <factory service="doctrine" method="getEntityManager"/>

They say that it is BC from version 2.3: https://github.com/doctrine/DoctrineBundle/pull/381


Test gitian build: MacOS Mavericks (v3.1.0-rc7.2)

PreRelease v3.1.00-rc7.2:

Downloads for Mac:

Logs (Mac)
build.log, install.log
Gitian signatures

@gitianuser   3.1.00-rc7.2-osx-unsigned

Community is not active, I dont use MacOS binaries and with that issue closed. If somebody tests and has any issues, feel free to reopne or create new issue.


Use internal current index in TabViewPagerPan instead of the one from props

Index from props might be out of sync due to async nature of setState.
Motivation
Fixes #448
Test plan
Manual testing due to specific nature of the problem.

Thank you for your pull request!


[WIP - AJ's PR] Adding MLOps.NET.CLI

Resolves

Description

@AnoojNair I was trying to open a PR against your branch but wasn't really successful so had to open a new PR. I had a look at the code and it's a great start! Did some clean-up as you can see in my latest commit, let me know what you think!
The only remaining question I have is if it's possible to break the CommandHelper down into smaller classes?
E.g. MLOpsBuilderCli, LifeCycleCatalogCli and so forth as I think we'll continue to add new commands.
Great work, and let me know how you want to proceed 😄

@aslotte Thank you for the clean up. Lets continue with this PR. I have thinking about splitting up the CommandHelper. I will split them and push the changes.

That's great @AnoojNair!

Which branch did you push them too?

i pushed my changes to the Issue121_CLI_Alex branch in upstream. I guess it would be easier if i start a new PR from my fork. Is that ok?

Strange, that should have worked. Absolutely, feel free to open a new PR or whatever you think may help 👍

Opened a new PR https://github.com/aslotte/MLOps.NET/pull/329


docs(deployment): add cost-benefit analysis with different options

Motivation
Close #2953.
Have you read the Contributing Guidelines on pull requests?
Yes
Preview: https://deploy-preview-6026--docusaurus-2.netlify.app/docs/next/deployment/#choosing-a-hosting-provider
I think it may be a little longer than desired...

@import-brain Thanks for the review! I didn't write all of the parts that you reviewed (only the "choosing a provider" part) but yes they make sense

@import-brain Thanks for the review! I didn't write all of the parts that you reviewed (only the "choosing a provider" part) but yes they make sense

Ah, I see! There were some weird capitalization issues in the doc, might as well use this PR to fix them.

This repo doesn't let me approve pull requests

Hmm, that wasn't the case a while ago... They must have changed the access settings.

This repo doesn't let me approve pull requests

Hmm, that wasn't the case a while ago... They must have changed the access settings.

Weird

But I think it's not ideal yet for a user to make a decision very fast.

Agree, but I do think we need to put the analysis in one place for cross-comparison.
We have a similar structure for i18n which got a little confusing when I was first setting i18n up: I had no idea what "managing translations with git" even means😅

We'd probably benefit to separate Self-hosted, Jamstack & GitHub in separate sections, and have an "other options" section. An overview could list all options with a pros/cons sections, easier to scan than details/summary texts.

🧐This is hard to envision for me. If you want to commit to this PR feel free to, even just reorganizing the paragraphs and adding placeholders for me to fill in.

that seems good enough for me, we'll keep improving later ;) thanks


[Bug][Tapd] It reports an error when collect tapd data

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
When collecting Tapd data, the following error message was displayed: "cannot unmarshal array into Go struct field .Data of type map[string]string".
What do you expect to happen
I expect to be able to collect Tapd data without encountering any errors.
How to reproduce
To reproduce the error, follow these steps:
Run the program to collect Tapd data.
Wait for the program to finish collecting the data.
The error message "cannot unmarshal array into Go struct field .Data of type map[string]string" should be displayed.
Anything else

Version
v0.15.0
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Fixed by #4693


Logic Error Introduced in Update

I've been using the easy_scpi library in a project, and I recently updated to the latest which introduced a significant regression. I found the root cause was the refactor of the logic in the call method on the Property class:
The logic for query if no arguments are passed is defaulting to false which is incorrect. (args_passed will be False, which means it should be a query, however since query is None, it defaults to the same value as args_passed).
def __call__(self, *values, query=None):
            """
            Calls an SCPI command. If no values are passed it acts as a query 'COMMand?'
            If values are passed it acts as a write 'COMMand [values]'.
            For queries that require arguments, query=True can be passed.
            Alternatively for writes that need no arguments, query=False can be passed.
            """
            # Boolean of whether args have been passed
            args_passed = len( values ) > 0
            # Parse args into scpi understandable format
            args = ' '+self.arg_separator.join(map(str, values)) if args_passed else ''
            # When query is not passed, default to querying when no args and writing when args
            query = args_passed if query is None else query
            if query:
                return self.__inst.query(self.name+'?'+args)
            # Else write to __inst
            return self.__inst.write(self.name+args)

Logic should read:
query = not args_passed if query is None else query

Thanks for bringing this up. Can you create a PR with a correction? Even better would be if you create some tests to make sure it doesn't happen again.

This should be fixed in 0.1.7. 0.1.6 has been yanked.


token: add a new metadata address to the end of the Mint account

Clients dealing with a token generically need to find metadata about that token: name, icon, web presence of the issuer, etc.  The various ERC token standards have a lot to say about this, we can probably reuse most/all of those specs
However in the token2 timeframe, we don't need to actually define what the metadata is.  This can come later.  For token2, we just need a reserve place in the Mint to hold the details about how to locate the metadata.
Proposal:

Add the field metadata_authority: COption<Pubkey> to the end of the Mint account
New metadata_authority parameter to the InitializeMint instruction
New AuthorityType  for metadata
Support for changing the metadata address through SetAuthority

A couple possible metadata implementations (to be fully designed later):
a) The metadata_authority points to an account with inline CBOR data describing the token's metadata
b) The metadata_authority points to an account with an https/ipfs URL to the token's metadata

🤔 - we can also do this as a separate name service program as well, no need to clutter the mint proper with this address


GEODE-8741_1: implementation of API changes

Added proposal of implementation, of new API for block/suppress CQ Create/Update/Destroy notifications.
Idea is that user can chose which notifications wants to suppress, with goal to  remove unnecessary notifications, and improve performanse.
Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[*] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[*] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[*] Is your initial contribution a single, squashed commit?

[*] Does gradlew build run cleanly?

[x] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, check Concourse for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

Main motivation is to simplify implementation, and also simplify adding and getting part to/from message ExecuteCQ.

This PR has been open for some while with no recent activity.  Please keep Geode tidy by closing PRs you're not actively using.

This PR is waiting on review from CODEOWNERS.

Hi  @jdeppe-pivotal, @jinmeiliao, @agingade, @DonalEvans, @nabarunnag, @jchen21, and @kirklund, could you review this PR.
Thanks.

Thanks for the comments and proposal. I will apply it.

I am having hard time understanding the requirement here...The jira ticket just mention block CQ notification, what kind of notification we are talking here...By design CQ does not raise any notification...Can you be more specific about the notification you are mentioning about...
Also, i don't think it should be managed by the create/destroy APIs or by adding entirely new set of APIs, thats redundant.

I have added following comments in the ticket also:
I have to look into the PR to see what your are really are trying to achieve in this ticket. It will be helpful if you can add more information with the example (depending on the issue).
E.g.
Avoid sending CQ events for specific CQ query-operations (E.g. destroy Query operation) to client.
For a region.put() which results in CQ event with its query operation as destroy; avoid sending this event to client.
I am not seeing any value/scenario that needs this kind of behavior. Do you have any example can you please explain here.
The core CQ design aspect was to establish a data view representing a query result that can be expressed in the form of query.  And support event mechanism that will enable to manage/maintain that view as the change happens on the source data. The changes requested in this ticket, breaks the core design and can allow one to represent/establish a different data view that is not in-line with the source data (a query result view). I don't see need for supporting that kind of behavior in the server side. If Client is not interested to see specific event/operation it should be filtering this out on the client side.
Why the need for this behavior?
Looking the Pull Request opened; its not like its avoiding processing of CQs, which is generally more expensive part of having CQ; only thing its avoiding sending the CQ event to client. If this is the behavior client/application is looking for; probably CQ is not the functionality to use.
Also, it will be nice to use Request For Change (RFC) process for any issues that has behavior/functional or new API requirements. It will help to get feedback during design phase itself.

From an implementation point of view; this seems to be added/handled in CqQuery as a CqAttributes...
E.g:
interestedEventsWithQueryOperations = { ALL, CREATE, UPDATE, DESTROY}

Thanks for comments. I agree with you that there is no gain from this PR. I will close these PRs.


boardd: fix scons warning "Two different environments were specified"

This warning appeared after https://github.com/commaai/openpilot/pull/27936

It would be great if there was some way to make this fail in CI. We already set PYTHONWARNINGS=error, but it doesn’t seem to catch this.


Wifi Direct Experimental API initial contribution

First implementation supports Android. Windows support under work.
Manual test ready to be deployed to crowwsalk-test-suite/usecase
Mock test to be developed after and contributed here - added entries to test gyp files.

@alexshalamov Please help to review. thanks.

@jondong would you please review this PR since you're doing the presentation for Android.
@astojilj Could you add the spec link and version you're following?

@jondong thanks. updated.
@halton No spec on this yet. No interest for this API in Chrome OS.
Adding Windows support and tests before negotiating with Chrome OS - at which point spec would come.

Do you have an estimate, when could this get integrated? I think that I don't have submit rights. Thanks

LGTM and merging.


[WIP] Add security related commands

PR Summary
Adding Security related functions
PR Checklist

[X] Write Help
[X] Write Unit Test
[X] Update VSTeam.psd1
[X] Update CHANGELOG.md

@DarqueWarrior Work in Progress, but I thought I'd share this already so you can give initial feedback. Thanks!

I put in a check that validates the help files are created with a title that matches the filename. This is to catch copy and paste errors. But it also catches empty files. So if you want the build to succeed you are going to have to fill in the help files.
What is up with Get-VSTeamUser2? Not sure why you are not just changing the current function.

Yes, I will fill them ASAP.
I wasn't sure about changing Get-VSTeamUser, because it does things a little different than Get-VSTeamUser2.
How are your feelings about breaking changes? e.g. rename Get-VSTeamUser to Get-VSTeamUserEntitlement, or Get-VSTeamUserLicense or something like this? That seems to resemble more what the function currently does, and then rename Get-VSTeamUser2 to Get-VSTeamUser ?

Breaking changes are ok as long as the version number reflects it and it is clearly described in change log.

We also need to be very clear in the docs the difference between what is being returned from each function. On the surface the results look very similar.

How is this work coming? Seems like a huge change.

Still working on it. Got a couple more things that I'd like to add.
If you think it's too large, let me know and we can try splitting it up a bit

@DarqueWarrior I think this one is ready for a deeper review now

Sorry for delay I hope to have time this weekend.

Any luck in getting this one moving?

Just downloaded to my laptop to review on my flight. Sorry for the delay.

Can you rename users2.tests.ps1?
APIs not supported on TFS or AzD Server need to throw the error below.
throw 'This account does not support xxx.'
You can review Get-VSTeamUserEntitlement for an example of how to throw the corret error.  Now Get-VSTeamSecurityNamespace for example just throws a 404 which is unclear if the API is not surpported or we created the wrong URI for the call.

Hi Donovan
Are you sure the Get-VSTeamSecurityNamespace is not supported on TFS?
https://docs.microsoft.com/en-us/rest/api/azure/devops/security/security namespaces/query?view=vsts-rest-tfs-4.1
This seems to suggest otherwise?

I will test again. I can give you access to my TFS 2017 and 2018 instances so you can test as well.

That would be very nice of you and extremely helpful

@DarqueWarrior Can you get me these login credentials? Thx!

@DarqueWarrior OK, the issue is that TFS can only query security namespaces by ID, whereas AzD can actually  them. I think querying them by ID has not much value, so I made that whole command "AzD-only".
Also tested the commands with TFS and fixed a bug encountered while using TFS.

I see there is a warnning. Source\Public\Remove-VSTeamAccessControlList.ps1(1,10): Warning : Function 'Remove-VSTeamAccessControlList' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'.

Fixed. I'm not sure why it throws there now though...

` Context _handleException
      [-] Should Write two warnings 11ms
        NullReferenceException: Object reference not set to an instance of an object.
        MethodInvocationException: Exception calling "GetParamBlock" with "1" argument(s): "Object reference not set to an instance of an object."
        at Mock, /home/vsts/.local/share/powershell/Modules/Pester/4.7.3/Functions/Mock.ps1: line 237
        at <ScriptBlock>, /home/vsts/work/1/s/unit/test/common.Tests.ps1: line 89

Context _handleException message only
  [-] Should Write one warnings 10ms
    NullReferenceException: Object reference not set to an instance of an object.
    MethodInvocationException: Exception calling "GetParamBlock" with "1" argument(s): "Object reference not set to an instance of an object."
    at Mock, /home/vsts/.local/share/powershell/Modules/Pester/4.7.3/Functions/Mock.ps1: line 237
    at <ScriptBlock>, /home/vsts/work/1/s/unit/test/common.Tests.ps1: line 104`

I will look into it.

When unit tests only fail on Mac or Linux it can sometimes be a casing issue.

Strange I just ran on my local Mac and Ubuntu machines and they all pass.

There is something going on with the latest version of PowerShell core. If you install 6.2.0 you will get the same errors. Not sure why this is broken. Maybe @SteveL-MSFT knows if something changed in 6.2.0 that could cause this error.

I think I have a way to test the code without mocking ConvertFrom-JSON which is causing the Null reference exception. Something still seems to be off or different in version 6.2.0 of PowerShell core but I don't want to hold this PR until that is investigated. I will work on new tests this weekend.

@DarqueWarrior can you summarize the issue you're seeing with PSCore6.2?


Update difficulty modifier in HUD when using the Increase and Decrease Cost buttons.

Foundry Version: 0.8.8
Enhanced Terrain Layer version: 1.0.32
When updating the cost of a difficult terrain polygon using the Increase and Decrease cost buttons on the HUD, the cost value displayed on the HUD doesn't update until the HUD is deactivated and then reactivated.

The latest release should have this fixed.


Add handlebars (startswith, endswith, match)

Add handlebar helpers
startsWith
|Name| My Value|
|---|---|
{{#each @root}}
{{#if (startsWith @key "My_")}}
| {{@key}} | {{this}}  |
{{/if}}
{{/each}}

endsWith
|Name| My Keys|
|---|---|
{{#each @root}}
{{#if (endsWith @key "_key")}}
| {{@key}} | {{this}}  |
{{/if}}
{{/each}}

match
|Key| Value|
|---|---|
{{#each @root}}
{{#if (match @key "^(Country|Street|Post)")}}
| {{@key}} | {{this}}  |
{{/if}}
{{/each}}

@McHill007 We appreciate the contribution. I just have not had a chance to look at it yet.
It looks good overall, I will review later this week.


Problems starting a new session

Hi,
we have randomly occurring problem with starting a new session:
Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
Build info: version: '2.45.0', revision: '5017cb8e7ca8e37638dc3091b2440b90a1d8686f', time: '2015-02-27 09:10:26'
System info: host: 'sx508', ip: '<IP_ADDRESS>', os.name: 'Linux', os.arch: 'amd64', os.version: '3.2.0-4-amd64', java.version: '1.7.0_55'
Driver info: driver.version: PhantomJSDriver
org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
Build info: version: '2.45.0', revision: '5017cb8e7ca8e37638dc3091b2440b90a1d8686f', time: '2015-02-27 09:10:26'
System info: host: 'sx508', ip: '<IP_ADDRESS>', os.name: 'Linux', os.arch: 'amd64', os.version: '3.2.0-4-amd64', java.version: '1.7.0_55'
Driver info: driver.version: PhantomJSDriver
at java.util.concurrent.FutureTask.get(FutureTask.java:201)
at com.google.common.util.concurrent.SimpleTimeLimiter.callWithTimeout(SimpleTimeLimiter.java:130)
at org.openqa.selenium.net.UrlChecker.waitUntilAvailable(UrlChecker.java:79)
at org.openqa.selenium.remote.service.DriverService.start(DriverService.java:168)
at org.openqa.selenium.phantomjs.PhantomJSCommandExecutor.execute(PhantomJSCommandExecutor.java:78)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:572)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:240)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:126)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:139)
at org.openqa.selenium.phantomjs.PhantomJSDriver.(PhantomJSDriver.java:115)
at org.openqa.selenium.phantomjs.PhantomJSDriver.(PhantomJSDriver.java:104)
at de.idealo.security.smoketests.selenium.SeleniumHelper.createPhantomDriver(SeleniumHelper.java:64)
at de.idealo.security.smoketests.selenium.SeleniumHelper.createPhantomDriver(SeleniumHelper.java:75)
at de.idealo.security.smoketests.selenium.SeleniumHelperTest.testCreatePhantomDriver_0args(SeleniumHelperTest.java:56)
I have attached in this ticket the crash dump file.
Note! The attached file actually a textfile, which I created according to these instructions:
http://phantomjs.org/crash-reporting.html
however the issue reporting tool seems to support only images :)
Best regards,

Pasi Romo

I'm sorry for the delay getting back to you about this.
This appears to be a crash in the C library, probably due to memory corruption.  There are several possible explanations for this, and unfortunately, we can't help you very much with any of them.

Make sure you are using PhantomJS 2.0.  1.9.x is no longer supported and is known to have many crasher bugs that are fixed in 2.0.

Try to construct the smallest possible test case that makes the bug happen consistently rather than intermittently.  Try to avoid the use of Selenium/WebDriver.

Your computer's RAM may be faulty - no, I'm not joking.  Commodity-grade RAM is notorious for dropping bits under heavy load.  It is also possible that you don't have enough of it.  I bring this up because you say the problem is intermittent.  If you can't construct a test case that makes the bug happen every single time, try swapping in a beefier computer (ideally, one with ECC RAM) and see if that makes the problem go away.

If you still have the problem with PhantomJS 2.0 and you can construct a test case that makes it happen every single time, the next thing to try is whether it's reproducible in a nightly build of Webkit.  If it is, report it to the Webkit developers -- we don't have the manpower to fix their bugs ourselves.

If you can make the problem happen every single time, in 2.0, but not in Webkit, and it doesn't look like the problem is one that would be resolved by upgrading Webkit, only then we would like to see the test case.

Hi,
thank you for your detailed response. We are running the tests on 64-bit linux and since it doesn't seem yet to be available an official 2.0 version we built it from source but ended up with this error while running the tests:
error while loading shared libraries: libicudata.so.52: cannot open shared object file: No such file or directory
I tried to run the tests on two different environments:

Linux jenkins-java-08 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux
Linux ls20903 3.2.0-58-generic #88-Ubuntu SMP Tue Dec 3 17:37:58 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

with the same problem. There seems to be another lengthy discussion related to similar kind of problem:
https://github.com/ariya/phantomjs/issues/12948
Should I gather from this that 2.0.0 is not yet usable on linux?
Best regards,
Pasi

Thanks for being willing to attempt to compile 2.0 from source.  It does work on Linux, but you need to install more library packages than were required for 1.9.x. On Debian and Ubuntu, run this command as root:
apt-get install build-essential g++ libexpat1-dev libfontconfig1-dev libfreetype6-dev \
                      libicu-dev libjpeg62-turbo-dev libpng12-dev libssl-dev zlib1g-dev

and then recompile phantomjs on that system.

Thank you very much for your quick reply. I tried running the tests with a binary built on the same system and indeed this solved the problem. We will now continue running the tests based on your previous recommendations.
Best regards,
Pasi


Add task queue to worker metrics

What was changed
Add task_queue label/tag to worker metrics.
Why?
https://docs.temporal.io/docs/reference/sdk-metrics shows them available from other languages. Also, with gauges like temporal_worker_task_slots_available which are set to a fixed value on worker start, not separating per task queue means they can overwrite each other.
⚠ Is this change acceptable? This will add cardinality to these 3 metrics.
Also, is it ok that temporal_worker_task_slots_available doesn't include some kind of worker identity? That means multiple workers on the same task queue sharing the same metric scope/collector will be overwriting each others' value for that metric since it's a fixed value update. I assume that multiple workers for the same task queue sharing the same metric scope is rare.
Checklist

Closes #784

Is this change acceptable? This will add cardinality to these 3 metrics.

Low cardinality, I don't think it's an issue.

Also, is it ok that temporal_worker_task_slots_available doesn't include some kind of worker identity? That means multiple workers on the same task queue sharing the same metric scope/collector will be overwriting each others' value for that metric since it's a fixed value update. I assume that multiple workers for the same task queue sharing the same metric scope is rare.

It would be super weird to have multiple workers on the same TQ in the same process. No reason to be concerned about that IMO. (Honestly, if we want, we could throw errors in that situation. It just makes no sense.)


Adding a Navbar on the landing page of Websites

here we add the navbar with some dynamic effect on the background using react.js and node.js

@sdmg15 Hey can you please tell me whether Can I work on this issue ?

Okay go ahead


Add dotnet-sql-cache

Moving day! Incoming content from https://github.com/aspnet/Caching/pull/232
cc @Eilon @muratg

cc @kichalla


failure due to (inherited?) nounset

I got:
+ocr-transform page alto OCR-D-OCR/OCR-D-OCR_0001.xml FULLTEXT/FULLTEXT_0001.xml -- --no-check-border --dummy-word
+SHAREDIR=/usr/share/ocr-fileformat
+source /usr/share/ocr-fileformat/lib.sh
/usr/bin/ocr-transform: line 4: COLORTERM: unbound variable

The latter is the fourth line of lib.sh's
if [[ -n "$COLORTERM" || "$TERM" = *color* || "$TERM" = xterm* ]];then

The only way this can fail AFAICS is if the shell has nounset enabled (i.e. set -u).
But ocr-fileformat's ocr-transform.sh itself only uses set -e.
We have set -u here in ocrd-fileformat-transform, but IIUC these shell options cannot be inherited.
So where does this come from?

We have set -u here in ocrd-fileformat-transform, but IIUC these shell options cannot be inherited.

It does seem to be inherited!


Fix ASan-reported heap-buffer-overflow in GIUH tests

Identified in #536
$ ./test/test_giuh --gtest_filter=GIUH_Test.TestInit0

Running main() from /Users/phil/Code/noaa/ngen/test/googletest/googletest/src/gtest_main.cc
Note: Google Test filter = GIUH_Test.TestInit0
[==========] Running 1 test from 1 test suite.
  But I am pretty sure we can just do this to make the sanitizer happy:
diff --git a/src/core/catchment/giuh/GIUH.cpp b/src/core/catchment/giuh/GIUH.cpp
index c86143e09..cab60f7ed 100644
--- a/src/core/catchment/giuh/GIUH.cpp
+++ b/src/core/catchment/giuh/GIUH.cpp
@@ -123,7 +123,7 @@ void giuh_kernel_impl::interpolate_regularized_cdf()

         // Find index 'i' of largest CDF time less than the time for the current ordinate
         // Start by getting the index of the first time greater than time_for_ordinate
-        int cdf_times_index_for_iteration = 0;
+        int cdf_times_index_for_iteration = 1;
         while (this->cdf_times[cdf_times_index_for_iteration] < regularized_times_s.back()) {
             cdf_times_index_for_iteration++;
         }

To be clear, ASan is a dynamic runtime analysis, not a static analyzer. This isn't a false positive - the case in question actually happened in our tests, and the code actually threw the exception when I changed [] to .at()


Cannot download my NFT as a video/gif

I wanted to share my cool new NFT from .motherload collection on Twitter and download the NFT so I can post it, but it only downloads png in low quality.
Therefore I cannot share it properly.

Fix is here #8448

u sure? I tried deploy link and when i downloaded it still downloaded pic in a low quality and as a png not video.
https://github.com/kodadot/nft-gallery/assets/104380776/6ebcbf56-41a4-4a85-81e3-52181ad9778c

Ah ye, we can't download it as gif, because it's iframe. In fact is not gif

is there any other way how to do it?

is there any other way how to do it?

No, there's no way, not even any hacks

hmm... we could have an ugly hack that would capture canvas content and transform it in a video/gif but this might need some server side dev.

yeah got it guys, thx for info, I was not sure how it works. 😄

related with odadot/workers#246


Upgrade Julia v0.5 -> v.1.0+

Requests -> HTTP
type -> struct / mutable struct
produce/consume -> Channel

TODO - fix:

changes_streaming tests in replication_tests
retry_tests
geo_tests
apikey_tests
Delete Mango index in mango_tests

Currently, Travis fails with:
$ julia -e 'Pkg.clone(pwd())'
ERROR: UndefVarError: Pkg not defined
Stacktrace:
 [1] top-level scope at none:1
The command "julia -e 'Pkg.clone(pwd())'" exited with 1.
1.05s$ julia -e 'Pkg.test("Couchzilla",coverage=true)'
ERROR: UndefVarError: Pkg not defined
Stacktrace:
 [1] top-level scope at none:1
The command "julia -e 'Pkg.test("Couchzilla",coverage=true)'" exited with 1.

https://travis-ci.com/github/loredanacirstea/Couchzilla.jl/builds/167106736
I need some pointers for fixing this, as I am not comfortable enough (yet) with Julia's packages & execution quirks.

The above issue with Pkg was solved.
In my fork, I don't have couchdb credentials to use with Travis and I see that in this repo, Travis is not enabled for PRs... . It would help to have it enabled, but I don't know if you intend to maintain this package.

Hi @loredanacirstea -- many thanks for your PR. My sincere appologies, I didn't see it arrive at the time. I was sort of unawares that anyone but myself would ever have seen this repo... my circumstances have changed, so don't use Julia anymore. Travis-on-PRs should be enabled, but sadly won't work due to how credentials are handled. Not sure what the way around that is. I'll merge your PR and we can take it from there.


ORC file reader support

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

Be able to support reading ORC file format into Arrow arrays
Describe the solution you'd like

New crate named arrow-orc or orc to support reading ORC.
Describe alternatives you've considered

Additional context

TODO: flesh out the steps needed, e.g. support statistics, indexes, compound datatypes, async

@Jefffrey  --
I think ORC file support will be a substantial undertaking (for comparison, the parquet implementation took substantial effort from  several contributors (including @sunchao , @nevi-me @tustvold ,  and others) years to get to the point where it is now . This effort included not just the coding, but also the design, testing, documentation and review.
In order for the ORC implementation to be successful I think a similar order of magnitude of investment will be required. Without the appropriate level of support, this project will be frustrating for all involved (you and reviewers).
Therefore,  I suggest we proceed in one of two ways:

We find an arrow committer who is willing to invest their time to work with you to review the design, code, tests and documentation in the arrow-rs repository
Do the initial development of the arrow-orc crate in another repository with other collaborators, with less process overhead than in arrow-rsand when it has reach sufficient maturity we can propose donating it to the arrow project.

Unfortunately, I do not have the time to commit to helping this implementation.
Does anyone else have time to help Jefffrey implement ORC?

Regarding point 2, I actually only recently became aware of a similar repo already existing: https://github.com/wenyxu/orc-rs
Which already seems more feature complete than my initial implementation, so that could be a valid path forward if the owners of the repository are willing.
I'm not too attached to my implementation either way, was just an issue I picked up from DataFusion and decided to try my hand at implementing.

@sunchao  pointed out the existence of https://github.com/DataEngineeringLabs/orc-format as well

https://github.com/wenyxu/orc-rs is for supporting external table in ORC format. So it's born to be an ORC-Arrow bridge. https://github.com/DataEngineeringLabs/orc-format also helps a lot in implementing orc-rs. @WenyXu and me are glad to help with code and non-code parts.

Which already seems more feature complete than my initial implementation, so that could be a valid path forward if the owners of the repository are willing.

At present, orc-rs only support a limited type and are read-only. I'm willing and happy to push it into next stage 😉

Looks like best way forward would be to focus on building the implementation in orc-rs crate. 👍

Here is the difference list of what orc-rs is lacking by comparing orc-rs' readme and https://github.com/apache/arrow-rs/pull/4981

datatype Tinyint
compress LZO
compress LZ4
compress SNAPPY

Would that be a good point to kick off (again)?
And cc @alamb, do you have any suggestions on how we should start collaborating? Like something similar to datafusion-contrib

And cc @alamb, do you have any suggestions on how we should start collaborating. Is something similar to datafusion-contrib necessary?

datafusion-contrib sounds like a good plan to me. I made https://github.com/datafusion-contrib/datafusion-orc and added you both @waynexia  and @Jefffrey  as admins
Another thing that is important is that if we eventually want to bring this into an apache repository, we should track the provenance (aka if it is a fork or has code from other repos, we should document where that code came from so we can ensure there is no legal ownership hurdles)


data-modifiers-*

after a long discussion on discord making modifiers into expressions.

causes a recursive effect batch eval inception, abandoning


[GreatFonBridge] Add new Instagram Viewer Bridge

Add a new Instagram Bridge not using Cloudflare DDoS Protection

this is nice but feels like an endlesss journey with this instagram


Removing the "tab" role

Blind users do not like the "tab" role because, just as the "application" role, it prevents them from using their navigation shortcuts. This commit simply removes the role attribute for tabs, and also adds the href attribute on the anchors so that tabs are recognized as links.

@ymeine Thank you for your review!


[CLOUD-346] Add upgrade testing to integration tests

Update RELEASE_PLAN.md
Update README.md
Add rake task for vendoring the latest stable liveness agent recipe
Converge the stable recipe before the latest compiled recipe to test
upgrades.

Yep, during tests we always converge the previous stable version first and then test convergence of the new recipe twice.


Warning componentWillReceiveProps

Hi, can someone help me with this warning, I don't know if it affects my app
Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.

Move data fetching code or side effects to componentDidUpdate.
If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps.
Learn more at: https://fb.me/react-derived-state
Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run npx react-codemod rename-unsafe-lifecycles in your project source folder.

Please update the following components: %s DatePicker
Also when I select the date I get an error that says:
Warning: DatePickerAndroid has been merged with DatePickerIOS and will be removed in a future release. It can now be installed and imported from '@react-native-community/datetimepicker' instead of 'react-native'. See https://github.com/react-native-community/datetimepicker

same issue here,  is react-native-datepicker is already maintained ?
thanks

Having the same issue...

Having the same issue...


feat: Block - generative UI component POC

separate api routes for api/ui/page and api/ui/component
/ui/component page
export 'request' from FSC /client - (otherwise node stuff can be pulled into next client components and cause issues)

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


Display and log outgoing private messages

Private discussions virtually don't exist until the recipient answers. I suggest The Lounge should open a tab and start logging as soon as the first /msg is sent.

Duplicate of #590

Dang, how did I miss that, I searched for /msg. Sorry about this.


Noise authenticated encryption

Add a 'noisemanager' package that handles the noise setup, mutual verification between a client and the base and writing the keys to a file.
To cleanly handle the encryption and decryption of incoming and outgoing websocket messages, websocket listen and read loops are implemented that automatically encrypt and decrypt traffic. The rest of the code can interact with the loops through the use of channels.
Edit: Currently the noise keys are saved to a .base directory in the same location from where the binary is run. Suggestions to where this file should actually live are welcome.

The middleware can now take the -noise-key-path argument to specify in which path the noise keys should be written into. By default it will write the keys into a .base directory in the same path the middleware is being run. This probably will need some tweaking in the setup scripts.


Adds batched option to quest's InOutOctree containment example

Summary

This PR is a feature
It adds a --batched flag to the quest::InOutOctree point containment example
When this is set and the code is built using RAJA and OpenMP, it will run the containment query
over an array of points using the RAJA OMP execution policy.

I'm seeing about a 10x speedup in batched mode with OpenMP on a toss3 node with 36 cores:
Release mode build without batched:
>./examples/quest_containment_driver_ex ../data/quest/plane.stl
[INFO] ******************************* Loading the mesh *******************************
[INFO] Reading file: ../data/quest/plane.stl...
[INFO] Mesh has 1120242 nodes and 373414 cells.
...
[INFO] ***************************** Querying the octree ******************************
[INFO] Bounding box for query points: { min:(-419.598,-36.1974,-33.8927); max:(419.598,845.432,198.783); range:<839.196,881.629,232.675> }
[INFO] 	Querying (2,2,2)^3 containment field took 8.4e-06 seconds (@ 952381 queries per second)
[INFO] 	Querying (4,4,4)^3 containment field took 2.6735e-05 seconds (@ 2.39387e+06 queries per second)
[INFO] 	Querying (8,8,8)^3 containment field took 0.000208795 seconds (@ 2.45217e+06 queries per second)
[INFO] 	Querying (16,16,16)^3 containment field took 0.00113226 seconds (@ 3.61754e+06 queries per second)
[INFO] 	Querying (32,32,32)^3 containment field took 0.0055574 seconds (@ 5.89628e+06 queries per second)
[INFO] 	Querying (64,64,64)^3 containment field took 0.041109 seconds (@ 6.3768e+06 queries per second)
[INFO] 	Querying (128,128,128)^3 containment field took 0.302812 seconds (@ 6.9256e+06 queries per second)
[INFO] 	Querying (256,256,256)^3 containment field took 2.1179 seconds (@ 7.92161e+06 queries per second)

Release mode build in batched mode:
>./examples/quest_containment_driver_ex ../data/quest/plane.stl --batched
[INFO] ******************************* Loading the mesh *******************************
[INFO] Reading file: ../data/quest/plane.stl...
[INFO] Mesh has 1120242 nodes and 373414 cells.
...
[INFO] ***************************** Querying the octree ******************************
[INFO] Bounding box for query points: { min:(-419.598,-36.1974,-33.8927); max:(419.598,845.432,198.783); range:<839.196,881.629,232.675> }
[INFO] 	Querying (2,2,2)^3 containment field took 0.0353549 seconds (@ 226.277 queries per second)
[INFO] 	Querying (4,4,4)^3 containment field took 0.000484981 seconds (@ 131964 queries per second)
[INFO] 	Querying (8,8,8)^3 containment field took 0.000661396 seconds (@ 774120 queries per second)
[INFO] 	Querying (16,16,16)^3 containment field took 0.00121585 seconds (@ 3.36884e+06 queries per second)
[INFO] 	Querying (32,32,32)^3 containment field took 0.00794509 seconds (@ 4.12431e+06 queries per second)
[INFO] 	Querying (64,64,64)^3 containment field took 0.0184896 seconds (@ 1.41779e+07 queries per second)
[INFO] 	Querying (128,128,128)^3 containment field took 0.049532 seconds (@ 4.23393e+07 queries per second)
[INFO] 	Querying (256,256,256)^3 containment field took 0.271726 seconds (@ 6.1743e+07 queries per second)

Tag: @adayton1

Passed all toss3 and blueos host-configs.


Subtasks are rendered at the same level as the parent task

A task with a subtask will both be rendered as top level tasks.
Fairly self-explanatory to reproduce.

This has been released in v1.2 :tada:

Sorry, but how to do opposite - reflect subtasks as they was created in Todoist? Now subtask levels just ignoring