Kconfig: Support macro expansion within symbol names

Update Kconfiglib to upstream revision 2be02fac78527 to add support for
expanding macros within symbol names, extending the existing Kconfig
preprocessor
(https://github.com/torvalds/linux/blob/master/Documentation/kbuild/
kconfig-macro-language.txt). Some minor optimizations are included as
well.
This makes it possible to add Kconfig templates to avoid code
repetition, e.g. like below:
Kconfig.log_template:
choice
	prompt "Max compiled-in log level for $(module-str)"

config $(module)_LOG_LEVEL_OFF
	bool "Off"

config $(module)_LOG_LEVEL_ERR
	bool "Error"

config $(module)_LOG_LEVEL_WRN
	bool "Warning"

config $(module)_LOG_LEVEL_INF
	bool "Info"

config $(module)_LOG_LEVEL_DBG
	bool "Debug"

endchoice

config $(module)_LOG_LEVEL
	int
	default 0 if $(module)_LOG_LEVEL_OFF
	default 1 if $(module)_LOG_LEVEL_ERR
	default 2 if $(module)_LOG_LEVEL_WRN
	default 3 if $(module)_LOG_LEVEL_INF
	default 4 if $(module)_LOG_LEVEL_DBG

Using the template:
module = FOO
module-str = foo
source "Kconfig.log_template"

...

module = BAR
module-str = bar
source "Kconfig.log_template"

This feature might create harder-to-read Kconfig files if abused, so it
should probably be used sparingly.
Fixes: #9761

CC @nordic-krch @carlescufi

Codecov Report

Merging #9797 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #9797      +/-   ##
==========================================
+ Coverage   52.23%   52.24%   +<.01%
==========================================
  Files         212      212
  Lines       25951    25951
  Branches     5593     5593
==========================================
+ Hits        13556    13557       +1
  Misses      10159    10159
+ Partials     2236     2235       -1

Impacted Files
Coverage Δ

boards/posix/native_posix/timer_model.c
53.28% <0%> (+0.72%)
: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 13a2103...885b192. Read the comment docs.

I've tried it and works as expected. @nashif @carlescufi, could we get that in?


OPEN_BRACKET - can't prevent the behavior

Hi, I tried to prevent the behavior of pressing a key OPEN_BRACKET to add ability add CLOSED_BRACKET. But I can't do this.
InputMap<Event> prevent = InputMap.consume(
    anyOf(
        keyPressed(OPEN_BRACKET, SHORTCUT_ANY, SHIFT_ANY)
    )
);
Nodes.addInputMap(this, prevent);

this.setOnKeyPressed(event -> {
    if (event.getCode() == KeyCode.OPEN_BRACKET) {
        int position = this.getCaretPosition();
        this.insertText(position, "[]");
        this.moveTo(position + 1);
    }
});

Expected behavior:
[]
Actual behavior:
[[]
The same situation for other characters, such as ' " < ( {

You will, because pressing keys sends several events, such as KEY_PRESSED, KEY_RELEASED, KEY_TYPED etc., and RichTextFX evidently fires off on any of them. Therefore, if you capture one event, but not another, most likely it will come through to your rich text view.
I managed to avoid that behavior by capturing ANY key event as follows:
scene.addEventFilter(KeyEvent.ANY, ke -> {
            if (Keys.CTRL_Z.match(ke)) {
                ke.consume()
                doSomething();
                return;
            }

           if(Keys....
          ...
});

where Keys.CTRL_Z is:
public static final KeyCombination CTRL_Z = new KeyCodeCombination(KeyCode.Z, KeyCombination.CONTROL_DOWN);

A good way but this break all behavior.
It seems that during UNDEFINED - a symbol is inserted, but I can not find it, because even if I take the text from it, it will be empty. So I have to paste the text into the editor myself through catching up to this call, for example KEY_PRESSED.
KeyCombination OPEN_BRACKET = new KeyCodeCombination(KeyCode.OPEN_BRACKET);

this.addEventFilter(KeyEvent.ANY, ke -> {
    if (!"UNDEFINED".equals(ke.getCode().toString())) {
        if (OPEN_BRACKET.match(ke)) {
            ke.consume();

            if ("KEY_RELEASED".equals(ke.getEventType().getName())) {
                int position = this.getCaretPosition();
                this.insertText(position, "[]");
                this.moveTo(position + 1);
            }
        } else if ("KEY_RELEASED".equals(ke.getEventType().getName()) &&
                ke.getText().charAt(0) != 8) {
            this.insertText(this.getCaretPosition(), ke.getText());
        }
    } else {
        ke.consume();
    }
});

Like this, it somehow works, including Backspace. But it also breaks the selection, and other keys that are familiar in writing the combination.

I don't know what is UNDEFINED in key codes and why you involve it, but what semantically fully substitutes the setOnKeyPressed and consumes any subsequent events is this:
KeyCombination OPEN_BRACKET = new KeyCodeCombination(KeyCode.OPEN_BRACKET);

this.addEventFilter(KeyEvent.ANY, ke -> {
            if (OPEN_BRACKET.match(ke)) {
                ke.consume();
		if (ke.getEventType() == KeyEvent.KEY_PRESSED) {
		        int position = this.getCaretPosition();
		        this.insertText(position, "[]");
		        this.moveTo(position + 1);        	}
                return;
            }
});

This code exactly matches the code you originally posted, except it is fired not on KEY_PRESSED, but  on ANY key event related to OPEN_BRACKET.
It shouldn't break any other keys, selections etc. because it doesn't consume that. It consumes only OPEN_BRACKET.

Tested with JavaKeyWordsDemo, I also meet UNDEFINED.
By itself the example works like setOnKeyPressed but with UNDEFINED which add identicaly behavior at the header of problem: [[], and my attempts to remove the extra square bracket  with addEventFilter in vain.
I found workaround:
int position = codeArea.getCaretPosition();
codeArea.insertText(position, "]");
codeArea.moveTo(position);

Hm... Seems like you still do not control the keyboard. Make sure you know why you need that UNDEFINED thing and if you need it at all.
Also, make sure you add the event listener at the right level.
Probably, you should add it to the toppest level - the container or the scene that contains the rich text node, not to the rich text node itself.
If you extend the rich text node (as I infer from your piece of code) and include it into your scene, then you could pass the reference to that scene in your class constructor, and add the event listener to the scene, there.
That workaround is not a solution. The bracket must be consumed, if you want it to work stably and flawlessly.

I tried add addEventFilter on the main stage - the window and make focus to TreeView. But also get UNDEFINED. I don't know what it.
I also noticed, that the workaround is slowly.

I found quickly workaround through change listener.
In principle, this method is not so much a workaround. This can close my problem.
this.multiPlainChanges()
    .subscribe(autocomplete::callSnippet);

//...

public void callSnippet(List<PlainTextChange> changeList) {
    String inserted = changeList.get(0).getInserted();

    if (inserted.equals("[")) {
        int position = codeArea.getCaretPosition();
        codeArea.insertText(position, "]");
    }
}


[DO NOT MERGE] SEO edits for teams-in-hc

SEO edits for the Get started with Teams for Healthcare organizations article.
The reviewer will want to carefully review the changes. The most common search terms for this article are "telehealth" and "telemedicine," neither of which fit well with the content. If telehealth is a broad term that encompasses all communication for healthcare, including internal, it would be fine; if it refers more to communication between patients and healthcare workers, this article doesn't seem to address that at all, since all of the content seems related to internal communications.
Telehealth is mentioned in the description and in a bulleted list, but nowhere else in the document. I've added a few mentions, but they might not make sense depending on the definition of these terms. The SEO expert recommended adding it to the metadata title, but it might create to much focus on that one feature.
The introduction implied this is a work in progress. If a section on telehealth is being added at some point, the edits to the body might not be necessary.
Sorry for all the comments, this was a tough one to try and add these SEO terms to.

@DaniHalfin

@DaniHalfin can you check on this?


KAFKA-14478: Move LogConfig/CleanerConfig and related to storage module

Additional notable changes to fix multiple dependency ordering issues:

Moved ConfigSynonym to server-common
Moved synonyms from LogConfig to ServerTopicConfigSynonyms
Removed LogConfigDef define overrides and rely on
ServerTopicConfigSynonyms instead.
Moved LogConfig.extractLogConfigMap to KafkaConfig
Consolidated relevant defaults from KafkaConfig/LogConfig in the latter
Consolidate relevant config name definitions in TopicConfig
Move ThrottledReplicaListValidator to storage

Committer Checklist (excluded from commit message)

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

JDK 8 and JDK 11 builds passed, JDK 17 had one unrelated failure.

@satishd If you have cycles, this PR is ready for review.

I went ahead and merged this to unblock other PRs, but happy to follow up if @mimaison or @junrao have additional comments.


out of range error in line 60 mmascrape.py. Good job by the way getting the ball rolling this way!!

/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 "/Users/robinhood/aa-workspace-python/GMANE/MMA from MapAttacker/mmascrape.py"
number of fighters to scrape: 2  ### I tried lots of different numbers of fighters and got same error                message, I have noticed in the past that out of range error is when something else is going into
the field than what you think is, like it is not an integer or something (like a string instead).
Script completed in 0.08 min
Traceback (most recent call last):
File "/Users/robinhood/aa-workspace-python/GMANE/MMA from MapAttacker/mmascrape.py", line 60, in
Win = winLost[0].getText()
IndexError: list index out of range   ### I put print winLost after line 59 and got [] , so the list is empty which is out of range because there is no data.
Process finished with exit code 0
Robin Hood
github account:https://github.com/robinhood-me/python_learning
btw, do you understand the gitignore file in my repository and what it is there for? I am new to github. I think it is great that you thought of sharing your code here and I got to try it and learn from it.
If you want to talk with me, my email is<EMAIL_ADDRESS>or just start an issue on my gibhub and we can update the issue if we have a conversation.
I liked you Blog, you really seemed to be good at applying lots of different visualizations! did this required using the data differently, or pulling from different fields in the table?
I also had the idea that maybe you could make it easier for a person to add a UFC fighters name to the base url, like just ask the input to be the fighters name and append it to the sherdog url yourself. This was tedious when I was trying out your code. I had to fist past in the Sherdog url, and then paste in the full name of the fighter from the site itself (there seemed to be some code after the fighters name i think that only showed if I first went to the site and looked up a name. Just a thought.

Hi Robin,
You might letting me know which fighter's url you used for the start? From my experience after scraping a number of fighters, even if they have zero fights, they did put in 0 in the site.
I didn't meant it such that one need to go to put in the sherdog domain name and fighters name as the url path. One just need to search for the fighter in their search box and it will give you the fighter's page. Then copy the whole fighter's url path out and paste it in the raw_input.
But, you are right too, It is possible to make an improvement in the starting url, I think one way is to use the package selenium to allow input of a fighter's name in the raw_input, and push it to the web search bar in sherdog.com fighter's query. Their search engine will then be able to intelligently find the closest match to a fighter with the url. Won't be doing that in this case though. :p
Thanks for the encouragement! There are still lots to learn and Dr Chuck did a good job in accelerating this process.
I think gitignore allows u to specify which are the files for github to ignore when making a commit. I'm only a few weeks old to github too, but getting the hand of it. Just try each function slow and steadily and u will get the hang of it eventually.


sketch image

resolves issue #11
this is the sketch image. someone pls take a look.

a few things.

ideally, this would be embedded in README.md?
it looks like you have the radio button for both, but the bar graphs are grouped?
I think that the original intent was to just do 1 bar per airline, then the radio button would filter out
the airlines that aren't selected.
I think that the two tabs should be labelled more clearly as different tabs, since putting them side-by-side made me think that it was just one big dashboard for a second.

Cool. will change these later.

As James said, definitely want the it in the README instead of as a separate file.

Just one bar per airline is probably better (it gets coloured in or not depending on whats selected with the radio button)
I think what we were going for with the last incident type was lethality (# of accidents with a fatality/# of incidents) instead of fatality rate (which was used in the bar graph already)

resolves issue#[7]

resolves issue [#7 ]

resolves issue #7

resolve #11
As per requested, I put sketched images in the README.md.  Take a look, merge if ok.

7c66a3a, 6325cfd and 510c2b9 look good.
as for 796c2f7, the writing is a little bit casual. I've re-written it a little bit, let me know what you think.

Even though safety has been always the top priority of aviation industry, fatal incidents can still occur. A particularly infamous example is the Malaysia Airlines Flight 370 indicent, which left passengers wondering if Malaysia Airlines, or for that matter, any airline having a higher incidence rate. Our application will try to answer the question:  As time and technology advances, how are incident rates among different airlines affected?

Our application will show the distribution of incidents for two different periods (1985 to 1999 and 2000 to 2014), as well as variables such as first-world status of the Airline's originating country, and lethality of incidents, to gain insights about how air incidents change, and any relationships between air incidents and airlines.

@lisebraaten also check for grammar & flow?


Update hub route in client sample

https://github.com/aspnet/SignalR/blob/dev/samples/SocketsSample/Startup.cs#L51
The default chat hub in the SocketsSample used to be mapped to "hubs". Now it's "default" and the Client Sample needs to point to that.

@mikaelm12,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot


git-new-pull-request for forked repos

The introduction of nested feature branches took away a nice feature of git-new-pull-request with forked repos.
Github was assuming a pull request for a branch would always be made against the master of the fork and was redirecting you there. Now that we specify the parent branch this has gone away.
What do you think about the Github version of new-pull-request not specifying the parent branch if it is equal to the main branch?

SGTM


conll 2003 dataset source url is no longer valid

Describe the bug
Loading conll2003 dataset fails because it was removed (just yesterday 1/14/2022) from the location it is looking for.
Steps to reproduce the bug
from datasets import load_dataset

load_dataset("conll2003")

Expected results
The dataset should load.
Actual results
It is looking for the dataset at https://github.com/davidsbatista/NER-datasets/raw/master/CONLL2003/train.txt but it was removed from there yesterday (see commit that removed the file and related issue).

We should replace this with an alternate valid location.
this is being referenced in the huggingface course chapter 7 colab notebook, which is also broken.

FileNotFoundError                         Traceback (most recent call last)
<ipython-input-4-27c956bec93c> in <module>()
      1 from datasets import load_dataset
      2
----> 3 raw_datasets = load_dataset("conll2003")

11 frames
/usr/local/lib/python3.7/dist-packages/datasets/utils/file_utils.py in get_from_cache(url, cache_dir, force_download, proxies, etag_timeout, resume_download, user_agent, local_files_only, use_etag, max_retries, use_auth_token, ignore_url_params)
    610             )
    611         elif response is not None and response.status_code == 404:
--> 612             raise FileNotFoundError(f"Couldn't find file at {url}")
    613         _raise_if_offline_mode_is_enabled(f"Tried to reach {url}")
    614         if head_error is not None:

FileNotFoundError: Couldn't find file at https://github.com/davidsbatista/NER-datasets/raw/master/CONLL2003/train.txt

Environment info

datasets version:
Platform:
Python version:
PyArrow version:

I came to open the same issue.

Thanks for reporting !
I pushed a temporary fix on master that uses an URL from a previous commit to access the dataset for now, until we have a better solution

I changed the URL again to use another host, the fix is available on master and we'll probably do a new release of datasets tomorrow.
In the meantime, feel free to do load_dataset(..., revision="master") to use the fixed script

We just released a new version of datasets with a working URL. Feel free to update datasets and try again :)

Hello! Unfortunately, this URL does not work for me.
Could you please tell me how I can solve the problem?
`>>> from datasets import load_dataset

dataset = load_dataset("conll2003")
Downloading and preparing dataset conll2003/conll2003 (download: 4.63 MiB, generated: 9.78 MiB, post-processed: Unknown size, total: 14.41 MiB) to /home/dafedo/.cache/huggingface/datasets/conll2003/conll2003/1.0.0/40e7cb6bcc374f7c349c83acd1e9352a4f09474eb691f64f364ee62eb65d0ca6...
Traceback (most recent call last):
File "", line 1, in
File "/home/dafedo/efficient-task-transfer/venv/lib/python3.8/site-packages/datasets/load.py", line 745, in load_dataset
builder_instance.download_and_prepare(
File "/home/dafedo/efficient-task-transfer/venv/lib/python3.8/site-packages/datasets/builder.py", line 574, in download_and_prepare
self._download_and_prepare(
File "/home/dafedo/efficient-task-transfer/venv/lib/python3.8/site-packages/datasets/builder.py", line 630, in _download_and_prepare
split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
File "/home/dafedo/.cache/huggingface/modules/datasets_modules/datasets/conll2003/40e7cb6bcc374f7c349c83acd1e9352a4f09474eb691f64f364ee62eb65d0ca6/conll2003.py", line 196, in _split_generators
downloaded_files = dl_manager.download_and_extract(urls_to_download)
File "/home/dafedo/efficient-task-transfer/venv/lib/python3.8/site-packages/datasets/utils/download_manager.py", line 287, in download_and_extract
return self.extract(self.download(url_or_urls))
File "/home/dafedo/efficient-task-transfer/venv/lib/python3.8/site-packages/datasets/utils/download_manager.py", line 195, in download
downloaded_path_or_paths = map_nested(
File "/home/dafedo/efficient-task-transfer/venv/lib/python3.8/site-packages/datasets/utils/py_utils.py", line 203, in map_nested
mapped = [
File "/home/dafedo/efficient-task-transfer/venv/lib/python3.8/site-packages/datasets/utils/py_utils.py", line 204, in
_single_map_nested((function, obj, types, None, True)) for obj in tqdm(iterable, disable=disable_tqdm)
File "/home/dafedo/efficient-task-transfer/venv/lib/python3.8/site-packages/datasets/utils/py_utils.py", line 142, in _single_map_nested
return function(data_struct)
File "/home/dafedo/efficient-task-transfer/venv/lib/python3.8/site-packages/datasets/utils/download_manager.py", line 218, in _download
return cached_path(url_or_filename, download_config=download_config)
File "/home/dafedo/efficient-task-transfer/venv/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 281, in cached_path
output_path = get_from_cache(
File "/home/dafedo/efficient-task-transfer/venv/lib/python3.8/site-packages/datasets/utils/file_utils.py", line 621, in get_from_cache
raise FileNotFoundError("Couldn't find file at {}".format(url))
FileNotFoundError: Couldn't find file at https://github.com/davidsbatista/NER-datasets/raw/master/CONLL2003/train.txt
`

I receive the same error when I run "itrain run_configs/conll2003.json" from https://github.com/adapter-hub/efficient-task-transfer
Thank you very much in advance!
Regards,
Daria

Can you try updating datasets and try again ?
pip install -U datasets

Thank you very much for your answer!
It works this way, but for my research I need datasets==1.6.3 or closest to it because otherwise the other package would not work as it is built on this version.
Do you have any other suggestion? I would really appreciate it. Maybe which version of the datasets is without hard-coded link but closest to 1.6.3

No problem, I have solved it.
Thank you anyway.

Out of curiosity, which package has the datasets==1.6.3 requirement ?


ARROW-9088: [Rust] Make prettyprint optional

It does not compile under the wasm target

It's odd that a pretty print library would be have target specific issues :P

@houqp prettytable-rs depends on term which depends on dirs which is causes error.
actually dirs has a code for wasm32, but it seems it is broken


React native docs

Merging for now, we can address feedback in future PRs (as you are starting to @trishalim)


Using batarang on offline environment

Hi
I am trying to use batarang on am offline environment without internet access but it seems that it doesn't work.
Is there is a way to make it to work?

I can't really help when the bug report is "it doesn't work".  Please provide more details (bonus points for screenshots).  I'll reopen when that happens.


Unable to install miri

Per the README, I run these commands on my system:
rustup +nightly component add miri
cargo +nightly miri test

It outputs this:

This is a dummy package to make sure nobody malicious registers the cargo-miri crate. This crate was mentioned in a talk but not registered. If you think you deserve to be the owner of this package, please contact Bram Geron.

This looks similar to #2806. However, I have never cloned / developed on / locally built this repository. Moreover, my entire compute was built and its OS installation initialized after that issue was closed.
I am running Linux, NixOS 24.05.6632.c21b77913ea8.

 Remove the rustup component, then cargo uninstall cargo-miri, and perhaps the same for miri if you tried to install it that way too, then add the rustup component again.

That worked! Awesome, thanks.


request help: failed to list upstreams in APISIX: unexpected non-empty object

hey in k8s（helm chart install version 2.7）
my apisix-ingress-controller always through this err.  What is this mean?
failed to list upstreams in APISIX: unexpected non-empty object

So what's the version of your apisix-ingress-controller?

So what's the version of your apisix-ingress-controller?

apache/apisix-ingress-controller:1.0.0

The err also shows
 failed to convert upstream item

@gxthrj PTAL

This result was caused by the marshal process of apisix upstream.
@riskgod Could you try to send requests to apisix admin service and see the result? The request likes:
curl http://apisix-admin:9180/apisix/admin/upstreams

X-API-Key should be carried so that the authentication can be passed.

@riskgod any update? please show the configuration of ingress controller.

@riskgod It should be the format of Upstream.nodes is wrong.
Wrong format:
{"<IP_ADDRESS>:8080": 1, "<IP_ADDRESS>:8080": 1}
Correct format:
[{"host": "<IP_ADDRESS>", "port": 8080, "weight": 100, "priority": 0}]
Use the following command to query:
curl http://apisix-admin:9180/apisix/admin/upstreams -H "X-API-KEY: secretKey"  | python -m json.tool

If the Apache APISIX cluster is managed only by the APISIX Ingress controller, there won't have any object-like nodes, are there some legacy data in the cluster before the ingress controller takes over it.

By the way, we can consider to support object like nodes.

@riskgod Is there any update? Has this problem been resolved in your environment?

The stale issue, feel free to reopen.


[Bug]: the description of the cron expression is illegal

ODC version
4.2.4
OB version
not related
What happened?

open partition plan task panel
select "custom mode" option in schedule strategy and type cron expression as follow: * 22 14 2 4 ?:

as you can see the notice "每年 4 月 2 日 14 点 22 分" is wrong
What did you expect to happen?
the cron expression stands for "每秒"
How can we reproduce it (as minimally and precisely as possible)?
follow 'what happened'
Anything else we need to know?
No response
Cloud
No response

Fixed In Commit 29528084deeb56f8d2a1bcf064198310000fbf79
------
畅晚
Fri May 31 13:55:27 2024 +0800

pass


ci(test): Run test "At every 15th minute past every hour from 3 through 5."

Explanation of the crontab syntax: https://crontab.guru/#/15_3-5_**

Why do we need this @janpio ?

Pierre has the theory that BuildPulse, the tool we use to find flaky tests would really benefit from running the same commit a few times to see which tests sometimes pass and sometimes don't - and a few nightly runs seem like a good approach to see if that is true. No one else will need to wait for these.
(Although now writing this, I wonder if this will trigger on all branches or only main... We'll know tomorrow morning I guess :yolo:)


[ Not compile ]

Desktop (please complete the following information):

OS: Fedora 31 with i3wm

main_view.rs
use orbtk::prelude::*;

//use crate::MainState;

widget!(
  MainView {
    title: String
  }
);

impl Template for MainView {
  fn template(self, id: Entity, ctx: &mut BuildContext) -> Self {
    self.name("MainView").child(TextBlock::new().text(("title", id)).build(ctx))
  }
}

main.rs
use orbtk::prelude::*;

//pub use self::main_state::*;
pub use self::main_view::*;

//mod main_state;
mod main_view;

fn main() {
  Application::from_name("orb")
    .window(move |ctx| {
      Window::new()
        .title("orb")
        .position((100.0, 100.0))
        .size(372.0, 768.0)
        .resizeable(true)
        .child(MainView::new().title("Hello OrbTk").build(ctx))
        .build(ctx)
    })
    .run();
}

[notecomm@localhost orb]$ cargo run
Finished dev [optimized + debuginfo] target(s) in 0.33s
Running target/debug/orb
thread 'main' panicked at 'StringComponentStore.get: internal downcast error', /home/notecomm/.cargo/registry/src/github.com-1ecc6299db9ec823/dces-0.3.0/src/component/string_component_store.rs:252:26
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

the problem is on text(("title", id)), when I use text("title") it works

I also experimented this error multiple times is horrible to debug it. It happens every time that you use an not acceptable value type for a property I would refer to it as the NullPointerException of OrbTk, I think that the same behavior happens if you forget to set an must-have prop. The error is tracked down to dces a dep so I'm insecure of how to correct it.
Maybe @FloVanGH has some idea

@cindRoberta sorry for the late response. What is your OrbTk version? If it is the latest from crates.io I think I know the error. On the latest crates.io the type of text of TextBlock is String16 and not String. We changed it to String, but this update is now only available on the develop branch right now.
I'm also working on a better error management in DCES.

@cindRoberta sorry for the late response. What is your OrbTk version? If it is the latest from crates.io I think I know the error. On the latest crates.io the type of text of TextBlock is String16 and not String. We changed it to String, but this update is now only available on the develop branch right now.
I'm also working on a better error management in DCES.


Addition of tags to identify the priority or assigning category to indivudial entries.

Hi czytelny, Do you think addition of tags to individual tasks/entries can add value to backlog. User can add individual tags to categorize the tasks and give them meaning and priority.

hi, yeah, I think it's pretty good idea, although it'll significantly complicate app. If tags then perhaps some filtering (searching) and different displaying... I'll keep it as an idea for 2.0 version :)

That's great, Thanks


0.2.0 release of blockless-car is not on crates.io

blockless-car lib is not available on crates.io
https://crates.io/crates/blockless-car/versions

coming soon.

publish.


Whitelisted scripts with cmdletbinding cannot be executed by pwsh -File <Path> when applocker is enabled

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
Step 1: Create a script with the cmdletbinding attribute and a type that hasn't been whitelisted in constrained language mode. Demo script:
[cmdletbinding()]
param()
$null = [System.Collections.Generic.List[string]]::new()
pause

Step 2: Enable applocker with the default rules for scripts and add a whitelist rule for the test script.
Step 3: Try to launch a new instance of pwsh where the File parameter points to the test script, for example: Start-Process -FilePath pwsh.exe -ArgumentList ("-ExecutionPolicy", "Bypass", "-File", "C:\Test\TestScript.ps1") -RedirectStandardOutput $Home\Desktop\Error.txt (Redirected output to make it easier to see the error message).
The error message will say:
TestScript.ps1: Cannot dot-source this command because it was defined in a different language mode. To invoke this command without importing its contents, omit the '.' operator.
Step 4: Edit the script to remove the cmdletbinding attribute and try to run it again. This time it will succeed.
A simple workaround is to replace the -File parameter with -Command and run the script with & like this: Start-Process -FilePath pwsh.exe -ArgumentList ("-ExecutionPolicy", "Bypass", "-Command", "& C:\Test\TestScript.ps1").
I would imagine the fix for this is to just not dot-source the scripts specified by the -File parameter unless NoExit has also been specified (there's no point in dot-sourcing if the process stops after script execution anyway).
If that's considered too big of a breaking change then a new parameter could be added to allow users to explicitly tell PS to not dot-source the script.
For what it's worth, Windows PowerShell suffers from the same issue.
Expected behavior
N/A

Actual behavior
N/A

Error details
No response
Environment data
Name                           Value
----                           -----
PSVersion                      7.4.0-preview.6
PSEdition                      Core
GitCommitId                    7.4.0-preview.6
OS                             Microsoft Windows 10.0.22621
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

/cc @PaulHigin

@MartinGC94 is correct in describing the expected behavior of this cmdlet
In terms of the feature request "If that's considered too big of a breaking change then a new parameter could be added to allow users to explicitly tell PS to not dot-source the script."  We determined that this is not a security feature so we would defer to the interactive console WG-- thanks!

/cc @TravisEz13

I discussed this with @TravisEz13, -f and -c are working as documented, but it's understandable that the current behavior might be a surprise to users that expect an allowed script to not work because it wasn't obvious that -f will dot-source.
What we propose is that if pwsh knows that it is in system lockdown mode (AppLocker/WDAC) then it should emit a warning message when used with -f that the file will be dot-sourced and run in constrained language mode regardless if it's allowed to run in full language mode (use -c for that).  -nologo would suppress this message.

I discussed this with @TravisEz13, -f and -c are working as documented, but it's understandable that the current behavior might be a surprise to users that expect an allowed script to not work because it wasn't obvious that -f will dot-source.
What we propose is that if pwsh knows that it is in system lockdown mode (AppLocker/WDAC) then it should emit a warning message when used with -f that the file will be dot-sourced and run in constrained language mode regardless if it's allowed to run in full language mode (use -c for that). -nologo would suppress this message.

The issue is that dotsourcing a whitelisted (FLM) script into the CLM interactive scope is not allowed as it can expose trusted objects.

Thank you @MartinGC94 for reporting this issue.  As stated by Travis above "The issue is that dot-sourcing a whitelisted (FLM) script into the CLM interactive scope is not allowed as it can expose trusted objects."  The dot-source behavior of -f is documented here: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_pwsh#-file---f

The responses here don't make too much sense to me, how would the addition of the [CmdletBinding()] attribute affect what -File allows or does not allow to be run.
For example I have two scripts which output "Test $($ExecutionContext.SessionState.LanguageMode)" but script2 has [CmdletBinding()] param() as well. Both these scripts are signed but only the one without the [CmdletBinding()] attribute runs when starting in a new process.

We can see that script1.ps1 without the [CmdletBinding()] attribute runs just fine but script2.ps1 does not. This is the same behaviour as powershell.exe.
Compare that to just invoking the script in an existing CLM session where both work just fine.

I would understand the failure if you did -NoExit -File ... where you don't want to leave open a shell that has dot sourced a FLM file but that doesn't work anyway with an understandable error around dot sourcing.


Extract conversion of web_sys::El into El from a method

A part of #235.
This is so that the conversion can be used without the other two branches and so that it is not wrapped in a Node.

More idiomatic too.


select(dt::DTable, cols::Vector{Int}) doesn't match DataFrames.jl

It looks like only the first element of cols is used when they all should be used.
Example:
julia> using DTables, DataFrames

julia> df = DataFrame(a = [1], b = [2]);

julia> dt = DTable(df);

julia> select(dt, [1, 2]) |> fetch
1×1 DataFrame
 Row │ a
     │ Int64
─────┼───────
   1 │     1

julia> select(df, [1, 2])
1×2 DataFrame
 Row │ a      b
     │ Int64  Int64
─────┼──────────────
   1 │     1      2

Thanks a lot! Overlooked this part of the interface completely (the vector selection)


Small typo

Fix typo in docs:

first new lines should be "command" and it was "conmmand"

Deploy preview for docsdocker ready!
Built with commit a4e4d3a9fa86813dab090098e692f9ee256ef2bf
https://deploy-preview-7873--docsdocker.netlify.com


Update notification links

Description
Update links in push notifications sample README with latest docs for Windows App SDK 1.1.0-stable release.
Target Release
Windows App SDK 1.1.0-stable release
Checklist

[ ] Samples build and run using the Visual Studio versions listed in the Windows development docs.
[ ] Samples build and run on all supported platforms (x64, x86, ARM64) and configurations (Debug, Release).
[ ] Samples set the minimum supported OS version to Windows 10 version 1809.
[ ] Samples build clean with no warnings or errors.
[ ] [For new samples]: Samples have completed the sample guidelines checklist and follow standardization/naming guidelines.
[ ] If I am onboarding a new feature, then I must have correctly setup a new CI pipeline for my feature with the correct triggers and path filters laid out in the "Onboarding Samples CI Pipeline for new feature" section in samples-guidelines.md.
[ ] I have commented on my PR /azp run SamplesCI-<FeatureName> to have the CI build run on my branch for each of my FeatureName my PR is modifying. This must be done on the latest commit on the PR before merging to ensure the build is up to date and accurate. Warning: the PR will not block automatically if this is not run due to '/azp run' limitation on triggering more than 10 pipelines.

/azp run SamplesCI-Notifications

/azp run SamplesCI-Notifications


Update azure-stack-network.md

Updating permit networks comments to match ACL configuration.

#sign-off


Coda daemon crashed.

coda_crash_report_2020-02-15_08-35-52.659850.tar.gz
Crashed when run on my VPS from Linode.com. Other daemons than coda have not crashed. I was not doing anything during the time of the crash.

Crashed again today. My other daemons intact.
coda_crash_report_2020-02-15_19-30-00.059104.tar.gz

Closing this issue as it is stale for a long time.


Bug Report: When building, I am getting an error that has nothing to do with my code.

Please check for duplicates, similar issues or closed issues with the same problem, as well performing simple troubleshooting steps (such as deleting the export folder if it's an issue with compiling, reinstalling Kade Engine) before submitting an issue.
If you are playing a downloaded version of the game, what operating system are you using?
Windows (x86), Windows (x86_64), Linux, or macOS? Specify below.
Windowsx64
What version of the game are you using? Look in the bottom left corner of the main menu.
1.4.2 latest release
Have you identified any steps to reproduce the bug? If so, please describe them below. Use images if possible.
build the game. idk what else
Please describe your issue. Provide extensive detail and images if possible.
when building the game I am getting this error: idk how to fix it and it wasn't there yesterday when I compiled.
https://justpaste.it/7ggje

this is not an error lamo
it is a warning

oooooooooooo
All of that's from flixel-addons. try reinstalling / updating your haxelibs.


Switch to xmltodict and pass over missing temperature (fixes #2433)

Description:
Switch to xmltodict from beautifulsoup4 to save a dependency and take into account that not all stations are tracking the water temperature.
Related issue (if applicable): fixes #2433
Example entry for configuration.yaml (if applicable):
sensor:
  - platform: swiss_hydrological_data
    name: Aare
    station: 2135

Checklist:
If code communicates with devices, web services, or a:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

@fabaff this PR is good to go and can be merged when you are ready. I leave it up to you if you want to add a guard clause.


TessBaseAPI should not modify the global locale

Environment

Tesseract Version: 4.1.1
Commit Number:
Platform: Darwin Xoots 19.6.0 Darwin Kernel Version 19.6.0: Tue Nov 10 00:10:30 PST 2020; root:xnu-6153.141.10~1/RELEASE_X86_64 x86_64

Current Behavior:
Tesseract modifies the global locale when the API is linked to other consumers, if built with Debug.
Expected Behavior:
Tesseract does not modify the locale.
Suggested Fix:
The following code in TessBaseAPI::TessBaseAPI() and its preceding code in 4.1.1 modify the global locale if a debug Tesseract is linked to a program. That would be the case when consuming Tesseract through Conan with a -s build_type=Debug.
In our case, it's changing the number formatting of one of our products. We are already careful to change the locale to "C" and restore the locale when calling Tesseract, but this resulted in a difficult to understand bug that we initially thought was in our code.
#if !defined(NDEBUG)
  // The Tesseract executables would use the "C" locale by default,
  // but other software which is linked against the Tesseract library
  // typically uses the locale from the user's environment.
  // Here the default is overridden to allow debugging of potential
  // problems caused by the locale settings.

  // Use the current locale if building debug code.
  try {
    std::locale::global(std::locale(""));
  } catch (const std::runtime_error& ex) {
    fprintf(stderr, "Warning: Could not set the current locale\n");
  }
#endif

@stweil
I think we could remove that code. What do you think?
Or change that ifdef to #ifndef TESS_DEBUG, because it really uses global debug flag which may affect other code.
TESS_DEBUG will explicitly say that we want to trace exactly tess code.
But my preference is to remove that locale setting completely.

The Tesseract library is used in C/C++ applications like the tesseract executables. Such applications use the C locale by default and won't have problems with code parts which change the behaviour with different locales.
But the library is also used in other applications which don't use the C locale. Therefore it is important that the library works with any locale settings.
The code which was removed now made sure that debug versions of the Tesseract library always used the current locale of the user, so we had a broad test with different locales when people used debug builds.
Release builds should set NDEBUGwhich disables the locale settings. Then the TessBaseAPI does not modify the global locale.
Please revert the commit which removed the test code.

I do not understand and do not agree

The code which was removed

We do not need that code to make bugs visible.

Locale issues must be reported and fixed.
Setting locale is not what libtess should do.
If we need to check locale issues, we should find all places that use locales. What are those? I know c++ streams, what else?

Isn't default program locale is system locale?
Where can I read about opposite?
If first question is true (default program locale is system locale), then we already have many user locales tested in release and debug builds and removed code does not make any sense.
Am I wrong?

"ISO C says that all programs start by default in the standard ‘C’ locale." (see https://www.gnu.org/software/libc/manual/html_node/Setting-the-Locale.html). Therefore we won't notice any problems caused by other locales unless we explicitly set a different locale.
Java or Python programs which use the Tesseract library would be affected by such problems.
A lot of functions depend on locale settings, not only the C++ streams but also the scanf and printf family of functions (and therefore also tprintf) and some more. I remember that I made a list some years ago in an earlier issue.

"ISO C says that all programs start by default in the standard ‘C’ locale.

I see, thank you.
I've also found on https://en.cppreference.com/w/cpp/locale/setlocale
During program startup, the equivalent of std::setlocale(LC_ALL, "C"); is executed before any user code is run.
But if we need such test, why not create some unit test that will iterate over many locales, use several tess facilities that use locales.
(I agree that such unit test wil have smaller coverage.)

Then, next question is why do we have such issues? If we do some locale dependeny c++ io, we should imbue locale on streams explicitly (C locale to get locale independent results). If we use C print/scan functions, they should be checked on whether it is allowed to do locale dependent io.
I've already fixed some c++ io issue with streams during unittest CI setup. Seems like because of locale set in removed code or in unittest startup code.
I don't think that bugs should be catched in such way.
If we replace !NDEBUG with !TESS_DEBUG - no one will use that our def except our code (tess.exe, unittests).

why not create some unit test that will iterate over many locales

A locale has to be installed before it can be activated. Typical Linux installations only install a single locale depending on the language settings (in my case de_DE.UTF-8). The main contributors would at least cover some representative locales (RTL languages, Indic, Russian, Western European).
A typical example which can cause problems: training output from lstmtraining prints float numbers. Those numbers are parsed by scripts which plot the training results. Depending on the locale, the representation would look very different:
3.141
3,141
8192.05
8192,05
8.192,05
8,192.05

training output from lstmtraining prints float numbers.

I assume it must be fixed then? It should always print C locale numbers. If any script cannot parse them (works in some other locale), it is that script's problem, not ours.

training output from lstmtraining prints float numbers. Those numbers are parsed by scripts which plot the training results. Depending on the locale, the representation would look very different:

I had not considered this while creating the plotting scripts in tesstrain repo.
https://github.com/tesseract-ocr/tesstrain/pull/236/files#diff-c1286e969112d6bd21411905c6e5901139206ac5d7d995242af2eb0e37801106
the script uses . as the decimal delimiter when trying to get CER values from the log file.


NC4_get_vars(): fix out-of-bounds write with unlimited dimension

This fixes an issue hit by GDAL, and that is found in netcdf 4.6.3
and 4.7.0
git bisect pointed the problem to have started with
77ab979c5fd7151f8583c7698498bb8cb0dafb63 is the first bad commit
commit 77ab979c5fd7151f8583c7698498bb8cb0dafb63
Author: Ed Hartnett<EMAIL_ADDRESS>Date:   Sat Jun 16 09:58:48 2018 -0600

    using get_vars but not put_vars

:040000<PHONE_NUMBER>e77aaea4f130ca769a852e2c3b26373a78fa fc9ffd1d13d8f5db5ab888044e0cec4def26eba1 M	libsrc4

where nc_get_vara_double() started using nc4_get_vars() underneath.
It turns out that nc4_get_vars() was buggy in the situation exercised by GDAL.
This can be reproduced with the following simple test case:

int main()
{
    int status;
    int cdfid = -1;
    int first_dim;
    int varid;
    int other_var;
    size_t anStart[NC_MAX_DIMS];
    size_t anCount[NC_MAX_DIMS];
    double* val = (double*)calloc(3, sizeof(double));

    status = nc_create("foo.nc", NC_NETCDF4, &cdfid);
    assert( status == NC_NOERR );

    status = nc_def_dim(cdfid, "unlimited_dim", NC_UNLIMITED, &first_dim);
    assert( status == NC_NOERR );

    status = nc_def_var(cdfid, "my_var", NC_DOUBLE, 1, &first_dim, &varid);
    assert( status == NC_NOERR );

    status = nc_def_var(cdfid, "other_var", NC_DOUBLE, 1, &first_dim, &other_var);
    assert( status == NC_NOERR );

    status = nc_enddef(cdfid);
    assert( status == NC_NOERR );

    /* Write 3 elements to set the size of the unlimited dim to 3 */
    anStart[0] = 0;
    anCount[0] = 3;
    status = nc_put_vara_double(cdfid, other_var, anStart, anCount, val);
    assert( status == NC_NOERR );

    /* Read 2 elements starting with index=1 */
    anStart[0] = 1;
    anCount[0] = 2;
    status = nc_get_vara_double(cdfid, varid, anStart, anCount, val);
    assert( status == NC_NOERR );

    status = nc_close(cdfid);
    assert( status == NC_NOERR );

    free(val);

    return 0;
}

Running it under Valgrind without this patch leads to
==19637==
==19637== Invalid write of size 8
==19637==    at 0x4C326CB: memcpy@@GLIBC_2.14 (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==19637==    by 0x4EDBE3D: NC4_get_vars (hdf5var.c:2131)
==19637==    by 0x4EDA24C: NC4_get_vara (hdf5var.c:1342)
==19637==    by 0x4E68878: NC_get_vara (dvarget.c:104)
==19637==    by 0x4E69FDB: nc_get_vara_double (dvarget.c:815)
==19637==    by 0x400C08: main (in /home/even/netcdf-c/build/test)
==19637==  Address 0xb70e3e8 is 8 bytes before a block of size 24 alloc'd
==19637==    at 0x4C2FB55: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==19637==    by 0x4009E8: main (in /home/even/netcdf-c/build/test)
==19637==

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

Could you also incorporate the test code to confirm this fix?

Done per https://github.com/Unidata/netcdf-c/pull/1442/commits/0c7be1d2785a9ce4938c7a88f023289a86e8d63f

Thanks!


can't load webgazer.js file

Hi,
I'm  running the JsPsych Eye-tracking example and I was confronted with the following error :
on Firefox  :
The resource from<EMAIL_ADDRESS>was blocked due to MIME type (“text/plain”) mismatch (X-Content-Type-Options: nosniff).
On google chrome
GET<EMAIL_ADDRESS>net::ERR_ABORTED 404
Apparently, I can't load the webgazer.js file
This work well yesterday, but I  was confronted with this issue today.
Thanks for helping me out with this situation.

It's odd that this used to work – the correct tag for 7.0.0 is<EMAIL_ADDRESS>so the URL should be https://cdn.jsdelivr.net/gh/jspsych/jsPsych<EMAIL_ADDRESS>Fixed now, thanks for flagging @kmamine!


Incorrect TX POWER response on AU915 FSB-6 on so-called "dual-plan"

This has originally been raised by @zigon - just creating an issue for this as nobody else has after checking repo issues.
Description
I have a gateway and a critical device that I need reliable transmission from. I have access to the firmware of the device so I can get it to work on any frequency band no problem. However, the device is a long way away from the gateway and can only just pickup join accepts and downlinks when the gateway transmits at 30dbm. From what I can see with FSB6, when the device transmits on the upper 6 channels the LNS correctly interprets it as AU915 FSB and sends the join accept to the gateway on the right frequency at 30dbm. However, the gateways are now on the AS923 radio config and as such the gateway limits the power to 16dbm from what Louis has said. As such there is no way that the device will be able to receiver the join accept.  I imagine this issue will take a long time to get fixed as the gateways need a new radio configuration file to allow 30dbm transmission? Any very rough time estimation for this issue to be fixes? Like days, weeks or months? (edited)
https://discord.com/channels/404106811252408320/1043247093831192587/1044387161501343784
To Reproduce
This behavior is consistent and happens with multiple devices.
Expected behavior
LNS TX POWER should be 30dBm on all channels
Additional context
This has been confirmed by multiple users

First, there are no known Semtech sensors which transmit at 30dBm.  Semtech Engineering reports to us that:
Semtech sensor chips supports +15 dBm (SX1261), +22 dBm (SX1262) or both (LR1110).
Sensor hardware can implement an external PA to increase it to +30 dBm, but they do not know how often hardware manufacturer are doing this.  Likely this is rare.
Helium Hotspots are currently limited by hardware design to 27dBm.
The AU915 sensor will Tx at 22dBm.  An AU915 FSB2 Helium Hotspot will Rx at 27dBm.
For a DualPlan Hotspot the behavior is the same.
The AU915 FSB6 sensor will Tx at 22dBm.  The 'DualPlan' AU915 FSB6 Hotspot will Rx at 27dBm if it is an AU915 sensor.
The type of sensor is determined by the Join frequency - Ch 40 or 41 determine AS923.  Ch 42 - 47 determine AU915.
Multiple Hotspot owners have confirmed the current behavior is correct.
I hope this clarifies things.

I have checked this with @Zigon who has originally reported that and that statement seems incorrect:

The 'DualPlan' AU915 FSB6 Hotspot will Rx at 27dBm if it is an AU915 sensor.

The correct Rx response is only on 6 of 8 channels.
@plainsimpledot has agreed to also test this with the sensors set up for testing purposes.

AU915 Uplinks and Downlinks (@27dBm) are successfully handled on all 8 of 8 channels.
AU915 Joins can only be handled on Ch 42 - 47 as Ch 40 and 41 are reserved for AS923.  A future optimization might handle this differently though and it is technically possible that once a sensor is identified as AU915 all future Joins can use Ch 40 to 47 for Joins.  Per the spec this is valid behavior.


Upgrade cf-prometheus release

What
Our Prometheus in the CF BOSH deployment is responsible for scraping a large quantity of metrics from Elasticsearch (ES) instances. Our users query Prometheus to see metrics about their ES instances.
Periodically, Prometheus compacts metrics it has collected into smaller blocks. We see really high memory during TSDB compaction:

Which is fixed in Prometheus 2.15:

Release

See "TSDB: Significantly reduced memory footprint of loaded TSDB blocks"
See "TSDB: Significantly optimized what we buffer during compaction which should result in lower memory footprint during compaction"
See "TSDB: Improve replay latency"
See "TSDB: WAL size is now used for size based retention calculation"

Prometheus BOSH deployment v26.2 is the earliest release with Prometheus >= 2.15 in it

Release

"prometheus to v2.15.2"

How to review
Code review
I'm running this down my development environment, and will update the PR once the acceptance tests pass.
Who can review
Not @tlwr

I pulled the release from the GitHub releases page, but I'll change back to the bosh.io source


Format and details for caution

"Caution  An existing limitation of the Windows Runtime XAML implementation is that you cannot animate your custom attached property."
Isn't it more useful if you put this in a dialog with red background, similar to how info dialogs have a blue one?
"You cannot animate your custom attached property". Does this mean you cannot set it through a style? I tested on my side and this was the case. If this is true, can you add this information?

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

ID: 369c139c-69a6-8817-5cb2-6e93d64d8cce
Version Independent ID: 6feed647-1cd1-8971-eb36-f14aaccad151
Content: Custom attached properties - UWP app developer
Content Source: windows-apps-src/xaml-platform/custom-attached-properties.md
Product: windows
GitHub Login: @jwmsft
Microsoft Alias: jimwalk

@julienshepherd, thanks for the feedback. The 'caution' notes in this section were left over from the automated conversion of the old docs to markdown. I've updated them to use the 'warning ' block with the red background.
The note means you can't use a custom attached property in a Storyboard, like you would use in a VisualStateManager.
You can, however, set it in a Style. The example for Composition lighting uses a custom attached property. You can modify that example to add a Style resource to the page, like this:
    <Page.Resources>
        <Style TargetType="Border" x:Key="OrangeLightStyle">
            <Setter Property="local:OrangeSpotLight.IsTarget" Value="True"/>
        </Style>
    </Page.Resources>

Then apply the Style like this:
    <Border BorderThickness="4" BorderBrush="PaleGreen" Margin="2"
            Style="{StaticResource OrangeLightStyle}">
        <Rectangle Fill="LightGray" Height="20"/>
    </Border>


Execute only regular e2e suite

Matching behavior from 0.26 branch
Next: more tests being enabled

/assign @pierDipi


Service Unavailable 503

Hi,
I am trying to add a UK property business using HTTP post with:

https://test-api.service.hmrc.gov.uk/self-assessment/ni/*********/uk-properties
request of { }

and I am getting back an error "Service Unavailable 503"
I am sending a valid NINO and accesstoken.
Is this not available or is something else wrong?
thanks
David

Solution Found.
The problem was associated with the request JSON object of "{ }" for adding a UK property business.
I was incorrectly writing this JSON object as String in the HTTP POST output stream instead of as Bytes. My correct java code is:
byte[] objAsBytes = jJsonObject.toString().getBytes("UTF-8");
connection.getOutputStream().write(objAsBytes);
This solved the problem. I no longer get "Service Unavailable 503" and the UK Property business has been successfully added.
best regards
David


File transfer: "Accept file" message in chat/conversation

I've tested ChatSecure intensively 2 days and I realized that every time I want to transfer a file, nobody of my contacts realized the information (window) that there is a file transfer waiting.
It happened to me, too. One click too much and it's gone. And because it is not ringing when a file comes in, nobody takes a look. ( I have to tell "Hey, i'll send you a file, is that okay?" )
IMHO I'd prefer following...

File transfer notification in the chat window ( "ring-ring Oh, a message! Oh, a file. -> accept)
This "accept always" should be (optionally) -really- always, not only in one session.
Optional: Choose to recive file formats (images) automatically : jpg, gif, png
(you want to send somebody a funny picture, then it should just appear)
-or-
Optional: Choose to recive files up to 20kb, 50kb, 100kb automatically

Best regards

This is being added for v15... it is partially in v14 where you just need to accept once, and also we have a notification now.


Add CCF!Network

Extract and add https://github.com/microsoft/CCF/blob/main/tla/consensus/Network.tla

@Vanlightly @ahelwer Is this a module to get the discussion/repo started?


fix: Fix variable being cleared after reboot by save button ID to DB

fix issues : #89
I create a new table storage detail

Summary by CodeRabbit

New Features

Introduced database integration for managing button attributes and user rewards.
Added environment variable support for enhanced database configuration.

Improvements

Enhanced bot's intent settings for improved access to member information and message content.
Improved method naming for better clarity.

Chores

Updated .gitignore to exclude the .env file, protecting sensitive information.

Documentation

Provided a template .env.example file for easy MySQL database setup.

@winstonsung why pylint always says Unable to import 'dotenv' ?

Because the Pylint GitHub Actions workflow haven't switch to -r requirements.txt .

Is the downgrading from
urllib3==2.2.2
werkzeug==3.0.3

to
urllib3==2.2.1
werkzeug==3.0.1

intended?


Cannot read property 'split' of null

Cannot read property 'split' of null at translateInLanguage.. in Vue- Quasar framework.. any solutions?

it works now. default language setup issue, main.js updated.

I would like to use vuex-i18n with quasar, but don't know where to start properly... Do you maybe know for some example quasar project?

Hi @kosirm
Unfortunately, there is currently no quasar example that I know of. However, there is a todo example in the directory /examples/todo with the main starting file at https://github.com/dkfbasel/vuex-i18n/blob/master/examples/todo-vuex-i18n/src/app/main.js.
Maybe just take a look at the example repository to find out how it works, or there is also a presentation https://github.com/dkfbasel/vuex-i18n/blob/master/examples/vuex-i18n.pdf which shows you how to use vue-i18n (a different library) and vuex-i18n.
Please let me know, if this does not work out.


[Form] Create templates and code for add/remove operations

We need a generic LUIS model template for add/remove of properties and to update the C# runtime to make use of those composites.

Still needed.

Checked into both botframework-cli and botbuilder-dotnet.


initialism class should use text-capitalize()

Currently .initalism in type.less looks like this -
.initialism {
  font-size: 90%;
  text-transform: uppercase;
}

but it should take advantage of .text-capitalize defined above so it should be
.initialism {
  font-size: 90%;
  .text-capitalize();
}

in my opinion 😄

I think you mean .text-uppercase() in the second example not Capitalize :+1:

My bad. Thanks.


load a de.yaml massage file with a @ symbol

Version
@nuxtjs/i18n:
nuxt:
Nuxt configuration
Please change to [x] if relevant for this issue:

[ ] Applies to a site deployed to a static server (site generated with nuxt generate)
[ x] Applies to a site deployed to a server with a Node backend

@nuxtjs/i18n configuration

Reproduction Link

FILE: de.yaml
mailUs:
title: Schreiben Sie uns
subtitle<EMAIL_ADDRESS>Steps to reproduce
load the above mentioned de.yaml file
What is Expected?
It should load
What is actually happening?
I get en arrow because of the @ symbol. It is to mention, that it works without the @ symbol!

Can you help me?

@ is special characters on vue-i18n or Nuxt3 (Vue 3)
You can read the docs:
https://vue-i18n.intlify.dev/guide/essentials/syntax.html#special-characters
Thanks!


Feature request: Apply unary and binary operations to existing expressions

This is a feature I require and currently implement by formatting the expression(s) into a String with the required operator and reparsing it.

Do you mean all user defined operators for that expression? How could a call look like?

let op_minus: Operator = todo!();

let diff1 = expr1.apply_binary_operator("-", expr2)?;
let diff2 = expr1.apply_binary(op_minus, expr2);
let diff3 = op_minus.apply_binary(expr1, expr2);

let neg1 = expr1.apply_unary_operator("-")?;
let neg2 = expr1.apply_unary(op_minus);
let neg3 = op_minus.apply_unary(expr1);

diff1 and neg1 would enforce that the operator is known to the OperatorFactory of the expression and is therefore the cleanest and most convenient. The other two variants are more flexible. I would be fine with all three variants.

I implemented something similar to compute partial derivatives. I will look into how to make this part of the public API.
https://github.com/bertiqwerty/exmex/blob/07ce3de3dc20724f1498b4653ce0e6336d75b100/src/partial/mod.rs#L477

See https://github.com/bertiqwerty/exmex/blob/0358a04fd0e5e5c2c8cf1537ef48f8fdda711666/src/lib.rs#L276


Code Cleanup

Clean up the code from last semester - leave only relevant code

@matityahuinba  - please check that Ive dont what we agreed on
@ortroyaner - please go over the GUI code, ther's much of it and I wasn't sure what to delete...

Totally agree! :ok_hand:

@ortroyaner - did you had a chance to take a look so we can close this?


Crash with BigUInt after updating from 2.0.1 to 2.0.3

I saw that Fixed BigUInt conflict is in release note of 2.0.2. Was there anything changed that lead to BigUInt crashing? Specifically, in my project it is crashing when I try to get the ``BigUInt` variable's description property.

Let me check that. I just removed objective-c biguint class

Thank you!

Cleaning the project helped, thanks!


Is it possible to ignore a section of code

Versions:

ide-helper Version: 2.8
Laravel Version: 7.24
PHP Version: 7.4.9

Question:
I have an unusual use case where the Laravel is loaded after a CMS has been initialized.
Laravel is basically on its own but has access to the CMS code, Unfortunately, Artisan is totally unaware of this so I am unable to generate the ide-helper file.
Is it possible to wrap a code bock in some kind of ignore, or to check if artisan ide-helper is running?
Thanks!

@adampatterson I'm unable to follow, specifically the relation between composer and ide-helper
Are you saying you cannot install ide-helper due to the lack of no support for composer on this project?

@mfn Sorry, not composer, when Artisan is running.

Well, Since you pointed out my error. I found this solution php_sapi_name() !== 'cli'


Add dependency management workflow

This change includes binary-builder ruby code. We can refactor this out later.
Resolves #415

I'm just letting everything run locally so I can make sure compilation and testing work, and that the compiled dependency works in the buildpack 👍

Are these failures?

No these are not failures from testing the compiled dependency. We're not sure why this happens but it was noted that it also happens in dep-server. I'll create a new issue for this.

@TisVictress I'm trying to build the simple PHP app in the integration test data with a dependency built with this code (8.1.13 on bionic) and the build is failing with:
...
[builder]     Finding PHP extensions directory
[builder] Expected 1 PHP extensions dir matching '/layers/paketo-buildpacks_php-dist/php/lib/php/extensions/no-debug-non-zts-*', but found 0
[builder] ERROR: failed to build: exit status 1

Have you been able to successfully use a compiled dependency in the buildpack? @thitch97 maybe you could try this too

@sophiewigmore No these are not failures from testing the compiled dependency. We're not sure why this happens but it was noted that it also happens in dep-server. I'll create a new issue for this.

@TisVictress OMG I missed your README about this. That helps a lot, thank you.

OMG I missed your README about this. That helps a lot, thank you

No worries @sophiewigmore LOL I didn't make the README and I just noticed it myself.

@TisVictress @sophiewigmore I haven't been able to successfully compile at all. Have either of you run into a permission denied error at this step? Am I missing something obvious?

@thitch97 yea, I was able to compile yesterday using the validator with the small change victoria sent which is needed to set a docker password:
	fmt.Println("\nCreating Container")
	resp2, err := cli.ContainerCreate(context.Background(), &container.Config{
		Image: "compilation",
		Env:   []string{"PASSWORD=docker"},
		Cmd:   []string{"--version", version, "--outputDir", "/output", "--target", target},
	}, &container.HostConfig{

The issue I mentioned above when using the compiled dependency in the buildpack appears to have been because we didn't strip a level off of the compiled dependency which @TisVictress has fixed now I think. I'm testing it out locally. I. haven't tried to build any version other than 8.1 though.


chore: add support for call expressions in formatter

Description

Problem*

Resolves
Summary*

Documentation

[ ] This PR requires documentation updates when merged.

[ ] I will submit a noir-lang/docs PR.

[ ] I will request for and support Dev Rel's help in documenting this PR.

Additional Context

PR Checklist*

[ ] I have tested the changes locally.
[ ] I have formatted the changes with Prettier and/or cargo fmt on default settings.

Can you run cargo fmt?

Oof, what did I do?


range of selfcheck_bertscore

Hello,
I am trying to use your work to estimate the factuality of samples. I am just getting relatively low scores for the selfcheck_bertscore even when the samples are totally contradicting. I was wondering how did you choose if a passage is factual or nonfactual.
Thank you

Hi @EngSalem,
Sorry for my later reply -- I only saw this just now.
So, you could run selfcheck-BERTScore on your development dataset, and choose an optimal threshold.
Note that someone pointed out to me that the current BERTScore is not properly scaled; therefore, the values are extremely high (or low in our case) see this issue here: https://github.com/Tiiiger/bert_score/blob/master/journal/rescale_baseline.md
I will edit the code soon to have rescale_with_baseline as an option for BERTScore soon, but you are welcome to add it to yourself.
Best,
Potsawee

rescale_with_baseline option has been added to SelfCheck-BERTScore


(refactor) extract form loading steps from tests

reduce at least 3 different ways we were loading form definitions down to 1 with assertions and 1 without

updated tests 1-3, 5-24, 29-33

all tests double-checked in Chrome and in PhantomJS

We need the BIC module to be in the dep-tree somewhere so that window.BMP.Forms.getDefinition() is fixed up. However, I've made the testUtils module depend on that, and removed the BIC dependency from all the other modules.

oh i should of been a bit more clear (but i like that the test utils module loads bic now, one less thing to think about) - my question

should this be completely removed ?

was about the entire empty test suite https://github.com/blinkmobile/forms/blob/feature/tests-dedupe/test/20_2013W31v/test.js

Oh, the purpose of that test suite is just to load a real-world form definition that used to not load at all.

oh ok that makes sense now. maybe add a comment that says that ? otherwise
lgtm :+1:

I added that comment to test/20_2013W31v


[SPARK-17237][SQL][Backport-2.0] Remove backticks in a pivot result schema

What changes were proposed in this pull request?
Pivoting adds backticks (e.g. 3_count(`c`)) in column names and, in some cases,
thes causes analysis exceptions  like;
scala> val df = Seq((2, 3, 4), (3, 4, 5)).toDF("a", "x", "y")
scala> df.groupBy("a").pivot("x").agg(count("y"), avg("y")).na.fill(0)
org.apache.spark.sql.AnalysisException: syntax error in attribute name: `3_count(`y`)`;
  at org.apache.spark.sql.catalyst.analysis.UnresolvedAttribute$.e$1(unresolved.scala:134)
  at org.apache.spark.sql.catalyst.analysis.UnresolvedAttribute$.parseAttributeName(unresolved.scala:144)
...

So, this pr proposes to remove these backticks from column names.
This is a backport pr coming from #14812.
How was this patch tested?
Added a test in DataFrameAggregateSuite.

Test build #71281 has started for PR 16565 at commit 875e2c0.

Test build #71281 has finished for PR 16565 at commit 875e2c0.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/71281/
Test FAILed.

Could you change the PR title to [SPARK-17237][SQL][Backport-2.0] Remove backticks in a pivot result schema

okay!

Test build #71290 has started for PR 16565 at commit e2c2fae.

Test build #71290 has finished for PR 16565 at commit e2c2fae.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/71290/
Test PASSed.

Merged build finished. Test PASSed.

I checked the change history. Actually, you also backported https://github.com/apache/spark/pull/15111. Could you please update your PR description and PR title?

LGTM except one comment

@gatorsmile  oh, I see. Is it okay to mix this pr with the fix of #15111? Would it be better to backport #15111 first then, backport this?

@gatorsmile ping

I think it is fine to do it together. Basically, your PR is to fix the bug of https://github.com/apache/spark/pull/15111

okay! I'll update them

@gatorsmile How about this fix? plz check this again?

Thanks! Merging to 2.0
Could you please close it?

Okay and thanks!


[Task]

Description
support springboot3 metrics refer to springboot2
Task List

[ ] support springboot3 metrics monitoring

ack


Update GPULayers vars

Hi Amanda,
I am trying to update the array of colors attached to the GPULayer after initialization.
I am referring to your example available here:
https://openprocessing.org/sketch/1760726
I already tried to invoke other methods like:
particlesColor.setFromArray(colors);
But the values are not updated.
I also tried different combinations of invoking step method by the program.
Cheers,
Carlos

I've found the solution by calling the resize method. It updated the internal array:
particlesColor.resize(numParticles, colors);
Cheers,
Carlos

both will work. I just added the following lines to the open processing demo and it worked:
window.addEventListener('keydown', (e) => {
	if (e.key === 'c') {
		for (let i = 0; i < this.numParticles; i++) {
			// Set to yellow.
			this.colors[3 * i] = 1;
			this.colors[3 * i + 1] = 1;
			this.colors[3 * i + 2] = 0;
		}
		this.particlesColor.setFromArray(this.colors);
	}
});

You can also init a new Float32Array and pass that in:
window.addEventListener('keydown', (e) => {
	if (e.key === 'c') {
		const colors = new Float32Array(this.numParticles * 3);
		for (let i = 0; i < this.numParticles; i++) {
			// Set to yellow.
			colors[3 * i] = 1;
			colors[3 * i + 1] = 1;
			colors[3 * i + 2] = 0;
		}
		this.particlesColor.setFromArray(colors);
	}
});

Note that for this sketch, you'll see the color slowly fade into the new color, because the particles starting adding in the new color on top of the old one, and the old colors eventually decay away.
Hope that helps!


FIX: genf macro lineno

The correct line number of the source file for the generated code.
See for example following code and it's output:
#include <stdio.h>

#define genf(out, ...)                                     \
    do {                                                   \
        fprintf((out), __VA_ARGS__);                       \
        fprintf((out), " // %s:%d\n", __FILE__, __LINE__); \
    } while (0)

int main(void) {
    genf(stdout, "Hello, world");
}

Yeah, I think there was something wrong with Emacs at the time of writing this. Its go to line command had off by one moment for whatever reason. Now it's fine. Thanks!


Incorrect whitespaces rendering\wrapping

VSCode Version: 1.36.0-insider
OS Version: MacOS Mojave 10.14.5

@Iipal Could you please paste the text here or attach the file here, I am not 100% what I am looking at...

@alexandrudima it's a lot of tabs before i = ~0;
void	foo(void)
{
	int	i;

																																																	i = ~0;
}

Ok, steps to reproduce:
Have the following settings and open the above file:
"editor.wordWrap": "wordWrapColumn",
"editor.wordWrapColumn": 50,
"editor.rulers": [50]

This file + these settings causes wrapping to occur within the line leading whitespace, which confuses the indentation guides:

@alexandrudima yeap, exactly what you says. Sorry for didn't added steps to reproduce, my fail

Pushed a change where we now limit the rendering of indent guides to the wrapping column:


Again issue with test indexing

Hi Nic,
I have check the nbitcoin and may be some issue with indexing.
https://live.blockcypher.com/btc-testnet/tx/10fa6d8fa236e424c073fda72873779507b7d67b14218b6ee1c9032525b0a34d/
This transaction is shows 6+ confirmation but currently when i use following code then it was not retrieve the transaction.
IDestination userUniqueKey = masterPubKey.Derive((uint)9); (this is my wallet index)
BalanceSelector balanceSelector = new BalanceSelector(userUniqueKey.ScriptPubKey);
BalanceModel transactionHistory;
transactionHistory = client.GetBalance(balanceSelector, true).Result;
Also let me know this issue arise with live environment?

I am looking around the testnet is correctly sync.

This is likely a bug of your code, all scriptPubKey involved show the transaction correctly (http://tapi.qbit.ninja/balances/0x76a9144d1c574c397a934c6a55840fe9e9bde2835c510c88ac)

We got proper Transaction history using this code but from today we are getting 0 transaction history for
WalletAddress= n3d6Veyd7AsK236YPmuvQezrT8Yhd4DjpF,
PubKey = 03360b08fbdf9f7f6c6ed322468b619848ece0a92bcf92bb22ed9cbd0dbbd91587,
ScriptPubKey = OP_DUP OP_HASH160 47f60ce80008c4a7e047bdc58ae6431f628d9548 OP_EQUALVERIFY OP_CHECKSIG,
BalanceSelector = 0x76a91447f60ce80008c4a7e047bdc58ae6431f628d954888ac,
Code
IDestination userUniqueKey = masterPubKey.Derive((uint)walletAddress.UserAutoId);
BalanceSelector balanceSelector = new BalanceSelector(userUniqueKey.ScriptPubKey);
BalanceModel transactionHistory;
transactionHistory = client.GetBalance(balanceSelector, true).Result;
this code working last 7 days but today we are are getting some issue so please that can let me know what wrong in our code.
we need all unspent transaction for given wallet address.

I am looking into it thanks.

mmh, https://tapi.qbit.ninja/balances/n3d6Veyd7AsK236YPmuvQezrT8Yhd4DjpF?unspentOnly=true seems to have history

The balance match smartbit http://tapi.qbit.ninja/balances/n3d6Veyd7AsK236YPmuvQezrT8Yhd4DjpF/summary vs https://testnet.smartbit.com.au/address/n3d6Veyd7AsK236YPmuvQezrT8Yhd4DjpF

Ok, so your problem is that the balance selector/scriptPubKey you are giving me do not match the address you provided, check
http://tapi.qbit.ninja/whatisit/n3d6Veyd7AsK236YPmuvQezrT8Yhd4DjpF

Tomorrow i will check again and will send proper detail for key .

i have change some code and now it work perfect.
Thanks.


Please share traind models

Hello @MahtaFetrat ,Thank you for your great dataset.

Hello @karim23657,
I’m glad you found the dataset useful, and thank you for including it in your valuable project, awesome-Persian-Speech—I really appreciate it.
As for the model, we are still working on it, and unfortunately, it’s not ready for release at this time.
Best regards,
Mahta Fetrat


nixos/oomd: use mkRenamedOptionModule like mentioned in the changelog, add missing section to use slice

Description of changes
The release notes mention that the option was just renamed which doesn't match the actual code.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@ofborg test systemd-oomd


GHCR: push as a multi-platform image

This would be great. (My target environment for this includes Apple Silicon + Rancher Desktop.)

Fixed in https://github.com/reproducible-containers/buildkit-nix/pull/16


Single place to manage DLRS triggers

Background: If you want to remove a DLRS trigger, but have deleted the rollup, its not obvious how to delete the trigger without asking a dev. The workaround is to recreate the rollup (any valid values will be fine) on the desired child object and then you can access the Manage Child Trigger button. However this is less than ideal or obvious, thus this enhancement.
Enhancement: A single page (a bit like Apex Trigger under Setup) that allows you to see all triggers deployed by the tool and undeploy them. This will also deactivate any existing rollups.

This is insanely cool

This page should also be able to update API versions on deployed triggers.


pydocumentdb 2.3.5 install failed with homebrew

I'm using homebrew to install azure-cli, which depends on pydocumentdb.
With the latest 2.3.5, the install failed with the following message:
Processing /private/tmp/azure-cli--pydocumentdb-20191010-73888-8ri94n/pydocumentdb-2.3.5

  Created temporary directory: /private/tmp/pip-req-build-m8z2g0pt

  Added file:///private/tmp/azure-cli--pydocumentdb-20191010-73888-8ri94n/pydocumentdb-2.3.5 to build tracker '/private/tmp/pip-req-tracker-cwd2jeyt'

    Running setup.py (path:/private/tmp/pip-req-build-m8z2g0pt/setup.py) egg_info for package from file:///private/tmp/azure-cli--pydocumentdb-20191010-73888-8ri94n/pydocumentdb-2.3

.5

    Running command python setup.py egg_info

    Traceback (most recent call last):

      File "<string>", line 1, in <module>

      File "/private/tmp/pip-req-build-m8z2g0pt/setup.py", line 10, in <module>

        with open("changelog.md", encoding="utf-8") as f:

    FileNotFoundError: [Errno 2] No such file or directory: 'changelog.md'

It seems changelog.md is missing and setup.py throws the error. Please investigate.

this is an issue with the sdist package

should have been fixed in #182
there needs to be a 2.3.6 bump to apply these fixes though


Added objectFitPolyfill to window

Once objectFitPolyfill is added to window, it's more configurable when it gets called without having to modify 3rd party source code to add this in manually.

It's already added to window - that's what the UMD module wrapper does.
Check out the screenshot below of the demo page in IE - objectFitPolyfill is defined:

If you're using another framework or environment that's interfering with root somehow, I can try using returnExportsGlobal instead. Let me know if that's the issue you're running into.

How are you pulling it in with UMD? I was trying to load the basic version with Webpack in a vendor.js file. It loads the full version file, so I tried targeting the basic version directly. Either way, it wasn't showing up in window when doing so.

The UMD pattern is setting root.objectFitPolyfill. In the case of JS run in the browser, root is window.
Can you open a web inspector of your project in Chrome and type in objectFitPolyfill() into the console, and paste a screenshot? You should get either undefined or false (depending on if you have the latest dist file).
If you could do the same for IE as well (should return a function, as seen above), that would be super helpful.

Hey Sawtaytoes, I was able to figure out that the issue was occurring in module bundlers, but not when simply throwing the file itself into the browser. Thanks so much for pointing me in the right direction - the latest dist files should now be correctly setting window.objectFitPolyfill. Can you try out the latest dist files and let me know if objectFitPolyfill() is globally available to you now?

I appreciate you looking into the issue and would like to test it out for you; although, it's being used in an application at work, and I currently do not have time allotted to try out this fix in the near future :/.
Glad to see this will be corrected in any future projects 👍.


Compromise in infinite loop on circular dependency.

Searching for infinite returns over 30 issues. I see fairly recently a new dependency resolver was put in place, but the issue still remains. Because sometimes circular dependencies are needed. In that case they are not "circular" but "interdependent" -- however Bundler cannot function in that condition.
IMHO, Bundler ought to detect that a circular dependency exists, and to satisfy the dependency at the point that it begins to recurse. It ought to be a point of flow-control, not a point of failure:
https://github.com/bundler/bundler/blob/master/lib/bundler/resolver.rb
At this point, if the dependency has been met ( the gem already exists in the bundle ) could it not just stop here, and continue on? At the very least a warning could be shown, but even that seems unnecessary. The next problem would be scary warnings about fully safe gems.
The behavior I am suggesting is safe, because moving the gems out of Gemfile and into gemspec only, allows the application to run. The problem with that solution is it's not possible to specify a git repository for the location of the gem. Any changes to the gem need to be cut and pushed to RubyGems. This leads to many needless gems in RubyGems, and a lot of extra steps in CI and local debugging.
The example prompting the compromise:

celluloid depends on:

celluloid-extras
celluloid-essentials

celluloid-supervision depends on:

celluloid-essentials ( expecting celluloid itself to come along )

celluloid-pool depends on:

celluloid-essentials ( expecting celluloid itself to come along )

celluloid-fsm depends on:

celluloid-essentials ( expecting celluloid itself to come along )

celluloid-essentials depends on:

celluloid itself.

It is useless alone, but collects gems together mostly.
This is needed for tests primarily, but still.

celluloid-supervision ( for backport of expected behaviors )
celluloid-pool ( for backport of expected behaviors )
celluloid-fsm ( for backport of expected behaviors )

Etc...

Right now these are all spelled out in the respective gemspec files, but it causes the problem I mentioned.

At first it seemed like removing the gemspec call from the Gemfile resolved the issue, but it does not.

The example prompting the compromise:

celluloid-supervision depends on:

celluloid-essentials ( expecting celluloid itself to come along )

celluloid-pool depends on:

celluloid-essentials ( expecting celluloid itself to come along )

celluloid-fsm depends on:

celluloid-essentials ( expecting celluloid itself to come along )

celluloid-essentials depends on:

celluloid itself; it is useless alone, but collects gems together mostly.
celluloid-supervision ( for backport of expected behaviors )
celluloid-pool ( for backport of expected behaviors )
celluloid-fsm ( for backport of expected behaviors )

celluloid depends on:

celluloid-extras
celluloid-essentials
celluloid-supervision ( for backport of expected behaviors )
celluloid-pool ( for backport of expected behaviors )
celluloid-fsm ( for backport of expected behaviors )

Right now these are all spelled out in the respective gemspec files, but it causes the problem I mentioned.

More discussion of the issue: http://stackoverflow.com/questions/29893470/how-to-create-interdependent-ruby-gems-with-bundler-and-still-use-repositories

The the time being, the only solution other than the problems caused by #3597, is to have each gem depend on each other.

If a gem (let's call it A) has a dependency (let's call it B), that implies that gem A will require code from gem B. The require statement in gem A means that gem A cannot run until code from gem B is loaded. If code from gem A requires code from gem B that in turn requires code from gem A, that is an impossible dependency. I don't understand how "compromise" is possible in a situation where the interpreter either dies in an infinite loop or prints a "circular dependencies are bad, stop that" warning.


pass along optargs to changes for things like include_initial

Last one this morning, I promise :)  Sorry, these were small enough they should have been grouped together

Coverage decreased (-0.08%) to 95.968% when pulling b73746f21ecad222fa0cc34b1bedf6c34bd47e58 on dwburke:changes_args into a1bb8fd0aebd620ee3a7a97d7d3777697b81cc63 on njlg:master.

I'll publish these changes to CPAN in a bit.

thanks!


Stable Diffusion?

Saw your showcase on Reddit, great idea!
Problem: Image generation via OpenAI needs a payed subscription as far as I know, so it's not feasible for me.
Have you thought about an integration for Stable Diffusion? It can be run locally, there seems to be some way to interface with it and it can be used 100% offline, which is nice for internal networks. It could also integrate with stable horde für full crowd sourcing as well.

The stable diffusion is not entirely free as well. You can check the pricing here. The project is totally open source, and is built without any expenses. Somewhere down the line I can def work on it.

This might be a misunderstanding. Stable Diffusion can be self-hosted locally for free with a variety of user interfaces, the most famous one being Automatic1111. That one offers a simple API to use, I'm confident that other interfaces will expose similar ones.

Gotcha, I'll def take a look into this and see what can be done


boooop

Thanks for stopping by to let us know something could be better!
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
Please run down the following list and make sure you've tried the usual "quick fixes":

Search the issues already opened: https://github.com/googleapis/python-billing/issues
Search the issues on our "catch-all" repository: https://github.com/googleapis/google-cloud-python
Search StackOverflow: http://stackoverflow.com/questions/tagged/google-cloud-platform+python

If you are still having issues, please be sure to include as much information as possible:
Environment details

OS type and version:
Python version: python --version
pip version: pip --version
google-cloud-billing version: pip show google-cloud-billing

Steps to reproduce

?
?

Code example
# example

Stack trace
# example

Making sure to follow these steps will guarantee the quickest resolution possible.
Thanks!

@JustinBeckwith Is it alright to close this now?


Update the dark mode icon

The dark mode icon seems to be very bad, Can you change it with some other good-looking icon

@thekavikumar I'd like to work on this.

yup

yup


legion_utilities.h UBSAN Error

/path/to/legion/runtime/legion/legion_utilities.h:1037:7: runtime error: store to misaligned address 0x00010f610514 for type 'size_t' (aka 'unsigned long'), which requires 8 byte alignment
0x00010f610514: note: pointer points here
  00 00 00 1c be be be be  be be be be be be be be  be be be be be be be be  be be be be be be be be
              ^
    #0 0x1145d40b8 in Legion::Serializer::end_context() /path/to/legion/runtime/legion/legion_utilities.h:1037:34
    ...

https://gitlab.com/StanfordLegion/legion/-/merge_requests/1352

Merged.


Flush Memcached before nightly tests

Also move nightly tests to 21:00 MET / 05:00 KST to reduce impact on team members.

Obsolete, as Memcached is not used in the GitHub CI anymore.


Font weight increases 2 slides in

I'm experiencing a weird issue which I suspect could be to do with font smoothing in chrome.
http://jsfiddle.net/simeydotme/fmo50w7n/
It's not totally obvious in that jsfiddle, but after the second slide, it appears like the font-smoothing gets ignored.
It's really noticeable on thinner fonts. Has anyone else experienced this?!

I've got a little bit of a hacky fix for this.
`    var testimonials = $('.testimonials')
testimonials.on('afterChange init', function(event, slick, currentSlide){
    $('.testimonial-content').css('-webkit-font-smoothing', 'antialiased');
});

testimonials.on('beforeChange', function(event, slick, currentSlide){
    $('.testimonial-content').css('-webkit-font-smoothing', 'none');
});`


svg support broken as not all svg properties can be set with strings

Bug introduced In 'improve support for Web Components' 73921be (1.4)
var name = attribMap.hasOwnProperty(prop) ? attribMap[prop] : prop;
if (name in node) {
    node[name] = value; // value is set without any type conversion
}
else {
    node.setAttribute(name, value); // value will be converted to string
}

Steps to reproduce
var svg =  (<svg viewBox="0 0 1000 1000"> </svg>);

document.appendChild(svg);

Notice viewBox not set correctly since it while it is 'viewBox' is 'in' node, it should still be set using setAttribute()

fixed

@wisercoder Do you have a personal email? I want to help work on UIBuilder.


There is no code to uncomment

It says to uncomment code but there is no code to uncomment.

Can you try clearing cache and cookies, then resetting your code?
If that doesn't work please post a screenshot with your console open (if there are any errors).

I looked at it again and the code was just very light and hard to see but I
was able to see it and answer the question.  Thank you.
On Feb 3, 2016 7:10 AM, "Akira Laine"<EMAIL_ADDRESS>wrote:

Can you try clearing cache and cookies, then resetting your code?
If that doesn't work please post a screenshot with your console open (if
there are any errors).
—
Reply to this email directly or view it on GitHub.

Closing as resolved.


Show Hotspots around you even if you don't own any

As a way for new users to explore their geographical area, we should display a map of hotspots around their device location so they can:

better understand neighboring hotspots and their stats
determine if there are any close by
or as a host, find and interact with the hotspot the have in their home

Use case 3 will serve as the initial entry point to follow hotspot (placeholder until search is implemented). By selecting a Hotspot from the map, they can enter bluetooth pairing mode to set up wi-fi or run diagnostics.

This type of interaction might work better since we need to ask for location permissions.
Show the left UI by default. When the user presses "View Hotspots around me", request location permissions. if user accepts, proceed to the map. If user rejects, stay in previous screen.


Documentation: modelling and simulating oxidoreductases

Would it be possible to expand the examples section in Tellurium documentation with examples on how to model and simulate an oxidoreductase?
Something like the software in this article ?

That would be quite a bot of work to implement that, probably a week or two
of effort?
Herbert
On Mon, Mar 19, 2018 at 7:42 AM, eugenio<EMAIL_ADDRESS>wrote:

Would it be possible to expand the examples section in Tellurium
documentation with examples on how to model and simulate an oxidoreductase?
Something like the software in this article
https://academic.oup.com/bioinformatics/article/29/10/1299/258238 ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sys-bio/tellurium/issues/353, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABAZDmCOowoPBtWSkkREtfjDVSwFXnMUks5tf8PpgaJpZM4SwSfA
.

@hsauro I'm not yet familiar with the framework enough to do it on my own but if you care to offer some guidance I will contribute with my (perhaps limited) programming skills.

How familiar are you with Antimony? eg
A-> B;   k1A;
B + C -> D; k2B*C;
etc
Herbert Sauro
On Mon, Mar 19, 2018 at 9:17 AM, eugenio<EMAIL_ADDRESS>wrote:

@hsauro https://github.com/hsauro I'm not yet familiar with the
framework enough to do it on my own but if you care to offer some guidance
I will contribute with my (perhaps limited) programming skills.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sys-bio/tellurium/issues/353#issuecomment-374271159,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABAZDrDt_5PAz7q15X9V8sd7sIMnNwNsks5tf9opgaJpZM4SwSfA
.

@hsauro, I am a newcomer to Antimony too... thus not so familiar....

I would try building a simple model first, eg
X0-> S1 -> S2 -> X1
where X0 and X1 are fixed. Add some simple mass-action kinetics to each
step, initialize X0 to say 10 and run a simulation.
See how you get on, if you're in trouble get back to me.
H
On Mon, Mar 19, 2018 at 2:17 PM, eugenio<EMAIL_ADDRESS>wrote:

@hsauro https://github.com/hsauro, I am a newcomer to Antimony too...
thus not so familiar....
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sys-bio/tellurium/issues/353#issuecomment-374381018,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABAZDtww_yH6L8w2dlkp42QDepQOfW4_ks5tgCBYgaJpZM4SwSfA
.

Dear @hsauro, I was able to symulate this system:
model = """
model test
compartment C1;
C1 = 1.0;
species S1, S2, X0, X1;
X0 = 10.0;
X1 = 0.0;
S1 = 10.0;
S2 = 0.0;
S1 in C1; S2 in C1; X0 in C1; X1 in C1;
J1: X0 + S1 -> S2 + X1; k1*S1;
k1 = 1.0;

end
"""
Was it this what you really meant?
Best regards,
Eugenio.
2018-03-19 22:47 GMT+01:00 Herbert Sauro<EMAIL_ADDRESS>
I would try building a simple model first, eg
X0-> S1 -> S2 -> X1
where X0 and X1 are fixed. Add some simple mass-action kinetics to each
step, initialize X0 to say 10 and run a simulation.
See how you get on, if you're in trouble get back to me.
H
On Mon, Mar 19, 2018 at 2:17 PM, eugenio<EMAIL_ADDRESS>wrote:

@hsauro https://github.com/hsauro, I am a newcomer to Antimony too...
thus not so familiar....
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/sys-bio/tellurium/issues/353#issuecomment-374381018
,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABAZDtww_
yH6L8w2dlkp42QDepQOfW4_ks5tgCBYgaJpZM4SwSfA>

.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sys-bio/tellurium/issues/353#issuecomment-374391888,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAR2ZOZL4Z2if2JfJ8q-XIi69Y6ZEMrzks5tgCdpgaJpZM4SwSfA
.

What I mean we
Xo -> S1
S1 -> S2
S2 -> X1
Also Xo and X1 are fixed,so put a dollar symbol infront of the species as
in $Xo
Herbert Sauro
On Tue, Mar 20, 2018 at 12:11 AM eugenio<EMAIL_ADDRESS>wrote:

Dear @hsauro, I was able to symulate this system:
model = """
model test
compartment C1;
C1 = 1.0;
species S1, S2, X0, X1;
X0 = 10.0;
X1 = 0.0;
S1 = 10.0;
S2 = 0.0;
S1 in C1; S2 in C1; X0 in C1; X1 in C1;
J1: X0 + S1 -> S2 + X1; k1*S1;
k1 = 1.0;
end
"""
Was it this what you really meant?
Best regards,
Eugenio.
2018-03-19 22:47 GMT+01:00 Herbert Sauro<EMAIL_ADDRESS>
I would try building a simple model first, eg
X0-> S1 -> S2 -> X1
where X0 and X1 are fixed. Add some simple mass-action kinetics to each
step, initialize X0 to say 10 and run a simulation.
See how you get on, if you're in trouble get back to me.
H
On Mon, Mar 19, 2018 at 2:17 PM, eugenio<EMAIL_ADDRESS>wrote:

@hsauro https://github.com/hsauro, I am a newcomer to Antimony
too...
thus not so familiar....
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<
https://github.com/sys-bio/tellurium/issues/353#issuecomment-374381018
,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABAZDtww_
yH6L8w2dlkp42QDepQOfW4_ks5tgCBYgaJpZM4SwSfA>

.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/sys-bio/tellurium/issues/353#issuecomment-374391888
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AAR2ZOZL4Z2if2JfJ8q-XIi69Y6ZEMrzks5tgCdpgaJpZM4SwSfA
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sys-bio/tellurium/issues/353#issuecomment-374497322,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABAZDuVYtRbp8c9glNHOl-oJrogYkEmwks5tgKslgaJpZM4SwSfA
.


Can't select content in PDF_View on Android

Describe the bug
While in iOS it is possible to select, mark, and copy text from inside the PDF_View, I am unable to do so on Android.
To Reproduce
Steps to reproduce the behavior:

Load PDF.
Zoom to any text
Try to mark the text to copy it.

Expected behavior
Text gets marked/selected.
Smartphone (please complete the following information):
OS: Android

now this not supported in android because we depend on AndroidPdfViewer
but it is in Future plans