Uba trajectories for climate targets

Partially addressing issue https://github.com/PyPSA/pypsa-ariadne/issues/81
Sector goals are not easily applicable, since due to sector coupling PyPSA-Eur can't distinguish between e.g. oil/hydrogen for different applications.
New config co2_budget_uba was added. In build_scenarios the trajectory from 2024  is added minus the expected non CO2 emissions from the iiasa database.
The relative reduction is then written into config["co2_budget_uba"]["targets"] but only come into effect if config["co2_budget_uba"]["enable"] == True.
Reduction compared to 1990 emissions

Year
uba
KSG

2020
0.61
0.728

2025
0.557
0.573

2030
0.391
0.401

2035
0.268
0.265

2040
0.177
0.135

2045
0.151
-0.011

So far we are using config["co2_budget_national"] for Germany only. That's why I wrote the code so that it is either using the uba or the ksg targets.


feat: cyclotomic fields are totally complex

We prove that cyclotomic fields are totally complex.
From flt-regular.

@xroblot Do you see a quick way of proving that if finrank K = 1 then  NrRealPlaces K = 1?

@xroblot Do you see a quick way of proving that if finrank K = 1 then NrRealPlaces K = 1?

Well, I don't see a better way than to use NumberField.InfinitePlace.card_add_two_mul_card_eq_rank but I am sure you know that already.
Well, there might something possible using: IsUnramifiedAtInfinitePlaces_of_odd_finrank. It could be a bit faster... I am not sure.

Besides the two golfing, LGTM.

Thanks :tada:
bors merge


Retarget-deploy generates extremely long names for snapshot artifacts

The following code of the retarget-deploy mojo can cause problems on some filesystems. By injecting the entire name into the otherDeployBranchPattern artifacts, it can create very very long directories and file-names.
https://github.com/egineering-llc/gitflow-helper-maven-plugin/blob/master/src/main/java/com/e_gineering/maven/gitflowhelper/RetargetDeployMojo.java#L89-L91
    /**
     * Given a String version (which may be a final or -SNAPSHOT version) return a
     * version version string mangled to include a `+normalized-branch-name-SNAPSHOT format version.
     *
     * @param version The base version (ie, 1.0.2-SNAPSHOT)
     * @param branchName to be normalized
     * @return A mangled version string with the branchname and -SNAPSHOT.
     */
    private String getAsBranchSnapshotVersion(final String version, final String branchName) {
        return version.replace("-SNAPSHOT", "") + otherBranchVersionDelimiter + branchName.replaceAll("[^0-9A-Za-z-.]", "-") + "-SNAPSHOT";
    }

For my current project we already inject a unique revision number into the version numbers (based on git describe --tags) to handle this issue. Having the gitflow-helper-maven-plugin come along and alter them to inject yet (much) more characters is undesirable.
I would suggest that this getAsBranchSnapshotVersion() call should be enabled by default for otherDeployBranchPattern branches (but the branch-name truncated to say 40chars), but an additional option to disable this call altogether for users (like me) who use a different solution.
Perhaps "snapshotArtifactUniqueNaming" with default = true?

Interesting that you should mention this. :-) (good timing)
This actually intersects well with what I've been working on with #105. That issue was pointing out that that version manipulation was happening 'at the wrong time' and 'in the wrong way'.
To resolve it, I've been working in a branch where the version manipulation is moved to an extension, rather than part of the RetargetDeployMojo.
While I didn't account (yet) for disabling that extension, it would make sense to do that. It would also make sense in the case of this ticket, to provide some other strategies for resolving the 'unique' part of the version string.
If you'd like to play around / help out on this, feel free to fork and make PRs against feature/other-branch-reversioning-extension. I'd welcome the assistance.

You could also give it a try that way, so we know if it works IRL before a release. :-)

Sorry for the late reply. I'll have a look :)

Didn't have time to do a thorough test yet unfortunately, and going on holiday for couple of weeks. Will check back in when I'm back.


Is there a way to include "show_mode" in the SwipeLayout definition in the xml file?

This is one of the best solutions I have found for swipe-action implementation in Android.  :+1: for a great job!
My comment was about this line:
swipeLayout.setShowMode(SwipeLayout.ShowMode.LayDown);

If there was a way to specify the show mode in the XML file itself instead of in code, that would be great.  Like so:
<com.daimajia.swipe.SwipeLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  custom:show_mode="lay_down"
  android:layout_width="match_parent"
  android:layout_height="80dp">
. . .

As I see in attrs.xml it work's exactly as you say ;)
So we have
app:show_mode="lay_down"
and
app:show_mode="pull_out"

So what about Single and Multi mode?


Support new kustomize version

The new Kustomize versions after v3.5.4 do not support --enable_alpha_plugins. Instead they support --enable-alpha-plugins. So updating kenv so that it can use the latest versions of Kustomize.

LGTM


Remove unused OrbitDll and OrbitAsm

Bug: http://b/158950531

Thanks Dimitry!
Could you also remove cmake/Findminhook.cmake. This file is not needed anymore. And we need to remove it from the third party license listing for the next release. I don't know what's the best way to track that.

Thanks Dimitry!
Could you also remove cmake/Findminhook.cmake. This file is not needed anymore. And we need to remove it from the third party license listing for the next release. I don't know what's the best way to track that.

ops - will do in follow up PR


Documentation issue

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[ ] Feature request
[x] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

Current behavior
On the documentation website, for the version 1.2.0 on the Blog Post section the article with Normalized data does not appear.
https://netbasal.gitbook.io/akita/entity-store/blog-posts
Expected behavior
The article with Normalized data should appear also on the newer version.
This is how it looks like in v1.1.0
https://netbasal.gitbook.io/akita/v/1.1.0/entity-store/blog-posts

Thanks! Done. 😃


[WIP] Implement view for displaying sponsors

Issue

#76

Overview (Required)

Displays sponsors from a localized JSON strings in the assets folder.
Uses recyclever view to display a header and another recyclever to display sponsors.
When a sponsor is clicked it loads their website in a webview.
Tried to implement the design per the spec provided in #76

TODO

[x]  Add more sponsors to the sponsors json files.
[x] Remove manual edit of the english strings as manual edits aren't allowed.
[x] Clean up code.
[x] Be consistent with category's name capitalization.

Links

Screenshot

Before
After

:eyes: Thank you for tackling this!

When I can review, please let me know! Thanks!

@eyedol @shiraji created the json file! Thanks! 👍
https://github.com/eyedol/conference-app-2017/pull/1

@konifar Thanks for the earlier review. I'm ready for another one. How are the English strings generated? It seems they're auto generated.
Also sponsors.json needs to be translated into Japanese.

How are the English strings generated?

In my opinion, it should be implemented as another issue.
It's okay that you will implement for only one language 😃

Cool. I created an issue for it. Feel free to merge this if everything looks good at your end.

@konifar let me know if there's anything I need to do to get this merged.

@eyedol Ah, sorry! 🙇  can I review this now? I thought you are working on it.

@konifar yes you can review now.

Cool. okay. I'll review this later. Thanks!

@eyedol Commented! Good work!
Can you update the latest screenshot in this PR description?

@konifar Changes fixed and description updated with the newest screenshot. Thanks for the great code review.

I think the item seems too big and it's better to show all items without horizontal scrolling.
Like this.

@konifar I have updated the PR per your suggestion. See the latest screenshot. Centering the grid items is a bit tricky than I thought. It will probably require writing an ItemDecoration class for it. Let me know if you've a better idea for it.
P.S. I'm not on a regular work schedule or setup. Hence why I'm slow at responding.

Almost perfect. I commented one.
https://github.com/DroidKaigi/conference-app-2017/pull/172#discussion_r100490908

This PR looks good. I'll merge this first and improve UI on another PR.
Thanks for contribution!! 👍 I really appreciate you!


Please add releases

Hey @swyxio, great project and big fan of your work on Twitter.
Please do add releases, it makes it much more easy to track the project.
Super simple:
git tag v0.0.1 (basic sem-ver)
git push origin v0.0.1
In the repo, in a .github folder, you add this file, and you will have automated release notes, super good looking! https://github.com/kube-hetzner/terraform-hcloud-kube-hetzner/blob/master/.github/release.yaml

Hi @swyxio! I’m one of the founders of Sweep, a github app that solves issues(like adding a file for release notes) by writing pull requests.
This looks like a good issue for Sweep https://github.com/sweepai/sweep to try. We have onboarding instructions here, I’m also happy to help you onboard directly :)


[test] Add memory parity tests

Preferably add memory parity assertions to existing tests, to avoid extra run time.
Memory parity tests are important to avoid memory leaks.

Fron Will in core....
torch.cuda.memory_snapshot()
I think we could use this to generate a memory profiler
(Pdb) torch.cuda.memory_allocated(device=None)
9580032
(Pdb) torch.cuda.memory_allocated(device=‘cuda:0’)
0
(Pdb) torch.cuda.memory_allocated(device=‘cuda:1’)
0


null_boolean: Switch from NullBooleanField to BooleanField.

Solves a part of https://github.com/zulip/zulip/issues/11341.

@timabbott A review please. It's a very small one.

Merged as 2ff1527be8e7828cfba703e2858f9fa064c56501, after writing the commit message to explain what's happening in more detail, and updating the linter code found via git grep NullBooleanField.  Thanks @Abhishek-Balaji!


Sync code to feature/spring-boot-3 branch weekly

This is a weekly job to sync non spring code from branch main into branch feature/spring-boot-3.

API change check
API changes are not detected in this pull request.

I think we should also add label "azure-spring" to this kind of PR.


Could not create widget TreeView.widget.TreeView

Could not create treeview widget in mendix 7.10.
mxui.js?636501404037003141:7 Could not create widget TreeView.widget.TreeView TypeError: mxui.wm.focus.addBox is not a function
at Object._setupLayout (TreeView.js?636501404037003141:247)
at Object.postCreate (TreeView.js?636501404037003141:152)
at Object.create (mxui.js?636501404037003141:7)
at Object.postscript (mxui.js?636501404037003141:7)
at new  (mxui.js?636501404037003141:7)
at mxui.js?636501404037003141:7
at Object.forEach (mxui.js?636501404037003141:7)
at i (mxui.js?636501404037003141:7)
at Object.parseTopLevel (mxui.js?636501404037003141:7)
at Object.parseContent (mxui.js?636501404037003141:7)

Have the same issue for other project.
For now is removed the focus function, dont think that the right approach.
@JelteMX Do you already have a better solution?

I have added the fixes in the version mentioned in the previous comment. If that works, I'll create a new version for the AppStore. Still haven't got feedback on this...

Fixes have been added to version 4.6.1. Closing issue due to no feedback


Can't compile example with golang.

What OS are you using (uname -a, or Windows version)?

Windows 10 Pro 1903(18362.657)

What programming language are you using (C/C++/Go/Rust)?
Go:

go version go1.14 windows/amd64

Gcc:

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=C:/TDM-GCC-64/bin/../libexec/gcc/x86_64-w64-mingw32/5.1.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../../../src/gcc-5.1.0/configure --build=x86_64-w64-mingw32 --enable-targets=all --enable-languages=ada,c,c++,fortran,lto,objc,obj-c++ --enable-libgomp --enable-lto --enable-graphite --enable-cxx-flags=-DWINPTHREAD_STATIC --disable-build-with-cxx --disable-build-poststage1-with-cxx --enable-libstdcxx-debug --enable-threads=posix --enable-version-specific-runtime-libs --enable-fully-dynamic-string --enable-libstdcxx-threads --enable-libstdcxx-time --with-gnu-ld --disable-werror --disable-nls --disable-win32-registry --prefix=/mingw64tdm --with-local-prefix=/mingw64tdm --with-pkgversion=tdm64-1 --with-bugurl=http://tdm-gcc.tdragon.net/bugs
Thread model: posix
gcc version 5.1.0 (tdm64-1)

What did you expect to see and what you saw instead?

Hello, i can't compile example with go. Some errors occured:

go build -ldflags="-H windowsgui" -o webview-example.exe

# github.com/zserge/webview C:\Users\BEZRAZ~1\AppData\Local\Temp\go-build996545186\b002\_x002.o: In function CgoWebViewBind':
C:/Users/bezrazli4n0/go/src/github.com/zserge/webview/webview.go:41: undefined reference to webview_bind' C:\Users\BEZRAZ~1\AppData\Local\Temp\go-build996545186\b002\_x002.o: In function _cgo_513c5b174c28_Cfunc_webview_return':
/tmp/go-build/cgo-gcc-prolog:181: undefined reference to webview_return' collect2.exe: error: ld returned 1 exit status

Have same errors when trying install new version via "go get" on Windows.
`C:\TDM-GCC-64>go get github.com/zserge/webview
go: finding github.com/zserge/webview latest
github.com/zserge/webview
C:\Users\liri\AppData\Local\Temp\go-build137265670\b001_x002.o: In function CgoWebViewBind': E:/Sites/go/pkg/mod/github.com/zserge/webview@v0.0.0-20200301213939-0eb933f25974/webview.go:41: undefined reference to webview_bind'
C:\Users\liri\AppData\Local\Temp\go-build137265670\b001_x002.o: In function _cgo_17ab966533ea_Cfunc_webview_return': /tmp/go-build/cgo-gcc-prolog:181: undefined reference to webview_return'
collect2.exe: error: ld returned 1 exit status`

I believe the DLLs should be re-compiled. I'll have a look, or feel free to rebuild them if you have access to cl.exe

After I recompile "webview.dll" with "script/build.bat" and copy recompiled version to dll-folder example building without errors, but when I launching builded .exe it randomly crashes Windows (I see a black screen and then occur forced logout).

The DLLs should be in the same directory with .exe files if you are using
Go.
On Mon 2. Mar 2020 at 15:13, Liri<EMAIL_ADDRESS>wrote:

After I recompile "webview.dll" with "script/build.bat" and copy
recompiled version to dll-folder example building without errors, but when
I launching builded .exe it randomly crashes Windows (I see a black screen
and then occur forced logout).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/zserge/webview/issues/316?email_source=notifications&email_token=AAOSXUCKOGSGSQYBQQOOH6LRFO5I7A5CNFSM4K7I2YBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENPOLIQ#issuecomment-593421730,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAOSXUD25OLMAO2FO2X6KFLRFO5I7ANCNFSM4K7I2YBA
.

--
"One must have a chaos inside oneself to give birth to a dancing star." -
Thus Spoke Zarathustra

Yes, I know. Without DLLs example just throw error. Described situation occurs with DLLs copied to example exe folder.

Ok, i compile dlls and put it inside .exe folder of my project, but now window is bugging, i can't resize by mouse, and window is work only in fullscreen mode, if i minimize it, crash will happened.

I try all variants of webview.Hint* in SetSize:
HintMin - works mostly fine
HintMax - app start fine but heavyly buggy when i try resize window
HintNone and HintFixed - app crashes system at launch

HintMin works perfectly

Can anyone

Ok, i compile dlls and put it inside .exe folder of my project, but now window is bugging, i can't resize by mouse, and window is work only in fullscreen mode, if i minimize it, crash will happened.

Can you push the new DLLs please?

@lirix360 can you share the DLLs you compile? or upload them to sidebranch?

@lirix360 can you share the DLLs you compiled? or upload them to sidebranch?

Yes, I can, but I'm not sure that they are compiled correctly, I described the problems above.
webview.zip

hello when i run this program with "go run main.go" i got error like this
USER@Melani MINGW64 ~/go/src/webview-example
$ go run main.go
exit status<PHONE_NUMBER>
I have followed all the instructions above, but I get an error like that, can anyone help?

I put compiled webview.dll manually  inside .exe folder of my project, but now window is bugging - no content loaded, it is huge (beyond all my two monitors)

Though It works pretty good with HintMin (but it is not started in min mode, it works like HintNone)

It still doesn't work for me. I have tried to use mingw gcc 10.2 and tdm-gcc64 9.2. Both won't compile webview.
The strange part is that it worked the first time, but not after...

It still doesn't work for me. I have tried to use mingw gcc 10.2 and tdm-gcc64 9.2. Both won't compile webview.
The strange part is that it worked the first time, but not after...

There are any news related this issue?  It ticket have been opened while ago without a resolution.  The example in documentation never works in Windows 10.

webview_dlls.zip
These two DLLs did the trick for me. WebView2Loader.dll is from ./script/microsoft.web.webview<IP_ADDRESS>8/build/x64 and webview.dll is from ./build after running the .bat script. Other combinations don't work and fail with different errors

Thanks. These dlls worked for me. I was trying to run it for many days.

webview_dlls.zip 这两个 DLL 为我解决了问题。WebView2Loader.dll 来自 ./script/microsoft.web.webview<IP_ADDRESS>8/build/x64 和 webview.dll 在运行 .bat 脚本后来自 ./build。其他组合不起作用并失败并出现不同的错误

thanks very much, but has`t 32bit dll

Under Windows 7 the WebView2Loader.dll throws "The procedure entry point SetProcessDpiAwarenessContext could not be located in the dynamic link library USER32.dll" when launching the exe. It works fin under Windows 10. Any thought on how to fix this? Thanks.

I found this article: https://github.com/MicrosoftEdge/WebView2Browser/blob/master/README.md
It explains in the section "Using versions below Windows 10"...
"In WebViewBrowserApp.cpp, you will need to replace the call to SetProcessDpiAwarenessContext and call SetProcessDPIAware instead"
Do this make sense to anyone and is it possible to get Webview2Loader.dll to rebuild with this option?

Please see the updated readme and create new issues for all problems that are still relevant.


ADD: Used notebooks added for events.

@BrandonWeart Looks good, are you adding any more to this PR? Otherwise ill merge

Uhh yeah you can merge this. If i need to add more later ill just open another PR. Thanks!


Elastix 4.8

Hi!
Do you think it is easy to update to Elastix 4.8? I would love to use the new OpenCL filters 😊

Btw, SimpleElastix deserves to be added to http://elastix.bigr.nl/wiki/index.php/Additional_tools :wink:

Yes, upgrading to 4.8 should be fairly easy. Will keep this pull request open until it is merged. Stay tuned :)
With respect to the number of threads, that option is not available because it is not exposed by the elastix API. Sorry :/

You can now checkout the development branch to get SimpleElastix with Elastix 4.8. Would you mind running the test suite (i.e. "make test" in the SimpleITK-build directory)?

Yes!! Will do :smile:

While compiling, I get the following error:
[ 66%] Built target SimpleITKCommon
Scanning dependencies of target SimpleElastix
Scanning dependencies of target SimpleTransformix
[ 66%] Building CXX object Code/Elastix/src/CMakeFiles/SimpleTransformix.dir/sitkSimpleTransformix.cxx.o
[ 66%] Building CXX object Code/Elastix/src/CMakeFiles/SimpleElastix.dir/sitkSimpleElastix.cxx.o
In file included from /Users/Jorrit/Development/SELX 4.8/Source/Code/Elastix/src/sitkSimpleTransformix.cxx:4:
/Users/Jorrit/Development/SELX 4.8/Source/Code/Elastix/include/sitkSimpleTransformix.h:10:10: fatal error: 'transformixlib.h' file not found
#include "transformixlib.h"
         ^
In file included from /Users/Jorrit/Development/SELX 4.8/Source/Code/Elastix/src/sitkSimpleElastix.cxx:4:
/Users/Jorrit/Development/SELX 4.8/Source/Code/Elastix/include/sitkSimpleElastix.h:10:10: fatal error: 'elastixlib.h' file not found
#include "elastixlib.h"
         ^
1 error generated.
1 error generated.
make[5]: *** [Code/Elastix/src/CMakeFiles/SimpleTransformix.dir/sitkSimpleTransformix.cxx.o] Error 1
make[4]: *** [Code/Elastix/src/CMakeFiles/SimpleTransformix.dir/all] Error 2
make[4]: *** Waiting for unfinished jobs....
make[5]: *** [Code/Elastix/src/CMakeFiles/SimpleElastix.dir/sitkSimpleElastix.cxx.o] Error 1
make[4]: *** [Code/Elastix/src/CMakeFiles/SimpleElastix.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [SimpleITK-prefix/src/SimpleITK-stamp/SimpleITK-build] Error 2
make[1]: *** [CMakeFiles/SimpleITK.dir/all] Error 2
make: *** [all] Error 2

Hi Jorrit,
Did you compiled ElastiX yourself or do you use the SuperBuild ?
If you use a system version of ElastiX (compile it yourself and USE_SYSTEM_ELASTIX) be sure to use the version from Kasper’s repositoryhttps://github.com/kaspermarstal/elastix/tree/master
The one from “mstaring/elastix” won’t work for building SimpleElastiX.
Fabien
De : Jorrit Posthuma<EMAIL_ADDRESS>Envoyé : mardi 20 octobre 2015 15:56
À : kaspermarstal/SimpleElastix<EMAIL_ADDRESS>Objet : Re: [SimpleElastix] Elastix 4.8 (#3)
While compiling, I get the following error:
[ 66%] Built target SimpleITKCommon
Scanning dependencies of target SimpleElastix
Scanning dependencies of target SimpleTransformix
[ 66%] Building CXX object Code/Elastix/src/CMakeFiles/SimpleTransformix.dir/sitkSimpleTransformix.cxx.o
[ 66%] Building CXX object Code/Elastix/src/CMakeFiles/SimpleElastix.dir/sitkSimpleElastix.cxx.o
In file included from /Users/Jorrit/Development/SELX 4.8/Source/Code/Elastix/src/sitkSimpleTransformix.cxx:4:
/Users/Jorrit/Development/SELX 4.8/Source/Code/Elastix/include/sitkSimpleTransformix.h:10:10: fatal error: 'transformixlib.h' file not found
#include "transformixlib.h"
     ^

In file included from /Users/Jorrit/Development/SELX 4.8/Source/Code/Elastix/src/sitkSimpleElastix.cxx:4:
/Users/Jorrit/Development/SELX 4.8/Source/Code/Elastix/include/sitkSimpleElastix.h:10:10: fatal error: 'elastixlib.h' file not found
#include "elastixlib.h"
     ^

1 error generated.
1 error generated.
make[5]: *** [Code/Elastix/src/CMakeFiles/SimpleTransformix.dir/sitkSimpleTransformix.cxx.o] Error 1
make[4]: *** [Code/Elastix/src/CMakeFiles/SimpleTransformix.dir/all] Error 2
make[4]: *** Waiting for unfinished jobs....
make[5]: *** [Code/Elastix/src/CMakeFiles/SimpleElastix.dir/sitkSimpleElastix.cxx.o] Error 1
make[4]: *** [Code/Elastix/src/CMakeFiles/SimpleElastix.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [SimpleITK-prefix/src/SimpleITK-stamp/SimpleITK-build] Error 2
make[1]: *** [CMakeFiles/SimpleITK.dir/all] Error 2
make: *** [all] Error 2
—
Reply to this email directly or view it on GitHubhttps://github.com/kaspermarstal/SimpleElastix/issues/3#issuecomment-149575652.

I use the SuperBuild, but do use the USE_SYSTEM_SWIG flag.

Unfortunately I am unable to reproduce the issue on OS X 10.11. It may be worth starting over with a fresh clone and build directory and use "SELX4.8" instead of "SELX 4.8" to see if the space in the path is causing the issue. If this doesn't work, can you post the contents of your SimpleElastixBuild/elastix-build/src/UseElastix.cmake file?

Very good point! Going to try it directly 😋

Yes!! It compiles! I'll let it run for the night and run make test in the morning 😊.

100% tests passed, 0 tests failed :tada:

:metal:

Thanks for testing!


Add nix support

Creates a flake with which the app can be installed on NixOS. With this change, I've been able to successfully install and use hyprswitch on my NixOS machine.

My current workflow for publishing a new version is to update the version number in theCargo.toml and PKGBUILD files and create a release with a v* tag to trigger the publish github action (upload to crates.io and AUR).
Can you explain how I would need to adjust this workflow to release a new version for NixOS, as I am not familiar with the NixOS ecosystem

Also, I just noticed that README.md got autoformatted by my editor. I'll fix that.

the commit I just made isn't tested since I'm on my Windows laptop right now. Don't merge until I can confirm that it works (probably around 3:30PM EST)

This means I just have to adjust the Version in the packages.nix file.

c2bfca1 (#25) removes the need to adjust package.nix on a new release, since it reads the info from Cargo.toml on user install. Change the crate version in Cargo.toml, and the version change will automatically be reflected in the Nix package.

Finally getting back around to this. Making fromTOML usage work as of writing. That cargoLock thing looks great!

alright, this is building.
With these changes, you won't have to change anything about your workflow. The Nix package file automatically pulls package metadata from Cargo.toml, and it reads Cargo.lock instead of relying upon a hard-coded hash.
It just works :D

This will only build on x86_64-linux, but the application using cargo can also be built on aarch64-linux, could you adjust the the flake to allow installing on arm?

BTW, apologies for slow response times. AP Exams are in less than a month, so I've found myself pretty strapped for time.


v18.1.3 cell model reset static fields

[Current coverage][cc-pull] is 99.26%

Merging [#454][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master       #454   diff @@
==========================================
  Files            27         27
  Lines           407        407
  Methods          99         99
  Messages          0          0
  Branches          0          0
==========================================
  Hits            404        404
  Misses            3          3
  Partials          0          0

Powered by Codecov. Last updated by [eed0786...b8e3e06][cc-compare]
[cc-base-branch]: https://codecov.io/gh/eugene-matvejev/battleship-game-api/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/eugene-matvejev/battleship-game-api/compare/eed07864213556bfa169c8056551c97ab6278166...b8e3e063badde8b1281c17caf3c63a05687a6334
[cc-pull]: https://codecov.io/gh/eugene-matvejev/battleship-game-api/pull/454?src=pr


feat(python): expose compression in write_deltalake and optimize

Description
I have currently not exposed the compression level to either PyArrow.dataset.write_dataset or optimize. For now, I just aligned the default compression levels between PyArrow and Parquet-rs. Let me know if I should also add the compression levels as well.
Also need to wait on parquet crate v48 for the FromStr trait to work
Related Issue(s)

closes https://github.com/delta-io/delta-rs/issues/1465

does this fix this issue ?
https://github.com/delta-io/delta-rs/issues/1772

@djouallah no that's a different topic

Generally speaking, as we go more and more into optimizing things, would it makes sense to expose parquet options as a dict or typed structure?
On the other hand, I was expecting something like that to be available in pyarrow, but could not find anything on a first glance.

Yeah this was my plan to do in a refactor later because writer properties are used in merge, optimize and write, and not consistently.
Do you think it's better to do this in one go? Then I'll refactor those integrations in this pr

Do you think it's better to do this in one go? Then I'll refactor those integrations in this pr

While we are still fairly liberal with evolving our APIs (especially in rust) - 😆 - if we agree that this is the right way forward I would vote for doing it now, rather then having a intermediate API that we know we will brake anyhow...

@roeap Ok, putting it back in draft then :P Will try to harmonize these apis somewhere this week

@roeap here is the feat to harmonize these apis https://github.com/delta-io/delta-rs/pull/1980


TensorRT 3.0 SSD ERROR

I'm trying to build the objection detection framework SSD with TensorRT 3.0 plugin api, the DetectionOutput layer was created by the create function in the NVIDIA plugin library createSSDDetectionOutputPlugin. But it does return a error message "Plugin layer output count is not equal to caffe output count".When I remove the DetectionOutput layer in the prototxt file, it can run and I can get the output of the  mbox_loc, mbox_conf_flatten, mbox_priorbox layer.
Can you help me ? Thank you!

Hi @chenzhi1992 , have you seen this example of using TensorRT plugin API?
https://github.com/AastaNV/Face-Recognition

@chenzhi1992
Where you find SSD repo (or github)  for TensorRT 3.0?

@dusty-nv Yeah， I have seen it. In tensorrt3.0, the detectout layer of SSD has been implemented ， and when I used this api， I meet the error. Thanks!

@twmht Please download TensorRT3.0 (https://developer.nvidia.com/nvidia-tensorrt3rc-download).And in TensorRT3.0 api, you can find some SSD plugin layer.

@chenzhi1992
Have you ever tried INT8 for faster-rcnn in TensorRT?

@twmht I dont tried it， because I haven't touched that much. Maybe I'll study it and try INT8 for SSD in TensorRT later . Thanks.

I have tried faster-rcnn before, but it did not work. The final mAP is very low.
If you have any good news, please let me know.
thanks.

Hi,@dusty-nv,@chenzhi1992, I'm also trying to build SSD with TensorRT 3.0 plugin api, and the Normalize layer was created by the function createSSDNormalizePlugin, and I got the error "could not parse layer type IPlugin" after the funtion.
Can you help me? Thank you!

你看下你的网络prototxt文件，是不是layer的名字不小心写错了
发自网易邮箱大师
On 12/18/2017 15:48, liuhaichao17 wrote:
Hi,@dusty-nv,@chenzhi1992, I'm also trying to build SSD with TensorRT 3.0 plugin api, and the Normalize layer was created by the function createSSDNormalizePlugin, and I got the error "could not parse layer type IPlugin" after the funtion.
Can you help me? Thank you!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@chenzhi1992 ,prototxt文件里layer的名字没错，请问还有其他可能的原因么？谢谢

我遇到过几次这个错误，都是名字不小心被我写错了。会不会是其他层的名字写错了，而不是只看normalize层。
发自网易邮箱大师
在2017年12月18日 16:11，liuhaichao17 写道:
@chenzhi1992 ,prototxt文件里layer的名字没错，请问还有其他可能的原因么？谢谢
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@chenzhi1992 ，嗯，我再看看其他的层，非常感谢您的回复

@chenzhi1992 ,你好，我Normalize层用tensorrt提供的函数初始化代码如下：
const bool ACROSS_SPATIAL = false;
const bool CHANNEL_SHARED = false;
const int NORM_VALUE_NUM = 1;
const float NORM_VALUE[NORM_VALUE_NUM] = { 20.f };
const float NORM_FP = 1.00000000e-10;
else if (!strcmp(layerName, "NormalizeCTO"))
{
assert(mPluginNorm == nullptr);
assert(nbWeights == 0 && weights == nullptr);
Weights wg{ nvinfer1::DataType::kFLOAT, NORM_VALUE, NORM_VALUE_NUM };
mPluginNorm = std::unique_ptr<INvPlugin, decltype(nvPluginDeleter)>
(createSSDNormalizePlugin(&wg, ACROSS_SPATIAL, CHANNEL_SHARED, NORM_FP), nvPluginDeleter);
return mPluginNorm.get();
}
然后报错：sample_ssd: NvPluginSSD.cu:138: virtual void nvinfer1::plugin::Normalize::configure(const nvinfer1::Dims*, int, const nvinfer1::Dims*, int, int): Assertion `mWeights.count == C' failed.
请问是我函数初始化代码的问题么，还是因为其他的原因。另外Plugin layer output count is not equal to caffe output count的问题你解决了么，谢谢。

createSSDNormalizePlugin 函数的 weights参数，直接用createPlugin函数的Weight参数就行了，不用自己重新定义Weight

createSSDNormalizePlugin 函数的 weights参数，直接用createPlugin函数的Weight参数就行了，不用自己重新定义Weight

@chenzhi1992, @cpg361,我直接用createPlugin函数的Weight参数，运行到createSSDNormalizePlugin的时候直接段错误了，是什么问题？

@liuhaichao17 我用的自带的createSSDNormalizePlugin 是没有问题的。。。你可以把代码和prototxt normalize那部分贴详细点。

@liuhaichao17 我用的自带的createSSDNormalizePlugin 是没有问题的。。。你可以把代码和prototxt normalize那部分贴详细点。

@wahajahmad this layer is slow. So this time consumption is expected.

@szc1523  you get right result ?

@hexiangquan yes.

tx2 i just get  43fps
发自我的 iPhone

在 2018年3月29日，下午2:53，孙志成@算法组 <EMAIL_ADDRESS>写道：
@hexiangquan yes.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@hexiangquan woah 43 Fps ? what was the netowrk you used ?

Does anyone know how to solve the error  "could not parse layer type IPlugin" while running ./giexec engine in TensorRT?
THanks

@szc1523 @wahajahmad @chenzhi1992  fix detectionout layers' bug to add two output? did you find other error? when set tensorrt3's markOutput layer to "detectionout", it shows  error "NvPluginSSD.cu:587: virtual void nvinfer1::plugin::DetectionOutput::configure(const nvinfer1::Dims*, int, const nvinfer1::Dims*, int, int): Assertion `numPriorsnumLocClasses4 == inputDims[0].d[0]' failed" .
and two output ,which one that I can get the detection result?

@jealous1989 have u solve the problem? I met the same error, which model are u using? I met it with the mobile-ssd

@z13974509906 me two, I used mobile_v2 as base_net.
Now I add two output to detectionout layer in prototxt. And also get the two outputs in my code.
If successed, I will reply u later.

When I plan to accelerate the Mobilenet-SSD network , here comes a trouble .
In Flatten -- inputs[0].d[0] -> 19 -- inputs[0].d[1] -> 19 -- inputs[0].d[2] -> 12
In Flatten -- inputs[0].d[0] -> 19 -- inputs[0].d[1] -> 19 -- inputs[0].d[2] -> 63
In Flatten -- inputs[0].d[0] -> 10 -- inputs[0].d[1] -> 10 -- inputs[0].d[2] -> 24
In Flatten -- inputs[0].d[0] -> 10 -- inputs[0].d[1] -> 10 -- inputs[0].d[2] -> 126
In Flatten -- inputs[0].d[0] -> 5 -- inputs[0].d[1] -> 5 -- inputs[0].d[2] -> 24
In Flatten -- inputs[0].d[0] -> 5 -- inputs[0].d[1] -> 5 -- inputs[0].d[2] -> 126
In Flatten -- inputs[0].d[0] -> 3 -- inputs[0].d[1] -> 3 -- inputs[0].d[2] -> 24
In Flatten -- inputs[0].d[0] -> 3 -- inputs[0].d[1] -> 3 -- inputs[0].d[2] -> 126
In Flatten -- inputs[0].d[0] -> 2 -- inputs[0].d[1] -> 2 -- inputs[0].d[2] -> 24
In Flatten -- inputs[0].d[0] -> 2 -- inputs[0].d[1] -> 2 -- inputs[0].d[2] -> 126
In Flatten -- inputs[0].d[0] -> 1 -- inputs[0].d[1] -> 1 -- inputs[0].d[2] -> 24
In Flatten -- inputs[0].d[0] -> 1 -- inputs[0].d[1] -> 1 -- inputs[0].d[2] -> 126
In Reshape -- inputs[0].d[0] -> 40257 -- inputs[0].d[1] -> 1 -- inputs[0].d[2] -> 1 -- OutC -> 21
In SoftMax -- inputs[0].d[0] -> 1917 -- inputs[0].d[1] -> 21 -- inputs[0].d[2] -> 1
In Flatten -- inputs[0].d[0] -> 1917 -- inputs[0].d[1] -> 21 -- inputs[0].d[2] -> 1
inference: NvPluginSSD.cu:431: virtual void nvinfer1::plugin::PriorBox::configure(const nvinfer1::Dims*, int, const nvinfer1::Dims*, int, int): Assertion `H == inputDims[0].d[1]' failed.
Who could tell me how to solve this problem or give a little advice? Thanks~

@jealous1989 @z13974509906 I have the same error
 "NvPluginSSD.cu:587: virtual void nvinfer1::plugin::DetectionOutput::configure(const nvinfer1::Dims*, int, const nvinfer1::Dims*, int, int): Assertion 'numPriors*numLocClasses*4 == inputDims[param.inputOrder[0]].d[0]' failed."
Any update? Thanks

@jealous1989 @z13974509906
I got the same error but turns out it was caused by wrong name of plugin layer.
I did found something related, if you are using TensorRT4's createSSDDetectionOutputPlugin, you have to specify inputOrder {0,1,2} to fix this error, which is not needed in TensorRT3.
But after fixing all the errors, my detection result is incorrect.
If anyone manage to run mobilenet-ssd with TensorRT, it would be appreciated if you can provide some direction.

@myih @dusty-nv
I'm using TensorRT4's DetectionOutputPlugin, and have the same problem. I can only get one detection result and the detected object of multiple runs is different with a small nmsThreshold(my caffemodel's nmsThreshold is 0.3). When I set a lagre nmsThreshold(like 0.9) it seens to be correct(at least it output multiple correct results), but I don't understand why.

@niuhope Are you using a TX2? Your problem sounds similar to mine on the TX2.
I got correct result on 1080ti machine, but when ported to TX2 the detection rate is much lower with the same threshold.

@myih Yes, I'm using a TX2, but I got wrong result on 1080 machine too. I modify prototxt as follows: 1. change flatten layer to reshape layer; 2. use permute layer to transpose conf for using softmax layer with axis = 1. I can get correct result on caffe with modified prototxt.

@myih I implement a detect out layer by myself and get correct result

@niuhope Hi, Can you show your detection_output layer code?

@chenzhi1992 Hi, Now tensorRT3.0 has no ssd plugin layer code. Can you send me it?


refactor: rename TileSource -> TileSet

Renames TileSource to TileSet.
This is the final part of a series of class renames to make offline areas code easier to grok.

/gcbrun

/gcbrun

Codecov Report

Merging #1039 (542596c) into master (f31eb0c) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1039      +/-   ##
============================================
- Coverage     30.91%   30.90%   -0.01%
  Complexity      784      784
============================================
  Files           326      326
  Lines         11480    11482       +2
  Branches       1119     1119
============================================
  Hits           3549     3549
- Misses         7373     7375       +2
  Partials        558      558

Impacted Files
Coverage Δ

...gnd/persistence/local/room/RoomLocalDataStore.java
75.00% <0.00%> (ø)

...linebasemap/viewer/OfflineAreaViewerViewModel.java
0.00% <0.00%> (ø)

...persistence/local/room/models/TileEntityState.java

...ersistence/local/room/entity/TileSourceEntity.java

...android/gnd/persistence/mbtiles/TileSetSource.java

...persistence/local/room/dao/TileSourceDao_Impl.java

...ersistence/sync/TileSourceDownloadWorkManager.java

...gle/android/gnd/model/basemap/tile/TileSource.java

...gnd/persistence/sync/TileSourceDownloadWorker.java

...d/persistence/local/room/entity/TileSetEntity.java
80.55% <0.00%> (ø)

... and 6 more

Continue to review full report at Codecov.

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

/gcbrun


Added a graphviz maker

It's not ready yet but I had some questions: how to redirect the output of the maker ? for instance here, the 'dot' binary generates a png and it appears in neomake log. I would like to redirect the output, hence the '> %:p.png' but that does not seem to work.
Also I wonder if errorformats should not be splitted as it seems to be in other makers ?

You won't be able to do redirecting here for two reasons:

Each entry in the arg array will be interpreted as a quoted string, and so no shell syntax will work
We can't make assumptions about what shell people are using, and so it could just be a syntax error for some people.

Your best options are:

See if dot has a flag that tells it where to write the file (instead of to stdout).
You can use the postprocess maker option. See :help neomake-makers-processing. Vim has a cross-platform function for writing to files, see :help writefile().

As for the errorformat, don't worry about splitting it. The benefit for that mainly comes when the errorformat is very long.

#373 might help, where args can be a function/callback.

There is -o, and you could use neomake#utils#DevNull() to not create a file after all.

@teto
Will you be working on this again?

I don't think I can finish this anytime soon so feel free to close it up.


qtbase: Fix test builds with clang/x86_64

Signed-off-by: Khem Raj<EMAIL_ADDRESS>

In master-next, thanks!
11425da2...87f04621 master-next -> master-next

Merged thanks:
77ed8fb2..87f04621  master -> master


Fix wrong default address when binding sockets

Hello! This is my first PR!
The following code would crash on my laptop:
require "socket"

entry = TCPSocket.new
entry.bind(1234)

With the stacktrace
Unhandled exception: Hostname lookup for :: failed: No address found (Socket::Addrinfo::Error)
  from /opt/homebrew/Cellar/crystal/1.7.2/share/crystal/src/socket/addrinfo.cr:132:7 in 'bind'
  from /opt/homebrew/Cellar/crystal/1.7.2/share/crystal/src/socket/ip_socket.cr:23:5 in 'bind'
  from smth.cr:4:1 in '__crystal_main'

Because it tries to resolve the address :: when the Family is INET.
I am unsure on raising an exception because that case should never hit since you cannot initiate an unix socket by only assigning a port, advice is welcomed!

Thanks for your contribution! Looks good 👍
About the error case: Currently you'll get an exception with message Failed to create socket: Protocol not supported when calling this method with a non-inet family:
entry = TCPSocket.new(family: :unix)
entry.bind(1234) # SocketError: Failed to create socket: Protocol not supported

I think that's what should happen after this patch as well. Now we could handle this case explicitly here, or just pass it through. An exception will be raise eventually.
So maybe the address could just be @family.inet? ? "<IP_ADDRESS>:#{port}" : "::#{port}", effectively just changing the current behaviour for INET family.
Note that directly interpolating the address and port is an optimization that avoids an intermediary string allocation.

hey, thanks for the feedback!
FWIW I just tested the example you sent and it still raises the exception you mention, because that one is triggered in the .new method I think.
changes updated 😄

Please avoid force pushes to active PRs. Instead, just append changes as new commits. See https://github.com/crystal-lang/crystal/blob/master/CONTRIBUTING.md#making-good-pull-requests
Thanks.

Oh, I'm sorry for overwriting the history, should have caught that earlier when reading the contributing docs.

I don't think the failures are related to this PR. One is from OAuth, and the other one to bind SSL server but from the stacktrace it doesn't seem to touch any of my changes.


F.pick operator don't support negative indices and silently clip out of range indices

Description
F.pick operator don't support negative indices
Minimum reproducible example
from mxnet import nd

x = nd.array([[1, 2, 3, 4], [5, 6, 7, 8]])
y1 = nd.array([[0], [0]])
print(x.pick(y1, axis=-1)
# [1. 5.]

# negative index
y2 = nd.array([[-1], [1000]])
print(x.pick(y2, axis=-1))
# [1. 8.]

Clearly that out of range indices are clipped without any warning.
What have you tried to solve it?
Like other operators, nd/sym.pick should support negative indices rather than clip the indices, out of range indices should raise error.

closed by #12090


Send two responses for one request from facebook

Hi,
I am using this middleware to integrate watson conversation and facebook messanger.
I have specific requirement that.
When user is asking near by location then need send:

First response will be " Let me find these locations for you"
Second response will be after few seconds (1-2), with actual results from external api call.

Is there any way to handle this?
Thanks,
Vishwas

@vishwasrao I've only used a new Socket connector, but it should be the same with Facebook.
If you do action processing in controller.on('message_received' callback, you can call bot.reply before and after API call.

I think @Naktibalda addressed the question so I'm going to close this issue for now.


kustomize/provider: add pricing configuration

Add pricing configuration to the kustomization scripts.  Might as well add everything while we're at it.
Configuration that needs to be added is here.
See the current pattern for enabling it in kustomize.

Add to deployment.yaml
maybe add to kustomize.yaml.  Note: if we can leave these entries blank so that the in-code defaults are picked up that'd be great.

FYI these values can can be overridden when using the kustomize config.  See here for an example

You can test this with the _run/single environment.


LlamaCppEmbeddings: adds verbose parameter, similar to llms.LlamaCpp class

Description
As of now, when instantiating and during inference, LlamaCppEmbeddings outputs (a lot of) verbose when controlled from Langchain binding - it is a bit annoying when computing the embeddings of long documents, for instance.
This PR adds verbose for LlamaCppEmbeddings objects to be able not to print the verbose of the model to stderr. It is natively supported by llama-cpp-python and directly passed to the library – the PR is hence very small.
The value of verbose is True by default, following the way it is defined in LlamaCpp (llamacpp.py #L136-L137)
Issue
No issue linked
Dependencies
No additional dependency needed
To see it in action
from langchain.embeddings import LlamaCppEmbeddings

MODEL_PATH = "<path_to_gguf_file>"

if __name__ == "__main__":
    llm_embeddings = LlamaCppEmbeddings(
        model_path=MODEL_PATH,
        n_gpu_layers=1,
        n_batch=512,
        n_ctx=2048,
        f16_kv=True,
        verbose=False,
    )

+1

lgtm, thanks @ClementSicard!


Typo

Typo in mauve (in the xressources file), it says "maguve"

Closed with the update to 0.2.0, in b6db04faaf35a9de19c3793c1da42a838496aeef


Unable to run pdf2image

When I am doing "cargo run" in the examples/pdf2image directory, I get:
error[E0277]: the trait bound `pdf::file::File<Vec<u8>, NoCache, NoCache, NoLog>: Resolve` is not satisfied
  --> examples/pdf2image/src/main.rs:40:31
   |
40 |     render_page(&mut backend, &file, &page, Transform2F::from_scale(opt.dpi / 25.4))?;
   |     -----------               ^^^^^ the trait `Resolve` is not implemented for `pdf::file::File<Vec<u8>, NoCache, NoCache, NoLog>`
   |     |
   |     required by a bound introduced by this call
   |
   = help: the trait `Resolve` is implemented for `NoResolve`
note: required by a bound in `render_page`
  --> /home/nathan/projects/external/pdf-rs/pdf_render/render/src/lib.rs:81:63
   |
81 | pub fn render_page(backend: &mut impl Backend, resolve: &impl Resolve, page: &Page, transform: Transform2F) -> Result<Transform2F, PdfError> {
   |                                                               ^^^^^^^ required by this bound in `render_page`

For more information about this error, try `rustc --explain E0277`.
warning: `pdf2image` (bin "pdf2image") generated 1 warning
error: could not compile `pdf2image` (bin "pdf2image") due to previous error; 1 warning emitted

am I compiling it wrong? But this error should be independent of that ...

Should be fixed now.
But something in pathfinder is broken, it does not run.

fixed https://github.com/s3bk/pathfinder_rasterize
It is working again.

You are fast!


Support for the experimental syntax 'jsx' isn't currently enabled (45:5):

Steps to reproduce:

Create a new react App
Add https://github.com/Tordek/broken as a dependency (it's simply a project that contains a file with .js extension but uses jsx syntax.
Attempt to use the component in the app.

Result:
Failed to compile.

../broken/index.js
SyntaxError: D:\XXXX\broken\index.js: Support for the experimental syntax 'jsx' isn't currently enabled (4:13):

  2 |
  3 | export const Broken = () => {
> 4 |     return (

)
    |             ^
  5 | }

Add @babel/preset-react (https://git.io/JfeDR) to the 'presets' section of your Babel config to enable transformation.
If you want to leave it as-is, add @babel/plugin-syntax-jsx (https://git.io/vb4yA) to the 'plugins' section to enable parsing.

However the offered solution does not work because react-scripts/options/webpack.config.js disables the babelrc option.
On the other hand, this problem only seems to exist on Windows; it works fine in Linux.

Pinging to keep alive.

Having the same issue on mac after I upgraded to Create React App, it's only happening while running the unit tests

https://github.com/facebook/create-react-app/issues/11928

@FezVrasta
Same issue on Ubuntu. I started a new project using npx to call Create React App.  I tried importing a component from another local React project and got a similar error message.

@Tordek Did you ever resolve this?

No, I had to copy the components into the new project. Very much against DRY principle.

@keithpickering no, the issue remains and can be reproduced as per the steps in the OP.

I have the same issue

i'm not that happy to join this club 🥇

If anyone missed it, I provided a workaround for this issue here https://github.com/facebook/create-react-app/issues/11928#issuecomment-1015175497

Hi, is there a working solution for this? The workaround above does not work for me, I am using react-native-maps which uses fragments and triggers the error.

I'm hitting this issue too, without the use of toMatchInlineSnapshot().
import React from "react";
import { render, screen } from "@testing-library/react";
import "@testing-library/jest-dom/extend-expect";

import { Button } from "./Button";

describe("Button", () => {
    it("matches snapshot", () => {
        render(<Button onClick={function () {}} />);

        expect(screen.getByText("Click Me")).toBeInTheDocument();
    });
});

This is from a sample project https://github.com/IPWright83/pnpm-monorepo. I don't understand why this is happening now however, as it wasn't an issue when I set the project up originally. It's easy to reproduce in there by running:
npm install -g pnpm
pnpm install
pnpm test

I have managed to workaround it, but it's not nice. I have to, add the .babelrc file from https://github.com/facebook/create-react-app/issues/11928#issuecomment-1015175497 and I also need to add the following at the top of every test file:
/**
 * @jest-environment jsdom
 */

bump, same for Mac

Same issue happening for me when I try to add a folder with few components from "Project B" to my "Project A" as soft links using "mklink" command. None of the components in this folder has any dependency outside the folder. So their is no possibility that it is trying to refer something from "Project B" which is not available in "Project A" solution
I tried creating .babelrc and babal.config.js in different different formats and none worked. Finally I had to copy paste the files itself directly after which it is working.

bump, still haven't been able to resolve this

I'm having the same issue as well. I did create the create-react-app using typescript template, though.

Same issue.  create-react-app using typescript template.

Issue still not resolved

I am having the same issue and @space-cadett 's answer I don't think is the solution because this is not about class properties.

I fixed it by adding @babel/plugin-proposal-class-properties into webpack config plugin. The module section of my webpack.config.js looks like this
module: {
    rules: [
      {
        test: /\.js$/,
        exclude: /node_modules/,
        loader: "babel-loader",
        options: {
          presets: ['@babel/preset-env',
                    '@babel/react',{
                    'plugins': ['@babel/plugin-proposal-class-properties']}]

        }
      },
    ],
  },

What has Class properties do with file extension ?

Actually... that helped me. Odd.

Getting the same error while importing files from a dependency package where files have the extension .js.

Same error. Any update ?

I'm also having this same issue. the workaround didn't work for me. Can someone who's a contributor please address this issue and offer example code solution

Yes i can help

I am also hitting the same problem with gatsby. Any help is appreciated.
Compiled with problems:

ERROR in ./node_modules/gatsby/cache-dir/head/head-export-handler-for-browser.js

Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: /home/stathis/src/anarres-frontend-v2/node_modules/gatsby/cache-dir/head/head-export-handler-for-browser.js: Support for the experimental syntax 'jsx' isn't currently enabled (113:9):

  111 |         // Note: In dev, we call onHeadRendered twice( in FireCallbackInEffect and after mutualution observer dectects initail render into hiddenRoot) this is for hot reloading
  112 |         // In Prod we only call onHeadRendered in FireCallbackInEffect to render to head
> 113 |         <FireCallbackInEffect callback={onHeadRendered}>
      |         ^
  114 |           <StaticQueryContext.Provider value={staticQueryResults}>
  115 |             <LocationProvider>
  116 |

Add @babel/preset-react (https://github.com/babel/babel/tree/main/packages/babel-preset-react) to the 'presets' section of your Babel config to enable transformation.
If you want to leave it as-is, add @babel/plugin-syntax-jsx (https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-jsx) to the 'plugins' section to enable parsing.
    at instantiate (/home/stathis/src/anarres-frontend-v2/node_modules/@babel/parser/lib/index.js:72:32)
...

The JSX syntax extension is not currently enabled
script:/Users/vitou/My-doc/Vue/ecommerce/src/layouts/HeaderLayout.vue?id=0:7:8:
  7 │   icon: <tamplate>hi</tamplate>
    ╵         ^

The esbuild loader for this file is currently set to "js" but
it must be set to "jsx" to be able to parse JSX syntax. You
can use "loader: { '.js': 'jsx' }" to do that.

const routes = [{
id: 1,
name: "Home",
slu: "/",
icon: hi
}]

Still waiting for a solution on this issue

Also experiencing the same issue

Also having this problem.

having the same problem with another React package linked in cra

I had the same issue.
First check out that you have rendered correctly to an index.js file in a /dist folder, and then check that in the package.json file your main attribute is pointing to the right /dist file, for example:
{
  "name": "react-floating-mailbox",
  "version": "1.0.3",
  "description": "...",
  "main": "dist/index.js",
}

Same issue occur after trying so many solutions no result found

I have resolved this issue you can see my code from github https://github.com/Uttam146/uttam_rawat-popups/tree/master/src/package

Also having the same issue with another package.

@Uttam146 This worked until babel couldn't parse a css file being imported. I added "type": "module" to package.json but still cannot parse.

I am having this issue too. I cannot get google-map-react to work after two days of messing around with typescript configs and babel configs

Same issue persists here. All this time and not anything definitive from CRA?

solved by following jest docs
npm install --save-dev react-test-renderer

after which the Jest Runner VS Code plugin shown the functional Debug Test

The npm run test is functional as well.

I solved the problem with a custom transformer -> https://jestjs.io/docs/tutorial-react#custom-transformers

Thank you for your email
Your query has been received. We will reply back shortly. If you have any
additional information, please reply to this mail.
Reference: None None
This is an automatically generated reply

Hello, I am experiencing the same issue:
Support for the experimental syntax 'jsx' isn't currently enabled (80:13):
Am using
npx create-react-app my-app --template typescript
Next.js
I don't want to eject CRA and build out a babel config, bc that's why I like CRA.
Is there a fix for this or is CRA no longer supported?

I solved the problem with a custom transformer -> https://jestjs.io/docs/tutorial-react#custom-transformers

Can you share your config?  I have tried a few the fixes here and they are not working for my app.
CRA with typescript/react-testing-lib + jest

I have resolved this issue you can see my code from github https://github.com/Uttam146/uttam_rawat-popups/tree/master/src/package

Did you use CRA? Did you eject? What are we looking at? Can you give more info? I would love to find a fix for this!


Retain cursor if an unsupported cursor is used

Description
While testing #1688, I ran into random crashes and after a while I realized that the switch-case construct didn't cover all cursor types - as documented - which then lead to random crashes when picking the unsupported cursors.
Tasks

[x] Tested on macOS

How to test this PR?
You can use this example that counts through all the cursor types and will crash with master right now.
#include <iostream>
#include <SFML/Graphics.hpp>

int main()
{
    auto window = sf::RenderWindow{{800, 600, 32}, "SFML Window"};
    window.setFramerateLimit(60);

    auto cursor = sf::Cursor{};

    auto start = sf::Cursor::Arrow;
    auto current = sf::Cursor::Arrow;
    auto end = sf::Cursor::NotAllowed;

    cursor.loadFromSystem(current);
    window.setMouseCursor(cursor);
    std::cout << "New cursor type: " << current << "\n";

    while (window.isOpen())
    {
        for (auto event = sf::Event{}; window.pollEvent(event);)
        {
            if (event.type == sf::Event::Closed)
            {
                window.close();
                return 0;
            }

            if ((event.type == sf::Event::KeyPressed))
            {
                switch (event.key.code)
                {
                    case sf::Keyboard::Escape:
                    {
                        window.close();
                        return 0;
                    }
                    case sf::Keyboard::Up:
                        if(current < end)
                        {
                            current = static_cast<sf::Cursor::Type>(current + 1);
                            cursor.loadFromSystem(current);
                            window.setMouseCursor(cursor);
                            std::cout << "New cursor type: " << current << "\n";
                        }
                        break;
                    case sf::Keyboard::Down:
                        if(current > start)
                        {
                            current = static_cast<sf::Cursor::Type>(current - 1);
                            cursor.loadFromSystem(current);
                            window.setMouseCursor(cursor);
                            std::cout << "New cursor type: " << current << "\n";
                        }
                        break;
                }
            }
        }

        window.clear();
        window.display();
    }
}```

Superseded by #1736

Superseded by #1736


Disable autoscroll at F5 reload page.

Hello,
It is possible to disable autoscroll top at F5 reload page ?
Thx.

Please see the docs on the Router component:
https://react-static.js.org/api#router
On Mon, Mar 12, 2018 at 7:28 PM Le Pogam Brivael<EMAIL_ADDRESS>wrote:

Hello,
It is possible to disable autoscroll at F5 reload page ?
Thx.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/nozzle/react-static/issues/468, or mute the thread
https://github.com/notifications/unsubscribe-auth/AFUmCRBkfR7_WcfILf3GtXaTqnPUnOJ3ks5tdyCngaJpZM4Sn8Pw
.


docs(beta): dead links to fields#the-field-prop

Documentation Issue
There are several links to /docs/beta/admin/fields#the-field-prop, a destination that doesn't exist:

docs/admin/components.mdx (line 435)
docs/admin/fields.mdx (lines 139, 140, 279, 280. 320, 321, 366, 367, 483, 484)

An explanation of this field prop would be helpful (if it even exists), I'm struggling on how to get values like hasMayn or required in my custom client field component.

Likely a duplicate of https://github.com/payloadcms/payload/issues/8666

Likely a duplicate of #8666

You are right, thanks to that input I found the "missing" paragraph, thanks!


Where is $sub?

In Table 1 we see the following definitions for tenant_id and subscription_id:
TABLE 1
Parameter	Where to obtain
tenant_id	Output from $sub.TenantId command
subscription_id	Output from $sub.SubscriptionId command
Where do we define $sub? Should $sub be equal to Get-AzSubscription?

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

ID: 1bb18731-b0b4-f92b-7ece-031a84c76d7b
Version Independent ID: 27047a2a-a07b-cadb-fab5-ecc928b46717
Content: How to create Windows VM Images with Packer in Azure - Azure Windows Virtual Machines
Content Source: articles/virtual-machines/windows/build-image-with-packer.md
Service: virtual-machines-windows
GitHub Login: @cynthn
Microsoft Alias: cynthn

Yes, that's correct.
$sub = Get-AzSubscription
and then use $sub.SubscriptionId and $sub.TenantId
We will now close this issue. If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.


peripheral.observe only emits once

Hello, I've connected my app to a heart rate monitor device successfully, however when calling observation. collect it only collects once and then nothing after.
My expectation is that I should be getting updating data via this flow for heart rate, any help with this, please?

Can you provide logs with Kable logging enabled, as well as the snippet of code you're using to observe, please?

Thanks for speedy response
2021-11-15 17:25:17.299 15112-15112/com.withutraining.tv.hrm I/Surface: opservice is null false
2021-11-15 17:25:17.345 15112-15112/com.withutraining.tv.hrm D/BluetoothAdapter: isLeEnabled(): ON
2021-11-15 17:25:17.351 15112-16210/com.withutraining.tv.hrm D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=11 mScannerId=0
2021-11-15 17:25:20.220 15112-16210/com.withutraining.tv.hrm D/BluetoothDevice: getService, sService=null
2021-11-15 17:25:20.221 15112-16210/com.withutraining.tv.hrm W/BluetoothAdapter: getBluetoothService(), client: android.bluetooth.BluetoothDevice$1@dd76d19
2021-11-15 17:25:20.221 15112-16210/com.withutraining.tv.hrm D/BluetoothDevice: getService, adapter sService=android.bluetooth.IBluetooth$Stub$Proxy@24d41de
2021-11-15 17:25:20.290 15112-16356/com.withutraining.tv.hrm D/BluetoothGatt: connect() - device: E7:BB:EB:BD:A0:A2, auto: false
2021-11-15 17:25:20.290 15112-16356/com.withutraining.tv.hrm D/BluetoothGatt: registerApp()
2021-11-15 17:25:20.291 15112-16356/com.withutraining.tv.hrm D/BluetoothGatt: registerApp() - UUID=654de77d-4a7f-4d39-a270-a5d52792f159
2021-11-15 17:25:20.294 15112-16210/com.withutraining.tv.hrm D/BluetoothGatt: onClientRegistered() - status=0 clientIf=12
2021-11-15 17:25:21.216 15112-16210/com.withutraining.tv.hrm D/BluetoothDevice: getService, sService=android.bluetooth.IBluetooth$Stub$Proxy@24d41de
2021-11-15 17:25:21.217 15112-16210/com.withutraining.tv.hrm D/BluetoothDevice: getService, adapter sService=android.bluetooth.IBluetooth$Stub$Proxy@24d41de
2021-11-15 17:25:21.245 15112-16210/com.withutraining.tv.hrm D/BluetoothGatt: onClientConnectionState() - status=0 clientIf=12 device=E7:BB:EB:BD:A0:A2
2021-11-15 17:25:21.250 15112-16365/com.withutraining.tv.hrm D/BluetoothGatt: discoverServices() - device: E7:BB:EB:BD:A0:A2
2021-11-15 17:25:21.265 15112-16210/com.withutraining.tv.hrm D/BluetoothGatt: onSearchComplete() = Device=E7:BB:EB:BD:A0:A2 Status=0
2021-11-15 17:25:21.285 15112-16356/com.withutraining.tv.hrm D/BluetoothGatt: setCharacteristicNotification() - uuid: 00002a37-0000-1000-8000-00805f9b34fb enable: true
2021-11-15 17:25:21.932 15112-16356/com.withutraining.tv.hrm I/System.out: got new heart rate data
2021-11-15 17:25:22.542 15112-16210/com.withutraining.tv.hrm D/BluetoothGatt: onConnectionUpdated() - Device=E7:BB:EB:BD:A0:A2 interval=400 latency=0 timeout=500 status=0
2021-11-15 17:25:24.326 15112-16210/com.withutraining.tv.hrm D/BluetoothDevice: getService, sService=android.bluetooth.IBluetooth$Stub$Proxy@24d41de
2021-11-15 17:25:24.327 15112-16210/com.withutraining.tv.hrm D/BluetoothDevice: getService, adapter sService=android.bluetooth.IBluetooth$Stub$Proxy@24d41de
2021-11-15 17:25:25.366 15112-16210/com.withutraining.tv.hrm D/BluetoothDevice: getService, sService=android.bluetooth.IBluetooth$Stub$Proxy@24d41de
2021-11-15 17:25:25.366 15112-16210/com.withutraining.tv.hrm D/BluetoothDevice: getService, adapter sService=android.bluetooth.IBluetooth$Stub$Proxy@24d41de
2021-11-15 17:25:30.503 15112-16210/com.withutraining.tv.hrm D/BluetoothDevice: getService, sService=android.bluetooth.IBluetooth$Stub$Proxy@24d41de
2021-11-15 17:25:30.503 15112-16210/com.withutraining.tv.hrm D/BluetoothDevice: getService, adapter sService=android.bluetooth.IBluetooth$Stub$Proxy@24d41de
2021-11-15 17:25:35.591 15112-16210/com.withutraining.tv.hrm D/BluetoothDevice: getService, sService=android.bluetooth.IBluetooth$Stub$Proxy@24d41de
2021-11-15 17:25:35.592 15112-16210/com.withutraining.tv.hrm D/BluetoothDevice: getService, adapter sService=android.bluetooth.IBluetooth$Stub$Proxy@24d41de
2021-11-15 17:25:40.730 15112-16210/com.withutraining.tv.hrm D/BluetoothDevice: getService, sService=android.bluetooth.IBluetooth$Stub$Proxy@24d41de
2021-11-15 17:25:40.731 15112-16210/com.withutraining.tv.hrm D/BluetoothDevice: getService, adapter sService=android.bluetooth.IBluetooth$Stub$Proxy@24d41de
2021-11-15 17:25:45.912 15112-16210/com.withutraining.tv.hrm D/BluetoothDevice: getService, sService=android.bluetooth.IBluetooth$Stub$Proxy@24d41de
2021-11-15 17:25:45.912 15112-16210/com.withutraining.tv.hrm D/BluetoothDevice: getService, adapter sService=android.bluetooth.IBluetooth$Stub$Proxy@24d41de
2021-11-15 17:25:47.914 15112-16230/com.withutraining.tv.hrm D/ViewRootImpl[HrmTestActivity]: windowFocusChanged hasFocus=false inTouchMode=true
    fun startScan() {
        launch {
            scanner.advertisements.collect { advertisement ->
                foundDevices.add(
                    Device(
                        name = advertisement.name ?: "no name for device",
                    )
                )
                availableDevices.send(foundDevices)

                val peripheral = this.peripheral(advertisement) {
                    logging {
                        engine = SystemLogEngine
                        level = Logging.Level.Warnings
                        format = Logging.Format.Multiline
                        data = Hex
                    }
                }

                peripheral.connect()

                val characteristic = characteristicOf(
                    service = hrService,
                    characteristic = hrCharacteristic
                )

                val observation = peripheral.observe(characteristic)
                observation.collect { data ->
                    println("got new heart rate data")
                    val flag: Int =
                        BluetoothUtils.getIntValue(BluetoothGattCharacteristic.FORMAT_UINT8, 0, data)

                    val format = if (flag and 0x01 != 0) {
                        BluetoothGattCharacteristic.FORMAT_UINT16
                    } else {
                        BluetoothGattCharacteristic.FORMAT_UINT8
                    }
                    val heartRate: Int = BluetoothUtils.getIntValue(format, 1, data)
                    bpm.send(heartRate)
                }
            }
        }
    }

here is

@twyatt
After setting the logging level to Events, I'm seeing the onCharacteristicChanged being called as expected multiple times but its not coming through to the observation

The fact that Kable is logging the onCharacteristicChanged does seem like everything is working as expected.
Can you try changing your collect to read:
observation.collect { data ->
    println("got new heart rate data")
}

In other words, nothing else in that collect other than the log indicating that it got data.
I'm mostly wondering if the bpm.send(heartRate) is problematic. Is that a Channel? Perhaps it is full and suspending there, thus preventing further collection?

As an aside: since you have the connection and data collection within the scanner.advertisements.collect, you're essentially having scanning remain active during the connection — I seem to remember that some Android phones have trouble with having connections open while scanning. It would probably be better to use a terminal operator on the scan (e.g. first) to find the peripheral of interest, then connect to that.

Thanks for that having my collect read:
observation.collect { data ->
println("got new heart rate data")
}
has it consistently updating


Documented/supported internal API

Currently the documented and supported API for probot is very minimial:

$ probot run
app.on()
app.route()
app.auth() (hasn't always been documented)
context.payload
context.github

There's probably a few others, but that's mostly it.
Now that 7.0 is out with the rewrite in TypeScript (#576), I'd love to see a documented and supported internal API. By 8.0, it'd be great if we could commit to everything in https://probot.github.io/api/latest/ being semantically versioned, and have docs on initializing and Probot apps programatically instead of through the CLI.

Some things I have in mind:

app.load()
new Application
context.event
app.getToken()

We also don't document the "default apps" - would be nice to mention what they are, how they work and how to disable them if necessary (by not loading them, so not using probot run).


x2goclient: fix build

Motivation for this change
Build has been broken since the libssh 0.7 -> 0.8 upgrade.
https://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.x2goclient.x86_64-linux
Note that this builds a non-release version, but has the added benefit of getting rid of the qt5 compatibility patch (and is probably preferrable to manually picking more patches to the 4 months old release).
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build x2goclient

Merged in 561959bab88c589b6e3bd02c1ca1f8f7674864b7 with some minor nitpicks
@averelld Thanks for the fix :sparkle:


[Naming] vertical-center mixin is misleading

The vertical-center mixin (see below) is actually centering both horizontally and vertically, therefore should be named absolute-center.
/// Vertically and horizontally centers an element using `transform`.
@mixin vertical-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

On top of that, the v-align-middle mixin (see below) —which actually only centers vertically— should be named vertical-center for consistency.
/// Vertically centers an element using `transform`.
@mixin v-align-middle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

Yeah, I meant to rename these before the framework shipped. Arguably you could combine both into one mixin, and specify if you want a vertical center, horizontal center, or both. Would you be interested in writing this?

Something like this: http://www.sitepoint.com/centering-with-sass/?
I’d go with 3 mixins anyway:
// Vertically centers the element in its first non-static ancestor
@mixin vertical-center {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

// Horizontally centers the element in its first non-static ancestor
@mixin horizontal-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

// Absolutely centers the element in its first non-static ancestor
@mixin absolute-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

Yeah, those names are way better. I went ahead and implemented them as-is, but also gave you a shout in the documentation for them. Thanks! :)


Can't paste images in notes

using this version of Tusk.
Previously I could copy images and paste them inside the notes. Now I can't do that anymore.
Any idea to debug? Or that feature has been removed?

Same for me, using same Tusk version under 20.04.1 LTS (Focal Fossa)


Bug&Fix: PATCH Parameters In url error

i found than parameters can not be added to url with Patch method.
Then i found this founction in the library.
ParameterEncoding.swift:
private func encodesParametersInURL(with method: HTTPMethod) -> Bool {
switch destination {
case .queryString:
return true
case .httpBody:
return false
default:
break
}
    switch method {
    case .get, .head, .delete, .patch:  //add .patch, then solved
        return true
    default:
        return false
    }
}

}

Like POST and PUT, PATCH is generally considered a resource manipulation method. In PATCH's case, one with partial changes instead of whole new values. In that case, body encoding is still the preferred default. If you need your PATCH methods to encode their parameters in the URL, I suggest you create your own ParameterEncoding.

thx for your advice


Add a shades-of-purple theme

This is a theme off of one of the most popular VSCode extensions: Shades of Purple
Using their exact color scheme I tried to make it as pleasing as possible. Would love to see this added as it's one of the top themes for VSCode.

Looking forward to this new theme!

Could you please post a screenshot here in the thread with several modes?

Could you please post a screenshot here in the thread with several modes?

Will post as soon as I'm back online! Away for the weekend.

I was about to try it but there's some syntax error that prevents it from loading!

I wanted to try as well, but got a bytecode overflow error.

@ema2159 @pkazmier Ah sorry, got busy and it slipped my mind. Fixed the syntax issue, not sure where the bytecode overflow error is coming from as I can't replicate.
Here's a screenshot from an old React repo I had laying around:

It still throws an error. I really want to test this theme but I'm unable to!

@ema2159 No clue why I don't get those errors 🤦
Just some hex codes. Now they should be fixed? 🤞

Sorry for the late response. Thanks for the submission!


SQL version of unnest native druid function

The goal here is to develop rules to add LogicalCorrelate and Uncollect to support the query form we have decided for SQL Unnest.
The SQL query that takes the form SELECT * FROM UNNEST(ARRAY['1','2','3']) or SELECT * FROM druid.numfoo, UNNEST(MV_TO_ARRAY(dim3)) generates two components in the Calcite's logical plan (LogicalCorrelate and Uncollect) which do not have DruidConverters.
The logical plans that calcite generates for these type of queries are
 SELECT * FROM UNNEST(ARRAY['1','2','3'])

 Generates the plan

25:Uncollect
  23:LogicalProject(subset=[rel#24:Subset#1.NONE.[]], EXPR$0=[ARRAY('1', '2', '3')])
    4:LogicalValues(subset=[rel#22:Subset#0.NONE.[0]], tuples=[[{ 0 }]])

and
SELECT * FROM druid.numfoo, UNNEST(MV_TO_ARRAY(dim3))

Generates

80:LogicalCorrelate(correlation=[$cor0], joinType=[inner], requiredColumns=[{3}])
  6:LogicalTableScan(subset=[rel#74:Subset#0.NONE.[]], table=[[druid, numfoo]])
  78:Uncollect(subset=[rel#79:Subset#3.NONE.[]])
    76:LogicalProject(subset=[rel#77:Subset#2.NONE.[]], EXPR$0=[MV_TO_ARRAY($cor0.dim3)])
      7:LogicalValues(subset=[rel#75:Subset#1.NONE.[0]], tuples=[[{ 0 }]])

So we add a set of rules which helps convert these to Druid queries. In a nutshell the chain of rules look like the following:

In this PR we define the rules and develop appropriate DruidRels with partial queries that converts these plans to druid queries. Testcases are added to establish the different use cases we deal with
This PR has:

[ ] been self-reviewed.

[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)

[ ] added documentation for new or modified features or behaviors.
[ ] a release note entry in the PR description.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[x] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[x] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[x] been tested in a test Druid cluster.

This PR implements the SQL component of the native unnest functionality in Druid.  Unnest in SQL through Calcite has been implemented as a combination of Correlate (the comma join part) and Uncollect (the unnest part). Here we have introduced rules to handle unnest SQL queries on a table dimension, virtual column or a constant array and appropriate rels to convert them into Druid convention to translate correctly into native Druid queries.


install document issue

The build document in compile document should to be refine:
In CentOS, install gcc5.3 is using
yum install devtoolset-4 report no package found which lead to the installation faield.
Provide a set of command to install gcc v5.2+
sudo yum install centos-release-scl
sudo yum install devtoolset-4-gcc*
to use gcc 5.3, type  the following command in the terminal:
scl enable devtoolset-4 bash
we have three ways to make gcc5.3 avalible permanantly:
1st.  sudo ln -s [path_to_gcc_5.3] /usr/bin
2nd.
vim ~/.bashrc or vim  ~/.bash_profile
source scl_source enable devtoolset-4
3rd.
echo "source /opt/rh/devtoolset-3/enable" >> /etc/bashrc
source /etc/bashrc

echo "source /opt/rh/devtoolset-3/enable" >> /etc/bashrc 错误。应该改为：
echo "source /opt/rh/devtoolset-4/enable" >> /etc/bashrc


Publish on mavenCentral/JCenter

Jitpack is unreliable so it is hard to use kaliningraph as a transitive dependency. Even github packages would be better. We can host a fork build at https://bintray.com/mipt-npm/kscience if it is acceptable.

I have no idea why @jitpack is so unstable, but I have read and experienced similar issues. Considering your near-death experience migrating to Maven Central, I'm somewhat hesitant to make the switch...

We actually made it there. I had to buy the domain though. Our primary hosting is JetBrains Space with https://repo.kotlin.link/ as a proxy.

Another failure: https://github.com/Kotlin/dokka/issues/2024#issuecomment-879912756
@jitpack I submitted a support ticket as requested describing other flaky download issues but never received a reply. Any suggestions?

JCenter 💀

I have started a petition to access Maven Central. Keep me in your prayers...

"Easy" Publishing to Central Repository
https://central.sonatype.org/publish/publish-guide/
https://docs.gradle.org/current/userguide/publishing_maven.html


wasapi: use number of frames instead of samples

In duplex callback we used to pass through the number of samples instead of frames. This is ok on MONO but it does not work on STEREO capture.
P.S. I need this fix for the stereo gum bug. It will be great to get a quick review. I plan to import it to gecko as soon as possible.

LGTM.  The capture-only side has the same bug, so I pushed the equivalent fix for that.


intel_adsp_cavs15: run testing with twister failed.

Describe the bug
Use twister to run kernel testcases failed
To Reproduce
Steps to reproduce the behavior:
twister -p intel_adsp_cavs15 --device-testing -T tests/kernel/mutex/mutex_api/ --west-flash="/home/ztest/work/zephyrproject/zephyr/boards/xtensa/intel_adsp_cavs15/tools/flash.sh,/home/ztest/work/sof/rimage/keys/otc_private_key.pem" --device-serial-pty="/home/ztest/work/zephyrproject/zephyr/boards/xtensa/intel_adsp_cavs15/tools/adsplog.py,--no-history"
see error:
INFO    - Zephyr version: zephyr-v2.4.0-2966-gfa6ac271ec9f
INFO    - JOBS: 4
INFO    - Building initial testcase list...
INFO    - 1 test suites (1 configurations) selected, 0 configurations discarded due to filters.
Device testing on:

Platform
ID
Serial device

intel_adsp_cavs15

INFO    - Adding tasks to the queue...
INFO    - Added initial list of jobs to queue
ERROR   - intel_adsp_cavs15         tests/kernel/mutex/mutex_api/kernel.mutex          FAILED: Timeout
ERROR   - see: /home/ztest/work/zephyrproject/zephyr/twister-out/intel_adsp_cavs15/tests/kernel/mutex/mutex_api/kernel.mutex/device.log
INFO    - Total complete:    1/   1  100%  skipped:    0, failed:    1
INFO    - 0 of 1 test configurations passed (0.00%), 1 failed, 0 skipped with 0 warnings in 95.31 seconds
INFO    - In total 7 test cases were executed, 0 skipped on 1 out of total 325 platforms (0.31%)
INFO    - 1 test configurations executed on platforms, 0 test configurations were only built.
Hardware distribution summary:

Board
ID
Counter

intel_adsp_cavs15

1

INFO    - Saving reports...

INFO    - Writing xunit report /home/ztest/work/zephyrproject/zephyr/twister-out/twister.xml...

INFO    - Writing xunit report /home/ztest/work/zephyrproject/zephyr/twister-out/twister_report.xml...

INFO    - Writing JSON report /home/ztest/work/zephyrproject/zephyr/twister-out/twister.json

INFO    - Run completed

The device.log:
Traceback (most recent call last):
File "/home/ztest/.local/bin/west", line 11, in
sys.exit(main())
File "/home/ztest/.local/lib/python3.6/site-packages/west/app/main.py", line 768, in main
app.run(argv or sys.argv[1:])
File "/home/ztest/.local/lib/python3.6/site-packages/west/app/main.py", line 106, in run
self.run_command(argv)
File "/home/ztest/.local/lib/python3.6/site-packages/west/app/main.py", line 334, in run_command
self.run_extension(args.command, argv)
File "/home/ztest/.local/lib/python3.6/site-packages/west/app/main.py", line 397, in run_extension
command.run(args, unknown, self.topdir, manifest=self.manifest)
File "/home/ztest/.local/lib/python3.6/site-packages/west/commands.py", line 116, in run
self.do_run(args, unknown)
File "/home/ztest/work/zephyrproject/zephyr/scripts/west_commands/sign.py", line 185, in do_run
signer.sign(self, build_dir, bcfg, formats)
File "/home/ztest/work/zephyrproject/zephyr/scripts/west_commands/sign.py", line 434, in sign
rimage_conf = pathlib.Path(cache['RIMAGE_CONFIG_PATH'])
File "/home/ztest/work/zephyrproject/zephyr/scripts/west_commands/zcmake.py", line 255, in getitem
return self._entries[name].value
KeyError: 'RIMAGE_CONFIG_PATH'
Environment (please complete the following information):
OS: Fedora28
Toolchain: Zephyr-sdk-0.12.0
Commit ID: fa6ac271ec9

@andyross Hi Andy, I have updated the rimage in zephyrproject/modules/audio/sof/rimage and install it. The testing still failed.

@andyross Hi Andy, I have updated the rimage in zephyrproject/modules/audio/sof/rimage and install it. The testing still failed.

The latest commit build failed too.
Log:
[10/151] Generating include/generated/driver-validation.h
[11/151] Building C object zephyr/CMakeFiles/offsets.dir/arch/xtensa/core/offsets/offsets.c.obj
FAILED: zephyr/CMakeFiles/offsets.dir/arch/xtensa/core/offsets/offsets.c.obj
ccache /opt/sdk/zephyr-sdk-0.11.4/xtensa/intel_apl_adsp/xtensa-zephyr-elf/bin/xtensa-zephyr-elf-gcc -DBUILD_VERSION=zephyr-v2.4.0-3010-g7d8b31f2da76 -DKERNEL -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I../../../../../../../kernel/include -I../../../../../../../arch/xtensa/include -I../../../../../../../include -Izephyr/include/generated -I../../../../../../../soc/xtensa/intel_adsp/cavs_v15 -I../../../../../../../soc/xtensa/intel_adsp/cavs_v15/include -I../../../../../../../soc/xtensa/intel_adsp/common/include -I../../../../../../../subsys/testsuite/include -I../../../../../../../subsys/testsuite/ztest/include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/xtensa/include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/xtensa/zephyr/soc/intel_apl_adsp -isystem ../../../../../../../lib/libc/minimal/include -isystem /opt/sdk/zephyr-sdk-0.11.4/xtensa/intel_apl_adsp/xtensa-zephyr-elf/bin/../lib/gcc/xtensa-zephyr-elf/9.2.0/include -isystem /opt/sdk/zephyr-sdk-0.11.4/xtensa/intel_apl_adsp/xtensa-zephyr-elf/bin/../lib/gcc/xtensa-zephyr-elf/9.2.0/include-fixed -Os -imacros /workdir/zephyr/twister-out/intel_adsp_cavs15/tests/kernel/semaphore/semaphore_error_cases/kernel.semaphore/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -imacros /workdir/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -Werror -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/workdir/zephyr/tests/kernel/semaphore/semaphore_error_cases=CMAKE_SOURCE_DIR -fmacro-prefix-map=/workdir/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/workdir=WEST_TOPDIR -ffunction-sections -fdata-sections -mlongcalls -std=c99 -nostdinc -MD -MT zephyr/CMakeFiles/offsets.dir/arch/xtensa/core/offsets/offsets.c.obj -MF zephyr/CMakeFiles/offsets.dir/arch/xtensa/core/offsets/offsets.c.obj.d -o zephyr/CMakeFiles/offsets.dir/arch/xtensa/core/offsets/offsets.c.obj   -c /workdir/zephyr/arch/xtensa/core/offsets/offsets.c
In file included from ../../../../../../../include/arch/xtensa/xtensa_api.h:10,
from ../../../../../../../include/arch/xtensa/irq.h:9,
from ../../../../../../../include/arch/xtensa/arch.h:27,
from ../../../../../../../include/arch/cpu.h:27,
from ../../../../../../../include/kernel_includes.h:33,
from ../../../../../../../include/kernel.h:17,
from /workdir/zephyr/arch/xtensa/core/offsets/offsets.c:26:
/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/xtensa/include/xtensa/core-macros.h:141:11: fatal error: xtensa/tie/xt_datacache.h: No such file or directory
141 | # include
|           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.

The latest commit build failed too.
Log:
[10/151] Generating include/generated/driver-validation.h
[11/151] Building C object zephyr/CMakeFiles/offsets.dir/arch/xtensa/core/offsets/offsets.c.obj
FAILED: zephyr/CMakeFiles/offsets.dir/arch/xtensa/core/offsets/offsets.c.obj
ccache /opt/sdk/zephyr-sdk-0.11.4/xtensa/intel_apl_adsp/xtensa-zephyr-elf/bin/xtensa-zephyr-elf-gcc -DBUILD_VERSION=zephyr-v2.4.0-3010-g7d8b31f2da76 -DKERNEL -D_FORTIFY_SOURCE=2 -D__ZEPHYR__=1 -I../../../../../../../kernel/include -I../../../../../../../arch/xtensa/include -I../../../../../../../include -Izephyr/include/generated -I../../../../../../../soc/xtensa/intel_adsp/cavs_v15 -I../../../../../../../soc/xtensa/intel_adsp/cavs_v15/include -I../../../../../../../soc/xtensa/intel_adsp/common/include -I../../../../../../../subsys/testsuite/include -I../../../../../../../subsys/testsuite/ztest/include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/xtensa/include -I/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/xtensa/zephyr/soc/intel_apl_adsp -isystem ../../../../../../../lib/libc/minimal/include -isystem /opt/sdk/zephyr-sdk-0.11.4/xtensa/intel_apl_adsp/xtensa-zephyr-elf/bin/../lib/gcc/xtensa-zephyr-elf/9.2.0/include -isystem /opt/sdk/zephyr-sdk-0.11.4/xtensa/intel_apl_adsp/xtensa-zephyr-elf/bin/../lib/gcc/xtensa-zephyr-elf/9.2.0/include-fixed -Os -imacros /workdir/zephyr/twister-out/intel_adsp_cavs15/tests/kernel/semaphore/semaphore_error_cases/kernel.semaphore/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -imacros /workdir/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -Werror -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/workdir/zephyr/tests/kernel/semaphore/semaphore_error_cases=CMAKE_SOURCE_DIR -fmacro-prefix-map=/workdir/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/workdir=WEST_TOPDIR -ffunction-sections -fdata-sections -mlongcalls -std=c99 -nostdinc -MD -MT zephyr/CMakeFiles/offsets.dir/arch/xtensa/core/offsets/offsets.c.obj -MF zephyr/CMakeFiles/offsets.dir/arch/xtensa/core/offsets/offsets.c.obj.d -o zephyr/CMakeFiles/offsets.dir/arch/xtensa/core/offsets/offsets.c.obj   -c /workdir/zephyr/arch/xtensa/core/offsets/offsets.c
In file included from ../../../../../../../include/arch/xtensa/xtensa_api.h:10,
from ../../../../../../../include/arch/xtensa/irq.h:9,
from ../../../../../../../include/arch/xtensa/arch.h:27,
from ../../../../../../../include/arch/cpu.h:27,
from ../../../../../../../include/kernel_includes.h:33,
from ../../../../../../../include/kernel.h:17,
from /workdir/zephyr/arch/xtensa/core/offsets/offsets.c:26:
/var/lib/buildkite-agent/zephyr-module-cache/modules/hal/xtensa/include/xtensa/core-macros.h:141:11: fatal error: xtensa/tie/xt_datacache.h: No such file or directory
141 | # include
|           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.

This issue not be fixed, it still can be reproduce.

This issue not be fixed, it still can be reproduce.

The twister always timeout, because west can not get RIMAGE_CONFIG_PATH File "/home/ztest/work/zephyrproject/zephyr/scripts/west_commands/sign.py", line 434, in sign
rimage_conf = pathlib.Path(cache['RIMAGE_CONFIG_PATH']) , this error is in device.log of twister-out. KeyError: 'RIMAGE_CONFIG_PATH' .
And rimage can be found in /usr/local/bin/

The twister always timeout, because west can not get RIMAGE_CONFIG_PATH File "/home/ztest/work/zephyrproject/zephyr/scripts/west_commands/sign.py", line 434, in sign
rimage_conf = pathlib.Path(cache['RIMAGE_CONFIG_PATH']) , this error is in device.log of twister-out. KeyError: 'RIMAGE_CONFIG_PATH' .
And rimage can be found in /usr/local/bin/

twister is building test applications for different platforms. In this case it's trying to build (and run) a kernel mutex test application. Which means it isn't building SOF at all. And the RIMAGE_CONFIG_PATH variable is cached as a part of the SOF building process. So twister isn't finding it. I'm not sure what the best way to fix the problem would be. If those test applications are indeed supposed to run on the hardware, they have to be signed. For signing rimage needs a toml configuration file and it's located within the modules/audio/sof path. And if you don't build SOF you "don't have access" to that path because we don't want to reach out to files across modules. Maybe the correct solution would be moving rimage to scripts/west_commands/ but rimage is an external project with a sub-project, so, maybe that isn't something that Zephyr will want to do.

twister is building test applications for different platforms. In this case it's trying to build (and run) a kernel mutex test application. Which means it isn't building SOF at all. And the RIMAGE_CONFIG_PATH variable is cached as a part of the SOF building process. So twister isn't finding it. I'm not sure what the best way to fix the problem would be. If those test applications are indeed supposed to run on the hardware, they have to be signed. For signing rimage needs a toml configuration file and it's located within the modules/audio/sof path. And if you don't build SOF you "don't have access" to that path because we don't want to reach out to files across modules. Maybe the correct solution would be moving rimage to scripts/west_commands/ but rimage is an external project with a sub-project, so, maybe that isn't something that Zephyr will want to do.


String slice too long [on util.lua:164]

I get the following error randomly on my project

This was a bug that I believe was fixed in #7, can you update the plugin and see if this happens again?

This was a bug that I believe was fixed in #7, can you update the plugin and see if this happens again?

I was creating a PR fixing the get_utf8_length function, but I don't have permissions... Now I update and test. What was the problem?

@victorw-xyz  I don't have the problem anymore...If you could give me a link to see the commit where it was solved and understand it, I would appreciate it.
I would also like to know how I can get permissions to create PRs and be able to contribute. Thank you so much!

@mariesco The problem was that we were using the str.byte function which did not work for large strings.
You can fork the repository and after committing changes to the fork, make a pull request from the fork. I guess we should include a guide for contributing, so it is more clear.


Failing to make docker work

I'm new to docker thing and i tried to follow the instructions listed in readme.md but localhost:5001 does not load.

docker pull paschmann/rasa-ui
open http://localhost:5001 in chrome

Doesn't load.
As it didn't work i also tried to:

git clone https://github.com/paschmann/rasaui.git cd rasaui && npm install
open http://localhost:5001 in chrome

This time the ui loads, but nothing else does. Throws:

ECONNREFUSED <IP_ADDRESS>:5432
ECONNREFUSED <IP_ADDRESS>:5000
ECONNREFUSED <IP_ADDRESS>:5002

Hi,
Please ensure the prerequisites are fulfilled:
Rasa NLU - Version 0.14+
Rasa Core - Version 0.12+
PostgreSQL - Used for storing training data (entities, intents, synonyms, etc.)
Node.js/npm - Serves Rasa UI and acts as a middleware server for logging (to the PostgreSQL DB)
You have install the Postgre SQL Server that it will run in http://<IP_ADDRESS>:5432 and the Rasa NLU that it will run in http://<IP_ADDRESS>:5000 and finally Rasa Core that it will run in http://<IP_ADDRESS>:5002.
So after that you can run the command above;


remove config.template

resources/templates/config.template was created and not used.  Later, code was added to leverage it.  However, it is just comments that go at the top, and more recent version of platform no longer add this template.  Let us remove it as it is just tech debt.  Also, remove its references in profile_manager.mjs: prepareConfigTxt()

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


exp/cmd/apidiff: incorrectly reporting changes

Running apidiff against two of the same thing results in changes. This must be impossible, since nothing has changed since apidiff -w and apidiff. This started happening within the last week, IIRC. Here's a repro:
deklerk at deklerk-macbookpro2 in ~/workspace/google-cloud-go/bigquery on rege*
$ cd /tmp
deklerk at deklerk-macbookpro2 in /tmp
$ git clone https://code.googlesource.com/gocloud gocloud1
Cloning into 'gocloud1'...
remote: Sending approximately 25.35 MiB ...
remote: Counting objects: 10, done
remote: Total 28180 (delta 15088), reused 28180 (delta 15088)
Receiving objects: 100% (28180/28180), 25.35 MiB | 8.26 MiB/s, done.
Resolving deltas: 100% (15088/15088), done.
deklerk at deklerk-macbookpro2 in /tmp
$ cd gocloud1/bigquery
deklerk at deklerk-macbookpro2 in /tmp/gocloud1/bigquery on master
$ apidiff -w /tmp/pkg.master cloud.google.com/go/bigquery
deklerk at deklerk-macbookpro2 in /tmp/gocloud1/bigquery on master
deklerk at deklerk-macbookpro2 in /tmp/gocloud1/bigquery on master
$ apidiff /tmp/pkg.master cloud.google.com/go/bigquery
Incompatible changes:
- Reader: removed
Compatible changes:
- AccessEntry: added
- AccessRole: added
- Avro: added
- BatchPriority: added
- Bigtable: added
- BigtableColumn: added
- BigtableColumnFamily: added
- BigtableOptions: added
- BooleanFieldType: added
- BytesFieldType: added
- CSV: added
- CSVOptions: added
- CivilDateTimeString: added
- CivilTimeString: added
- Client: added
- Clustering: added
- Compression: added
- Copier: added
- CopyConfig: added
- CreateIfNeeded: added
- CreateNever: added
- DataFormat: added
- Dataset: added
- DatasetIterator: added
- DatasetMetadata: added
- DatasetMetadataToUpdate: added
- DatastoreBackup: added
- DateFieldType: added
- DateTimeFieldType: added
- DomainEntity: added
- Done: added
- Encoding: added
- EncryptionConfig: added
- EntityType: added
- Error: added
- ExplainQueryStage: added
- ExplainQueryStep: added
- ExternalData: added
- ExternalDataConfig: added
- ExternalDataConfigOptions: added
- ExternalTable: added
- ExtractConfig: added
- ExtractStatistics: added
- Extractor: added
- FieldSchema: added
- FieldType: added
- FileConfig: added
- FloatFieldType: added
- GCSReference: added
- GeographyFieldType: added
- GoogleSheets: added
- GoogleSheetsOptions: added
- GroupEmailEntity: added
- Gzip: added
- ISO_8859_1: added
- InferSchema: added
- Inserter: added
- IntegerFieldType: added
- InteractivePriority: added
- JSON: added
- Job: added
- JobConfig: added
- JobIDConfig: added
- JobIterator: added
- JobStatistics: added
- JobStatus: added
- LoadConfig: added
- LoadSource: added
- LoadStatistics: added
- Loader: added
- Model: added
- ModelIterator: added
- ModelMetadata: added
- ModelMetadataToUpdate: added
- MultiError: added
- NeverExpire: added
- NewClient: added
- NewGCSReference: added
- NewReaderSource: added
- None: added
- NullBool: added
- NullDate: added
- NullDateTime: added
- NullFloat64: added
- NullGeography: added
- NullInt64: added
- NullString: added
- NullTime: added
- NullTimestamp: added
- NumericFieldType: added
- NumericPrecisionDigits: added
- NumericScaleDigits: added
- NumericString: added
- ORC: added
- OwnerRole: added
- Parquet: added
- Pending: added
- PutMultiError: added
- Query: added
- QueryConfig: added
- QueryParameter: added
- QueryPriority: added
- QueryStatistics: added
- QueryTimelineSample: added
- ReaderRole: added
- ReaderSource: added
- RecordFieldType: added
- RegularTable: added
- Routine: added
- RoutineArgument: added
- RoutineIterator: added
- RoutineMetadata: added
- RoutineMetadataToUpdate: added
- RowInsertionError: added
- RowIterator: added
- Running: added
- Schema: added
- SchemaFromJSON: added
- Scope: added
- Seed: added
- SpecialGroupEntity: added
- StandardSQLDataType: added
- StandardSQLField: added
- StandardSQLStructType: added
- State: added
- StateUnspecified: added
- Statistics: added
- StreamingBuffer: added
- StringFieldType: added
- StructSaver: added
- Table: added
- TableCreateDisposition: added
- TableIterator: added
- TableMetadata: added
- TableMetadataToUpdate: added
- TableType: added
- TableWriteDisposition: added
- TimeFieldType: added
- TimePartitioning: added
- TimestampFieldType: added
- TrainingRun: added
- UTF_8: added
- Uploader: added
- UserEmailEntity: added
- Value: added
- ValueLoader: added
- ValueSaver: added
- ValuesSaver: added
- ViewEntity: added
- ViewTable: added
- WriteAppend: added
- WriteEmpty: added
- WriteTruncate: added
- WriterRole: added

cc @jba

FYI we are using golang.org/x/tools v0.0.0-20191010201905-e5ffc44a6fee.

Wild. Will take a look.

tyvm!

Could not reproduce.
First I did:
> git clone https://go.googlesource.com/exp go-exp
> cd go-exp
> go install ./cmd/apidiff

Then I followed what you did. I got no output from the apidiff call. Just to make sure it was looking in the right place, I changed something in bigquery.go and ran it again, and it produced the right output.

When I install apidiff the way you did, the errors went away. But, when I use go get -u golang.org/x/tools && go install golang.org/x/exp/cmd/apidiff, I see the error. Here's another repro: https://gist.github.com/jadekler/934ea1fdd5bb6d47e70de0cd389a16ce. And, another repro on a goobuntu machine: https://gist.github.com/jadekler/ef356b1a1dee2a798e2c422ebfd41610.
I wonder if I'm somehow not getting the latest version of apidiff with go get && go install...? Also, it's weird to me that go get -u golang.org/x/exp doesn't result in a golang.org/x/exp entry in my go.mod. Any idea what's up with that?