feat: expose superset of SectorOnChainInfo fields

Summary of changes
Changes introduced in this pull request:

Expose 4 new fields in SectorOnChainInfo.

Note, these fields are the union of fields available through version v9 to v12. The newest actors do not have all of these fields, but we still need to report them.
Reference issue to close (if applicable)

Closes
Other information and links

@lemmih this struct is incorrect.
https://github.com/filecoin-project/builtin-actors/blob/master/actors/miner/src/types.rs#L368-L369
The simple_qa_power was replaced by flags and thus if we want to have the exact same structure for all versions (which may bite us later), this needs to check for the SIMPLE_QA_POWER bit, see:
https://github.com/ChainSafe/forest/blob/main/src/state_migration/type_migrations/miner/sector_onchain_info_v11_to_v12.rs

@lemmih this struct is incorrect.
https://github.com/filecoin-project/builtin-actors/blob/master/actors/miner/src/types.rs#L368-L369
The simple_qa_power was replaced by flags and thus if we want to have the exact same structure for all versions (which may bite us later), this needs to check for the SIMPLE_QA_POWER bit, see: https://github.com/ChainSafe/forest/blob/main/src/state_migration/type_migrations/miner/sector_onchain_info_v11_to_v12.rs

The Lotus RPC API uses the v9 miner struct, and we have to mirror it if we want to be in compliance: https://github.com/filecoin-project/lotus/blob/0b0d7c96df590ab6ac2db3fb975a112a9a220199/chain/actors/builtin/miner/miner.go#L12
I have no idea why Lotus would use the v9 struct in their API, but they do. My thinking is that we have to expose a structure that is a union of all the different versions.

As far as I can tell, Lotus is not checking the SIMPLE_QA_POWER flag in the API call for StateMinerActiveSectors. Instead, they set the field to false for all v12 states. I have no idea why, and it may well be a bug/misfeature. Matching their API means matching their bugs as well.

As far as I can tell, Lotus is not checking the SIMPLE_QA_POWER flag in the API call for StateMinerActiveSectors. Instead, they set the field to false for all v12 states. I have no idea why, and it may well be a bug/misfeature. Matching their API means matching their bugs as well.

Understood. I'll look it up in their code and ask.


Add LIFX Mini White - Brightness

https://www.harveynorman.com.au/lifx-mini-white-wifi-led-e27-smart-light-bulb.html
Measured on 2x bulbs. Comes in a fixed warm colour temp.

[x] Check exact model name

You can add the fact that you used 2 lights to the measure_description in model.json. That would be nice for future reference.

Done


SetUserDefinedPropertyAction not working

Hi,
I'm dispatching a SetUserDefinedPropertyAction like this:
store.dispatch(new SetUserDefinedPropertyAction('formId.controlId', 'prop', 'value'));

However, no changes were applied. While debugging, I noticed that group/reducer/set-user-defined-property.ts is called but returns the state unchanged in Line 13. group/reducer/set-value.ts has a different implementation as it delegates to childReducer(...) in Line 14 (as do all the other reducers in the same directory). Is this behavior intentional? And if yes, how can I change a user-defined property via an action?

Yup, that's a bug. As you correctly spotted there's a call to childReducer missing in there.
I'll provide a fix asap.

I have just release version 2.1.0 which contains a fix for this issue.

great, thanks for the quick response!


Could I change the color of bounding boxes?

Thank you for sharing such a great tool! Since I'm working on some black-and-white videos, I'm wondering if I can change the bounding boxes into some other colors like red? Where should I change the codes?

I've found it! Thanks!
It's at libs/video_play.py. In function paintEvent(), a QPainter instance called pp is defined at line 57. So, to set the color of bounding boxes, just add pp.setPen(QColor(255,255,255)) after line 57.


Gallery: Add interface suggestion that the Title be a unique value

Are we thinking just updating the title of the dimension selector? I'll push that, but please re-open if you had something else in mind.


l10ns --version returns the version, -V not

Hi,
I installed l10ns globally.
Running l10ns --version works fine from a random location.
Running l10ns -V from the same random location (= no l10ns project) complains that I am not inside a l10ns project.

Thanks @chevdor I will try to fix this issue until next release. Which will include date formatting.

Fixed now on master


Bridges Documentation

Erik points out that we need explicit documentation for what the JSON contains for each vis type:
A list of all mandatory, optional, and disallowed attributes at the DS level and Element level for each type, etc

Documentation for whom and where?
You mean primarily as an aid to the development team?
-- krs
On 8/17/18 3:25 PM, David Burlinson wrote:

Erik points out that we need explicit documentation for what the JSON
contains for each vis type:
A list of all mandatory, optional, and disallowed attributes at the DS
level and Element level for each type, etc
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/squeetus/bridgesAPI/issues/22, or mute the thread
https://github.com/notifications/unsubscribe-auth/AFZSON5EHkxQ53eTO8OR1fOtihGwU5O-ks5uRxiggaJpZM4WCE8L.

--
Kalpathi Subramanian                                   Ph:<PHONE_NUMBER>
Associate Professor                                    Email<EMAIL_ADDRESS>Dept of Computer Science                               Web:http://webpages.uncc.edu/krs
The University of North Carolina
Charlotte, NC 28223-0001

Primarily as a design spec (aid development team, other implementors, etc) and secondarily as explicit delineation of the structure for any given vis type to support users POSTing custom-built JSON strings down the road.


Generation of Error Message Containing Sensitive Information in picocms/pico

Reported by @melbinkm via huntr.dev on 2021-08-23 16:34 CEST

✍ Description
Internal Server path is disclosed in error message.
🕵♂ Proof of Concept
Request
GET /pico/?<%00> HTTP/1.1
Referer: http://<IP_ADDRESS>:800/pico/
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36
Host: <IP_ADDRESS>:800
Connection: Keep-alive

Response
HTTP/1.1 404 Not Found
Date: Mon, 23 Aug 2021 13:29:05 GMT
Server: Apache/2.4.48 (Win64) OpenSSL/1.1.1k PHP/7.3.29
X-Powered-By: PHP/7.3.29
Content-Length: 4411
Connection: close
Content-Type: text/html; charset=UTF-8

Warning:  is_dir() expects parameter 1 to be a valid path, string given in C:\xamppp\htdocs\pico\vendor\picocms\pico\lib\Pico.php on line 1297

Warning:  is_file() expects parameter 1 to be a valid path, string given in C:\xamppp\htdocs\pico\vendor\picocms\pico\lib\Pico.php on line 460

<!DOCTYPE html>

💥 Impact
Full Path Disclosure vulnerability enables an attacker to see the full path of the file and the attacker can utilize this data for misusing some different vulnerability like Local File Inclusion.
📍 Location
index.php#L1
📝 References

Full Path Disclosure

Comment by @PhrozenByte

Whether PHP errors are shown or not is out of Pico's realm and a matter of the webserver's resp. PHP's configuration (i.e. php.ini). These warnings won't show up with PHP's default config for production systems (XAMPP uses the development config by default). I'd rather close this as invalid since it's 1) no issue with Pico and 2) result of a misconfiguration.

Comment by @melbinkm (Researcher)

Thanks. You're right. Closing issue. 👍

@melbinkm (Researcher) has invalidated this vulnerability

This is not an application vulnerability.

Thank you very much for your research @melbinkm! :heart: Disclosing this security report in accordance to our SECURITY.md.


High CPU system time on task creation contention

We have a problem with TBB generating very high CPU overhead in kernel (i.e. system time), when TBB tasks are generated by many threads. For example, our application has 256 IO threads, each periodically producing some data, which has to be processed in a number of consumers (let's say, also 256 per IO thread). This processing is parallelized by using tbb::parallel_for, so that when the number of consumers is high and the number of producers is low, the processing doesn't get bottlenecked by the IO thread performance. On a 4-core CPU with Hyperthreading this results in ~95% total CPU utilization, with about 25%-30% of that load being the kernel time, as reported by htop.
From inspecting TBB code and profiling with Oprofile, it looks like the problem is caused by excessive spinning inside TBB when tasks are created by IO threads or stolen by the TBB worker threads. This causes lots of context switches with no real work done. If my hypotheses is correct, I would like to ask to modify TBB implementation so that the excessive spinning is avoided by blocking the threads e.g. on a futex after a few spins.
I've put together a standalone test that resembles our application behavior. Its CPU load is somewhat different from our application (htop shows ~95% total load with about 70% of the system load), but I think this is because the test is much simpler and doesn't do as much of the other work the real application does. It does demonstrate the problem, even if more pronounced than the real application.
Compiled and run on Kubuntu 18.10, gcc 8.2, x86_64, Core i7-4700HQ. TBB 2019 Update 2, also reproduces with Update 1.
tbb_cpu_overhead_test.tar.gz

I'm attaching the performance report from operf. You can see that the majority of time is spent in the kernel. Not sure what causes the fgetpwent entry, the test doesn't call it, neither does TBB, AFAICT.
The top TBB symbols are various mutex methods. I'm not considering construct/destroy methods as there don't cause context switches. The important ones I consider the queuing_rw_mutex::scoped_lock methods, concurrent_vector_base_v3::helper::enable_segment, pipeline_root_task::execute and probably others, where I can see a lot of spinning.
perf.txt

I've created https://github.com/01org/tbb/pull/106 that significantly reduces the CPU overhead, although it causes test_task_arena failure, as described in https://github.com/01org/tbb/issues/104. I don't know how critical that failure is.
I don't consider that PR a final solution for the problem. Although it improves the situation, I'm not sure it will be as beneficial for every kind of workload. And I think the situation can be further improved if TBB is updated to employ blocking, when spinning is inefficient.

Thank you for a very detailed problem description and the reproducer. We will investigate.

Ping?

Guys, it's been a year. @akukanov were you able to investigate?

@Lastique, I looked through the example, it seems relatively stressful for TBB scheduler because there are 256 implicit arenas that are waken up with parallel activity every 20ms/256 = 80 us. It is comparable to the time when worker threads decide to go to sleep. In this case with so many arenas, it is possible that threads never decide to sleep (due to overheads of thread migration between arenas).
Can your approach be modified to use the only one arena (e.g. explicitly created with task_arena) to proceed all IO requests?

I'm not sure how I can do this. I haven't used task_arena before and from the description it is not clear how to use it with parallel_for.
Note that:

I cannot reduce the number of IO threads or change the frequency of arrival of work bundles.
Merging work bundles is highly undesirable since the work must be performed in soft realtime.
Because of the soft realtime requirement (and CPU overhead) passing work bundles for processing to another thread (which might utilize TBB) is also not really an option.

Basically, I need to process data in IO threads, and offload some of the work to other TBB threads, if possible, to reduce processing time. I.e. the TBB threads are supposed to be mere helpers and impose as little overhead as possible to allow IO threads to proceed.

arena is a work sharing primitive where threads can find and proceed work. Each thread can proceed work only inside the current arena, i.e. worker threads cannot steal work between arenas. By default, TBB creates an implicit arena for each user thread that works with TBB. In the case of 256 external threads it might be suboptimal because it involves some overhead of worker thread balancing between arenas.
task_arena is a public API to create user manageable arenas. In your case, I would try to create only one task_arena for all parallel_work requests:
int max_threads = tbb::this_task_arena::max_concurrency()
        + 256 /* the number of IO threads to reserve slots inside the arena */;
tbb::task_arena arena(max_threads, 256);

To submit work to the task_arena you can use execute (blocks until work is done) or enqueue (does not block the calling thread). In your case, I believe you can use execute:
arena.execute([] {
    tbb::parallel_for(...);
});

I would recommend to use isolation to prevent an IO thread to participate in parallel work submitted by another IO thread:
arena.execute([] {
    tbb::this_task_arena::isolate([] {
        tbb::parallel_for(...);
    });
});

In addition, small optimization is possible if the IO thread joins (via execute) the task_arena only once:
void io_loop() {
    arena.execute([] {
        tbb::this_task_arena::isolate([] {
            while (!m_stop_flag.load(std::memory_order_relaxed)) {
                // Input data comes in chunks, roughly every 20 ms
                std::this_thread::sleep_for(std::chrono::milliseconds(20));
                ...
                tbb::parallel_for(...);
                ...
        });
    });
}

The problem is that I don't have a fixed number of IO threads, and their number is also not bounded by a pre-defined limit. If I understand correctly, if the number of threads calling execute exceeds the limit specified in the task_arena constructor, then some of the threads must block, which is not acceptable. In my case, consumers may block in their own right, and may also take considerable time to process their work bundle, which then makes it possible for the producers to also block in the arena.
Is it possible to keep all IO threads running while making all of them use a single task arena, from which TBB worker threads will pick tasks when possible? If no free TBB threads are available (e.g. when they are blocked or descheduled by kernel) for the tasks generated by a given IO thread then at least the IO thread must proceed with these tasks.


We are getting "Actor crashed! - ArgumentError: this IO is already registered with selector" exception when using a persistent connection

We are using a keep_alive: true connection, and seeing the following exceptions in production:
[APNS Connection#0x7f420591c910] Connecting...
[APNS Connection#0x7f420591c910] Connection established.
Actor crashed!
ArgumentError: this IO is already registered with selector
/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/celluloid-io-0.17.3/lib/celluloid/io/reactor.rb:42:in register' 	/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/celluloid-io-0.17.3/lib/celluloid/io/reactor.rb:42:in wait'
/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/celluloid-io-0.17.3/lib/celluloid/io/reactor.rb:26:in wait_writable' 	/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/celluloid-io-0.17.3/lib/celluloid/io.rb:66:in wait_writable'
/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/celluloid-io-0.17.3/lib/celluloid/io/stream.rb:34:in wait_writable' 	/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/celluloid-io-0.17.3/lib/celluloid/io/stream.rb:64:in rescue in block in syswrite'
/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/celluloid-io-0.17.3/lib/celluloid/io/stream.rb:61:in block in syswrite' 	/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/celluloid-io-0.17.3/lib/celluloid/io/stream.rb:390:in synchronize'
/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/celluloid-io-0.17.3/lib/celluloid/io/stream.rb:59:in syswrite' 	/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/celluloid-io-0.17.3/lib/celluloid/io/stream.rb:356:in do_write'
/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/celluloid-io-0.17.3/lib/celluloid/io/stream.rb:287:in print' 	/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/lowdown-0.3.2/lib/lowdown/connection.rb:182:in block in connect!'
/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/http-2-0.8.2/lib/http/2/emitter.rb:34:in block in emit' 	/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/http-2-0.8.2/lib/http/2/emitter.rb:33:in delete_if'
/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/http-2-0.8.2/lib/http/2/emitter.rb:33:in emit' 	/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/http-2-0.8.2/lib/http/2/flow_buffer.rb:56:in block in send_data'
/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/http-2-0.8.2/lib/http/2/flow_buffer.rb:56:in each' 	/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/http-2-0.8.2/lib/http/2/flow_buffer.rb:56:in send_data'
/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/http-2-0.8.2/lib/http/2/connection.rb:346:in send' 	/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/http-2-0.8.2/lib/http/2/client.rb:38:in send'
/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/http-2-0.8.2/lib/http/2/emitter.rb:34:in block in emit' 	/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/http-2-0.8.2/lib/http/2/emitter.rb:33:in delete_if'
/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/http-2-0.8.2/lib/http/2/emitter.rb:33:in emit' 	/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/http-2-0.8.2/lib/http/2/flow_buffer.rb:56:in block in send_data'
/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/http-2-0.8.2/lib/http/2/flow_buffer.rb:56:in each' 	/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/http-2-0.8.2/lib/http/2/flow_buffer.rb:56:in send_data'
/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/http-2-0.8.2/lib/http/2/stream.rb:136:in send' 	/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/http-2-0.8.2/lib/http/2/stream.rb:192:in data'
/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/lowdown-0.3.2/lib/lowdown/connection.rb:375:in try_to_perform_request!' 	/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/lowdown-0.3.2/lib/lowdown/connection.rb:326:in request'
/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/lowdown-0.3.2/lib/lowdown/connection.rb:312:in post' 	/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/celluloid-0.17.3/lib/celluloid/calls.rb:28:in public_send'
/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/celluloid-0.17.3/lib/celluloid/calls.rb:28:in dispatch' 	/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/celluloid-0.17.3/lib/celluloid/call/sync.rb:16:in dispatch'
/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/celluloid-0.17.3/lib/celluloid/cell.rb:50:in block in dispatch' 	/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/celluloid-0.17.3/lib/celluloid/cell.rb:76:in block in task'
/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/celluloid-0.17.3/lib/celluloid/actor.rb:339:in block in task' 	/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/celluloid-0.17.3/lib/celluloid/task.rb:44:in block in initialize'
/var/www/apps/push_app/shared/bundle/ruby/2.3.0/gems/celluloid-0.17.3/lib/celluloid/task/fibered.rb:14:in `block in create'
[APNS Connection#0x7f420591c910] Closing...
[APNS Connection#0x7f4208d0d760] Connecting...
[APNS Connection#0x7f41dd75f280] Connecting...
[APNS Connection#0x7f41dd75f280] Connection established.
[APNS Connection#0x7f4208d0d760] Connection established.

Closing for now due to lack of actionable data, feel free to re-open if you have more info.


Fixed linker error when CONFIG_THINGSET_TEXT_MODE=n

I compiled thingset-zephyr-sdk without text mode. A clean build complains at linker time  for thingset_txt_setup(). Fixed that with compile options.

I have added a commit to check this in CI so that such errors are caught directly in the future: 0389f4aa15570f6ecac608f906c5cc9a3726a9df


implement lift_alloc_simple

@alexreinking I addressed your comments, thanks! n_lifts==0 case was checked in both API.py interface and in assert in __init__.


fix file picking from dropbox

https://github.com/flutter/flutter/issues/21547

Hard-coding knowledge of dropbox seems like the wrong approach here. What if there is some other similar service? Should every Flutter app hard-code knowledge about every such service?

Since the CLA hasn't been signed, we won't be able to accept this PR and I'm going to close it. Please don't hesitate to reopen this PR or submit a new one if you have the opportunity to sign the CLA. Thanks!

I signed it!


[Flaky test] TestRamStoreWatchTimeout unit test is flaky on Windows

W1101 00:46:49.811748    2084 store.go:350] Forcing stopping watcher (selectors: &{ app=nginx }) due to unresponsiveness
--- FAIL: TestRamStoreWatchTimeout (0.38s)
    store_test.go:516: w2 was stopped, expected not stopped
FAIL

I have seen this test fail pretty regularly, but only on Windows.
My guess is that the watcher is not processing events fast enough, and as a result the input channel becomes full (even though the result channel may not be). Somehow, the watcherAddTimeout timeout (50ms) is not sufficient and the watcher is stopped. This only happens on Windows, because the test machines are much slower.
A few possible options if we cannot modify the test to avoid this:

increase watcherAddTimeout for this unit test
skip the unit test on Windows

I was not able to reproduce locally on my laptop, even when setting GOMAXPROCS to 1, which usually works in such scenarios (it simulates a slow machine). I did observe that it could take as much as 20-25ms for an event to be dispatched to a watcher, which is still under the timeout (50ms), but I can see how on an even slower machine we could time out.
Instead of making the timeout configurable for testing, I decided to refactor the test to use a virtual clock. It has the added benefit that the test can typically complete faster than before.


Image loaders

Adding a loading indicator for image drag/drop scenario.

PR looks like ready for review now, @spbyrne can you plz confirm ?

I don't see the image after the upload 😲
https://www.loom.com/share/8d0dc17402264c2ca9a0b13c7c80f54d

Hey @DirtyF : this seems to work for me. May be an image upload issue in ur local:

This one also looks like good for merge @DirtyF , @spbyrne

I'm still having issues uploading existing uploaded images, should that work too?

Hey @DirtyF : it does not look related to this PR changes, does uploads works for you in master branch ?

@jpuri OK, we'll have to revisit uploads later.


validate() is inaccesible due to 'fileprivate' protection level

I am using alamofire '4.0' In that library I didn't find out the validate() in Request class. could you please check this issue.

Please provide your code and how you are calling

Request is now DataRequest
so in you Method please change request variable Type  to DataRequest
Please read Migration guide for 4.0
Migration Guide

thanq

Hi @gsujathap,
These types of questions should be opened as a question on Stack Overflow with an alamofire tag. We use our GitHub project for bug reports and feature requests.
Thanks! 🍻

From our Contribution Guidelines
Asking Questions
We don't use GitHub as a support forum. For any usage questions that are not specific to the project itself, please ask on Stack Overflow instead. By doing so, you'll be more likely to quickly solve your problem, and you'll allow anyone else with the same question to find the answer. This also allows maintainers to focus on improving the project for others.


Fix typo

a -> an

@changeworld : Thanks for your contribution! The author, @sffamily, has been notified to review your proposed change.

Thanks for catching it!
#sign-off

@sffamily - it appears that the text that was updated contained an typo in it. I fixed this typo, which involved removing the correction from the contributor. Thanks.


Update telemetry resource attributes

Fixes #267.
Adjust our requirements to https://github.com/open-telemetry/semantic-conventions/pull/178

Deprecate splunk.distro.version, - As it can be replaced by telemetry.auto.version and telemetry.distro.name.
Change telemetry.auto.version to telemetry.distro.version, - technically not a breaking change, as it was marked as SHOULD
Add telemetry.distro.name resource attribute. - new attribute, not breaking change

I have read the CLA Document and I hereby sign the CLA


Unable to set "cmake.configureSettings" in a kit

Windows OS, I'm trying to pass a couple of -DFOO=BAR to CMake. I've seen it done with cmake.configureSettings, but it just does not want to work....
My custom kit up to this point loads fine:
{
    "name": "foobar",
	"compilers": {
      "C": "C:\\Program Files\\LLVM\\bin\\clang.exe",
      "CXX": "C:\\Program Files\\LLVM\\bin\\clang++.exe"
    },
	"preferredGenerator":
	{
      "name": "Ninja"
    },
	"environmentVariables":
	{
		"foo" : "bar",
		"CFLAGS" : "-m32 -O3",
		"CXXFLAGS" : "-m32 -O3"
	}

But this one does not:
{
    "name": "foobar"
	"compilers": {
      "C": "C:\\Program Files\\LLVM\\bin\\clang.exe",
      "CXX": "C:\\Program Files\\LLVM\\bin\\clang++.exe"
    },
	"preferredGenerator":
	{
      "name": "Ninja"
    },
	"environmentVariables":
	{
		"foo" : "bar",
		"CFLAGS" : "-m32 -O3",
		"CXXFLAGS" : "-m32 -O3"
	},
	"cmake.configureSettings":
	{
      "CMAKE_BUILD_TYPE" : "Release",
	  "CMAKE_MSVC_RUNTIME_LIBRARY" : "MultiThreaded"
    }
  }

Why??
Log from vscode:
[kit] Invalid kit contents cmake-tools-kits.json (C:\Users\foobar\AppData\Local\CMakeTools\cmake-tools-kits.json):
[kit]  >> /6: should NOT have additional properties

Okay, as it often happens I found the answer just right after submitting the issue. It's cmakeSettings.


[djs13] BassBoost command gives an error.

Hi there.
When attempting to use the bassboost command in the discord.js V13 branch, I get this error.
/root/dev/devmusicbot/devbot1/node_modules/discord.js/src/rest/RequestHandler.js:298
      throw new DiscordAPIError(data, res.status, request);
            ^

DiscordAPIError: Cannot send an empty message
    at RequestHandler.execute (/root/dev/devmusicbot/devbot1/node_modules/discord.js/src/rest/RequestHandler.js:298:13)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async RequestHandler.push (/root/dev/devmusicbot/devbot1/node_modules/discord.js/src/rest/RequestHandler.js:50:14)
    at async TextChannel.send (/root/dev/devmusicbot/devbot1/node_modules/discord.js/src/structures/interfaces/TextBasedChannel.js:171:15) {
  method: 'post',
  path: '/channels/874958294026952704/messages',
  code: 50006,
  httpStatus: 400,
  requestData: {
    json: {
      content: undefined,
      tts: false,
      nonce: undefined,
      embeds: undefined,
      components: undefined,
      username: undefined,
      avatar_url: undefined,
      allowed_mentions: { parse: [ 'users', 'roles' ], replied_user: undefined },
      flags: 0,
      message_reference: { message_id: '893486021407281153', fail_if_not_exists: true },
      attachments: undefined,
      sticker_ids: undefined
    },
    files: []
  }
}

How can I fix this error? It seems that the bot is trying to send an empty message?
System info:

OS: Ubuntu 20.04.
Node version: 16.10.0.
Git commit: 5cdbdd26d26733dcb1c5dbb11878472077704e99

Well that's because the embed is specified as ctx.respond(embed) instead of ctx.respond({embeds:[embed]})

can you tell which command did you run? i probably missed something and I don't realize it

can you tell which command did you run? i probably missed something and I don't realize it

read the comment above thats the mistake

read the comment above thats the mistake

sorry, i didnt read the title, feels so stupid
just merged #155 which fix embed sending


Add variables for sales and stocks of vehicles

This PR implements variables for vehicle stocks and sales based on a list sent by @gunnar-pik by email.
I did not quite understand the logic in the tier structure, and I'm skeptical if all teams can report that kind of information, hence I did not assign tier 1 (equivalent to required reporting). Instead, I assigned all variables as tier 2 except for the subtypes (car-size, two-wheeler), which are increased to 3 (using the "^1" notation).
fyi @IAMconsortium/common-definitions-transport @IAMconsortium/common-definitions-coordination

thanks, this looks good!


A0-1575: Addressing information refactor

Description
This is a duplicate of #795 due to forks no longer being allowe, hopefully temporarily. :<
Type of change
Please delete options that are not relevant.

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

I have added tests
I have made neccessary updates to the Infrastructure
I have made corresponding changes to the existing documentation
I have created new documentation
I have bumped spec_version and transaction_version
I have bumped aleph-client version if relevant

This was just a workaround for a pipeline issue.


Dockerize End-to-End Services

Dockerize the ORM service to build jars.

ORM Service dockerized : 43a1c11

We have dockerized end-end backend services and have pushed the docker-compose.yml on the main branch.
Commit ID - f0d2bdd6


color

It has only setAccentColor to change the color，Can you expose  more method to setting the color?

The accentColor drives the entire color scheme of the pickers.
If you really want to start messing with font colors, you can override the actual color definitions in your app.


OSD-21060: backplane cloud console open in proper region

What type of PR is this?
bug
What this PR does / Why we need it?
When using ocm-backplane cloud console the aws connexion will be don on last connected region and not on the one of the cluster.
Which Jira/Github issue(s) does this PR fix?
_Resolves #OSD-21060
Special notes for your reviewer
Pre-checks (if applicable)

[x] Ran unit tests locally
[x] Validated the changes in a cluster
[na] Included documentation changes with PR

/test test

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (339c486) 44.04% compared to head (194682c) 44.04%.

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #343   +/-   ##
=======================================
  Coverage   44.04%   44.04%
=======================================
  Files          54       54
  Lines        4064     4064
=======================================
  Hits         1790     1790
  Misses       2015     2015
  Partials      259      259

Files
Coverage Δ

pkg/awsutil/sts.go
53.38% <100.00%> (ø)


Start defining the API reference as a single page

Finishes work started in #266
Creates a single API page that lists all functions/classes in the
library. The list is done for gridder, mesher, utils, and datasets. The
other subpackages still use the list defined in the package docstring
and will need to be updated in later PRs.
The list is defined in the doc/api.rst file. When adding a new function
or class to a module, add the corresponding entry to the api.rst file.
All links are updated and links to packages in the changelog were
removed (they would break eventually again anyway).
This is what the page looks like:

Checklist:

[ ] Make tests for new code (at least 80% coverage)
[ ] Create/update docstrings
[ ] Include relevant equations and citations in docstrings
[ ] Docstrings follow the style conventions
[ ] Code follows PEP8 style conventions
[ ] Code and docs have been spellchecked
[ ] Include new dependencies in doc/install.rst, environment.yml, ci/requirements-conda.txt and ci/requirements-pip.txt.
[ ] Documentation builds properly (run cd doc; make locally)
[ ] Changelog entry (leave for last to avoid conflicts)

@fatiando/contributors just a heads-up that this will be landing in master soon. The only major change is that now you'll have to list new functions/classes in doc/api.rst instead of in the docstring of the module.

@leouieda Awesome!! Everything that I imagined with additions!


Fix 'Find Usages' dialog for non-GraphQL entities. Fixes #93

Fixes issue #93
Tested this a bit, and it fixes the dialog and other usage search problems. GraphQL usage search also still works.

Hi Antti.
Thanks for the contribution. I'll include this in the upcoming 1.6 release.


After updating to cordova-plugin-ionic-webview: 2.0.3, unable to load or play locally stored assets from http://localhost:8080 using window.Ionic.WebView.convertFileSrc

Expected Behavior:
The new method window.Ionic.WebView.convertFileSrc will work as expected and replace normalizeURL to allow locally stored videos/photos/audio files to be accessed/played.
Actual Behavior:
The videos/audio files/images served at localhost:8080/_file_/ ... (which is the new formatted file location by the suggested method) will not load or play.  Have tried running
this.renderer.invokeElementMethod(video, 'load');
this.renderer.invokeElementMethod(video, 'play');
video.load();
video.play();
I believe the load method works because it immediately hits an error with
let canPlayThrough = this.renderer.listen(video, 'canPlayThrough', (evt) =>
});
Error output here is
evt {
bubbles: false
cancelBubble: false
cancelable: true
composed: false
currentTarget: null
defaultPrevented: false
eventPhase: 0
isTrusted: true
returnValue: true
srcElement:
target:
timeStamp: 72999
type: "error"
}
Has anybody run into this issue yet/solved it?  I was already using WKWebview with everything working perfectly, the reason this became an issue (I believe) is the deprecation of normalizeURL.  Any ideas or tips would be awesome.
UPDATE: If I hardcode one of the file URLs into the video tag it hits a 500 Internal Server Error multiple times before giving up.  If I load this same URL in a chrome browser, it locates and plays the media file without issue.
Config.xml
<access origin="http://localhost:8080" />
<allow-navigation href="http://localhost:8080/*" />
<allow-intent href="http://localhost:8080/*" />
Packages:
Angular CLI: 1.7.4
Node: 6.11.0
OS: darwin x64
Angular: 5.2.11
... animations, common, compiler, compiler-cli, core, forms
... http, platform-browser, platform-browser-dynamic
... platform-server, router
@angular/cli: 1.7.4
@angular/tsc-wrapped: 4.4.6
@angular-devkit/build-optimizer: 0.3.2
@angular-devkit/core: 0.3.2
@angular-devkit/schematics: 0.3.2
@ngtools/json-schema: 1.2.0
@ngtools/webpack: 1.10.2
@schematics/angular: 0.3.2
@schematics/package-update: 0.3.2
typescript: 2.6.2
webpack: 3.11.0
"dependencies": {
"@angular/animations": "^5.2.11",
"@angular/common": "^5.2.11",
"@angular/compiler": "^5.2.11",
"@angular/compiler-cli": "^5.2.11",
"@angular/core": "^5.2.11",
"@angular/forms": "^5.2.11",
"@angular/http": "^5.2.11",
"@angular/platform-browser": "^5.2.11",
"@angular/platform-browser-dynamic": "^5.2.11",
"@angular/platform-server": "^5.2.11",
"@angular/router": "^5.2.11",
"@ionic-native/app-rate": "^4.6.0",
"@ionic-native/app-version": "^3.12.1",
"@ionic-native/background-mode": "^3.12.1",
"@ionic-native/camera": "^3.12.1",
"@ionic-native/clipboard": "^4.10.0",
"@ionic-native/core": "3.10.2",
"@ionic-native/deeplinks": "^3.12.1",
"@ionic-native/device": "^3.12.1",
"@ionic-native/email-composer": "^3.12.1",
"@ionic-native/facebook": "^3.12.1",
"@ionic-native/file": "^4.5.3",
"@ionic-native/file-transfer": "^4.10.0",
"@ionic-native/google-plus": "^3.12.1",
"@ionic-native/health": "^3.12.1",
"@ionic-native/health-kit": "^4.7.0",
"@ionic-native/http": "^3.12.1",
"@ionic-native/in-app-browser": "^3.5.0",
"@ionic-native/insomnia": "^3.12.1",
"@ionic-native/keyboard": "^3.12.1",
"@ionic-native/local-notifications": "^3.14.0",
"@ionic-native/market": "^4.7.0",
"@ionic-native/media": "^4.3.1",
"@ionic-native/mixpanel": "^4.1.0",
"@ionic-native/native-audio": "^4.3.1",
"@ionic-native/native-storage": "^3.12.1",
"@ionic-native/network": "^3.12.1",
"@ionic-native/onesignal": "^4.2.1",
"@ionic-native/photo-viewer": "^4.5.2",
"@ionic-native/safari-view-controller": "^3.12.1",
"@ionic-native/screen-orientation": "^3.12.1",
"@ionic-native/social-sharing": "^3.12.1",
"@ionic-native/splash-screen": "^3.10.2",
"@ionic-native/status-bar": "^3.13.1",
"@ionic-native/streaming-media": "^3.14.0",
"@ionic-native/transfer": "^3.12.1",
"@ionic-native/wheel-selector": "^4.2.1",
"@ionic-native/youtube-video-player": "^4.10.0",
"@ionic/cloud-angular": "0.12.0",
"@ionic/storage": "^2.0.1",
"@ng-bootstrap/ng-bootstrap": "^1.0.0-alpha.18",
"@types/moment-timezone": "^0.2.34",
"acorn-dynamic-import": "^2.0.2",
"app-scripts": "0.0.0",
"async": "^2.4.0",
"chalk": "^2.1.0",
"com-sarriaroman-photoviewer": "^1.1.11",
"cordova-android": "^6.4.0",
"cordova-android-play-services-gradle-release": "0.0.2",
"cordova-custom-config": "^4.0.2",
"cordova-ios": "~4.5.4",
"cordova-plugin-app-version": "^0.1.9",
"cordova-plugin-background-mode": "^0.7.2",
"cordova-plugin-camera": "^2.4.1",
"cordova-plugin-compat": "^1.2.0",
"cordova-plugin-console": "^1.1.0",
"cordova-plugin-crosswalk-webview": "^2.2.0",
"cordova-plugin-device": "^1.1.6",
"cordova-plugin-email": "^1.2.6",
"cordova-plugin-facebook4": "^1.7.4",
"cordova-plugin-file": "^4.3.3",
"cordova-plugin-geolocation": "^2.4.3",
"cordova-plugin-googleplus": "^5.1.1",
"cordova-plugin-health": "^0.10.1",
"cordova-plugin-http": "^1.2.0",
"cordova-plugin-inappbrowser": "^1.6.1",
"cordova-plugin-insomnia": "https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin.git",
"cordova-plugin-ionic-webview": "^2.0.3",
"cordova-plugin-local-notifications": "https://github.com/katzer/cordova-plugin-local-notifications.git#ios10",
"cordova-plugin-mixpanel": "^4.0.0",
"cordova-plugin-music-controls": "https://github.com/amitkhare/cordova-music-controls-plugin.git",
"cordova-plugin-nativestorage": "^2.2.2",
"cordova-plugin-network-information": "^1.3.3",
"cordova-plugin-safariviewcontroller": "^1.4.7",
"cordova-plugin-screen-orientation": "^2.0.1",
"cordova-plugin-splashscreen": "^4.0.3",
"cordova-plugin-statusbar": "^2.4.1",
"cordova-plugin-whitelist": "^1.3.2",
"cordova-plugin-x-socialsharing": "^5.1.8",
"cordova-wheel-selector-plugin": "^1.0.9",
"crypto-js": "^3.1.9-1",
"es6-promise-plugin": "^4.1.1",
"hammerjs": "^2.0.8",
"ionic-angular": "^3.8.0",
"ionic-plugin-deeplinks": "^1.0.15",
"ionic-plugin-keyboard": "^2.2.1",
"ionicons": "3.0.0",
"json-loader": "^0.5.7",
"loader-runner": "^2.3.0",
"moment-timezone": "^0.5.17",
"node-sass": "^4.5.3",
"onesignal-cordova-plugin": "^2.2.2",
"rollup-pluginutils": "^2.0.1",
"rxjs": "^5.5.11",
"sw-toolbox": "3.6.0",
"typescript": "^2.4.2",
"zone.js": "^0.8.26"
},
"devDependencies": {
"@ionic/app-scripts": "^3.1.2",
"@types/async": "2.0.40",
"ionic": "3.20.0",
"typescript": "2.4.2"
}

I believe that the accepts range requests setting was lost in one of the other recent updates and this breaks video playback.
Audio, images and other types of files like PDFs seem fine to me.
I’ll take a look at it tomorrow and submit a PR if I can find where it went wrong.

@ghenry22 thank you, if you are able to submit a PR fixing this that would be incredible.  Does this mean that as far as you guys are aware, WKWebview does actually support playing local video/audio files now using this localhost:8080 server approach?

I can confirm that convertFilSrc works as intended for images, serving them properly over localhost:8080/_file_/.  For a Media object created with ionic-native/media it seems there is a similar or identical issue as the video playback.

@ghenry22 I have been forced to revert to 1.1.19 for now because having local videos play is one of the most fundamental functions of our application, but now I have now noticed the issues you yourself alluded to here https://github.com/ionic-team/cordova-plugin-ionic-webview/commit/219133305c1bd3d4965736f1566d205ecf8520b5#commitcomment-29291006. Because I can't re-upgrade to 2.0.x as of right now (where those fixes are present), do you have any suggestions? Basically I need those changes to enable GCDwebserver to continue running in the background as well, but I can't upgrade to 2.0.x until this local video/media issue is sorted out.

Range request setting is still there
https://github.com/ionic-team/cordova-plugin-ionic-webview/blob/master/src/ios/CDVWKWebViewEngine.m#L776
Are the local files from www or created/downloaded somewhere else?

@jcesarmobile  They aren't local asset files that sit in www no, they are downloaded from a host to the file.dataDirectory using cordova-file-plugin, which used to use the normalizeURL method to serve them.  Now, using the new window.Ionic.WebView.convertFileSrc they are served from http://localhost:8080/file/data/user/0/com...  After further investigation that new method was locating them and serving them properly: 1. I downloaded these assets to my app using the sim 2. I went into the console to view the 404 error after I tried to play one of these video files with  (this error shows for both sims and real devices; so this is not just a live reload issue or sim issue) 3. I then grabbed the route to the video or audio file and placed it in a web browser, which located the video on my system and played it.
Essentially after updating cordova-plugin-ionic-webview from 1.1.19 to 2.0.3 all sims and real devices refused to serve the local video asset after using window.Ionic.WebView.convertFileSrc.  (I could be wrong but I believe this error is very similar if not identical to the CORS error everyone has had while trying to serve local videos/audio on android but now the issue has made it to iOS here after this plugin upgrade).

@jcesarmobile the range request setting is still there but only defined on root path.  Now there is a second get handler path defined for file.  I believe this would also need the allow range requests setting.
If this doesn't work then it can be fixed by setting behaviour for specific media file extensions but this would be a last option as it would be a pain to maintain.
I just haven't had time to test this yet, sorry, I will try and test it with one of my apps this week.

@ghenry22 you are right, on the line I mentioned range requests was only enabled for the current served folder, as @KevRyan2 is downloading files it's not applied to them.
I've sent a PR that allows range requests for all _file_ files (not just .mp4 as the comment linked) https://github.com/ionic-team/cordova-plugin-ionic-webview/pull/154
@KevRyan2 can you give it a try?

@jcesarmobile awesome yes I can definitely give this a try, hopefully switching back to that project sometime tomorrow and I will post on here when I am able to confirm that it worked!

@jcesarmobile nice one!  I'll try and test it out this week also

@jcesarmobile I have the exact same issue (videos not playing but images working). Your fix works perfectly in my case

@jcesarmobile @ghenry22 I can confirm that the fix in https://github.com/ionic-team/cordova-plugin-ionic-webview/pull/154/files fixes the issue, thanks for working hard on this! (I don't want to close this pre-maturely but maybe once that's merged in we can close the issue)

Merged. Thanks for testing!

Should I be able to use seek() when playing an mp3 via Howler using convertFileSrc()? The audio plays but seek always jumps back to 0.


Add build file tree functionality.

Adds functionality to build a file tree on disk from the original_path attribute from an array of OutputFile objects. This way workers can mimic OutputFiles in their original folder. This can be useful for several workers that want/need to work on original folder/filename on disk tree structures.

Thanks for the comments, PTAL.


change default value of statesp.remove_useless_states to False

This PR resolves issue #244.  It looks like the only issue was the converting a constant to a state space object was creating an extra state and this state had to then be removed.  By creating a state space system with no internal state (A = [[]] instead of A=[[0]]), this action is no longer require to get sensible results from block diagram algebra functions.
The PR makes that change and also changes the default value of statesp.remove_useless_states to False.

Coverage increased (+0.002%) to 87.515% when pulling 114bce6499a05f4fd3d4d2dee2818e9aaa9964f2 on murrayrm:dont_remove_useless_states into ad0a0eb0970fe6031ad8c95fd52027699009806e on python-control:master.

Coverage increased (+0.002%) to 87.515% when pulling 114bce6499a05f4fd3d4d2dee2818e9aaa9964f2 on murrayrm:dont_remove_useless_states into ad0a0eb0970fe6031ad8c95fd52027699009806e on python-control:master.


Add chart init tests MWPW-115222

Add tests for chart init

Resolves: MWPW-115222
Test URLs:

Before: https://data-viz--milo--adobecom.hlx.page/drafts/data-viz/holiday-report-dev
After: https://chart-test1--milo--adobecom.hlx.page/drafts/data-viz/holiday-report-dev

Looks like there is some overlap between our two tickets.
You could use waitForElement in tests instead of adding await to the promises.

@Brandon32 I forgot about that issue. Thanks for the reminder. I've updated based on your comments and I added a code comment as a future reminder


feat(cicero-cli): add --data option to trigger cmd

Closes #681
Changes

Add --data flag and logic to trigger command.
Add/fix tests for --data flag

Flags

Should be backward compatible with previous use cases, as new --data flag is optional.
Have removed mandatory requirement for --sample flag and sample.md.
Now checks that either sample or data exists. At least one must be specified.
If neither exists then throws exception.

Example Usage
cicero trigger --template ./hello-world --data ./hello-world/data.json

OK. Fair call. I'll add to those too.

@jeromesimeon @mttrbrts  - I've refactored so that cicero invoke and cicero initialize both accept a --data option now too.
I've had to make some significant changes to the validateInvokeArgs, validateTriggerArgs & validateInitializeArgs to handle the scenario where either the--sample option is provided --OR-- the --data option is provided.
I've tried to ensure that, where needed, the logic looks for defaultSample, defaultData, defaultParams or defaultState.
Please let me know if you can see any issues.

Coverage increased (+0.2%) to 97.035% when pulling aae0f17515fe942eff9a3cd318a732f0f2433277 on beNEXT-io:add-data-option-to-trigger-cmd into 01f5393dd3075512d688844773f7a3b871062135 on accordproject:master.

@jeromesimeon - Fixed a small logic bug in validateInvokeArgs which was causing the code to pickup defaultState and defaultParams when these options had been passed in. Apologies for the many commits.

@jeromesimeon Superseded by https://github.com/accordproject/cicero/pull/685 which is a cleaned up new PR based on this PR.


ImportError: No module named 'SublimeLinter'

No new options in Tools menu, plugin not working.
Only indication of what's wrong is just after installation:
reloading plugin SublimeLinter-contrib-eslint.linter
Traceback (most recent call last):
  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 109, in reload_plugin
    m = importlib.import_module(modulename)
  File "./python3.3/importlib/__init__.py", line 90, in import_module
  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 584, in _check_name_wrapper
  File "<frozen importlib._bootstrap>", line 1022, in load_module
  File "<frozen importlib._bootstrap>", line 1003, in load_module
  File "<frozen importlib._bootstrap>", line 560, in module_for_loader_wrapper
  File "<frozen importlib._bootstrap>", line 868, in _load_module
  File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
  File "C:\Users\Jeremy Rigaud\AppData\Roaming\Sublime Text 3\Packages\SublimeLinter-contrib-eslint\linter.py", line 16, in <module>
    from SublimeLinter.lint import NodeLinter
ImportError: No module named 'SublimeLinter'
reloading settings Packages/User/Package Control.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings

eslint is installed and working locally.

@mbt-jeremy-r Installing main SublimeLinter package should solve this.

Go to Package Control: Install Package
Type "SublimeLinter" and install SublimeLinter package, restart SublimeText
You should see SublimeLinter in Tools menu and no error in the console

If you will have more issues, use Tools/SublimeLinter/Debug Mode

I experienced the same problem when walking thru the installation docs.  A note that "SublimeLinter" is a required dependency could help...

got the same issue, realize i was installing SummitLinter instead of SublimeLinter


Add Game QA Stategist

Category: Programming Assistance

thanks @vontell for the contribution and fix. Just merged


fluent operator & fluentbit: Added tolerations, nodeSelector + more

What this PR does / why we need it:
Added support for tolerations, nodeSelector, priorityClassName and podSecurityContext to fluent-operator deployment and fluentbit daemonset
Which issue(s) this PR fixes:

Fixes https://github.com/fluent/helm-charts/issues/314
Fixes #695
Does this PR introduced a user-facing change?

Added support for tolerations, nodeSelector, priorityClassName and podSecurityContext to fluent-operator deployment and fluentbit daemonset

Additional documentation, usage docs, etc.:

@felfa01 I contributed a podSecurityContext to fully resolve https://github.com/fluent/fluent-operator/issues/695. Can you update the title and description to mention both fluent-bit and fluent-operator?

@felfa01 I contributed a podSecurityContext to fully resolve #695. Can you link it, and update the title and description to mention both fluent-bit and fluent-operator?

Thanks @illrill! It is updated.

@felfa01 Thank you!


Because that behaviour is already working

Oh wait you mean in the selector in the Runner. Okay I got you

https://github.com/openbullet/openbullet/commit/ccfa0f862b4658ca5f7cb35a46d9d0426df9e936

u r best


Optimized staging build

What is the preferred approach to create a staging build with its own set of environment variables?  Is there a way to manually specify the .env file to use for a build stage?

Closing; we're just going to use environment overrides for this.


Add error message when no twitter4j.properties file

Hi.
When no twitter4j.properties file and haven't registered yet, I was very hard searching for this page.
So, I think this error message should have the link for register page for developers.
http://apps.twitter.com/

LGTM, Thanks.
Could you please add your name in readme.txt and update this pull request?

Thanks!
I added the contributors list.


Stabilize loadbalancer under on/off conditions

If invokers are coming online/offline frequently today, the list of available invokers changes frequently which causes the hash-based picking algorithm to constantly change home invokers of actions, thus destroying warm-ratios of that action.
This attacks this issue by accepting that invokers are in fact index based and thus they are now managed in an array which's length will not change if an invoker goes offline. For partitioning cases i.e. blackbox containers) the length of the underlying sequence is kept constant by padding them repsectively.

PG2 1802 🔵

PG1 1802 🔵


OT really works?

I reproduced the experiment and found that the learned T is uniform.
Then I try to set T to a uniform matrix and found that the learned T via OT achieves similar performance compared to using a uniform matrix without learning.

@CHENGY12 @hit-Chris Can you answer my question?

Hi, please check if the learning process is correctly setup. We have double checked that for different prompts, the learned T is significantly different. As visualized, different prompts always focus on different regions.  If taking the T as ones, it is equal to do the mean pool, whose performance is even lower than coop (57 in ImageNet).   Please let us know if you still have issues.

Thanks for your reply. I run your code on caltech-101 dataset. We set sim_op = torch.sum(0.0051 * sim, dim=(1,2)) (i.e., unlearned and uniform T) and achieves similar performance. The learned T seems uniform.

Thank you for your valuable points! We've investigated the two instances, observing distinct regions to be highlighted. Particularly, we utilized the first test images from Caltech101 and Stanford Cars datasets, which appear to manifest more significant observations compared to the previously shared examples.
We acknowledge that while the absolute differences between various transport plans are relatively minuscule, such as 0.007 and 0.003, their relative differences are indeed substantial. Thus, to facilitate a more coherent understanding, we recommend employing visualization in conjunction with the original image to examine the highlighted regions. For your convenience, you can access our visualization code at visualization.
Here are a couple of visualization samples for your reference:

Regarding quantitative results, we concur that the performance demonstrates variances attributed to different environments and inherent randomness. Therefore, we suggest a comprehensive comparison using the average results across all datasets and seeds to ensure robustness and reliability in our findings.
As a side note, my responsiveness to GitHub issues might be slightly delayed. For a more prompt discussion, please feel free to reach out to me directly via email at<EMAIL_ADDRESS>Looking forward to our further discussions.

Thanks for your reply. I have another question about OT.

Does it have any advantage compared to the attention mechanism?

Good question!

From the technical side, attention is directly based on similarity, while OT considers the whole assignment between the distributions.  It means the ``similarity'' in OT will involve competition, not direct sum In the attention. For example, if similarities between one query and two galleries are 5.3 and 4.7. Then when considering the whole distribution assignment, the plan of OT may keep one is 1 while the other is 0.
OT works well when the concepts are clear in our implementation (assuming the discrete distribution ).
Attention learning needs more data and may learn the shortcut CAL, given the few-shot prompt learning setting, it may be difficult to learn well.
Attention has trainable parameters, which is not suitable for the field of prompt learning scenarios.


Feature request: Soft reset

Hi, on the console version it was possible to return to game title/load save screen by pressing  L1+L2+R1+R2+Start+Select (for fast savegame reloading)
UnX is doing all kinds of hacks with Start/Select + button now, so one has to be careful what they press on the gamepad/keyboard.
Would it be possible to:

add soft reset by pressing gamepad combination
add config toggle that enables/disables the hack button combos for gamepad/keyboard

Thanks!

There's already settings to disable the buttons. Just edit UnX_Gamepad.ini and set F1 - F5 to blank lines.
A soft reset would be something i'd love to do, but unless the code still exists in the PC version but is disabled it isn't generally practical. It's not entirely impossible, I've worked on enough of these games to know that there's code from multiple platforms lying dormant often :)
Finding it would be the tricky part, I haven't spent any time analyzing the game at the assembly level yet.

I will quote one person who said it better then i would with my English..
"the restart you did with the Select+start+4shoulders was not part of this game
it's actually the Soft reset function on the playstation itself
if you Had a playstation 1 you can do it with every game"
So better question would be can u reinvent soft reset of PC :P

That's actually not true, it wasn't a baked in firmware feature of the PS1 or 2, at least not being triggered by the button combo. A lot of games had a form of soft reset though, but it was never a universal thing on either console.
One thing I could recommend, and it's honestly about as fast. The latest versions of UnX support opening the ESC menu with a button combo, that when paired with Xan's new launcher ( http://steamcommunity.com/app/359870/discussions/0/364042063113591969/ ) would allow you to get out of the game and back in super fast.
I know on my system I can close the game, and be back to skipping the intro movies in mere seconds.

Hm.. might be that you are right.After your post i did some googling.It seems that games do have embedded in them soft reset function.Finding the code is another matter.
I found out that  some games lost the ability , example is FFVII for PS4 got code replaced with "quit" so yeah i guess this might still have code in it.

This has been added to 0.5.3 (FFX). FFX-2 will follow in a future release.


How can I parse local xsd file?

A workaround is using a local http server to make the files available over an URL. I used http-server for this.


This seems to have stopped working with the December 14th 2024 issue. Works fine for the Dec 7th and earlier

Repro steps
Visit: https://jingking.github.io/The-Economist-Audio-List/economistdownload.html
Select Dec 14th 2024
Download link is https://audiocdn.economist.com/sites/default/files/AudioArchive/2024/20241214/Issue_9427_20241214_The_Economist_Full_edition.zip
This seems correct, but it gives a page not found error at economist.com.

The CDN cache is not working. https://www.economist.com/mobile-assets/b14kdnna307l8858gejdmlelqhnf7soa-audio.zip

Do you know a way to derive that working URL from a date or issue number?
I have a PC app I wrote derived from your code but I need some way to go from dates to issue URLs.
Thx,
Martyn


Kafka - Keys are kept only for the duration of the topic retention window and regularly rotated

Merged in a temporary branch davide-baldo/kafka-multiple-consumers


Update README.md

There is a dot instead of a comma in example A, which lead to an error when copy-pasting it.

@googlebot I signed it!


run: fix pwsh on windows demanding the ps1 extension

related #139

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 45.676%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

run.go
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
338

Relevant Lines:
740

💛  - Coveralls


deploy master branch as seperate heroku app

application deployed at https://flight-explorer-milestone3-dev.herokuapp.com/


[TB] Enhance Responsiveness of ThemeBuilder Application on Mobile Devices

Problem/Concern

Non responsiveness exhibited in small window view.

This is one of the deployments where I found the issue : link to problem content

Proposed Solution

Utilization of Hamburger menu for sidebar.
Utilization of Flex and Grid Layouts wherever required.
-Introduce media queries to adjust text sizes and layout dynamically based on the screen size.

Thanks for opening the issue @Sweetdevil144!  We haven't spent much time working on responsiveness, yet, since it is a design tool that isn't likely to be used on a very small screen.  Probably nothing smaller than a tablet.  With that in mind, do you have a suggested list of things that we could fix to assure a good user experience on a tablet?  So that we can prioritize the work?

Here are a few things we could prioritize:

Optimizing the sidebar: Implementing a collapsible hamburger menu can help free up space and improve navigation.
Flexible layouts: Using Flexbox and Grid can make the UI more adaptable, ensuring elements scale properly on various tablet sizes.
Media queries: Adjusting basic UI components like buttons, text sizes, and spacing can greatly improve readability and interaction on smaller devices.

As discussed in the 5/16 meeting, this is not exclusively limited to mobile screens - this is an accessibility issue as well.
Web Content Accessibility Guidelines (WCAG) has a success criterion that mentions this - 1.4.10: Reflow:

Content can be presented without loss of information or functionality, and without requiring scrolling in two dimensions for:
-Vertical scrolling content at a width equivalent to 320 CSS pixels;
-Horizontal scrolling content at a height equivalent to 256 CSS pixels.
Except for parts of the content which require two-dimensional layout for usage or meaning.

Hey @kburk1997 , you're right. This is an accessibility issue in Whole as per the WCAG guidelines as well. Enhancing the Views may prove beneficial in fixing this issue.

You are all making great points and good suggestions. @Sweetdevil144 would you like me to assign this issue to you?

Yeah sure. I'd love to work on this. I'm wrapping up the test Enhancement Issue. So, I'll start with this parallely too.

@aaronreed708 @Sweetdevil144  noticed the same issue related to responsiveness . Can i help for some improvements? If yes then please assign me this task.

Hey @AradhyaDixit18 . Sure go ahead!! I'm hell busy right now it's open for peeps. You'd be a great help 😁

@Sweetdevil144 okk then . I'll try to give my best.

Thanks for volunteering! I’m on vacation this week, but happy to help if you have any questions next week.
Sent from my iPhone
On Jun 29, 2024, at 4:20 PM, Aradhya DIxit @.***> wrote:

@Sweetdevil144https://github.com/Sweetdevil144 okk then . I'll try to give my best.
—
Reply to this email directly, view it on GitHubhttps://github.com/finos/a11y-theme-builder/issues/855#issuecomment-2198326854, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AH3DTLI7T7YDBOBFWACPMIDZJ4JJFAVCNFSM6AAAAABHIAY3R2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJYGMZDMOBVGQ.
You are receiving this because you were mentioned.Message ID: @.***>

@aaronreed708  Sir i just fixed the main landing page and made it responsive and created a PR #949 please review this and merge it also review the PR #946 where i have fixed the hex value and added a dynamic hex value i also created a separate issue for it please have a look

Hi @AradhyaDixit18!  Thank you for your contribution!  I made some comments in #946 already so I'll keep those comments separate from those related to this issue.
I like the approach that you took in the first PR https://github.com/finos/a11y-theme-builder/pull/949 and the visual that you were able to achieve.  I'll put comments in the PR for PR-specific issues that I see.


No bundle url present: when the React Packager tab is closed

Description
This issue is spun off from  #12754, to log a specific situation to create the "No bundle url present" error.  I am running into the error message "No bundle URL present" in the iOS emulator when react-native run-ios is executed a subsequent time after a first successful execution. Specifically, once I close the terminal tab/window that spun off a React Packager process, I will run into this error.
I'm sure this screenshot is familiar from other React-Native issues, but here it is again:

Reproduction Steps and Sample Code
From a brand new project (not built)

Run react-native run-ios
Observe that a tab for React Packager is spun off. As a part of it execution, the following line will appear in output:

Bundling index.ios.js ... done

Observe that the iOS emulator is able to run the project successfully
Close both the emulator and the tab for React Packager
Run react-native run-ios again
Observe that both the React Packager tab and the emulator will open. However, the "Bundling index.ios.js" will not appear and the error screen in the emulator will occur.

From a project already built

Run react-native run-ios
Similar to the last step above, the error in the emulator will occur. Also, the "Bundling index.ios.js" will not appear in the React Packager tab. So basically in this situation, we get to the error even faster than before.

Solution
The following workarounds exist, although each of them has their own reason why they are undesirable workarounds:

Remove the built iOS code via rm -rf ios/build. However, this defeats the purpose of the code-reloading that React Packager offers, since I would have to wait for a full rebuild every time I want to test out new changes.
Keep the React Packager tab always open. However, I find it unreasonable to enforce this requirement on development environments (for example, developers would not be able to turn off their computers, or else this bug would occur again after the computer restarts).
Immediately run react-native run-ios again. But there seems to be redundancy, slowness and sloppiness in this solution, having to run a command a second time just to avoid an error.

Additional Information

React Native version:$ react-native --version
react-native-cli: 2.0.1
react-native: 0.44.0

Platform: iOS
Development Operating System: MacOS 10.12.4
Dev tools: Xcode, using the iOS 9.3 simulator

mark

Some members of my team are having this same issue while running from Xcode.
Workaround: stop the packager, clean Xcode (cmd-shift-K), re-run.
 But I run it normally online in the simulator and device. But I make a offline bundle. The problem perform. RN version 0.44

Facing the same issue but deleting the build folder does not resolve it. Been stuck on this for a couple of days now.

@hramos I extracted my specific bug from the original bloated issue thread #12754 as you requested, but it has not received any attention from either you or anyone from the React-Native team. What more needs to be done to get this issue triaged?

@ecbrodie we're still going through 1,000 or so remaining issues (all opened in the last two months), sorry

Can confirm a temporary solution is to downgrade to React Native 0.44 unless you critically need something in 0.45

I got rid of the error by building the project on xcode: https://www.youtube.com/watch?v=e-2KARCog18

@MatthewJamesBoyle I have the same issue... did you manage to solve it?

I have found the easiest/quickest way to bypass this is to exit the app within the simulator (2 x Cmd + Shift + H) and re-launch.

@nicoboy11 yep, I solved it by building a native android app!

this is solved my issue:
info.plist → information Property List → + App Transport Security Settings → + Allow Arbitrary Loads = YES

SOLUTION:

DELETE the ..ios/build folder
Use this https://www.npmjs.com/package/react-native-clean-project
In any order.

Do not forget to do react-native link if you use any library that needs that
The reason this fixes the problem is because ..ios/build ISN'T getting updated when we change project paths or simply when we change our project directory. There's no way the bundler will be able to track the changes so it sticks with the last known paths.
Don't overthink it, we already did. This however still needs to be automated by RN team.

@paulbib 's solution works for me, I have created a pr https://github.com/facebook/react-native/pull/19643.

I faced this error on the simulator too, after deleting the default NSAppTransportSecurity configuration from my plist file in iOS for production purpose, as a consequence The simulator couldn't fetch the bundle file.
<key>NSAppTransportSecurity</key> <dict>     <key>NSExceptionDomains</key>     <dict>         <key>localhost</key>         <dict>         <key>NSExceptionAllowsInsecureHTTPLoads</key>         <true/>         </dict>     </dict> </dict>

I figure it in my project, In your project target → info.plist → information Property List → + App Transport Security Settings → + Allow Arbitrary Loads in Web Content = YES
my project environment：
macOS 10.14.1 (18B75),
XCode 9.2,
"react": "16.6.1",
"react-native": "0.57.5"


Scripts without import/export appear to be duplicated

Playground link

As described by @modderme123 in https://github.com/solidjs/solid-playground/pull/103#issuecomment-1121503818:

This is an issue with files that don't have imports or exports and are then treated as a global script file. One trick might be to add a tsconfig flag to ignore output_dont_import.tsx?

I tried adding an exclude option to languages.typescript.typescriptDefaults.setCompilerOptions (in src/components/editor/setupSolid.ts) but it doesn't seem to fix the problem.
I previously wrote:

It seems that src/components/editor/monacoTabs.tsx's MonacoTabs creates two models: the model at the top of the function and the model for each tab in tabs. I'm seeing the same source code in both the root model and a tab, which is presumably the source of the problem. [...] Could we remove one of the duplicates (presumably the top-level model?)?

Amusingly, I think #100 will fix this, because it adds an import to all .tsx files. Thanks @otonashixav. 😄

Hmm, I'm having a hard time reproducing this. Can you confirm that the playground link above still works for you?

Hmm, it seems to be nondeterministic, and possibly failing only with nonshortened Playground link. Try loading that link and shift-reloading once or twice. But definitely still happens sometimes I'm afraid.

I just realized I may never have explained what the code at the top of the file is: that is the compiled output that you see in the output tab. Currently that is what happens when all of the tabs run through rollup (although in the beta, that will just be what happens when the current tab runs through babel)

I'm not quite sure what you're referring to. Top of what file?
FWIW, I just reproduced this bug by loading the Playground link, and then appending some blank lines at the end of the file. (It didn't reproduce upon reloading anymore.)

Top of the monacoTabs file. the reason you are seeing two duplicate models is because one of those models is the full bundled output (which happens to be the same if there is only one tab)


Basic actions

These actions should help keep the legacy software and simulator in a buildable state.
You can see both of them passing here: https://github.com/marnovandermaas/sonata-system/actions

I was planning to set up a nix based workflow similar to https://github.com/lowRISC/symphony-system/blob/9a502baeecd36002e0d4413bc7d63f9be5676709/.github/workflows/quality.yml
Just to ensure the CI checks are super easy to reproduce locally and run before commits. (We'll also be using nix cache for the CHERIoT toolchain anyway)

I was planning to set up a nix based workflow similar to https://github.com/lowRISC/symphony-system/blob/9a502baeecd36002e0d4413bc7d63f9be5676709/.github/workflows/quality.yml
Mainly because:
* We can ensure the CI checks are super easy to reproduce locally and run before committing a PR.

* We'll also be using nix cache for the CHERIoT toolchain anyway)

* We'd like to move to pomona as a hosted runner and moving nix builds is trivial. (Also no rebuild required if it has been build before by CI or a lowRISC engineer has pushed to the cache.)

I'm happy with that flow. I just put this PR together since it was quite easy and we can have some small checks on PRs until you get that set up.


Image picker consider movement

Made getting the timestamps a function
Replace option to add timestamps based on time with adding extra timestamps based on remove_low_movement_image tool

You can merge this yourself when happy enough on your side. I have no more comments.

Looks good. Not sure about when it comes to adding left bracket first, and the right bracket later. Hope this approach was tested.

Yeah I tested everything, was useful to have a map with the left bracket and when validated, I fast_merge+bundle_adust the left+right bracket map in.

When it comes to the new approach of bracketing in image_picker, based on distance, rather than time, I am a bit concerned it may result in the user picking the bracketing images a bit too far in time from the image they want to bracket.
There is no hard and fast rule here. The key thing to keep in mind is that given a sci cam image, and hoping that the timestamp offset is known accurately, ideally the two closest nav cam images in time are picked to bracket it. Now the code does not aim for that, to give the user some wiggle room if adjusting the timestamp offset manually later.
Also, note that camera_refiner used to count on the image_picker time bracket, so now that this is changed, the refiner may complain. But likely there's no need to recalibrate any robot by now.

osest nav cam images in time are picked to bracket it. Now the code does not aim for that, to give the user some wiggle room if adjusting the timestamp offset manually later.

The way the timestamps are chosen for the bracket is unchanged, it's still based on the time, I didn't even edit that code (https://github.com/marinagmoreira/isaac/blame/image_picker_consider_movement/dense_map/geometry_mapper/tools/image_picker.cc#L310).
Where the distance between images was used was to choose extra_sci_cam_timestamps instead of using just a time interval (be aware that this is off by default). This extra timestamp then is processed by the bracketing loop exactly as before. https://github.com/marinagmoreira/isaac/blame/image_picker_consider_movement/dense_map/geometry_mapper/tools/image_picker.cc#L248

Marina, thank you for the clarification.


Email for La Crosse WI

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: We demand further measures to rein in La Crosse policing
Message:
Dear city council members,
My name is [YOUR NAME] and I live in [NEIGHBORHOOD/CITY]. Recently the city of La Crosse added a website to display ‘transparency in policing.’ While I applaud the willingness to listen to protesters and add a measure like this, we in the community are well aware that with such serious issues in our city, state, and country, more serious measures must be taken. That is why I am asking that the La Crosse Council make a more overt and visible commitment to racial justice by reallocating law enforcement funding towards city welfare programs that provide support for those most vulnerable in our community, and programs that facilitate the dismantling of racial and class inequality.
Research shows that a living wage, access to holistic health services and treatment, educational opportunity, and stable housing are far more successful at reducing crime than police or prisons. As such, I demand more aggressive financial support be directed to those areas. I also urge the La Crosse Council to enact legislation that holds police accountable and to overturn policies that allow police to engage in unlawful behavior with impunity. Justice will only be served when the police are reformed, and this will not be possible until we defund them. People are marching in the streets because they know that these actions will result in a healthier, more just society. Can I count on your focus on social service programs?
Thank you,
[YOUR NAME] [YOUR ADDRESS] [YOUR EMAIL] [YOUR PHONE NUMBER]

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: We demand further measures to rein in La Crosse policing
Message:
Dear city council members,
My name is [YOUR NAME] and I live in [NEIGHBORHOOD/CITY]. Recently the city of La Crosse added a website to display ‘transparency in policing.’ While I applaud the willingness to listen to protesters and add a measure like this, we in the community are well aware that with such serious issues in our city, state, and country, more serious measures must be taken. That is why I am asking that the La Crosse Council make a more overt and visible commitment to racial justice by reallocating law enforcement funding towards city welfare programs that provide support for those most vulnerable in our community, and programs that facilitate the dismantling of racial and class inequality.
Research shows that a living wage, access to holistic health services and treatment, educational opportunity, and stable housing are far more successful at promoting community safety than police or prisons. As such, I demand more aggressive financial support be directed to those areas. I also urge the La Crosse Council to enact legislation that holds police accountable and to overturn policies that allow police to engage in unlawful behavior with impunity. People are marching in the streets because they know that these actions will result in a healthier, more just society. Can I count on your focus on social service programs?
Thank you,
[YOUR NAME] [YOUR ADDRESS] [YOUR EMAIL] [YOUR PHONE NUMBER]

on it now