Integration of JS libraries

I wonder if there is a better way to integrate JS libs (in my case for graph drawing) into the framework? Currently I turn every change in a subscription into a handler event (using reagent.ratom/run!).
The event then does the JS calls, so it looks like this:
(defn sub->handler [handler sub & args]
  (let [x (re-frame/subscribe sub)]
    (ratom/run! (re-frame/dispatch (into [handler @x] args)))))

(re-frame/register-handler
 :foo-event
 (fn [db [_ subscription-result elem]]
    ;; call some JS stuff to change elem
   db))

(defn component [x]
  (reagent/create-class
   {:component-did-mount
    (fn [c]
      (let [elem (.getDOMNode c)]
        (subs->handler :foo-event [:bar-subscription x] elem)))
    :reagent-render (fn [] [:div {:id "component"}])}))

@bendisposto  Somehow that doesn't seem right.  But I'm not sure what alternative  to suggest yet.  Any chance of a simple repo, showing the issue. I haven't had to integrate with any JS libs so far, so I need to see something real.
Sven appeared to raise a related issue (?) here:
https://groups.google.com/forum/#!topic/clojurescript/Dl2gC1BnIHE

Here is an example project: https://github.com/bendisposto/reframe-cytoscape

Yes, this is basically the same solution I came up with to call a resumable.js function.

Does anything around this need to be added to the Wiki?  Or just close this issue?

I have not found a better way to do the integration yet. So maybe we should produce a wiki page if somebody encounters the same problem.

@bendisposto;  Jens,  I've had a quick look at this.  Although this approach is "creative",  it  breaks just about every rule in re-frame.  So I don't think we'll be describing it in the Wiki. :-)
As far as I can tell, the clean approach is to use Nils' technique described here:
http://nils-blum-oeste.net/clojurescripts-reagent-using-props-in-lifecycle-hooks/
You create a component which takes the graph as "props".  This components renders a simple div and then lets cytoscape do its imperative job on the DOM via will-update and did-mount.

@bendisposto Did you ever get cytoscape integrated into re-frame?


Fixed vars in metricResourceUri

Less than ideal names for variables. Fixed.

Hi @snobu, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

@snobu : Thanks for your contribution to the Azure documentation! The author, @kamathashwin, has been notified to review your proposed change.

Hi @snobu.  Taking a look at this for @kamathashwin.  Your changes are good ones. Definitely more understandable.  Thanks for making the comment.  Sorry it took us so long to accept it.

#sign-off

#sign-off


fundamental-ui css is not bundled properly after following application setup steps

Description
The script demonstrating application setup for angular 6 doesn't include proper bundling of fundamental-ui.
Actual result
When you follow the application setup, the css from fundamental ui will not be properly bundled and would not be available for index.html to import using href /fundamental-ui/fundamental-ui.min.css:
Refused to apply style from 'http://localhost:4200/fundamental-ui/fundamental-ui.min.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
Solution proposal
Define additional steps in the script that would assure additional asset entry in angular.json file
I.e:
{
                "glob": "**",
                "input": "node_modules/fundamental-ui/dist",
                "output": "/fundamental-ui"
              }

This issue has been solved by just adding some more content to angular.json file through terminal command, but I identified an underlying issue which is the following:
As part of this task affecting the angular example, I questioned why we need to import fundamental-ui.min.css file in luigi app html. Luigi should satisfy its own dependencies by itself, without the need of any app using Luigi to do that. Therefore, if an app using Luigi has fundamental-ui as a dependency (as our angular example does), this dependency should be used exclusively for the angular app (microfrontend), and under no circumstance by Luigi.
The actual issue is that when Luigi core is bundled, fonts are not properly loaded, including icon fonts. As a consequence, our angular example needs to provide Luigi with them by first importing luigi.min.scss in luigi app html
 <link rel='stylesheet' href='/fundamental-ui/fundamental-ui.min.css'>
and second by making fonts and icons available to fundamental-ui.min.scss via the angular app build pipeline
{
  "glob": "fundamental-ui.min.css",
  "input": "node_modules/fundamental-ui/dist",
  "output": "/fundamental-ui"
},
{
  "glob": "fonts/**",
  "input": "node_modules/fundamental-ui/dist",
  "output": "/fundamental-ui"
},
{
  "glob": "SAP-icons.*",
  "input": "node_modules/fundamental-ui/dist",
  "output": "/fundamental-ui"
},

We don't want every user to add this code to their apps using Luigi, this is a hack imho.
Another drawback of this configuration is that Luigi core uses internally its own dependency of fundamental-ui, while in the angular example app we are supplying Luigi with extra content from fundamental-ui by using example´s own dependency of fundamental-ui. A mismatch of versions between both copies from fundamental-ui might lead to issues.
I tried to solved the issue, but failed.
In Luigi core build pipeline, our Svelte loader preprocess handler is properly processing the @font-face at-rule, but in the generated luigi.css file all the occurrences of @font-face are empty objects. Most likely the paths of the url property are wrongly referenced, but I reasoned about that and tried different combinations without succeeding. Most likely, as a consequence of using the wrong paths, fonts and icons files are not being copied to the core public folder.
Therefore, I am providing a solution for the current issue, but none for the underlying issue.
I will bring this topic to internal discussion before putting any additional effort on it.


Adding speedup factors specific to Databricks AWS

Contributes to #178
CPU cluster: 4 x m6gd.8xlarge
GPU cluster: 4 x g5.8xlarge

@cindyyuanjiang It will be nice if you can report the numbers generated by the wrapper before-and-after that change.

Can we have it be databricks-aws (hyphen instead of underscore)?

@cindyyuanjiang It will be nice if you can report the numbers generated by the wrapper before-and-after that change.

@amahussein Sure, by the numbers are you referring to the operator scores?

Can we have it be databricks-aws (hyphen instead of underscore)?

@mattahrens It would require changing a numbers of places in the implementation, but we can change that if databricks-aws is better.


Feat/masterchef claim rewards

https://trello.com/c/x9j85B2o
added querier function to fetch masterchef claim rewards

I did something similar here please review that as well


PyPDFLoader use url in metadata source if file is a web path

Description: Update langchain.document_loaders.pdf.PyPDFLoader to store url in metadata (instead of a temporary file path) if user provides a web path to a pdf

Issue: Related to #7034; the reporter on that issue submitted a PR updating PyMuPDFParser for this behavior, but it has unresolved merge issues as of 20 Oct 2023 #7077

In addition to PyPDFLoader and PyMuPDFParser, these other classes in langchain.document_loaders.pdf exhibit similar behavior and could benefit from an update: PyPDFium2Loader, PDFMinerLoader, PDFMinerPDFasHTMLLoader, PDFPlumberLoader (I'm happy to contribute to some/all of that, including assisting with PyMuPDFParser, if my work is agreeable)
The root cause is that the underlying pdf parser classes, e.g. langchain.document_loaders.parsers.pdf.PyPDFParser, never receive information about the url; the parsers receive a langchain.document_loaders.blob_loaders.blob, which contains the pdf contents and local file path, but not the url
This update passes the web path directly to the parser since it's minimally invasive and doesn't require further changes to maintain existing behavior for local files... bigger picture, I'd consider extending blob so that extra information like this can be communicated, but that has much bigger implications on the codebase which I think warrants maintainer input

Dependencies: None

# old behavior
>>> from langchain.document_loaders import PyPDFLoader
>>> loader = PyPDFLoader('https://arxiv.org/pdf/1706.03762.pdf')
>>> docs = loader.load()
>>> docs[0].metadata
{'source': '/var/folders/w2/zx77z1cs01s1thx5dhshkd58h3jtrv/T/tmpfgrorsi5/tmp.pdf', 'page': 0}

# new behavior
>>> from langchain.document_loaders import PyPDFLoader
>>> loader = PyPDFLoader('https://arxiv.org/pdf/1706.03762.pdf')
>>> docs = loader.load()
>>> docs[0].metadata
{'source': 'https://arxiv.org/pdf/1706.03762.pdf', 'page': 0}

hi @eyurtsev: thank you for the review and of course to you and the team in general for the work on this project.  Your response makes sense and I had been stuck on the idea that blob and/or Blob.from_path() would need to be modified to allow web path information to be passed in.  This update reverts changes to the pdf parser and limits code changes to PyPDFLoader only, while retaining the desired new behavior.


1m fluid drive does not work

As title suggests, the 1m fluid drive does not work. Tried many different things to import any fluid into my system using 1m fluid drives. Solution was to use 64k drives instead,

hmm, I wonder if it's integer overflow

merging this into #13


bash dep command not found in GitBash

Hi! I am new to this whole Git and Go stuff so I really don't know what's wrong. I've tried to search the web for 3 days to fix this problem but still I can't get it to work.
When I am running a dep command such as dep --version in GitBash it says bash: dep: command not found. The way I did was I ran "GitBash Here" inside my $GOPATH folder where I have 3 folders named "bin", "pkg" and "src" and wrote the command go get -u github.com/golang/dep/cmd/dep.
I got a folder inside my src which I'm suppose to get and a file called "dep.exe" in my bin folder. Next I am suppose to do dep init or dep --version but doesn't work either because the command wasn't found. So I opened up my Git CMD and went to the bin folder and ran the dep.exe through dep init command and it says "root project import: C:\Users\Leona\Go\bin is not within any GOPATH/src". So what I did was I moved the file to inside the src folder and I could run but still the dep commands like dep --version didn't work through GitBash but they work through Git CMD.
What I am trying to say is what do I do after I downloaded it through the go get? I have set my enviroment as well.

Very thankful for any help!
/Leona

Both GOROOT/bin and GOPATH/bin should be in your PATH.
I see C:\Go\bin there but not C:\Users\Leona\Go\bin. In this last folder you'll have your dep.exe.
(Don't forget to restart your shell after changing environment variables)

Thank you so much. Can't believe such a small thing I missed that caused all of my confussion.
Works now!

LeOwnYa : Hi, i am facing the same issue. but i didn't get the solution.
Can you please show me step by step how to resolve it.
prefer screenshots. thank you in advance.


Cannot compile app on linux

Need to open a report because I am from a remote machine. When trying to build my app on linux, I get the following message:
-I/home/jan/Qt5/5.14.2/gcc_64/mkspecs/linux-g++ -o sysapiloader.o ../../../modules/framelesshelper/src/core/sysapiloader.cpp
In file included from ../../../modules/framelesshelper/src/core/framelesshelper_windows.h:1,
                 from ../../../modules/framelesshelper/src/core/registrykey.cpp:26:
../../../modules/framelesshelper/src/core/../../include/FramelessHelper/Core/framelesshelper_windows.h:55:10: fatal error: sdkddkver.h: No such file or directory
   55 | #include <sdkddkver.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:6966: registrykey.o] Error 1
make: *** Waiting for unfinished jobs....
13:33:43: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project pawxel (kit: Desktop Qt 5.14.2 GCC 64bit)
When executing step "Make"

That looks like a very windows specific include I cannot use on linux (Linux Mint MATE 21 64bit).
My .pro file looks like this:
CONFIG += c++17
# FramelessHelper
include(modules/framelesshelper/qmake/core.pri)
include(modules/framelesshelper/qmake/widgets.pri)

On Windows the app compiles just fine. I also installed GTK3 and X11 development libraries. Current version I use is https://github.com/wangwenx190/framelesshelper/commit/55fe04000eb5949a68dea066a3595958b9028c78. I use Qt 5.14.2.
With a small test app using the latest FramelessHelper version I also get this error:
-I../../../Qt5/5.14.2/gcc_64/mkspecs/linux-g++ -o sysapiloader.o ../testfh/framelesshelper/src/core/sysapiloader.cpp
In file included from ../../../Qt5/5.14.2/gcc_64/include/QtCore/qobject.h:46,
                 from ../testfh/framelesshelper/src/core/../../include/FramelessHelper/Core/framelesshelpercore_global.h:31,
                 from ../testfh/framelesshelper/src/core/framelesshelpercore_global.h:1,
                 from ../testfh/framelesshelper/src/core/framelesshelpercore_global.cpp:25:
../../../Qt5/5.14.2/gcc_64/include/QtCore/qobjectdefs.h:93:20: error: expected unqualified-id before ‘public’
   93 | # define Q_SIGNALS public QT_ANNOTATE_ACCESS_SPECIFIER(qt_signal)
      |                    ^~~~~~
../../../Qt5/5.14.2/gcc_64/include/QtCore/qobjectdefs.h:93:20: error: expected unqualified-id before ‘public’
   93 | # define Q_SIGNALS public QT_ANNOTATE_ACCESS_SPECIFIER(qt_signal)
      |                    ^~~~~~

Example looks like this:
#include <QApplication>
#include <FramelessMainWindow>
#include <Utils>
#include <FramelessWidgetsHelper>

FRAMELESSHELPER_USE_NAMESPACE

int main(int argc, char *argv[]) {
    QApplication app(argc, argv);
    FramelessMainWindow win;
    win.show();
    return app.exec();
}

Any suggestion what's happening here? Did I miss something to install?
Many thanks,
Jan

The .pro file of the test app looks exactly like this:
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = testfh
TEMPLATE = app
CONFIG += c++17 # needed for FramelessHelper

SOURCES += main.cpp

include(framelesshelper/qmake/core.pri)
include(framelesshelper/qmake/widgets.pri)

Even with my code looking like this:
#include <QApplication>
#include <QMainWindow>

int main(int argc, char *argv[]) {
    QApplication app(argc, argv);
    QMainWindow win;
    win.show();
    return app.exec();
}

The test app won't compile exiting with:
-I../../../Qt5/5.14.2/gcc_64/mkspecs/linux-g++ -o framelesswidgetshelper.o ../testfh/framelesshelper/src/widgets/framelesswidgetshelper.cpp
In file included from ../../../Qt5/5.14.2/gcc_64/include/QtCore/qobject.h:46,
                 from ../testfh/framelesshelper/src/core/../../include/FramelessHelper/Core/framelesshelpercore_global.h:31,
                 from ../testfh/framelesshelper/src/core/framelesshelpercore_global.h:1,
                 from ../testfh/framelesshelper/src/core/framelesshelpercore_global.cpp:25:
../../../Qt5/5.14.2/gcc_64/include/QtCore/qobjectdefs.h:93:20: error: expected unqualified-id before ‘public’
   93 | # define Q_SIGNALS public QT_ANNOTATE_ACCESS_SPECIFIER(qt_signal)
      |                    ^~~~~~
In file included from ../../../Qt5/5.14.2/gcc_64/include/QtCore/qobject.h:46,
                 from ../testfh/framelesshelper/src/core/../../include/FramelessHelper/Core/framelesshelpercore_global.h:31,
                 from ../testfh/framelesshelper/src/core/../../include/FramelessHelper/Core/utils.h:27,
                 from ../testfh/framelesshelper/src/core/utils.h:1,
                 from ../testfh/framelesshelper/src/core/utils_linux.cpp:25:
../../../Qt5/5.14.2/gcc_64/include/QtCore/qobjectdefs.h:93:20: error: expected unqualified-id before ‘public’
   93 | # define Q_SIGNALS public QT_ANNOTATE_ACCESS_SPECIFIER(qt_signal)
      |                    ^~~~~~
../../../Qt5/5.14.2/gcc_64/include/QtCore/qobjectdefs.h:93:20: error: expected unqualified-id before ‘public’
   93 | # define Q_SIGNALS public QT_ANNOTATE_ACCESS_SPECIFIER(qt_signal)
      |                    ^~~~~~
../../../Qt5/5.14.2/gcc_64/include/QtCore/qobjectdefs.h:93:20: error: expected unqualified-id before ‘public’
   93 | # define Q_SIGNALS public QT_ANNOTATE_ACCESS_SPECIFIER(qt_signal)
      |                    ^~~~~~
g++ -c -pipe -g -std=gnu++1z -pthread -Wall -Wextra -D_REENTRANT -fPIC -DFRAMELESSHELPER_CORE_STATIC -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_6 -DFRAMELESSHELPER_WIDGETS_STATIC -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../testfh -I. -I../testfh/framelesshelper/include/FramelessHelper/Core -I../testfh/framelesshelper/include/FramelessHelper/Core/private -I../testfh/framelesshelper/qmake/inc/core -I../testfh/framelesshelper/include/FramelessHelper/Widgets -I../testfh/framelesshelper/include/FramelessHelper/Widgets/private -isystem /usr/include/gtk-3.0 -isystem /usr/include/at-spi2-atk/2.0 -isystem /usr/include/at-spi-2.0 -isystem /usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -isystem /usr/include/gio-unix-2.0 -isystem /usr/include/cairo -isystem /usr/include/pango-1.0 -isystem /usr/include/harfbuzz -isystem /usr/include/fribidi -isystem /usr/include/atk-1.0 -isystem /usr/include/pixman-1 -isystem /usr/include/uuid -isystem /usr/include/freetype2 -isystem /usr/include/gdk-pixbuf-2.0 -isystem /usr/include/libpng16 -isystem /usr/include/x86_64-linux-gnu -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I../../../Qt5/5.14.2/gcc_64/include/QtWidgets/5.14.2 -I../../../Qt5/5.14.2/gcc_64/include/QtWidgets/5.14.2/QtWidgets -I../../../Qt5/5.14.2/gcc_64/include -I../../../Qt5/5.14.2/gcc_64/include/QtWidgets -I../../../Qt5/5.14.2/gcc_64/include/QtGui/5.14.2 -I../../../Qt5/5.14.2/gcc_64/include/QtGui/5.14.2/QtGui -I../../../Qt5/5.14.2/gcc_64/include/QtGui -I../../../Qt5/5.14.2/gcc_64/include/QtCore/5.14.2 -I../../../Qt5/5.14.2/gcc_64/include/QtCore/5.14.2/QtCore -I../../../Qt5/5.14.2/gcc_64/include/QtCore -I. -isystem /usr/include/libdrm -I../../../Qt5/5.14.2/gcc_64/mkspecs/linux-g++ -o framelesswidget.o ../testfh/framelesshelper/src/widgets/framelesswidget.cpp
make: *** [Makefile:4757: utils_linux.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Makefile:4064: framelesshelpercore_global.o] Error 1
14:06:44: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project testfh (kit: Desktop Qt 5.14.2 GCC 64bit)
When executing step "Make"
14:06:44: Elapsed time: 00:04.

FramelessHelper can be built on Linux for sure, but I haven't tested Qt 5.14. At least the CI shows that Qt 5.15 & Qt6 are OK.

I still think it's caused by a mis-configured QMake toolchain

I installed Qt 5.15 from packages (apt) and now the test app does not compile because of those Windows includes. Why does it try to use them? 😕 that's strange..

So I got it to work with: I installed all packages the CI also installs and then it also works with the latest version of FramelessHelper & my test app. The only thing still remaining is the following:
CONFIG += no_keywords

It seems like Qt's signals is collide with Gtk's signals. Thats atleast what I understand from the error message. Any idea about this? I do not want to rewrite hundreds of signals & slots to use Q_SIGNALS instead 😄

It works, putting #undef signals before the gtk includes. I can do a PR if you want? We can then see if CMake CI works.

Sorry for the late reply. I was out to work and had no chance to open github on the work time. I'm not an experienced and professional Linux developer, so I can't really say what's wrong with GTK and Qt. It seems it's a long-standing issue that the signal keyword conflicts with each other.

I can do a PR if you want?

Sure! I will really appreciate it! Any PR are all welcome!
By the way, do you find out the reason why the Windows sources are involved? How did you solve this issue?

No problem. I mean on the other hand Qt gives you the opportunity to set the no_keywords in your qmake CONFIG. And QMake feels like being on a dying path and getting replaced fully by CMake..

By the way, do you find out the reason why the Windows sources are involved? How did you solve this issue?
I don't know, I just fetched the latest framelesshelper commit and with that it worked like a charm.

Yes, you should use libxcb, not libx11


[WIP] Merge rebranding branch

Please do not merge this branch until it is finished

merge to development branch first


scrollback: build failure

Hi, I'm at 26fd7b8 but can't build the scrollback branch

error[E0609]: no field `inner` on type `&mut grid::row::Row<T>`
  --> src/grid/row.rs:36:18
   |
36 |             self.inner.push(*template);
   |                  ^^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0609`.
error: Could not compile `alacritty`.

rustc 1.28.0-nightly (5bf68db6e 2018-05-28)
edit: 1337th issue!

Fixed; thanks for filing the issue.


addHabit, title and reason lengths, recurrence are finished by Chen and me

Fixed misc.xml merge conflict by adding both versions together


2021/03/17 Genshin Impact 1.4 - Wish history API changed

The tool will get unlimited data, which needs to be resolved after updating to v0.6.3.
If the data is inconsistent with the game, delete the userData folder in the tool directory, restart the tool and then load the data.

v0.6.3, getData.js, Line 266, getQuerystring Method.
before return searchParams, needs to add "searchParams.delete('end_id')".

@GuryYu
The URL currently retrieved from the log does not appear to have an end_id parameter.
The current version should work just fine.
However, this line of code is much more complete.
Would you like to send a pull request.

原来如此，今天突然发现


CLI command "restore" to restore an old file revision

Add a CLI command "restore" to restore old versions or deleted files. This will need both a wrapper around the API endpoint files/restore in client.DropboxClient and a public API in main.Maestral first. Additionally, we may need to add error handling to the errors module.
If anyone would like to take this up, I am happy to give advice.

Done in v1.1.0.


Lazyload

[ ] drop srcset for img tag due wide support of webp so it ok to have just  fallback
[ ] consider if loading="lazy" ready to use on production and if it's ready - replace lazysizes with it

Performance investigation show that with native lazyload scripting is faster by 8.5% and rendering faster by 3.8% in comparison with lazysizes js lib.

Performance investigation show that with native lazyload scripting is faster by 8.5% and rendering faster by 3.8% in comparison with lazysizes js lib.


HAI-1378 Calculate haittaindeksi separately for each hankealue

Description
The calculated tormaystarkastelu results are saved and returned with each hankealue. One tormaystarkastelu is also returned for the whole hanke, for backwards compatibility. That's calculated by taking the worst cases from all of the areas.
Wipe all existing tormaystarkastelu, because they're not used in production and they can't be converted.
Jira Issue: https://helsinkisolutionoffice.atlassian.net/browse/HAI-1378
Type of change

[X] Bug fix
[X] New feature
[ ] Other

Instructions for testing

Add several hankealue to a hanke.
Check the response from the browser's network tab to see that there are tormaystarkastelu under the hankealueet.
Check that the tormaystarkastelu are saved in DB.

Checklist:

[X] I have written new tests (if applicable)
[X] I have ran the tests myself (if applicable)
[ ] I have made necessary changes to the documentation, link to confluence
or other location:

One minor thing: decimal values do not seem to be stored accurately in database. For example, in my project one area got autoliikenneindeksi=1.3 but in the database its value was 1.2999999523162842. Maybe extension function Float.roundToOneDecimal() does not work as it should? This is something that has probably been as it is since the beginning and not related to this PR.

I think that's just floating point numbers and binary fractions at work. 1.3 has in infinite binary expansion in the same way as 1/3 has in decimal, so it can't be represenrted accurately.
We could use the decimal type in the DB to store the value accurately with a fixed point. Then we might have to use BigDecimal in Kotlin to represent the accurate value in code.
Or we could store the value as an integer of, say, 1/100s and convert the values when they are shown to users.

One minor thing: decimal values do not seem to be stored accurately in database. For example, in my project one area got autoliikenneindeksi=1.3 but in the database its value was 1.2999999523162842. Maybe extension function Float.roundToOneDecimal() does not work as it should? This is something that has probably been as it is since the beginning and not related to this PR.

I think that's just floating point numbers and binary fractions at work. 1.3 has in infinite binary expansion in the same way as 1/3 has in decimal, so it can't be represenrted accurately.
We could use the decimal type in the DB to store the value accurately with a fixed point. Then we might have to use BigDecimal in Kotlin to represent the accurate value in code.
Or we could store the value as an integer of, say, 1/100s and convert the values when they are shown to users.

How about changing the column type to numeric?
alter table tormaystarkastelutulos
    alter column autoliikenne type numeric(2,1);

How about changing the column type to numeric?

Yes, numeric is equivalent to decimal.

How about changing the column type to numeric?

Yes, numeric is equivalent to decimal.

Yes, but according to my tests this change will not affect how the fields are in Kotlin - they can remain as they are now.

I changed the index values to be numeric. This PR seemed like a good time to do it since we're wiping the data anyway.


Enhancement: multifile should optionally extract tar files (-x set)

multifile should opportunistically extract tar files when -x is set. This means looking at the content-type and knowing what to do.

i want to work on this issue but i don't exactly get what the is the required output? Can you just brief me about it?
Thank you

Hi @AtharvaWaghchoure thanks for asking for clarification
The changes for this issue are fairly straight forward.

Need to extend the -x flag to be a persistent flag instead of a rootcmd local flag
Remove the guard against using the flag with multifile
Enhance the consumer interface for Fetch to take a content-type value (most consumers will ignore it)
Pass the content-type to the consumer (this is available in the http.Response

The output can run through the current tar-extractor consumer
However there are two approaches to untarring in multifile mode:

New wrapper consumer for tar-extract when in multifile mode

This consumer can fallthrough to the standard file-writer or pass to the current tar-extractor

enhance current tar-extractor to consider the content-type (if passed) before extracting

The current code that leans on pkg/extract/tar.go to handle tar files should be sufficient for actual extraction, but we need to make it so we can extract tar files (if they exist) in multifile mode when asked to do so. Multifile mode may have multiple tar files, some tar files, or a mix of tar and non-tar files.
I am option alternate solutions to what I've typed above. If you have additional thoughts on how to better handle the tar extraction -- I'm totally open to that!

Can you assigned this issue to me?


Enhance Remove-Item to work with OneDrive (Third)

PR Summary
Fix #15466
Continue #15260
EnsureExtendedPrefix is copy-pasted from .Net Runtime repository.
PR Context

PR Checklist

[ ] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[ ] Summarized changes
[ ] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[ ] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[ ] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[ ] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[ ] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[ ] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and opened an issue in the relevant tool repository. This may include:

[ ] Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode
(which runs in a different PS Host).

[ ] Issue filed:

[ ] Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.

[ ] Issue filed:

[ ] Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).

[ ] Issue filed:

[ ] Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

[ ] Issue filed:

@rjmholt Friendly ping :-)

@iSazonov please add comments around code that's been copy/pasted from .NET about where it's come from

@iSazonov please add comments around code that's been copy/pasted from .NET about where it's come from

There is already #region Helpers for long paths from .Net Runtime.

/azp run

@PoshChan please remind me in 1 hour

@rjmholt, this is the reminder you requested 1 hour ago


new start screen

So I have decided that I will be changing the versioninfo cell to facilitate this as well as version info -- renaming this to the :getstarted cell (future name of the default project)


Return object from Mailcoach::createCampaign not properly parsed

When calling the send() or save() methods on an object returned by the Mailcoach::createCampaign-function, I get a "Typed property Spatie\MailcoachSdk\Resources\Campaign::$uuid must not be accessed before initialization" error.
It seems the response from the api-call for this function differs from the response from for example Mailcoach::campaign. In the Mailcoach::createCampaign-function, the returning attributes are wrapped in a data-array, which is not present in the api-response from the Mailcoach::campaign. This causes the fill()-function of the Spatie\MailcoachSdk\Resources\ApiResource-class not to set the attributes correctly the Spatie\MailcoachSdk\Resources\Campaign-object, they are instead wrapped in a "data"-array.
Here's the dd's for the return data from the Mailcoach::createCampaign and the Mailcoach::campaign-functions:
$attributes = $this->post('campaigns', $data);
dd($attributes)

array:1 [▼ // vendor/spatie/mailcoach-sdk-php/src/Actions/ManagesCampaigns.php:30
  "data" => array:36 [▼
    "uuid" => "c2471868-c6ba-41c1-9908-9fe2afc421c2"
    "name" => "Nyhetsbrev 2023-05-19"
    "email_list_uuid" => "9c586864-7d92-4210-9174-04e85be3901d"
    "email_list" => array:28 [▶]
    "template_uuid" => null
    "template" => null
    "from_email" => null
    "from_name" => "Test av nyhetsbrev"
    "status" => "draft"
    "html" => null
    "structured_html" => "{"templateValues":{"html":null}}"
    "email_html" => null
    "webview_html" => null
    "fields" => array:1 [▶]
    "mailable_class" => null
    "utm_tags" => true
    "sent_to_number_of_subscribers" => 0
    "segment_class" => null
    "segment_description" => "all subscribers"
    "open_count" => 0
    "unique_open_count" => 0
    "open_rate" => 0
    "click_count" => 0
    "unique_click_count" => 0
    "click_rate" => 0
    "unsubscribe_count" => 0
    "unsubscribe_rate" => 0
    "bounce_count" => 0
    "bounce_rate" => 0
    "sent_at" => null
    "statistics_calculated_at" => null
    "scheduled_at" => null
    "last_modified_at" => "2023-05-19T21:27:45.000000Z"
    "summary_mail_sent_at" => null
    "created_at" => "2023-05-19T21:27:45.000000Z"
    "updated_at" => "2023-05-19T21:27:45.000000Z"
  ]
]

$attributes = $this->get("campaigns/{$uuid}")['data'];
dd($attributes)

array:36 [▼ // vendor/spatie/mailcoach-sdk-php/src/Actions/ManagesCampaigns.php:23
  "uuid" => "7791f91a-67b4-40c6-9e47-e409ddcb5378"
  "name" => "Nyhetsbrev 2023-05-19"
  "email_list_uuid" => "9c586864-7d92-4210-9174-04e85be3901d"
  "email_list" => array:28 [▶]
  "template_uuid" => null
  "template" => null
  "from_email" => null
  "from_name" => "Test av nyhetsbrev"
  "status" => "draft"
  "html" => null
  "structured_html" => "{"templateValues":{"html":null}}"
  "email_html" => null
  "webview_html" => null
  "fields" => array:1 [▶]
  "mailable_class" => null
  "utm_tags" => true
  "sent_to_number_of_subscribers" => 0
  "segment_class" => null
  "segment_description" => "all subscribers"
  "open_count" => 0
  "unique_open_count" => 0
  "open_rate" => 0
  "click_count" => 0
  "unique_click_count" => 0
  "click_rate" => 0
  "unsubscribe_count" => 0
  "unsubscribe_rate" => 0
  "bounce_count" => 0
  "bounce_rate" => 0
  "sent_at" => null
  "statistics_calculated_at" => null
  "scheduled_at" => null
  "last_modified_at" => "2023-05-19T21:28:38.000000Z"
  "summary_mail_sent_at" => null
  "created_at" => "2023-05-19T21:28:38.000000Z"
  "updated_at" => "2023-05-19T21:28:38.000000Z"
]

I fixed this temporarily by with the code below, but I guess this is an api server bug? This fix is not very pretty.
    $createCampaignResult = Mailcoach::createCampaign([
        'name' => 'Name of campaing',
        'subject' => 'Campaign title',
        'email_list_uuid' => env('MAILCOACH_NEWSLETTER_LIST')
    ]);

    // Workaround for bug??
    $campaignResult = Mailcoach::campaign($createCampaignResult->data['uuid']);
    $campaignResult->send();

I'm not sure this is the place to post this since it seems to me to be a mailcoach api server issue, but I'm not sure where else to put it so :)
Best regards,
Christian Lindvall Olsson


Add basic jwt authentication system

A jwt-based auth system (user module).
The email address is used as the login identifier, but is not validated yet (it should be).
All backend authentication is performed through the AuthGuard which populates the request.user field with the authenticated user when there is one.
All routes are auth-only by default and can be made "public" by using a @Public(redirect?: string) decorator. Authenticated users are redirected to redirect when it is provided.
Missing features
Important

Email confirmation/validation (check that a user owns an email address)
Email change
Account deletion
Rate limiting/captcha
MongoDB level unique constraints (indexes) on email and nickname field - this could be either the role of a DBA or a migration system.

Suggestions

Account modification history (email/password/nickname changes)

todo

[x] specs
[ ] implementation

[ ] don't forget to make use of this auth system in the pixel module

TODO: separate flag and user e2e tests

Hello everyone,
For information, even if the experience can be used by anyone, Leo Grasset will use the platform Fouloscopie (Mehdi Moussaid) which already has the authentication.

The experience will be encapsulated in an iframe with https://github.com/krakenjs/zoid which will send the user's token.
We will be able to check with an endpoint if the token is valid and to recover the information of the user

PS: I am in charge of the development of the Fouloscopie platform.
Do not hesitate to ask me questions (in French or English)

Hey @RSamaium, do you mind asking Leo to invite you to his discord server ? It would be much easier to plan and discuss things. Especially since we weren't aware the experience will be embedded !


Document enabling Babel syntax highlighting

We should document how to configure editors to support “Babel” syntax scheme (JSX, Flow, ES6) for all .js files. The instructions should be added to the user guide and should include popular editors:

Sublime Text 3
VSCode
Atom
WebStorm

This issue is up for grabs. If you decide to work on it, please comment here so we don’t duplicate effort. If somebody is already working on it, please give them time and don’t try to submit a PR first.
Thanks!

I would recommend you to include WebStorm/IntelliJ IDEA as a popular editor as well.
JSX/Flow/ES6 is supported OOTB and can be easily enabled there.

Anyone want to big-up VS Code ? 😕

This would be useful on the babel website as well actually. Could be another page for editor support (or we just link it)

@hzoo If you could provide instructions for contributors as to where to send the PR, I’m happy to point our users to Babel website.

@gaearon I assume this is the right place -> https://github.com/babel/babel.github.io

In the meantime, babel-sublime's readme is a good documentation on how to set it up in Sublime Text: https://github.com/babel/babel-sublime

@gaearon sure!
Yep it's https://github.com/babel/babel.github.io like @mareksuscak mentioned.
I was thinking it could be a separate page for editor integrations but it looks like there is already an entry with webstorm. So maybe we could just add the rest in the same place.
This is on the setup page

Setup the site locally with https://github.com/babel/babel.github.io#setup
[ ] You'll need to add an entry to tools.yml for each tool
[ ] create a folder for the tool like in https://github.com/babel/babel.github.io/tree/master/_includes/tools and add a install.md and a usage.md (can copy the format from webstorm)

Will show up in the 2 and 3 steps like

Just a quick note. Just went through the WebStorm setup guide and I think this is not really what we wanted. That guide documents how to setup babel compiler integration, not babel syntax highlighting. Or did I miss something?
cc @hzoo @gaearon

Yeah that's the question I was thinking about: it's different but I think we could include that in there. Or we can make a new page for it

If we point CRA users we’ll want a separate place because we don’t want them to enable transpilation in IDE. In fact this has been a source of mistakes before.

Ok we can just make another page - maybe under https://github.com/babel/babel.github.io/tree/master/docs/usage called syntax-highlighting or something? (should rethink how it's organized)

I agree with @gaearon. Looking at the menu, the only appropriate place seems to be FAQ at the moment but I'd rather consider adding a new top level link or reorganize one of the top level links to accommodate the Syntax Highlighting guide.

For Webstorm, if you use create-react-app, from the File -> New Project -> React App, it will configure everything for you automatically.

Ok https://github.com/babel/babel.github.io/issues/930 - we can figure out where to put it in another issue (unrelated to this).

For VSCode:
When you open your project for the first time, a light bulb is visible in the status bar. By clicking on it, VSCode creates a jsconfig.json at the root of your project. Copy/paste the following settings:
{
	"compilerOptions": {
		"target": "es6",
		"module": "commonjs",
		"allowSyntheticDefaultImports": true
	},
	"exclude": [
		"node_modules"
	]
}

See more details here.
As VSCode 1.5 is not shipped with TypeScript 2, some syntaxes are detected as errors (i.e. the class properties syntax, included in CRA). To use TypeScript 2 with VSCode 1.5, you need to install TypeScript globally (npm install typescript -g) then to define the typescript.tsdk setting (File > Preferences > User/Workspace Settings) pointing to a directory containing the TypeScript tsserver.js file. When you reload VSCode and open a JS file, you'll see the custom TypeScript version number in the status bar.
See more details here.
(TypeScript 2 has been officially released on Sep 22, 2016, so I guess that VSCode 1.6 will be shipped with the new version.)
Finally, if you don't want to use the .jsx extension (recommended by CRA), use the following setting in your preferences:
"files.associations": {
  "*.js": "javascriptreact"
}

Prepared the PR for CRA - we just need to update the link to the Babel's docs afterwards. You can see it yourself here. Below is a quick preview.
![screen shot 2016-09-30 at 17 09 31]
(https://cloud.githubusercontent.com/assets/613647/18996480/c1a5ecd4-8730-11e6-8d08-bb435bdad33e.png)
cc @gaearon


Turning effect blocks on/off on the MS-50G

I have a Zoom MS-50G and I always found it strange that it is not possible to turn on/off all 6 blocks of the preset signal chain using MIDI commands.
The code "F0 52 00 58 31 bb 00 xx 00 F7", where bb corresponds to the block (1st = 00, 2nd = 01 and 3rd = 02) and xx corresponds to the on/off action (on = 01 and off = 00) acts on the MS-50G in the first 3 blocks, but if I follow the same logic for the following blocks, with bb = 03, 04 and 05, nothing happens on the Zoom.
I have already connected the MS-50G to the computer and through MIDI OX I even saw that when I turn on/off the 4th, 5th or 6th effect block this same MIDI code is sent to MIDI OX, but when I try to do the opposite, that is, MIDI OX sending the command to the MS-50G nothing happens.
Does anyone know why this happens or how to resolve this situation?

I believe this is a known bug in the older pedals. Zoom won't fix it.
The only workaround I know is to read the whole patch in then update and write it back.
There might be a way to rotate the FX around (you can do this on the later pedals - see my wiki for and example).
So one can on modern pedals swap 6 with 1 says, turn it on off, swap it back. But I don't recall if this midi command exists on the older ones.

...Does anyone know why this happens or how to resolve this situation?

To me this seems more like a mix-up with the MS-60B specs, which supports only up to 4 effects. Someplace in firmware code there's a hard coded 4 (or to the effect of it) instead of the parameter for the max number of supported effects in patch chain. Possibly, it's in the processing of the received SysEx messages.
Because there's no official editor for the multistomps (other than StompShare app for MS-100BT), this "bug" never got exposed. Also, sending the whole updated patch is just as easy on changes like that.
Given that multistomps only have one direct On/Off indicator, the indirect changes for non-current effect cannot be visible, so, indeed, changing them "undercover" may not be the best choice vs. explicit loading of a new patch. On G1 FOUR, for example, each effect in the chain has its own indicator button.
Anyway, it's easier to just create a different patch with the wanted effects or On/Off state and chain it using A-B or just load it with MIDI CC message.

Closing - I suspect, as ever, @nomadbyte is correct.
It would be so great if Zoom opened up the firmware for these beasts.
There again I am making decent progress with the ti-6000 tools.


[CARBONDATA-3221] Fix the error of SDK don't support read multiple file from S3

SDK reader is ok with filter, but when we read data without filter, the ((CarbonInputSplit) inputSplit).getDetailInfo().getBlockFooterOffset() will be 0 and
FileReader reader don't closed after readByteBuffer in org.apache.carbondata.hadoop.util.CarbonVectorizedRecordReader#initialize, so we should invoke finish after readByteBuffer

Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[x] Any interfaces changed?
No
[x] Any backward compatibility impacted?
No
[x] Document update required?
No
[x] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.
change test case in example
[x] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
no

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/2160/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/2162/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/2163/

Build Success with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/10417/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/2376/

@KanakaKumar @kunal642 @jackylk @QiangCai @zzcclp @ravikiran23 Please review it.


Cover page styling: ICS code and CCS code formatting

ICS code numbers should be in SimHei.
CCS code category should be separated from code number with one ASCII space.
CCS code category and code number should both be in SimHei.

Now:

Original:

In addition, letters should be in boldface.

Actually, the boldface and ICS styling varies from document to document. GB/T 19018-2017 (which I understand to be the most authoritative)  has the following, and that's what I'll abide by. Note that its CCS code category is NOT in SimHei; you're seeing SimHei because the document you're looking at is using Word fields (hence the grey). GB_T 19488.2, which doesn't use Word fields, has NO SimHei.

The real issue here is that GB/T 1.1 is simply not being complied with by anyone. If we're going to abide by https://github.com/riboseinc/asciidoctor-gb/issues/56 , that is just SimHei for the whole field, including "ICS".

By now we should also realize that the "SimHei" font is just Apple's rendition of the "Simplified Hei" ("sans serif for simplified characters"); "SimSun" is Apple's rendition of the "Simplified Sung" ("serif for simplified characters"). My table was being too simplistic in description.


Add mark command

Add mark command

Codecov Report

Merging #63 (9c8b423) into master (5e8f0cd) will decrease coverage by 0.47%.
The diff coverage is 69.64%.

@@             Coverage Diff              @@
##             master      #63      +/-   ##
============================================
- Coverage     72.15%   71.68%   -0.48%
- Complexity      399      432      +33
============================================
  Files            70       76       +6
  Lines          1232     1395     +163
  Branches        125      145      +20
============================================
+ Hits            889     1000     +111
- Misses          311      351      +40
- Partials         32       44      +12

Impacted Files
Coverage Δ

...main/java/seedu/address/commons/core/Messages.java
0.00% <ø> (ø)

.../seedu/address/logic/parser/AddressBookParser.java
84.21% <0.00%> (-15.79%)
:arrow_down:

.../seedu/address/logic/parser/MarkCommandParser.java
0.00% <0.00%> (ø)

.../java/seedu/address/model/util/SampleDataUtil.java
20.00% <ø> (ø)

src/main/java/seedu/address/ui/PersonCard.java
0.00% <0.00%> (ø)

...in/java/seedu/address/logic/parser/ParserUtil.java
65.57% <20.00%> (-31.65%)
:arrow_down:

...c/main/java/seedu/address/model/person/Person.java
88.88% <64.28%> (-8.74%)
:arrow_down:

...n/java/seedu/address/model/person/Appointment.java
78.37% <78.37%> (ø)

...java/seedu/address/logic/commands/BookCommand.java
83.33% <83.33%> (ø)

...java/seedu/address/logic/commands/MarkCommand.java
90.47% <90.47%> (ø)

... and 7 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Ravi/Usir Dialogue images

I have tried a billion times to overwrite the "bad" images and they should no longer exist anywhere in Godot.  And yet, they do...

I think it must be that my images were scaled.  I thought it was the fact they were scaled + shifted and when I cropped them it would work, but I created a brand new image with a new name and copied everything over and it still showed up wrong.  Then I re-downloaded Jo's original, saw they were too big on the map (since it was using the same image) and scaled it down.  Finally the dialogue was working.  So... oops.  Wasted well over an hour banging my head against the wall thinking Godot was somehow caching the image...


MSDKUI-1658: Fix MSDKUI framework build from rake command

adds MSDKUI framework scheme name variable with a correct name
removes unused build variables

Signed-off-by: Piotr Marczycki<EMAIL_ADDRESS>

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@cc26681). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #13   +/-   ##
=========================================
  Coverage          ?   88.29%
=========================================
  Files             ?       57
  Lines             ?     3682
  Branches          ?        0
=========================================
  Hits              ?     3251
  Misses            ?      431
  Partials          ?        0

Flag
Coverage Δ

#ios
88.29% <ø> (?)

Continue to review full report at Codecov.

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


nuttx: Fix build warning with can't found xt-g++

Summary
fix build warning with /usr/bin/bash : xt-g++ can't found.
Impact
N/A
Testing
ci test

[Experimental Bot, please feedback here]
No, this PR does not meet the NuttX requirements.
Here's why and how to improve it:

Insufficient Summary:  The summary is too brief.

Why is this change necessary?  Explain the build warning in detail. What causes it? Why is it a problem?
What code is being changed? Be specific about the files and functions modified.
How does the fix work? Provide a technical explanation of your solution.

Missing Impact Assessment:

Even if you believe there's no impact, you must address each point. If something truly doesn't apply, state "N/A - [brief explanation]."  For example:

Impact on user: N/A - This is a build-system fix, no user-facing changes.
Impact on build: YES - The fix alters how the build system locates xt-g++. Describe the specific changes.

Incomplete Testing:

Insufficient Detail: "ci test" doesn't provide enough information.

Specify the CI system used (e.g., GitHub Actions, Travis CI).
List the specific target architectures and boards tested.

Missing Logs: You must include both before and after testing logs to demonstrate the problem and its resolution.

Example of an Improved Summary:
## Summary

This PR fixes a build warning that occurs when using `/usr/bin/bash` as the shell during the build process. The warning "xt-g++ can't found" arises because [explain the root cause, e.g., the build system incorrectly assumes the path to xt-g++].

This PR addresses the issue by [describe your solution, e.g., modifying the build script to correctly locate  xt-g++ regardless of the shell used].

**Related Issue:** [Link to NuttX issue if applicable]

Remember:  A good PR is detailed, clear, and makes it easy for reviewers to understand and verify your changes.


arithmetic calculation of sqrt, log, and other functions

For basic arithmetic calculations, it works well. However, it doesn't seem work well for functions.
Running the extension for \frac{\ln2}{2} returns =\frac{\log{\left(2 \right)}}{2} instead of  a number.
Similarly, running the extension for \sin(1.2) returns =\sin{\left(\frac{6}{5} \right)}.
Is there a way to make this great extension work for functions? Thank you!

I have added this new function today. You can update your extension to 1.3.0 and use this function now.
You can press Shift + Ctrl + Alt + N (numerical) to get the numerical result of the selected Latex text. It will like:
# Before
\sqrt{2}

# After
\sqrt{2} = 1.41421356237310

Thank you for the quick reply!
I updated the extension to 1.3.0. and tried Shift+Ctrl+Alt+N and Ctrl+P + LaTeX-Sympy-Calculator: Calculate Numeric..., but no result returned.
Not sure, what's wrong with my system. I am using Windows 10 and installed Python 3.9.

It is strange, it works well for me... I am using Windows 10 and Python 3.9 same with you.
Can you use other functions normally? Are there any error message?

It is strange, it works well for me... I am using Windows 10 and Python 3.9 same with you.
Can you use other functions normally? Are there any error message?

Yes. The Shift+Ctrl+Alt+E and Shift+Ctrl+Alt+R work fine. I didn't try running Python code.
Is there a specific package that I should import before using Shift+Ctrl+Alt+N?

No, there is nothing else to be installed. Arithmetic calculation is a normal function of sympy, you can calculate it by
execute latex2sympy("\sqrt{2}").evalf() python code.
I haven't found the possible reasons for it.

I restarted the computer, now it works. Thank you for creating this awesome extension!

Well, you are welcome.


10.0.19041.1682 not work

termsrv.zip
10.0.19041.1682 not work

You can try the lastest version <IP_ADDRESS>

the lastest version <IP_ADDRESS> not work,too

Open autosupport


dnp3: test of dnp3 flow direction fix - v2

The test demonstrates correct flow direction detection when first seen packet is from the server.
Also, it verifies buffer overrun fixes, since packet #4 from test pcap file may result in segfault accessing a random area.

Closing in favor of #314


Fix child device

Before submitting

[x] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[x] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure to update the docs?
[x] Did you write any new necessary tests?

What does this PR do?
Fixes https://github.com/PyTorchLightning/metrics/issues/531
Currently if a metric is a child of a module, the device property (only the property, the metric states are still correctly updated) of the metric will not get properly update (only if .cuda(), .cpu(), to() is directly called on the metric) when calling .cuda() on the module. This PR fixes it.
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

@SkafteNicki Thank you for working on this fix!

@cowwoc if you have the time, please confirm that this fixes your original issue :]

Thanks @SkafteNicki!


Error no buildable Go source files ... when no go file on repo root

facts
When no go source files on repository root, go get emits an error like below.
$ nut install

Downloading foo/bar@1234abcd
Vendoring dependencies

package foo/bar
    imports foo/bar:  no buildable Go source files in /var/folders/xx/xxx/xx/src/foo/bar

problems
some repository does not contain any go files on its directory root.
For example: https://github.com/awslabs/aws-sdk-go/
[dependencies]

# Below this doesn't work
# "github.com/awslabs/aws-sdk-go" = "8753e85c61243cf9c31ac5cafa6596dfc77d2a24"

# Do I have to write every package recursively?
"github.com/awslabs/aws-sdk-go/aws" = "8753e85c61243cf9c31ac5cafa6596dfc77d2a24"
"github.com/awslabs/aws-sdk-go/apis/config" = "8753e85c61243cf9c31ac5cafa6596dfc77d2a24"
"github.com/awslabs/aws-sdk-go/apis/dynamodb" = "8753e85c61243cf9c31ac5cafa6596dfc77d2a24"
"github.com/awslabs/aws-sdk-go/internal/endpoints" = "8753e85c61243cf9c31ac5cafa6596dfc77d2a24"
"github.com/awslabs/aws-sdk-go/internal/protocol/query" = "8753e85c61243cf9c31ac5cafa6596dfc77d2a24"
"github.com/awslabs/aws-sdk-go/..." = "..."

I know this error is from go get, but it's difficult and tedious to write each dirs on Nut.toml.
Any option or flag to avoid this?
thanks,

Declaring with just the repository and SHA should work and I just verified it:
[dependencies]

"github.com/awslabs/aws-sdk-go" = "8753e85c61243cf9c31ac5cafa6596dfc77d2a24"

With your latest contribution on https://github.com/jingweno/nut/pull/18, the above should be working - previously git-clone downloads the package to the wrong folder so it triggers a go-get.

Thanks for your confirmation.
I checked and fixed this.
But I found a problem of import URL, so open another issue.


Add search button, result cards, filter by category

This adds functionality to the frontend with a search button, result cards, and the ability to filter by category.
This also simplifies the code:

Remove Vuex - it's a great tool but this will never be complex enough to justify it.
Simplify CSS to minimum for responsive functionality. This temporily removes usage of the bootstrap Dropdown, but I'll probably add back in later.
Formatting CSS

There's still a lot to do.  At least

Error messages on failure

Unknown Zone (404)
Address Not Found (407)
Other (Server/Network) Error

Loading screen
Prettier dropdown
Grouping results by category when "Everything" is selected
More complete and correctly formatted cards


[ALLUXIO-3259] Fix NPE when passing an option to UFS root from extension

https://alluxio.atlassian.net/browse/ALLUXIO-3259
I will cherrypick this to 1.8 branch

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/219/
Test FAILed.

Merged build finished. Test FAILed.


maybe compatibility issue: bottlerocket metadata uses microseconds in expiry

We have recently started to not accept microseconds in the expiry in an effort to be spec compliant.
Testing ngclient against bottlerocket metadata fails because they use microseconds:
https://updates.bottlerocket.aws/2020-07-07/aws-k8s-1.16/x86_64/timestamp.json

could file an issue in awslabs (though I'm not sure if this is their problem or not)
Maybe reconsider if we are too strict and should accept this input in deserialization (even if not when expiry is set in code)?

could file an issue in awslabs

webern was proactive: https://github.com/awslabs/tough/issues/447


Unable to open url in same tab after clicking an adaptive card

Version:  2.1.1
Electron: 8.2.4
Chrome: 80.0.3987.165
NodeJS: 12.13.0
V8: 8.0.426.27-electron.0
I am trying to implement a feature where I want to open a url in the same tab and not in a seperate tab upon clicking of adaptive card action button. I saw several other tickets which were opened for the same but couldn't understand what is the final solution to this and how to achieve this either from the Bot Framework side or webchat script side(not sure if this is possible).

Hi @abhishekkumar717,
I have two questions for you:

Opening in a new tab is standard behavior across the web. Can I ask why you wish to change this?
Could you please provide links to the similar issues you're referring to?

Hi @anishprasad01 , I was refering to https://github.com/compulim/BotFramework-WebChat/blob/0b946bd8cde46c7fa7ce39270f1026d5dbff1d5f/samples/18.customization-open-url/index.html, I have found the solution anyways, thanks for your time.


Bind configurations

Environment
Application Services Version: 3.26.0-5
BIG-IP Version: <IP_ADDRESS>
"dnsCache": {
   "class": "DNS_Cache",
   "type": "transparent",
   "localZones": {
      "zone_x": {
         "type": "transparent",
         "records": [

It only supports A, AAAA records but local bind configurations for PTR, SOA, NS are required, thanks to provide support for the full range of local bind.
Also, cache resolver with forwarded zones, it exists in DO templates, but not in AS3

Please resubmit this issue using one of the available issue templates.


Support for Spark 2.3.0 quote, escape and multiLine for CSV

Spark 2.3.0 CSV support for custom options

quote
escape
multiLine

Spark 2.3.0 API documentation
https://spark.apache.org/docs/2.3.0/api/java/index.html?org/apache/spark/sql/DataFrameReader.html

any idea when or if this will get merged?

@mi7flat5 We've merged it. Thanks for your PR


What Activity Types does Web Chat officially support? Currently, "No renderer for this activity" is shown when ActivityType endOfConversation is received

When the ActivityType.EndOfConversation is received, the error "No renderer for this activity" is displayed in the user's WebChat window. We have made no changes to the C# Bot code or the WebChat code. I should note this is not in the emulator but on our site. I saw some references to the same error but related to the emulator

Hi @baldrin,
This issue is related to https://github.com/Microsoft/BotFramework-Emulator/issues/1358 on the Emulator repo.
Currently Web Chat has a state of flux around this topic -- we need to confirm with the SDK team what Activity Types we support across all channels, and then determine how/if we render those supported Activity Types and block all other types.
As a current workaround, you are welcome to use activityMiddleware to render your own end of conversation activity. Please take a look at incoming activities and creating [custom components sample](https://github.com/Microsoft/BotFramework-WebChat/tree/master/samples/10.customization-card-components sample).
====
For team discussion: @johnataylor I heard you were compiling a list of channel-wide supported activity types, do you have input?

[ ] Determine all supported activity types, non-supported types
[ ] [Design] Create mock ups for how these activity types should be rendered, and how non-supported ones should be displayed @mewa1024 and @DesignPolice - I will be adding you to the conversation eventually :)
[ ] Determine T-Shirt size and timeline
[ ] Implement these new components

I will start an offline discussion with mentioned parties.

Document created by @johnataylor is here: https://github.com/Microsoft/BotBuilder/issues/5294
I will expand on the link shortly.

Okay! This conversation has been really enlightening and I hope to share information in a way that's beneficial both to the team and our customers.
@johnataylor's chart above has to do with the Bot Framework REST API Protocol. This is a good basis for Web Chat as a client to decide which Activity Types we want to support, ignore, and/or render a "No renderer" message for. To summarize the chart, DirectLine API supports the following Activity Types:

Message
ConversationUpdate
Event
Event.TokenResponse
EndOfConversation
Typing
InstallationUpdate

Of the list above, the bolded items are the ones that Web Chat currently renders. All of the others by default currently show the red "No renderer for this activity" error box.
EndOfConversation is an activity that the DirectLine protocol forwards to the client, but takes no action on. I believe there is an argument for having Web Chat somehow 'rendering' EndOfConversation. Currently, it is only shows the "No renderer" message. I will circle back to this later.
InstallationUpdate, Event.TokenResponse, and ConversationUpdate are all activities that will be sent between bot and server, meaning that Web Chat as a client should not receive these activity types. For discussion I will call these "server to bot activities" that are expected in DirectLine.
Server to bot activities will not be received by Web Chat 'naturally'. They will only be received if the bot implementer uses these Activities in ways not intended by the Bot Framework SDK protocol. Because of this, I think a "No renderer for this activity" message for these activities in Web Chat is a valid response to the unusual case where Web Chat DOES receive InstallationUpdate, Event.TokenResponse, or ConversationUpdate.

Any other activity that may be sent to Web Chat is either a custom activity or related to other channels.

In the case of a custom activity, we want bot developers to know that Web Chat does receive the activity, but if a rendering for that activity is desired, the developer will need to use ActivityMiddleware to implement their own component.
For activities coming from other channels, I think it is reasonable for Web Chat to display the "No renderer for this activity" box so that the developer may decide to create their own rendering component if they so wish. This applies to the Emulator for Trace, which will show an error message until the Emulator implements it's own component.

If we follow the sentiments outlined above, these are the following action items that are created:

(non-action item) Web Chat will continue to show the "No renderer" message for all non-supported activity types. Web Chat will NOT ignore any activity.
[ ] EndOfConversation may want to be rendered by Web Chat. Do we want Web Chat to render EndOfConversation?

If yes, this means we will need to discuss with design on how to display the EndOfConversation activity, whether it be through an activity in the transcript or changing the UX to disabled (or something else).

[ ] Emulator will need to implement it's own rendering of Activities that are not expected by DirectLine, including ActivityType trace
[ ] Discuss with design: Improve the appearance/information provided by the component "No renderer for this activity"

Team, please discuss! Thanks for reading.

https://docs.microsoft.com/en-us/azure/bot-service/rest-api/bot-framework-rest-direct-line-3-0-end-conversation?view=azure-bot-service-4.0
I wanted to add some points. Although the doc above says Direct Line channels may handle endOfConversation however desired, I think it's still important for us to have a clear understanding of the functionality of this activity in Cortana before making our decisions for Web Chat.
I spoke with John in person and he also pointed out that the web, traditionally, ignores whatever it doesn't know. Example: I could make up a new HTML tag, but that doesn't mean the browser will do anything with it. So there's also an argument for removing the "No renderer for this activity" and allowing the user to detect the unknown activity and render it themselves. In this instance, it would mean removing the "No renderer for this activity" entirely.

Team made a decision today that Web Chat will REMOVE the "No renderer for this activity" error message. https://github.com/Microsoft/BotFramework-WebChat/issues/1827
Other action items

Add (grey) unable to render message for broken Adaptive Cards or activities, etc.
[ ] Create the server-to-client chart similar to https://github.com/Microsoft/BotBuilder/issues/5294 for Emulator and Web Chat.

I am leaving this issue open for the last action item.


#1 Run travis tests on linux

This makes the tests run in a travis linux environment. It uses python-gnomekeyring to create the 'login' keyring which is usually created by default on a normal desktop distro.
Fix #1

:+1:

:+1:


Fix source code typos

Description
Leftover typos that alter source code directly. There are also some source comment fixes mixed in.
How Has This Been Tested?
n/a
Screenshots, that help to understand the changes(if applicable):
Checklist:

[ ] A test for the new functionality was added.
[ ] All tests run without failure.
[ ] The new code complies with the TiGL style guide.
[ ] New classes have been added to the Python interface.
[ ] API changes were documented properly in tigl.h.

Codecov Report

Merging #925 (d89aa43) into master (ab8a7d3) will not change coverage.
The diff coverage is 100.00%.

Additional details and impacted files

@@           Coverage Diff           @@
##           master     #925   +/-   ##
=======================================
  Coverage   69.52%   69.52%
=======================================
  Files         298      298
  Lines       24974    24974
=======================================
  Hits        17363    17363
  Misses       7611     7611

Impacted Files
Coverage Δ

src/geometry/CTiglBSplineApproxInterp.h
100.00% <ø> (ø)

src/geometry/CTiglBSplineAlgorithms.cpp
96.99% <100.00%> (ø)

src/geometry/CTiglBSplineApproxInterp.cpp
96.99% <100.00%> (ø)

src/geometry/CTiglInterpolatePointsWithKinks.cpp
100.00% <100.00%> (ø)

...rc/structural_elements/CCPACSFuselageWallSegment.h
33.33% <100.00%> (ø)

src/wing/CCPACSWing.cpp
76.87% <100.00%> (ø)


ERROR  Cannot find nitro.json. Nuxi preview when nitro is off

Environment

Operating System: Darwin
Node Version:     v16.15.0
Nuxt Version:     2.16.0-27616340.013f051b
Package Manager<EMAIL_ADDRESS>Builder:          webpack
User Config:      srcDir, bridge, ssr, dev, webpackOptimisations, alias, image, generate, head, typescript, publicRuntimeConfig, privateRuntimeConfig, css, loading, loadingIndicator, plugins, components, buildModules, modules, proxy, axios, vuetify, build, serverHandlers, devServerHandlers
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

Reproduction
First, make sure
    bridge: {
        nitro: false,
    },

Then nuxi build
then nuxi preview
Thank you
Describe the bug

Additional context
No response
Logs
No response

When Nitro is not enabled, you will need to run nuxt start rather than nuxi preview. If there are any issues, you may need to run specifically ./node_modules/.bin/nuxt start.


Scale-out/in via an update to an application placement attribute forces a replacement

Description
When trying to scale-out or scale-in a juju application with static placement, I was expecting to:

update units attribute
update the entries in the placement attribute
apply

However this results in the application resource being replaced, taking down all units and re-creating them which is not ideal (e.g. if this was the ceph-osd charm, I would lose the complete ceph cluster when trying to do this).
# juju_application.ubuntu-bm must be replaced
-/+ resource "juju_application" "ubuntu-bm" {
      ~ constraints = "arch=amd64" -> (known after apply)
      ~ id          = "mymodel:ubuntu-bm" -> (known after apply)
        name        = "ubuntu-bm"
      ~ placement   = "0,1,3" -> "0,1,3,4" # forces replacement
      + principal   = (known after apply)
      ~ units       = 3 -> 4
        # (2 unchanged attributes hidden)

      ~ charm {
            name     = "ubuntu"
          ~ revision = 24 -> (known after apply)
          ~ series   = "jammy" -> (known after apply)
            # (2 unchanged attributes hidden)
        }
    }

Plan: 1 to add, 0 to change, 1 to destroy.

I would be good to have a way to mimic the juju add-unit/juju remove-unit functionality with the terraform provider.
Urgency
Blocker for our release
Terraform Juju Provider version
0.12.0
Terraform version
1.9.0
Juju version
3.5.1
Terraform Configuration(s)
terraform {
  required_providers {
    juju = {
      version = "~> 0.12.0"
      source  = "juju/juju"
    }
  }
}

variable "machines" {
  type = list(object({
    machine_id = number
    constraints = string
  }))
}

variable units {
    type = number
    default = 3
}

variable controller_ids {
  type    = list(string)
  default = ["100", "101", "102"]
}

resource "juju_model" "test-ubuntu" {
  name = "test"

  cloud {
    name = "maas"
  }
}

resource "juju_machine" "all_machines" {
  for_each    = {
  for index, machine in var.machines:
  machine.machine_id => machine
  }
  model       = juju_model.test-ubuntu.name
  name        = each.value.machine_id
  constraints = each.value.constraints
}

resource "juju_application" "ubuntu-bm" {
  name = "ubuntu-bm"

  model = juju_model.test-ubuntu.name

  charm {
    name    = "ubuntu"
    channel = "latest/stable"
    base    =<EMAIL_ADDRESS>  }

  units = var.units

  placement = "${join(",", sort([
    for index in var.controller_ids :
      juju_machine.all_machines[index].machine_id
  ]))}"
}

Reproduce / Test

apply the above plan with following tfvars:

machines = [
  {machine_id=100,constraints="tags=controller"},
  {machine_id=101,constraints="tags=controller"},
  {machine_id=102,constraints="tags=controller"},
]

update the deployment with following tfvars:

machines = [
  {machine_id=100,constraints="tags=controller"},
  {machine_id=101,constraints="tags=controller"},
  {machine_id=102,constraints="tags=controller"},
  {machine_id=400,constraints="tags=compute-storage"},
]

units = 4

controller_ids = ["100", "101", "102", "400"]

Debug/Panic Output
# juju_application.ubuntu-bm must be replaced
-/+ resource "juju_application" "ubuntu-bm" {
      ~ constraints = "arch=amd64" -> (known after apply)
      ~ id          = "mymodel:ubuntu-bm" -> (known after apply)
        name        = "ubuntu-bm"
      ~ placement   = "0,1,3" -> "0,1,3,4" # forces replacement
      + principal   = (known after apply)
      ~ units       = 3 -> 4
        # (2 unchanged attributes hidden)

      ~ charm {
            name     = "ubuntu"
          ~ revision = 24 -> (known after apply)
          ~ series   = "jammy" -> (known after apply)
            # (2 unchanged attributes hidden)
        }
    }

Plan: 1 to add, 0 to change, 1 to destroy.

Notes & References
I would like to mimic this behavior through terraform:

https://juju.is/docs/juju/juju-add-unit
https://juju.is/docs/juju/juju-remove-unit

This request is a feature change request, not a bug. The application resource schema defines that any changes to placement require replacement of the application. Changes in this space could break previously written plans.
The placement attribute of an application resource is problematic as it allows a user to define what they'd like all or part of the machine placement of units to look like. It mimic placement on the juju command line. This is not easily compatible with how terraform works.
In the example of above it appears clear cut, add a unit to the newly specified machine 4. More complex placement directives cause issues. Consider a placement directive of lxd, lxd and a unit count of 3. In a clean model, this could produce machines 0/lxd/0, 1/lxd/0, 2. If you remove the one lxd from the placement directive, which container gets removed?
Placement is something we need to reconsider as it causes considerable angst and a few bug reports. A caveat being that by definition, the terraform provider will never behave exactly as the juju cli in all situations. Terraform is IaC where juju is not.
One potential solution is to deprecate placement and add an optional machine attribute. Placement and machine would be mutually exclusive in a plan. The values in the set of machines would have to be existing machine ids. If machines are specified and do not equal the number of units specified, that would cause an error. We would have to fix #506 at the same time for containers to work. It could also resolve #443 at the same time.
A potential work around for remove-unit is coming to mind, but not for add-unit to a specific machine at this time.

Thanks for the feedback @hmlanigan. Do you see an alternative to using static placement in the scenario where we have different types of machines and applications that need to land on the right machine (either on the machine itself or in a LXD container)?
Would application constraints be applicable for this? Would application constraints guarantee that multiple units of the same application are spread over different machines e.g. not have all 3 LXD based units hosted on the same machine?
Regarding the placement directive, I'm not sure I follow the example you gave. When the provider needs to asses if a change needs to happen regarding placement and what change that is, could you not compare sorted lists between the current state and desired state?  (This is probably too naive and I'm probably missing something here ;)).

The way the schema is written today, I do not see a way to add a unit to a specific machine. If you wish to deploy to existing machines and containers, then you can write a plan to do that. It's that scaling of an existing application which causes issues with the explicit placement today.
Tags work with MAAS only, and don't work with lxd containers on MAAS machines with juju.
Static placement is better when deploying, however it'll cause issues when adding a unit, as change to placement will destroy and recreate the application. If you added a unit just by changing the number of units, juju would put the unit on the first machine available without a unit, if on wasn't available it'd create a new machine for the unit.
There isn't a constraint to say, place units in a container, only to define what type of container.
By default, units will be spread over different machines in different availability zones. Specifying lxd says to create a new machine (or an existing machine without units) and put a new container on it. Specifying lxd:X says to create a new container on machine X.

Regarding the placement directive, I'm not sure I follow the example you gave. When the provider needs to asses if a change needs to happen regarding placement and what change that is, could you not compare sorted lists between the current state and desired state? (This is probably too naive and I'm probably missing something here ;)).

It depends on what is in the placement list. If the placement list required actual existing machines, then yes you are correct. However placement directives do not have to be actual existing machines. That's where it becomes a problem as the provider can't be sure which one you're referring to. If you have a placement directive of lxd, lxd, lxd and change it to lxd, lxd to remove a unit. How can the provider determine which actual unit you wish to remove?
We can chat in the juju/terraform Matix room if you have more questions on that topic.
Per the placement doc, you can also specify system-id=<system ID> for MAAS, however I do not believe that will work for a container on a MAAS machine.


KAFKA-10192: increase starting up waiting time

Recently, we saw some errors:
org.opentest4j.AssertionFailedError: Condition not met within timeout 30000. Worker did not complete startup in time ==> expected: <true> but was: <false>
And after some tests, I confirmed this is just because the slow system, not other issues. What I did is trying to wait 2 times, to see if we failed at 1st time, and passed at 2nd. And after testing in jenkins build, the errors are showing: failed 1st, but passed in 2nd try. So, we can just increase the waiting time to fix these flaky tests.
        boolean fail = false;
        try {
            waitForCondition(
                () -> connect.requestGet(connect.endpointForResource("connectors/nonexistent")).getStatus() == 404,
                CONNECT_WORKER_STARTUP_TIMEOUT,
                "Worker did not complete startup in time"
            );
        } catch (final java.lang.AssertionError e) {
            fail = true;
        }

        waitForCondition(
            () -> connect.requestGet(connect.endpointForResource("connectors/nonexistent")).getStatus() == 404,
              CONNECT_WORKER_STARTUP_TIMEOUT
              "Worker did not complete startup in time"
        );
        if (fail) {
            fail("failed 1st, but passed in 2nd try");
        }

Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@C0urante @kkonstantine , could you help review this simple PR? Thanks.

Fine by me, flaky tests suck.
Indeed! Thanks, @C0urante

@kkonstantine , could you check this PR? Thanks.


Use k8s sets package in install_plugins.go

What this PR does / why we need it:
Switch to use sets in install_plugins
Release note:
NONE

/retest

Grr.. not sure why we keep seeing timeouts when deleting the test namespace.
/retest

/retest


Unable to build vcpkg using gcc@master.

Currently I'm not able tu build vcpkg using master branch of gcc in github
the commit i'm using for gcc: 6f8486523f61bf0aa476dfa4197d1e3b71a0a8f3
the commit i'm using for vcpkg: 981e65ce0ac1f6c86e5a5ded7824db8780173c76
error:
[9/86] Building CXX object CMakeFiles/vcpkglib.dir/src/vcpkg/base/json.cpp.o
FAILED: CMakeFiles/vcpkglib.dir/src/vcpkg/base/json.cpp.o
/gcc11/bin/g++ -DVCPKG_USE_STD_FILESYSTEM=1 -I../include -O3 -DNDEBUG -include /vcpkg/toolsrc/include/pch.h -pthread -std=c++17 -MD -MT CMakeFiles/vcpkglib.dir/src/vcpkg/base/json.cpp.o -MF CMakeFiles/vcpkglib.dir/src/vcpkg/base/json.cpp.o.d -o CMakeFiles/vcpkglib.dir/src/vcpkg/base/json.cpp.o -c ../src/vcpkg/base/json.cpp
../src/vcpkg/base/json.cpp: In instantiation of 'vcpkg::Json::impl::ValueImpl& vcpkg::Json::impl::ValueImpl::internal_assign(vcpkg::Json::ValueKind, T vcpkg::Json::impl::ValueImpl::*, vcpkg::Json::impl::ValueImpl&) [with T = std::nullptr_t]':
../src/vcpkg/base/json.cpp:51:92:   required from here
../src/vcpkg/base/json.cpp:74:21: internal compiler error: tree check: expected integer_type or enumeral_type or boolean_type or real_type or fixed_point_type, have offset_type in get_offset_range, at builtins.c:5108
   74 |                     new (&(this->*mp)) T(std::move(other.*mp));
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0x831fda tree_check_failed(tree_node const*, char const*, int, char const*, ...)
	../.././gcc/tree.c:9810
0x72b9d5 tree_check5(tree_node*, char const*, int, char const*, tree_code, tree_code, tree_code, tree_code, tree_code)
	../.././gcc/tree.h:3429
0x72b9d5 get_offset_range
	../.././gcc/builtins.c:5108
0xc11331 compute_objsize_r
	../.././gcc/builtins.c:5550
0xc1496c compute_objsize(tree_node*, int, access_ref*, range_query*)
	../.././gcc/builtins.c:5747
0x9dd472 warn_placement_new_too_small
	../.././gcc/cp/init.c:2600
0x9dd472 build_new_1
	../.././gcc/cp/init.c:3266
0x9de5a8 build_new(unsigned int, vec<tree_node*, va_gc, vl_embed>**, tree_node*, tree_node*, vec<tree_node*, va_gc, vl_embed>**, int, int)
	../.././gcc/cp/init.c:3817
0xabeb06 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, bool, bool)
	../.././gcc/cp/pt.c:19928
0xac7be8 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
	../.././gcc/cp/pt.c:19009
0xac9171 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
	../.././gcc/cp/pt.c:18106
0xac9d12 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
	../.././gcc/cp/pt.c:18076
0xac9926 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
	../.././gcc/cp/pt.c:18400
0xacb6b7 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
	../.././gcc/cp/pt.c:18384
0xac9d12 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
	../.././gcc/cp/pt.c:18076
0xac9926 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
	../.././gcc/cp/pt.c:18400
0xacea27 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool)
	../.././gcc/cp/pt.c:18061
0xacea27 instantiate_body
	../.././gcc/cp/pt.c:25730
0xacfa80 instantiate_decl(tree_node*, bool, bool)
	../.././gcc/cp/pt.c:26019
0xaf3c73 instantiate_pending_templates(int)
	../.././gcc/cp/pt.c:26098
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

This seems not a bug of vcpkg, but the problem can be solved by editing vcpkg's source.
I don't know whether a PR should be created or not.
The fix can be found here:
https://github.com/nanoric/vcpkg/commit/cf2473ce2ea4df183aef3752b57a7899397097b4

Have you reported to this to the gcc folks? Your patch LGTM

Sorry that reporting BUG for gcc seems so complicated and I tried before and finally I gave up.

Have you reported to this to the gcc folks? Your patch LGTM


Compile error for cloud_firestore AND cloud_functions on ios

Steps to Reproduce

New Flutter Project
Add cloud_firestore: ^0.8.0 AND cloud_functions: ^0.0.4 to pubspec.yaml
flutter run (flutter beta v0.7.3 and dev v0.8.6 same problem)

Logs
flutter run
Launching lib/main.dart on iPhone X in debug mode...
Starting Xcode build...
Xcode build done.                                            3,5s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    While building module 'FirebaseDatabase' imported from /Users/tobias/Developer/Projects/flutter_app/ios/Pods/Headers/Public/Firebase/Firebase.h:26:
    In file included from <module-includes>:1:
    In file included from /Users/tobias/Developer/Projects/flutter_app/ios/Pods/Target Support Files/FirebaseDatabase/FirebaseDatabase-umbrella.h:13:
    /Users/tobias/Developer/Projects/flutter_app/ios/Pods/FirebaseDatabase/Firebase/Database/Public/FIRDatabase.h:154:1: error: property with 'retain (or strong)' attribute must be of object type
    @property (nonatomic, strong) dispatch_queue_t callbackQueue;
    ^
    1 error generated.
    In file included from /Users/tobias/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_functions-0.0.4/ios/Classes/CloudFunctionsPlugin.m:8:
    /Users/tobias/Developer/Projects/flutter_app/ios/Pods/Headers/Public/Firebase/Firebase.h:26:13: fatal error: could not build module 'FirebaseDatabase'
        #import <FirebaseDatabase/FirebaseDatabase.h>
         ~~~~~~~^
    2 errors generated.
Could not build the application for the simulator.
Error launching application on iPhone X.

flutter analyze
Analyzing flutter_app...
No issues found! (ran in 3.0s)

flutter doctor
[✓] Flutter (Channel dev, v0.8.6, on Mac OS X 10.13.6 17G65, locale de-AT)
    • Flutter version 0.8.6 at /Users/tobias/Developer/flutter
    • Framework revision 9f359aeee2 (11 hours ago), 2018-09-17 13:02:34 -0700
    • Engine revision b0b19d6ce1
    • Dart version 2.1.0-dev.4.0.flutter-bb56d4592f

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.2)
    • Android SDK at /Users/tobias/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.4.1, Build version 9F2000
    • ios-deploy 2.0.0
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 28.0.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] VS Code (version 1.27.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.18.0

[✓] Connected devices (1 available)
    • iPhone X • 72782D42-DDF6-40AA-BDCE-AEDDBA4E8E1A • ios • iOS 11.4 (simulator)

• No issues found!

I'm seeing this issue.
Xcode's output:
↳
    /Users/sthomas/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.25+3/ios/Classes/GoogleMapController.m:176:7: warning: 'UIGraphicsImageRendererFormat' is only available on iOS 10.0 or newer [-Wunguarded-availability]
          UIGraphicsImageRendererFormat* format = [UIGraphicsImageRendererFormat defaultFormat];
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In module 'UIKit' imported from /Users/sthomas/Desktop/Flutter/nothing_new/ios/Pods/Target Support Files/google_maps_flutter/google_maps_flutter-prefix.pch:2:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h:26:50: note: 'UIGraphicsImageRendererFormat' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
    UIKIT_EXTERN API_AVAILABLE(ios(10.0)) @interface UIGraphicsImageRendererFormat : UIGraphicsRendererFormat
                                                     ^
    /Users/sthomas/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.25+3/ios/Classes/GoogleMapController.m:176:7: note: enclose 'UIGraphicsImageRendererFormat' in an @available check to silence this warning
          UIGraphicsImageRendererFormat* format = [UIGraphicsImageRendererFormat defaultFormat];
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/sthomas/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.25+3/ios/Classes/GoogleMapController.m:176:78: warning: 'defaultFormat' is only available on iOS 10.0 or newer [-Wunguarded-availability]
          UIGraphicsImageRendererFormat* format = [UIGraphicsImageRendererFormat defaultFormat];
                                                                                ^~~~~~~~~~~~~~
    In module 'UIKit' imported from /Users/sthomas/Desktop/Flutter/nothing_new/ios/Pods/Target Support Files/google_maps_flutter/google_maps_flutter-prefix.pch:2:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRenderer.h:24:1: note: 'defaultFormat' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
    + (instancetype)defaultFormat API_DEPRECATED_WITH_REPLACEMENT("preferredFormat", tvos(10.0, 11.0)) API_AVAILABLE(ios(10.0), watchos(3.0));
    ^
    /Users/sthomas/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.25+3/ios/Classes/GoogleMapController.m:176:78: note: enclose 'defaultFormat' in an @available check to silence this warning
          UIGraphicsImageRendererFormat* format = [UIGraphicsImageRendererFormat defaultFormat];
                                                                                ^~~~~~~~~~~~~~
    /Users/sthomas/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.25+3/ios/Classes/GoogleMapController.m:176:48: warning: 'UIGraphicsImageRendererFormat' is only available on iOS 10.0 or newer [-Wunguarded-availability]
          UIGraphicsImageRendererFormat* format = [UIGraphicsImageRendererFormat defaultFormat];
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In module 'UIKit' imported from /Users/sthomas/Desktop/Flutter/nothing_new/ios/Pods/Target Support Files/google_maps_flutter/google_maps_flutter-prefix.pch:2:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h:26:50: note: 'UIGraphicsImageRendererFormat' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
    UIKIT_EXTERN API_AVAILABLE(ios(10.0)) @interface UIGraphicsImageRendererFormat : UIGraphicsRendererFormat
                                                     ^
    /Users/sthomas/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.25+3/ios/Classes/GoogleMapController.m:176:48: note: enclose 'UIGraphicsImageRendererFormat' in an @available check to silence this warning
          UIGraphicsImageRendererFormat* format = [UIGraphicsImageRendererFormat defaultFormat];
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /Users/sthomas/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.25+3/ios/Classes/GoogleMapController.m:178:7: warning: 'UIGraphicsImageRenderer' is only available on iOS 10.0 or newer [-Wunguarded-availability]
          UIGraphicsImageRenderer* renderer =
          ^~~~~~~~~~~~~~~~~~~~~~~
    In module 'UIKit' imported from /Users/sthomas/Desktop/Flutter/nothing_new/ios/Pods/Target Support Files/google_maps_flutter/google_maps_flutter-prefix.pch:2:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h:43:50: note: 'UIGraphicsImageRenderer' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
    UIKIT_EXTERN API_AVAILABLE(ios(10.0)) @interface UIGraphicsImageRenderer : UIGraphicsRenderer
                                                     ^
    /Users/sthomas/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.25+3/ios/Classes/GoogleMapController.m:178:7: note: enclose 'UIGraphicsImageRenderer' in an @available check to silence this warning
          UIGraphicsImageRenderer* renderer =
          ^~~~~~~~~~~~~~~~~~~~~~~
    /Users/sthomas/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.25+3/ios/Classes/GoogleMapController.m:179:13: warning: 'UIGraphicsImageRenderer' is only available on iOS 10.0 or newer [-Wunguarded-availability]
              [[UIGraphicsImageRenderer alloc] initWithSize:_mapView.frame.size format:format];
                ^~~~~~~~~~~~~~~~~~~~~~~
    In module 'UIKit' imported from /Users/sthomas/Desktop/Flutter/nothing_new/ios/Pods/Target Support Files/google_maps_flutter/google_maps_flutter-prefix.pch:2:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h:43:50: note: 'UIGraphicsImageRenderer' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
    UIKIT_EXTERN API_AVAILABLE(ios(10.0)) @interface UIGraphicsImageRenderer : UIGraphicsRenderer
                                                     ^
    /Users/sthomas/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.25+3/ios/Classes/GoogleMapController.m:179:13: note: enclose 'UIGraphicsImageRenderer' in an @available check to silence this warning
              [[UIGraphicsImageRenderer alloc] initWithSize:_mapView.frame.size format:format];
                ^~~~~~~~~~~~~~~~~~~~~~~
    /Users/sthomas/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.25+3/ios/Classes/GoogleMapController.m:181:53: warning: 'UIGraphicsImageRendererContext' is only available on iOS 10.0 or newer [-Wunguarded-availability]
          UIImage* image = [renderer imageWithActions:^(UIGraphicsImageRendererContext* context) {
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In module 'UIKit' imported from /Users/sthomas/Desktop/Flutter/nothing_new/ios/Pods/Target Support Files/google_maps_flutter/google_maps_flutter-prefix.pch:2:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h:39:50: note: 'UIGraphicsImageRendererContext' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 8.0.0
    UIKIT_EXTERN API_AVAILABLE(ios(10.0)) @interface UIGraphicsImageRendererContext : UIGraphicsRendererContext
                                                     ^
    /Users/sthomas/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter-0.5.25+3/ios/Classes/GoogleMapController.m:181:53: note: enclose 'UIGraphicsImageRendererContext' in an @available check to silence this warning
          UIImage* image = [renderer imageWithActions:^(UIGraphicsImageRendererContext* context) {
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    6 warnings generated.
    === BUILD TARGET firebase_auth OF PROJECT Pods WITH CONFIGURATION Debug ===
    While building module 'FirebaseFirestore' imported from /Users/sthomas/Desktop/Flutter/nothing_new/ios/Pods/Headers/Public/Firebase/Firebase.h:49:
    In file included from <module-includes>:1:
    In file included from /Users/sthomas/Desktop/Flutter/nothing_new/ios/Pods/Target Support Files/FirebaseFirestore/FirebaseFirestore-umbrella.h:17:
    In file included from /Users/sthomas/Desktop/Flutter/nothing_new/ios/Pods/FirebaseFirestore/Firestore/Source/Public/FirebaseFirestore.h:25:
    /Users/sthomas/Desktop/Flutter/nothing_new/ios/Pods/FirebaseFirestore/Firestore/Source/Public/FIRFirestoreSettings.h:46:1: error: property with 'retain (or strong)' attribute must be of object type
    @property(nonatomic, strong) dispatch_queue_t dispatchQueue;
    ^
    1 error generated.
    In file included from /Users/sthomas/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.4.4+3/ios/Classes/FLTFirebaseCorePlugin.m:7:
    /Users/sthomas/Desktop/Flutter/nothing_new/ios/Pods/Headers/Public/Firebase/Firebase.h:49:13: fatal error: could not build module 'FirebaseFirestore'
        #import <FirebaseFirestore/FirebaseFirestore.h>
         ~~~~~~~^
    While building module 'FirebaseStorage' imported from /Users/sthomas/Desktop/Flutter/nothing_new/ios/Pods/Headers/Public/Firebase/Firebase.h:157:
    In file included from <module-includes>:1:
    In file included from /Users/sthomas/Desktop/Flutter/nothing_new/ios/Pods/Target Support Files/FirebaseStorage/FirebaseStorage-umbrella.h:13:
    In file included from /Users/sthomas/Desktop/Flutter/nothing_new/ios/Pods/FirebaseStorage/FirebaseStorage/Sources/Public/FirebaseStorage.h:17:
    /Users/sthomas/Desktop/Flutter/nothing_new/ios/Pods/FirebaseStorage/FirebaseStorage/Sources/Public/FIRStorage.h:100:1: error: property with 'retain (or strong)' attribute must be of object type
    @property(strong, nonatomic) dispatch_queue_t callbackQueue;
    ^
    1 error generated.
    3 errors generated.

The results of flutter doctor --verbose:
[✓] Flutter (Channel master, v1.18.1-pre.9, on Mac OS X 10.15.3 19D76, locale en-NZ)
    • Flutter version 1.18.1-pre.9 at /Users/sthomas/flutter
    • Framework revision 17079f26b5 (3 days ago), 2020-04-06 01:21:01 -0400
    • Engine revision 9b8dcc7ecf
    • Dart version 2.8.0 (build 2.8.0-dev.20.0 05103dfe5a)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/sthomas/Library/Android/sdk
    • Platform android-29, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.4, Build version 11E146
    • CocoaPods version 1.9.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 43.0.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] Connected device (3 available)
    • iPhone 11 Pro Max • F01FDB37-BA30-4A31-8F90-EE6DC28CD28F • ios            • com.apple.CoreSimulator.SimRuntime.iOS-13-4 (simulator)
    • Chrome            • chrome                               • web-javascript • Google Chrome 80.0.3987.163
    • Web Server        • web-server                           • web-javascript • Flutter Tools

• No issues found!