Set Block If queue full to false by default

Motivation
Fix for #422
Modifications

Changed default options in CPP and Java Client ProducerConfigurations
Fixed some test cases
Changed perf tests to block if queue is full

Result
sendAsync becomes a non-blocking call
Do not merge this

how is the default queue size change related?

In production, if we have a producer with the following config:-
a. Queue size 1K
b. Produce rate = 2K msg/s
And lets say the broker has a GC pause of 500 milliseconds or a rolling restart is going on then:-
a. With current code base the sendAsync will block for few milliseconds and client will not even know that there was some issue (except high latency)
b. After this PR the client will start seeing failures and will come to the conclusion that the service is down or not working.
So in order to prevent clients seeing failures, we assumed that most properties will not produce over 1K MPS and so a queue size of 30K will prevent them from seeing failures before 30 seconds (default timeout).
But yes I expect there to be some discussion regarding the queue size before we the PR is merged
@merlimat @saandrews @rdhabalia  - do you agree with this approach?

i think it'd be better to separate the queue size change from the block if full change. both might make sense, but they're not related.

@merlimat - Updated the docs
@msb-at-yahoo - Moving the maxPendingMessages changes to separate PR  #445

@saandrews - Have made relevant change to Open Source documentation, will update Yahoo wrapper documentation and release notes once the PR is merged.


Copy index order with ModelItems

When copying (reference) data classes, elements, types and enumeration values as part of another item, copy their indices (resolves #241)

Failing test looks to be unrelated


PowerToys Run freezes almost immediately

Microsoft PowerToys version
0.61.1
Running as admin

[X] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce
Hit Alt+Space to invoke PowerToys Run, then type anything. After a few milliseconds the input box freezes. Only way of closing it is killing the app. Results never appear (I waited a couple of minutes and nothing comes up!
✔ Expected Behavior
PowerToys Run was working as expected until an update provoked the bug (can't identify which update, though)
PowerToysReport_2022-08-03-00-37-52.zip
.
❌ Actual Behavior
No response
Other Software
No response

The logs don't seem to have useful information here.
Can you please show a screenshot of what it looks like?
Does your CPU / memory for the PowerToys Run process in Task Manager fire up or something of the sort while this is happening?
There are some new Settings related to Delaying search, does changing them help here?
/needinfo

Sorry, this was a mistake. I rebooted and everything works!


fixed typo in errors_test

The test in TestStackTrace in error_test.go checked for an old path in the result. This has been corrected to the new github location to catch potential errors correctly in this test.

thanks!


Template uses undefined value or property?

Is there anyway to make Aurelia error/log when the template tries to access a value that doesnt exist?
${doesntExist}
${does.doesnt}

Closing this as a duplicate. @jdanyow can update you on the status of this.

https://github.com/aurelia/binding/issues/30

Thanks All.


Blue bar behind clock on iOS

I would like my app to get and report background location much like Find My Friends. Apps like Uber or Google Maps (when it’s navigating) display a blue bar behind the clock which allows you to background the app and use other apps and click the clock to return. I want to do the same thing.
I thought this plug-in would do it when watching for background location but so far I haven’t seen it do it. Is what I want something else?
EDIT: Seems like this is called "showsBackgroundLocationIndicator". Has this been implemented? https://developer.apple.com/documentation/corelocation/cllocationmanager/2923541-showsbackgroundlocationindicator

This is now the default behaviour in v1.2.0 and v0.3.15. Please test!


Flickering and not loading previous or next slides in time

Check that this is really a bug

[X] I confirm

Reproduction link
https://codesandbox.io/p/sandbox/swiper-react-centered-forked-hu6bz3?file=%2Fsrc%2FApp.jsx&selection=[{"endColumn"%3A7%2C"endLineNumber"%3A29%2C"startColumn"%3A7%2C"startLineNumber"%3A29}]
Bug description
When using the following settings:
slidesPerView: 1,
spaceBetween: 24,
speed: 300,
watchOverflow: true,
grabCursor: true,
centeredSlides: true,
loop: true,

the images flicker and when dragging, the previous and/or next slides don't show in time.
Expected Behavior
Smooth transitions without flickering and non-appearing slides.
Actual Behavior
Flickering slides and previous/next slides not appearing in time.
Swiper version
9.1.1
Platform/Target and Browser Versions
macOS Google Chrome
Validations

[x] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[ ] I'm willing to open a PR

I have the same issue ,there is the codesandbox

when the SwiperSlide's number <=4, Flickering slides and previous/next slides not appearing in time. left or right have blank

Docs say in loop description

Because of nature of how the loop mode works (it will rearrange slides), total number of slides must be >= slidesPerView * 2

demos provided don't illustrate the issue


Not working for 2022 release

The package was not working for the 2022 release even when I supplied the right sb_id there were apparently a few small changes in the data format that messed things up.
I will make a PR with changes I made to fix it.

@rburner you could try installing from my fork https://github.com/see24/bbsAssistant/tree/fix-QualityCurrentID-filter
Not sure how actively this project is being maintained.

Thank you @see24 ! I appreciate it.
For others, install can be done with:
devtools::install_github("see24/bbsAssistant")
But when I try it with 2022 data (sb_id='625f151ed34e85fa62b7f926') I get the following:
Error in `$<-`:
! Assigned data `as.integer(as.character(species_list$AOU))` must be compatible with existing data.
✖ Existing data has 764 rows.
✖ Assigned data has 0 rows.
ℹ Only vectors of size 1 are recycled.
Caused by error in `vectbl_recycle_rhs_rows()`:
! Can't recycle input of size 0 to size 764.
Run `rlang::last_trace()` to see where the error occurred.
Warning message:
Unknown or uninitialised column: `AOU`.

For 2023 data (sb_id='64ad9c3dd34e70357a292cee') I'm getting the following (different) error:
Joining with `by = join_by(Seq, AOU, English_Common_Name, Spanish_Common_Name, ORDER, Family, Genus, Species)`
Error in enc2utf8(path) : argument is not a character vector

Hi @rburner I think the issue is that you actually need a specific branch of my fork of the repo.
Try: `devtools::install_github("see24/bbsAssistant", ref = "fix-QualityCurrentID-filter")

@see24 Good call, that works great with 2022!
For 2023 though I get this error now:
Attempting to decompress and import files from data-in/64ad9c3dd34e70357a292cee  Error in enc2utf8(path) : argument is not a character vector

@see24 Although I am finding one issue with 2022 (FYI - I can overcome it by using the built-in package species list) - when I run:
bbs <- grab_bbs_data(sb_id='625f151ed34e85fa62b7f926') #2022
and then look at
bbs$species_list
all of Passeriformes (but not other species) is missing scientific name, AOU4, and AOU6.
But, if I just look at
species_list
the codes are all there. If I understand the documentation correctly I think the former is the list from the current downloaded dataset, and the latter is the version loaded automatically with the package.

I just made another push to that branch, should fix the Passeriformes issue but there are still some species not matching because of different scientific names than the ones in the list that is included with the package. Probably would be better to use the IBP-AOS list that corresponds to the bbs release year but don't know where to find old ones.

Hi folx—sorry I won’t have time to look at this for a while. If you can
push a change that would be extremely helpful !
On Fri, Jul 21, 2023 at 09:48 Ryan C. Burner @.***>
wrote:

@see24 https://github.com/see24 Good call, that works great with 2022!
For 2023 though I get this error now:
Attempting to decompress and import files from
data-in/64ad9c3dd34e70357a292cee Error in enc2utf8(path) : argument is not
a character vector
—
Reply to this email directly, view it on GitHub
https://github.com/trashbirdecology/bbsAssistant/issues/122#issuecomment-1645620947,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACL2TNJAIV3GLZSWKJB5HL3XRKCDLANCNFSM6AAAAAA2ARQK2M
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
______________________________________________________
Jessica L. Burnett (she/her)
Github http://github.com/trashbirdecology
ORCID: 0000-0002-0896-5099
https://orcid.org/0000-0002-0896-5099
______________________________________________________
Join the Community for Data Integration https://www.usgs.gov/centers/cdi! All
welcome. It's cool.

Thank you both! I really appreciate the fixes.

All—-sorry, I’m so swamped that I can’t get around to this immediately to
help nor to update to ensure cleanliness with 2022/23 releases. Please feel
free to send a push to expedite this!
On Fri, Jul 21, 2023 at 8:48 AM Ryan C. Burner @.***>
wrote:

@see24 https://github.com/see24 Although I am finding one issue with
2022 (FYI - I can overcome it by using the built-in package species list) -
when I run:
bbs <- grab_bbs_data(sb_id='625f151ed34e85fa62b7f926') #2022
and then look at
bbs$species_list
all of Passeriformes (but not other species) is missing scientific name,
AOU4, and AOU6.
But, if I just look at
species_list
the codes are all there. If I understand the documentation correctly I
think the former is the list from the current downloaded dataset, and the
latter is the version loaded automatically with the package.
—
Reply to this email directly, view it on GitHub
https://github.com/trashbirdecology/bbsAssistant/issues/122#issuecomment-1645788757,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACL2TNP3DLVFQIEL6ZJGBHTXRKQEPANCNFSM6AAAAAA2ARQK2M
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
______________________________________________________
Jessica L. Burnett (she/her)
Github http://github.com/trashbirdecology
ORCID: 0000-0002-0896-5099
https://orcid.org/0000-0002-0896-5099
______________________________________________________
Join the Community for Data Integration https://www.usgs.gov/centers/cdi! All
welcome. It's cool.


Bug: Array Functions only return 1 element, and not working as expected

Describe the bug
As #6693 #6694 reported,array_length only return 1 element, and array_position not working as expected.
I test other array functions, finding some bugs.
array_ndims array_prepend array_remove only return 1 element, array_prepend array_remove also not working as exected.
array_dims array_position array_replace got DataFusion error
To Reproduce
In array.slt file, I add more tests for array function
statement ok
create table foo3 as values (['abc', 'bac']), (['ac']);

query I
select array_length(column1) from foo3;
----
2

query error DataFusion error: Arrow error: Invalid argument error: column types must match schema types, expected UInt8 but found List\(Field \{ name: "item", data_type: UInt8, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: \{\} \}\) at column index 0
select array_dims(column1) from foo3;

query error DataFusion error: Internal error: Array_fill is not implemented for type 'Utf8'\.\. This was likely caused by a bug in DataFusion's code and we would welcome that you file an bug report in our issue tracker
select array_fill('a', column1) from foo3;

query I
select array_ndims(column1) from foo3;
----
1

query error DataFusion error: Arrow error: Invalid argument error: column types must match schema types, expected UInt8 but found Null at column index 0
select array_position(column1, 'a') from foo3;

query ?
select array_prepend('a', column1) from foo3;
----
[a, a, abc, bac, ac]

query ?
select array_remove(column1, 'a') from foo3;
----
[abc, bac, ac]

query error DataFusion error: SQL error: ParserError\("Expected end of statement, found: \("\)
select select array_replace(column1,'a', 'a') from foo3;

The current expected result is not right result.
Expected behavior
No response
Additional context
No response

Thanks for testing! Should I close my tickets to avoid duplication?

Thanks for testing! Should I close my tickets to avoid duplication?

I think it's ok opening for track the array_length and array_position bugs.


Decoding on a different arch should fail

Just browsed through the code and saw something:
You are using usize to encode and decode the length of a byte array. The number of bytes differs on different architectures, so decoding would fail on a 32 bit system if it was sent from a 64 bit system.
Why don't you just let bincode encode and decode the whole tuple of fields? It saves code and should be safer. You also need to think about security here, as it is supposed to be sent over the wire.

Great catch! This should be fixed by https://github.com/nomad/cola/commit/9f780e67cb7d47c6d54c5c57cfa93d9d6e6d1360.

Why don't you just let bincode encode and decode the whole tuple of fields?

Because I'm planning to rewrite the encoding logic to produce much smaller binaries.


Override of dap.ui.pick_one conflicts with nvim-dap 0.8.0

Hi, tks u for the plugin and it helps me a lot.
I encountered this problem after upgrading nvim-dap to 0.8.0. ⬇
version 0.8.0 with plugins telescope/telescope-ui/nvim-dap-go unable to run processId at correct time. · Issue #1258 · mfussenegger/nvim-dap
Is there any plan to resolve this conflict, or how can I make this plugin work with the latest nvim-dap?

Noticing the same issue — getting a crashing stack trace due to a null cb. Have you found a resolution on your end?

I've temporarily fixed this on my end by coercing nvim-dap to point to the 0.7.0 tag. @trevorwhitney @rossjaywill hopefully that'll work for you too.


Updating AngularFire/Firebase project to new RC - @types issue

Since the new RC uses @types now to install typings, I added the types from Firebase and Angularfire to my project using
npm install @types/firebase --save-dev --save-exact
It saves the types to a folder inside node_modules/@types/firebase and updates the package.json file.
Upon running the project with ionic serve, I get a whole bunch of error TS2503: Cannot find namespace 'firebase'. errors, which was fixable in the previous release with a "files": [ "firebase" ] addition to the tsconfig.json file and then running the typings install command.
Just wondering is there a fix for something similar or an extra step after the npm install?
Do the types for AngularFire/Firebase need to be updated to match the new RC?
Any ideas?

Hi
See https://github.com/tja4472/ionic-angularfire
hth

This issue was moved to driftyco/ionic-app-scripts#53

Hello, thanks for opening an issue with us! I have moved this issue to the app-scripts repo since it is related to the build process and not the framework. Thanks for using Ionic!

Awesome guys, my project works perfectly now. Thanks heaps.


Unnecessarily complicated

If you want a lightweight way to do this, serve the rel="alternate" links in the head, and respond to HTTP HEAD including them.
That's backwards compatible with the existing method and doesn't place the burden of checking your new magic place on user agents.

If you're going down that route, you can put them in Link: headers and you get HEAD support for free, as well as support for non-HTML resources.
But the problem is that in either case rel="alternate" should only provide an alternative to the resource being requested. But a domain might host multiple RSS feeds, not all of which are associated with a particular URL. For example:

A blog might have RSS feeds for posts, comments, posts with a particular tag, posts with a particular category, etc. This is the case for a WordPress-based blog, for example, but the default behaviour is for the rel="alternate" link to only indicate the "main" one.
A news site might have RSS feeds for different topics or authors. This is the case for BBC News, for example, but they have to use a separate page to list all of the feeds.
A community might have an arbitrary number of feeds which are not otherwise related to one another nor directly to the main site. DreamWidth for example has numerous communities each consisting of one or more feeds: a cascade of (dynamically-generated, one would assume) OPML outputs would allow feeds to be identified and subscribed-to on a category-by-category basis, rather than finding each one individually.

In all of the above cases, one could use either a <link> element or Link: header, but it certainly wouldn't be lightweight to include them all, and it might well not be semantically correct (is the feed of "sports news" really an alternate version of the BBC News homepage, like the feed of "all news" is?).
.well-known/feeds proposes a mechanism by which a site (at a domain level) can list some or all of the feeds that the domain controller thinks are relevant and representative of the site, without associating every feed with every page (or even, simply, with the homepage).

I think that we agree that it might be unnecessary to have another mechanism to find feeds on a site. But I don't think the level of complexity (it's relatively uncomplicated, especially compared to other .well-known/ standards like e.g. Webfinger) is a significant problem.
(All IMHO, obviously. I genuinely love that somebody's disgreeing with me!)


ARM64 Spike

Description
What changes (if any) does the Ruby agent need to make to support ARM64?
Additional details in the Spike Document: https://docs.google.com/document/d/1BElgY5QPdH0o9P3TVYWwEdQqzBkhSDGow4pGNruLrow/edit?usp=sharing
Priority
Must Have

Findings Summary
We initially tried to test with a t4g nano, and ran into a no memory error when trying to run the thread profiler. T4G nano has 0.5 GB RAM. We increased to a T4G instance with 8 GB RAM to run the tests and came back successful.
Successfully ran multiverse and unit tests for all suites

Ruby 3.0.2 used for all suites besides Rails (it’s not currently supported for Rails)
2.7.4 passed successfully for Rails
Memcached seems like it might be incompatible with ARM64. This gem has not been updated since 2014 and as of last year's report it had fewer than 200 customers using the gem (it didn't even show up on recent reports). The more recent implementations of Memcache work on ARM64 (dalli and memcache-client).
One failure was found on RabbitMQ. This also exists when running locally. Tanna and I discovered RabbitMQ tests may not be running on the CI and are investigating this in the background (fixed: https://github.com/newrelic/newrelic-ruby-agent/pull/778)

Steps
Clone the Rails6 Blog application onto an EC2 instance using Graviton

Use 7.2.0 gem version for the application
Make sure the config file is connected to the staging collector and has an identifiable name
Clone the Rails6 Blog application onto an EC2 using Intel
Use 7.2.0 gem version for the application
Make sure the config file is connected to the staging collector and has an identifiable name
Does the main path of the agent work normally?
Is there anything odd happening about the connection or the initial setup?
Is there anything the tests don’t usually cover?

Comparison of Rails 6 application on two different EC2 instances

One is Graviton t4g running on passenger standalone mode
One is regular ol' EC2 at a similar size running on nginx + passenger
Rails 6 does not support the latest stable version of Ruby (3.0.2). The latest version it supports is 2.7.4. We used this version for the test

Results within New Relic UI

During preliminary tests with traffic, the ARM64 instance seems compatible with the non-ARM64 instance
The RubyVM page is reporting the data for each instance
Metrics seem to be reporting as expected too
The Environment page is showing the arch is aarch64 for the graviton instance
Thread Profiler seems to work on ARM64: https://staging.onenr.io/0eqwy1V5Xwn
Distributed tracing not tested yet

@angelatan2 @elucus  - Is there anything else you need for this spike before the end of the week?

@kaylareopelle @tannalynn Thanks for the spike and the summary of the findings.  Other than creating a GitHub issue to add verification to our CI, this spike is closed.


PropertyChangedEventArgsCache

This isn't really an "issue" more like a question.  I did not see a category for general discussion so I am posting it here.  I hope that is ok.
I notice you use the PropertyChangedEventArgsCache, when raising PropertyChanged event.    I've come across this lazy-caching-the-args approach elsewhere in implementations of INotifyPropertyChanged.  My understanding is that this is to avoid slamming the garbage collector with too many allocations when the property changes really fly.  Is my understanding correct?
Because using this also means that you must lock the the global cache lock every single time you want to raise aPropertyChanged for any client that uses it. Is that really better?   Has anyone ever done any performance testing on this?
If you know your class might raise many PropertyChanged  events in a short enough time span to have an effect on performance, then why not simply have static, readonly instances of PropertyChangedEventArgs for those properties inside their owning classes?

My understanding is that this is to avoid slamming the garbage collector with too many allocations when the property changes really fly. Is my understanding correct?

Sort of. "Cache" is a misnomer because the items never leave the cache. So it's just a way of "allocate this thing only once".

Because using this also means that you must lock the the global cache lock every single time you want to raise aPropertyChanged for any client that uses it. Is that really better? Has anyone ever done any performance testing on this?

The locking is usually trivial; the vast majority of the time, the UI thread is the only one using the cache, and taking an uncontested lock is extremely fast (every lock starts with a spinlock).

If you know your class might raise many PropertyChanged  events in a short enough time span to have an effect on performance, then why not simply have static, readonly instances of PropertyChangedEventArgs for those properties inside their owning classes?

The intended usage for this kind of cache helper is in a ViewModelBase kind of type that implements INotifyPropertyChanged for properties of its derived classes. This kind of base type is very common in data binding apps once they reach a certain size. A base type like that would need to handle any property name (i.e., a string name) instead of having static properties (or worse, making its derived types define the static properties).

Yes, that's how I've seen it used before.  I inherited a ViewModelBase class that did something similar actually but I long removed it from mine and cached the values raised most frequently.  Perhaps I should restore it.  Thank you for the answer!


pgmq_create doesn't validate queue names

Extension version: 0.10
Postgres version: 15.3 (I'm running your docker image)
Current behaviour
Some characters that aren't allowed cause error 22000:
>select * from pgmq_create('hello-world');
SQL Error [22000]

Very long names get truncated and cause issues:
>select * from pgmq_create('veryloooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooongstring');
SQL Error [42703]: column "deleted_at" does not exist

Expected behaviour
If the name is valid, queue is created normally. If it isn't, error early.
This should also probably be documented somewhere.

Nice find! Table name length limitation is 63 characters in postgres, so we probably just add that check in here: https://github.com/tembo-io/pgmq/blob/aaaf47e899dce52034f01503c60425bcc666e1d1/core/src/query.rs#L303
Thoughts?

I feel like we already handle pgmq_create('hello-world') but need some way of providing a better error message to the user

@vrmiguel - did #37 close this, or was there something we wanted to do before we marked this one done?


Iox #1150 remove findservice with container from discovery

Pre-Review Checklist for the PR Author

[x] Code follows the coding style of CONTRIBUTING.md
[x] Tests follow the best practice for testing
[x] Changelog updated in the unreleased section including API breaking changes
[x] Branch follows the naming format (iox-#123-this-is-a-branch)
[x] Commits messages are according to this guideline

[x] Commit messages have the issue ID (iox-#123 commit text)
[x] Commit messages are signed (git commit -s)
[x] Commit author matches Eclipse Contributor Agreement (and ECA is signed)

[x] Update the PR title

Follow the same conventions as for commit messages
Link to the relevant issue

[x] Relevant issues are linked
[x] Add sensible notes for the reviewer
[ ] All checks have passed (except task-list-completed)
[x] Assign PR to reviewer

Notes for Reviewer

Checklist for the PR Reviewer

[x] Commits are properly organized and messages are according to the guideline
[x] Code according to our coding style and naming conventions
[x] Unit tests have been written for new behavior

[x] Each unit test case has a unique UUID

[ ] Public API changes are documented via doxygen
[x] Copyright owner are updated in the changed files
[x] PR title describes the changes

Post-review Checklist for the PR Author

[ ] All open points are addressed and tracked via issues

References

Closes #1150

@MatthiasKillat Can you please check if we have to remove code examples for the removed findService method from the `iceoryx-v2-0-0.md?

@FerdinandSpitzschnueffler

Can you please check if we have to remove code examples for the removed findService method from the `iceoryx-v2-0-0.md?

Yes, I will do so and change it in the upcoming example PR https://github.com/eclipse-iceoryx/iceoryx/pull/1117.


Re-enable constraint check with more efficient scheme

We should re-enable the constraint check at some point to prevent silently using the wrong constraint.

Fixed in #398


Implement SetQueryParams in the Provider Interface

Changed the function signature of the FetchData method in the Provides interface
Added the SetQueryParams method to the providers aligned to the concerns raised in #13

Resolves #13
References #5

This patch makes FetchData() receive and set Location dynamically. That's good.
The idea is to reduce the movement/redundant passing of QP, however this patch hasn't addressed it yet; since it returns the QP data, it must then be passed around. Please consider the following changes?

a. OpenMeteoProvider struct must have QueryParams field to hold the QP values that is of type map[string]string
b. SetQueryParams(*plumber.Coordinates) must set the field OpenMeteoProvider.QueryParams with appropriate values. Since it's a method on OpenMeteoProvider that sets its own field, it doesn't have to return anything. In this patch, it's instead returning the query params rather than setting it.
Please correct if I have misunderstand something.
c. NewOpenMeteoProvider() and NewMeteoBlueProvider() must appropriately call their respective SetQueryParams() method to set the QP before returning a new struct. (A default location, or nil, may be set here.) It would be convenient to also make the appropriate p.client.SetQueryParams() to resty with this QP before returning the struct, so that it sticks and only the location cords may have to passed while fetching data.
d. FetchData() need not change location data of QueryParams field of the MeteoProvider struct as it's a transient call. This side effect is misleading, and not necessary. It simply has to set the passed location co-ords via p.client.SetQueryParams() as the other QP is already set earlier while creating a new provider. That way, only the location co-ords has to be set freshly, and that's the intention as well.

Makes sense, I will implement them.

Have implemented the changes @adofm @raamsri , Please review


Syntax highlighting broken?

It appears that es7.decorators have stopped highlighting appropriately in recent updates.

I can confirm that 2.37.1 behaves correctly. 2.38.0 does not.

I changed the scope names for decorators. What is the issue. Cab you beer more specific.

From: Nick<EMAIL_ADDRESS>Sent: 13/09/2016 23:09
To<EMAIL_ADDRESS>Subject: Re: [gandm/language-babel] Syntax highlighting broken? (#251)
I can confirm that 2.37.1 behaves correctly. 2.38.0 does not.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/gandm/language-babel/issues/251#issuecomment-246841718

Ah, maybe it just is different, not broken 👍 .
I guess I expected the decorator to be treated "as a whole" rather than the @ / methodName being separated. I didn't notice before that they were.

Yes I amended the decorators to support code like
@DecoratorClass
  .variable
  .actualDecorator
class Flo {}

I only know the real decorator when I've reached the class statement, and by that time I can't re-scope it using TextMate grammars. So I decided to just scope all lowercase dotted props including the decorator the same.
I may change this on the assumption that most people put the decorator, complete, on it's own line. In which case I'll code the last prop as the decorator as before.

ah ha. Yeah I am not sure I have ever seen the usage as you showed. All of this is silly anyway since they aren't supported officially :) Thanks for the insight though!


fix: video element memory leak + optimizations

fixes #750

ha! I put the track elements back in and the memory leak is back... digging
            <track
              label="thumbnails"
              default
              kind="metadata"
              src="https://image.mux.com/DS00Spx1CV902MCtPj5WknGlR102V5HFkDe/storyboard.vtt"
            />
            <track
              label="English"
              kind="captions"
              srcLang="en"
              src="./vtt/en-cc.vtt"
            />


[fix][test] Move PersistentStreamingDispatcherMultipleConsumers relative test out of flaky-group

Motivation
According to the PR https://github.com/apache/pulsar/pull/17143, We found we missed the basic messaging test for PersistentStreamingDispatcherMultipleConsumers.  because current they grouped to flaky-test. currently, we can merge PR even if the flaky test is failed.
Modifications

Move some PersistentStreamingDispatcherMultipleConsumers relative test out of flaky group.

Verifying this change

[x] Make sure that the change passes the CI checks.

Documentation
Check the box below or label this PR directly.
Need to update docs?

[ ] doc-required
(Your PR needs to update docs and you will update later)

[x] doc-not-needed
(Please explain why)

[ ] doc
(Your PR contains doc changes)

[ ] doc-complete
(Docs have been already added)

We have to wait for the PR #17143 to merge.


Deploy av 1.1_2<IP_ADDRESS>856-b4437f0

b4437f002ec0f2ceb3434771a56ab2bd66b4fb92

/promote dev-fss

/promote prod-fss


Suggestion: Group selection via shift click, or drag selection.

Currently, if you want to move 10-15 things as a group, its a little tedious.

Currently have selection done. Attempting to add as many things in like locking, deleting, etc. for multiple buildings. It's been a wild ride these last couple of days haha. I had to rewrite a lot of code, but it's coming together pretty nicely.
#22 will be possible once I do all of this though, which is neat.


Monitor multiple collections

Change Overview
Added the ability to monitor multiple collections for the same event so you don't have to have multiple separate listeners
Impact of Change
It wont affect current users but just introduce a new way to interact with the client.

[ ] Bug fix

[ ] External Facing (resolves an issue customers are currently experiencing)
[ ] Security Impact (fixes a potential vulnerability)

[x] Feature

[x] Visible Change (changes semver of API surface or other change that would impact user/dev experience)
[ ] High Usage (impacts a major part of the core workflow for users)

[ ] Performance Improvement
[ ] Refactoring
[ ] Other: Describe here

Detailed Technical Description of Change
Added function where you pass in event type you want to monitor and a list of collection slugs. It maps through the collection slugs and adds a listener for each one. Ends up grouping it into one big listener to make everything easier.
Before
//trying to monitor nft-worlds and otherdeed
client.onItemReceivedOffer("nft-worlds",(body)=>{})
client.onItemReceivedOffer("otherdeed",(body)=>{})

After
client.multipleCollections(EventType.ITEM_RECEIVED_OFFER,["nft-worlds","otherdeed"],(body)=>{})

Testing Approach and Results
WIP so will try to show tests in next commit
Collateral Work or Changes
Nothing needs to be updated from my knowledge since this is just adding one more function to the client

What's wrong with this?
const listener = (event) => {
  // ...
}

client.onItemReceivedOffer("collection-slug-1", listener)
client.onItemReceivedOffer("collection-slug-2", listener)
client.onItemReceivedOffer("collection-slug-3", listener)
// ...

I think changing (and handling) the type for slugs in the existing listener methods to string | string[] would be much better
Example:
public onItemReceivedOffer(collectionSlug: string, callback: Callback<ItemReceivedOfferEvent>)

client.onItemReceivedOffer("collection-slug-1", (event) => {})
client.onItemReceivedOffer("collection-slug-2", (event) => {})

to
public onItemReceivedOffer(collectionSlug: string | string[], callback: Callback<ItemReceivedOfferEvent>)

client.onItemReceivedOffer("collection-slug", (event) => {})
// OR
client.onItemReceivedOffer(["collection-slug-1", "collection-slug-2"], (event) => {})

That could work what let's see what the maintainers say

Still haven't gotten any feedback from maintainers

It don't think is a good change. You can do this already with the current spec.
openSeaService.onItemListed('chibi-apes', (event) => {
    handleListingEvent(event, '234234234234234');
});

openSeaService.onItemListed('chibi-genesis', (event) => {
    handleListingEvent(event, '3423423423423423423');
});

async function handleListingEvent(event, channelId) {
    // do stuff
}

note this is simplified as an example. Normally one would load the collection slugs/channelIds from a config file, then set the listener in a for loop.


Fix incorrect identifier name in parser.js

Super simple PR. I think you meant to call err.message instead of e.message.

Perfect, thanks!


Dtrie

This is an implementation of a persistent hash array mapped trie that expands or shrinks to provide efficient memory allocation. Details on the papers that this project is based on can be found at github.com/theodus/dtrie.
Benchmarks:
BenchmarkInsert-4          5000000         547 ns/op       164 B/op         2 allocs/op
BenchmarkGet-4   	        10000000       250 ns/op	       8 B/op	      1 allocs/op
BenchmarkRemove-4	10000000       253 ns/op	       8 B/op	      1 allocs/op
BenchmarkUpdate-4	5000000	       383 ns/op	       55 B/op	      3 allocs/op

@Theodus looks like there's an issue in one of the tests:
=== RUN TestIterate-2
--- FAIL: TestIterate-2 (0.36s)
	Error Trace:	dtrie_test.go:158
	Error:		Should be true

Sorry about that. I hadn't tested the original for Go 1.3 compatibility.

+1

One minor stylistic comment. Otherwise, this looks good to me. Thanks for your PR!

lgtm

+1

+!


Write a R program to check valid date

Description
Write a R program to check valid date
Check if a given date is valid or not.
Input  : 2019-02-29
Output : False

How to contribute

Save the solution in program/check_valid_date.r file
Add check_valid_date.r file in check-valid-date folder

!assign

Hey @K1118,
This issue has been assigned to you for more than 15 days.
We are unassigning you from this issue.
If you are still interested in contributing to this issue, please get auto-assigned on the issue by commenting !assign again.
Thanks for your contributions :)


Move to a staged event driven model to write to the RRD

Currently, temperatures are sent to the server from multiple clients every 30 seconds. Each time they are sent, they are written directly into the RRD. The RRD has an arbitrary constraint whereby it only allows one write every second so it's entirely possible to accidentally break this rule, which results in an error.
Instead, I'd like to move to a staged event model where temperatures are stored in memory and periodically retrieved and stored in the RRD by an independent process.

This was going well with like zero RRD 1 second errors until this...

Sat 24-Feb-201804:37:47.985 [temperature-rrd-writing-thread-1] ERROR Error writing bedroom2: RrdError(Bad sample time:<PHONE_NUMBER>. Last update time was<PHONE_NUMBER>, at least one second step is required)
Sat 24-Feb-201809:45:18.006 [temperature-rrd-writing-thread-1] ERROR Error writing bedroom2: RrdError(Bad sample time:<PHONE_NUMBER>. Last update time was<PHONE_NUMBER>, at least one second step is required)
Sat 24-Feb-201809:50:48.007 [temperature-rrd-writing-thread-1] ERROR Error writing bedroom1: RrdError(Bad sample time:<PHONE_NUMBER>. Last update time was<PHONE_NUMBER>, at least one second step is required)
Sat 24-Feb-201809:51:47.975 [temperature-rrd-writing-thread-1] ERROR Error writing bedroom1: RrdError(Bad sample time:<PHONE_NUMBER>. Last update time was<PHONE_NUMBER>, at least one second step is required)
Sat 24-Feb-201804:37:47.985 [temperature-rrd-writing-thread-1] ERROR Error writing bedroom2: RrdError(Bad sample time:<PHONE_NUMBER>. Last update time was<PHONE_NUMBER>, at least one second step is required)
Sat 24-Feb-201809:45:18.006 [temperature-rrd-writing-thread-1] ERROR Error writing bedroom2: RrdError(Bad sample time:<PHONE_NUMBER>. Last update time was<PHONE_NUMBER>, at least one second step is required)
Sat 24-Feb-201809:50:48.007 [temperature-rrd-writing-thread-1] ERROR Error writing bedroom1: RrdError(Bad sample time:<PHONE_NUMBER>. Last update time was<PHONE_NUMBER>, at least one second step is required)
Sat 24-Feb-201809:51:47.975 [temperature-rrd-writing-thread-1] ERROR Error writing bedroom1: RrdError(Bad sample time:<PHONE_NUMBER>. Last update time was<PHONE_NUMBER>, at least one second step is required)

Need to check some timings above and muse on...

Closing for now


Enforce limits on # of parties, events, & sequence events to match those defined by the protocol

Ideally we throw a compile time error

Hey! I don't know whether it is appropriate to ask here, because I only found this relevant open issue. How many fields is the limit size of each event and sequence event? And what is the total limit size of events and sequence events in each transaction?

there's no extra limit for the number of fields in one (sequence) event, but there'll be a limit on the total number of all fields in all events / sequence events. We're still in the process of deciding the exact number, but it'll be about ~20-30 I think

there's no extra limit for the number of fields in one (sequence) event, but there'll be a limit on the total number of all fields in all events / sequence events. We're still in the process of deciding the exact number, but it'll be about ~20-30 I think

Personally, I prefer this limit >= 30, which I think would be more friendly to some privacy use cases based on the UTXO model, such as coin mixers.

Most of these limits will be fairly tight, because the time budget for snark workers to create proofs workers becomes much tighter with zkApps

Gregor explained well. We're trying to be conservative initially and then can potentially increase limits over time

Ask @deepthiskumar for the formula for the limits and translate the formula to the client side

The constants will probably change, but the formula probably won't change much


dumps does not handle certain options correctly

The issue
I'm currently running on the latest master branch of apacheconfig for testing purposes. I am unable to correctly grab options such as LocationMatch, Directory, and VirtualHost from an Apache config file and dump them to string. The option gets correctly picked up into the config dict, but when I run dumps, it converts the directive's option into it's own directive.
Minimal Test Case
import apacheconfig as ac

configFile = """<VirtualHost *:80>
  ServerName orange.com
</VirtualHost>
"""

_options = {
    'configpath': '/etc/apache2',
    'includeglob': True,
    'multilinehashcomments': True
}
with ac.make_loader(**_options) as loader:
    configStruct = loader.loads(configFile)
    print(loader.dumps(configStruct))

I would expect it to output essentially the same data as what was contained in the string, however, it returns the following:
<VirtualHost>
  <*:80>
    ServerName "orange.com"
  </*:80>
</VirtualHost>

Have you tried disabling the namedblocks feature?

Welp, that'll do it, that definitely worked there. Is it possible to change this behavior only on dumps and not in the initial loads?

That should be doable by creating two flavors of loaders with different set of options. One of them would read your file, the other would dumps it. Does it make sense?

Sure does! Thanks for the help!

Actually, now I have a new behavior.
<VirtualHost *:80   DocumentRoot "//var/www/html"
  ServerName "test.co"
  ErrorDocument "404 "404: File not found.""
  ErrorDocument "403 "403: Access denied.""
</VirtualHost *:80>

This seems to happen for all the VHosts in the file. I'm using the same sample code as above, just with namedblocks disabled.


cutByPlane function of old openJSCAD not implemented

Expected Behavior
Expected cutByPlane to be implemented
Actual Behavior
It is not implemented, at least not with a similar name and it is not obvious.

@Oisangui welcome
this function was considered broken in V1, and better implemented by users or special libraries.
https://github.com/jscad/csg.js/blob/master/src/api/ops-cuts.js
This function is fairly simple to duplicate in V2. Let us know if you need a few pointers.

It would be nice to get some help with that. The thing is I became used to V1 and implemented a solution for a problem that uses the aforementioned function, but I'm having trouble connecting that with node and that's why I'm trying to do the same in V2 (better node integration for what I have read). What I was doing in V1 is running a script and within the script I do a console log which  prints the result of some calculations to standard output. I need to get those results in nodeJS but the node package for V1 doesn't seem to support getting that.

I solved it with the following: Create a big 2D square, the extrude it really high, rotate it so that the normal of the plane is the one specified, and finally translate it. Then you can subtract your shape with this plane.


Add WUM changes to the pipeline

Purpose
This will adding the WUM related changes to the pipeline including debug flag.
Goals
Run integration tests throught WUM product pack.
Approach
Added properties:
WUM_CHANNEL - ex: full/secure
PRODUCT_CODE - ex:wso2am
WUM_PRODUCT_VERSION: version of the product ex: 2.5.0
USE_CUSTOM_TESTNG: TRUE or FALSE (TRUE - Using custom testng.xml , FALSE - Using testng.xml in the product)
User stories

Summary of user stories addressed by this change>

Release note

Brief description of the new feature or bug fix as it will appear in the release notes

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact

Training

Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable

Certification

Type “Sent” when you have provided new/updated certification questions, plus four answers for each question (correct answer highlighted in bold), based on this change. Certification questions/answers should be sent to<EMAIL_ADDRESS>and NOT pasted in this PR. If there is no impact on certification exams, type “N/A” and explain why.

Marketing

Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable

Automation tests

Unit tests

Code coverage information

Integration tests

Details about the test cases and coverage

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes/no
Ran FindSecurityBugs plugin and verified report? yes/no
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes/no

Samples

Provide high-level details about the samples related to this feature

Related PRs

List any other related PRs

Migrations (if applicable)

Describe migration steps and platforms on which migration has been tested

Test environment

List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested

Learning

Describe the research phase and any blog posts, patterns, libraries, or add-ons you used to solve the problem.

I'm closing this since this is a redundant pr.


Init a CD github actions repository

[x] Init a composite action repository to refactor CD workflow in each repository dependency
[ ] Use it in toolbox
[ ] Use it in vulkan.zig
[ ] Use it in X11.zig
[ ] Use it in wayland.zig
[ ] Use it in glfw.zig
[ ] Use it in cimgui.zig
[ ] Use it in glslang.zig
[ ] Use it in spirv.zig
[ ] Use it in shaderc.zig

See:

https://github.com/supercharge/strings/blob/main/.github/workflows/publish-in-github-package-registry.yml
GITHUB_REF_NAME

Available here: https://github.com/tiawl/spaceporn-dep-action-cd


Added leaf count to SimpleSmt

Implemented leaf count to SimpleSmt. It's needed for serialization of the notes tree.

I added bobbin for the review, since he mentioned he wants to have a look at it during our weekly sync.

here is the context for this PR: https://github.com/0xPolygonMiden/miden-base/pull/560#discussion_r1548103692

@polydez - could you rebase this from main? This way i can merge into main and then make a patch release.

@polydez - is this no longer needed? I think we can still merge it into main.

@bobbinth please approve another one: https://github.com/0xPolygonMiden/crypto/pull/302
This one was hard to rebase without affecting to other commits, so I decided not to risk.


Forge2dGame Constructor Has No Camera Parameter

I would like to use a customized Camera extension which overrides the  onPositionUpdate method to monitor camera movement.  However the Forge2DGame constructor does not accept a Camera parameter and passes a Forge2dCamera instance to the FlameGame superclass constructor.  And there is no way to replace the camera after game instantiation that I can see.

Duplicate of #1363.


TurboFilter which puts Exception class names into fields

add TurboFilter which puts the Throwable class name (actual and root cause) into fields so they can be listed/searched easily in ELK

Thanks for the PR @jackhammer2k!
Since your goal is to provide additional fields in the JSON output, and since filters are supposed to be for deciding if a logging event should be logged, I think this would be better implemented as a JsonProvider rather than a filter.  All of the other fields in the JSON output are provided via various implementations of JsonProvider, so you can use any of them as a reference for your implementation.
Also, you might be interested in the stackHash provider for correlating errors.


Cancel Interactive Evaluation in FSI

FSI in Visual Studio has a feature, "Cancel Interactive Evaluation", triggered by Ctrl+Break or right-click on the F# Interactive window menu.
This is useful to interrupt a long-running process, without losing what is in memory in the session. As an example, I might want to interrupt a long calculation because I realized there was an error, without restarting the whole session and needing to reload data.
It would be nice to offer that feature, perhaps through an additional command, perhaps using a similar shortcut.

Do you know of a way to perform this cancellation from the terminal running dotnet FSI itself? We only spawn a terminal so if there's not a way to do it via keystrokes then we might be out of luck.

Unfortunately, I do not. The Ctrl+Break shortcut in Visual Studio doesn't seem to do anything anywhere else. I tried Ctrl+C, but that seems to just stop the entire FSI session.


Apply Config command line

Hello!
Is it possible to trigger the command "Apply Config" over the command line?
Thank you!

Also searching for this, trying to automate deployment with ansible but I need to apply config once for the server to work.
Will post back if I have something.


Refactoring: lazy docstring format in token handler code

Description
Refactoring: lazy docstring format in token handler code
Type of change

[x] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library
[ ] Bump-up library or tool used for development (does not change the final image)

/retest

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

Project coverage is 94.83%. Comparing base (d3076b3) to head (67d6e66).
Report is 76 commits behind head on main.

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #1555      +/-   ##
==========================================
+ Coverage   94.75%   94.83%   +0.07%
==========================================
  Files          59       60       +1
  Lines        2631     2671      +40
==========================================
+ Hits         2493     2533      +40
  Misses        138      138

Files with missing lines
Coverage Δ

ols/utils/token_handler.py
100.00% <100.00%> (ø)

/lgtm

/approve

/override "Red Hat Konflux / lightspeed-service-on-pull-request"


Size Option in Export Dialogue Confusing

(Following up on Twitter request to file an issue)
The three buttons in the export dialogue of "x1", "x2", and "x3" don't clearly indicate that you are changing the size of the export. There is no tooltip, and on a canvas with some objects in it, the export preview doesn't change size either. The confusing part for me personally was that the only effect I saw was the apparent quality of the preview render changed, which lead me to have an incorrect assumption about what those buttons did.

Maybe we can even have this tooltip showing the exact size of the export PNG, for example: Exported size will be 1024x256 pixels. (Just an idea)

I'd like to pick this up, with 2 ideas.

I would start the tooltip with a verb, like Scale 2x (1024x256), to match the other tooltips (e.g. Export to PNG, Get shareable link)

The scale number and the "x" should switch places. 1x/2x/etc is the convention as far as I know:

https://helpx.adobe.com/photoshop/using/export-artboards-layers.html#Exportfilesindifferentsizes
https://developer.apple.com/design/human-interface-guidelines/ios/icons-and-images/image-size-and-resolution/

Sounds good!


Ensure timestamps on sessions and acquisitions are an ISO formatted string (or null)

After a discussion with @rentzso about improperly formatted timestamps causing ElasticSearch headaches, a few places need to be changed:
"timestamp":    {"type": ["string", "null"]} needs to become "timestamp":    {"type": "string", "format": "date-time"} in:

input/session.json
input/acquisition.json
input/uidupload.json
input/labelupload.json
input/enginemetadata.json
mongo/session.json
mongo/acquisition.json

Checks for timestamps in session/acquisition creation in hierarchy.py need to look for None.
@rentzso please fill in any missing details for this ticket.

Adding that checks for timestamps needs to be fixed also in download.py, 'listhandler.py and containerhandler.py.

Adding "minlength": 1 should eliminate any empty strings so we don't have to check in code.


Doesn't take into account className

The UX is incredible but it doesn't take into account className
For example,
<svg
	className="w-4 h-4 fill-current text-red-500"
	stroke-linecap="round"
	stroke-linejoin="round"
	stroke-width="2"
	stroke="currentColor"
	viewBox="0 0 24 24"
>
	<path d="M11.049 2.927c.3-.921 1.603-.921 1.902 0l1.519 4.674a1 1 0 00.95.69h4.915c.969 0 1.371 1.24.588 1.81l-3.976 2.888a1 1 0 00-.363 1.118l1.518 4.674c.3.922-.755 1.688-1.538 1.118l-3.976-2.888a1 1 0 00-1.176 0l-3.976 2.888c-.783.57-1.838-.197-1.538-1.118l1.518-4.674a1 1 0 00-.363-1.118l-3.976-2.888c-.784-.57-.38-1.81.588-1.81h4.914a1 1 0 00.951-.69l1.519-4.674z"></path>
</svg>

gets converted to
import React from "react";

function Icon() {
  return (
    <svg
      stroke="currentColor"
      strokeLinecap="round"
      strokeLinejoin="round"
      strokeWidth="2"
      viewBox="0 0 24 24"
    >
      <path d="M11.049 2.927c.3-.921 1.603-.921 1.902 0l1.519 4.674a1 1 0 00.95.69h4.915c.969 0 1.371 1.24.588 1.81l-3.976 2.888a1 1 0 00-.363 1.118l1.518 4.674c.3.922-.755 1.688-1.538 1.118l-3.976-2.888a1 1 0 00-1.176 0l-3.976 2.888c-.783.57-1.838-.197-1.538-1.118l1.518-4.674a1 1 0 00-.363-1.118l-3.976-2.888c-.784-.57-.38-1.81.588-1.81h4.914a1 1 0 00.951-.69l1.519-4.674z"></path>
    </svg>
  );
}

export default Icon;

Notice, the missing className property

Hey @deadcoder0904,
Make sense as className it's an invalid attribute for SVGs, should be class.
<svg class="w-4 h-4 fill-current text-red-500" ...

Work as it should.

@balajmarius I'm using React. In React, we don't use class as it collides with ES6's class so we use className.
There are some other attributes that collide as well like for, so in React we use it as htmlFor.
So it's totally valid in React. Not sure if you want to add this one as framework-specific :)

Also, just tried
<svg
	className={`${!menuOpen ? 'hidden' : 'block'} h-6 w-6`}
	stroke="currentColor"
	fill="none"
	viewBox="0 0 24 24"
>
	<path
		stroke-linecap="round"
		stroke-linejoin="round"
		stroke-width="2"
		d="M6 18L18 6M6 6l12 12"
	/>
</svg>

And it gives an error

Yes, it should throw an error. What I'm trying to say it's that your SVG is invalid, the SVG2JSX takes valid SVG and outputs JSX.
This is not valid SVG className={${!menuOpen ? 'hidden' : 'block'} h-6 w-6}, same for className="foo".

Cool, next time I'd add the class instead of className I guess. Then it works perfectly fine.


Add language/locale

Closes: https://github.com/mapbox/MapboxDirections.swift/issues/133
/cc @1ec5

@1ec5 updated.

Added the DO NOT MERGE label because we’re looking into whether this language fallback logic can be implemented in the Directions API itself.

@1ec5 once https://github.com/Project-OSRM/osrm-text-instructions/pull/168 is deployed, we can start to look at merging this.


Backend: create user account system - support for register, login

Finished in develop branch. Still no support for oAuth yet though.


Android complier issue

Hi,
I would like to use your project for Android environment.
I am getting this Sync error when I load this Project from "https://github.com/aws-samples/aws-appsync-iot-core-realtime-dashboard/tree/master/mobile/android"
Here the error
A problem occurred evaluating settings 'mobile'.
> Could not read script<EMAIL_ADDRESS>as it does not exist.

Hi.  I only configured an coded out an iOS version of the mobile app.  I did not configure or code for Andriod.


driver "windowsfilter" failed to remove root filesystem: failed to  detach VHD Error while Creating Business Central Docker Image for Indian Version

Hi All,
I am getting below error while installing Business Central Indian Version Image. Tried this with different laptops but getting same error
PS C:\windows\system32> install-module navcontainerhelper -force
$artifactUrl = Get-BCArtifactUrl -storageAccount bcpublicpreview -country in -select Latest -type Sandbox
New-BcContainer `
-accept_eula `
-containerName BC-IN-PP `
-artifactUrl $artifactUrl `
-auth NavUserPassword `
-updateHosts `
-assignPremiumPlan `
-includeAL
NavContainerHelper is version <IP_ADDRESS>
NavContainerHelper is running as administrator
Host is Microsoft Windows 10 Enterprise - 1909
Docker Client Version is 19.03.8
Docker Server Version is 19.03.8
Removing container BC-IN-PP
Removing BC-IN-PP from host hosts file
Removing C:\ProgramData\NavContainerHelper\Extensions\BC-IN-PP
Fetching all docker images
Using image mcr.microsoft.com/dynamicsnav:10.0.18363.1082-generic
Downloading application artifact /sandbox/17.0.16993.0/in
Downloading C:\Users\sandeep.mishra07\AppData\Local\Temp\5325f13d-b684-4805-ba6b-38e5f9427e33.zip
Unpacking application artifact to tmp folder using Expand-Archive
Downloading platform artifact /sandbox/17.0.16993.0/platform
Downloading C:\Users\sandeep.mishra07\AppData\Local\Temp\50982391-44b6-467b-af19-164cdd4dc2cd.zip
Unpacking platform artifact to tmp folder using Expand-Archive
Downloading Prerequisite Components
Downloading c:\bcartifacts.cache\sandbox\17.0.16993.0\platform\Prerequisite Components\Open XML SDK 2.5 for Microsoft Office\OpenXMLSDKv25.msi
Downloading c:\bcartifacts.cache\sandbox\17.0.16993.0\platform\Prerequisite Components\IIS URL Rewrite Module\rewrite_2.0_rtw_x64.msi
Downloading c:\bcartifacts.cache\sandbox\17.0.16993.0\platform\Prerequisite Components\DotNetCore\DotNetCore.1.0.4_1.1.1-WindowsHosting.exe
Creating Container BC-IN-PP
Version: 17.0.16993.0-IN
Style: sandbox
Platform: 17.0.16974.0
Generic Tag: <IP_ADDRESS>
Container OS Version: 10.0.18363.1082 (1909)
Host OS Version: 10.0.18363.1082 (1909)
Using locale en-IN
Using process isolation
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Files in C:\ProgramData\NavContainerHelper\Extensions\BC-IN-PP\my:
- AdditionalOutput.ps1
- MainLoop.ps1
- SetupNavUsers.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container BC-IN-PP from image mcr.microsoft.com/dynamicsnav:10.0.18363.1082-generic
7b6b84347202b4a92096a0a551ecbedc73ed1fa5a51ccad560a0b9b8c7076780
Docker : Error response from daemon: container 7b6b84347202b4a92096a0a551ecbedc73ed1fa5a51ccad560a0b9b8c7076780: driver "windowsfilter" failed to remove root filesystem: failed to
detach VHD: The device is not ready.: rename C:\ProgramData\Docker\windowsfilter\7b6b84347202b4a92096a0a551ecbedc73ed1fa5a51ccad560a0b9b8c7076780
C:\ProgramData\Docker\windowsfilter\7b6b84347202b4a92096a0a551ecbedc73ed1fa5a51ccad560a0b9b8c7076780-removing: Access is denied.
At C:\Program Files\WindowsPowerShell\Modules\navcontainerhelper\<IP_ADDRESS>\HelperFunctions.ps1:124 char:17
+                 Docker rm $out -f
+                 ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Error response ...cess is denied.:String) [], RemoteException
    + FullyQualifiedErrorId :

> `NativeCommandError```

This error is very machine specific - has nothing to do with the Indian image.
You probably also cannot run a standard Windows Server Core image nor any other Business Central images right?
Have you ever been able to run any container on that machine?
Very surprised if you got the same error on multiple machines - then they all must have some software installed, which causes issues.
These docker errors are very hard for me to help troubleshoot as they really has nothing to do with Business Central or ContainerHelper.

This error is very machine specific - has nothing to do with the Indian image.
You probably also cannot run a standard Windows Server Core image nor any other Business Central images right?
Have you ever been able to run any container on that machine?
Very surprised if you got the same error on multiple machines - then they all must have some software installed, which causes issues.
These docker errors are very hard for me to help troubleshoot as they really has nothing to do with Business Central or ContainerHelper.

Hi Freddyk,
Thanks for the update.
I am able to run other Business Central Image. Already running container with using below image :
mcr.microsoft.com/businesscentral/sandbox:16.2.13509.13619-us.

This error is very machine specific - has nothing to do with the Indian image.
You probably also cannot run a standard Windows Server Core image nor any other Business Central images right?
Have you ever been able to run any container on that machine?
Very surprised if you got the same error on multiple machines - then they all must have some software installed, which causes issues.
These docker errors are very hard for me to help troubleshoot as they really has nothing to do with Business Central or ContainerHelper.

Hi Freddyk,
Thanks for the update.
I am able to run other Business Central Image. Already running container with using below image :
mcr.microsoft.com/businesscentral/sandbox:16.2.13509.13619-us.

Getting error with this particular Image only.

There is a huge difference in running an image (mcr.microsoft.com/businesscentral/sandbox:16.2.13509.13619-us) and running with artifacts (like what you are doing now).
How much memory do you have in the machine?

There is a huge difference in running an image (mcr.microsoft.com/businesscentral/sandbox:16.2.13509.13619-us) and running with artifacts (like what you are doing now).
How much memory do you have in the machine?

16 GM RAM is there in the machine.
Also, Is there any image for IN localization instead of artifact.
Thanks!

There is a huge difference in running an image (mcr.microsoft.com/businesscentral/sandbox:16.2.13509.13619-us) and running with artifacts (like what you are doing now).
How much memory do you have in the machine?

16 GM RAM is there in the machine.
Also, Is there any image for IN localization instead of artifact.
Thanks!

I am not able to find any image other than this particular artifact.

Images are history - artifacts is the future
If the above is the full output, the error comes before any initialization of the container is done and is likely because your machine might be low on resources.
Just to be sure - I have just run the above artifacts - they work fine.
With docker errors like this I typically ask people to update to latest versions and reset to factory defaults (which will remove existing images/containers).

FWIW - I constantly run into the detach issue, may like 1 in 10. For us, it does not matter what the image is at all.
Docker : Error response from daemon: container *: driver "windowsfilter" failed to remove root filesystem: failed to
detach VHD: The device is not ready.: rename C:\ProgramData\Docker\windowsfilter*
C:\ProgramData\Docker\windowsfilter*-removing: Access is denied.

We found that it's related to Defender that sometimes is blocking either deletion or container creation (noticeable when the container status remains in "created" or "removing").
Adding the Docker directories as exclusion didn't help, but the following sledhammer approach works for us:
Set-MpPreference -DisableIntrusionPreventionSystem $true -DisableIOAVProtection $true -DisableRealtimeMonitoring $true -DisableScriptScanning $true -EnableControlledFolderAccess Disabled -EnableNetworkProtection AuditMode -Force -MAPSReporting Disabled -SubmitSamplesConsent NeverSend

Well this renders the Defender useless i would say :joy:? Not very corporate friendly...
Unfortunately i (and most of my colleagues) have the same issue from time to time (not always, so it's hard to troubleshoot).
This issue remains after the upgrade to windows 11 (which i mainly did to resolve all docker related issues :roll_eyes:)
And Hyper-V is not an option... It just consumes to many resources, so this issue should be resolved somehow...
@freddydk do you have any more insights to this? I'am a bit surprised not more people are reporting this, because as said, in my company multiple people are suffering from it (since 1-2 weeks)

Also seeing this error on Windows Server 2022 Datacenter, Docker details are as follows:
Client: Mirantis Container Runtime
Version:           20.10.9
API version:       1.41
Go version:        go1.16.12m2
Git commit:        591094d
Built:             12/21/2021 21:34:30
OS/Arch:           windows/amd64
Context:           default
Experimental:      true
Server: Mirantis Container Runtime
Engine:
Version:          20.10.9
API version:      1.41 (minimum version 1.24)
Go version:       go1.16.12m2
Git commit:       9b96ce992b
Built:            12/21/2021 21:33:06
OS/Arch:          windows/amd64
Experimental:     false

cross referencing https://github.com/moby/moby/issues/42521

We found that it's related to Defender that sometimes is blocking either deletion or container creation (noticeable when the container status remains in "created" or "removing"). Adding the Docker directories as exclusion didn't help

Btw. Did you tried to exclude dockerd.exe process instead of (or together with) directories? That should do most of the trick and let docker do the clean up.

FYI - I found that on my machine, HyperV isolation is much faster than process isolation - probably because of defender or like.


Align and EdgeInsets use only "Left" and "Right", could also have "Start" and "End"

Currently Align and EdgeInsets and others use left and right, I think this is fine for most use cases, but sometimes we may want to flip things for RTL layouts, so it would be nice to also have start and end, which will dynamically map to left or right depending on the locale of the device, at runtime.

Flutter provides directional geometry types for just this reason. For example see
EdgeInsetsDirectional and AlignmentGeometry.

Interesting... I went to try them out, trying to place a FAB on the left of the screen for LTR and on the right of the screen for RTL, but it didn't work. I forced RTL in the developer options, but the layout didn't change, even after restarting the App. Here's my code:
    child: Align(
        alignment: AlignmentDirectional.topStart,
        child: Padding(
          padding: EdgeInsetsDirectional.only(start: 8, top: 20.0),
          child: Builder(builder: (BuildContext context) {
            return FloatingActionButton(
              onPressed: () => Scaffold.of(context)?.openDrawer(),
              backgroundColor: Colors.white,
              foregroundColor: Colors.black,
              mini: true,
              child: Icon(Icons.menu),
            );
          }),
        ),
      ),

Not sure what "developer options" you're referring to however that may just be my ignorance of the Flutter IDE.
If you wrap the widgets you've created in a Directionality widget that specifies textDirection: TextDirection.rtl you'll see RTL layout.

I mean the developer options on Android, where we can force the device to be RTL.
So Flutter doesn't automatically detect RTL? I have to inform if it's RTL or not with a Directionality widget?

Interesting, thanks!


Simplify 'F.min', 'F.max' test

Simplifies test_minmax using testing.FunctionTestCase
Refer to #6071

LGTM. Jenkins, test this please.

Jenkins CI test (for commit 27e7a5e061b1cb6e7055ddcedb514e4bf25dbdf1, target branch master) failed with status FAILURE.

Ahem. Jenkins, test this please.

Jenkins CI test (for commit 27e7a5e061b1cb6e7055ddcedb514e4bf25dbdf1, target branch master) failed with status FAILURE.


usb: dispatch vendor requests

I needed support for USB vendor requests, so here's a patch.
Vendor requests are free-form, so Embassy cannot interpret the recipient and index fields.
Therefor all vendor requests are routed to interface 0.

Interesting. What protocol/class are you implementing that requires vendor requests?
Supporting vendor requests sounds good to me. Forwarding them to interface 0 is strange though. If the class that needs to handle them doesn't get registered first, it won't get interface ID 0 and things will silently not work.
I think it'd make more sense for a class to be able to set a "vendor control handler". I guess only one is enough, so it could error if when setting a handler when one is already set. This way, a class that needs it will either get it, or error out, but never silently not work.

Interesting. What protocol/class are you implementing that requires vendor requests?

WebUSB - but really any any USB gadget that does not fit 100% inside the predefined classes needs access to this protocol extension point, it is the go-to solution for things that don't fit.

Forwarding them to interface 0 is strange though. If the class that needs to handle them doesn't get registered first, it won't get interface ID 0 and things will silently not work.

Other USB stacks handle this by having all classes get to see all control requests and have each filter out what is intended for each specifically. It works well enough there, so why not here - it also fits the current dispatch logic nicely, no surprises so no cognitive overhead ;-)

I think it'd make more sense for a class to be able to set a "vendor control handler".

That would create overhead that all other USB gadgets will need to lug around, even if they don't need it. Maybe that is why other stacks implemented it this lighter / less engineered way.

oh! Delivering it to all interfaces (not just interface 0) sounds good as well.

oh! Delivering it to all interfaces (not just interface 0) sounds good as well.

YAGNI :-)
Just sending it to each class gives a point to pick it up. Where a class needs to distribute a request  to all interfaces it is always possible to add that extra level of dispatch overhead / churn locally only. Which requests would you expect to distribute to all interfaces?

#1203 decouples the control handlers from the interfaces, and routes vendor requests to all handlers.
The problem with the previous implementation was that there's no way to "send it to all classes", hence why I suggested sending it to all interfaces.  But yeah, you made me realize the root issue is it doesn't make sense to tie ControlHandlers to interfaces, since they also have to handle stuff that doesn't belong to one interface in particular.
I'm going to close this in favor of #1203, but thanks anyway for the contribution!


Support for Discord PTB?

I'm using Discord and Discord PTB. Rich Presence shows up on regular discord, but not if I'm only running the PTB version. Is there a way to add support for this?
Thanks

Hi!
This extension should work with any application that supports Discord Rich Presence, but I haven't specifically checked for stability with Discord PTB.
At first glance, it seems to me that this is not an extension problem. It just displays the state of Visual Studio.
To interact with Discord, I use the Third-Party C# implementation of Discord Rich Presence.
Maybe there is no support for Discord PTB.

Gotcha. I've tried a bunch of different things, but it just doesn't work with PTB. It works fine with the regular discord client though. Discord PTB has experimental features for better screen sharing so I tend to use that instead :(


Can we transpile MJML without & attributes ?

Hello,
I have a small question about the use of the library
My team has a git repository of MJML templates, these templates use .mjml files which have certain characteristics, as for example below :
// OUR TEMPLATE
src/templates/bat.mjml

<mjml>
  <mj-head>
    <mj-title>My company BAT</mj-title>

    <mj-include path="./src/partials/attributes.mjml" />
  </mj-head>
   ...

// OUR CHARACTERISTIC
src/technical-blocks/attributes.mjml

<mj-attributes>
  <mj-class name="cta-yellow" background-color="#FFEA28" color="#000" border="2px solid #FFEA28" />
  <mj-class name="cta-dark-tr" background-color="transparent" color="#000" border="2px solid #000" />
  <mj-class name="title" font-size="25px" color="#262626" text-transform="uppercase" align="left" padding="20px 10px 0 20px" />
  ...
</mj-attributes>

We want to make our "characteristic library" available to our customers so they can use them in their templates. We therefore want to transpile our .mjml (not the templates) into .html .
But, we can't use mjml2html, because our .mjml don't have the <mjlm> and <mjml-body> tags.
I therefore have this error:
node_modules/mjml-core/lib/helpers/minifyOutlookConditionnals.js:9
content.replace(/(<!--\[if\s[^\]]+]>)([\s\S]*?)(<!\[endif]-->)/gm, (match, prefix, content, suffix) => {
        ^

TypeError: Cannot read property 'replace' of undefined

Is there a way to transpile mjml without adding / tags ? Is there anything I'm missing ?
Thanks in advance !

There's no way to do so because some component like section/columns/hero ... can push some head styles and can't render only the HTML.
mj-include allows you to include files without MJML root tag but there's no other way.


breaking:  Rename file-upload to file-picker

Rename file-upload to file-picker

I'm closing this for now. I'm going to revisit this later down the line.
Thanks for working on it.


Use octokit rest api for creating installation access token

Fix #44.
The intent of this PR is to support running the action behind a proxy.

Thanks 👍.


Introduce Y051: Detect redundant unions between Literal types and builtin supertypes

Fixes #275. Cc. @twoertwein.

Looks good but CI seems unhappy

Yeah, I'm taking a look now. Seems to be some difference with how ast.Bytes works on 3.7/3.8, idk.

Oh. I think it might be a bug in the LegacyNormalizer, such that ast.Index nodes inside other ast.Index nodes aren't normalized.

Oh. I think it might be a bug in the LegacyNormalizer, such that ast.Index nodes inside other ast.Index nodes aren't normalized.

Yup, that was it!

@Akuli, could you possibly take a look at the tkinter hits in the typeshed_primer CI check?
./stdlib/tkinter/__init__.pyi:187:45: Y051 "Literal['all']" is redundant in a union with "str"
./stdlib/tkinter/ttk.pyi:[9](https://github.com/PyCQA/flake8-pyi/runs/8099088866?check_suite_focus=true#step:6:10)40:20: Y051 "Literal['']" is redundant in a union with "str"
./stdlib/tkinter/ttk.pyi:966:99: Y051 "Literal['#all']" is redundant in a union with "str"
./stdlib/tkinter/ttk.pyi:988:99: Y051 "Literal['#all']" is redundant in a union with "str"

The redundant unions in tkinter are intended to show what the possible values might be, instead of just typing it as a str: those parameters take strings, and some strings such as "#all" have a special meaning. I'm fine with just using str instead of a union with a literal.


Added Yellow Circle

Yellow Circle offers students and teachers a free sandbox for working with VMs and virtual networking appliances. Port forwarding available for a nominal fee.

The link in the file is fine but nb that your comment link points to the wrong address, it should be http://www.yellowcircle.net/

@louissegal oops. your right, will edit description

Hmm.. The CI build is saying that connection timed out for http://yellowcircle.com. In the browser is redirecting to www.yellowcircle.com, so I added the 'www.' in a separate commit but now the build says 'connection reset by peer.'

Interesting. The Travis build on my fork is passing.

Thanks :+1:


Question of loss_adv_g

Thank you for this great work. I noticed that loss_adv_g  will not take effect to the back propaganda because it is detached and re-assigned to a float scalar instead of a variable.  https://github.com/guopengf/FL-MRCM/blob/14d996cc4ee5d01f7458eb4128e75daf2c9191dc/models/recon_Update.py#L147
Is it correct?

Hi,
Thanks for pointing out! You are right, detach() should take place in the next line (in the append()). This is a bug when I tried to correct gpu memory leakage in the previous version. I just fxied it.

Hi,
Thanks for pointing out! You are right, detach() should take place in the next line (in the append()). This is a bug when I tried to correct gpu memory leakage in the previous version. I just fxied it.

Thank you for immediate replay.  😉


Improve LICENSE/NOTICE treatment of bundled non-ASF files.

Restructure declaration of the licenses of the two bundled files
fakengx.lua and fakeredis.lua following the guidance at
http://www.apache.org/dev/licensing-howto.html#bundled-vs-non-bundled.

rebased to pick up fix in #343


Add missing labels to VPopover

Fixes

Fixes #1012 by @obulat
Description

This PR adds the missing popover labels to ensure that they are accessible.
Testing Instructions

Run the app and check that the ContentReport popover and the FilterChecklist popover have a11y labels.
Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the default branch of the repository (main) or a parent feature branch.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[ ] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Run the app and check that the ContentReport popover and the FilterChecklist popover have a11y labels.

When adding aria attributions we should also test in screen readers so we understand how they're interpreted and how it changes the interaction. I'll be testing in JAWS and NVDA, if someone on a mac could test on VoiceOver that'd be great. IIRC in VO it'll read the aria label of the popover when the popover is focused, I'm not sure how this interacts with something when other text is already focused and we'd want to make sure the label isn't redundant.

Here's a video of VoiceOver in Safari. I believe it is reading the labels before the close button?
https://user-images.githubusercontent.com/6351754/156400799-04061916-7503-4fb0-870d-2a1151ee8090.mp4


Viewpoints for framework developers

We don't have viewpoints for framework developers. Having them would make SAF development easier, especially for developers new to SAF development.
We should consider also Stakeholders planning an MBSE approach with SAF or consider using SAF.
The idea somehow similar to the architecture foundation in NAF
What to do:

define additional Stakeholders
The following are new, referenced by development documentation use cases

SAF-Developer
saf-mbse-approch-planer
saf-system-model-user, base class for all users of a SAF System Model

define concerns and rationales

are defined here, search for meta-framework

define viewpoints formally (matching already established diagram kinds)
possibly define a separate domain for this.

From Theory to Practice: V Model, IVVQ, and MBSE in Action—Start Your Own MBSE Pilot Projects: The Key to Developing Practical Knowledge
https://www.norasi-team.com/vmodel-ivvq-and-mbse-in-action/

Architecture Contributors
An Architecture Contributor provides expertise, contributes to architectural design and development efforts, collaborates with the architecture team, and ensures the delivery of high-quality architectural solutions within their assigned areas. The Responsibility, Authority, and Accountability (RAA) list for an Architecture Contributor includes:
Responsibility:

Design and Development: Contributing to the architectural design and development process.
Expertise: Providing input and expertise on specific architectural domains or components.
Collaboration: Collaborating with the Lead Systems Architect and other stakeholders to understand architectural requirements.
Research: Conducting research and analysis to identify appropriate architectural solutions.
Documentation: Developing architectural models, diagrams, and documentation.
Reviews: Participating in architecture reviews and providing constructive feedback.
Implementation: Implementing architectural decisions and guidelines within their assigned areas.
Integration: Collaborating with other team members to ensure architectural alignment and integration.
Learning: Staying updated with emerging technologies and industry trends related to their specific domain.
Improvement: Continuously improving their architectural knowledge and skills.[
Model Based Engineering Oragnisational Roles Responsibility Authority and Accountability.pdf
](url)

https://www.linkedin.com/posts/gabelandrew_mbe-raa-ugcPost-7216884395218022400-9_W5?utm_source=share&utm_medium=member_ios
Enhancing Model-Based Engineering Through Effective Team Structure:
As the field of systems engineering shifts from traditional methods to digital engineering, it's crucial to consider what changes are necessary for success. I've noticed that digital engineering is beginning to adopt principles akin to software engineering, which prompts us to rethink team structures for effective implementation of Model-Based Engineering (MBE).
Throughout my career in MBSE, I've identified key roles that are essential not just for MBSE teams, but for any digital engineering initiative. Digital engineering is about creating a dynamic database of interconnected information that speeds up data retrieval compared to traditional paper-based methods.
This approach to team structure is designed specifically for digital engineering teams. We're in an era where software practices have already set a precedent. Instead of starting from scratch, let's leverage the lessons learned from software engineering and integrate them proactively into these new digital engineering teams.

We have now the following viewpoints
D2_COTD
D2_STKD
D2_STYD
D2_VPTD
D2_VPTI
D2_VPTO
D8_STYD


revamped devrel cohort website

Pull Request Template
Description
Revamped the website for devrel program
Additional Context (Please include any Screenshots/gifs if relevant)

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have checked my code and corrected any misspellings
[x] I have tagged the reviewers in a comment below incase my pull request is ready for a review
[x] I have signed the commit message to agree to Developer Certificate of Origin (DCO) (to certify that you wrote or otherwise have the right to submit your contribution to the project.) by adding "--signoff" to my git commit command.

@nehagup can you please review this?


[DOC]Create an OpenSearch Security compatibility topic for Security Analytics

What do you want to do?

[ ] Request a change to existing documentation
[x] Add new documentation
[ ] Report a technical problem with the documentation
[ ] Other

Tell us about your request.
Most if not all documentation sections for plugins contain a topic that includes information about using the plugin with OpenSearch Security. Security Analytics needs this topic installed in its documentation, too. The information needs to be tailored to the specific requirements of Security Analytics, with attention to permissions.
What other resources are available?
And example of the needed content from the Alerting plugin:
https://opensearch.org/docs/latest/observing-your-data/alerting/security/
Security Analytics issue for implementation of Security for Security Analytics
Implement Security for Security Analytics actions

Will revisit merge conflicts in #3184 after 2.7 release.

Merge conflicts in PR resolved.


Make objcImpl classes derive inherited inits

A class that uses @objcImplementation but does not explicitly declare any designated initializers previously did not override the superclass initializers, so its stored properties would not be initialized. Opt these classes into that logic and adjust it to add the initializers to the @objcImplementation extension instead of the ClassDecl itself.
This PR also re-enables some tests on macOS that were disabled because they didn't work properly on other platforms.
Fixes rdar://105008242.

@swift-ci please smoke test


link "approved source of external data" to import guidelines

https://wiki.openstreetmap.org/wiki/Import/Guidelines
I can make a PR - which language file is a base for translations and should be modified?

I think we should trust authors of challenges to be familiar enough with OSM that they know how to proceed with external data. Linking to the import guidelines can be misleading because we cannot assume that any data would actually be imported; that is up to the mapper in the end. So for now, we won't link to the import guidelines, but I am happy to be convinced otherwise with a good argument.


Replicate Terminal Acrylic effects for Vibrancy as additional Option.

Terminal really does a very good job in the Acrylic effect.

is it possible to have same in vibrancy ?
Also the cons of terminal acrylic effect ( when terminal is not focused it goes to pitch black theme)

Sorry My bad, i changed the Opacity to 0 and its woking great.


Fix labels cardinality error when registering unknown pre-auth key

[x] read the CONTRIBUTING guidelines
[ ] raised a GitHub issue or discussed it on the projects chat beforehand
[ ] added unit tests
[ ] added integration tests
[ ] updated documentation if needed
[x] updated CHANGELOG.md

I fat-fingered an auth-key, and observed this error:
2022-03-21T02:57:35Z INF New machine machine=localhost-live
2022-03-21T02:57:35Z DBG Processing auth key for localhost-live func=handleAuthKey machine=localhost-live
2022-03-21T02:57:35Z ERR ../home/runner/work/headscale/headscale/api.go:544 > Failed authentication via AuthKey error="AuthKey not found" func=handleAuthKey machine=localhost-live
2022-03-21T02:57:35Z ERR ../home/runner/work/headscale/headscale/api.go:567 > Failed authentication via AuthKey func=handleAuthKey machine=localhost-live

[GIN-debug] [WARNING] Headers were already written. Wanted to override status code 401 with 500
2022/03/21 09:57:35 [Recovery] 2022/03/21 - 09:57:35 panic recovered:
POST /machine/snip.machine.key HTTP/1.0
Host: snip-host
Connection: close
Connection: close
Content-Length: 867
User-Agent: Go-http-client/1.1
X-Forwarded-For: 123.snip
X-Forwarded-Proto: https
X-Real-Ip: 123.snip

inconsistent label cardinality: expected 4 label values but got 3 in []string{"new", "authkey", "error"}
/home/runner/go/pkg/mod/github.com/prometheus/client_golang@v1.12.1/prometheus/counter.go:252 (0xb9fc04)
/home/runner/work/headscale/headscale/api.go:576 (0xf11bb6)
/home/runner/work/headscale/headscale/api.go:132 (0xf0e8c7)
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.7.7/context.go:168 (0x9b4281)
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.7.7/recovery.go:99 (0x9b426c)
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.7.7/context.go:168 (0x9b33a6)
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.7.7/logger.go:241 (0x9b3389)
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.7.7/context.go:168 (0x9b2470)
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.7.7/gin.go:555 (0x9b20d8)
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.7.7/gin.go:511 (0x9b1c11)
/opt/hostedtoolcache/go/1.18.0/x64/src/net/http/server.go:2916 (0x7c3b9a)
/opt/hostedtoolcache/go/1.18.0/x64/src/net/http/server.go:1966 (0x7beb96)
/opt/hostedtoolcache/go/1.18.0/x64/src/runtime/asm_amd64.s:1571 (0x467700)

Great, thanks!!


socat docker binary can't be used

It seems that the socat binary built by the docker image could not be runnning on another linux machine.
Error: after curl
./tacos: : No such file or directory

The tacos file is indeed existing

Show goenv before compilation to compare

CGO_ENABLED=0 when compiling fix the issue inside docker


T3 Logo

Hey t3 folks!
I've been working on a website / docs design for create-t3-app on the side for some time now when I first found the unstyled version of the docs a few days ago. Well fast forward to today, I saw Theos announcement on YouTube.
Awesome work guys!!!1
One thing stuck out to chat immediately though and Theo briefly talked about ...
The one missing piece to bring it all together.

Changelog

Update Favicon

Todo

Since my local machine won't let me open the README.md I cannot change the logo there :/
Generate new versions of the OG Images.

You should check out the Discord, there's a big thread there under Suggestions about logos: https://discord.com/channels/966627436387266600/967588202829447250/1041880687667597342

We had some good discussion about logo ideas a few weeks ago but haven't made a decision yet. Gonna close this, but thanks for the work and look forward to more logo discussion on Discord.


Add Editorconfig

Pull Request
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#3  👈
#1 : 1 other dependent PR (#2 )
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @JackPlowman and the rest of your teammates on  Graphite


⚠ 366.ru has degraded performance

In 6d41437, 366.ru (https://366.ru) experienced degraded performance:

HTTP code: 200
Response time: 1848 ms

Resolved: 366.ru performance has improved in a6c1804.


[bug] gutter shaking when I hover the cursor over a line 💡

Do you have a solution to prevent the window from shaking when I hover the cursor over a line? An icon appears in the scrollbar, which shifts the entire code window. This is very annoying. Is it possible to position this tooltip absolutely above the lines of code?
Or add extra gutter space for handle 2 icon ?
a3fga3ga3ga3g.webm

Version : 1.92.1 (user setup)
Validation : eaa41d57266683296de7d118f574d0c2652e1fc4
Date : 2024-08-07T20:16:39.455Z
Electron : 30.1.2
ElectronBuildId : 9870757
Chromium : 124.0.6367.243
Node.js : 20.14.0
V8 : <IP_ADDRESS>-electron.0
Système d’exploitation : Windows_NT x64 10.0.19045
Steps to Reproduce:

click on line with glutter filled with icon
look the new icon decale de window !

Related to #179725

Also #225023

Pinging @justschen because of #223145
@jonlepage which extension is adding those warning triangle glyphs to your gutter?

Pinging @justschen because of #223145
@jonlepage which extension is adding those warning triangle glyphs to your gutter?

https://marketplace.visualstudio.com/items?itemName=usernamehw.errorlens
But I really can’t do without it, it's one of the most productive extensions for VSCode.

this is because my check only accounts for the built in debug codicon. will be fixed in the above PR to not shift the code (will follow normal lightbulb behavior)

good catch thanks! this is because my check only accounts for the built in debug codicon. will be fixed in the above PR to not shift the code (will follow normal lightbulb behavior)

Thank you for your quick response.
Do you know when there will be an update?
This behavior is really very unpleasant.
In some situations, I find myself working with a flickering window; it makes me dizzy 🤢

good catch thanks! this is because my check only accounts for the built in debug codicon. will be fixed in the above PR to not shift the code (will follow normal lightbulb behavior)

Thank you for your quick response. Do you know when there will be an update?

For those wondering, I just discovered that the dates for future updates are displayed.
So here is the answer to my question: September 05, 2024


Having trouble with directories, any advice please?

yes, I have this trouble too , confusing! I don't understand why it will install in  .\anaconda3\envs\
shouldn't it install like any other repo, in any given and dedicated directory?
I wonder if this install process is some big mistake?


Saving output from the Stockfish process

E.g., for a command like "d", we could save the board string the first time it's obtained, and then just return that variable whenever get_board_visual() is called again. It would have to be reset to None though whenever the fen is updated. I did this for one of my other projects, in this commit (just the changes in models.py). This idea could also be implemented for things like get_fen_position().
A drawback of doing this would be slightly increasing the complexity of the codebase. In addition, I'm not sure how many users will be repeatedly calling either of the above functions, to such an extent that this optimization will help a lot. In my project it helped since I was sometimes calling get_what_is_on_square() hundreds of times for a single given position, and each call in turn called get_board_visual().

I am not entirely sure whether this functionality is part of our responsibility. Actually, the user themself should be able to install a cache system if they make multiple requests that would benefit from such a system.
But if we have the capacity, we can of course implement it anyway. Optimally with the possibility to de/activate it.