Update nf-fileapifromapp-createfilefromappw.md

Attempt at fixing the hyperlink of CreateFile (used to link to CopyFileA). I'm not entirely convinced this is eventually going to refer to the URL of the published documentation. Please double-check.

@tim-weis : Thanks for your contribution! The author(s) have been notified to review your proposed change.

The published documentation still has the hyperlink pointing to CopyFileA rather than CreateFileW. Has the change not yet been published, or is something else going on here?

There are sometimes hiccups between the public/private repo sync and the publishing pipeline. The time for a change to go live can sometimes vary between several minutes or hours. Sometimes there are issues that take a couple of days. I'll check with our team's build contact to make sure there isn't a problem.

Things have finally updated in the public documentation, and things are looking as intended.


tusen's AI day

Hello, I would like to ask, is there a video of tusen's AI day? I didn't watch it in the live broadcast before

Hi, thanks for your interest. The video of Tusen AI Day is release on our public wechat: https://mp.weixin.qq.com/s/scPZ2D77sBwScz250sbz3w .

OK, thanks


login page should explain the benefits of signing up

Something as simple as "Signing up will allow you to edit commissioner and committee information and to submit ANC documents"

Closing this as won't fix for now as we are redirecting new development to a more slimmed down version of the app.


[wordcount] Feature request: Add character count

When writing articles, sometimes there is a character limit instead of a word limit. Thus, it would be nice to have the wordcount filter additionally output the character count (probably with and without spaces).

I do have a patch available that does this for regular text. However, I am a bit uncertain how to approach the code part. (I personally don’t need it, but since the original filter also counts words in code, it would be desirable to do the same for the character count.) Especially when counting characters including spaces, this is tricky b/c of indentation. Should the character count ignore leading (and trailing) whitespace and only count spaces between characters?
If helpful, I could start a pull request with that I have, and maybe someone has ideas about the code-specific part?

I'm still to encounter a situation where counting the
non-blank UTF-8 grapheme clusters in Pandoc's plain
output doesn't give me a close enough estimate, so if you
have perl 5.14 or later installed just do this:
pandoc -w plain input.md | perl -CADS -0777 -nE'say
scalar(@cc = /(?=\S)\X/g)'

If you need to get an estimate which includes the 'actual'
blanks between words you can use a negative lookahead for
more than one blank instead of the positive lookahead for a
non-blank:
pandoc -w plain input.md | perl -CADS -0777 -nE'say
scalar(@cc = /(?!\s{2})\X/g)'

If you are worried about URLs in the text skewing the count
too much you can use a small Pandoc filter which replaces
links with their text and removes images:
function Link (l) return l.content end
function Image () return {} end

This removes captions as well, but since some characters
which don't count towards the effective character count are
counted it usually events out.
An alternative is to return the content for images too,
but this will include alt texts which aren't captions.
Do what works best in your case.
The kind of text where you are under character count
pressure rarely contain a lot of links so it kind of evens
out anyway.
If you want to count only the letter and number characters
you can use a positive lookahead for such
characters:
pandoc -w plain input.md | perl -CADS -0777 -nE'say
scalar(@cc = /(?=[\pL\pN])\X/g)'

Counting UTF-8 "words" can be done by changing this into a
pattern which matches sequences of "word"
characters:
pandoc -w plain input.md | perl -CADS -0777 -nE'say
scalar(@wc = /(?:(?=[\pL\pN])\X)+/g)'

Finally if the publisher are so stupid that they count
combining marks as separate characters just replace
/(?=\S)\X/g with /\S/g (and so on), possibly
[\pL\pN] with [\pL\pN\pM].
However since in the real world publishers probably go
by the character/word count as shown by Word chances are
that converting to DOCX and see what counts Word or
LibreOffice gives is the most "reliable".

Sure, I could do all that in perl regex, but since there’s already the filter, I thought I could get around remembering/noting all those regexes and just do pandoc --lua-filter wordcount.lua input.md and be done. And I do have a version that works for my purposes, which I would be willing to share. But since it deviates from the original filter in handling code (which I do not need), I brought it up.
Thanks for listing all the regexes, though!

-- counts words in a document

words = 0
chars = 0

wordcount = {
  Str = function(el)
    -- we don't count a word if it's entirely punctuation:
    local s = el.text:match("%P")
    if s then
        words = words + 1
        chars = chars + #s
    end
  end,

  Code = function(el)
    el.text:gsub("(%S+)",
      function(s)
        words = words + 1
        chars = chars + #s
      end)
  end,

  CodeBlock = function(el)
    el.text:gsub("(%S+)",
      function(s)
        words = words + 1
        chars = chars + #s
      end)
  end
}

function Pandoc(el)
    -- skip metadata, just count body:
    pandoc.walk_block(pandoc.Div(el.blocks), wordcount)
    print(words .. " words, " .. chars .. " characters in body")
    os.exit(0)
end

Tried this, but it didn't quite work (character count not accurate -- not sure why).
By the way, are you looking for a character count including spaces?

Here’s my current version:
-- counts words in a document

words = 0
characters = 0
characters_and_spaces = 0

wordcount = {
  Str = function(el)
    -- we don't count a word if it's entirely punctuation:
    if el.text:match("%P") then
        words = words + 1
    end
    characters = characters + utf8.len(el.text)
    characters_and_spaces = characters_and_spaces + utf8.len(el.text)
  end,

  Space = function(el)
    characters_and_spaces = characters_and_spaces + 1
  end,

  Code = function(el)
    _,n = el.text:gsub("%S+","")
    words = words + n
  end,

  CodeBlock = function(el)
    _,n = el.text:gsub("%S+","")
    words = words + n
  end
}

function Pandoc(el)
    -- skip metadata, just count body:
    pandoc.walk_block(pandoc.Div(el.blocks), wordcount)
    print(words .. " words in body")
    print(characters .. " characters in body")
    print(characters_and_spaces .. " characters in body (including spaces)")
    os.exit(0)
end

I noticed that the string length in lua actually counts bytes, so it’s inaccurate with multi-byte characters. I used utf8.len() instead, which seems to work better.
I also need to get character count including spaces because this is often the relevant metric for publishers or other authorities.
My version just currently ignores code when determining the character count, because I was not sure about how to implement it, both technically and conceptually.

@frederik-elwert wrote:

Code = function(el)
  _,n = el.text:gsub("%S+","")
  words = words + n
end,

Maybe it's better to make the gsub nondestructive by using "%0" as the replacement, in case someone runs another filter after this one or actually saves the output.

I noticed that the string length in lua actually counts bytes, so it’s inaccurate with multi-byte characters. I used utf8.len() instead, which seems to work better.

That's exactly why I have been preferring those Perl oneliners (the -CADS option turns on UTF-8 mode). I haven't been aware of utf8.len or at least it hadn't occurred to me that it could be used this way.
This is a very important improvement!

My version just currently ignores code when determining the character count, because I was not sure about how to implement it, both technically and conceptually.

Why not just utf8.len(code.text)? It may overshoot the mark by counting more whitespace than there eventually will be in a DOCX file for example, but that's certainly better than a too low count.

Maybe it's better to make the gsub nondestructive by using "%0" as the replacement, in case someone runs another filter after this one or actually saves the output.

But the result is only stored in a dummy variable _, so I guess it’s just discarded anyway and does not change the AST?

Why not just utf8.len(code.text)? It may overshoot the mark by counting more whitespace than there eventually will be in a DOCX file for example, but that's certainly better than a too low count.

Right, I did that now.
I created a pull request, so maybe we can discuss remaining issues with the code there.

Thanks, I accepted the PR, but obviously if anyone has further comments about the proposal, feel free to speak up.


Testing-sdk-changes

https://github.com/IBM/ibmcloud-volume-vpc/pull/41 - Using this PR, hence closing this one.


Vanilla-VAE and usage of kld_weight

Hi @AntixK
Many thanks for this great effort.
Based on my understanding so far the original VAE does not talk about weighing the kl_divergence_loss. Later beta-vae and many other papers made the case of weighing the kl_div (and essentially treat it as a hyper-parameter).
In your implementations, I see that you consistently use kld_weight = kwards['M_N'] = batch_size/num_of_images.
Is this a norm to select the weight for kl_div loss using the ratio of batch size and a number of images?
Since in the original VAE paper no weighing was done is it okay to use it in vanilla_vae.py?
Regards
Kapil

It is just the bias correction term for accounting for the minibatch. When small batch-sizes are used, it can lead to a large variance in the KLD value. But it should work without that kld_weight term too.


Removed unused local variables that skipped by in the review process

Change-Id: I67687e24842cd0ee724fedccb7c11540958f4b74

Codecov Report

Merging #588 into master will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #588   +/-   ##
=======================================
  Coverage   54.10%   54.10%
=======================================
  Files         331      331
  Lines       57734    57732    -2
=======================================
  Hits        31235    31235
+ Misses      26499    26497    -2

Impacted Files
Coverage Δ

...les/data-management/Current/SubscriptionClient.cpp
7.55% <ø> (+0.01%)
:arrow_up:

Continue to review full report at Codecov.

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


Fix timeseries plot traceback

This fixes:
Traceback (most recent call last):
  File "/private/var/folders/df/6xqpqpcd7h73b6jpx9t6cwhw0000gn/T/tmpn9tl9wf0/job_working_directory/000/2/configs/tmp_r9i0cvx", line 15, in <module>
    sc.pl.dpt_timeseries(
  File "/Users/mvandenb/miniconda3/envs/anndata/lib/python3.8/site-packages/scanpy/plotting/_tools/__init__.py", line 171, in dpt_timeseries
    timeseries_as_heatmap(
  File "/Users/mvandenb/miniconda3/envs/anndata/lib/python3.8/site-packages/scanpy/plotting/_utils.py", line 206, in timeseries_as_heatmap
    pl.colorbar(shrink=0.5)
  File "/Users/mvandenb/miniconda3/envs/anndata/lib/python3.8/site-packages/matplotlib/pyplot.py", line 2188, in colorbar
    raise RuntimeError('No mappable was found to use for colorbar '
RuntimeError: No mappable was found to use for colorbar creation. First define a mappable such as an image (with imshow) or a contour set (with contourf).

I see that in other places plt.colobar is used in this module you're
doing the same thing. I believe this broke in
64f04d8.

I've added a test in https://github.com/theislab/scanpy/pull/1654/commits/189354eb0074140e3f2204d09b02aaa912d13934

@meeseeksdev backport to 1.7.x

I guess the PR title would be fine ?


Chinese character not supported

Hello this program won't work with pdf with non English characters. Will there be language support in the future?

Yes, it works with many non-English PDFs, including many with Chinese characters. If you send your PDF, we can try to take a look at it; it's likely a more nuanced problem.


Visual script bug: zoom and drag a function will place it wrong

Godot version:
v3.1.dev.calinou.b293dd3
OS/device including version:
windows 10 x64
Issue description:
in visual script :
zoom maximum in or out , and drag a function node (ex: a=b , action,..) or drag from inspector or scene will place the node on wrong place.

Can you check if this still occurs in 3.2 master?
After https://github.com/godotengine/godot/commit/ae6c390eb215c8c3f27f0f7a249cb2c07fcfc08a git commit.

No reply, so assuming it's resolved.


Use the SyncFusion DataGrid

The datagrid is awesome!
As soon as I figure the licence thing I'll add it


CI: v1.13: Cilium L4LB XDP (ci-l4lb-1.13) fails Run LoadBalancing test: timed out waiting for the condition on pods

CI failure
Cilium L4LB XDP (ci-l4lb-1.13) failed on v1.13 backports PR https://github.com/cilium/cilium/pull/22822 . Given that the L4LB tests are in flux and not currently marked as "required" to merge on master, I am opening this issue to track how to stabilize this test for the v1.13 branch. It is likely that this will be resolved once https://github.com/cilium/cilium/pull/22653 is backported. Keeping this issue open for now to highlight how the failure looks for any intermediate backports until that is resolved.
The core issue below seems to be something particular to the way that the l4lb test contacts the kube-apiserver, which reflects a test issue and not a code issue.

Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
++[04:14:49] awk '{print $4}'
++[04:14:49] cut -d/ -f1
++[04:14:49] docker exec kind-worker ip -o -4 a s eth0
+[04:14:49] WORKER_IP=<IP_ADDRESS>
++[04:14:49] docker inspect kind-worker -f '{{ .State.Pid }}'
+[04:14:49] nsenter -t 3498 -n /bin/sh -c 'tc qdisc add dev eth0 clsact && tc filter add dev eth0 ingress bpf direct-action object-file ./test_tc_tunnel.o section decap'
++[04:14:49] kubectl -n kube-system get pod -l k8s-app=cilium '-o=jsonpath={.items[0].metadata.name}'
+[04:14:52] CILIUM_POD_NAME=cilium-zhp5p
+[04:14:52] kubectl -n kube-system wait --for=condition=Ready pod cilium-zhp5p --timeout=5m
error: timed out waiting for the condition on pods/cilium-zhp5p
Error: Process completed with exit code 1.

Init container logs:
2022-12-21T04:18:46.003179378Z Running
2022-12-21T04:18:46.003815684Z level=info msg=Invoked duration="564.506µs" function="cmd.glob..func33 (build-config.go:32)" subsys=hive
2022-12-21T04:18:46.003875085Z level=info msg="Establishing connection to apiserver" host="https://<IP_ADDRESS>:443" subsys=k8s-client
2022-12-21T04:19:21.018819377Z level=info msg="Establishing connection to apiserver" host="https://<IP_ADDRESS>:443" subsys=k8s-client
2022-12-21T04:19:51.021841768Z level=error msg="Unable to contact k8s api-server" error="Get \"https://<IP_ADDRESS>:443/api/v1/namespaces/kube-system\": dial tcp <IP_ADDRESS>:443: i/o timeout" ipAddr="https://<IP_ADDRESS>:443" subsys=k8s-client
2022-12-21T04:19:51.021890269Z level=error msg="Start hook failed" error="Get \"https://<IP_ADDRESS>:443/api/v1/namespaces/kube-system\": dial tcp <IP_ADDRESS>:443: i/o timeout" function="client.(*compositeClientset).onStart" subsys=hive
2022-12-21T04:19:51.021895269Z Error: failed to start: Get "https://<IP_ADDRESS>:443/api/v1/namespaces/kube-system": dial tcp <IP_ADDRESS>:443: i/o timeout
2022-12-21T04:19:51.022523676Z Usage:
2022-12-21T04:19:51.022537276Z   cilium build-config --node-name $K8S_NODE_NAME [flags]
2022-12-21T04:19:51.022543176Z
2022-12-21T04:19:51.022546976Z Flags:
2022-12-21T04:19:51.022550376Z       --allow-config-keys strings        List of configuration keys that are allowed to be overridden (e.g. set from not the first source. Takes precedence over deny-config-keys
2022-12-21T04:19:51.022554876Z       --deny-config-keys strings         List of configuration keys that are not allowed to be overridden (e.g. set from not the first source. If allow-config-keys is set, this field is ignored
2022-12-21T04:19:51.022558676Z       --dest string                      Destination directory to write the fully-resolved configuration. (default "/tmp/cilium/config-map")
2022-12-21T04:19:51.022587676Z       --enable-k8s-api-discovery         Enable discovery of Kubernetes API groups and resources with the discovery API
2022-12-21T04:19:51.022590977Z   -h, --help                             help for build-config
2022-12-21T04:19:51.022594477Z       --k8s-api-server string            Kubernetes API server URL
2022-12-21T04:19:51.022597477Z       --k8s-client-burst int             Burst value allowed for the K8s client
2022-12-21T04:19:51.022601177Z       --k8s-client-qps float32           Queries per second limit for the K8s client
2022-12-21T04:19:51.022604177Z       --k8s-heartbeat-timeout duration   Configures the timeout for api-server heartbeat, set to 0 to disable (default 30s)
2022-12-21T04:19:51.022609977Z       --k8s-kubeconfig-path string       Absolute path of the kubernetes kubeconfig file
2022-12-21T04:19:51.022613377Z       --node-name string                 The name of the node on which we are running. Also set via K8S_NODE_NAME environment. (default "kind-control-plane")
2022-12-21T04:19:51.022616777Z       --source strings                   Ordered list of configuration sources. Supported values: config-map:<namespace>/name - a ConfigMap with <name>, optionally in namespace <namespace>. cilium-node-config:<NAMESPACE> - any CiliumNodeConfigs in namespace <NAMESPACE>.  node:<NODENAME> - Annotations on the node. Namespace and nodename are optional (default [config-map:cilium-config,cilium-node-config:kube-system])
2022-12-21T04:19:51.022619677Z
2022-12-21T04:19:51.022622877Z Global Flags:
2022-12-21T04:19:51.022625877Z       --config string   Config file (default is $HOME/.cilium.yaml)
2022-12-21T04:19:51.022628977Z   -D, --debug           Enable debug messages
2022-12-21T04:19:51.022640677Z   -H, --host string     URI to server-side API
2022-12-21T04:19:51.022643877Z
2022-12-21T04:19:51.022647077Z failed to start: Get "https://<IP_ADDRESS>:443/api/v1/namespaces/kube-system": dial tcp <IP_ADDRESS>:443: i/o timeout

Links:
https://github.com/cilium/cilium/actions/runs/3746344131
cilium-sysdump-out.zip(1).zip

From https://github.com/cilium/cilium/pull/22948#issuecomment-1381772377, I see that Daniel was planning to look into backporting the relevant changes to stabilize the L4LB tests in v1.13 branch. I'll assign this issue to him for tracking purposes.


Any support plan for GRPO?

Both Baichuan (http://arxiv.org/abs/2410.14940) & DeepSeek (http://arxiv.org/abs/2405.04434) mention this method GPRO (https://arxiv.org/abs/2405.20304) and its potential benefits.

see https://github.com/OpenRLHF/OpenRLHF/pull/514
we find that GRPO does not work wll.


refresh_token usage

I'm following this logic from the Intuit developer pages.
https://developer.intuit.com/docs/0100_quickbooks_online/0100_essentials/000500_authentication_and_authorization/connect_from_within_your_app
Specifically, this section where it says it's best not to store the access_token.
Token storage best practices
In persistent storage, save the OAuth refresh_token and realmId, associating them with the user who is currently authorizing access.  Be sure to encrypt the refresh_token before saving it to persistent storage. Then, decrypt the it and store it in volatile memory when you need to use it to refresh the access_token.
The access_token is supplied in the authorization header for every call to a QuickBooks API resource. Store it in volatile memory so it is readily available during contexts in which calls to API resources are made. Examples of these contexts include:
The life of a signed-in user session.
The life of a connection.
My Question:
Is there an existing way to set up a session manager without an access token, but with the remaining values and request a new access_token using the refresh token?

@Brian-CLO Did you find a solution to this?

It has been a while... do you guys figure this out or still need some help with it?

No longer relevant since OAuth Session Manager has been removed.


Google Drive active indicator

Would be nice to have an indicator that the sync with your Google Drive is activated. Right now it still says "Sign in to Google Drive" even though I have already done that.

If it say sign in to Google drive, you are not signed yet

I found my problem, I had the accounts.google.com and api.google.com cookies blocked.


Logs

How about an additional parameter in the tasks file for separate process logging (if error)?
This is useful for checking when processes have not completed successfully.
Tasks.txt example :
id="" predecessors="" instance="M1" process="Pro_1" logfile_if_error="C:\RushTI\TasksLogs\M1.txt"
id="" predecessors="" instance="M1" process="Pro_2" logfile_if_error="C:\RushTI\TasksLogs\M1.txt"
id="" predecessors="" instance="M1" process="Pro_3" logfile_if_error="C:\RushTI\TasksLogs\Pro_3.txt"
id="" predecessors="" instance="M999" process="Pro_AAA" logfile_if_error="C:\RushTI\TasksLogs\M999.txt"
id="" predecessors="" instance="M999" process="Pro_BBB" logfile_if_error="C:\RushTI\TasksLogs\M999.txt"
id="" predecessors="" instance="M999" process="Pro_CCC" logfile_if_error="C:\RushTI\TasksLogs\M999.txt"

Hi @Kisoonx,
thanks for proposing this feature.
Please provide a bit more background. Why is it beneficial to have error logs in a separate file compared to having all error logs in the main log file?

Hi @MariusWirtz ))
Global reason> Logfiles as ERROR flag for checking after completed (using WildcardFileSearch TI-function without subprocess to read and parse MORE info in global logfile)
Other reason > When count of instance > 1, global logfile go to garbage

Hi @Kisoonx,
thanks!
I understand. I wonder if this is the best way to communicate errors back to TM1 though!
Perhaps it would be nicer if RushTI creates a cube in your model (if it doesn't already exist) that has run info (completion-state, runtime, etc.) for every execution (id)
What do you think?

Hi @MariusWirtz
Control cube is good idea! )) But I have a little doubt about the structure of the cube.
If there were multiple calls to the same process, but with different parameter values, then it will take multiple lines (-new custom dimension in cube) of information about the same process, but with different parameter values.
In this case need to think carefully about the nuances.

Hi @MariusWirtz,
It would be helpful if I was able to send the log file name as a parameter. In that case, I would create log files which includes the process name and timestamp. Several log files make it easy to read, easy to  find, easy to keep the history. As well, you can read only the last line of the log file to see the execution result and write it back to TM1.
Thanks.

The log file is configured with the logging_config.ini. TBH I don't really like the idea to overrule this configuration at runtime.
If you only need to pass the state of the execution back to TM1, perhaps RushTI could optionally create a kind of result file in the current directory with a file name of your choice and a simple true or false message depending on whether it was fully successful or not.
Would that solve your requirement?

this will be resolved with #68


chore: increase search button hitslop

This PR resolves []
Description
This PR comes as a follow-up to the search bar on the home view.
In this PR I increase the hitslop of the search bar to make interaction with it "cooler".

Before
After

PR Checklist

[x] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

increase search bar hitslop - mounir

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Cross-platform user-facing changes (increase search bar hitslop - mounir - MounirDhahri)

  Generated by :no_entry_sign: dangerJS against 90b674ab4d2e48a3142d12dfcf9e956be90e6586


yapf formatting fails to use style file

Can we reopen this? I'm experiencing the same issue. If i provide a style file as an argument, then nothing gets reformatted, but if I remove it then it autoreformats. Here are the two commands that are generated:
(Doesn't work)
yapf --style style.yapf --diff ~/<PATH_TO_CODE>

(Formats the code, but not according to my custom settings)
yapf --diff ~/<PATH_TO_CODE>

This is recent (in the past few months) and seems like a bug to me
Originally posted by @nlarusstone in https://github.com/microsoft/vscode-python/issues/12392#issuecomment-682151404

@nlarusstone I am suspecting it is not running from the directory that has style.yapf.
Few things to try:

What happens if you give it the absolute path to the style file?
Can you try renaming the file to .style.yapf? From TAPF documentation, YAPF will search for the formatting style in the following manner:
Specified on the command line
In the [style] section of a .style.yapf file in either the current directory or one of its parent directories.
In the [yapf] section of a setup.cfg file in either the current directory or one of its parent directories.
In the [style] section of a ~/.config/yapf/style file in your home directory.

This way it will pick up the style file automatically.

Works -- I can give it an absolute path and it works as expected
Does not work. Renaming to .style.yapf did not help when it remained as a relative path.

I can use an absolute path, so happy to close (though perhaps the documentation could be improved?)

Before we close the, can you give some more info? For case 2. is the .style.yapf in the workspace root? when you tested with .style.yapf did you set the --style argument? what happens if you remove that argument and place .style.yapf in the current working directory?

Sorry for the delay. .style.yapf was in workspace root and yes, I set --style argument, but that didn't work. Moving .style.yapf to the CWD (same directory as file edited) is effective.

@nlarusstone This behavior is as expected. In your case i would recommend one of these two things:

Put .style.yapf in the workspace directory and not use the --style argument. This will rely on yapf's own searching to get the style file.
Use the --style argument with absolute path the .style.yapf. Like this:

{
    "python.formatting.yapfArgs": ["--style", "${workspaceFolder}/.style.yapf"]
}


Do you have sample to start endpoint?

Unfortunately we don't have documentation currently. However I have compiled a very simple project which you can download here: https://dl.dropboxusercontent.com/u/9350876/github/odata.sample.zip
The sample can build with Maven, creates a web application which can deploy into any web container.
Maybe this helps to have a starting point.

lol


Update README.md for Emeritus contributors

Stefano Mazzocchi and David Huynh have expressed that they no longer will contribute directly to OpenRefine but would like to be regarded as "Emeritus" status (having retired but allowed to retain their title as an honor)

In my mind the ordering is: 1) creators, 2) current contributors, and 3) all past contributors. I think 1 trumps 3, and David and Stefano (certainly David, since this project builds on much of his previous work at CSAIL etc) deserve pride of place as creators.
I'd probably reorganize this as two lists: 1) current contributors and 2) emeritus contributors with creators having special mention up front.

@tfmorris but David and Stefano wanted to specifically say "emeritus" to note they are no longer active, and not just say creators.  "emeritus creators" ???

Just looking again at this, I think David's role as the originator is signalled through the opening para in the Credits section:

This software was created by Metaweb Technologies, Inc. and originally written and conceived by David Huynh<EMAIL_ADDRESS>Metaweb Technologies, Inc. was acquired by Google, Inc. in July 2010 and the product was renamed Google Refine. In October 2012, it was renamed OpenRefine as it transitioned to a community-supported product.

I think this works alongside the new Emeritus creators list

@ostephens yeah, I thought of that and thought ... "good enough" but OK, let me edit and make the "Emeritus Creators"

Sorry - my comment was meant to say 'Emeritus Contributors' - basically I agree with you @thadguidry  - the Credit para + the two lists of Emeritus & Current contributors is sufficient.

@wetneb OK ready for merge now also :)


Recommended Docker Desktop for Windows Compose

Zoey, I am loving your NPMPlus build. Adding the declared volume makes the data stay inside docker and not in the container.
The data ends up living here \wsl.localhost\docker-desktop-data\data\docker\volumes\npmplus_data.
The following compose behaves nicely for DDfW:
version: "3.8"
volumes:
  npmplus:
    name: npmplus
services:
  npmplus:
    container_name: npmplus
    image: zoeyvid/npmplus
    restart: always
    network_mode: bridge
    ports:
      - 80:80
      - 81:81 #Port for the Admin Panel
      - 443:443
    volumes:
      - npmplus:/data
    environment:
      - TZ=US/Pacific
      - DISABLE_HTTP=true
    labels:
      - com.centurylinklabs.watchtower.enable=true

sorry, but I must admit, I have no Idea what you want to say me. I see you changed the compose to use a volume instead of a mount, disabled http, run it in network_mode bridge, exposed the ports 80 (why do you disable http and expose port 80?), 443, 81 (you forgot 443/udp) and you enabled watchtower. Is this an Issue or can I move it to discussion or should I add a second compose with network_mode bridge/volume?

@FlattusBlastus sorry for pinging you, but I need a response to know what you mean...

@FlattusBlastus I need a response to know what you mean


Overriding components in Blazor

If you use a component library in your project, you might want to override a component somewhere deep down in the component hierarchy without having to override the whole hierarchy.

Thanks!


[Feature] rc2nix support backup system-monitor applet

Related file: plasma-org.kde.plasma.desktop-appletsrc

I agree this would be nice, but it would be a lot of work due to the way that plasma-org.kde.plasma.desktop-appletsrc is structured. rc2nix-s intended use-case since overrideConfig was introduced is simply to generate a quick configuration to get up-and-running, and as such it has become a less and less important piece in plasma-manager. I welcome the suggestion though, and if someone wants to implement feel free to submit a pr.

I think rc2nix is still very important, since sometimes I don't know how to find the name of some option, but if I change it via GUI, and use rc2nix to diff with previous version, I can find it out.   So I'm deeply depends on rc2nix to use plasma-manger.

rc2nix-s intended use-case since overrideConfig was introduced is simply to generate a quick configuration to get up-and-running, and as such it has become a less and less important piece in plasma-manager

I think rc2nix is still very important, since sometimes I don't know how to find the name of some option, but if I change it via GUI, and use rc2nix to diff with previous version, I can find it out. So I'm deeply depends on rc2nix to use plasma-manger.


Hide SingleSelect clear button when disabled

The clear button was shown and was also effective even when the SingleSelect was disabled.
What I did:

Prevented the clear button from showing when the SingleSelect is disabled
Prevented the clear single select value action to be dispatched onclick when the SingleSelect is disabled

Codecov Report

Merging #1098 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1098      +/-   ##
==========================================
+ Coverage   99.75%   99.75%   +<.01%
==========================================
  Files         331      331
  Lines        8210     8214       +4
  Branches     1963     1963
==========================================
+ Hits         8190     8194       +4
  Misses         20       20

Impacted Files
Coverage Δ

src/components/select/SingleSelectConnected.tsx
100% <100%> (ø)
:arrow_up:

src/components/listBox/ListBox.tsx
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Dev#1.1 - add RedHat and OpenRC init scripts

This adds init scripts for RedHat's chkconfig and Gentoo's OpenRC.
It also modifies the init script DAEMON variable with the prefix in EXECPREFIX when installing.

I was testing the CentOS script, but when I use it with
service arkmanager status or any command, even invalid, nothing is printed.


v1.7 backports 2020-06-30

#12180 -- Fix native routing cidr missing flag in daemon (@aanm)

Note:  Dropped 03c39a01bb87ca2d6982a2e55f794cf08ba1cbd1 as that code does not exist in 1.7

#12117 -- pkg/k8s: add validation schema for MatchLabels (@aanm)

Note: See backporter's note in the commit

Once this PR is merged, you can update the PR labels via:
$ for pr in 12180 12117; do contrib/backporting/set-labels.py $pr done 1.7; done

test-backport-1.7

test-backport-1.7

test-backport-1.7

test-backport-1.7

I have a fix for the unit test failures locally. Will repush once all other tests finish.

test-upstream-k8s

all tests have passed, I'll re-push the PR with the unit tests fixed, once the unit tests have passed we can merge this PR


Can't uninstall 2.0.5

Umb 7.5.3, Articulate 2.0.5
Client removed the Articulate blog, archive and authors nodes from the content tree. When I came to uninstall the Articulate package I got an instant "Server error - Failed to uninstall package". The only thing in the log is "Mapping routes for 0 Articulate root nodes". The docTypes have been removed but that's about it. The Dev Dashboard  "Articulate Importer" is also still there. Thought about reinstalling to uninstall from a full install but can't as the project page states "Package already installed". I'm stuck.

doh! that doesn't sound great. When i find some time i'll test it to see what is happening.
In the meantime, you can manually delete it or you can modify your /app_data/packages/installed file and remove the articulate instance from there (or in theory you could change the version that is listed there to a previous one so umbraco thinks you are installing a newer one)
To manually uninstall is pretty easy:

Remove articulate doc types
Remove articulate data types
Remove articulate DLLs
Remove the articulate App_Plugins
Remove the articulate dashboard from the dashboard config.

Thanks Shannon. I removed it manually using the steps you said. :)

I know this has taken far too long for me to get back to this, really sorry about that !
I will close this issue now since I've re-rested all of the above and uninstallation seems to work well with the latest Articulate version


Severity statistics and csv export

Showing severity report count at the statistics page.
Statistics can be exported to CSV.

Closes #1104

The button feels weird for me. It could be that the alignment of the text is off a few pixels, or the colour is too saturated.

@whisperity You have good eyes to catch pixel alignment problems :smile: I have fixed this and I have also changed the color of the export button:

What do you think?

I think this feature (checker stats) is CodeChecker cmd sum which does have an --output <format> option.


Fix: Stacked bar goal line issue(fixes #304)

Fixes: #304
What is the purpose of this pull request? (Check any that's applicable)

[ ] Feature
[x] Bug fix
[ ] Dependency updates
[ ] Documentation updates
[ ] Build related changes
[ ] Changes an existing functionality
[ ] Other, please explain:

Does this introduce a breaking change?

[ ] Yes
[x] No

What changes did you make? (Give an overview)

Made changes to logic which generate height for goal lines in stacked bar graph.

Add any screenshots
https://engineering.cerner.com/carbon-graphs/#/regions/bar/stacked-goal-lines
Before

After

:tada: This PR is included in version 2.13.7 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Support character code type in ValidationRuleLength

Support String.length by specifing an character code of ValidationRuleLength.

Lovely work


Debug CI test run issues with PR  #394.

ℹ This is a "debugging" PR.

The content of this PR is identical to @zoshua's PR #394.
The main motivation of this PR is:

to commit @zoshua's work hunk by hunk.
to push after every commit.
to verify that the CI test jobs are still succeeding.

→ On my end, the CI test jobs all succeed... 🤔

(More context here...)

Closing this PR.
→ More details and reference in this conversation.


Is there code to test out multiple geocoding services at once for geopy?

I have a list of addresses, and I would like to compare the results between multiple providers at once. Testing 3 or 5 at once would be great. On top of this if there was a way to measure the accuracy and find the most accurate one, that would be amazing. Is there a way to do this? Or does anyone have some code to share?

Please move this question over to Stack Overflow: https://github.com/geopy/geopy/blob/master/CONTRIBUTING.md#reporting-issues
Closing, this is not an issue.


Update README.md

Hi, @teixeirak,
It occurs to me that our current distinction of "gridded" vs. "met station" data may not be as useful in light of the new Climate Data folder, but for the time being I updated the link so that "gridded" takes data users to the new Climate Data folder rather than a 404 error.
Take care,
Caly

Thanks! This relates to issue #20.


Radiant and dire team score on pro matches.

Please add radiant and dire team scores for /proMatches endpoint.

Hi again. Sorry for being impatient but is there an approximate timeline for this?

Sorry, I've just been busy working on other things.  If you submit a PR then I can merge it, otherwise will need to wait until I have some free time.

Thank you so much for your time. :)


idf.py fails when IDF_TOOLS_PATH is not $HOME/.espressif (IDFGH-11401)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5.1 and v5.1.1
Operating System used.
Linux
How did you build your project?
Other (please specify in More Information)
If you are using Windows, please specify command line type.
None
What is the expected behavior?
idf.py

< displays help >

What is the actual behavior?
idf.py

ERROR: /home/mt/.espressif/espidf.constraints.v5.1.txt doesn't exist. Perhaps you've forgotten to run the install scripts. Please check the installation guide for more information.

ESP-IDF v5.1.1

Steps to reproduce.
mkdir esp
cd esp/
idf_release=v5.1.1
idf_path="$HOME/esp/esp-idf-$idf_release"
# Clone to folder $idf_path
git clone --recursive --depth 1 --branch "$idf_release" https://github.com/espressif/esp-idf.git "$idf_path"
cd "$idf_path"
IDF_TOOLS_PATH="$HOME/esp/esp-idf-install-$idf_release" ./install.sh
IDF_TOOLS_PATH="$HOME/esp/esp-idf-install-$idf_release" . ./export.sh

Build or installation Logs.
No errors during install.sh and . export.sh
More Information.
This is contrary to the documentation.
I would like to install them in different paths because the different versions of esp idf do not seem to play nicely when all installed in the ~/.espressif/ folder.
I installed it on ARM aarch64 ( RPi4 ) but that shouldn't matter I imagine

Question, are you passing the same IDF_TOOLS_PATH variable when running idf.py?

Question, are you passing the same IDF_TOOLS_PATH variable when running idf.py?

I had tried that as well, with the same result. However, if that should be the case, I presume it would have to be added to the documentation?

And, could you please give some hint, what kind of issues did you face?

If I remember correctly, I had faced issues when running esp-idf on the master branch. Of course it might be because I need to run setup.sh again in between pulls. Usually in the form of build errors because of some inconsistency in dependencies.
If it doesn't affect pinned versions, then I will default to using $HOME/.espressif/ for now, thank you 😄

I had tried that as well, with the same result.

I see now, I have missed when reading your initial post that your are running
IDF_TOOLS_PATH="$HOME/esp/esp-idf-install-$idf_release" . ./export.sh

We haven't tested the IDF_TOOLS_PATH overriding functionality the same way, instead we used export IDF_TOOLS_PATH=.... Indeed, right now it doesn't work because the variable gets set only in the script context, and the script doesn't re-export it IDF_TOOLS_PATH, making it available to child processes. Hence the Python tools launched from install/export.sh don't see the same variable value.
You can work around this on your side by doing export IDF_TOOLS_PATH="$HOME/esp/esp-idf-install-$idf_release" and then running install.sh, export.sh and idf.py with IDF_TOOLS_PATH already set.

However, if that should be the case, I presume it would have to be added to the documentation?

Yes, will update the docs section you have linked to with a mention of idf.py, in addition to the install and export scripts.

If I remember correctly, I had faced issues when running esp-idf on the master branch. Usually in the form of build errors because of some inconsistency in dependencies.

This could be because of a number of reasons, not necessarily due to a tools version conflict. For example, the submodules might not have been up-to-date. It's difficult to say more without seeing the specific error log, though. In general, having the tools for all the releases in the same $HOME/.espressif directory should work. Most developers working on ESP-IDF switch between master and different release branches on a daily basis, and usually it's sufficient to do git checkout <rev> && git submodule update && $IDF_PATH/install.sh and then source export.sh. If you run into some specific issue with this workflow, though, please do report it so that we can figure out the root cause!

Thank you for your time @igrr and for the clarification. I will write an issue in case I find a problem with the default install path :)


Validate index inputs to atop

Fixes https://github.com/dask/dask/issues/4177

[x] Tests added / passed
[x] Passes flake8 dask

Merging tomorrow morning if there are no comments here.


Video for the home page

[ ] Define the message to deliver.
[ ] Create a scenario.
[ ] Record the video.
[ ] Integrate the video. (@antoinewolff)

Apologies if this has already been discussed... did we consider a series of GIFs for this? I'm assuming that the goal is to quickly show the extension functionality.
Or is this supposed to be a more inspirational video?
Maybe this is all related to the first checkbox point you have there. I can see a need for both options -

a quick animated GIF or auto-play video that shows how it works, or
a video that focuses on our mission and the "why" in order to inspire people to share dismoi with their friends, become open source contribs, etc

Thoughts?

Moving this up because we have it marked as top priority

@christpet : We have three option for the website v2 :

Only an autoplay short video on the home page cover.
Only an animated image or vector  on the home page cover (https://github.com/dis-moi/www.dismoi.io/issues/151).
Both them : the animation to explain in 5 sec the general operation of the extension + a button "watch a video demo " opening a player within a modal.

Hi, here is the trello card related : https://trello.com/c/3cLpTyJD/299-finaliser-scenario-vidéo-présentation-dismoi-gp


Draft for Footer

Looking for general feedback on this. Things that are currently up in the air:

What links do we want to include?
Do we want to use the footer icons?
Do we want to show the text links on mobile?

Footer should include Attributions:

What IP is NOT owned by web site
Songs of Conquest property of
Code packages and other assets used that are not owned by website

Footer should include Attributions:

What IP is NOT owned by web site
Songs of Conquest property of
Code packages and other assets used that are not owned by website

I don't agree here, this doesn't have to be part of the footer.
We can add a licensing page for this if required or add a license notice like (only an example):

Content is available under Creative Commons Attribution 4.0 International unless otherwise noted.

We are free to use assets of Songs of Conquest (I had a chat with the developers), so we don't have to worry about intellectual property issues. I will ask them again about licensing notes.
About the code packages, we can refer to the MIT license, but this is already on GitHub and I don't think we need to add this on the website. The packages and other assets are MIT licensed too.

I don't agree here, this doesn't have to be part of the footer. We can add a licensing page for this if required or add a license notice like (only an example):

I agree it is optional. It's not a hard legal requirement, but it is useful if any legal challenges pop up, and sometimes larger sites want that information before they link to your page.

I agree with @lmachens here. We can add all this on a separate page(s), or the small footnote. We don't want to clutter up or have a massive footer with stuff majority of people are going to glance over

I agree with @lmachens here. We can add all this on a separate page(s), or the small footnote. We don't want to clutter up or have a massive footer with stuff majority of people are going to glance over

I think you misunderstood my comment. Attributions would be a link, of course it's not reasonable to list all that info in the footer.

@lmachens believe I've got all the peer review suggestions handled now. Want to point me in the right direction for translation related stuff?

I agree with @lmachens here. We can add all this on a separate page(s), or the small footnote. We don't want to clutter up or have a massive footer with stuff majority of people are going to glance over

I think you misunderstood my comment. Attributions would be a link, of course it's not reasonable to list all that info in the footer.

@Daeruvan Yes, I misunderstood you here. My mistake 😅

@lmachens believe I've got all the peer review suggestions handled now. Want to point me in the right direction for translation related stuff?

I agree with @lmachens here. We can add all this on a separate page(s), or the small footnote. We don't want to clutter up or have a massive footer with stuff majority of people are going to glance over

I think you misunderstood my comment. Attributions would be a link, of course it's not reasonable to list all that info in the footer.

@Daeruvan Yes, I misunderstood you here. My mistake 😅

Good job :),
About the translations:
You find all site translations in https://github.com/lmachens/soc.gg/blob/main/lib/siteTermMap.json.
The extracted translations from the game are auto generated, so please don't update this file: https://github.com/lmachens/soc.gg/blob/main/lib/collections/termMap.json
Depending on what you like to translate, you either select an existing translation from the game or create your own translation in siteTermMap.json.
It's enough to add the English version, which is the fallback if other languages are missing.
Now, prepare the terms on server side (in getStaticProps of your pages).
Example:
https://github.com/lmachens/soc.gg/blob/main/pages/units/[faction]/[type].tsx#L128-L138
You call getTerm for game terms from termMap.json and getSiteTerm for siteTermMap.json.
So in your case, you call getSiteTerm several times.
In your components/pages, you can access these terms with useTerms hook (const terms = useTerms();).
Example:
https://github.com/lmachens/soc.gg/blob/main/pages/units/[faction]/[type].tsx#L26

@lmachens believe I've got translations sorted out. If I need to make any adjustments just let me know 😄


Possible issues with stack

Bug Description
It seems that whenever we invoke mirrord exec, we are running out of stack, and mirrord is silently disappearing.
In this case, we are running ruby version 3.2.1 on linux.
Can confirm this doesnt happen on mac.
Can confirm 3.111.0 does not exhibit this issue
Steps to Reproduce

Update to 3.112.0
Run processes that has lots of childs with mirrord exec
Observe mirrord disappear into the ether...

Backtrace
SocketError: Failed to open TCP connection to risk.default.svc.cluster.local:80 (getaddrinfo: Temporary failure in name resolution)
            test/helpers/exemplar.rb:78:in `get_request'

Relevant Logs
...
2024-07-31T18:27:51.426372Z TRACE ThreadId(01) mirrord_layer::socket::hooks: hooked "dup2"
2024-07-31T18:27:51.426381Z TRACE ThreadId(01) mirrord_layer::socket::hooks: hooked "getpeername"
2024-07-31T18:27:51.426390Z TRACE ThreadId(01) mirrord_layer::socket::hooks: hooked "getsockname"
2024-07-31T18:27:51.426398Z TRACE ThreadId(01) mirrord_layer::socket::hooks: hooked "gethostname"
2024-07-31T18:27:51.426409Z TRACE ThreadId(01) mirrord_layer::socket::hooks: hooked "accept4"
2024-07-31T18:27:51.426418Z TRACE ThreadId(01) mirrord_layer::socket::hooks: hooked "dup3"
2024-07-31T18:27:51.426425Z TRACE ThreadId(01) mirrord_layer::socket::hooks: hooked "accept"
2024-07-31T18:27:51.426437Z TRACE ThreadId(01) mirrord_layer::socket::hooks: hooked "gethostbyname"
2024-07-31T18:27:51.426445Z TRACE ThreadId(01) mirrord_layer::socket::hooks: hooked "getaddrinfo"
2024-07-31T18:27:51.426459Z TRACE ThreadId(01) mirrord_layer::socket::hooks: hooked "freeaddrinfo"
2024-07-31T18:27:51.426468Z TRACE ThreadId(01) mirrord_layer::exec_hooks::hooks: hooked "execv"
2024-07-31T18:27:51.426477Z TRACE ThreadId(01) mirrord_layer::exec_hooks::hooks: hooked "execve"
2024-07-31T18:27:51.426695Z  INFO ThreadId(01) mirrord_layer: Initializing mirrord-layer!
2024-07-31T18:27:51.426726Z DEBUG ThreadId(01) mirrord_layer: Loaded into executable executable=Some("/usr/bin/diff") args=Some(ExecuteArgs { exec_name: "diff", invoked_as: "diff", args: ["diff", "-u", "/tmp/expect20240731-1113580-sp8nfx", "/tmp/butwas20240731-1113580-fa2ke0"] }) pid=1113859 parent_pid=1113580 env_vars=Vars {
...
("RAILS_ENV", "test"), ("RACK_ENV", "development")] }

Your operating system and version
Linux 6.8.5 kernel
Local process
bundle
Local process version
ruby 3.21. bundler 2.4.6
Additional Info
Unfortunately no bypass on socket logs :
...
2024-07-31T18:53:07.029355Z TRACE ThreadId(01) mirrord_layer::socket::ops: getaddrinfo -> result 0x00000000043c2ec0
2024-07-31T18:53:07.029449Z TRACE ThreadId(01) mirrord_layer::socket::ops: in connect LazyLock(
2024-07-31T18:53:07.029908Z TRACE ThreadId(01) mirrord_layer::socket::ops: we are connected Connected {
2024-07-31T18:53:07.029964Z TRACE ThreadId(01) mirrord_layer::socket::ops: getsockname -> local_address Ip(
2024-07-31T18:53:07.138523Z TRACE ThreadId(01) mirrord_layer::socket::ops: getaddrinfo -> result 0x0000000004458b00
2024-07-31T18:53:07.138609Z TRACE ThreadId(01) mirrord_layer::socket::ops: in connect LazyLock(
2024-07-31T18:53:07.139432Z TRACE ThreadId(01) mirrord_layer::socket::ops: we are connected Connected {
2024-07-31T18:53:07.139506Z TRACE ThreadId(01) mirrord_layer::socket::ops: getsockname -> local_address Ip(
...

A simple way to reproduce:
https://gist.github.com/netguino/f1b76a5256637379f37bbdddc4b74f45
Use these files, and run mirrord exec -- bundle exec rake test
It seems that the system call is the one causing the issue.

Looks like commenting out the DetourGuard stops this issue from being triggered. Using hook_guard_fn also breaks stuff (tested it for clarity of mind).
I'm not sure why this happens though, maybe it blows up the stack because we keep creating these guards and they stay alive forever (since execve doesn't really return)?
#[mirrord_layer_macro::hook_fn]
pub(crate) unsafe extern "C" fn execve_detour(
    path: *const c_char,
    argv: *const *const c_char,
    envp: *const *const c_char,
) -> c_int {
    use crate::{common::CheckedInto, detour::DetourGuard};

    // let _guard = DetourGuard::new();

    // Hopefully `envp` is a properly null-terminated list.
    if let Detour::Success(envp) = prepare_execve_envp(envp.checked_into()) {
        FN_EXECVE(path, argv, envp.leak())
    } else {
        FN_EXECVE(path, argv, envp)
    }
}

@Razz4780 any ideas?

from thread_local
/// # Platform-specific behavior
///
/// Note that a "best effort" is made to ensure that destructors for types
/// stored in thread local storage are run, but not all platforms can guarantee
/// that destructors will be run for all types in thread local storage. For
/// example, there are a number of known caveats where destructors are not run:
///
/// 1. On Unix systems when pthread-based TLS is being used, destructors will
///    not be run for TLS values on the main thread when it exits. Note that the
///    application will exit immediately after the main thread exits as well.
/// 2. On all platforms it's possible for TLS to re-initialize other TLS slots
///    during destruction. Some platforms ensure that this cannot happen
///    infinitely by preventing re-initialization of any slot that has been
///    destroyed, but not all platforms have this guard. Those platforms that do
///    not guard typically have a synthetic limit after which point no more
///    destructors are run.
/// 3. When the process exits on Windows systems, TLS destructors may only be
///    run on the thread that causes the process to exit. This is because the
///    other threads may be forcibly terminated.

I think exec might trigger calling destructors, which clean it up
perhaps we need to leak the value before exec?


Marketplace won't build locally with current main code

🔍 Is there already an issue for your problem?

[X] I have checked older issues, open and closed

ℹ Environment / Computer Info
- Spotify version: Spotify for Windows (64 bit), <IP_ADDRESS>8.g0ea3f38b
- Spicetify version: v2.36.12

📝 Description
When cloning the current main branch of spicetify and trying to build it locally, Marketplace won't load. I have discovered that any version of the main branch since (including) commit 15900b9 (PR #759) causes the error locally, and any version prior to that still works.
Steps to reproduce:
Clone repo
run pnpm build:local
Copy files from dist folder into spicetify marketplace folder
run spicetify apply in terminal
observe marketplace in client
📸 Screenshots
No response

try now

try now

works as expected now, thanks for being so quick ^^


Add new background illumination methods

This PR adds fast illumination method used by Broad [1] for their images, and better handles images with non-standard bitdepths in 16-bit containers. The new background illumination method find the median filtered version of the mean image, rather than finding the mean of a the median filtered images. This speeds things up significantly.

find_background_illumination now finds the illumination correction field by finding the mean of the related images, then smoothing that out with a rank filter. Default parameter for the filter is p0=0.5 (i.e. a median filter).

find_background_illumination now takes an input bit-depth parameter. This should be used when bit-depths of 12 or 14 bits were captuted by the camera, but a 16-bit TIF is used as a container. This ensures the original bit-depth is preserved in any subsequent steps of the illumination correction.

find_background_illumination has a default radius of one quarter the width or height the first image, whichever is smaller. After lots of experimentation with BBBC021, BBBC022 and the Cellomics data, I found this rule of thumb gave the best smooth illumination correction field across all channels. It's probably something that needs to be tweaked for every data-set but I'm happy with this default.

find_background_illumination scales images from floats to uint16 before being passed to the percentile filter. In the case where the mean image had a very limited dynamic range, the resultant smoothed, floating poiint image had quite a large granularity between values. This resulted in artefacts being added to the image during illumination correction. This makes rank filtering slower, but it doesn't matter because this PR reduces the number of rank filterings being done by several orders of magnitude. :)

correct_multiimage_illumination no longer scales all images down to 8-bit, the dtype is now taken from the first image passed to the function.

Coverage decreased (-0.06%) to 71.931% when pulling 56ea034ae72941f070a7aa9a89e0fc6a6735f66b on starcalibre:fast_background_illum into b6e5748358b3c7767931796d37d9d9596d9c8146 on microscopium:master.

A few comments to address. Also, it looks like you need to cover a few more of the code paths!
https://coveralls.io/builds/6008472/source?filename=microscopium%2Fpreprocess.py#L560


Multiple Packages: No longer need /react on Import?

Bug / Question
This is likely related to changes published yesterday. Our current solution is to remove /react from our imports, but it's worth confirming that's what you intend.
Expected behavior
The documentation recommends the following way to import various packages:
import {
  PageHeadingLayout,
  AsideLayout,
  EqualColumnLayout
} from '@pluralsight/ps-design-system-layout/react'

Actual behavior
In practice, we receive the following error (using create-react-app):
Failed to compile.

<EMAIL_ADDRESS>Cannot find module: './dist/react'. Make sure this package is installed.

You can install this package by running: npm install ./dist/react.

Related packages

<EMAIL_ADDRESS>Others, and possibly all packages

Environment

OS - MacOS 10.14
Node.js 10.12.0, npm 6.9.0

@aj-foster looks like a few of cjs paths didn't get updated. Thanks for finding that. Removing react is intended for if you want to take advantage of treeshaking on your webpack/parcel/rollup bundles.


Making game crash

Hi,
I tried your mod but after entering the server, it loads for 2-3 seconds, I'm able to see the radar circle on the top left, but then the game crashes

Can you post the crash log from /.minecraft/crash-reports/


Create an issue

Name
Add square root functionality in package
Describe your Issue
Add Square root functionality in the package.

can i work on this?


fix: VSCode failure to start a development server

Description
Once a while the button "Start server" disappears from the bottom bar. If I try to start dev server from command menu I get an error:

Failed to find a Dart Frog project within the current workspace.

At the same time running dart_frog dev works just fine
Steps To Reproduce

Open command menu (Ctrl + Shift + P)
Choose Dart Frog: Start and Debug Development Server
See error

Expected Behavior
Dev server is started
Screenshots

Additional Context
OS: MacOS on M1
Dart Frog project is one of 3 in the workspace

Hi @ralfeus thanks for opening an issue! Sorry for not being able to catch-up sooner.
The extension does have some logic to figure out where the Dart Frog server is meant to be. When there are multiple ones, as in your case, you should be prompted to choose between them.
If you open VS Code with the directory that your dart_frog dev project is running as the root does it still show the warning?
I would like to reproduce this, can you share the directory structure of your project with the 3 dart frog projects?

Hi @ralfeus ! I'm glad you've figured it out.
I'm waiting for a reply on:

If you open VS Code with the directory that your dart_frog dev project is running as the root does it still show the warning?

Is there anything that you would like us to do regarding this issue?

Hi @alestiago,
no, if I open the VS Code with dart_frog project as only one there is no warning and "Start server" is visible no matter what file is selected and it works properly.

Thanks @ralfeus, I am closing this for now then. If anything comes up, don't hesitate on telling.


Added stacktrace field name adjustment example

This PR adds the one example for the adjustment of the stack_trace field name into the README.
It took me quite a little bit of time to understand how this XML needs to be called:

<stacktrace />
<stackTrace />
<stack_trace />

I think this simplifies the adjustment of it a little (it would certainly have helped me via looking into the example).

Thanks!


Export Data

@gedion Any details on requirements for this.
Export what data ? And in which format (eg: csv, pdf)?

@yohannesHL - I don't have much thought. @dotmike has given us wide discretion.

https://github.com/africa-covid-19-response-toolkit/internal-dashboard/pull/87


DEP Require guzzlehttp/psr7 ^2

Issue https://github.com/silverstripe/silverstripe-framework/issues/10253

@maxime-rainville Have made it an explicit requirement and removed the conflicts


d455 Auto exposure causes the image to be too dark

Required Info

Camera Model
D455

Firmware Version
<IP_ADDRESS>

Operating System & Version
Linux (Ubuntu 18)

Kernel Version (Linux Only)
(5.4.0-52)

Platform
PC

SDK Version
2.39

Language
c++

Segment
robot

Issue Description
<Describe your issue / question / feature request / etc..>
Hello, the camera I am using is RS D455. When I use the stereo camera, when the auto exposure is turned on, the image brightness of the stereo camera is not normal, it will be lower than the image brightness with the auto exposure turned off. Obviously, the exposure time is insufficient . In contrast, the exposure of an RGB camera is normal.
Looking forward to your reply！
Enable automatic exposure

disable automatic exposure

@zhhz9706 The manual exposure value does not always follow the auto exposure value. If you turn off the auto exposure, you need to adjust the manual exposure value to get the best image.

You may find this useful - https://dev.intelrealsense.com/docs/high-dynamic-range-with-stereoscopic-depth-cameras#section-2-4-manual-vs-auto-exposure

The manual exposure value does not always follow the auto exposure value.

While the value doesn't match, in my own anecdotal experience auto exposure on the D455 is always aggressively under-exposed, which leads to a big loss in depth map quality.
The HDR mode does help, but when capturing moving subjects where temporal coherence is required, manual exposure seems to be the only valid option.

If you want to change the set point for the autoexposure you can do that too.

@zhhz9706 The manual exposure value does not always follow the auto exposure value. If you turn off the auto exposure, you need to adjust the manual exposure value to get the best

@zhhz9706 The manual exposure value does not always follow the auto exposure value. If you turn off the auto exposure, you need to adjust the manual exposure value to get the best image.

Hello, thanks for your reply.
What I want to say is that when auto exposure is enabled, the camera's exposure is not enough, causing the image to look dark. For disable auto exposure, you can adjust to obtain a relatively normal image brightness.
Thanks.

We intended to make the IR (left and right) images a little bit darker than normal RGB image. A little darker IR images will generate a better depth. As @agrunnet suggested, you can try a higher set point to compare the depth maps.

If you want to change the set point for the autoexposure you can do that too.

Does this value offset the auto exposure value by stops? Or does it change how the algorithm behaves? In the latest version of RealSenseViewer it does not seem like this value can be edited.


more auto in ExampleR.v

ExampleR.v has a lot of easy concrete proofs, but the proofs end up being very long.
We can use
Create HintDb lang.

Hint Extern 1 =>
  match goal with
  | [ H : _ `elem` _ |- _ ] =>
    inversion H; clear H
  end || listerine || subst: lang.

See https://stackoverflow.com/questions/44767744/coq-why-do-i-need-to-manually-unfold-a-value-even-though-it-has-a-hint-unfold for how I learned out how to hack this.
Then we can solve a lot of the theorems using auto 1000 with lang..
But when we get to Lemma test_notelem_x11star_0, we run into star which is recursive and auto ends up running seemingly forever.
I think we could possibly tweak the number in extern to only try inversion on star_lang as a last resort to make the recursion more unlikely and that why stop the seemingly infinite recursion that occurs in test_notelem_x11star_0.  Then it might be possible to automate all of these proofs into being very short proofs as @Nielius was pushing for.
Or maybe there is an even better way?

Here is a nice reference on Hint Constructors, which I didn't end up using http://adam.chlipala.net/cpdt/html/LogicProg.html
Not so useful, but helped me with syntax: https://github.com/coq/coq/blob/master/test-suite/success/Hints.v#L191

Thanks for all the information - I want to learn about this.

This was a good read, really well written, with lots of basic examples, that not only explain how to use auto, but how auto works on an intuitive level and also covers all the Hint variants
http://adam.chlipala.net/cpdt/html/LogicProg.html

Here is an example of how to use more auto with lists
https://github.com/awalterschulze/regex-reexamined-coq/pull/137

I also liked the UseAuto section of Software Foundations Vol 2.. It especially had a good discussion (if I recall correctly) of some of the limitations of auto and eauto, that you can easily solve by doing some kind of preprocessing (like wreckit) or  by using intuition.

Yes so far that link is a pretty good read.  Here is a quote.
Note that proof search tactics never perform any rewriting step (tactics rewrite, subst), nor any case analysis on an arbitrary data structure or property (tactics destruct and inversion), nor any proof by induction (tactic induction). So, proof search is really intended to automate the final steps from the various branches of a proof.

This is worrying as we do typically require a lot of inversion, because when we have or, it turns into nor, which turns into not, which have to unfold and then we have to intro and then we have a "goal" in the hypothesis, which we would like to invert, using inversion, but this is not part of auto's repertoire
So I don't know how possible it is to use auto for ExampleR.v
But we can might combine it with some Hint Externs' that do, do inversion.

Their solution to that problem is to have a few tactics (jauto and iauto) that do auto or eauto together with some pre- and post-processing:

We are going to study four proof-search tactics: auto, eauto, iauto and jauto. The tactics auto and eauto are builtin in Coq. The tactic iauto is a shorthand for the builtin tactic try solve [intuition eauto]. The tactic jauto is defined in the library LibTactics, and simply performs some preprocessing of the goal before calling eauto. The goal of this chapter is to explain the general principles of proof search and to give rule of thumbs for guessing which of the four tactics mentioned above is best suited for solving a given goal.
Proof search is a compromise between efficiency and expressiveness, that is, a tradeoff between how complex goals the tactic can solve and how much time the tactic requires for terminating. The tactic auto builds proofs only by using the basic tactics reflexivity, assumption, and apply. The tactic eauto can also exploit eapply. The tactic jauto extends eauto by being able to open conjunctions and existentials that occur in the context. The tactic iauto is able to deal with conjunctions, disjunctions, and negation in a quite clever way; however it is not able to open existentials from the context. Also, iauto usually becomes very slow when the goal involves several disjunctions.

I am still reading, but here was another interesting note

It is very important to understand that the hypothesis ∀ n m, P m → m ≠ 0 → P n is eauto-friendly, whereas ∀ n m, m ≠ 0 → P m → P n really isn't. Guessing a value of m for which P m holds and then checking that m ≠ 0 holds works well because there are few values of m for which P m holds. So, it is likely that eauto comes up with the right one. On the other hand, guessing a value of m for which m ≠ 0 and then checking that P m holds does not work well, because there are many values of m that satisfy m ≠ 0 but not P m.

Another Note: Hint UnFold only works in the goal

the Hint Unfold mechanism only works for unfolding definitions that appear in the goal. In general, proof search does not unfold definitions from the context.

Now to reply to @Nielius
It seems iauto and jauto are not in the standard library.
We haven't pulled in any dependencies into this project yet, so that could be interesting or disrupting, not sure.
Maybe lets try to puzzle things out with auto and eauto and Extern Hints for a bit first, while we are learning.


Inconsistent and incorrect behavior with optional options that take multiple values

I've come across a few cases using optional options that take multiple values where the input on the CLI is parsed inconsistently or incorrectly depending on the argument order or form.
Given the sample program:
extern crate clap;

use clap::{App, Arg};

fn main() {
    let matches = App::new("example")
        .arg(
            Arg::with_name("positional")
                .index(1)
                .required(true)
        )
        .arg(
            Arg::with_name("optional")
                .short("o")
                .long("optional")
                .takes_value(true)
                .multiple(true)
        )
        .get_matches();

    println!("{:?}", matches.values_of("optional"));
}

Here are some example inputs and their output.
This works:
$ ./target/debug/clap_sample pos -ofoo
Some(["foo"])

Adding a second value for "optional" causes a complete failure:
$ ./target/debug/clap_sample pos -ofoo -obar
error: The following required arguments were not supplied:

USAGE:
	clap_sample <positional> --optional <optional>...

For more information try --help

Using the long form for the second value makes it work:
$ ./target/debug/clap_sample pos -ofoo --optional=bar
Some(["foo", "bar"])

But not if you use a space instead of an equals sign for the key/value delimiter:
$ ./target/debug/clap_sample pos -ofoo --optional bar
error: The following required arguments were not supplied:

USAGE:
	clap_sample <positional> --optional <optional>...

For more information try --help

A single value for "optional" using the long form and a space delimiter fails as well:
./target/debug/clap_sample pos --optional foo
error: The following required arguments were not supplied:

USAGE:
	clap_sample <positional> --optional <optional>...

For more information try --help

While an equals sign works:
$ ./target/debug/clap_sample pos --optional=foo
Some(["foo"])

And adding a second value using the same syntax works:
$ ./target/debug/clap_sample pos --optional=foo --optional=bar
Some(["foo", "bar"])

But using any other form of syntax fails:
$ ./target/debug/clap_sample pos --optional=foo -obar
error: The following required arguments were not supplied:

USAGE:
	clap_sample <positional> --optional <optional>...

For more information try --help
$ ./target/debug/clap_sample pos --optional=foo -o bar
error: The following required arguments were not supplied:

USAGE:
	clap_sample <positional> --optional <optional>...

For more information try --help
$ ./target/debug/clap_sample pos --optional=foo -o=bar
error: The following required arguments were not supplied:

USAGE:
	clap_sample <positional> --optional <optional>...

For more information try --help
$ ./target/debug/clap_sample pos --optional=foo --optional bar
error: The following required arguments were not supplied:

USAGE:
	clap_sample <positional> --optional <optional>...

For more information try --help

If the positional argument is removed from the clap::App, the behavior is different still.
A single value for "optional" continues to work with the short, spaceless form:
./target/debug/clap_sample -ofoo
Some(["foo"])

But adding a second value ignores the second value instead of causing an error like the version with the positional argument did:
$ ./target/debug/clap_sample -ofoo -obar
Some(["foo"])

Using the long form for the second value makes it work, as before:
$ ./target/debug/clap_sample -ofoo --optional=bar
Some(["foo", "bar"])

And even works using a space delimiter, which caused an error in the version with the positional argument!
$ ./target/debug/clap_sample -ofoo --optional bar
Some(["foo", "bar"])

A single value provided using the long option in both forms works:
$ ./target/debug/clap_sample --optional bar
Some(["bar"])
$ ./target/debug/clap_sample --optional=bar
Some(["bar"])

As does providing a second value with either form of the long option:
$ ./target/debug/clap_sample --optional foo --optional bar
Some(["foo", "bar"])
$ ./target/debug/clap_sample --optional foo --optional=bar
Some(["foo", "bar"])

But using the short form for the second value, only a space delimiter actually captures the value:
$ ./target/debug/clap_sample --optional foo -obar
Some(["foo"])
$ ./target/debug/clap_sample --optional foo -o=bar
Some(["foo"])
$ ./target/debug/clap_sample --optional foo -o bar
Some(["foo", "bar"])

I know that providing multiple values without repeating the name of the option itself (-o foo bar or --optional foo bar) works more consistently (but not in all cases!), but my expectation is that all variations of short and long forms, with or without the app having a positional argument, should correctly recognize the option and extract all the provided values.
All these examples use clap 1.4.5 on Rust 1.3 (OS X). Hope this is helpful! Thanks!

Thanks for the detailed write, we really appreciate it! I'll start working on this bug and post back here with updates :+1:

These are the forms I'm tracking as not working - I'll verify and start investing it now:

[ ] $ prog pos -ofoo -obar
[ ] $ prog pos -ofoo --optional bar
[ ] $ prog pos --optional foo
[ ] $ prog pos --optional=foo -obar
[ ] $ prog pos --optional=foo -o bar
[ ] $ prog pos --optional=foo --optional bar
[ ] $ prog --optional foo -obar

One note is that forms like this  $ ./target/debug/clap_sample pos --optional=foo -o=bar aren't designed to be supported. No reason we probably couldn't add it, but the short form with = wasn't an intended form. Just FYI ;)

Thanks so much! I don't actually use the equals form myself, but some tools do (even exclusively) so once I realized there was some strangeness going on I started trying all the combinations I could think of. :}

@jimmycuadra All those bugs are fixed with #324
One thing that has not been added yet is using = with a short option (long option and = works). Is that required for your use case? If so, we can add it to the tracker for implementation.

That was fast! No, I don't have any particular use for the short form with an equals sign. Thank you!


docs: write "getting started"

This PR writes the second intro page, "Getting Started."

In the proposal we agreed a good example would be "our DocSearch index for Autocomplete and to display the categories like Core Concept"
Since showing just categories and not content might require some filtering, and we want to keep the example very basic I'm not so sure about this choice anymore. WDYT @francoischalifour ?

In the proposal we agreed a good example would be "our DocSearch index for Autocomplete and to display the categories like Core Concept"
Since showing just categories and not content might require some filtering, and we want to keep the example very basic I'm not so sure about this choice anymore. WDYT @francoischalifour ?

@Meschreiber I think we can still make it quite simple. Something looking like Autocomplete DocSearch sandbox. (Don't spend too much time on this sandbox since we'll embed it in the monorepo to keep track of it.)

@Meschreiber I think we can still make it quite simple. Something looking like Autocomplete DocSearch sandbox. (Don't spend too much time on this sandbox since we'll embed it in the monorepo to keep track of it.)

Hey @Meschreiber it seems that there are some broken links, which is why the Netlify preview failed.
The docs-1 branch changed quite a lot but I don't know when was your last rebase. It's probably worth checking and rebasing your branch onto it before fixing the links.

Hey @Meschreiber it seems that there are some broken links, which is why the Netlify preview failed.
The docs-1 branch changed quite a lot but I don't know when was your last rebase. It's probably worth checking and rebasing your branch onto it before fixing the links.

I'm adding this since I can't comment inline on non-diff parts, but right after the Headless heading, I think we could add a small note to say that you can skip if you're using autocomplete-js. Sometimes people don't pay much attention and "blindly" follow every step in order, so they might install both if they're not careful and be confused of why they need to. wdyt?

Super good point. I updated the headers to be more descriptive too.
Now that I'm thinking about it, I'm not even sure it's worth mentioning the headless option since we don't use it in the basic example.
On the one hand, nice to make folks aware of the option. On the other, they can learn about it in the "creating a rendered guide" (title TBD) if they reallly need that option. WDYT?

I'm adding this since I can't comment inline on non-diff parts, but right after the Headless heading, I think we could add a small note to say that you can skip if you're using autocomplete-js. Sometimes people don't pay much attention and "blindly" follow every step in order, so they might install both if they're not careful and be confused of why they need to. wdyt?

Super good point. I updated the headers to be more descriptive too.
Now that I'm thinking about it, I'm not even sure it's worth mentioning the headless option since we don't use it in the basic example.
On the one hand, nice to make folks aware of the option. On the other, they can learn about it in the "creating a rendered guide" (title TBD) if they reallly need that option. WDYT?

Now that I'm thinking about it, I'm not even sure it's worth mentioning the headless option since we don't use it in the basic example.

@Meschreiber I think we can remove the "Headless" section too.

Now that I'm thinking about it, I'm not even sure it's worth mentioning the headless option since we don't use it in the basic example.

@Meschreiber I think we can remove the "Headless" section too.


What are is the correct method to make a cameraInit() wakeup function

I started to write this ticket in the Arducam ESP32 repository but no one seems to give support there so I will copy it here.
I'm trying to wake up camera only on the moment of taking a picture and then shutting it of via a P-channel mosfet.
So I built this functions:
void cameraInit() {
  digitalWrite(gpioCameraVcc, LOW);       // Power camera ON
  // OV5642 Needs special settings otherwise will not wake up
  myCAM.clear_bit(6, GPIO_PWDN_MASK);  // Disable low power
  delay(3);
  myCAM.set_format(JPEG);
  myCAM.InitCAM();
  delay(50);
  myCAM.write_reg(3, 2);               // VSYNC is active HIGH
  delay(47);
}

void cameraOff() {
  digitalWrite(gpioCameraVcc, HIGH); // Power camera OFF
}

But I discovered that this times are not working the same with different OV5642 5 megapixels camera. Question is: There is not a more clever way to do this ? Like make a while(check something)
that will return true when camera wakes up fully ?
Can you please reference me to a code snippet ?

@martinberlin
It is due to the auto balance and exposure and we can't get the state of the camera.
It is the best way to add some delay.

Thanks Uctronics, but the problem is that this fixed delay does not work for every OV5642 with the same milliseconds delay. For some I needed to wait up to 800 ms which is way too much. How comes there is no way to do this in a smarter way ?
I cannot tell the developers using my repository to compile 50 times with different values till they find the right delay for their camera. It’s not that it simply does not work, it generates a jpeg that is too big and has no jpeg headers waiting less time than it should. And also there is no way I can find to check this unless I add some kind of condition to check if the image starts as a JPEG and if not there is a second attempt to shoot the picture.
So it’s very hard to make something with battery’s using this camera since consumes a lot and sadly there is no smart way to program a smart wake up that will adjust for every camera. Can’t you please check if there is not any other alternative ?

@martinberlin
You can try to disable the awb function by write the 0x5001 register Bit[0 ] 0:Disable 1: Enable

Thanks. Will try that, but then I won't want automatic white balance, which was not the intention here.  I just want a way to do this cameraIinit() in a smarter way than now.
That will work for every OV5642 Arducam SPI withouth the need to mess with inconsistent delay() times.


Fix Read the Docs's URL

Change proposed in this pull request:

The Read the Docs's URL is broken. This PR just fixes it.

Coverage remained the same at 93.75% when pulling 55272af155e9031bbe757dc58cbea6d56a5e55c3 on zkan:fix_docs_url into 103055d483a46895d81f11d769869db7fc382ec3 on LegoStormtroopr:master.

Cheers :)


Added file for new device: Eurom Sani towel radiator

Hi,
I added the device "Eurom Sani-Bathroom-Radiator Towel Wifi heater". I tested it with the radiator.
One thing that deviates from the manual, is that I created a non-existing dummy DP id for the current temperature, while maintaining the availability of the two sensor values: room temperature and surface temperature. The heater can control both, depending on the mode of operation, whether it controls the room or the heater itself.
Furthermore I wanted to specify an icon for the new operating mode 'anti-frost' but I did not manage to find out how to do that, using the icons.json file. If you have any suggestions?
Jan-Gerard

Ai, I notice now that setting the eco preset-mode does not work from Home Assistant. All other presets do work. And retrieving the preset-mode from the device works as well. The difficulty is that triggers are two binary switches that are mutually exclusive. How can I combine two binary entities into one (string) preset-mode, providing both getting and setting? I need nested conditions?

I fixed the two errors in the code. Now it should pass the tests.

There is one annoying thing: Switching preset modes from Anti-frost to Eco is only possible when switching first to preset None. Because the preset-mode is a combination of two boolean entities, and the condition statement is used, then for one of the states only one of the booleans is relevant, and the other is not switched when switching mode. I don't see a method to solve this. It's not blocking though.

You can mark entries in a conditional mapping as hidden: true to avoid selecting that one - useful when you want selecting eco to always set boost off, but you still want to recognise it as eco if both boost and eco are on (or vice versa). In that case, marking the "both true" case as hidden will prevent that from being used when setting.

You can mark entries in a conditional mapping as hidden: true to avoid selecting that one - useful when you want selecting eco to always set anti-frost off, but you still want to recognise it as eco if both anti-frost and eco are on (or vice versa). In that case, marking the "both true" case as hidden will prevent that from being used when setting.
I tried that, but it doesn't work. Probably, the values are set the right way, but first both mode should be set to false, before the other can go go true, in the heater firmware.

I think I can live with the limited preset switching flow. Who wants to switch from Eco to Anti-frost at once. So I think the code is now optimal. And the heating state does not show the drying state anymore: heating means heater is on, also when used for drying.

If the device does not support setting two dps together, then I suggest that you simplify the config and do not try to combine the eco and anti-frost together.  Make anti_frost a separate switch, and just leave "eco" and "comfort" as presets.
"off" requires the quotes in hvac_mode and hvac_action, as it is defined in HA as the string "off", not the boolean value False, which is what yaml converts unquoted off to.
hvac_action should report drying if the hvac_mode is dry.  If that breaks the chart display, then that is a bug in the frontend, the integration should not be crippled to workaround frontend bugs.

I just realised I have some unsent comments, so at least one of them is probably obsolete now.

For me the integration works fine now. I can control the things I need, and include them in the Climate card in HA.


Adding qryn.dev to destinations

Thanks for this Great Tool!
I'm adding our project qryn to the supported destinations as it can handle the same APIs and protocols as Grafana Cloud does. We'll sure add Odigos to our use-case examples next.

Thanks @lmangani looking forward for this 😄

The Grafana Cloud vendor file works out of the box, the only exception being we have a single URL rather than multiple ones. Shall we clone the Grafana vendor into a qryn vendor even if pretty much identical, or shall we promote using the same for simplicity?

Thanks @lmangani looking forward for this 😄

Here's our "adapted" version of the Odigos tutorial https://blog.qryn.dev/odigos-qryn

Hi @lmangani  why not add qryn as a standalone destination so you will have your logo displayed and it will be cleared to the user which backend they are using? It will also allow you to customize the OTel collector configuration as you wish.
See this commit for an example of adding a new destination (this one adds 3 new dests, but you can simply follow all the files related to Jaeger for instance): https://github.com/keyval-dev/odigos/commit/13d7b30797ee8d501306863e80cf44463f3466a3

Thanks @edeNFed we can consider this down the road but actually our goal is to be compatible so this is a great usecase. Even with a new destination, I'm afraid the same blockers in #34 would apply short of duplicating a lot of code. Any feedback on that?

@edeNFed

Hi @lmangani why not add qryn as a standalone destination so you will have your logo displayed and it will be cleared to the user which backend they are using? It will also allow you to customize the OTel collector configuration as you wish.

After some consideration we'll go for this route and add a dedicated qryn destination block

Closing to reopen a dedicated PR with the qryn destination


Disable date input

I'm unable to disable the input via the form control.
this.form.get('date').disable();
What is the correct way to disable the input completely?

Is this project dead?

@failingbirthrate This component has been merged into https://github.com/fomantic/Fomantic-UI and is further maintained there
To answer your question:

add the class disabled to the calendar component
https://jsfiddle.net/ht8ebLk2/

Docs
See https://fomantic-ui.com/modules/calendar.html#disabled

@lubber-de You're awesome.  Thank you sir.


Import autocomplete suggests not exported types and interfaces

VSCode Version: 1.18.1
OS Version: Linux

Steps to Reproduce:

Install redux-saga-requests library with yarn add redux-saga-requests
Start typing import {} from 'redux-saga-requests' and use autocomplete feature between {} with ctrl + space. You will see types and interfaces not exported in typings TypeScript file.

For example, I have a following in my index.d.ts file:
interface ActionTypeModifier {
  (actionType: string): string;
}

but I can still see ActionTypeModifier hint. The problem is, that autocomplete is polluted with many internal types, which are not part of public API. Is it an expected behavior?
Reproduces without extensions: Yes

This issue was moved to Microsoft/TypeScript#20584


Add an example for uploadManyFiles method

I am using older version of nodejs-storage. I had an issue about uploading many files into custom path. There is no option to upload custom path with using uploadManyFiles method. But I found an issue that solves this. But there is no example implementation to handle the case.
Can you add an example to upload many files into custom path?

@ddelgrosso1 I created the issue 🙏

Thanks @xephtar!

I'd also be interested in an example. I'm kinda already on it, but have difficulties with directory separators (/ vs. ) from Windows file system. I set the the directory in Node with forward slashes, customDestinationBuilder however seem to serve the path with double-backslashes. 🤷


Fix #112 Pull Ollama model if not present locally

This is a fix to pull Ollama model if not present locally for #112

to support the local build LLM model
wouldn't pull new versions of the model remotely every time.

@mchiang0610 can you have a look?


using authservice with ingressgateway to protect multiple seperate individual services in cluster

@cfryanr
Currently below file has configuration that can be applied to one particular application(service)
authservice-configmap-template-for-authn.yaml
Could someone help us on how to configure authservice for multiple separate services in the cluster individually.
note service specific callback_uri in the configmap.
I want to achieve below:
1.Authservice at the gateway level to provide a single login flow for all applications inside an Istio mesh, rather than using it at the sidecar level
2.currently if I try to configure the above it applies to all services in the cluster.
Let me know if my question isnt clear.

Hi @r-kotagudem, the callback uri can be configured to any path that you like. The Authservice will intercept all requests to that path, so you only need to be sure that it does not conflict with any path that your applications want to serve. You don't need to name the callback uri using the name of any particular service. For example, you could call it /mesh/auth_callback.
When you say "currently if I try to configure the above it applies to all services in the cluster", is that what you are trying to achieve, or are you trying to achieve something else?
Running the Authservice as an ext_authz filter on the ingress gateway will cause token acquisition for all requests that flow through the ingress gateway. If you want to exclude some paths, you can use the include/exclude path configurations in the configmap.

Hi @r-kotagudem, the callback uri can be configured to any path that you like. The Authservice will intercept all requests to that path, so you only need to be sure that it does not conflict with any path that your applications want to serve. You don't need to name the callback uri using the name of any particular service. For example, you could call it /mesh/auth_callback.
When you say "currently if I try to configure the above it applies to all services in the cluster", is that what you are trying to achieve, or are you trying to achieve something else?
Running the Authservice as an ext_authz filter on the ingress gateway will cause token acquisition for all requests that flow through the ingress gateway. If you want to exclude some paths, you can use the include/exclude path configurations in the configmap.

Thanks for the reply @cfryanr
Consider if my cluster has different apps(each app/service has its own clientid ,clientsecret and scopes). How do we configure such with single ingress gateway

For the use case of protecting different apps each with their own client id and scopes and such, we've been assuming that it would be easier to deploy Authservice as a sidecar. That way, each app (e.g. deployment/statefulset/pod) can have its own Authservice config. That way you can deploy and delete apps without needing to update a central gateway config. Curious what folks think about that.
Yes, using the in-memory session store has some limitations. If the pod containing the authservice is restarted, then all of those users lose their sessions. Those users probably have browser cookies with the actual IDP, in which case re-login would be pretty much invisible to them aside from some quick redirects.
We're currently exploring adding Redis as an option for session storage. In addition to solving the issue with Authservice restarting, we hope that this will make the Authservice more horizontally scalable.

Thanks for the insight, highly appreciated.
@cfryanr Currently for knative service pods to include authservice container, we need to explore option to use kubernetes admission controllers to inject the authservice each time a knative pod is spinup since knative doesn't support defining multiple container in deployment/definition file.


Test task reconnection: expected behavior on reload of killed task?

Testing #158787
repro:

run the VS Code - Build task
use CTRL+D to stop both tasks (should say "Terminal will be reused by tasks, press any key to close it.")
reload the window
tasks start running again ❓

Not too sure what the expected behavior should be on this, but it thought that it would reload at the same state (task stopped or not even there).

Good find - the tasks should not be re-run in this case and need to be removed from persistent tasks

@andreamah I can't reproduce this anymore - pls reopen this if you can


Missing Texture

Issue description:
Missing Texture
What happens:
just loaded with missing texture
What you expected to happen:
Steps to reproduce:
1.loaded AlliedKingdom 2 pack
2.
3.
...
Version (Make sure you are on the latest version before reporting):

Minecraft: 1.10.2
Forge:<IP_ADDRESS>1
Refined Storage:1.2.12

Does this issue occur on a server? [yes/no]
yes
If a (crash)log is relevant for this issue, link it here:
[pastebin/gist/etc link here]
https://gyazo.com/934086a2bb9cc41ba9f11f75cc4739d3

Duplicate of #881


Syslog receiver

A client wants us to send alerts to their Syslog server. I think it would be easy to do this by adding a new receiver for Syslog.
I don't know anything about Alertmanager source code, but there are already a bunch of receivers and it seems straightforward to create a new one by looking at them. Plus Prometheus already uses log/syslog (in prometheus/common/log/syslog_formatter.go) from the Go standard library and the new receiver could just use that.
Is it okay if I send a pull request for this?
(Thanks for Prometheus by the way! We just started using it.)

I'm not sure a syslog notifier makes sense, as it's not a typical way to notify a human. The webhook is probably the way to go here.

I am closing here due to inactivity. @darabos please reopen if you want to further discuss this issue.

Hi i would like to bring back that topic :)
We use CheckMK to check our Environment, if Alertmanager would be able to send syslog messages to it we could combine all our monitoring tools in CheckMK which has a powerfull syslog console :)

Hi i would like to bring back that topic :)
We use CheckMK to check our Environment, if Alertmanager would be able to send syslog messages to it we could combine all our monitoring tools in CheckMK which has a powerfull syslog console :)

GCP logging has come a long way. Sending syslog to GCP is a snap, which opens up GCP to be used for alerting, thus eliminating the need for AlertManager for GCP users.

GCP logging has come a long way. Sending syslog to GCP is a snap, which opens up GCP to be used for alerting, thus eliminating the need for AlertManager for GCP users.