Compute melt fraction

Adds a function to compute melt fraction for both phase_ratio and single phase cases.

Codecov Report
Attention: Patch coverage is 21.21212% with 26 lines in your changes missing coverage. Please review.

Files
Patch %
Lines

src/rheology/Melting.jl
41.17%
10 Missing :warning:

src/ext/AMDGPU/2D.jl
0.00%
4 Missing :warning:

src/ext/AMDGPU/3D.jl
0.00%
4 Missing :warning:

src/ext/CUDA/2D.jl
0.00%
4 Missing :warning:

src/ext/CUDA/3D.jl
0.00%
4 Missing :warning:

Additional details and impacted files

:loudspeaker: Thoughts on this report? Let us know!


Status bar animation is not respected on iOS 9.0

Since LGSideMenuController's [self statusBarAppearanceUpdate] does nothing on iOS versions older than 9.0, the status bar is not animated on iOS 9.0. Two steps are needed to solve this:

The user needs to override - preferredStatusBarUpdateAnimation in the side menu's root view controller(s). Here's how to do that in Swift.

override func preferredStatusBarUpdateAnimation() -> UIStatusBarAnimation {
    return .Slide // or return .Fade
}

LGSideMenuController needs to be updated to perform the following animation when the menu is shown and hidden (as per this Stack Overflow answer).

[UIView animateWithDuration:_leftViewAnimationSpeed animations:^{
    [self setNeedsStatusBarAppearanceUpdate];
}];

Of course, any of the [UIView animateWith... functions could be used instead.
I can get the status bar to animate when the menu appears by putting this animation block in - showLeftViewPrepare, but I have not yet figured out how to animate the status bar when the menu disappears. If I put the animation block in - hideLeftViewDone, then the animation (incorrectly) happens after the menu is fully hidden rather than alongside the menu hiding animation.
Any suggestions?

Try new version, everything should work fine now.


fix column name of show cache hotspot like other shows.

Proposed changes
Issue Number: close #xxx

run buildall


Vulkan vkGetDeviceQueue EXCEPTION_ACCESS_VIOLATION

When my program calls vkGetDeviceQueue after initializing the VkInstance, VkPhysicalDevice and VkDevice it exits the JVM with an EXCEPTION_ACCESS_VIOLATION at address 0x0000000000000000.
It may be due to a mistake on my side, but with the research I've done I believe it is because VkDeviceQueueCreateInfo.npQueuePriorities(struct, value) calls nqueueCount(struct, value.remaining()) instead of nqueueCount(struct, value.capacity()). Causing the queueIndex of vkGetDeviceQueue to be out of range, resulting in the memory access at NULL (0x0).
The same goes for VkDeviceCreateInfo.npQueueCreateInfos and nqueueCreateInfoCount
I hope someone can confirm this, I'm using LWJGL 3.0.0 build 90

LWJGL uses .remaining() in all methods and struct setters. Why would .capacity() be used instead of .remaining()?
Could you share the code you use to initialize the VkDevice?
For a working Vulkan demo using LWJGL, see the HelloVulkan sample.

I thought .capacity() would be used because the C++ tutorial (https://vulkan-tutorial.com) i was following did that.
            int queueFamily = getQueueFamily(physicalDevice);
	VkDeviceQueueCreateInfo.Buffer queueCreateInfos = VkDeviceQueueCreateInfo.create(1);

	FloatBuffer priorities = BufferUtils.createFloatBuffer(1);
	priorities.put(1.0f);

	VkDeviceQueueCreateInfo queueCreateInfo = new VkDeviceQueueCreateInfo(BufferUtils.createByteBuffer(VkDeviceQueueCreateInfo.SIZEOF));
	queueCreateInfo.sType(VK10.VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO);
	queueCreateInfo.queueFamilyIndex(queueFamily);
	queueCreateInfo.pQueuePriorities(priorities);
	queueCreateInfos.put(queueCreateInfo);

	VkDeviceCreateInfo createInfo = new VkDeviceCreateInfo(BufferUtils.createByteBuffer(VkDeviceCreateInfo.SIZEOF));
	createInfo.sType(VK10.VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO);
	createInfo.pQueueCreateInfos(queueCreateInfos);

	PointerBuffer pDevice = BufferUtils.createPointerBuffer(1);
	if (VK10.vkCreateDevice(physicalDevice, createInfo, null, pDevice) != VK10.VK_SUCCESS) {
		throw new RuntimeException("Failed to create logical device");
	} else {
		logicalDevice = new VkDevice(pDevice.get(), physicalDevice, createInfo);
	}

OK, I see the problem. First of all, LWJGL is consistent with typical NIO code: When you pass a NIO buffer to a method, the method consumes (reads from or writes to) the part of the buffer between position() and limit(). In this example, when calling:
queueCreateInfo.pQueuePriorities(priorities);

LWJGL will use the current priorities.position() (not the start of the buffer) to set the pQueuePriorities pointer and priorities.remaining() to set the queueCount value. The remaining number of elements is limit - position, which is exactly how typical NIO code behaves.
So, you have two options:
a) Use relative put calls when filling the buffer, then flip() the buffer before passing it to the consuming method, or
b) Use absolute put calls when filling the buffer, so that position() never changes.
LWJGL recommends the later, it makes the code shorter and easier to understand. See Strategy 2 in Memory management in LWJGL 3 for more information.

Ah I see, it works now. Thanks for the help

I know it's been 3 years but I just wanted to say that this thread right here saved me from going completely insane. I love you people.


Level 5

Summary
Good evening, I am facing this error which im not sure how to resolve (thr is no ClassLoader in my code)
Description:
|  Error:
|  incompatible types: java.lang.String cannot be converted to java.lang.ClassLoader
|  new Module("CS2040")
|             ^------^
My toString code:
33     @Override
34     public String toString() {
35         if (this.map.isEmpty()) {
36             return String.format("%s: {}", title);
37         } else {
38             String s = "";
39             for (Map.Entry<String, Assessment> assessment : this.map) {
40                 s += assessment.getValue().toString() + ",";
41             }
42             return String.format("%s: {%s}", title, s);
43         }
44     }
45 }

Hello! By any chance did you leave out any of the packages or run them in the wrong sequence when you ran your code in jshell? The sequence of the files should be as follows:
/open ImmutableMap.java  /open Keyable.java  /open Assessment.java  /open Module.java
If doing the above still doesn't work, perhaps you could check through your constructor of Module as that's where the problem seems to be coming from


i want to use standard BN

Hello, i want to use batch normalization instead of In-place ABN. What setting should I revise ?. I only revised norm_act to std in argparser.py. But i got error torch.nn.modules.module.ModuleAttributeError: 'BatchNorm2d' object has no attribute 'activation'.
tks for help.

ok, I modified the Pytorch BN2d to ABN and the code works fine. tks . I will close this issue. ;)


[NCL-4579] Log time in repour websocket log

All Submissions:

[x] Have you added a note in the CHANGELOG.md for your change?
[ ] Have you added unit tests for your change?

Changelog already in v1.6


Dart Analizer error Encountered a Dart Analysis Server error.

Analyzer Feedback from IntelliJ
Version information

IDEA IU-192.5728.98
2.5.0-edge.0ca1582afdb057e8a701908c1c527e0a56a7b5b2
IU-192.5728.98, JRE 11.0.3+12-b304.10x64 JetBrains s.r.o, OS Windows 10(amd64) v10.0 , screens 1600x900

Exception
Dart analysis server, SDK version 2.5.0-edge.0ca1582afdb057e8a701908c1c527e0a56a7b5b2, server version , FATAL error: type '(dynamic) => void' is not a subtype of type '(String) => void' of '_printClosure@10040228'
#0      _TypeError._throwNew (dart:core-patch/errors_patch.dart:89:51)

For additional log information, please append the contents of
file://C:\Users\Bielteknik\AppData\Local\Temp\report.txt.
Dart analysis server, SDK version 2.5.0-edge.0ca1582afdb057e8a701908c1c527e0a56a7b5b2, server version , FATAL error: type '(dynamic) => void' is not a subtype of type '(String) => void' of '_printClosure@10040228'
#0      _TypeError._throwNew (dart:core-patch/errors_patch.dart:89:51)
1564669290457 started analysis server:
  C:\flutter\bin\cache\dart-sdk\bin\dart.exe C:\flutter\bin\cache\dart-sdk\bin\snapshots\analysis_server.dart.snapshot --client-id=IntelliJ-IDEA --client-version=IU-192.5728.98 --useAnalysisHighlight2

This has not been reported again since Dart 2.5; please re-open if you see this in a recent version of Dart/Flutter.

This has not been reported again since Dart 2.5; please re-open if you see this in a recent version of Dart/Flutter.


docs(docs): added dynamic component docs

Issue:
What I did

How to test

Checklist

For all PR's

[ ] I've added relevant changes to the project Readme if needed.
[ ] I've updated the documentation site as needed.
[ ] I have added unit tests to cover my changes (if not applicable, please state why in a comment)

For new components only

[ ] I have added a story covering all variants
[ ] I have checked a11y tab in storybook passes
[ ] Any events are emitted on the event bus

@jeffdowdle Do we want to mention the mapping utils that are available i.e. getField, getBody, getImageFromField, getLinkFromField, getBodyFromField

@jeffdowdle Do we want to mention the mapping utils that are available i.e. getField, getBody, getImageFromField, getLinkFromField, getBodyFromField

I think this kind of 'reference' information is better suited to the readme of the ripple-tide-api package


DNCENGMAC017 is confused

Taking dncengmac017 offline.
The appletv associated with this machine died. It was replaced with a spare iphone we have and the moved to the iphone queue. It appears that the move was not successful. Creating this issue to investigate.

Issues resolved. Closing.


scroll back to top

Hi I just install the component. it is looking nice, but when I scroll in the list it scroll back to top automatically and won't let me select anything after the first display.
Am I missing something?
thanks in advance

What was the problem?

I had a timer running that change state of a view and whenever it changes it render the list too and scroll to top.

I had a timer running that change state of a view and whenever it changes it render the list too and scroll to top.

hi,how do you resolve it??


Camera not recognize the G maker

Hi,
I'm triyin to use it, i install my apache, my ssl certificate, and everything, when I open index.html it load the camera but when I try to read the "G" print maker from different devices and browsers but it not do anything, I don't have logs on my apache and I don't know how can it happend. Could you help me please?
Thank you in advance.
Regards!

+1


TASK: Neos >7 compatibility

Since the release of NEOS 7.x the load more button doesn't work because I think the backend UI dropped the default loading of jquery. With this fix the filters and load more button works with NEOS 7 and 8.
This fix was mentioned by @markusguenther during a slack discussion about this issue.
There is still a js error in the backend related to the popup's because require.js is not available anymore, but at least the main feature is working again.

@gjwnc This has the desired effect and the module works again. However, I still get an error in the JS console:

You too?

You too?
Yes, I think with Neos 7 some JS libraries (bootstrap / jquery) are droped by default for the backend. I'm not that sure, because I'm not that into frontend dev. Maybe require-js or something is missing.

I had a discussion about this with @markusguenther in slack. You can search for this PR or history in the neos-ui slack channel.
My goal was to make it work again, because this might package might get into the core sometime in the future.


Unresolved kernel function

Summary
I'm implementing SYCL kernels as callable objects. Initially, I put all kernel code in header files, but recently I decided to refactor into .cpp/.h, and I encountered an error when compiling for CUDA (cuda-clang) target:
ptxas fatal: Unresolved extern function '_ZNK2r29detectors3fts16TrackRecoLineZOYclEN7hipsycl4sycl2idILi1EEE'

where the mangled name is the operator().

Setup

latest hipSYCL develop
Ubutu 22.04
Clang 16
CUDA 11.8

In SYCL, if you implement parts of kernel code in an external translation unit, those functions must be marked as SYCL_EXTERNAL. Otherwise, the SYCL compiler cannot know that the functions need to be emitted to device code if it cannot see the parallel_for call.
SYCL_EXTERNAL is an optional feature according to the SYCL specification. We only support it for the generic SSCP compiler (--hipsycl-targets=generic). If you use `--hipsycl-targets=cuda", this is not supported.

Ok, thanks for the clarification.


pulseaudio: use xorg.* packages directly instead of xlibsWrapper indi…

…rection
Validated as no change in out and dev outputs with diffoscope on pulseaudio.override { x11Support = true; } expression.
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/call-for-help-to-migrate-packages-from-xlibswrapper/22203/1


[FS-1047] - match! (match-bang)

RFC FS-1047
I've implemented a version of match! that works on my fork. However, since I've been working on Mono & OSX, and I do not have access to a Windows machine for the next few days, I haven't been able to write any kind of tests for this (though I'm not sure where they would go, anyway). Any help or pointers on this matter would be much appreciated (e.g. where are the computational expression tests)

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: jwosty sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Here's a quick little sample program using the new syntax for anyone to reference: https://gist.github.com/jwosty/bc7e1723477ea4c300e1fe6a2581d687

@jwosty Thanks so much for the contribution! I'm sure @dsyme will offer a thorough review here, and likely have additional ideas about tests.
For now, you can add some tests here: https://github.com/Microsoft/visualfsharp/tree/master/tests/fsharp/core/patterns

Alright, trying out adding some tests.

cool stuff. would love to use it
/cc @tpetricek

Me too :) I have a lot of use cases for this in my own projects

same here. lots and lots of let! followed by match - but inside task { }. since you did not touch FSharp.Core I assume (so no change to async builder) I assume it would automatically work for tasks and promise builder as well?

@jwosty ping me for a review, I'll also test it.

Yep, it works with any computation expression. It's purely a compiler trick that desugars it into a let! and a normal match

@jwosty that's usually the trick with compilers 😄
Reminds me of the string interpolation. It's just a desugaring to string.concat with calls to "ToString" 😉

@jwosty that's pretty nice!

@realvictorprm I'd love that; I don't actually have easy access to a Windows machine (so its a little trickier to pull off the testing)

Also something to keep track of: What tooling changes should take place that would correspond to this? Which repos?

@jwosty what kind of tooling changes to you mean?

@forki As in, IDE stuff. E.g. syntax highlighting doesn't recognize it (at least in the way it appears in VS for Mac)

@jwosty I think VS for Mac can't show it as keyword until @nosami updates the FCS that will bring your changes. So that will take a while.
@vasily-kirichenko do you know where FCS taks keywords from?

@forki I see

@forki It's available in public API via Microsoft.FSharp.Compiler.SourceCodeServices.Keywords:
https://github.com/Microsoft/visualfsharp/blob/f214dcc38f6d34db8902eb40bd5b037ade59a67c/src/fsharp/service/ServiceLexing.fsi#L237-L238
Internally it is defined in Microsoft.FSharp.Compiler.Lexhelp module.

@auduchinok thx
@jwosty so you would need to add it here: https://github.com/Microsoft/visualfsharp/blob/master/src/fsharp/lexhelp.fs#L396

@jwosty @forki keyword intellisense and syntax highlighting doesn't come from FCS in VS for Mac. It needs to be done separately from any work that is done here. I can add it though once this PR lands.

@nosami ideally you should change it to FCS :P

@forki yeah. I read @auduchinok's comment afterwards. I can change intellisense to use the list of keywords from FCS. I can't change syntax highlighting though. FCS only provides semantic highlighting.

@forki alright, working on it. Trying to come up with the best possible wording for match!'s description in line with the other keyword descriptions, and this is what I've got so far:
Used in asynchronous workflows (and other computational expressions) to first bind the result of the asynchronous workflow (or computational expression), then pattern match over that result

Any input on wording? I feel it can be improved.
cc @dsyme @cartermp

(accidentally broke the build here with a syntax error, will fix it in the next commit)

OK, no idea why the CI builds are now broken...

@jwosty This is a xlf inconsisty error - basically, our system for localizing strings.
D:\j\w\release_ci_pa---3f142ccc\Packages\XliffTasks.0.2.0-beta-000081\build\XliffTasks.targets(90,5): error : '..\xlf\FSComp.txt.en.xlf' is out-of-date with 'obj\release\net40\FSComp.resx'. Run msbuild /t:UpdateXlf to update .xlf files or set UpdateXlfOnBuild=true to update them on every build, but note that it is strongly discouraged to set UpdateXlfOnBuild=true in official/CI build environments as they should not modify source code during the build. [D:\j\w\release_ci_pa---3f142ccc\src\fsharp\FSharp.Compiler.Private\FSharp.Compiler.Private.fsproj]
Relevant bit: Run msbuild /t:UpdateXlf
If you run that on the command line then it should update things. If you can't get to that right now, then perhaps @dsyme, @brettfo, or @KevinRansom can help and merge the changes into your PR.

@cartermp which project/solution file should this command be run on?

Ok, I see a related comment at https://github.com/Microsoft/visualfsharp/pull/4183#issuecomment-360563377. I still can't get that command to work though; it still says that the UpdateXlf target doesn't exist. Maybe it's because I'm on OSX?

@brettfo Is that command only available on Windows?

That target should exist on the individual project file, e.g. msbuild FSharp.Compiler.Private.fsproj /t:UpdateXlf

@brettfo So weird... This command just doesn't work in my environment.
$ msbuild FSharp.Compiler.Private.fsproj /t:UpdateXlf
Microsoft (R) Build Engine version <IP_ADDRESS> (master/f296e67b Wed Oct 25 12:26:03 EDT 2017) for Mono
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 3/5/2018 5:12:36 PM.
Project "/Users/jwostenberg/Code/FSharp/visualfsharp/src/fsharp/FSharp.Compiler.Private/FSharp.Compiler.Private.fsproj" on node 1 (UpdateXlf target(s)).
/Users/jwostenberg/Code/FSharp/visualfsharp/src/fsharp/FSharp.Compiler.Private/FSharp.Compiler.Private.fsproj : error MSB4057: The target "UpdateXlf" does not exist in the project.
Done Building Project "/Users/jwostenberg/Code/FSharp/visualfsharp/src/fsharp/FSharp.Compiler.Private/FSharp.Compiler.Private.fsproj" (UpdateXlf target(s)) -- FAILED.

Build FAILED.

"/Users/jwostenberg/Code/FSharp/visualfsharp/src/fsharp/FSharp.Compiler.Private/FSharp.Compiler.Private.fsproj" (UpdateXlf target) (1) ->
  /Users/jwostenberg/Code/FSharp/visualfsharp/src/fsharp/FSharp.Compiler.Private/FSharp.Compiler.Private.fsproj : error MSB4057: The target "UpdateXlf" does not exist in the project.

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:01.10

It'd be nice if someone could do this for me.

Can you run msbuild FSharp.Compiler.Private.fsproj /t:UpdateXlf /pp >proj.proj?  That will fully expand all projects/targets/props so we can see where it's getting dropped.
That project at the top imports FSharpSource.Settings.targets, and the bottom of that imports XliffTasks.targets which should contain that target.

Here it is (gonna take a look in there): https://gist.github.com/jwosty/ce1cfb8a685a564ceb1ada30cdcf08e2

Ahh, good find.  On non-Windows machines the $(MonoPackaging) variable is getting set to true which in turn sets $(DisableLocalization) to true which prevents the import of XliffTasks.targets.
@dsyme added the $(MonoPackaging)=true -> $(DisableLocalization) stuff so I'll ask him if he remembers why localization support was disabled on non-Windows, but I suspect it's because localization requires al.exe which is Windows only.

@brettfo Interesting. It seems that Mono has an al utility, though

@dsyme added the $(MonoPackaging)=true -> $(DisableLocalization) stuff so I'll ask him if he remembers why localization support was disabled on non-Windows, but I suspect it's because localization requires al.exe which is Windows only.

It's only because I and other contributors to the Mono packaging like @directhex, @nosami and @knocte have little idea how localization works, and no real capacity to adjust packaging and investigate issues.

@jwosty CI failure:
D:\j\w\release_ci_pa---2281a919\src\fsharp\lexhelp.fs(397,34): error FS0039:
The field, constructor or member 'keywordDescriptionMatchBang' is not defined.
Maybe you want one of the following:   keywordDescriptionMatch   keywordDescriptionLetBang   keywordDescriptionAbstract   keywordDescriptionStatic   keywordDescriptionAs [D:\j\w\release_ci_pa---2281a919\src\buildfromsource\FSharp.Compiler.Private\FSharp.Compiler.Private.fsproj]

@jwosty CI failure:

D:\j\w\release_ci_pa---2281a919\src\fsharp\lexhelp.fs(397,34): error FS0039:
The field, constructor or member 'keywordDescriptionMatchBang' is not defined.
Maybe you want one of the following:   keywordDescriptionMatch   keywordDescriptionLetBang   keywordDescriptionAbstract   keywordDescriptionStatic   keywordDescriptionAs [D:\j\w\release_ci_pa---2281a919\src\buildfromsource\FSharp.Compiler.Private\FSharp.Compiler.Private.fsproj]

Note that this failure is in "build from source".  There is an unfortunate duplication of things into the files in src/buildfromsource, @KevinRansom and @brettfo know more, I beleive they have a plan to eventually remove this automation or automating the update of these files (right guys? :) )

Hmm, I can't the quotation tests to run in the first place... They fail (at least when run directly from interactive via #load). All of the failures (and a runtime quotation parsing error) are located in TestFuncNoArgs. The failures are: cvwenklwevpo1, cvwenklwevpo1d, and cvwenklwevpo2d. The parse error comes from TestFuncNoArgs.testFunc2().
I can write a test ignoring all this, but I'm wondering why these fail on my machine.

The CI failure is coming from the fact that src/buildfromsource/FSharp.Compiler.Private/FSComp.fs (the autogenerated file) is not up to date with FSComp.resx (in that directory). How does one force its regeneration?

How does one force its regeneration?

Build the non-buildfromsource version of FSharp.Compiler.Private (src\fsharp\FSharp.Compiler.Private) then check its obj\ directory for FSComp.fs and manually copy that into the buildfromsource directory.
@dsyme is correct in that eventually that nonsense will go away, but currently the buildfromsource stuff is using the dotnet CLI 2.0 which doesn't have the resource generating code; they need to update to 2.0.3.  I've been pressing them on this, but they have some other deliverables that they have to finish first before they can upgrade the CLI tools, but once that's done I'll update the buildfromsource directory to remove those files that are normally auto-generated.

@dsyme is correct in that eventually that nonsense will go away...

@brettfo Could you open a tracking issue for this if there isn't one already, and put the details above in it please?  thanks

@dsyme We've got #3905 tracking this.

@dsyme how are these tests? (this latest commit should pass CI)

Who creates the translations in the xlf files? I noticed that UpdateXlf just copies the english versions into them.

@jwosty we have translators, and also there is an OSS translations site where they can be community modified.  I forget the details right now, but @brettfo will know them I'm sure.

@KevinRansom @brettfo alright, so is there nothing else I need to do on my end at this point for translation stuff then?

No,  that's taken care of at this end.  So long as the strings are resources then the process takes care of it.  Which is very convenient for us :-)

Cool, thanks!

Can we note this down in the DEVGUIDE.md?
Am 10.03.2018 22:16 schrieb "Kevin Ransom (msft)"<EMAIL_ADDRESS>
:

No, that's taken care of at this end. So long as the strings are resources
then the process takes care of it. Which is very convenient for us :-)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/visualfsharp/pull/4427#issuecomment-372067777,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYPM8FoE8XX7Mb9jOBlNlKGVWzWh6PUbks5tdEKkgaJpZM4SbN02
.

Good idea. I think I would also like to add notes about xlf localization, as well as the .bsl tests — it’s not immediately obvious how they work

Also @dsyme would you mind doing a review?

What went wrong with this merge? On most of the Windows CI builds, UpdateXlf is failing with a NullReferenceException

Trying to come up with the best possible wording for match!'s description

Used in asynchronous workflows (and other computation expressions) to first bind the result of the asynchronous workflow (or computation expression), then pattern match over that result

I really like this addition to the language! I often write left-hand singleton patterns for let! to overcome this language limitation, but this would most certainly make life much more pleasant :).
About the description: I'd suggest not to special-case asynchronous workflows, just mention computation expressions. Something like (assuming I understand the syntax properly):

Used to match over the result of the computation expression, after binding to it. Similar to match, for instance let y = match! x with Some _ -> true | None -> false is similar to let! y = x in let y = match y with Some _ -> true | None -> false, where x is bound to some computation expression result.

@abelbraaksma Don't worry, I don't mention asyncs specifically in the description :) you can see the one I'm rolling with here.
As for function!, I feel that would have to be another feature suggestion at this point. I have a hunch that people don't often have situations where they use it. Also, the semantics of that would warrant a discussion (e.g. it would get hairy when you have it nested deep inside an expression). Though maybe that's a valuable discussion to have!
Thanks for your feedback!

@dotnet-bot test this please

@brettfo @KevinRansom Any ideas on this error?
D:\j\w\debug_default---ce4d11dd\packages\XliffTasks.0.2.0-beta-000081\build\XliffTasks.targets(90,5): error MSB4018: The "UpdateXlf" task failed unexpectedly. [D:\j\w\debug_default---ce4d11dd\src\fsharp\FSharp.Compiler.Private\FSharp.Compiler.Private.fsproj]
13:55:35 D:\j\w\debug_default---ce4d11dd\packages\XliffTasks.0.2.0-beta-000081\build\XliffTasks.targets(90,5): error MSB4018: System.NullReferenceException: Object reference not set to an instance of an object. [D:\j\w\debug_default---ce4d11dd\src\fsharp\FSharp.Compiler.Private\FSharp.Compiler.Private.fsproj]
13:55:35 D:\j\w\debug_default---ce4d11dd\packages\XliffTasks.0.2.0-beta-000081\build\XliffTasks.targets(90,5): error MSB4018:    at XliffTasks.Model.XlfDocument.Update(TranslatableDocument sourceDocument, String sourceDocumentId) [D:\j\w\debug_default---ce4d11dd\src\fsharp\FSharp.Compiler.Private\FSharp.Compiler.Private.fsproj]
13:55:35 D:\j\w\debug_default---ce4d11dd\packages\XliffTasks.0.2.0-beta-000081\build\XliffTasks.targets(90,5): error MSB4018:    at XliffTasks.Tasks.UpdateXlf.ExecuteCore() [D:\j\w\debug_default---ce4d11dd\src\fsharp\FSharp.Compiler.Private\FSharp.Compiler.Private.fsproj]
13:55:35 D:\j\w\debug_default---ce4d11dd\packages\XliffTasks.0.2.0-beta-000081\build\XliffTasks.targets(90,5): error MSB4018:    at XliffTasks.Tasks.XlfTask.Execute() [D:\j\w\debug_default---ce4d11dd\src\fsharp\FSharp.Compiler.Private\FSharp.Compiler.Private.fsproj]
13:55:35 D:\j\w\debug_default---ce4d11dd\packages\XliffTasks.0.2.0-beta-000081\build\XliffTasks.targets(90,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [D:\j\w\debug_default---ce4d11dd\src\fsharp\FSharp.Compiler.Private\FSharp.Compiler.Private.fsproj]
13:55:35 D:\j\w\debug_default---ce4d11dd\packages\XliffTasks.0.2.0-beta-000081\build\XliffTasks.targets(90,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext() [D:\j\w\debug_default---ce4d11dd\src\fsharp\FSharp.Compiler.Private\FSharp.Compiler.Private.fsproj]
13:55:35 Done Building Project "D:\j\w\debug_default---ce4d11dd\src\fsharp\FSharp.Compiler.Private\FSharp.Compiler.Private.fsproj" (Build target(s)) -- FAILED.

This means some strings have changed.  The short answer is:
msbuild src\fsharp\FSharp.Compiler.Private\FSharp.Compiler.Private.fsproj /t:UpdateXlf

Every time...! Is there anything that can be done to make UpdateXlf work on Mono? This is contributor pain for me

XLF stuff is disabled on mono builds due to this which was added in #4273, but I don't remember exactly why, maybe @dsyme remembers.  If I had to guess I'd think it was that the XliffTasksk package depends on al.exe to write the satellites and I don't think there's a way to prepend the <Exec> with mono al.exe.

al is a standalone script on Mono that launches mono al.exe and passes across the command line args
#!/bin/sh
exec /Library/Frameworks/Mono.framework/Versions/5.10.0/bin/mono $MONO_OPTIONS /Library/Frameworks/Mono.framework/Versions/5.10.0/lib/mono/4.5/al.exe "$@"

21:37 $ al
Mono Assembly Linker (al.exe) version <IP_ADDRESS>
Usage: al [options] [sources]
Options: ('/out' must be specified)

@dotnet-bot test this please

Nice!
Just one question: Why this is match! and not with!?

Just one question: Why this is match! and not with!?

@Thorium, that seems just logical to me. I mean, the keyword with has multiple meanings (type extensions, copy-and-update record expressions, object expressions, match expressions), the keyword match doesn't. Using match! instead of with! keeps things simple and clear.
Might be interesting to consider function! though, as it is often used as shorthand for match. Though I'm not sure about the particulars.

@Thorium Because match! looks similar to the other CE constructs; the "bang" always comes before the element that you're binding, never after. To me, this:
let! x = expr1
match! expr2 with
| ...

looks more consistent, and thus more visually pleasing, than this:
let! x = expr1
match expr2 with!
| ...

@jwosty I was thinking of
match expr2 with!
| ...

similarity of what could be
try expr2 with!
| ...

when there is also a finally!

That would be try!
Tuomas Hietanen<EMAIL_ADDRESS>schrieb am Di., 17. Apr. 2018,
17:00:

@jwosty https://github.com/jwosty I was thinking of
match expr2 with!| ...
similarity of what could be
try expr2 with!| ...
when there is also a finally!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/visualfsharp/pull/4427#issuecomment-382024936,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADgNKRWFDQjycnTD67BvjycqeOrLjsBks5tpgOHgaJpZM4SbN02
.

As Yoda might say:

do or !do, there is no try

@jwosty Could you merge with master? thanks

Something is off here, there are far too many changes getting merged in

@cartermp Ah, that's because I did a squash merge. I should probably roll it back and redo it without squashing. My bad.

@dsyme Merged.

Really looking forward to getting this in my app. I think I have at least
100 places where it would help. Small addition, but really useful. Thanks
Phillip Carter<EMAIL_ADDRESS>schrieb am Mo., 21. Mai 2018,
20:48:

@cartermp approved this pull request.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/visualfsharp/pull/4427#pullrequestreview-121906166,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADgNFMDSuPeuk2rQ9C6Nw71z8IvsHPhks5t0wwIgaJpZM4SbN02
.

@forki I mean, I've literally written multiple instances today that need it! I cannot wait to be spoiled by this addition.

@KevinRansom of course! Glad to help F# move forward.

Yay!
John Wostenberg<EMAIL_ADDRESS>schrieb am Fr., 25. Mai 2018,
05:16:

@KevinRansom https://github.com/KevinRansom of course! Glad to help F#
move forward.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/visualfsharp/pull/4427#issuecomment-391929286,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADgNHbg0Nh3dqlLLRAt-QePHxAia41xks5t13eSgaJpZM4SbN02
.


Network change metamask mobile

Is there anyway to prompt to change networks on mobile metamask when using wallet connect?

With stable version 2.0.0 of Web3Modal now released, we are officially dropping support for version 1.x
Due to this this issue/pr was marked for closing. It is highly recommended to upgrade as 2.x will be receiving further updates that will enable functionality for some of our newer sdks like auth and push as well as support for WalletConnect v2 (See this post about WalletConnect v1 being deprecated https://medium.com/walletconnect/walletconnect-v1-0-sunset-notice-and-migration-schedule-8af9d3720d2e)
If you need to continue using Web3Modal 1.x and require this feature/fix implemented, we suggest adding it via forking V1 branch.


[C++][Parquet] Print ColumnMetaData.encoding_stats field

The ParquetFilePrinter of parquet-cpp prints column chunk encodings solely from ColumnMetaData.encodings field. As ColumnMetaData.encoding_stats has been introduced long ago and it is a better source of obtain encodings, the printer should be aware of it.
Reporter: Gang Wu / @wgtmac
Assignee: Gang Wu](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=wgtmac) / @wgtmac
PRs and other links:

GitHub Pull Request #14556

Note: This issue was originally created as PARQUET-2211. Please see the migration documentation for further details.

Antoine Pitrou / @pitrou:
Issue resolved by pull request 14556
https://github.com/apache/arrow/pull/14556


Unable to run phpunit with xdebug on Docker windows

I found this on Dockerfile of workspace.
# Load xdebug Zend extension with phpunit command
RUN echo "alias phpunit='php -dzend_extension=xdebug.so /var/www/laravel/vendor/bin/phpunit'" >> ~/.bashrc

On running phpunit command, this displays this error:
dir=$(d=${0%[/\\]*}; cd "$d"; cd "../phpunit/phpunit" && pwd)

# See if we are running in Cygwin by checking for cygpath program
if command -v 'cygpath' >/dev/null 2>&1; then
        # Cygwin paths start with /cygdrive/ which will break windows PHP,
        # so we need to translate the dir path to windows format. However
        # we could be using cygwin PHP which does not require this, so we
        # test if the path to PHP starts with /cygdrive/ rather than /usr/bin
        if [[ $(dir=$(cygpath -m "$dir"); ]]; then
        fi
fi

dir=$(echo $dir | sed 's/ /\ /g')
"${dir}/phpunit" "$@"

So, I tried to run the command without loading the xdebug extension:
$ vendor/bin/phpunit

and it works.
So, I can't get phpunit to work with xdebug.

same problem,  and $ vendor/bin/phpunit work fine.

CHeck out #102


Cargo won't find a custom json target when running with cargo-make

Describe The Bug
When a cargo build is executed in a sub directoy by cargo-make, and the project in that sub directory compiles for a custom target json specified in a .cargo/config.toml the compilation will fail due to the target not being installed.
To Reproduce
The Makefile.toml is created in the project root folder ( project )
A Cargo project is created in a sub folder (project/subproject)
The subproject is set up for a custom target using the config.toml and a custom target-json. (see Code Sample)
The main.rs of the subproject specifies no_std and no_main and the rust-toolchain file is set to nightly.
When now creating a task in the main project that executes the cargo build command in the subproject it will fail due to the target not being installed.
When using the terminal or a shellscript to execute the build command instead of using cargo-make, cargo will start to compile the core crate with the specified json target and compile successfully.
Specifying the task inside the subproject and using CARGO_MAKE_WORKSPACE_EMULATION also won't fix this issue.
Error Stack
[cargo-make] INFO - cargo make 0.35.0
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: build_subproject
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Running Task: legacy-migration
[cargo-make] INFO - Running Task: build_subproject
   Compiling subproject v0.1.0 (/home/feldi/Project/project/subproject)
error[E0463]: can't find crate for `core`
  |
  = note: the `x86_64_target-12552269014747132383` target may not be installed
  = help: consider downloading the target with `rustup target add x86_64_target-12552269014747132383`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0463`.
error: could not compile `subproject`

To learn more, run the command again with --verbose.
[cargo-make] ERROR - Error while executing command, exit code: 101
[cargo-make] WARN - Build Failed.

Code Sample
Inside the subproject a .cargo/config.toml is created: (project/subproject/.cargo/config.toml)
[unstable]
build-std = ["core", "compiler_builtins"]
build-std-features = ["compiler-builtins-mem"]

[build]
target = "x86_64_target.json"

The target file is created in the subproject project/subproject/x86_64_target.json:
{
    "data-layout": "e-m:e-i64:64-f80:128-n8:16:32:64-S128",

    "llvm-target": "x86_64-unknown-none",
    "arch": "x86_64",
    "os": "none",

    "target-endian": "little",
    "target-pointer-width": "64",
    "target-c-int-width": "32",

    "features": "-mmx,-sse,+soft-float",
    "executables": true,

    "linker-flavor": "ld.lld",
    "linker": "rust-lld",

    "panic-strategy": "abort",
    "disable-redzone": true
}

The task is setup as follows:
project/Makefile.toml
[tasks.build_subproject]
script = '''
cd subproject && cargo build
'''

@feldim2425 thanks for notifying me.
i tried to check it out with the info you gave and using gitpod. i changed things just a bit to make it work there (as little as possible).
and it seems to be working for me, here is full flow:
gitpod /workspace/misc-test $ cargo make
[cargo-make] INFO - cargo make 0.35.0
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: default
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Running Task: default
   Compiling subproject v1.0.0 (/workspace/misc-test/subproject)
error[E0463]: can't find crate for `core`
  |
  = note: the `thumbv7m-none-eabi` target may not be installed
  = help: consider downloading the target with `rustup target add thumbv7m-none-eabi`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0463`.
error: could not compile `subproject`

To learn more, run the command again with --verbose.
[cargo-make] ERROR - Error while executing command, exit code: 101
[cargo-make] WARN - Build Failed.
gitpod /workspace/misc-test $ rustup target add thumbv7m-none-eabi
info: downloading component 'rust-std' for 'thumbv7m-none-eabi'
info: installing component 'rust-std' for 'thumbv7m-none-eabi'
gitpod /workspace/misc-test $ cargo make
[cargo-make] INFO - cargo make 0.35.0
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: default
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Running Task: default
   Compiling subproject v1.0.0 (/workspace/misc-test/subproject)
    Finished dev [unoptimized + debuginfo] target(s) in 0.16s
[cargo-make] INFO - Build Done in 0.24 seconds.

see full code at:
https://github.com/sagiegurari/misc-test/tree/cargo-make-nostd

As far as I can see the test code does not use a custom target json.
The issue seems to be specifically with custom targets.
They are described in the rust embedded book: https://docs.rust-embedded.org/embedonomicon/custom-target.html
But I followed this guide on OS development to create the target: https://os.phil-opp.com/minimal-rust-kernel/#target-specification

thanks for the explanation, but can you show me that you go to the subproject dir, run cargo build and that works fine?

@feldim2425 ok i found the issue you probably have.
you said you are using nightly but your script is not setup for that.
so i played with it a bit and i think this is better and would solve your issue:

[tasks.build_subproject]
toolchain = "nightly"
cwd = "subproject"
command = "cargo"
args = ["build"]

you can see full working example at:
https://github.com/sagiegurari/misc-test/tree/cargo-make-nostd

@feldim2425 did it solve it for you?

cargo-make doesn't read that rust toolchain file. i would assume cargo would, but not in this case i guess.


How to render items of a section in a single row in SectionList

Is this a bug report?
I  want render many  items of a section in a single row
I found a method : in section render One item,the item have many component ,I do not know,wheather it could be reused，I think, when item's count is large,  it could use high internal storage in this way, Does have any other methods to render many  items of a section in a single row

Have you read the Bugs section of the How to Contribute guide?
(Write your answer here.)

Environment

react-native -v:
node -v:
npm -v:
yarn --version:

Then, specify:

Target Platform:

Development Operating System:

Build tools:

Steps to Reproduce

(Write your steps here:)

Expected Behavior

(Write what you thought would happen.)
Actual Behavior

(Write what happened. Add screenshots!)
Reproducible Demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

This issue looks like a question that would be best asked on StackOverflow.
StackOverflow is amazing for Q&A: it has a reputation system, voting, the ability to mark a question as answered. Because of the reputation system it is likely the community will see and answer your question there. This also helps us use the GitHub bug tracker for bugs only.
Will close this as this is really a question that should be asked on StackOverflow.


fix(): missing comma in Lua config

While trying to setup the plugin, I got the below error when neovim started:
E5107: Error loading lua [string ":lua"]:15: '}' expected (to close '{' at line 4) near 'lsp'
the error was fixed when I added the missing comma in Lua configuration.
PS: sorry to open it as a PR. Please feel free to suggest opening an issue instead. Whichever is best for you.

Thanks for the PR @muzaffar-omer it looks good to me 👍🏾

Thanks for the PR @muzaffar-omer it looks good to me 👍🏾

Thanks for the PR @muzaffar-omer it looks good to me 👍🏾

Thanks to you for making this awesome plugin!

Thanks for the PR @muzaffar-omer it looks good to me 👍🏾

Thanks to you for making this awesome plugin!


Convert date to DotNet JSON date

Is it possible to convert a date from DD/MM/YYYY format to .NET JSON Format with SwiftDate.
Example: How to convert 03/06/1984 to something like "/Date(928138800000+0300)/"
Thanks.

We have added it for 3.0.8 (need to write some unit tests for it).
Meanwhile it's available on develop branch since this commit https://github.com/malcommac/SwiftDate/commit/d909c124c0d9ebce97c8b9ced6824574dcbf7c62.
Thank you for your suggestion.

Thanks.


Species without author names

When browsing the taxon core list I see species with author name and many without author names.  In most cases author names are requested in this type of listings.  Having some species with author names and others without is no option.
Author names are easily obtained by linking with GBIF or other parent databases, I think?

Indeed, author names can be retrieved by using the GBIF backbone. In this case, I'm in favor of doing this, as this is an ad hoc assembled list, rather than a taxonomic list making specific statements about nomenclature. I will match the names with the GBIF Backbone and adapt this accordingly. To be sure, I will first add an extra column scientific name GBIF

I matched the 61 scientific names in the spreadsheet with the GBIF backbone. The scientific names retrieved from the backbone can be found in column AB GBIF scientific name.
For 58 scientific names, there's a nice math (confidence level between 97% and 100%, matchtype EXACT).
However, for the following scientific names, the match is lower (94%) or the matchtype is FUZZY or HIGHERRANK:

scientific name
GBIF scientific name
GBIF matchtype
GBIF confidence

Hemigrapsus sanuineus
Hemigrapsus sanguineus (De Haan, 1835)
FUZZY
94

Tasserkidrilus near americanus
Tasserkidrilus Holmquist, 1985
HIGHERRANK
94

Streblospio benedicti/ shrubsolii
Streblospio benedicti Webster, 1879
HIGHERRANK
98

I suppose that, in the case of Hemigrapsus sanuineus, there was a type and this should be Hemigrapsus sanguineus
For the other two, I'm not sure what to do.

The latter two are not distinct species and I don't think they should be on a checklist then.

The other two are non-specific names - not sure how this is dealt with in
other lists?? Tim?
F
Op di 16 feb. 2021 om 15:05 schreef Lien Reyserhove <
<EMAIL_ADDRESS>
I matched the 61 scientific names in the spreadsheet
https://docs.google.com/spreadsheets/d/1V_rQhyz_AjszobCMxBe-xFWI3kUNLrYzMeqyUNt3Vc4/edit#gid=808615322
with the GBIF backbone. The scientific names retrieved from the backbone
can be found in column AB GBIF scientific name.
For 58 scientific names, there's a nice math (confidence level between 97%
and 100%, matchtype EXACT).
However, for the following scientific names, the match is lower (94%) or
the matchtype is FUZZY or HIGHERRANK:
scientific name GBIF scientific name GBIF matchtype GBIF confidence
Hemigrapsus sanuineus Hemigrapsus sanguineus (De Haan, 1835) FUZZY 94
Tasserkidrilus near americanus Tasserkidrilus Holmquist, 1985
HIGHERRANK 94
Streblospio benedicti/ shrubsolii Streblospio benedicti Webster, 1879
HIGHERRANK 98
I suppose that, in the case of Hemigrapsus sanuineus, there was a type
and this should be Hemigrapsus sanguineus
For the other two, I'm not sure what to do.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/trias-project/alien-scheldt-checklist/issues/3#issuecomment-779857787,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOZQIGJOMK2RJRHHZRDGBHLS7J3SVANCNFSM4TXMZD4Q
.

--
Frank Van de Meutter
Senior Onderzoeker – Ecoloog
Onderzoeksgroep Estuaria
Instituut voor Natuur- en Bosonderzoek (INBO)
Havenlaan 88, bus 73 1000 Brussel
tel 0496 60 32 39 |
<EMAIL_ADDRESS><EMAIL_ADDRESS>www.inbo.be

why don't we list the genus (Streblospio sp.) in the checklist, or make a choice.
The hemigrapsus is just a typo of course (sanguineus) so that can be changed.
Tasserkidrilus americanus can be used as such and refer to the Soors et al. (2013)? If it appears to be something else, this is for a checklist update.

I would suggest to leave it open and use the genus name in case of Tasserkidrilus and Streblospio

Sorry, I saw this email from Jan suggesting the following:

leave out the Streblospio species as it is unclear if this species is present in the Sea scheldt
Tasserkidrilus americanus: OK to integrate like this


Backticks being forbidden

Coffeelint is complaining that Backticks are forbidden for this snippet (which is perfectly legal):
    getUuid: ->
      `'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) {
          var r = Math.random()*16|0, v = c == 'x' ? r : (r&0x3|0x8);
          return v.toString(16);
      });`

add it where? please include context when answering questions/issues.


Latest Chef-ingredients dependency requires Chef 12.5.0

Where as push jobs lists Chef 11.4 +
Chef ingredients cookbook produces error on chef < 12.5.0

You can either use chef-ingredient v0.14.0, or upgrade your chef client package on your systems. To use the older version of chef-ingredient will depend on your cookbook workflow - if you're using berkshelf, librarian, or manually managing the cookbook versions.


fix: don't generate license field if it's empty

Describe the PR
Avoid generate license field with empty content in generated YAML and JSON files when running swag init
Relation issue
Intended to resolve #767
Additional context
Let me know if you need any additional info

Thanks


Is the CC link in CMIP6_license.json correct?

The link used is
http://creativecommons.org/licenses/by/4.0/
but this seems to refer to the "Attribution CC BY" license
BUT the text says the data will be
either    a) Share Alike
or    b) NonCommercial Share Alike
So, should not the link be
either    a) Attribution-ShareAlike CC BY-SA
https://creativecommons.org/licenses/by-sa/4.0/
or    b) Attribution-NonCommercial-ShareAlike CC BY-NC-SA
https://creativecommons.org/licenses/by-nc-sa/4.0/
I got the links from the "The Licenses" section of
https://creativecommons.org/licenses/?lang=en
If this is modified, it will need to be modified in note 12 of
https://docs.google.com/document/d/1h0r8RZr_f3-8egBMMh7aqLwy3snpD6_MrDz1q8n5XUk/edit
and
https://pcmdi.llnl.gov/home/CMIP6/CitationRequirements6-0.html

@jypeter If I change the link to https://creativecommons.org/licenses/ would that be o.k.?  I agree it currently points to the wrong license.
I'd like to point to the same place whether or not the "noncommercial" restriction appears.

@taylor13 let me know once a solution has been determined and I'll then change the entry. We will have to propagate these changes across the other entries (google docs, PCMDI webpages etc)

@taylor13 the single link looks good to me!
The following 1-page summary pdf is interesting, if you need to post this information somewhere: https://wiki.creativecommons.org/images/6/6d/6licenses-flat.pdf
Note that you should probably also make the following changes. The wording is currently:

Creative Commons Attribution \"[NonCommercial] Share Alike\" 4.0 International License

but I think Attribution should be inside the quote, since it is a license condition on the same level as NonCommercial and ShareAlike. Note also that there is no space between Share and Alike, and that there seems to be dashes between the conditions

Creative Commons \"Attribution-[NonCommercial-]ShareAlike\" 4.0 International License

I wonder if you should also include the matching abbreviation somewhere in the sentence

(CC BY-[NC-]SA 4.0)

I have used the following to help PMIP4 participants: https://pmip4.lsce.ipsl.fr/doku.php/database:drs#details_about_the_creative_commons_licenses

@jypeter Thanks, J-Y.  That was very helpful.  I've made changes to
the global attributes doc, the CMIP6_license_CV, and to the document that will migrate to https://pcmdi.llnl.gov/home/CMIP6/CitationRequirements6-0.html

I see you have removed the quotes around the conditions. That's probably not bad, since the CC licenses do not have quotes in their examples
I wonder if we should have quotes around the full license (and use a lowercase "L" in "license"), to emphasize it, but I'm not too sure. That's up to you

is licensed under a \"Creative Commons Attribution-[NonCommercial-]ShareAlike 4.0 International\" license

The licences' page URL you have specified works, but you may want to add a trailing "/" if you make changes to CMIP6_license.json anyway

https://creativecommons.org/licenses/

@taylor13 I've noted some changes have been made in the CMIP6_license.json file, but it's not clear to me that this issue is resolved with this amendment. Please let me know once this is finalised, and I'll pull the changes back into the master and update the file metadata accordingly

Thanks @durack1 !
By the way, is there an issue section for the CMIP6 web site, more specifically for the https://pcmdi.llnl.gov/home/CMIP6/CitationRequirements6-0.html that will have to be updated because of the license update?
Because I have been asked to add something to acknowledge the MIPs. So,should I just send a mail to @taylor13 about that, or can I open an issue somewhere?
And there should be another issue so that somebody adds some metadata keyword information to the page, so that people can discover it when googling cmip6 acknowledgement and cmip6 terms of use

@jypeter good question, I don't believe we have an alternative repo/issue list for your query so it might be best to keep that discussion in this repo (as it relates to the CMIP6 license details anyway). I'll let @taylor13 respond


Frends.Facebook.Put

Task for executing PUT to

ADS,
Pages
in Facebook API.

Replaced with Frends.Facebook.Request


interrupted binding request leaves config junk

If a binding request is incomplete and the session is terminated, the queue and client and sockets remain.  This is likely true for other interrupted cmd messages.

-----------------  lwp# 15604 / thread# 15604  --------------------
 fffffd7ff37d742a nanosleep (fffffd7ffb931db0, 0)
 fffffd7ff37c12fc usleep (64) + 3c
<PHONE_NUMBER>40ae90 fqd_config_wait () + 40
<PHONE_NUMBER>4090af fqd_ccs_loop () + 3cf
<PHONE_NUMBER>409372 fqd_command_and_control_server () + 192
<PHONE_NUMBER>408584 conn_handler () + 204
 fffffd7ff37d0dba _thrp_setup (fffffd7ffefeda80) + 8a
 fffffd7ff37d10d0 _lwp_start ()

Fixed in fef4ffd0083ee51304bddc56843cf0427f5a0540


Tone down log level on mdns send.

Problem
The mdns log is VERY chatty.
Change overview
Moves log to detail.
Testing
Ran commissioning using lighting app and chip-tool - log not visible.

I'd like to nominate this PR for "smallest change to cause a merge conflict".


Add a Rate Us Option

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Hello Mam, my name is A.A.D.Sailaja. I am a Tech Enthusiastic and i'm looking forward to contribute in open source projects. Here in this project i seen a issue about the position of Blogzen above the search box it is not perfectly positioned at center. Once please go through that.
Can you please assign me this issue under gssoc'24
Use Case
It will Enhance User Experience
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

Can you add a screenshot, also please use main link of website, not the testing one for reference @sailaja-adapa

Actually this is already present in feedback page @sailaja-adapa , You can work on other issues


[Feature Request] Show problem description

Description
Add PDF parser to view problem description
Additional Info
No response

Solved using pdf2html


Add letsencrypt to ci-builder env

I know the docs say to merge this first, but would it make more sense to build the image and add the tag in this PR?

Added.


feat: extend tracing

feat(op): extend tracing for more detailed spans
feat(client): add possibility of tracing client calls
Definition of Ready

[x] I am happy with the code
[x] Short description of the feature/issue is added in the pr description
[x] PR is linked to the corresponding user story
[x] Acceptance criteria are met
[x] All open todos and follow ups are defined in a new ticket and justified
[x] Deviations from the acceptance criteria and design are agreed with the PO and documented.
[x] No debug or dead code
[ ] My code has no repetitions
[x] Critical parts are tested automatically
[ ] Where possible E2E tests are implemented
[x] Documentation/examples are up-to-date
[x] All non-functional requirements are met
[x] Functionality of the acceptance criteria is checked manually on the dev system.

@adlerhurst pipeline is failing on a nil context.


Broken Quote requests

should_return_quotes
should_return_quotes_with_specific_count
should_return_quotes_bucketed

The whole Quote URL doesn't work on  PROD and TEst both.
It doesn't work proximately since  03/08/2018
Tests are going to be temporarily ignored for CI sake
Waiting for official news about the API change or temporary issues


Issues and confusion with ios Xcode base configurations not correctly set, including "flutter create" projects made worse by CocoaPods and lack of docs

Steps to reproduce

flutter create flutter_20240424 --platforms ios
add the following to pubspec.yml (probably any packages requiring cocoapods will do)

  cloud_firestore: any
  firebase_auth: any
  firebase_messaging: any
  firebase_storage: any
  app_links: any
  firebase_analytics: any
  flutter_barcode_scanner: any

flutter pub get
cd ios
pod install

Actual results
you will see :
[!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target `Runner` to `Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig` or include the `Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig` in your build configuration (`Flutter/Release.xcconfig`).

The issue is that the Runner Profile configuration is set to the Release configuration. Setting it to Pods-Runner.profile makes the error go away, but I don't know what it should be.
This is my modified (and seemingly correct) configuration :

These base configurations cause a lot of trouble for flutter development, and I have not seen any official advice or documentation online. In my main project I've had #140845 / #138795 holding me up for days. Older articles advised selecting Pods-Runner.xxx directly, which means not including Generated which causes the  #138795 "Null check operator" error (Debug & Release are only 2 lines - they include Pods-Runner.xxx and Generated, and Generated contains the environment variables required by xcode_backend.dart).
Adding packages that require CocoaPods makes the situation more confusing as there are many more configurations in the list.
I believe some official documentation including screenshots of what the base configurations in XCode should look like with and without CocoaPods would be very helpful. Even if the generated project is fixed, it would still help people with existing projects.
Logs

Logs

<!-- Paste your logs here -->

Flutter Doctor output

Doctor output

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 3.22.0-0.2.pre, on macOS 14.4.1 23E224 darwin-x64, locale en-AU)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.2)
[✓] Android Studio (version 2022.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2024.1)
[✓] VS Code (version 1.87.2)
[✓] Connected device (2 available)
[✓] Network resources

• No issues found!

Thanks for the report @buzzware
Can you take a look at this issue and underlying comments to see if they help in your case or not ?

Thanks for the report @buzzware Can you take a look at this issue and underlying comments to see if they help in your case or not ?

@darshankawar I don't have an issue in my project - I am reporting my learning and I think a bug when you generate a fresh project and then add packages that require CocoaPods. As part of the solution I'm suggesting some documentation explaining the XCode -> Flutter integration through xcode_backend and the recommended configs.

Thanks for the update. I do see the message but it is a warning / alert and not an error and it is coming from cocoapods and not Flutter.

I believe some official documentation including screenshots of what the base configurations in XCode should look like with and without CocoaPods would be very helpful.

I'll keep this issue open for documentation if the team thinks it would be beneficial.

Yes its a warning but the warning says "In order for CocoaPods integration to work at all..."
Also when upgrading old projects or trying to fix build errors, it helps to know what the intention is of each of the configurations so you know what should be selected.


Multi-turn is not working.

Hello, we have installed the latest version of FaqPlus in our Azure Tenant, and we observe that the multi-turn option does not work properly, clicking on any of the options of the question with multi-turn returns the answer "I didn' t find a matching answer for this question. Do you want me to ask an expert?"
This functionality worked correctly in the previous version.
Here are screenshots.

Is there any way to solve this?
Thanks.

@emiludev The work around for multi turn options is, user can type the available shown options instead of selecting the options and the bot will responds to the user.
If you think this work around will not be considered for the users, you can use the previous version of the app which is available in the below location, however this is something which we don’t normally recommend to users.
OfficeDev/microsoft-teams-apps-faqplus at v2.1 (github.com)


Can only scroll a few lines before it stops

Description of problem
Steps to reproduce

Try to scroll with two fingers.

Expected behaviour
I can scroll for multiple pages, as long as I’m scrolling with my fingers.
Actual behaviour
I can only scroll till the point the highlighted line hits fourth from the bottom or fourth from the top.
Comments
I used to be able to scroll as normal and expected before. Something seems to have changed. Now I can’t scroll conveniently anymore. I wonder if there’s a setting or configuration to restore the old behaviour, or if this is a bug?
Specifications
Commit hash: 5cb618c (v2.0.7-dev.68)
OS: macOS Catalina (v10.15.7)
Terminal: iTerm 2 (v3.3.12)

I updated to the latest version of micro, and just as mysteriously as the problem had appeared, it is now gone.
Buggy version:
Version: 2.0.7-dev.68
5cb618c
Compiled on August 12, 2020
Confirmed fixed version:
Version: 2.0.10
Commit hash: b9763856
Compiled on August 07, 2021


Add Yafti

Universal:

[x] Install Yafti
[x] Auto-install Wallpaper Engine
[x] Auto-enable duperemove
[x] Auto-enable distrobox-upgrade-automatic

Desktop:

[x] Set up bazzite-arch and export applications
[x] Configure distrobox for Nvidia GPUs on the Nvidia branch
[x] Install needed flatpaks
[x] Offer optional flatpaks
[x] Auto-install System76-Scheduler supporting KDE plugins

Deck:

[x] Install needed flatpaks
[x] Set up swap, offer sane defaults and customization
[x] Offer optional flatpaks

@KyleGospo Just an opinion, but I think the distrobox setup should be separated to its own category, or at least the name should be made more image-generic.
I'm of the opinion that it is quite useful for other users to be able to setup distrobox in yafti and ideally it could be upstreamed to startingpoint/main.
Referring to this part: https://github.com/ublue-os/bazzite/pull/21/files#diff-20f7ecbbd29090567e52138ffb6d869899a8301ad14180060846328f63f285dbR132
snip
configure-bazzite:
    source: yafti.screen.package
    values:
      title: Configure Bazzite
      show_terminal: true
      package_manager: yafti.plugin.run
      groups:
        Bazzite Arch Distrobox:
          description: This will install an Arch distrobox configured for gaming. Steam and Lutris will then be exported.
          default: true
          condition:
            run: distrobox list | grep -v bazzite-arch
          packages:
          - Install Bazzite Arch: just install-bazzite-arch
          - Export Steam: distrobox-enter -n bazzite-arch -- '  distrobox-export --app steam'
          - Export Lutris: distrobox-enter -n bazzite-arch -- '  distrobox-export --app lutris'
          - Export Protontricks: distrobox-enter -n bazzite-arch -- '  distrobox-export --app protontricks'
          - Enable Automatic Updates: systemctl enable --user --now distrobox-upgrade-automatic.timer
        Automatic Duplicate File Removal:
          description: Flattens duplicate files to take up no more space than a single copy, a considerable space savings for wine prefixes and compatdata
          default: true
          packages:
          - Enable Duperemove: systemctl enable --now duperemove-weekly@$(systemd-escape $HOME).timer
        Greenlight:
          description: A utility for xCloud and xHome streaming
          default: false
          packages:
          - Retrieve Greenlight: just get-greenlight
        Memory Tuning:
          description: Adjust ZRAM configuration
          default: false
          packages:
          - Disable ZRAM: just zram-off

We have added Yafti, I am merging this before we add anything else besides Yafti. We have definitely not added anything but Yafti.


Blocked gnome

Hi! Great extension, just what I needed :) It has some issues though, and the main is that it blocks whole Gnome until command (or a script) is completed.
So if for example my script fetch something from Internet and do something on that after, it takes some seconds to do that and for that seconds Gnome is irresponsive.

Hi Dreadeat,
Thanks for the feedback, glad you enjoy! Hm, I can't get to a GNOME PC
this morning (it's early in the AM for me) but I will certainly work on
it later today :)
Sorry this issue plagues you!
elken
Keybase https://www.keybase.io/elken | GPG
http://pgp.mit.edu/pks/lookup?op=vindex&search=0x636DC649EC881CB6

Any luck on this? :)

Sorry, I've been busy with rl stuff. What command did you try? I'll get on it soon.

A complex one :) I think curl ifconfig.me or something with sleep 2 inside any script will show you the problem.

I've tried a number of commands and every one has run as expected. Please give something that doesn't work for you otherwise I can't help.

Im not using sleep, it is for you to shown the problem. If the result of the command is not "instant" and its work can be caught by the eye, you will notice it with gnome shell hanging - thats the point. That could be any command - cp something relatively big somewhere and then echo OK, check hashsum of iso, wget something from the Internet etc. Your extension wait for the result of the command and only after that gnome is interactive again. And yes, I tried every command that I wrote here and if it does work for you as expected, something is wrong on my side :-\
I personally am using script that fetches bitcoin price with curl from 3 exchanges and do some other stuff before and after it, so the result is echoed in 3-5 seconds after start, for which I can`t do anything in gnome.

The command is run asynchronously, so it shouldn't block anything. I've
tried the commands you've listed and they all work fine. Nothing's wrong
with the extension.

Hm, ok, thanks, I`ll look deeper in my config.

I turned off all extensions, and problem still exists.
Are you sure when you do, for example sha56sum some-600mb-linux-distro.iso, all is ok? Why then my gnome freezes?.. :-\
Also, you have "milliseconds" in settings, while actually it is seconds between refresh. So 1000 gap when pressing + or - means 1000 seconds, when it is set to 5, it actually means 5 seconds refresh interval. For me at least :)

I've looked into it and it's not possible. If you're using this to run something requiring computation, look elsewhere. There is already a bitcoin ticker extension. Closing as not a bug.

@Dreadeath
run your script in cron, like that:
your_command > /tmp/yourcommand.tmp
and use gnome shell command output extension just to cat the result:
cat /tmp/yourcommand.tmp

@ser
I know how to "workaround" it, thanks anyway :) There is other big problem still exists that makes this extension unusable at all https://github.com/elken/gnome-shell-extensions-command-output/issues/9
Though there is a solution in comments, didn`t try it yet.


EventHub: updated help for the parameter --partition-count of eventhub

updated help for the parameter --partition-count of eventhub

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[X] I adhere to the Command Guidelines.

@williexu approve and merge when you deem suitable. let's try to merge it in 2.0.43 release.


Unplugged Plug is still „available” in the home app

Describe The Bug:
If I unplug the Plug it is still reachable in the home app and appears as offline, it’s even possible to turn it on without any failures in the home app while the plug is still unplugged
The homebridge plug-in knows that the plug is offline see logs down below
To Reproduce:
Install any P100 Plug and unplug it, it still appears normal in the home app and not as unreachable
Expected behavior:
If a plug gets unplugged it should get the status “No Response”
Logs:
[12.12.2021, 12:23:50] [Tapo Smart Platform] 111 Error: connect EHOSTUNREACH 192.168.xx.xx:80
[12.12.2021, 12:23:50] [Tapo Smart Platform] Get Device Info failed
Plugin Config:
"platforms": [
{
"name": "Tapo Smart Platform",
"username": "tapoaccount",
"password": "*password",
"devices": [
{
"name": "tapo 1",
"host": "192.168.xx.xx",
"type": "Plug"
},
],
"platform": "TapoP100"
}
]
Screenshots:

Environment:

Plugin Version: 1.4.12
Homebridge Version: 1.3.5 (had different problems with another plug-in at 1.3.8)
Node.js Version: 16.13.0
NPM Version: 8.1.0
Operating System: Raspbian

Should be fixed with 1.4.14


server: add cors support for /support-rules endpoint

server: add cors support for /support-rules endpoint and add OAuth Configuration (without the access it's always denied - 403)
This to allow zally-web-ui integration without a proxy.
@fmueller does it make sense to have CORS support globally instead of per route basis?

👍

@rbarilani Globally does not make sense imho since we have some non-api endpoints which don't care about CORS...

@fmueller ... like /metrics and stuff, right? Ok.


Closes #734 vignette merged functions@devel

@yohannomnes @sgorm123 @bundfussr @bms63 FYI i have a draft PR ready here after making additions to Yohann's great first draft. In extending the scope of this vignette I chose to cut down the amount of different "merged" examples as I found it was getting too long, and I think it works better as an intro to help them understand the differences, and then they can delve deeper in the functional documentation which has lots of extra examples. Will let you all know when ready for review, and appreciate any comments.
Things left to check for this PR before being ready for review:

[x] Won’t run until https://github.com/pharmaverse/admiral/pull/1468 merges, so need to check after this
[x] Then need to build site and check all of the examples make sense and the example patients shown are appropriate
[x] Address Stefan's comment: https://github.com/pharmaverse/admiral/pull/1468#issuecomment-1266947066

Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the devel branch until you have checked off each task.

[x] Place Closes #<insert_issue_number> into the beginning of your Pull Request Title (Use Edit button in top-right if you need to update)
[x] Code is formatted according to the tidyverse style guide. Run styler::style_file() to style R and Rmd files
[x] Updated relevant unit tests or have written new unit tests - See Unit Test Guide
[x] If you removed/replaced any function and/or function parameters, did you fully follow the deprecation guidance?
[x] Update to all relevant roxygen headers and examples
[x] Run devtools::document() so all .Rd files in the man folder and the NAMESPACE file in the project root are updated appropriately
[x] Address any updates needed for vignettes and/or templates
[x] Update NEWS.md if the changes pertain to a user-facing function (i.e. it has an @export tag) or documentation aimed at users (rather than developers)
[x] Build admiral site pkgdown::build_site() and check that all affected examples are displayed correctly and that all new functions occur on the "Reference" page.
[x] Address or fix all lintr warnings and errors - lintr::lint_package()
[x] Run R CMD check locally and address all errors and warnings - devtools::check()
[x] Link the issue in the Development Section on the right hand side.
[x] Address all merge conflicts and resolve appropriately
[x] Pat yourself on the back for a job well done! Much love to your accomplishment!

@bundfussr - any reason why dataset_vignette is not following the ordering as per the code of some of my display vars when i build the vignette?? e.g. see ae_03 example:

@rossfarrugia , at the moment dataset_vignette() displays the columns in the order of the columns in the input dataset. display_vars just controls which columns are displayed but not the order.
If you want to change the order, you need to change the order of the columns in the input dataset, e.g., by using select().

thanks @bundfussr - i just did a quick extra commit to remedy this. as part of your review can you sanity check these look ok please now and shout if you think i should update anything. the hardest thing of this vignette was trying to get the right patients and test data to show simple to comprehend examples for functions that are very powerful, so that it hits the right mark of helping intro a user without overwhelming.

thanks @zdz2101 - once @bundfussr reviews/approves i'll merge this one.


[FLAVA] Add 0 shot coco eval script

Summary:
Script for doing zero shot eval on coco validation set for FLAVA. Some assumptions I made:

using only the first caption as the target
using the default torchvision transform for images

Test plan:
python -m flava.coco_zero_shot --data_root /datasets01/COCO/022719/val2017 --annotations /datasets01/COCO/022719/annotations/captions_val2017.json
From prints:
INFO:root:image_to_text_recall@1 0.39640000462532043
INFO:root:image_to_text_recall@5 0.7110000252723694
INFO:root:text_to_image_recall@1 0.39500001072883606
INFO:root:text_to_image_recall@5 0.6959999799728394
The numbers are somewhat close but not exactly matching the paper. Will ask Aman.

Codecov Report

Merging #83 (ad5b859) into main (e754152) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #83   +/-   ##
=======================================
  Coverage   88.70%   88.70%
=======================================
  Files          32       32
  Lines        1673     1673
=======================================
  Hits         1484     1484
  Misses        189      189

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 e754152...ad5b859. Read the comment docs.

@ankitade has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Ah crap, should have commented before. Maybe it would make sense to get an approval on GitHub side too in future?

@apsdehal seeing this now. whats the comment on this PR?


Test no default template

My custom template
sopra la panca la capra canta

Hey boy you have not studied your homework
Now you will take the exam


How to connect Serenity Web Services with a mobile project (Xamarin).

I have to dial customer support through a tablet, so I'll need to connect from the tablet to the Serenity project web service.
How to consume a Serenity Web Service in xamarin?
Thanks!

As far as I know Serenity supports serviceRequest accessible from the Q namespace. But I think you want to use Serenity as an API? I don't think it works that way.

I want to use a POST, or "Create" from xyzendpoint. How do you recommend that I do?
Watch this #806
Thanks

See this portion of code from ticket #655. Specially
Q.serviceRequest(TicketService.baseUrl + "/Accept". Of course you will have to define you own base url  and suppress "/Accept" to match your qualified service path. I think this should give you a good starting point.
var box = bootbox.prompt({
title: "Please enter a reason?",
value: "",
callback: function (result) {
if (result === null) {
Q.notifyWarning("test");
} else {
Q.serviceRequest(TicketService.baseUrl + "/Accept", { Entity: this.getSaveEntity() }, () => {
Q.notifySuccess('Case ' + this.form.SourceSystemId().get_value() + ' has been successfully assigned to ' + this.form.OwnerId() + '.', '', null);
Serenity.SubDialogHelper.triggerDataChange(this);
this.dialogClose();
});
}
}
});
box.zIndex(1200);


Fix website.

Correct indenting files.
Fix overflow Ribbon.
Center box (yes current it's not).
Fix colors first frame canvas x)
Correct background canvas which should be fafafa and not ffffff.

Maybe I'm missing something, but why we are not using transparent background for canvas?
Example: https://jsfiddle.net/Phil/1e8Lc757/


Example from the guide not working?

I copied the project from examples/postgres/getting_started_step_3/ and prepared .env, but there's something about infer_schema! that fails on compile:
$ cargo install
   Compiling diesel_demo_step_3_pg v0.1.0 (file:///Users/kir/Projects/opensource/diesel_start)
error: custom derive attribute panicked
 --> src/schema.rs:1:1
  |
1 | infer_schema!("dotenv:DATABASE_URL");
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = help: message: assertion failed: !p.is_null()
  = note: this error originates in a macro outside of the current crate

error: failed to compile `diesel_demo_step_3_pg v0.1.0 (file:///Users/kir/Projects/opensource/diesel_start)`, intermediate artifacts can be found at `/Users/kir/Projects/opensource/diesel_start/target`

Caused by:
  Could not compile `diesel_demo_step_3_pg`.

To learn more, run the command again with --verbose.

However the .env is valid:
$ cat .env
DATABASE_URL=postgres://kir@localhost/diesel_demo

$ psql --user kir diesel_demo
psql (9.6.1)
Type "help" for help.

I also tried running DATABASE_URL=... cargo install but it causes the same error.
I checked that maybe infer_schema! usage have changed from the previous version and the code from the guide is using outdates API, but looking at diesel_tests/tests/schema.rs I see nothing wrong.
cc @sgrif

Can you run cargo clean and then paste the output of cargo install --verbose?

Also make sure you cargo update

https://gist.github.com/9396e192b68cabf13c54820238b39c58

Hm. That assertion is coming from somewhere other than Diesel. Can you run again with RUST_BACKTRACE=1?

BTW, I'm running rust 1.15.1.
$ cargo update
    Updating registry `https://github.com/rust-lang/crates.io-index`

$ RUST_BACKTRACE=1 cargo install --verbose
       Fresh byteorder v1.0.0
       Fresh utf8-ranges v0.1.3
       Fresh winapi-build v0.1.1
       Fresh libc v0.2.20
       Fresh winapi v0.2.8
       Fresh regex-syntax v0.3.9
       Fresh quote v0.3.13
       Fresh unicode-xid v0.0.4
       Fresh memchr v0.1.11
       Fresh synom v0.11.0
       Fresh aho-corasick v0.5.3
       Fresh pq-sys v0.4.2
       Fresh syn v0.11.6
       Fresh kernel32-sys v0.2.2
       Fresh diesel v0.11.2
       Fresh thread-id v2.0.0
       Fresh diesel_infer_schema v0.11.0
       Fresh thread_local v0.2.7
       Fresh regex v0.1.80
       Fresh dotenv v0.8.0
       Fresh diesel_codegen v0.11.0
   Compiling diesel_demo_step_3_pg v0.1.0 (file:///Users/kir/Projects/opensource/diesel_start)
     Running `rustc --crate-name diesel_demo_step_3_pg src/lib.rs --crate-type lib -C opt-level=3 -C metadata=a7e40dfea0887d49 -C extra-filename=-a7e40dfea0887d49 --out-dir /Users/kir/Projects/opensource/diesel_start/target/release/deps --emit=dep-info,link -L dependency=/Users/kir/Projects/opensource/diesel_start/target/release/deps --extern dotenv=/Users/kir/Projects/opensource/diesel_start/target/release/deps/libdotenv-c0ef68bcfc5b2489.rlib --extern diesel_codegen=/Users/kir/Projects/opensource/diesel_start/target/release/deps/libdiesel_codegen-eefe7fa2e56aaa65.dylib --extern diesel=/Users/kir/Projects/opensource/diesel_start/target/release/deps/libdiesel-82ac424c6bfc818c.rlib -L native=/usr/local/opt/postgresql/lib`
error: custom derive attribute panicked
 --> src/schema.rs:1:1
  |
1 | infer_schema!("dotenv:DATABASE_URL");
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = help: message: assertion failed: !p.is_null()
  = note: this error originates in a macro outside of the current crate

error: failed to compile `diesel_demo_step_3_pg v0.1.0 (file:///Users/kir/Projects/opensource/diesel_start)`, intermediate artifacts can be found at `/Users/kir/Projects/opensource/diesel_start/target`

Caused by:
  Could not compile `diesel_demo_step_3_pg`.

Caused by:
  process didn't exit successfully: `rustc --crate-name diesel_demo_step_3_pg src/lib.rs --crate-type lib -C opt-level=3 -C metadata=a7e40dfea0887d49 -C extra-filename=-a7e40dfea0887d49 --out-dir /Users/kir/Projects/opensource/diesel_start/target/release/deps --emit=dep-info,link -L dependency=/Users/kir/Projects/opensource/diesel_start/target/release/deps --extern dotenv=/Users/kir/Projects/opensource/diesel_start/target/release/deps/libdotenv-c0ef68bcfc5b2489.rlib --extern diesel_codegen=/Users/kir/Projects/opensource/diesel_start/target/release/deps/libdiesel_codegen-eefe7fa2e56aaa65.dylib --extern diesel=/Users/kir/Projects/opensource/diesel_start/target/release/deps/libdiesel-82ac424c6bfc818c.rlib -L native=/usr/local/opt/postgresql/lib` (exit code: 101)

Not sure if RUST_BACKTRACE=1 makes the output different.
I also tried grepping target/release/deps for !p.is_null() assertion but there was nothing.

What version of Rust are you running against?

Assuming the answer is stable 1.15.1, I found the assertion. Very unsure what it means though... Can you give the output of diesel print-schema perhaps?

$ rustc -vV
rustc 1.15.1
binary: rustc
commit-hash: unknown
commit-date: unknown
host: x86_64-apple-darwin
release: 1.15.1
LLVM version: 3.9

$ diesel print-schema
table! {
    posts (id) {
        id -> Int4,
        title -> Varchar,
        body -> Text,
        published -> Bool,
    }
}

I'm curious about how did you find the assertion.

I grepped the Rust source for assert!(!p.is_null. It's https://github.com/rust-lang/rust/blob/cfebdeaaccee40e060708d6b60c4abbe9edf72bb/src/libproc_macro/lib.rs#L156-L159 (which had no error message in 1.15.1).
I'd maybe give it a try on nightly. I'm unsure if this is an issue on our end or Rust's.

It works on nightly.

Thanks for your help! Should we close the issue?

I suppose so. I wish I could reproduce the issue locally. :\


Stop and not respond

VSCode Version: Code 1.5.2 (66f37fd2a99eb9d628dd374d81d78835b410c39b, 2016-09-12T13:30:03.456Z)
OS Version: Windows_NT ia32 10.0.14393

Steps to Reproduce:
1.when open the folder the VSCode is stop and not respond.
2.display in status bar this message "looking for css classes on the workspace".

@medoosama Does this reproduce? Could you attach a screenshot?

Could you in addition:

Run and paste here: code --list-extensions
If it reproduces consistently, try starting with: code --disable-extensions

I am facing the same issue, it gets stuck after status bar message looking for css classes on the workspace.
Disabling extensions fixes the problem. My list of exensions: abusaidm.html-snippets, donjayamanne.githistory, robertohuertasm.vscode-icons, xabikos.JavaScriptSnippets, zhuangtongfa.Material-theme, Zignd.html-css-class-completion

@mistryrakesh Could try uninstalling vscode-icons:
code --uninstall-extension robertohuertasm.vscode-icons
Does Code start with that extension removed?

Nope, that didn't help.
I noticed that I had a very large folder open (with around 17k files) which I believe was causing the problem. If I open a new instance of code using code --new-window it works just fine.

This is problem related to Zignd.html-css-class-completion extension.

Yes, removing the extension Zignd.html-css-class-completion now allows me open that folder. Thanks!

Tracked as Zignd/HTML-CSS-Class-Completion#12


Fix build-cache-http project for configuration cache

It looks like the only issue is extra parallelism of tasks.
HttpBuildCacheServiceErrorHandlingIntegrationTest.build cache is deactivated if response is not successful was failing since these two tasks run in parallel.

@bot-gradle test this

I've triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

I've triggered a build for you. Click here to see all failures if there's any.


3b+ dtoverlay issue

I am using a generic ST7789 display with a 3b+ and 32bit book worm. When I comment out "dtoverlay=vc4-kms-v3d" I get no hdmi output, but the display initializes with no desktop output. I uncomment it and I get hdmi output with desktop, but the lcd driver does not run
cmake -DST7789VW=ON -DGPIO_TFT_DATA_CONTROL=25 -DGPIO_TFT_RESET_PIN=27 -DGPIO_TFT_BACKLIGHT=18 -DSPI_BUS_CLOCK_DIVISOR=30 ..
# http://rptl.io/configtxt
# Some settings may impact device functionality. See link above for details

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

hdmi_force_hotplug=1

# Enable audio (loads snd_bcm2835)
dtparam=audio=on

# Additional overlays and parameters are documented
# /boot/firmware/overlays/README

# Automatically load overlays for detected cameras
camera_auto_detect=1

# Automatically load overlays for detected DSI displays
display_auto_detect=1

# Automatically load initramfs files, if found
auto_initramfs=1

# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2

# Don't have the firmware create an initial video= setting in cmdline.txt.
# Use the kernel's default instead.
disable_fw_kms_setup=1

# Disable compensation for displays with overscan
disable_overscan=1

# Run as fast as firmware / board allows
arm_boost=1

[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1

[cm5]
dtoverlay=dwc2,dr_mode=host

Is this an issue with book worm or am I just missing something?

I changed  dtoverlay=vc4-kms-v3d to dtoverlay=vc4-fkms-v3d and it seems to have fixed the issue.


Opening parenthesis not ending up in input field

I am honestly not sure whether this is an issue of select2, firefox or selenium. Any help in getting to the root of this is appreciated.
Scenario: I try to fill a select2 select-element with 'Thurgau (Schweiz)' from selenium. All text ends up in the input box except the opening parenthesis so what actually stands there is 'Thurgau Schweiz)'.
As I thought this may be an issue with webdriver, I added a Javascript keylogger to my page, which shows that all key events end up in the browser. I tried to debug select2 and jquery, but this is too much for me as I don't know much about javascript.

This is not an issue with Chromium.
select2 3.4.8
jquery 2.1.3
firefox 36.0.1
os: linux

I have a small reproducer here: https://github.com/rethab/select2-selenium-reproducer

Does this happen in newer versions of Select2?
3.5.2 or 4.0.0.

Happens with 3.5.2 as well.


Passage File Splitter

A function to split a single .tw(ee) file with multiple passages into separate files, each with their own passage.
I realize there's a few things that need to be done before this is possible, specifically #38. I'm just putting it here as a todo. Might tackle this myself at some point.

@rambdev - there's a python twee file splitter available at:
https://github.com/Joeyrsp/twee-tools/blob/main/split.py

The extension already has both filesystem capabilities and access to passage data. There's no need to involve extra python scripts into this.


[Mobile] Styles on mobile are broken

EPAM AI DIAL chat version
0.9.0
What happened?

Note: the issue is reproduced on Mobile only
Confidential information

[X] I confirm that do not share any confidential information

Verified on staging successfully


[ISSUE #4216] fix HmacSHA1 not available when use benchmark

Make sure set the target branch to develop
What is the purpose of the change
fix HmacSHA1 not available when use benchmark #4217
Verifying this change
cd benchmark
sh producer.sh

Coverage decreased (-0.1%) to 52.06% when pulling b4071ed025c92f4bcb361e14eaf24c9f46dffd90 on francisoliverlee:bugfix/04-27-fix-HmacSHA1-issue into 3cbb3b8ea5dc602dc4bbfda235a2def46e346eb7 on apache:develop.


Adjust dimensions to better support small devices in landscape

Make both the date and time picker look better in landscape on smaller devices (Nexus S, for example). While not a perfect solution, this addresses some of the concerns in #112, making the pickers at least usable on these devices, while keeping other screen sizes looking the same.
Date before:

Date after:

Time before:

Time after:

This looks great!
I'm going to try to test and merge this, this weekend.


Feature/pffile

WIP - Implementation for #7

@mhupman Thanks for your contributions.

The reports of our death have been greatly exaggerated.    https://github.com/ParsePlatform/parse-server

@gfosco Thanks! This project hasn't been in active development for some time now, and probably not in active use either. The Parse SDKs have seen many updates, and ReactiveCocoa is now on version 4 and uses Swift. All of these combined led me to the conclusion that it would be best to officially stop this project.


fix: docs parity matrices - fixed table styling in OSM docs, added missing addMarker contents in Mapbox docs

Summary
This PR adds two minor fixes:

adds a missing tick mark to addMarker parity matrix column in Mapbox docs
deletes a redundant column in OSM docs parity matrix comments table

Demo
N/A
Checklist:

[x] Documentation is up to date to reflect these changes
[x] Created Unit tests

Those changes are already in my PR https://github.com/openmobilehub/android-omh-maps/pull/99


DOC add new what's new section to the changelog

Adding a new section now that the release is done.
All existing PRs should move their changelog to this version now.

If we do a 0.3.1, it'd be cherry picking commits from main to 0.3.X, and curating a custom changelog for it (moving from 0.4 to 0.3.1 in this case). We wouldn't just pull everything from main anyway.


⚠ File access (beta) has degraded performance

In c96472c, File access (beta) (https://beta.fyle.uk/file/fish) experienced degraded performance:

HTTP code: 200
Response time: 2370 ms

Resolved: File access (beta) performance has improved in e56763c after 176 days, 13 hours, 14 minutes.


[ExtremeDownloadBridge] Added Bridge for ww1.extreme-d0wn.com

Goal for this bridge is to follow the episode publication of a TV show season while it's broadcasted on the TV.

Merged, thanks !


QEWD - Clinical Queries not hooked up

Clinical querying is not hooked up - Unable to perform clinical queries within the platform

thanks @dkryvosheya
Can you please split those out as separate issues, so we can manage & track them individually.
Thanks
T

@tony-shannon done, Tony

Many thanks @dkryvosheya

Is the clinical query function hooked up via the QEWD middleware, ready for Pulsetile yet?

Awaiting information from Dmitry. Skype is down today

Advanced search is done. Just clinical search to do now

Clinical Search is ready in the middle tier.  Looks like Christian sorted out the AQL parsing on Ethercis, so it appears to return expected results.  However, still awaiting the UI changes to make it send the correct request payload

@robtweed @dkryvosheya thanks for this, working as intended after review by PB/TS.


Allow compilers to define CSS rel values for uncompiled stylesheets.

When using an uncompiled stylesheet in a different language (such as
less) with an in-browser runtime, it may be important to have a specific
"rel" value. lessCSS's runtime looks for "stylesheet/less", and without
it, the files won't process.
Compilers can now provide an "uncompiled_css_rel" value that will be
used if the compiler matches the filetype and the file isn't being
compiled (due to PIPELINE* being turned off).

Nice, this would be really awesome.

Regarding #43, the logic should move to compressed.py and be a bit more straightforward.

I'm closing this one too, in favor of #64.


Fix: Remove conditions never evaluating to true

This PR

[x] removes conditions from .travis.yml which will never evaluate to true

Follows #222.

+1


Device not visible on BLE after power cycling

I am using a generic nRF51 board with the S110 softdevice.
The sketch works, I can access the device. But only until I cut power to the device.
The device is not visible on BLE anymore after power cycling. In other words, it "disappears" when I unplug and re-plug power. It cannot be found by the nRF Connect app anymore, until I upload (the same) sketch again from the Arduino IDE.
How could I debug this?

Actually turns out the whole sketch doesn't restart after power cycling; confirmed with the blink sketch. So this is probably an issue that belongs to https://github.com/sandeepmistry/arduino-nRF5 rather than here. Hence moving to https://github.com/sandeepmistry/arduino-nRF5/issues/252.


Draft Newsletter

Sending on Wednesday, August 8
-- call for speakers/judges Civic Camp
-- reminder about NDoCH
-- any brigade announcements

Closing - duplicate of 1089


Create Public Dune dashboard for TVL, DCV, more over time

Plots:

TVL,vs time

DCV, vs time

# datasets, vs time

# consumes, vs time

# LPs, vs time

DF Rewards dispensed, vs time (weekly)

TVL % daily growth, vs time

DCV % ""

# datasets % ""

# consumes % ""

# LPs vs time % ""

Other refs:

Roberto's 1yo Dune dashboards: 1, 2
Old Gdoc for ref
profile metric: sales revenue market#871
Track total data $ volume consumed / day, and total data $ volume bought / day: market#380

Am just digging further into this. Some things to note:

Dune does not support many chains
Dune does not allow for multi-chain querying
Dune does not allow for querying against GRT subgraphs

Good to understand.
Which means that Dune won't really work :/
Perhaps then explore 2-3 other options how we can do this. Leveraging py and js tools

Under the hood of dune is metabase, maybe we might use that too

As discussed, I started a PoC using pyscript
You can find the initial repo here.
I provided a summary in slack, and within the ticket.
https://github.com/oceanprotocol/df-issues/issues/77
We can follow up on this macro task in the future.


Docker - Tester

Docker that performs testing looks to be running on python 2.7. Please fix, or clarify that it is running on 3.6.

Looks to be related to us specifically requiring tensorflow ver 1.12
package                    |            build
---------------------------|-----------------
mock-2.0.0                 |           py27_0         100 KB
scandir-1.9.0              |   py27h14c3975_0          28 KB
intel-openmp-2019.1        |              144         885 KB
pytest-4.3.0               |           py27_0         346 KB
mkl-2019.1                 |              144       204.6 MB
traceback2-1.4.0           |           py27_0          30 KB
markdown-3.0.1             |           py27_0         105 KB
h5py-2.9.0                 |   py27h7918eee_0         1.1 MB
werkzeug-0.14.1            |           py27_0         419 KB
numpy-1.15.4               |   py27h7e9f1db_0          47 KB
keras-2.2.4                |                0           5 KB
attrs-18.2.0               |   py27h28b3542_0          49 KB
absl-py-0.7.0              |           py27_0         153 KB
tensorflow-1.12.0          |mkl_py27hc55d17a_0           4 KB

It was because I was using miniconda instead of miniconda3