ENH: Make default native resolution explicit

Sets the default value of volumetric references resolution to native.
Originally discussed in https://github.com/nipreps/niworkflows/pull/457#discussion_r375510227, looks it is needed.
Addresses poldracklab/fmriprep#2060 ~~https://github.com/poldracklab/fmriprep/issues/2000~~

With this change applied, the default BOLD outputs will now have the "res-native" identifier included in filenames.
I'm inclined to edit DerivativesDataSink to ignore this identifier, but open to any thoughts/concerns (cc @oesteban @effigies)

This looks fine, but I'm missing where it changes anything but filenames.

I'm inclined to edit DerivativesDataSink to ignore this identifier, but open to any thoughts/concerns

Check #334

@oesteban actually this shouldn't have much side effects, since the only timeOutputReferencesAction is used is for the user requested output spaces.
When we are adding internal spaces, we use the References

Check #334

that looks useful, but don't see how we can leverage it here - res-native isn't included in the source file, but rather in the provided space.

Also, I'm not convinced we should always drop the res-native bit. If there are other resolutions we might as well keep it. DYT?

I went back and forth here - ultimately I went with the route of least changes to the documentation. Do we want to make this explicit now (its been implicit for a long time) at the cost of renaming the expected output files?
If we have other resolutions, those others will have the res- fields included. It seems off to produce different filenames based on how many output spaces were requested

I'm also bouncing back and forth on this one. WDYT @effigies ?

I would tend to keeping it invisible.
res/den are only required to distinguish from another file. The goal of BIDS is not to put all relevant metadata in the file name but to help people quickly distinguish files. All other resolutions will have a res-* entity, so that seems fine.

great, thanks for the reviews!


User should be able to specify their own service account when doing cluster connect

Description
User should be able to specify their own service account when doing cluster connect.
We should be able to reuse service account (if it is there) and allow user to specify their own if needed.

One of the requirements comming from jira/@DuncanDoyle

Approved by @DuncanDoyle

I guess this is up to discussion but we need 2 new flags

Yep and I think it is an important discussion. Realistically the most secure way is loading it from the file, but we have JSON, env and properties file formats. It will be simple enough to load from JSON, I'm not sure about the others though.

Adding this to technical call next week

Tracked in jira


Unexpected character encountered while parsing value: <. Path '', line 0, position 0.

Hello,
i got always this error:
Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
below my sub
Could you help me?
Async Sub PolBotFiglio()
Dim retry As Boolean = True
While retry = True
    Try
        Dim io = Await BtClient.GetMeAsync()
        Dim result = Await BtClient.GetUpdatesAsync(offset2)
        Dim noff As Integer
        Dim Messaggio As String
        For Each m In result

            If m.EditedMessage Is Nothing Then
                If m.Message.Chat IsNot Nothing Then
                    Messaggio = m.Message.Text
                    If PrimoAvvio = False Then
                        HandleMessageFiglio(Messaggio)
                    End If
                    noff = m.Id
                    offset2 = noff + 1
                End If
            End If
        Next
        PrimoAvvio = False
        Thread.Sleep(20)
    Catch ex As Exception
        LogInfo( ex.Message)

        retry = True
    End Try
End While

@TERMI80 First, Use issue template.
Second, consider trying latest package version before reopenning the issue.

This is same one?
https://github.com/TelegramBots/telegram.bot/issues/357

@a-a-k Already fixed. Update to latest version.


C# extension not appearing to function properly

Issue Type: Bug
Well, my extensions do not seem to be functioning properly. Nothing in my workspace is functioning as it should and I have no idea why. I have re-installed everything 4 times but the problems still persist.
Please help.
Extension version: 1.17.1
VS Code version: Code 1.30.2 (61122f88f0bf01e2ac16bdb9e1bc4571755f5bd8, 2019-01-07T22:54:13.295Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2808)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
15.89GB (10.84GB free)

Process Argv

Screen Reader
no

VM
0%

@Vandermerwer any updates here ?

@Vandermerwer We haven't heard from you in a while so I'm going to close this issue. Feel free to respond if you are able to answer @akshita31 's question.

High, yeah, it's me again.
Sorry that I took so long to respond, and I don't even know if you are going to see this. But the problem is still there and it is making me worry a lot. Only one of the add-ons I have are functioning properly, the rest does not seem to work at all and I still have no idea how to fix it.
If you can help me, that would be really kind.

@Vandermerwer You haven't given us enough information to be able to help you:

What are you trying to do?
What is "not functioning properly"?

I'm just trying to program efficiently, because at the moment VS Code is not even showing errors in the code line. So I have to go to the corresponding software (Unity) then wait for the scripts to compile for Unity to tell me there's an error... VS Code used to show the error by underlining the line with a red "squiggly" line. But it doesn't do that anymore

The Error detection thingy (sorry for the bad descriptions) isn't working.

The other thing that isn't working is the "Shortcut" thingy, when one presses Ctrl + Space it usually displays an array of code options.

Sorry for the terrible descriptions, but I don't know how to put it any other way

@Vandermerwer We would need some information from your system in order to be ablt to diagnose further. In vscode can you do F1 --> Csharp: Start authoring a new issue on github and the paste the output from that here.
Also, please paste the output from your OmniSharp log

Issue Description
Steps to Reproduce
Expected Behavior
Actual Behavior
Logs
OmniSharp log
Post the output from Output-->OmniSharp log here
C# log
Post the output from Output-->C# here
Environment information
VSCode version: 1.31.0
C# Extension: 1.17.1
Dotnet Information
.NET Command Line Tools (2.1.101)
Product Information:
Version:            2.1.101
Commit SHA-1 hash:  6c22303bf0
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.17134
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\2.1.101\
Microsoft .NET Core Shared Framework Host
Version  : 2.0.6
Build    : 74b1c703813c8910df5b96f304b0f2b78cdf194d

Visual Studio Code Extensions

Extension
Author
Version

csharp
ms-vscode
1.17.1

csharpfixformat
Leopotam
0.0.78

docomment
k--kato
0.1.3

shader
slevesque
1.1.4

shaderlabvscodefree
amlovey
1.1.3

sublime-keybindings
ms-vscode
4.0.0

unity-code-snippets
kleber-swf
1.3.0

unity-debug
Unity
2.6.6

unity-tools
Tobiah
1.1.0

unity3d-pack
dimasalmaz
1.0.0

vscode-csharp-snippets
jorgeserrano
0.3.1

Wow, I'm so sorry for this

The OmniSharp log isn't displaying anything. What should I do?

Is it possible to share the project with us ?

Alternatively, can you try uninstalling and then reinstalling the extension?

It's an entire Game that I'm building, what should I share exactly?

I have uninstalled and re-installed everything completely 5 times already. This is why I really need help

Do you have any C# log in the same place you were looking for the "OmniSharp log" ?

Yes, but it's also not showing anything

Can you try installing the latest beta version. You can install it by following the instructions here.

Also, do you have ".Net Core" installed ?
I am asking because on my machine the dotnet info looks different:
 Version:   2.2.102
 Commit:    96ff75a873

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.17763
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\2.2.102\

Host (useful for support):
  Version: 2.2.1
  Commit:  878dd11e62

.NET Core SDKs installed:
  2.0.2 [C:\Program Files\dotnet\sdk]
  2.1.2 [C:\Program Files\dotnet\sdk]
  2.1.4 [C:\Program Files\dotnet\sdk]
  2.1.100-preview-007326 [C:\Program Files\dotnet\sdk]
  2.1.100 [C:\Program Files\dotnet\sdk]
  2.1.201 [C:\Program Files\dotnet\sdk]
  2.1.202 [C:\Program Files\dotnet\sdk]
  2.1.301 [C:\Program Files\dotnet\sdk]
  2.1.400-preview-009063 [C:\Program Files\dotnet\sdk]
  2.1.400-preview-009197 [C:\Program Files\dotnet\sdk]
  2.1.401 [C:\Program Files\dotnet\sdk]
  2.1.402 [C:\Program Files\dotnet\sdk]
  2.1.500-preview-009335 [C:\Program Files\dotnet\sdk]
  2.1.500-preview-009398 [C:\Program Files\dotnet\sdk]
  2.1.502 [C:\Program Files\dotnet\sdk]
  2.1.600-preview-009426 [C:\Program Files\dotnet\sdk]
  2.2.102 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.0.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.0.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

If not can you try installing .Net Core sdk from https://aka.ms/dotnet-download

Well I just did all that, and it still seems to be broken

That is really awkward.
Usually when the extension is able to start, we have an "Omnisharp log" channel in the output pane, with the output similar as shown below:

Are you saying that there is a pane with the OmniSharp log but it doesnt have anything in the output ?

Well, mine doesn't do that. I guess i'l have to completely re-install everything. If it's still not working than I'll come back to you

Well, unfortunately it did not work. I completely romoved VS Code from my
computer and did a complete re-install twice. And now it’s still broken,
and I have no idea ho to fix it.
On Mon, 11 Feb 2019 at 21:45, Akshita Agarwal<EMAIL_ADDRESS>wrote:

That is really awkward.
Usually when the extension is able to start, we have an "Omnisharp log"
channel in the output pane, with the output similar as shown below:
[image: image]
https://user-images.githubusercontent.com/12554141/52588927-76cd1c80-2df2-11e9-97ec-218b9e28598d.png
Are you saying that there is a pane with the OmniSharp log but it doesnt
have anything in the output ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/OmniSharp/omnisharp-vscode/issues/2812#issuecomment-462467362,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AkyvSk5tXAEqCyg9Rx_vkpNsOIOY0Di-ks5vMchsgaJpZM4aRClw
.

@Vandermerwer When did the problem start? Did you recently update the extension or vscode that triggered the problem

@Vandermerwer I'm sorry you're having difficulty "getting things to work", but we still don't have enough information to help you. Can you share a screenshot of what you're seeing and make sure the VS Code "Output" window is visible?

It started after I created a new user profile on my computer. I experienced
some severe problems with Microsoft Family features, but I managaed to fix
that. VS Code than started acting up, I did a complete re-install and it
worked fine again, then. VS Code then prompted a notification that the
OmniSharp extension isn’t working correctly (but it was) and that I need to
reload in order for it to function properly. After I reloaded, none of the
extensions worked anymore. And now I’m here
On Tue, 12 Feb 2019 at 00:54, Ravi Chande<EMAIL_ADDRESS>wrote:

@Vandermerwer https://github.com/Vandermerwer I'm sorry you're having
difficulty "getting things to work", but we still don't have enough
information to help you. Can you share a screenshot of what you're seeing
and make sure the VS Code "Output" window is visible?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/OmniSharp/omnisharp-vscode/issues/2812#issuecomment-462527981,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AkyvSt9P5svfnUkGM8hd-lgeMP4deR81ks5vMfSygaJpZM4aRClw
.

Please help me, I'm really getting desperate, my classes have started and I'm going to fall behind if I can't manage to fix the problem soon.

@Vandermerwer Please share your project and some screenshots of vscode with your OmniSharp log

Ok, please just clarify what you mean with "Share your project". What exactly should I upload?

The folder you are opening in vscode and trying to get intellisense

Well, I did another complete re-install. And the OmniSharp Log is showing text again. So I do think that it is all functioning again.
I'm so sorry that I was so much trouble, It's just that I had no idea why it was broken or why it seems to be working again. Guess I just had to re-install it 11 times.
Thanks for the help and sorry for the inconvenience.

@Vandermerwer Glad you got it working. I will close this issue now.


Problems with link between translated posts or pages

Setting Octopress
I've installed and configured Octopress as described at:

Initial setup
Basic Configuration

Installing octopress-multilingual
Then I've installed:
group :jekyll_plugins do
  gem 'octopress-multilingual'
end

I've run:
$ bundle
Using rake 10.4.2
Using RedCloth 4.2.9
Using blankslate <IP_ADDRESS>
Using hitimes 1.2.2
Using timers 4.0.1
Using celluloid 0.16.0
Using chunky_png 1.3.4
Using fast-stemmer 1.0.2
Using classifier-reborn 2.0.3
Using coffee-script-source <IP_ADDRESS>
Using execjs 2.5.2
Using coffee-script 2.4.1
Using colorator 0.1
Using multi_json 1.11.2
Using sass 3.4.16
Using compass-core 1.0.3
Using compass-import-once 1.0.5
Using rb-fsevent 0.9.5
Using ffi 1.9.10
Using rb-inotify 0.9.5
Using compass 1.0.3
Using tilt 2.0.1
Using haml 4.0.6
Using jekyll-coffeescript 1.0.1
Using jekyll-gist 1.2.1
Using jekyll-paginate 1.1.0
Using jekyll-sass-converter 1.3.0
Using listen 2.10.1
Using jekyll-watch 1.2.1
Using kramdown 1.8.0
Using liquid 2.6.3
Using mercenary 0.3.5
Using posix-spawn 0.3.11
Using yajl-ruby 1.2.1
Using pygments.rb 0.6.3
Using redcarpet 3.3.2
Using safe_yaml 1.0.4
Using parslet 1.5.0
Using toml 0.1.2
Using jekyll 2.5.3
Using jekyll-sitemap 0.8.1
Using json 1.8.2
Using octopress-deploy 1.2.2
Using octopress-hooks 2.6.1
Using octopress-escape-code 2.0.6
Using titlecase 0.1.1
Using octopress 3.0.0.rc.37
Using octopress-date-format 2.0.2
Using rubypants-unicode 0.2.5
Using octopress-filters 1.3.3
Using octopress-tag-helpers 1.0.4
Using octopress-include-tag 1.1.0
Using uglifier 2.7.1
Using octopress-ink 1.0.0.rc.48
Using octopress-return-tag 1.0.1
Using octopress-feeds 2.0.3
Using octopress-multilingual 1.2.0
Using octopress-paginate 1.1.2
Using rack 1.6.4
Using rack-protection 1.5.3
Using rdiscount 2.1.8
Using sass-globbing 1.0.0
Using sinatra 1.4.6
Using stringex 1.4.0
Using bundler 1.10.6

and configured _config.yml with Italian default language:
gems:
  - octopress-multilingual
lang: it

Setting octopress-multilingual
I've followed the Link between translated posts or pages section and I have sucessfully generated a translation_id for the about page and for a post.
It happens that in the about page:

{% translations page %} works as expected (OK)
{% translations post %} doesn't print nothing (OK)

in the italian post /_post/20150727-test.markdown and in the English post:

{% translations page %} doesn't print nothing with English post in /en/_post/20150727-test.markdown (BAD)
{% translations page %} doesn't print nothing with English post in /_post/en/20150727-test.markdown (BAD)
{% translations page %} works as expected (OK) with English post in /_post/20150727-test-with-a-suffix-to-distinguish-from-italian-post.markdown
{% translations post %} doesn't print nothing with English post in /en/_post/20150727-test.markdown (BAD)
{% translations post %} doesn't print nothing with English post in /_post/en/20150727-test.markdown (BAD)
{% translations post %} doesn't print nothing with English post in /_post/20150727-test-with-a-suffix-to-distinguish-from-italian-post.markdown (BAD)

so it seems:

{{ translations page }} always works for pages
{{ translations page }} works for posts if and only if translated post are in /_post/ directory
{{ translations post }} never works for both pages and posts.

Thanks,
Tarin

I've just deployed my octopress multilingual site at https://taringamberini.github.io and you can find my octopress site sources on the source branch at https://github.com/taringamberini/taringamberini.github.io/tree/source so you can see:

what I configured: looking to source code
why I configured it: looking to commits' message (I'm a fan of commit messages ).

I'm available for any questions or tests,
Tarin


Engagement and community building

Incorporate live polls or voting mechanisms for players to choose their favorite responses or to decide on the most pertinent issues raised during gameplay.
Set up forums or chat rooms where players can continue discussions after the game, share additional insights, or propose new card ideas.
Adapt the game for asynchronous play where players can make moves at their own pace, and discussions can unfold over extended periods, accommodating different time zones and schedules.

The first point you migth be able to achieve at playingcards.io Can you take a look there to see what is feasible with regards to live polls?


[WIP] Use RxJS for Component loading & aborting

By using a more Reactive Programming approach we can teardown our loader subscription & reduce any un-needed cpu overhead for components that have unmounted prior to fully loading.
An example of such a use-case would be in a chat client w/ some form of scroll virtualization. Where as the user scrolls up rapidly message-specific components may unmount before fully having the chance to load.
Another addition I'm thinking may be handy would be a way of tracking what components are already loading (LRU + Subjects?) so that duplicate components do not start two loaders in parallel.

Thanks, but I don't want to add a dependency on rxjs for this project.


Fix HTTPRequest status checks.

HTTPRequest used to have its own status variable but it would never be
updated since the status of the client would be used instead.
This caused potential crashes in some edge cases.
The status variable is now removed, and the client status is used in
checks instead.
Fixes #29746 .

Thanks!


update edge.md for fuzzy query

增加边查询时，模糊查询的说明

could u also add the doc in content/cn/docs/clients/restful-api/edge.md?  now the Chinese version doesn't update
so as the #184


Fizzy apply

Closes #112

Sorry. Fortgot about this patch. I will look into it.

Could you first resolve the conflicts? Strangely I am not able to resolve it using Github.

Could you first resolve the conflicts? Strangely I am not able to resolve it using Github.

Yes. i'll resolve conflicts and add more documentation about fuzzy patch.

The new documentation look good to me. Thank you!

Merged. Thx for the improvement. Could this something for the Wiki documentation?

We are using applyFuzzy in Bazel (see https://github.com/bazelbuild/bazel/issues/17897), but it's leading to a problem of applying a clean patch with multiple chunks: https://github.com/kythe/kythe/issues/5864
My debugging shows there is something wrong about calculating the defaultPosition at https://github.com/java-diff-utils/java-diff-utils/blob/281c073c56a0cd0052963562e007c51ce2994983/java-diff-utils/src/main/java/com/github/difflib/patch/Patch.java#L108-L115
Do I understand correctly that lastPatchDelta means the offset we should apply to the next delta after applying the previous one? If so it probably should not be lastPatchDelta = patchPosition - delta.getSource().getPosition(); since the new chunk could be smaller.
The problematic patch I encountered is:
--- src/include/souffle/utility/FileUtil.h
+++ src/include/souffle/utility/FileUtil.h
@@ -20,23 +20,16 @@
 #include <climits>
 #include <cstdio>
 #include <cstdlib>
-#include <filesystem>
 #include <fstream>
 #include <map>
-#include <optional>
 #include <sstream>
 #include <string>
 #include <utility>
 #include <sys/stat.h>

-// -------------------------------------------------------------------------------
-//                               File Utils
-// -------------------------------------------------------------------------------
-
 #ifndef _WIN32
 #include <unistd.h>
 #else
-#define NOMINMAX
 #define NOGDI
 #include <fcntl.h>
 #include <io.h>
@@ -44,11 +37,21 @@
 #include <windows.h>

 // -------------------------------------------------------------------------------
-//                               Windows
+//                               File Utils
 // -------------------------------------------------------------------------------

+#define X_OK 1 /* execute permission - unsupported in windows*/
+
 #define PATH_MAX 260

+/**
+ * access and realpath are missing on windows, we use their windows equivalents
+ * as work-arounds.
+ */
+inline int access(const char* path, int mode) {
+    return _access(path, mode);
+}
+
 inline char* realpath(const char* path, char* resolved_path) {
     return _fullpath(resolved_path, path, PATH_MAX);
 }


Automatic triggering leak sensors

7.6.2023 upgraded to latest version (i think, that was it 2.22.01). https://discord.com/channels/494922323518947329/909782180954267719/1116015504298094654
After that will two leak sensors trigger leak.  Both sensors in log have this:
16:37:21:800 ZCL attribute report 0x00xxxxxxxxx for cluster: 0x0000, ep: 0x01, frame control: 0x1C, mfcode: 0x115F
this one -> mfcode: 0x115F

another have only mfcode: 0x0000

Both sensors that triggered the alarm have this version:

The rest of the sensors have this version:

Is it same version, as in problem described here:
https://github.com/Koenkk/zigbee2mqtt/issues/12018

So I switched to  :stable version, where everything is ok.
Today upgraded to newest :stable version and problem is here again.
Same sensors now have version 0.0.0_0004

This is now in log:
2023-06-26T14:37:04.109459494Z 16:37:04:070 APS-DATA.indication srcAddr: 0x60d0, srcEp: 0x01 dstAddrMode: 2, profile: 0x0104, cluster: 0x0000, lqi: 255, rssi: -54
2023-06-26T14:37:04.109559419Z 16:37:04:070 	asdu: 1c5f11250a050042156c756d692e73656e736f725f776c65616b2e61713101ff42220121e50b03281b0421a84305211b0006240000000000082104020a21b3f4641001
2023-06-26T14:37:04.109580197Z 16:37:04:073 INSERT INTO resource_items (sub_device_id,item,value,source,timestamp) SELECT id, 'config/temperature', '2700', 'dev',<PHONE_NUMBER> FROM sub_devices WHERE uniqueid = '00:15:8d:00:02:4b:fc:e7-01-0500'
2023-06-26T14:37:04.109595159Z 16:37:04:078 [INFO] - No button map for: lumi.sensor_wleak.aq1, unicast to: 0x0000, endpoint: 0x01, cluster: BASIC (0x0000), command: 0x0A, payload: 050042156C756D692E73656E736F725F776C65616B2E61713101FF42220121E50B03281B0421A84305211B0006240000000000082104020A21B3F4641001, zclSeq: 37
2023-06-26T14:37:04.109610104Z 16:37:04:079 ZCL attribute report 0x00158D00024BFCE7 for cluster: 0x0000, ep: 0x01, frame control: 0x1C, mfcode: 0x115F
2023-06-26T14:37:04.109687733Z 16:37:04:080 	payload: 050042156c756d692e73656e736f725f776c65616b2e61713101ff42220121e50b03281b0421a84305211b0006240000000000082104020a21b3f4641001
2023-06-26T14:37:04.109706899Z 16:37:04:080 Websocket <IP_ADDRESS>:54604 send message: {"attr":{"id":"32","lastannounced":null,"lastseen":"2023-06-26T14:37Z","manufacturername":"LUMI","modelid":"lumi.sensor_wleak.aq1","name":"ZAPLAVA_sklep","swversion":"0.0.0_0004","type":"ZHAWater","uniqueid":"00:15:8d:00:02:4b:fc:e7-01-0500"},"e":"changed","id":"32","r":"sensors","t":"event","uniqueid":"00:15:8d:00:02:4b:fc:e7-01-0500"} (ret = 338)
2023-06-26T14:37:04.109725770Z 16:37:04:081 Websocket <IP_ADDRESS>:64638 send message: {"attr":{"id":"32","lastannounced":null,"lastseen":"2023-06-26T14:37Z","manufacturername":"LUMI","modelid":"lumi.sensor_wleak.aq1","name":"ZAPLAVA_sklep","swversion":"0.0.0_0004","type":"ZHAWater","uniqueid":"00:15:8d:00:02:4b:fc:e7-01-0500"},"e":"changed","id":"32","r":"sensors","t":"event","uniqueid":"00:15:8d:00:02:4b:fc:e7-01-0500"} (ret = 338)
2023-06-26T14:37:04.109748343Z 16:37:04:082 Websocket <IP_ADDRESS>:54604 send message: {"config":{"battery":100,"on":true,"reachable":true,"temperature":2700},"e":"changed","id":"32","r":"sensors","t":"event","uniqueid":"00:15:8d:00:02:4b:fc:e7-01-0500"} (ret = 167)
2023-06-26T14:37:04.109765603Z 16:37:04:083 Websocket <IP_ADDRESS>:64638 send message: {"config":{"battery":100,"on":true,"reachable":true,"temperature":2700},"e":"changed","id":"32","r":"sensors","t":"event","uniqueid":"00:15:8d:00:02:4b:fc:e7-01-0500"} (ret = 167)
2023-06-26T14:37:04.109781676Z 16:37:04:085 Websocket <IP_ADDRESS>:54604 send message: {"e":"changed","id":"32","r":"sensors","state":{"lastupdated":"2023-06-26T14:37:04.072","water":true},"t":"event","uniqueid":"00:15:8d:00:02:4b:fc:e7-01-0500"} (ret = 159)
2023-06-26T14:37:04.109797287Z 16:37:04:085 Websocket <IP_ADDRESS>:64638 send message: {"e":"changed","id":"32","r":"sensors","state":{"lastupdated":"2023-06-26T14:37:04.072","water":true},"t":"event","uniqueid":"00:15:8d:00:02:4b:fc:e7-01-0500"} (ret = 159)
2023-06-26T14:37:04.109812973Z 16:37:04:086 APS-DATA.request id: 171, addrmode: 0x03, addr: 0x00158d00024bfce7, profile: 0x0000, cluster: 0x0033, ep: 0x00 -> 0x00 queue: 3 len: 2 tx.options 0x04
2023-06-26T14:37:04.109827065Z 16:37:04:087 	asdu (length: 2): 2500
2023-06-26T14:37:04.269133352Z 16:37:04:109 rule event /config/localtime: 16:37:03.109 -> 16:37:04.108 (999ms)
2023-06-26T14:37:04.589127898Z 16:37:04:543 APS-DATA.confirm id: 171, status: 0x00 SUCCESS
2023-06-26T14:37:04.589242138Z 16:37:04:544 APS-DATA.confirm request id: 171 -> confirmed, timeout 369908479
2023-06-26T14:37:04.589261156Z 16:37:04:552 APS-DATA.indication srcAddr: 0x60d0, srcEp: 0x00 dstAddrMode: 2, profile: 0x0000, cluster: 0x8033, lqi: 255, rssi: -54
2023-06-26T14:37:04.589276249Z 16:37:04:553 	asdu: 2584
2023-06-26T14:37:04.589290471Z 16:37:04:553 APS-DATA.indication request id: 171 -> finished
2023-06-26T14:37:04.589304897Z 16:37:04:553 APS-DATA.request id: 171 erase from queue

Closing as not related to docker.


[Edit Profile] Users are not able to add any social network link to their profiles

Environment: Chrome 118.0.5993.118, Windows 11 22H2 build 22621.2428
Reproducible: always
Build found: 31.10.23
Preconditions
Website https://www.greencity.social/#/greenCity is opened in browser
User is logged in
Steps to reproduce

Go to 'My space' page
Click on 'Edit Profile' button
Scroll down to 'Linked social networks' section
Click on 'Add social network' button
Enter any link  e.g."https://www.instagram.com/patron_dsns/"
Click on 'Add' button
Click on 'Save' button

Actual result
The user remains on the "edit profile" page. The "save" button does not work. The link to the social network was not added to the profile.
Expected result
"My space page" has opened. The user sees the added link in the profile information.
User story and test case links
E.g.: "User story #3811

The reason for this bug is the transition from a city to a location with coordinates. After this was implemented everything works

The reason for this bug is the transition from a city to a location with coordinates. After this was implemented everything works

The bug is still reproducible and the button "save" doesn't work
Please look at the attached video
https://github.com/ita-social-projects/GreenCity/assets/140553661/584d9571-b333-4bf3-974e-ec5f9e6bf1e4


EUnit couch_changes_tests failing should_select_with_continuous test

Sometimes this test is failing. This is a new failure unseen prior to about 20 days ago. Feels like a regression.
Sample Log
  module 'couch_changes_tests'
    Changes feed
      Filter _selector
        couch_changes_tests:361: should_select_basic...[0.130 s] ok
        couch_changes_tests:375: should_select_with_since...[0.001 s] ok
        couch_changes_tests:390: should_select_when_no_result...[0.004 s] ok
        couch_changes_tests:401: should_select_with_deleted_docs...[0.010 s] ok
        couch_changes_tests:422: should_select_with_continuous...*failed*
in function couch_changes_tests:'-should_select_with_continuous/1-fun-0-'/1 (test/couch_changes_tests.erl, line 433)
in call from couch_changes_tests:'-should_select_with_continuous/1-fun-3-'/2 (test/couch_changes_tests.erl, line 432)
**error:{assertMatch,[{module,couch_changes_tests},
              {line,433},
              {expression,"Rows"},
              {pattern,"[ # row { seq = 10 , id = << \"doc8\" >> , deleted = false } ]"},
              {value,[]}]}
  output:<<"">>

Instances of failure (both Travis and Jenkins!)

https://travis-ci.org/apache/couchdb/jobs/240887629

https://couchdb-vm2.apache.org/ci_errorlogs/travis-couchdb-240887629-2017-06-08T17%3A55%3A58.796108/couchlog.tar.gz

https://travis-ci.org/apache/couchdb/jobs/245780770

https://couchdb-vm2.apache.org/ci_errorlogs/travis-couchdb-245780770-2017-06-22T13%3A19%3A26.993775/couchlog.tar.gz

https://builds.apache.org/blue/organizations/jenkins/CouchDB/detail/master/43/pipeline/47

https://couchdb-vm2.apache.org/ci_errorlogs/jenkins-couchdb-43-2017-06-29T00:26:42.153281/couchlog.tar.gz

https://travis-ci.org/apache/couchdb/jobs/248840743 (slightly different)
https://couchdb-vm2.apache.org/ci_errorlogs/travis-couchdb-248840743-2017-06-30T16%3A02%3A23.498816/couchlog.tar.gz

Different one above:
        couch_changes_tests:459: should_stop_selector_when_db_deleted...*failed*
in function couch_changes_tests:wait_finished/1 (test/couch_changes_tests.erl, line 827)
in call from couch_changes_tests:'-should_stop_selector_when_db_deleted/1-fun-0-'/1 (test/couch_changes_tests.erl, line 469)
**error:{consumer_died,
    [{module,couch_changes_tests},
     {line,829},
     {value,
         {assertion_failed,
             [{module,couch_changes_tests},
              {line,899},
              {value,deleted},
              {reason,"Received unexpected message"}]}}]}

coucld this be because the changes feed is no longer totally ordered?

nope, can't be that.

couch_changes_tests:422: should_select_with_continuous...[0.313 s] ok

Another instance of this today on master:

https://builds.apache.org/blue/organizations/jenkins/CouchDB/detail/master/47/pipeline/43

https://couchdb-vm2.apache.org/ci_errorlogs/jenkins-couchdb-47-2017-07-04T19:45:06.139489/couchlog.tar.gz

        couch_changes_tests:422: should_select_with_continuous...*failed*
in function couch_changes_tests:'-should_select_with_continuous/1-fun-0-'/1 (test/couch_changes_tests.erl, line 433)
in call from couch_changes_tests:'-should_select_with_continuous/1-fun-3-'/2 (test/couch_changes_tests.erl, line 432)
**error:{assertMatch,[{module,couch_changes_tests},
              {line,433},
              {expression,"Rows"},
              {pattern,"[ # row { seq = 10 , id = << \"doc8\" >> , deleted = false } ]"},
              {value,[]}]}
  output:<<"">>

And again:

https://travis-ci.org/apache/couchdb/jobs/250437167

@eiri spied on IRC that these failures both point to heartbeats showing up in the _changes feed, possibly unexpected ones. Good eye!
Yest case needing to be partially rewritten, perhaps?

@nickva do you think your checkin will resolve this?

@wohali yeah I think it should resolve it. Let's close it and then we can re-open it if we see it up pop up again.


Added my project Expanding Image Carousel  : for issue #1257

Title and Issue number
Expanding Image Carousel Project Addition.  Issue Number : #1257
Close #1257
Checklist:

[X] I have mentioned the issue number in my Pull Request.
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have created a helpful and easy to understand README.md

hello
please let me know if there is any issue with my pull request


No copy to clipboard option for an app download links

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to settings > about > app download links
Long press on any option

Expected Result:
it should show copy to clipboard option (same as mweb)
Actual Result:
not shoes app download links
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] iOS / native

Version Number: 1.2.69-2
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
https://user-images.githubusercontent.com/43996225/218225008-8cf46e3e-d146-4fd0-95b0-47a3f4f16c00.mp4
https://user-images.githubusercontent.com/43996225/218225015-a569d0d6-3d63-41e8-97c1-24d4215845c3.mp4
Expensify/Expensify Issue URL:
Issue reported by: @gadhiyamanan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1674743562705189
View all open jobs on GitHub

Triggered auto assignment to @sonialiap (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

I can reproduce the above behavior and can confirm that a long press on a link in mweb does copy the link to clipboard.

Triggered auto assignment to @Julesssss (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

I can reproduce it, but I don't think it's necessarily a bug that we should fix. It is expected that a long press on mWeb/web lets users copy the link, but on native mobile this is something we would need to manually implement.
Personally, I don't think it makes sense to do this as users have no indication that a long press would actually copy-to-clipboard. A better solution might be to show a 'Copy to clipboard' icon that does this, but again I don't think it's necessary.
@sonialiap what do you think?

I agree with you. While the two behaviors don't match, I don't think it's necessary to have it on the mobile app. The only use case I can think of for having it is if the user wants to share a download link with a friend. But if you want to share the app then there's a share function in the Andoid app store (not sure about the Apple app store) and if you click a link for the ios version that doesn't match your phone then the link is opened in a browser.
I'm not sold on this being a bug, imo it's more of a feature

I'm going to close this issue because @Julesssss and I don't think this is something that's broken and isn't a feature that is particularly useful on the mobile app


Tabs switch will lost data in context

Describe the bug
Switching tabs can lead to the loss of data in the context, such as the text within an  element. I suspect this might be due to the re-creation of the input element when switching tabs.
Reproduction
import {   Tabs, TabItem } from 'flowbite-svelte';
<div >
	<Tabs>
		<TabItem title="a" defaultClass="">
			<Input />
		</TabItem>
		<TabItem title="b" defaultClass="">
			<Input />
		</TabItem>
	</Tabs>
</div>

Flowbite version and System Info
System:
    OS: Linux 6.1 Debian GNU/Linux trixie/sid
    CPU: (16) x64 AMD Ryzen 7 1700 Eight-Core Processor
    Memory: 885.58 MB / 7.71 GB
    Container: Yes
    Shell: 5.2.15 - /bin/bash
  Binaries:
    Node: 20.10.0 - /usr/bin/node
    Yarn: 1.22.21 - ~/.npm/bin/yarn
    npm: 10.2.5 - /usr/local/bin/npm
    pnpm: 8.12.1 - ~/.npm/bin/pnpm
  npmPackages:
    @sveltejs/kit: ^2.0.0 => 2.0.0
    flowbite-svelte: ^0.44.20 => 0.44.20
    svelte: ^4.2.7 => 4.2.8
    vite: ^5.0.3 => 5.0.10

I'm encountering the same issue. It would be awesome to have an option where components either persist when switching tabs, or are destroyed (current behavior), depending on the user's preference. Both functionalities have their merits.
Workaround: I couldn't quickly figure out how to modify the Flowbite code to prevent the components from getting destroyed. However, thanks to shinokada's blog post (top contributor of flowbite-svelte): Creating a Svelte Tabs Component with Slot Props, there is Tab code that is easier to follow and modify to suit your needs. If you want to copy the styling of the flowbite tabs, take a look at the tailwindcss classes used here

use class:hidden='{!open}'  instand of {#if},maybe is a solution

I came across this issue while searching for a solution to this problem.
It seems that the implementation of this component differs a bit from what is implemented in the flowbite-react package.
I believe what @ywaby suggested would be a good solution for this case.
@shinokada I'm tagging you to check if a PR to address this issue is welcome or not.


Add public facing signURL() function to AWSClient

Clean up code path to generating signed URLs. See https://github.com/swift-aws/aws-sdk-swift/issues/73
let s3 = S3(.euwest1)
let url = "https://mybucket.s3.amazonaws.com/key/for/my/file"
let signedURL = s3.client.signURL(url: url, httpMethod: "GET")

If you're talking about the removal of public from signer, that is reverting the code to what it was at the point of the previous release. Making signer public was another way to give people access to signing urls, which in the end I decided against


Sanity Check- /resources/product-guides#platform-brochures

Hi Team,
I have noticed a few observations which are given below. Please look into the below and do the needful.
Reference Links:-
Franklin site:- https://main--aldevron--hlxsites.hlx.page/resources/product-guides#platform-brochures
Existing site:- https://www.aldevron.com/resources/product-guides#productsandservices

The Hower effect is missing the text. Please look into the below snap and do the needful.

Hi Kumaresan,
As discussed this is not an issue and designed for having consistent hover effect throughout website for all links.

As per the above thread, "designed for having consistent hover effect throughout the website for all links."
Hence closing the thread


Netkan file for Star-Trek Style Engines for KSPI

correct repository now

This is indeed the correct repository but you are still not adressing the original problem from https://github.com/KSP-CKAN/NetKAN/pull/831, namely that we do not currently index KSPI-Extended which is listed as a dependency for this mod.
To get the file working you need to:

remove the sss in the install stanza.
change the "x_netkan_license_ok": true to "license" : "CC-BY-NC-SA-4.0",

To get the PR merged you need to:

filter uneccessary files such as the temp .xslx file and preferably the 88x31.png
Add dependencies

The last stage is why this mod isn't already added since we do not index, nor can index KSPI-Extended at this time.

Thank you!
I had misunderstood the function of the dependency list then - I thought
that was for CKAN's internal dependency checking. Or do you mean that even
once I add the dependency, this will not be added until KSPI-Extended is
indexed (Freethinker told me he will take care of that once he has fixed
the various bugs still currently present to his satisfaction)?
On Sun, May 3, 2015 at 11:14 AM, Willhelm Rendahl<EMAIL_ADDRESS>wrote:

This is indeed the correct repository but you are still not adressing the
original problem from #831 https://github.com/KSP-CKAN/NetKAN/pull/831,
namely that we do not currently index KSPI-Extended which is listed as a
dependency for this mod.
To get the file working you need to:

remove the sss in the install stanza.
change the "x_netkan_license_ok": true to "license" :
"CC-BY-NC-SA-4.0",

To get the PR merged you need to:

filter uneccessary files such as the temp .xslx file and preferably
the 88x31.png
Add dependencies

The last stage is why this mod isn't already added since we do not index,
nor can index KSPI-Extended at this time.
—
Reply to this email directly or view it on GitHub
https://github.com/KSP-CKAN/NetKAN/pull/1128#issuecomment-98491373.

The dependency listing is used for CKAN to tell us which mods are required for this mod to work properly.
E.g. NearFutureConstruction depends on InterstellarFuelSwitch and CommunityResourcePack which means those dependencies must be fulfilled for the version of the game which the installation is attempted on.
When dependencies are fulfilled CKAN will install the mod and it's dependencies together, ergo a mod with unfillfilled dependencies will not be installed even if it is marked as compatible with a given version of KSP. A current example is MKS which is available for new versions of KSP but does not have the dependecy for an up to date FirespitterCore fulfilled and henceforth is not listed in CKAN for 1.0.x versions of the game.
Your mod depends on KSPI-Extended and since we currently don't have that indexed, due to lack of a standalone binary which does not require overwriting of KSPInterstellar files, your mods dependencies by definition cannot be fulfilled at this time.
I'm looking into the KSPI-E thread from time to time checking if the future full release is out yet but so far it isn't.

Seems we'll be able to add this soon :) https://github.com/KSP-CKAN/NetKAN/pull/1316


Chore/enforce codestyle

Suggestion to enforce coherent codestyle with isort, black and pre-commit
Two commits as of now

first one

the pipework for black, isort and pre-commit
requirements.dev.txt, to make sure everyone has the same tools installed
some minor fixes to devcontainer configuration
move from setup.cfg to pyproject.toml for configuration (black does not support setup.cfg)

second one, reformat code using black and sort imports

most notable is double quotes (black strictly double quotes), and max line width

TODO

add github action to test compliance

Do you want to add the Github action in this PR? Otherwise you can merge now and add that as a separate PR later.

Do you want to add the Github action in this PR? Otherwise you can merge now and add that as a separate PR later.

Let's merge.
Maybe update contribute guideline with instructions to install requirements.dev and install pre-commit hooks, is due too but that can come later.


Corrected Excel file extension

Corrected Excel file extension

Docs Build status updates of commit e2d2228:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/task-modules-and-cards/cards/cards-reference.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


the modal dialog or sheet is not centering properly when called from within a ShellRoute in a Flutter app

class NavigationDestination {
  const NavigationDestination({
    required this.route,
    required this.label,
    required this.icon,
    this.child,
  });

  final String route;
  final String label;
  final Icon icon;
  final Widget? child;
}

const List<NavigationDestination> destinations = [
  NavigationDestination(
    label: 'Home',
    icon: Icon(Icons.home),
    route: '/',
  ),
  NavigationDestination(
    label: 'Explore',
    icon: Icon(Icons.playlist_add_check),
    route: '/explore',
  ),
  NavigationDestination(
    label: 'AI',
    icon: Icon(Icons.air),
    route: '/ai',
  ),
  NavigationDestination(
    label: 'Settings',
    icon: Icon(Icons.settings),
    route: '/settings',
  ),

];

const shellNavigatorKey = ValueKey('_scaffoldKey');
final rootNavigatorKey = GlobalKey<NavigatorState>();

final appRouter = GoRouter(
  initialLocation: '/',
  navigatorKey: rootNavigatorKey,
  routes: [
    ShellRoute(
      parentNavigatorKey: rootNavigatorKey,
      builder: (BuildContext context, GoRouterState state, Widget child) {
        int currentIndex = destinations.indexWhere((destination) =>
          state.fullPath!.startsWith(destination.route));
        return RootLayout(
          currentIndex: currentIndex,
          child: child,
        );
      },
      routes: [
        GoRoute(
          path: '/',
          builder: (context, state) => const HomePage(),
        ),
        GoRoute(
          path: '/explore',
          builder: (context, state) => const SettingsPage(),

        ),
        GoRoute(
          path: '/ai',
          builder: (context, state) => const SettingsPage(),
        ),
        GoRoute(
          path: '/settings',
          builder: (context, state) => const SettingsPage(),
          routes: [
            GoRoute(
              path: 'appearance',
              builder: (context, state) => const ThemeScreen(),
            ),
          ],
        ),
      ],
    ),
    // Additional routes outside the shell can be defined here
  ],
);

I would expect the modal show as overlay and in the center of the screen , but not in the center of the child .

Hi @talpx0
Could you please provide a completed and minimal reproducible code sample that doesn’t include 3rd party plugins or complex production code? Also, please provide the output of flutter doctor -v as well. Thank you!
This may be related/similar to https://github.com/flutter/flutter/issues/146772.


Remove default clause of adau1361.cpp and use -Wswitch-enum to detect the coverage error.

We have two default clauses in the adau1361.cpp :
https://github.com/suikan4github/rpp_driver/blob/e94060e61d941552213ebe89a39de3b5745d2364/src/codec/adau1361.cpp#L97-L99
https://github.com/suikan4github/rpp_driver/blob/e94060e61d941552213ebe89a39de3b5745d2364/src/codec/adau1361.cpp#L133-L135
The purpose of these statements is to guard to the uncovered enum. On the other hand, the compiler can detect such an error. We should remove them and place the pragma.
// GCC/Clang : Promote the switch-enum warning to error.
// MSVC : ignored.
#pragma GCC diagnostic error "-Wswitch-enum"

It was merged to develop. Ready to release.


Create search query for generating top subject lines insight

In order to generate top subject lines insight, we need to have a query which searches the graph database in a way which returns information that we can parse to generate this insight.
It must be dependent on date range,

So for graph above, we should provide a company and date range, and it should give us all emails sent on that date with their subject and occurrence count.
Acceptance Criteria

Query for ArangoDB which when run, provides information necessary to generate top subject lines insight, with a time filter.

FOR occ IN occurrence FILTER (FOR vertex IN 1..1 INBOUND occ GRAPH "kgraph" FILTER [[vertex.name](http://vertex.name/)](http://vertex.name/) == @company RETURN 1) == [1] FILTER (FOR vertex IN 1..1 OUTBOUND occ GRAPH "kgraph" FILTER vertex.date == @date OR vertex.action == "email" RETURN 1) == [1, 1] RETURN (FOR vertex IN 1..1 OUTBOUND occ GRAPH "kgraph" FILTER vertex.subject != null RETURN {vertex, "occurences": 10})
works but ought to be tested

Runs in 7ms on my PC for a kgraph w/ 2700 edges.

Certainly fine for the KPI. No idea how this would scale in theory but not really worth trying to test rn - that's probably a future data engineer's problem.

FOR occ IN occurrence
FILTER (FOR vertex IN 1..1 INBOUND occ GRAPH "kgraph" FILTER vertex.name == https://github.com/Company RETURN 1) == [1]
FILTER (FOR vertex IN 1..1 OUTBOUND occ GRAPH "kgraph" FILTER vertex.date == @Date OR vertex.action == "email" RETURN 1) == [1, 1]
RETURN (FOR vertex IN 1..1 OUTBOUND occ GRAPH "kgraph" FILTER vertex.subject != null RETURN {vertex, "occurences": 10})


Sender needs ability to force routing

User Story:
As a Sender, I need the ability to force where my data goes to. Similarly, as an Engagement Team member, I need the ability to force where a sender's data goes to. That is, we need the ability, on the Sender side, to set routing regardless of any fields or values in the actual data being sent.
Description/Use Case
This feature is important to the ETOR project, to guarantee that the STLT lab ETOR receivers only get data from certain senders (ETOR TI).
Risks/Impacts/Considerations
Dev Notes:
Note that, currently, all filters are defined in the Receiver settings, not the Sender settings. The requirement here is to require routing, as part of the Sender's configuration.
This was a feature in the old pipeline, however, it wasn't a great implementation.   It was implemented as the routeTo URL parameter.   This is weak, because it depends on the Sender remembering to set it correctly.   Better is a routeTo-like-config, under our control.
Note that this could in the future be part of a route-not-read direct transmission feature.
Acceptance Criteria

[ ] We have a way, defined in the Sender's settings, to constrain the routing of data from a Sender
[ ] This routing is logged in the action_log table, and appears in the various submission history API queries, just like any other filtering.  (This will be tricky).   (I'm pretty sure this is missing from the routeTo URL parameter)
[ ] Do we even need the old routeTo URL parameter?  Implementing this in the Sender's configuration is a much better way to do this.  If we do need it, then obviously it should continue to work, and should work identically to how the settings-based implementation works.

This ticket is similar to https://github.com/CDCgov/prime-reportstream/issues/8586, however, whereas that ticket relates to RECEIVERS dictating what data they receive, this ticket is about SENDERS dictating who receives their data.

@jimmyfagan do you know if this ticket is ready for grooming?

@arnejduranovic @jimmyfagan can we icebox this ticket, sinc eit is out of scope of ELIMS?

Yea I would say so, topic-based routing I think makes this a lot less critical, so icebox until we have a stronger use case sounds good to me.


Update SiTcp.py

Increased buffer size of _tcp_readout to improve data throughput.

Coverage remained the same at 39.09% when pulling 30287d6578a5258310ce17be8d5dadec3f940d05 on MarcoVogt:patch-4 into 82c2902f2e0ff475a669c429303f908ff305ca72 on SiLab-Bonn:development.

Can you add upstream branch so that we can checkout?


Add a <range-input> WC.

Note: the 2 flipped ranges used in WebP options are problematic. Perhaps I should add <range-input reversed>?

How about we give range-input a left and right instead of min and max?

start and end (in case we ever add a vertical option).
Yeah, the flipping is something the component should do with it's internal range input, rather than flipping the <range-input> itself.

@jakearchibald @surma the implication being that min<max but start>end is fine?

Yep!

@jakearchibald  regarding the text field, I'd prefer to keep that separate from this component since it's hierarchically at the same level as a wrapping <label>. Should be easy to drive it using props+events, and that way we can have what I think seemed to be the implied "click to edit" text mode on that field, which wouldn't make much sense in a generic slider component.

Also, feels like valueDisplayPrecision should have a corresponding attribute. Maybe label-precision and labelPrecision (or is that confusing with <label>)?

Update: still fighting with TypeScript passively on this one. Hopefully will have a proper update tomorrow.

Which parts are causing issues?

ok. I think I have something working like you described. TBH I hate it, but this is where I was able to get to without resorting to as any in a myriad of places.

I agree it's reaching across a boundary, but I think the answer is to move
the custom element to a higher level.
On Tue, 18 Sep 2018, 21:20 Jason Miller<EMAIL_ADDRESS>wrote:

@developit commented on this pull request.
In src/components/Output/custom-els/RangeInput/index.ts
https://github.com/GoogleChromeLabs/squoosh/pull/136#discussion_r218428220
:

@@ -0,0 +1,148 @@
+import { bind } from '../../../../lib/util';
+import './styles.css';

+const RETARGETED_EVENTS = [

'input',
'change',

Yes. In this case the retargeting is pointless, but it invokes
this._update() on input and change.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GoogleChromeLabs/squoosh/pull/136#discussion_r218428220,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFtmiFYsC5Ck-DB6ENDehY-av9_1ArXks5ucPMygaJpZM4V4N5d
.

Merging #171


E0401:Unable to import ... - pylint linting output

Environment data

VS Code version: 1.20.0
Extension version (available under the Extensions sidebar): 2018.2.1
OS and version: macOS Sierra version 10.12.6
Python version (& distribution if applicable, e.g. Anaconda): Anaconda custom (64 bit) Python 3.6.4
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Relevant/affected Python packages and their versions:

Actual behavior
This program works fine from the command line.  I wrote this using the Python extension approx. 6 months ago on another mac.  I recently picked up this program again and it shows me the import errors as shown in the attached screenshot.  I know that it is pylint related.  I am also attaching my user settings and workspace settings screenshots
Expected  behavior
It should not show errors for import
Steps to reproduce:
See the screenshorts
Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
6,0,error,E0401:Unable to import 'vglabs_common'
7,0,error,E0401:Unable to import 'vglabs_anis'
8,0,error,E0401:Unable to import 'vglabs_brz'
10,0,error,E0401:Unable to import 'vglabs_inf'
11,0,error,E0401:Unable to import 'vglabs_mrp'
12,0,error,E0401:Unable to import 'vglabs_nmr'
13,0,error,E0401:Unable to import 'vglabs_op'
14,0,error,E0401:Unable to import 'vglabs_re'
15,0,error,E0401:Unable to import 'vglabs_ssk'
16,0,error,E0401:Unable to import 'vglabs_txc'
17,0,error,E0401:Unable to import 'vglabs_xrd'
##########Linting Output - pylint##########
No config file found, using default configuration
************* Module vglabs_uploader
6,0,error,E0401:Unable to import 'vglabs_common'
7,0,error,E0401:Unable to import 'vglabs_anis'
8,0,error,E0401:Unable to import 'vglabs_brz'
10,0,error,E0401:Unable to import 'vglabs_inf'
11,0,error,E0401:Unable to import 'vglabs_mrp'
12,0,error,E0401:Unable to import 'vglabs_nmr'
13,0,error,E0401:Unable to import 'vglabs_op'
14,0,error,E0401:Unable to import 'vglabs_re'
15,0,error,E0401:Unable to import 'vglabs_ssk'
16,0,error,E0401:Unable to import 'vglabs_txc'
17,0,error,E0401:Unable to import 'vglabs_xrd'
59,0,refactor,R0912:Too many branches (15/12)
107,0,refactor,R0912:Too many branches (15/12)
5,0,warning,W0611:Unused import psycopg2
XXX

Output from `Console` under the `Developer Tools` panel (toggle Developer Tools on under `Help`)

XXX

This is a common error that most people come across, please check stack overflow as per the issue template.
You have not installed pylint in the same environment that contains your python packages.
The environment selected in VS Code is displayed at the bottom left on the status bar of VS Code.
Again, please check stack over flow and the documentation on selecting an interpreter https://code.visualstudio.com/docs/python/environments#_choosing-an-environment

Hello Don,  Thanks for your quick response.  I did more work on this issues last night and it may not be a VSCode Python extension issue at all.  Rather, it seems like a 'pylint' issue.  I took out the VSCode environment from the equation and ran pylint from command line and got the same errors.  Please see below:
bharat:~/py_work/vglabs_uploader
→ pylint vglabs_uploader.py
No config file found, using default configuration
************* Module vglabs_uploader
E:  6, 0: Unable to import 'vglabs_common' (import-error)
E:  7, 0: Unable to import 'vglabs_anis' (import-error)
E:  8, 0: Unable to import 'vglabs_brz' (import-error)
E: 10, 0: Unable to import 'vglabs_inf' (import-error)
E: 11, 0: Unable to import 'vglabs_mrp' (import-error)
E: 12, 0: Unable to import 'vglabs_nmr' (import-error)
E: 13, 0: Unable to import 'vglabs_op' (import-error)
E: 14, 0: Unable to import 'vglabs_re' (import-error)
E: 15, 0: Unable to import 'vglabs_ssk' (import-error)
E: 16, 0: Unable to import 'vglabs_txc' (import-error)
E: 17, 0: Unable to import 'vglabs_xrd' (import-error)
R: 59, 0: Too many branches (15/12) (too-many-branches)
R:107, 0: Too many branches (15/12) (too-many-branches)

Your code has been rated at 5.25/10 (previous run: 5.25/10, +0.00)
bharat:~/py_work/vglabs_uploader
→
Would you have any idea on how to configure pylint correctly?  I am using Anaconda installer and there is just one conda environment.  I tried installing and uninstalling pylint both using conda and pip, but the error does not go away.
Apologies for hasty posting, I should have done the command line test before posting here.


Can't reuse configurations in configuration.yaml inherented from mac-zhou/midea-ac-py

Hi, mill1000. Thanks for your work!!! This fork works like a charm!
But I have a minor issue/question about the usage.
When I use mac-zhou's repo, I configure the items by modifying the configuration.yaml file like below:
climate:
  - platform: midea_ac
    host: <IP_ADDRESS>
    id:<PHONE_NUMBER>12345
    # v3 need token and k1(key)
    # token: ACEDDA53831AE5DC...(Length 128)
    # k1: CFFA10FC...(Length 64)

But after I uninstall mac-zhou's repo, and install your port. HA says that 'Platform support not supported'.

I know I can manually add the items in the GUI, but if possible I'd like to all the configurations just stay in one file.
So... any suggestions?

Sorry, the GUI is the only supported configuration method now.

Sorry, the GUI is the only supported configuration method now.

I see 😢 anyway, thanks for your replay.


RLC-824A not supported?

Describe the bug
I have 4 RLC-820As and 1 RLC-824A connect to RLN8-410 as my setpup. The 4 820As have absolutely no problem streaming on Home Assistant, but 824A just won't stream. I can see its entity and all, but when I click on the video it doesn't load.
Is this a configuration issue on my end or something else? I couldn't find any info on this issue as this camera is relatively new and not a lot of people seem to be using it at the moment.
To Reproduce
Add RLC824A (connected via NVR) to the device integration
Expected behavior
Being able to stream
Screenshots

Camera1-4 are RLC-820A and Camera5 is RLC-824A

RLC-824A doesn't load.

RLC-820A streams just fine.
Environment:
Please provide useful information about your environment, like:

Home Assistant: Latest
Camera model: RLC-824A
NVR model: RLN8-410
NVR firmware number: v<IP_ADDRESS>_22041117

Solved the issue thanks to https://github.com/fwestenberg/reolink_dev/issues/514
I had to change the streaming setting to the following on NVR's web configuration page:
Resolution: 2560*1440
Frame Rate: 25
Max Bitrate: 6144
Now all is good, I think this issue has something to do with h.264 vs h.265 but I'm not an expert.


[macOS] Share extension no longer working

@ShlomoCode Your first PR (#1739) works when share a file from Finder (or any other app) even when LocalSend was not started. However, now it doesn't seem to work (it requires LocalSend to be running).
After checking each PR again, I think that #1759 introduced this bug, but it's only the symptom that is visible. The root issue is that getPendingFiles() returns an empty list - I somehow fixed it by calling setupMethodCallHandler();  after getPendingFiles(). Can we remove getPendingFiles() because the files are currently correctly selected anyways?
Nvm, it doesn't seem to work in the latest commit even if I call setupMethodCallHandler afterwards.
Edit: To make debugging easier, you can call ref.notifier(httpLogsProvider).addLog('Pending files: $pendingFiles'); in init.dart file. The logs can be accessed in Settings > About > Debugging > HTTP Logs

Before #1759 (i.e. from #1750 up to #1759) file sharing didn't work at all, not even when the app is open, because the call to _methodChannel.setMethodCallHandler in getPendingStringsStream was canceled (replaced) the files stream handler.
As for the bug, I'm currently investigating it (using Xcode debugger and flutter debugger alternately).

@Tienisto From my observation, both through the debuggers and through adding logs in AppDelegate.swift and in macos_channel.dart, this is the order of events:

Preparation step: The main application is not running (important!).  The share extension saves the path into shared UserDefaults, and finish (ie lets macOS kill the share extension).
(Originally the share extension was also Launch the main application, I removed it for the benefit of debugging.)
Preparation step: Launch the main application

The native application has been initialized (applicationDidFinishLaunching)
It detects that there is a pending file
Calling channel?.invokeMethod("onPendingFiles", arguments: filePaths)
At this point, either the channel is not yet ready or setMethodCallHandler has not yet been called on the flutter side (more likely), so the message "onPendingFiles" is not received at all on the dart side! She just gets lost. You can see this by the fact that message [6] is not printed.
It assumes that the flutter side received the paths, and resets the UserDefaults
getPendingFiles is called
However, the UserDefaults are already reset in step 4, so getPendingFiles finds an empty array, and responds with an empty array (this is a mistake, it should not respond at all in case there is no pending file, but that is the situation at the moment)
Log in the dart part, prints every reading that is received actually

If I put step 3-4 within an asyncAfter of a few seconds, step 5 (getPendingFiles) is called without step 4 having reset the data, and so getPendingFiles responds properly with the stored file paths.
Alternatively, if the app is already running at the time of sharing, step 3 works as expected and the data is captured on the flutter side.
  In the UserDefaults there are 0 pending files. responding with them
flutter: [prefix]: [6]: dart side: method showLocalSendFromMenuBar called with arguments null
flutter: 2024-09-10 03:17:23.381242    [INFO] [Refena] ┌────────────────────────────────────────────────────────
flutter: 2024-09-10 03:17:23.381349    [INFO] [Refena]   Rebuild by [ViewProvider<ReceiveTabVm>] triggered by [ChangeEvent(ServerService)]
flutter: 2024-09-10 03:17:23.381414    [INFO] [Refena]  - Prev: Instance of 'ReceiveTabVm'
flutter: 2024-09-10 03:17:23.381472    [INFO] [Refena]  - Next: Instance of 'ReceiveTabVm'
flutter: 2024-09-10 03:17:23.381568    [INFO] [Refena]  - Rebuild (1): [ReceiveTab]
flutter: 2024-09-10 03:17:23.381581    [INFO] [Refena] └────────────────────────────────────────────────────────
flutter: 2024-09-10 03:17:23.385619    [INFO] [NetworkInfo] Network state: [<IP_ADDRESS>]
flutter: 2024-09-10 03:17:23.388725    [INFO] [Refena] ┌────────────────────────────────────────────────────────
flutter: 2024-09-10 03:17:23.388779    [INFO] [Refena]   Rebuild by [ViewProvider<ReceiveTabVm>] triggered by [ChangeEvent(LocalIpService)]
flutter: 2024-09-10 03:17:23.388802    [INFO] [Refena]  - Prev: Instance of 'ReceiveTabVm'
flutter: 2024-09-10 03:17:23.388816    [INFO] [Refena]  - Next: Instance of 'ReceiveTabVm'
flutter: 2024-09-10 03:17:23.388828    [INFO] [Refena]  - Rebuild (1): [ReceiveTab]
flutter: 2024-09-10 03:17:23.388837    [INFO] [Refena] └────────────────────────────────────────────────────────
flutter: [prefix]: [6]: dart side: method showLocalSendFromMenuBar called with arguments null
flutter: 2024-09-10 03:17:23.432289    [INFO] [NetworkInfo] Network state: [<IP_ADDRESS>]
flutter: 2024-09-10 03:17:23.433320    [INFO] [Refena] ┌────────────────────────────────────────────────────────
flutter: 2024-09-10 03:17:23.433371    [INFO] [Refena]   Provider initialized: [PurchaseService]
flutter: 2024-09-10 03:17:23.433385    [INFO] [Refena]  - Reason: INITIAL ACCESS
flutter: 2024-09-10 03:17:23.434617    [INFO] [Refena]  - Value: PurchaseState(prices: {}, purchases: {}, pending: false)
flutter: 2024-09-10 03:17:23.434645    [INFO] [Refena] └────────────────────────────────────────────────────────
flutter: 2024-09-10 03:17:23.434777    [INFO] [Refena] Action dispatched: [HomePage] -> [PurchaseService.InitPurchaseStream]
flutter: [prefix]: [6]: dart side: method showLocalSendFromMenuBar called with arguments null
flutter: 2024-09-10 03:17:23.466175    [INFO] [Multicast] Announce via UDP
flutter: 2024-09-10 03:17:23.691830    [INFO] [Refena] Connecting to Refena Inspector at [localhost]:9253 (inferred by platformHint = macOS)...
flutter: 2024-09-10 03:17:23.717897    [INFO] [Refena] Failed to connect to Refena Inspector.
Message from debugger: killed

I believe that onPendingFiles should only called from native side if getPendingFiles is called at least once from Dart. This way, we are sure that Dart is initialized and method channels are working.

So we don't need getPendingFiles and getPendingStrings, we just need setupStreams. But isn't there a more elegant solution?

I guess. I will work on this :)
Maybe there is a better solution, but I don't know

https://github.com/localsend/localsend/commit/cf48c539fdf36902329f450a8513ace25e9ec7f2

https://github.com/localsend/localsend/pull/1771


Output image

Hi,
I've trained my SRResnet on DIV2K and during testing I've tried SET14.
Here is my resulting image

My image is having this weird green/blue pixels  around sharp and bright regions.Is this because my model isn't working well or do i need to perform further processing on my output?
What do u suggest?

@sonal-bansal you should change your loss function, such that add the weight of Perception Loss

Hi,
I've trained my SRResnet on DIV2K and during testing I've tried SET14.
Here is my resulting image

My image is having this weird green/blue pixels around sharp and bright regions.Is this because my model isn't working well or do i need to perform further processing on my output?
What do u suggest?

hey，I have the same question，how do you handle it?


Hello world in nodejs

@emmaxdan corrected typos, next thing I would like to do it to run it together


Mission raw server callbacks nullptr check

Caught myself not checking for null callbacks again. Fixed that

@bazfp maybe you can rebase and force-push here?


While adding u div(u) piece to velocity advection term, don't

access fully covered boxes.

@asalmgren ready to merge whenever you have the time.


Plugin request for Buf Schema Registry: nanopb

Mandatory
Where is the source code for the plugin?
https://github.com/nanopb/nanopb
Optional
Does the plugin have a valid semver version?
No
What is the latest version, and where did you get this value from?
Latest version: 0.4.7
Source: Github tags
Does the plugin have a dependency on another plugin?
Don’t know
Does the output of this plugin depend on any other external libraries?
Don't know

What's the process with plugin requests once they have been accepted?
I was hoping to contribute support for this plugin and building the actual docker container seems straight forward as nanopb can be used as a normal protoc plugin, but I couldn't find any documentation on how to test new plugins (without having a private repository through an enterprise subscription).
Before I spend a lot of time digging through the source code or looking for documentation I thought it's easier to just ask for some instructions here.

We typically add the plugin as soon as we can, but we've been fairly heads down and this hasn't been prioritized.
Having said that, we do have a contribution guide and the process aims to be relatively straightforward.
The end goal is to package up a Docker container and there's plenty of examples in the plugins directory. The general heiarchy is ./plugins/<owner>/<name> and these will reflect the plugins that are ultimately available on https://buf.build/plugins.
Each plugin directory will have a version that corresponds to the upstream plugin version, in this case it appears to be 0.4.8.
Loosely, each of those directories will have at least (could be more depending on how the plugin is packaged):

.dockerignore
Dockerfile
buf.plugin.yaml

A simple example is this recent PR to add protocolbuffers/go version 1.34.0
https://github.com/bufbuild/plugins/pull/1209/files
But there's more involved examples.
Lastly, plugins can be tested in isolation with the following command:
make test PLUGINS="protocolbuffers/go:v1.34.0"

This builds and tests the Docker container against real protobuf files. It records a checksum of the output in the tests/testdata directory.
If you help me get together a Dockerfile to build a plugin I can hammer this out fairly quickly, or if you want to go through the entire process that's fine too. Hope this helps to get your started.

@mfridman, thanks so much for your support and sorry for making you repeat this information. My mistake was trying to build the plugin outside of this repository which led me down the rabbit hole of enterprise registries :)
I built an initial draft implementation in #1234.

Thanks for taking a stab at this, the team will take a look at this whenever we get a chance. Great job 🎉


HDFS data node hostname issue

Hi! We are using the hdfs service outside of the kubernetes cluster, so we are facing the HDFS data node host name issue.
Since the name node only return the internal data node hostname/ip to service outside the kubernetes cluster, so that external service cannot access to the data node through the hostname/ip. Can anyone help on this scenario? Thanks!

We don't have yet support for using hdfs outside kubernetes cluster. To do that, we should integrate the hadoop internals to kubernetes and this is not a direct task. We need to modify the hostname published by the datanodes, create a NodePort or Host port for each individual datanode, etc.
If you need to access hdfs from outside, you can try the httpfs service with a NodePort or even and Ingress.

The current chart for hdfs seems like only support to enable ingress or not.
I tried to upload a large file(4GB) to hdfs through nginx ingress to httpfs, the client always raise exceptions...
I've spent a lot of time to configure the nginx ingress to support large file uploading, to support transfer-encoding: chunked, but failed.
Finally I change the httpfs-svc.yaml to NodePort, and successfully uploaded the large file.


Optimize channels reducer to only update state when necessary

Summary
The channels reducer was often updating state when nothing had changed, causing significant selector recomputation.
This optimizes that by:

Checking if there were any changes before updating state
Using server provided timestamps or the last post timestamps for channel view actions

@jgilliam17 can you test that changing channels marks them unread correctly still and that manually marking channels as unread still works as expected?
Release Note

NONE

Thanks @jwilander
Tested manually, waiting for e2e report before approving.

Verified changing channels marks them as unread; no change in manually marking channels as unread - works as expected.

/e2e-test

Triggering e2e testing with options:
<nil>

@jwilander E2E report has more failures than master.
notable failures

7 tests failed in this profile/settings section while failing to find a button - Verify Accessibility Support in different sections in Settings and Profile Dialog
few more tests in quick switcher for also failing to find some elements.

@M-ZubairAhmed is going to take this over for me since I can't find the time to get to it

/update-branch

/update-branch

/e2e-test

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/169093

/update-branch

/e2e-test

Triggering e2e testing with options:
<nil>

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/170303

🧪 e2e test 🧪
https://automation-dashboard.vercel.app/cycles/b81b11ad-931a-43fa-bb9f-b4dce6eec0be

@M-ZubairAhmed the quick switcher test are still failing, I marked the ones that differs from master. Can you please take a look  🔍 . Thanks

reopened in https://github.com/mattermost/mattermost-webapp/pull/10828


How to set or use landmarks correctly ?

I tried to run it for the first time and it throws this in the console
Traceback (most recent call last):
  File "C:\Users\David\Desktop\pokeminerNcotme\landmarks.py", line 72, in query_location
    geo = nom.geocode(query=query, geometry='geojson').raw
AttributeError: 'NoneType' object has no attribute 'raw'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "worker.py", line 22, in <module>
    import config
  File "C:\Users\David\Desktop\pokeminerNcotme\config.py", line 187, in <module>
    LANDMARKS.add('Rice Eccles Stadium', hashtags={'Utes'})
  File "C:\Users\David\Desktop\pokeminerNcotme\landmarks.py", line 192, in add
    landmark = Landmark(*args, **kwargs)
  File "C:\Users\David\Desktop\pokeminerNcotme\landmarks.py", line 27, in __init__
    self.query_location(query)
  File "C:\Users\David\Desktop\pokeminerNcotme\landmarks.py", line 75, in query_location
    raise FailedQuery('Query for ' + query + ' did not return results.')
landmarks.FailedQuery: Query for Rice Eccles Stadium CiudadDelCarmen did not return results.

Config.py

# It is recommended to store the LANDMARKS object in a pickle to reduce startup
# time if you are using queries.
LANDMARKS = Landmarks(query_suffix=AREA_NAME)

# Landmarks to reference when Pokémon are nearby
# If no points are specified then it will query OpenStreetMap for the coordinates
# If 1 point is provided then it will use those coordinates but not create a shape
# If 2 points are provided it will create a rectangle with its corners at those points
# If 3 or more points are provided it will create a polygon with vertices at each point
# You can specify the string to search for on OpenStreetMap with the query parameter
# If no query or points is provided it will query with the name of the landmark (and query_suffix)
# Optionally provide a set of hashtags to be used for tweets about this landmark
# Use is_area for large neighborhoods or regions
# When selecting a landmark, non-areas will be chosen first if any are close enough
# the default phrase is 'in' for areas and 'at' for non-areas, but can be overriden for either.

# since no points or query is provided, the names provided will be queried and suffixed with AREA_NAME
LANDMARKS.add('Rice Eccles Stadium', hashtags={'Utes'})
LANDMARKS.add('the Salt Lake Temple', hashtags={'TempleSquare'})

# provide two corner points to create a square for this area
LANDMARKS.add('City Creek Center', points=((40.769210, -111.893901), (40.767231, -111.888275)), hashtags={'CityCreek'})

# provide a query that is different from the landmark name so that OpenStreetMap finds the correct one
LANDMARKS.add('the State Capitol', query='Utah State Capitol Building')

## area examples ##
# query using name, override the default area phrase so that it says 'at (name)' instead of 'in'
LANDMARKS.add('the University of Utah', hashtags={'Utes'}, phrase='at', is_area=True)
# provide corner points to create a polygon of the area since OpenStreetMap does not have a shape for it
LANDMARKS.add('Yalecrest', points=((40.750263, -111.836502), (40.750377, -111.851108), (40.751515, -111.853833), (40.741212, -111.853909), (40.741188, -111.836519)), is_area=True)

So that error occurs if it is unable to find the landmark on Nominatim/OpenStreetMap.
The reason the example landmark for Rice Eccles Stadium is failing is because LANDMARKS = Landmarks(query_suffix=AREA_NAME)  is appending your area name CiudadDelCarmen to all queries, and Rice Eccles Stadium doesn't exist there (it works if the area is set to Salt Lake City). So try it with a location that exists in the city you'll be scanning.
You will also want to either add spaces to your AREA_NAME ("Ciudad del Carmen"), or change the query_suffix in LANDMARKS = Landmarks(query_suffix=AREA_NAME) since OpenStreetMaps will likely be confused by the lack of spaces. query_suffixes can also be omitted altogether, but they are useful for helping Nominatim find the correct location (rather than a similarly named location in another city). You can also manually set the query for an individual landmark if the name you want to use for it is different from its name on OpenStreetmaps. As demonstrated here:
LANDMARKS.add('the State Capitol', query='Utah State Capitol Building')

If the item doesn't exist on OpenStreetMaps or has a different shape/location than you want to use, you can also manually define the points and it will skip querying Nominatim altogether, as demonstrated with these:
LANDMARKS.add('Yalecrest', points=((40.750263, -111.836502), (40.750377, -111.851108), (40.751515, -111.853833), (40.741212, -111.853909), (40.741188, -111.836519)), is_area=True)
LANDMARKS.add('City Creek Center', points=((40.769210, -111.893901), (40.767231, -111.888275)), hashtags={'CityCreek'})

If you provide one set of coordinates it will use that single point, two sets will create a rectangle with corners at those coordinates, and more than two will create a polygon with a corner at each point.
What I do is use a separate script to create all the landmarks and dump them to a pickle, which I load in my config. This lets me test the landmark queries without running the entire program and eliminates having to query on each startup. You can use this script to do that, and then replace all of the landmarks in your config with:
import pickle
with open('landmarks.pickle', 'rb') as f:
    LANDMARKS = pickle.load(f)


bug(MatVerticalStepper): Can't bind to [animationDuration] in vertical stepper.

Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
I'm unsure whether this is a bug or documentation error, but there's a whole section on it in the documentation here: https://material.angular.io/components/stepper/overview.  I saw a lot of traffic on the issue on #17130, seems like it was pushed back in march, so I'm not sure why I am having the problem.
I have confirmed that I have ReactiveForms loaded as that seems to be a dependency according to  StackOverflow.
Error message below:
Error: src/app/create-flow/create-flow.component.html:4:49 - error NG8002: Can't bind to 'animationDuration' since it isn't a known property of 'mat-vertical-stepper'.
1. If 'mat-vertical-stepper' is an Angular component and it has 'animationDuration' input, then verify that it is part of this module.
2. If 'mat-vertical-stepper' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the<EMAIL_ADDRESS>of this component to suppress this message.
3. To allow any property add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component.

Reproduction
Copied example from documentation,
ng serve
Expected Behavior
Runs as expected.
Actual Behavior
Fails on build.
Environment
@angular-devkit/architect       0.1303.9
@angular-devkit/build-angular   13.3.9
@angular-devkit/core            13.3.9
@angular-devkit/schematics      13.3.9
@angular/cdk                    13.3.9
@angular/cli                    13.3.9
@angular/fire                   7.4.1
@angular/material               13.3.9
@schematics/angular             13.3.9
rxjs                            7.5.6
typescript                      4.6.4

This is likely an issue on your end since the vertical and horizontal steppers are on the same class: https://github.com/angular/components/blob/main/src/material/stepper/stepper.ts#L126

Closing due to inactivity.


Relationship to do-expressions

The do expressions proposal is at Stage 1, and there are some serious concerns that some TC39 members have about it (especially about completion values). Does this proposal depend on do expressions? I don't see do expressions as part of the specification here. If there is no dependency, I'd suggest moving examples based on do expressions into a separate section, to make the lack of dependency clear.

Thanks for the read. I will see what I can do about isolating do-expression-using examples into their own subsections.
As for whether smart pipelines require do expressions, the answer is no, although they would be pretty nice. Pasting from https://github.com/tc39/proposal-pipeline-operator/issues/100#issuecomment-371548946:

@js-choi Does your proposal require do expressions in order to fully function?

It does not, insofar that “fully” functioning here indicates a minimum baseline of usefulness for the developer. do expressions are a Very Nice To Have thing because they enable the embedding of if else statements, try catch finally statements, and switch statements: all frequently involved in the transformation of values. In addition, do acts as a way to create a “topic-context block”, something like Perl 6’s given block—within this block, statements may use the topic reference may be used as an abbreviation for the same value—such as the new Whatever() |> do { #.commonThing(123); ::rareAndComplexThing(321); } example from https://github.com/tc39/proposal-pipeline-operator/issues/101#issuecomment-371528739). I would expect do expressions to be used as pipeline bodies so frequently, I also introduced Additional Feature BP as a compatible abbreviation for them. But Additional Feature BP is strictly optional.
do expressions are immensely useful, but they are useful in the same sense that embedding them in any nested expression in general is useful. The rules of topic style in the Core Proposal do not specially treat do expressions. do expressions are not necessary to the smart-pipelines proposal; they are additive and orthogonal.


COMP: Fix DCMTK unused CMake variable warning

PR Checklist

[X] :no_entry_sign: Makes breaking changes
[X] :no_entry_sign: Makes design changes
[X] :no_entry_sign: Adds the License notice to new files.
[X] :no_entry_sign: Adds Python wrapping.
[X] :no_entry_sign: Adds tests and baseline comparison (quantitative).
[X] :no_entry_sign: Adds test data.
[X] :no_entry_sign: Adds Examples to ITKExamples
[X] :no_entry_sign: Adds Documentation.

Refer to the ITK Software Guide for
further development details if necessary.

Do you get annoyed by Mac file format warning when compiling with DCMTK enabled?

I don't believe I have enchanted the "Mac file format warning". I was just addressing this warning:
https://open.cdash.org/viewBuildError.php?type=1&buildid=6275919

The error message looks like this:
In project ITKIODCMTKHeaderTest1, file C:\Dev\ITK-2019\Modules\ThirdParty\DCMTK\ITKDCMTK_ExtProject-build\config\include\dcmtk\config\arith.h, line 1: Warning C4335: Mac file format detected: please convert the source file to either DOS or UNIX format

@dzenanz What compiler are you using to get that message?
Looks like a format/encoding issue that should be address upstream in DCMTK.

This happens with VS 2019. I suspect that we need a newer version of DCMTK. I bet that this annoying warning has been addressed meanwhile.


Docx Merge with +++HTML

Hello i have used your docx-template to generate one file with data and for now it's working greate, since i have rich text fileds and it works greate with the +++HTML.
Now i need to generate one file but with multiple data,
for example i have generated a word file with data from one projet x.
now i need generate data for two projects, x and y, and i need them to be one word file.
Till now i have done that with using DocxMerger, but the problem is in the HTML fields or parts of the word template, i have duplicated data in the y project, to make it more simple data for the x project is good on the first page of the word file, but in the second page where i have data for project y, the part where we use +++HTML is bugged since it shows me the same data as the first page, means project x.
to be more clarified, i'm using this with salesforce :
data = response.getReturnValue();
const j = data.length;
  for (let i = 0; i < j; i++) {
                            console.log("this is i : " + i);
                           helper.createBlob(i,data,component,event, helper);
                        }
                         helper.waitUntil(() => helper.reportGlob[j - 1], () => {
                          var docx = new DocxMerger({}, helper.reportGlob);
                           docx.save('blob', function (data) {
                               saveAs(data, "output.docx");
                           });

So if i understand you correctly, the individual files you're trying to merge are correctly rendered by docx-templates?
In that case, you're best off asking the maintainers of DocxMerger first.
I have no idea what DocxMerger is or how it works, i'm afraid. If it doesn't play nice with embedded HTML, you'll likely get weird results.
Feel free to reopen if it turns out to be an issue with docx-templates.

@benhaddoureda when using +++HTML, the html content is embedded as .html files in the docx archive. These html files are transformed in docx xml tags the first time the docx file is opened. So when DocxMerge runs on your docx file, the html files have not yet been imported, and I guess that DocxMerger does not handle html files in docx archive.

thank you all for your response.
indeed im using +++HTML as this in a cell
+++HTML <meta charset="utf-8"> ${(Foncier.Commentaires__c != undefined ? Foncier.Commentaires__c : '')}+++
Foncier.Commentaires__c contains : Test commentaires HSE
when i remove the HTML part and i replace it by +++Foncier.Commentaires__c+++ i have the html part that shows up wich means that the data is correct.
Also when i use the docxmerger i always have an error when i try to open the word document "unreadable content..."
One more thing instead of merging the files (Blob) i download them all and it works fine, no errors
for(var k = 0; k < helper.reportGlob.length; k++){
var blob = new Blob([helper.reportGlob[k]], {type : 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'});
var url = URL.createObjectURL(blob);
var a = document.createElement("a");
a.href = url;
a.download = 'output.docx';
document.body.appendChild(a);
a.style = 'display: none';
a.click();
a.remove();
}
Do you guys have any idea how to merge these files before download without docxmerger?
Thank you all

@benhaddoureda i don't know anything about merging documents... However, you can take a look at using a FOR loop to template multiple documents in a single call to docx-templates at the same time.


Systems buckets permission error from community

With all-access token

influx auth create --all-access -o example
ID                      Description     Token                                                                                User Name       User ID       Permissions
0af8b494f7246000                        YGxuKBHhZzQS7Dwr49U9FBlVfVAxxgoFkr4D_T4RrpX1lhdjQr0ESMmZdOZIY6VFOzTB7dsEC-TKZyvFGWZxAQ==        admin           0ad3c91cacafc000       [read:orgs/b9701ceb087c8983/authorizations write:orgs/b9701ceb087c8983/authorizations read:orgs/b9701ceb087c8983/buckets write:orgs/b9701ceb087c8983/buckets read:orgs/b9701ceb087c8983/dashboards write:orgs/b9701ceb087c8983/dashboards read:/orgs/b9701ceb087c8983 read:orgs/b9701ceb087c8983/sources write:orgs/b9701ceb087c8983/sources read:orgs/b9701ceb087c8983/tasks write:orgs/b9701ceb087c8983/tasks read:orgs/b9701ceb087c8983/telegrafs write:orgs/b9701ceb087c8983/telegrafs read:/users/0ad3c91cacafc000 write:/users/0ad3c91cacafc000 read:orgs/b9701ceb087c8983/variables write:orgs/b9701ceb087c8983/variables read:orgs/b9701ceb087c8983/scrapers write:orgs/b9701ceb087c8983/scrapers read:orgs/b9701ceb087c8983/secrets write:orgs/b9701ceb087c8983/secrets read:orgs/b9701ceb087c8983/labels write:orgs/b9701ceb087c8983/labels read:orgs/b9701ceb087c8983/views write:orgs/b9701ceb087c8983/views read:orgs/b9701ceb087c8983/documents write:orgs/b9701ceb087c8983/documents read:orgs/b9701ceb087c8983/notificationRules write:orgs/b9701ceb087c8983/notificationRules read:orgs/b9701ceb087c8983/notificationEndpoints write:orgs/b9701ceb087c8983/notificationEndpoints read:orgs/b9701ceb087c8983/checks write:orgs/b9701ceb087c8983/checks read:orgs/b9701ceb087c8983/dbrp write:orgs/b9701ceb087c8983/dbrp read:orgs/b9701ceb087c8983/notebooks write:orgs/b9701ceb087c8983/notebooks read:orgs/b9701ceb087c8983/annotations write:orgs/b9701ceb087c8983/annotations read:orgs/b9701ceb087c8983/remotes write:orgs/b9701ceb087c8983/remotes read:orgs/b9701ceb087c8983/replications write:orgs/b9701ceb087c8983/replications]

influx bucket ls -t
ID                      Name                    Retention       Shard group duration    Organization ID         Schema Type
af78a3123d4bf8af        _monitoring             168h0m0s        24h0m0s                 b9701ceb087c8983        implicit
e0a65d9f25bafb31        _tasks                  72h0m0s         24h0m0s                 b9701ceb087c8983        implicit
8f4f63ed110931cf        example-bucket   168h0m0s        168h0m0s                b9701ceb087c8983        implicit
With read (all) buckets token I can view only user bucket

influx auth create --read-buckets -o example
ID                      Description     Token                                                                                User Name       User ID       Permissions
0af8b54787646000                        qq9aPwR9suwsSwlqIqIrvhVitYy-IYeTCdf0Mas0ljSKRevBeoEdvBjTMl-Hej3bW2sawRpgq53gMdKkEuVrCA==        admin           0ad3c91cacafc000       [read:orgs/b9701ceb087c8983/buckets]

influx bucket ls -o example -t qq9aPwR9suwsSwlqIqIrvhVitYy-IYeTCdf0Mas0ljSKRevBeoEdvBjTMl-Hej3bW2sawRpgq53gMdKkEuVrCA==
ID                      Name                    Retention       Shard group duration    Organization ID         Schema Type
8f4f63ed110931cf        example-bucket   168h0m0s        168h0m0s                b9701ceb087c8983        implicit
It also does not work when granting permission only to _monitoring bucket.

influx auth create --read-bucket af78a3123d4bf8af -o example
ID                      Description     Token                                                                                User Name       User ID       Permissions
0af8b61e30246000                        akIOi3WQXaamGyb9CQ0zKSvFwVLss3J0udShwh5GK0myzvJAwUfbVJI1ng5duZ9E0glmvwpG-IyU8GkYsqYAzQ==        admin           0ad3c91cacafc000       [read:orgs/b9701ceb087c8983/buckets/af78a3123d4bf8af]

influx bucket ls -o example -t akIOi3WQXaamGyb9CQ0zKSvFwVLss3J0udShwh5GK0myzvJAwUfbVJI1ng5duZ9E0glmvwpG-IyU8GkYsqYAzQ==
ID      Name    Retention       Shard group duration    Organization ID Schema Type

They're using InfluxDB OSS 2.6.1.
https://community.influxdata.com/t/system-buckets-permissions/29308
Thank you!

Just ran into this today. My DOCKER_INFLUXDB_INIT_ADMIN_TOKEN cannot access _monitoring. I wonder if this is also why the _monitoring bucket is empty? I had to manually set up a scraper for it and put it into a different bucket.

Is there any plan on fixing this issue? Seems have been opened for 18 months and isn't even assigned to anyone. I can confirm the bug still exists in OSS 2.7.4


Page Replacement Algorithm

💥 Proposal
I propose to add the page replacement algorithm to the codebase. I will use a greedy approach for the same in CPP language.
Please assign me this issue as a part of GSSOC'21.
Thanks
Have you read the Contributing Guidelines on Pull Requests?
Yes

/assign


Pod spec incorrect

Read me advises pod version as

pod 'SignalRSwift', '~> 2.0.3'

However running pod search SignalRSwift returns
SignalRSwift (2.0.2)
A SignalR client library for iOS written in Swift
pod 'SignalRSwift', '~> 2.0.2'

Homepage: https://github.com/AutosoftDMS/SignalR-Swift
Source:   https://github.com/AutosoftDMS/SignalR-Swift.git
Versions: 2.0.2, 2.0.1, 2.0.0, 1.0.8, 1.0.7, 1.0.6, 1.0.5, 1.0.4, 1.0.3, 1.0.1, 1.0 [master repo]

Sorry, the pod spec is actually correct. The documentation is wrong. I just updated it. Thanks!


Why getValidationResult doesn't reject the Promise when it has an error?

I can't understand the purpose of doing:
req.getValidationResult.then((results) => {
  if (!results.isEmpty()) {
    // Error
  }
});

Why this method exists (.isEmpty)? Isn't better to reject the promise, then I can get the error at the .catch? .then for me means that everything occurs okay.

This was done this way to achieve consistency with the sync API req.validationErrors(), which doesn't throw if you have errors, but just return them.
Actually, the method name says "get validation result", so I would expect it to throw only if something wrong happened while retrieving the validation result... don't you?
I could definitely add another method to handle the scenario you detailed, if we can find a meaningful name.

BTW, you could do something like the following, which will allow you to deal with the errors in the catch of the promise:
req.getValidationResult().then( result => result.throw() ).then( () => {
  req.send( "success!" );
}, e => {
  req.status( 400 ).json( e.array() );
})

Well, that's my particular opinion. I'd like if we don't need this verification statement. That's very useful if we're using async/await too.
A good name for a new method would be: 'isValid'. So: 'Is valid? Then do this'.

        .then((result) => {
            if (result.isEmpty())
                return '';
            else
                throw new Error(result.array().map((item) => item.msg).join('|'));
        })
       .catch((error)=>response.status(400).json({message:error.message.split('|')}));

Hello folks, v4.0.0 has finally been released.
It brings a new API collection called the check API, which includes a function called validationResult(req), which returns the same interface you were used to, but fully synchronous.
Its usage probably solves the discussion here :)
Don't forget to check the README for complete docs and the upgrade guide for version 3 users.


Update editions-and-components-of-sql-server-2016.md

SQL Server Standard is NUMA aware, this page should mention that fact, but also the fact that SQL Server Standard licensing (and CAL, too) may affect the number of processors available for use.

@SQLRockstar - thank you for your submission. Reviewing.

Microsoft authors of articles need to make updates through the private repository so the updates can be staged and validated by the current validation rules. After you review staging and fix all validation issues, you can add the sign-off comment to let the PR reviewers know the updates are ready to be merged.It's easy to access the private repo version of your articles in GitHub. Just add -pr to the URL, as follows:
Public repo URL: https://github.com/Microsoft/azure-docs/blob/master/articles/azure-portal-overview.md
Private repo URL: https://github.com/Microsoft/azure-docs-pr/blob/master/articles/azure-portal-overview.md
We have closed this pull request. Please resubmit the updates through the private repo. If you need perms to the private repo, see the contributor guide instructions

@SQLRockstar - thanks again or the submission. We're publishing it today through our private repository.