Log etw sink with tests

Log etw sink with tests

log_sink_etw implements a log sink interface that logs the events as ETW events.

Would be awesome if there were some pictures/text examples of the produced output.

Refers to: v2/devdoc/log_sink_etw_requirements.md:3 in 985d73d. [](commit_id = 985d73dffd4f4ebed1afc4f196f1366c7f3c3530, deletion_comment = False)

} u;

maybe this "u" can be omitted. It is still standard compliant I believe.
./consider

Refers to: v2/tests/log_sink_etw_ut/log_sink_etw_ut.c:159 in 985d73d. [](commit_id = 985d73dffd4f4ebed1afc4f196f1366c7f3c3530, deletion_comment = False)

} u;

here and everywhere if considered.

In reply to:<PHONE_NUMBER>

Refers to: v2/tests/log_sink_etw_ut/log_sink_etw_ut.c:159 in 985d73d. [](commit_id = 985d73dffd4f4ebed1afc4f196f1366c7f3c3530, deletion_comment = False)

expected_event_data_descriptors[2].Ptr = (ULONGLONG)"test";

Is this intended to be uintptr_t? Cause on x86... cough... might not be the same.

Refers to: v2/tests/log_sink_etw_ut/log_sink_etw_ut.c:3031 in 985d73d. [](commit_id = 985d73dffd4f4ebed1afc4f196f1366c7f3c3530, deletion_comment = False)

return asserts_failed;

We absolutely must have some INT tests.
I am not noticing any in this PR.
That and curiosity makes me want to look at it again at the next iteration.

Refers to: v2/tests/log_sink_etw_ut/log_sink_etw_ut.c:3094 in 985d73d. [](commit_id = 985d73dffd4f4ebed1afc4f196f1366c7f3c3530, deletion_comment = False)

return asserts_failed;

INT tests are planned with this task part of the same PBI.
Need to break them a bit.
https://msazure.visualstudio.com/One/_backlogs/backlog/Azure%20Messaging%20Store/Backlog%20items/?workitem=15258065

In reply to:<PHONE_NUMBER>

Refers to: v2/tests/log_sink_etw_ut/log_sink_etw_ut.c:3094 in 985d73d. [](commit_id = 985d73dffd4f4ebed1afc4f196f1366c7f3c3530, deletion_comment = False)

expected_event_data_descriptors[2].Ptr = (ULONGLONG)"test";

It does compile on x86 too. We have the leg that compiles it. I'll leave it as such as opposed to littering it with casts that could be removed ... When it borks then we can add the cast.

In reply to:<PHONE_NUMBER>

Refers to: v2/tests/log_sink_etw_ut/log_sink_etw_ut.c:3031 in 985d73d. [](commit_id = 985d73dffd4f4ebed1afc4f196f1366c7f3c3530, deletion_comment = False)

} u;

Removed in this PR.
Also added a task to remove in all the others as I don't want to keep adding changes to this PR.
ID Work Item Type Title State Assigned To Effort Remaining Work Original Estimate Value Area Iteration Path Tags
22184349 Task Remove union names in unit test files for c-logging To Do           One

In reply to:<PHONE_NUMBER>

Refers to: v2/tests/log_sink_etw_ut/log_sink_etw_ut.c:159 in 985d73d. [](commit_id = 985d73dffd4f4ebed1afc4f196f1366c7f3c3530, deletion_comment = False)

Comments got borked. They cannot be resolved anymore.

log_sink_etw implements a log sink interface that logs the events as ETW events.

I copy/pasted the example and description from TraceLoggingProvider.h. I don't think I want to invent a better one.

In reply to:<PHONE_NUMBER>

Refers to: v2/devdoc/log_sink_etw_requirements.md:3 in 985d73d. [](commit_id = 985d73dffd4f4ebed1afc4f196f1366c7f3c3530, deletion_comment = False)


Firefox: centeredSlides not centered on first load

Hi, thank you very much for this great plugin. I came across a problem and you might be able to help me. Unfortunately I don't have a link to show you but I've attached a screenshot to better explain it. Please note that this problem only occurs on Firefox.
Basically when I open the page in Firefox (close the browser and reopen it) the slides are not centered and after 4 seconds (autoplay) it gets centered automatically. I tried using a number in "slidesperview" but unfortunately when I resize the window I do not get the same responsive result as this configuration below (which I would like to keep). If I remove "centeredSlides" the slider is looking good on Firefox but the slide is (you guessed it) is not centered.
Config:
	 var swiper = new Swiper('#home-carousel-full', {
		pagination: '.swiper-pagination',
		nextButton: '.swiper-button-next',
		prevButton: '.swiper-button-prev',
		slidesPerView: 'auto',
		centeredSlides: true,
		loop: true,
		loopedSlides: 3,
		paginationClickable: true,
		autoplay: 4000,
	});

Can't say too much without looking at example, or at least at jsfiddle with such error. As only things i have in my minds is try to increase loopedSlides. Problem also could be related to images (if you use  tags) so FF can't init it correctly on page load while all images are loaded

Looks like I found the solution. I specified a width and a height to my  tag and it resolved the issue. :)


zh: update contents about relay

What is changed, added or deleted? (Required)

mark relay log is not supported yet (two many people have known it, so they may become confused if we remove contents directly)
update some contents relative to it

NOTE: we'll add it back later.
Which DM version(s) do your changes apply to? (Required)

[x] master (the latest development version, including v2.0 changes for now)
[ ] v1.0 (TiDB DM 1.0 versions)

What is the related PR or file link(s)?

This PR is translated from:
Other reference link(s):

Do your changes match any of the following descriptions?

[ ] Delete files
[ ] Change aliases
[ ] Have version specific changes
[ ] Might cause conflicts

@GMHDBJD @ireneontheway PTAL

@GMHDBJD PTAL again

@TomShawn two LGTMs now, PTAL


Change userlist button height

Removed the height: auto part of userlist li button.
With height: auto: http://prntscr.com/8x2yi0
After removing it: http://prntscr.com/8x30rr

What browser are you using?  Do you have any custom themes that overlay our CSS?  (I know you did before...)
I am using Firefox with no custom overlays and I also tested it in Chrome, IE, and Edge and I am not able to replicate this "gap".

Nope, I don't have any themes that overlay the css.


Add an extra context into Snowplow events to describe the running app

The Snowplow events emitted by the Kinesis apps are great but quite sparse on information. This ticket should help to improve this, along with https://github.com/snowplow/snowplow-scala-tracker/issues/2

Migrated to https://github.com/snowplow/enrich/issues/158


两组芯片合并后聚类问题（涉及批次效应）

你好
我看8. Multiple tissue sections analysis例子中两张芯片放在一起聚类，cluster有24个。理论上2张芯片上同一个功能区域应该被判断为同一个cluster，但可能涉及到批次效应等问题，实际情况并非如此，不知道您的工具是怎么处理这个情况的？
第二个问题：
如果我想只挑选某一个功能区域（即指定的cluster）在2个芯片组织上的差异表达基因，能不能直接借鉴6. Identify SVGs例子，会不会也受到批次效应的影响？
谢谢

Thanks for your interest in SpaGCN. I am not sure if I understand your question correctly, but our method does not have the batch effect correction function. If the 2 slides are from the same experiment, I think it will be able to identify shared common domains and unique domains as shown in the tutorial. I have not tried analyzing multiple slides from different studies jointly.

Hi Jian
Thanks a lot for your reply. forgive me for my question in chinese. The 2 slides of my data are from the same experiment, but the shared common domains that I thought are not by SpaGCN (cluster 1 in slide A  is corresponding to cluster 3 in slide B). Maybe it is related to chip or sequencing.

Please refer to my response in #14, and feel free to let me know if this still does not answer your question.


CK Editor assets are deleted on page load (on the server)

Hi guys, I have issues on the server with CK Editor JS/CSS files since they are being deleted everytime I reload any page.
I'm my project the files are located under "public/bundles/_themes/sylius/bootstrap-theme/fosckeditor"
And it initlially looks like this: https://imgur.com/2mtWXLo
But after I try to work on the admin panel, as I do any action then the files are deleted and it says the file is not found, so after checking the same folder, most of the files are gone.
https://imgur.com/XStQm2w
I am using:
"bitbag/cms-plugin": "^2.3"
"sylius/sylius": "~1.4"
Also please note this doesn't happen on my local environment (running vagrant with ubuntu16).
Can someone please help?
Thanks in advance.

Have you installed the theme assets?

Sorry I forgot to update this issue. Actually, I had to re-generate the assets by executing the commands on the server using ssh, because the symlinks were being automatically deleted if I just uploaded the whole public folder.


WIP: Bump-up insights operator utils version

Description
Bump-up insights operator utils version
Type of change

Bug fix (non-breaking change which fixes an issue)
Refactor (refactoring code, removing useless files)

Testing steps
Done on CI

@tisnik the unhandled returns are still detected by gosec, you probably need to disabled that as well?

actually nothing will be disabled in the end. I just had to check GoSec on CI (it is different from my local gosec setup for some reason). In the final PR no "disabling" will be provided :)

Codecov Report

Merging #557 (b0fb3f3) into master (8ed40c5) will decrease coverage by 1.12%.
The diff coverage is 81.13%.

@@            Coverage Diff             @@
##           master     #557      +/-   ##
==========================================
- Coverage   79.17%   78.04%   -1.13%
==========================================
  Files          15       15
  Lines        1498     1526      +28
==========================================
+ Hits         1186     1191       +5
- Misses        215      233      +18
- Partials       97      102       +5

Impacted Files
Coverage Δ

server/auth.go
0.00% <0.00%> (ø)

server/server.go
78.78% <25.00%> (-9.61%)
:arrow_down:

server/cluster.go
88.07% <88.46%> (ø)

server/configuration.go
100.00% <100.00%> (ø)

server/operator.go
96.49% <100.00%> (ø)

server/profile.go
100.00% <100.00%> (ø)

server/trigger.go
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


How to achieve "horizontal-compact"?

I want to leave no gap in between any items, be it horizontal or vertical gap. There's a param for vertical-compact where I can take of the vertical gap. How to achieve the same thing for horizontal?
For example, for a grid with 4 columns, [1] should have snapped back next to [0] here:

Horizontal compact is not supported at this moment

Is there any chance to see this feature in a new release?

Unless someone submits a PR implementing it, I don't think so

there must be a fork out there that has this feature. at my last job they did this custom in-house. i'll share if i find one

any plan to adding this from someone?

any news on this?

i would love to see this feature


error in process filter: Wrong type argument: plistp, "{}"

Every time I use completion-at-point there's a significant slow down, and Emacs echoes out this error. The completion works sometimes after that.

Emacs version 30.0.50
LSP client is Eglot
Completion engine is Corfu & Vertico

Relevant configuration:
(use-package eglot
  :mode ("\\.scad$" "\\.c$" "\\.js$" "\\.html$" "\\.css$")
  :config (add-to-list 'eglot-server-programs
		       '(scad-mode . ("openscad-lsp" "--stdio")))
  :hook (scad-mode . eglot-ensure)
  )

The included Eglot LSPs work fine.

Oh, and I may also add that I use scad-mode for the syntax highlighting.

Just now noticed the EGLOT message buffer. Here's what happened when I reproduced the bug:
[internal] (id:5) Mon Jun  5 21:36:59 2023:
(:timed-out :textDocument/hover :id 5 :params
	    (:textDocument
	     (:uri "file:///home/zezin/dox/notes/projects/3dprinter/assembly.scad")
	     :position
	     (:line 117 :character 3)))
[client-request] (id:7) Mon Jun  5 21:37:00 2023:
(:jsonrpc "2.0" :id 7 :method "textDocument/hover" :params
	  (:textDocument
	   (:uri "file:///home/zezin/dox/notes/projects/3dprinter/assembly.scad")
	   :position
	   (:line 117 :character 3)))
[server-reply] (id:7) Mon Jun  5 21:37:00 2023:
(:jsonrpc "2.0" :id 7 :result "{}")

I suspect that this result "{}" that is causing problems.

Just noticed that I actually didn't capture the completion request. But when Emacs finished the lockup and showed the completion candidates the Eglot message buffer clears up, not giving me the opportunity to copy it.

Which version do you have installed? If is not newest version, you can update to 1.2.4 and try again.

You can use the command "openscad-lsp -V" to view the version.

It's the latest version.

Just reporting that I'm seeing the same issue with version 1.2.4 (I believe it was happening with 1.2.3 as well).

I have been using this with emacs lsp-mode fine, but I guess it is more lenient than eglot in some way. (A few weeks ago I had a quick attempt to try eglot for the first time, with this server, and think I hit this issue too, but hadn't revisited since).

Maybe I should response a {"value": ""} instead of {}, I will try it.

@Lenbok @kmontag @RadSpaceEd You can try this fix https://github.com/Leathong/openscad-LSP/commit/b6d5a3e6534516731874a7bc11d4b6cc0b1a44f5, I will update it in cargo if it works.

Still the same behaviour, but now the error message has changed to error in process filter: Wrong type argument: plistp, "null" [10 times]

@RadSpaceEd replace "null" with null, I believe it will work.

@Leathong It worked without errors now. There's still a pretty significant slowdown between running completion-at-point and getting the completion candidates,  but now it works.
Thank you very very much!

Here's a video as evidence of the slow down... I don't know if this should be a different issue at this point.
untitled.webm

I just tried the completion on a blank file and it was way faster. I think the problem is that the library I imported NopSCADlib has a bunch of functions, so there's way more code to look through to offer the completion candidates. As soon as include the library things slow down again.
Is there anything I can do to optimize this process?

https://github.com/Leathong/openscad-LSP/blob/3278d8ca58a3f9bfcaf0a85f1013e10a6ae23c23/src/server/code_helper.rs#L45 Current search depth is 5, if it is too slow , you can try reduce it.

NopSCADlib  has a lot of cross-references, and including this library will result in a large number of symbols.

I changed it to 3 https://github.com/Leathong/openscad-LSP/commit/dc1283df080b981f8da620744b0fb53b22f2eb84

@Leathong it improved slightly, but now I know what to edit. Thanks!


Improve LICENSE text

This is still the same license, but now it is closer to the text
expected by tools that automatically extract license information.

thanks!


the gauntlet

i got a rare drop from gauntlet but it didnt seem to register.  i have rarity at 1m. value at 300k. and the box unchecked that requires both to post.  is gauntlet included in the drops posted?

also when i get clues even when my value is above 300k i am showing sara kites etc. and uniques post.  at the gauntlet the specific thing that did not post is the armour seed.  however, dragon hallys posted


can we try catch the calls to github status change?

i am getting this error, it is just because github has some weird problems with updating status https://github.com/travis-ci/travis-ci/issues/1283
2015/12/30 18:20:11 Starting build: id=7a16a452-2475-49d2-96b3-66d2731d4ce0 repository=cordoval/convey-test branch=master sha=a4371fb913c8366bb2bf95b622b60d15081731c2
reporting err: POST https://api.github.com/repos/cordoval/convey-test/statuses/a4371fb913c8366bb2bf95b622b60d15081731c2: 422 Validation Failed [{Resource:Status Field:target_url Code:custom}]
2015/12/30 18:20:11 POST https://api.github.com/repos/cordoval/convey-test/statuses/a4371fb913c8366b

I wonder if we can wrap the calls with try catch equivalent to avoid this

I am wondering if it won't work with personal github tokens? how did you create your token to pass via cli?

bump @ejholmes any hints please? thanks

closing as i ran into another problem after appending the missing http for the url. What is curious is the url is asked upfront and if one is deploying with terraform it is not known apriori. That is of course another problem.

Problem i have ran into now is:
2016/01/04 20:35:13 Starting build: id=27f80fdd-bd28-4f32-8c35-54e1756921c9 repository=cordoval/convey-test branch=master sha=94caa1f63a1b1c13c6720d683ec4b1b387006fac
reporting err: container returned a non-zero exit code: 1

it freaking works now, ha ha, was just not building the right dockerfile


Upgrade to go1.15.10 before release of influxdb 1.9 OSS

We should move to a recent go version. 1.15 with the latest patches is a good balance of newness and stability.

Java and zip download
Em seg., 22 de mar. de 2021 às 13:40, Sam Arnold @.***>
escreveu:

We should move to a recent go version. 1.15 with the latest patches is a
good balance of newness and stability.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/influxdata/influxdb/issues/21018, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATCJZSXSWG2YG6JXC3ZEGH3TE5XGHANCNFSM4ZTO7G3A
.

Closed by PR above


Update scala-library to 2.12.15

Updates org.scala-lang:scala-library from 2.12.13 to 2.12.15.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (2.12.13).
You might want to review and update them manually.
README.md
docs/README.md

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-lang", artifactId = "scala-library" } ]

labels: library-update, semver-patch, old-version-remains

Superseded by #147.

Superseded by #156.


Better documentation with regards to authentication

I've read "Security and Permissions" (https://github.com/begriffs/postgrest/wiki/Security-and-Permissions) and I'm left with a lot of questions:

How do I create the "authenticator" role?
How do I create an admin-like user within the database? (The documentation says that we should be using /postgrest/users to create a new user, but what if I don't want the outside world to be able to create a new user?)
Are the attribute names in the given postgrest.auth example required to be those or can I customize them?
Has the authentication table have to be in postgrest's schema?
What does the line SET search_path = postgrest, pg_catalog; actually do? What's pg_catalog?

The answers seem to be:
#Answer 1
You just run:
create role authenticator;
```

#Answer 2

As far as I can see you have to run:

```
grant usage on schema postgrest to <anonymous role>;
grant insert on postgrest.auth to <anonymous role>;
```

then submit the post request to create your first admin-like user. Then revoke them via:

```
revoke grant option for insert on postgrest.auth from <anonymous role>;
revoke grant option for usage on schema postgrest from <anonymous role>;
```

#Answer 3 & 4

You cannot customize them as of right now. They [seem to be](https://github.com/begriffs/postgrest/blob/master/src/PostgREST/Auth.hs#L79) hardcoded. Same is true for the `postgrest` schema.

@Jefffrey this is a hot topic now, and the authentication system is being overhauled. You can take a look on what is being discussed here #260 and here #311

The docs are also being overhauled so hopefully we can preemptively answer questions like these in the future 😊
The answer to 5 confused me at first too, but it seems to be just like changing your PATH variable on a unix machine. The following statements select the same thing:
SELECT * FROM postgrest.auth;

SET search_path = postgrest, pg_catalog;
SELECT * FROM auth;

I'd also like to ask you a couple question @Jefffrey, one of the breaking changes in our new auth API is that there is no auth API…
This allows developers to be more flexible and enables them to roll out custom solutions for their unique scenario. What do you think about this change (1)? Also some contributors are postulating creating a PostgREST add-on which adds an auth API back in for developers who want it. How would you feel about a second project which bakes in an auth API (2)?

To elaborate, version 0.3 has removed the basic auth and accepts only JWT which specify the database role to use to carry out a request. The idea is that other programs or services can generate these tokens and postgrest doesn't have to reimplement auth flows.
For instance I discovered https://auth0.com last night, and I'm working with their engineers to generate postgrest-compatible JWT. When I figure it out I'll add the procedure to our docs. This service can translate logins from Twitter, Github, etc into the API tokens we need.

@calebmer Sounds good. The existing auth flow was hard coded and not very flexible.
I'm not particularly versed in OAuth and OpenID/OpenID Connect, so I don't know how that would translate into, but I'm curious to see the alternatives now and how a full implementation would work.

@Jefffrey could you review these new docs and let me know if they're still unclear?

http://postgrest.com/examples/users/
http://postgrest.com/examples/blog/

Things that seem to be unclear:

while many projects either (a) already have users table or (b) are developed to work with millions of users, it's unclear how to design auth functions/triggers/tables. http://postgrest.com/examples/users/ is dealing with Postgres roles, the way that suit to not so many projects ("Good old issue #260")
for a project that cannot deal with Postgres roles ("role per user" approach) it's unclear how to implement row-level security:
how to insert user id automatically during INSERTs of some content (blog is a good example, especially if considered with multi-million user base)
even with "role per user", it's unclear how use it in Postgres 9.4. There is a way to emulate row-level security in 9.4 (http://blog.2ndquadrant.com/emulating-row-security-in-postgresql-9-4/), but it relies on security_barrier and can lead to performance issues in case of many rows in the table ("Views created with the security_barrier may perform far worse than views created without this option." – see http://www.postgresql.org/docs/9.4/static/rules-privileges.html)
http://postgrest.com/examples/blog/ mentions basic_auth.current_email(), but I cannot find definition of it anywhere

I'm doing auth without one-role-per-user for the moment because I agree @NikolayS, until it's been proven I'm not confident with using it 😊
Here's what I do, in all my JWTs I have an agent_id field which is an integer and the person role. agent_id can be received in Postgres with current_setting('postgrest.claims.agent_id') (that value is a string so I put it in a function to cast it to an integer). This works well with RLS as I know when the role is person, agent_id must be defined.
I can try to document this approach, but I don't have much time to do so therefore it might not happen for a bit.

@calebmer thanks for explaination, I already doing the same (using postgrest.claims.* vars in my plpgsql functions -- I took a while to figure out it w/o docs, github search helped).
And since I have Postgres 9.4, I don't use RLS. Instead, I just overwrite row's owner ID in the trigger, using info frompostgrest.claims.*. Plus, in case of UPDATEs, trigger checks that NEW.ownerID = OLD.ownerID (if not, it raises an exception).

I'm using Rails+Devise for user management and 1:N role to users. I could document this approach and add the the examples section. Do you guys think that would be helpful?
Concrete examples with existing frameworks might be an excellent way to show how to use JWT.

That would be great, but could you possibly abstract away the rails stuff? I'm afraid everyone will want their own specific framework tutorial after that.

@calebmer yes I can. But I don't see any problem in having several different examples of integrations, having very concrete material is good for newcomers. I promise I won't copy ruby code though :P
BTW, there are several examples (a bit outdated) of auth and use of claims in this repo: https://github.com/diogob/postgrest-benchmark
Maybe we this can be useful if formatted to fit the docs properly. @NikolayS and @calebmer could you take a look at this repo and check if there is anything that might be of value?

@NikolayS

To migrate users from an existing system to the new auth table you could update the user_role and login functions from the blog template. You would have user_role consult the legacy auth table to check if the user logged in correctly. If the login is legit then have login create a new entry in the postgrest specific auth table since the login function has their email and plaintext password at this point and is able to create the row. Thus the users migrate to the new system one by one as they log in.
To share a role between multiple users yet maintain per-user permissions you can add filter conditions to views which check current_setting('postgrest.claims.email'). Triggers can check it to as needed.

@diogob I'd love your help documenting the Rails+Devise stuff.

@begriffs any progress on integration, working with auth0 engineers?

@MikeSchroll sorry I haven't looked into it.

The documentation looks clearer.


Is it possible to support OpenAI's latest o1-preview and o1-mini series models?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Most of us don't even have it yet, so we can't build a pipeline for it.


Solution 2 for Format Train Route.

I found this second solution for Format Train Route
Thank you for your interest. Have great day!

Thx for the contribution


(tor-browser) Outdated

Checklist

[X] I have checked the moderation queue that no new version has been submitted (only visible when logged in), or the submitted package version has failed the automated checks.

Please navigate to the following link to view the moderation queue.

[X] I have verified that the new version is a stable release.
[X] I have looked to see if there are any Bug reports that prevents a new version being submitted and that no existing Outdated Reports have been created.
[X] I have verified the new version has a Windows binary (EXE or MSI installer, Zip or other archive, etc).

New Software Version
12.0.1
Download location
https://www.torproject.org/dist/torbrowser/12.0.1/torbrowser-install-win64-12.0.1_ALL.exe
Package Page
https://community.chocolatey.org/packages/tor-browser

The automatic updater script is broken for this package, the reason is that there are no longer individual language installers. Instead there is a single installer for all languages as per https://www.torproject.org/download/languages/


Improve contrast of UI components in all themes

Hello
I'm having a hard time trying to pick a theme because none of them is easy enough for me.
It's hard for me to differentiate between background, container and field colors, because they almost look the same for me.
I'd appreciate if you improved that or added some borders or something that could help differentiate them.
Thanks in advance

The current themes are revised by the community over the past few months for better readability - but we're open for suggestions. Kindly go through https://github.com/liyasthomas/postwoman/blob/master/assets/css/themes.scss and perhaps contribute a PR to fix current issues you're having regarding the contrast?
since this is not an issue regarding the core functionalities - I'm closing it.


I'm getting a volume mount error for Cloud SQL set-up

Hi there, I've followed these instructions step-by-step and have cross-references the configuration in this codebase, but I'm getting the following error when trying to start my container:
MountVolume.SetUp failed for volume "kubernetes.io/secret/2abd4716-bb10-11e7-82b8-42010a84010c-cloudsql-instance-credentials" (spec.Name: "cloudsql-instance-credentials") pod "2abd4716-bb10-11e7-82b8-42010a84010c" (UID: "2abd4716-bb10-11e7-82b8-42010a84010c") with: secrets "cloudsql-instance-credentials" not found

From the error message, it seems like the instance credential secret was not created.
Please follow the steps in "2. Create a service account" and "5. Create your Secrets" and check if any error returned when create the cloudsql-instance-credentials secret.


PSA: Plan to move to new organisation

Served is going to be migrating to a new organisation at https://github.com/meltwater. I have never done this before but as I understand it the current github URL github.com/datasift/served will automatically forward to the new one at github.com/meltwater/served once the move has happened. I am hoping this means no broken builds for anyone.
If you experience any issues from this move, or have any thoughts to contribute please post them here.

Ping @cjgdev

Move seems successful!
On 24 July 2018 at 22:27:28, Ashley Jeffs<EMAIL_ADDRESS>wrote:

Closed #37 https://github.com/meltwater/served/issues/37.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/meltwater/served/issues/37#event-1751231601, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABBm_4he-dzAuQMVoTVs9NueznIFezyUks5uJ5FAgaJpZM4U7AeV
.


Add webhook and workflow to handle deployment events from GitHub.

GitHub
Status

Complete pack extension

Description
Add to GitHub pack a webhook, workflow and extra action to process GitHub Deployment events to allow packs.install to be called when the enviroment matches that in the configuration. Following the running of packs.install GitHub is updated with the status of the deployment..
Checklist (tick everything that applies)

[X] Metadata: pack.yaml, icon, structure (required for new packs)
[X] Version bump (required for changed packs)
[X] Code linting (required, can be done after the PR checks)
[X] Tests (not required but really recommended)

There are some small things which can be improved, but overall nice work :+1:

@Kami Thanks, that's the above comments been addressed.

@jjm Thanks, will have a look once the build finishes :)

Looking good, thanks!


Compile Indicates Multiple Gradle Deprecation Warnings

When compiling with:  ./gradlew clean --warning-mode all copyWebUi shadowjar
The following deprecation warnings are listed:
> Configure project :
The runtime configuration has been deprecated for dependency declaration. This will fail with an error in Gradle 7.0. Please use the runtimeOnly configuration instead.
at build_3bmrtxnte520xxto9sshb4yc6$_run_closure2$_closure10.doCall(/snipped/gitrepos/sparkled/build.gradle:51)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
The baseName property has been deprecated. This is scheduled to be removed in Gradle 7.0. Please use the archiveBaseName property instead.
at build_3bmrtxnte520xxto9sshb4yc6$_run_closure4.doCall(/snipped/gitrepos/sparkled/build.gradle:105)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
Multiple warnings from > Task : model persistence etc:kaptKotlin
Annotation processors discovery from compile classpath is deprecated.
Set 'kapt.includeCompileClasspath = false' to disable discovery.
> Task :shadowJar
Property 'transformers.$0.serviceEntries' is not annotated with an input or output annotation. This behaviour has been deprecated and is scheduled to be removed in Gradle 7.0.

Thanks @DrAnonymous, I have an issue open (#165) to upgrade Gradle, I'll be looking at fixing any Gradle-related warnings as part of that.
I'll leave this issue open as a reminder to address these specific issues.

I've recently started working on Sparkled again after a long break. I've upgraded to Gradle 7 in a new branch and am working on overhauling a bunch of things.


Dark -> Light transitions

transitioning animation for dark to light and vice versa.
(can be done by adding transition class to body, but should we?)

The problem I was having was that the mdc cards weren't transitioning.. (they instantly changed color) not sure why.


Improvements

A number of small improvements: the original package highlighted variables but not function, which was not really useful. Also added some recent operators, like pipes.

Address the one comment and I'll merge it. Thanks for contributing!

Done! Thanks for porting the package (and many, many others) in the first place :+1:

Published in v0.3.0


for using a puppeteer config file

What for
This plugin doesn't work with root user.
So, it doesn't work on docker container.
Solution
Be able to use this plugin by root user with no-sandbox config.
Reference

https://github.com/mermaidjs/mermaid.cli#linux-sandbox-issue

@tktcorporation LGFM! Thank you!


Unit tests and mocking

Theres no way to pass in a URLSession into any of the functions or constructors. This is how most libraries expose the ability to mock URL requests so that code can be unit tested.
Is there any other method available to mock requests that i've missed?
If not, please update the library to allow me to pass in my own URLSession so I can create my own mocks

@rathishubham7


mdl is broken when ~/.mdlrc is present

For example, I have a .mdlrc in my HOME directory, with the following content:
rules "~MD013"

Then, in a project directory, run mdl, and it will break:
$ mdl README.md
/Library/Ruby/Gems/2.0.0/gems/mixlib-config-2.2.1/lib/mixlib/config.rb:47:in `instance_eval': no implicit conversion of Pathname into String (TypeError)
	from /Library/Ruby/Gems/2.0.0/gems/mixlib-config-2.2.1/lib/mixlib/config.rb:47:in `from_file'
	from /Library/Ruby/Gems/2.0.0/gems/mdl-0.3.1/lib/mdl/cli.rb:106:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/mdl-0.3.1/lib/mdl.rb:14:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/mdl-0.3.1/bin/mdl:10:in `<top (required)>'
	from /usr/local/bin/mdl:23:in `load'
	from /usr/local/bin/mdl:23:in `<main>'

FYI, I used "specific_install" to install the master branch of markdownlint.

@shichao-an I think somehow you're using the latest released version and not the master branch of markdownlint. Can you double check?
@mivok Would it be possible to cut a bug fix release including the fix to this problem?

I'm sure it's the master branch. As I mentioned, I used "specific_install" to install the master branch. I double-checked the file /Library/Ruby/Gems/2.0.0/gems/mdl-0.3.1/lib/mdl/cli.rb and confirmed that it includes the latest changes in the last commit.

@shichao-an Sorry, I misunderstood the issue and thought it was .mdlrc and not ~/.mdlrc. Since I couldn't reproduce it, I told you to double check the version you were using. I can reproduce it now, let me have a look.

@shichao-an I've proposed a fix in #134, can you try it?

@deivid-rodriguez Yes. It works!

Great!


[modify][sys] prefecture code improvements

Coverage decreased (-3.6%) to 62.801% when pulling 8cb0694f608c23652a3e0bf3dabfcd74ffd75b4e on sunny4381:features/prefecture_codes_improvements into 636896b016801aeb7bec47d3f54b3a8cdf92df7a on shirasagi:master.

Coverage decreased (-3.6%) to 62.801% when pulling 8cb0694f608c23652a3e0bf3dabfcd74ffd75b4e on sunny4381:features/prefecture_codes_improvements into 636896b016801aeb7bec47d3f54b3a8cdf92df7a on shirasagi:master.


Electron is not detected

When try compile source for electron says an error:
$ bytenode --electron --compile app.js
Error: Electron not installed
    at /usr/local/lib/node_modules/bytenode/lib/index.js:51:13
    at new Promise (<anonymous>)
    at compileElectronCode (/usr/local/lib/node_modules/bytenode/lib/index.js:46:10)
    at Object.compileFile (/usr/local/lib/node_modules/bytenode/lib/index.js:221:28)
    at /usr/local/lib/node_modules/bytenode/lib/cli.js:77:24
    at Array.forEach (<anonymous>)
    at Object.<anonymous> (/usr/local/lib/node_modules/bytenode/lib/cli.js:69:17)
    at Module._compile (internal/modules/cjs/loader.js:1072:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
    at Module.load (internal/modules/cjs/loader.js:937:32)
$ npm list -g | grep -i electron
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>$ which electron
/usr/local/bin/electron
$ which electron-forge
/usr/local/bin/electron-forge
$ node -v
v14.17.5
$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.4 LTS
Release:	20.04
Codename:	focal

Have already installed electron using npx create-electron-app app:
$ cat package.json
{
  "name": "app",
  "productName": "app",
  "version": "0.0.1",
  "description": "App",
  "main": "index.js",
  "scripts": {
    "start": "electron-forge start",
    "package": "electron-forge package",
    "make": "electron-forge make",
    "publish": "electron-forge publish",
    "lint": "echo \"No linting configured\""
  },
  "keywords": [],
  "author": {},
  "license": "MIT",
  "config": {
    "forge": {
      "packagerConfig": {},
      "makers": [
        {
          "name": "@electron-forge/maker-squirrel",
          "config": {
            "name": "app"
          }
        },
        {
          "name": "@electron-forge/maker-zip",
          "platforms": [
            "darwin"
          ]
        },
        {
          "name": "@electron-forge/maker-deb",
          "config": {}
        },
        {
          "name": "@electron-forge/maker-rpm",
          "config": {}
        }
      ]
    }
  },
  "dependencies": {
    "bytenode": "^1.3.4",
    "electron-squirrel-startup": "^1.0.0"
  },
  "devDependencies": {
    "@electron-forge/cli": "^6.0.0-beta.63",
    "@electron-forge/maker-deb": "^6.0.0-beta.63",
    "@electron-forge/maker-rpm": "^6.0.0-beta.63",
    "@electron-forge/maker-squirrel": "^6.0.0-beta.63",
    "@electron-forge/maker-zip": "^6.0.0-beta.63",
    "electron": "17.2.0"
  }
}

And binaries is already installed as global.

I can reproduce the issue. Thanks for reporting.
The issue lies in this line:
https://github.com/bytenode/bytenode/blob/3a42649a61f17773e654caaee863e2f9680ca6d7/lib/index.js#L49
Apparently, this is not a reliable method for getting the node_modules/electron/cli.js file.
As a quick fix, I replaced that line with:
const electronPath = require('electron').replace('dist/electron', 'cli.js');

and it works.
@jjeff Could you please make sure that my line won't break anything else? I believe this way is more reliable than trying to find electron/cli.js manually. Requiring 'electron' module would return the executable path or throw an error if it's missing, and from that executable path we can get the cli.js file. I'm not fully aware of the electron part logic, so if it seems good for you I will make the fix and publish it to npm.
@WHK102 Until we push an update, you can fix that line in your local bytenode copy (i.e. YOUR_APP/node_modules/bytenode/lib/index.js). But you will have to compile using this local copy itself, not the globally installed version.
So you will do something like this: $ ./node_modules/.bin/bytenode --electron --compile app.js. It should work and you will run your app using npm run start as usual.

@OsamaAbbas I remember writing that path.join() line and thinking "There's about a 60% chance this will actually work for everyone." 🙂 So I'm not too surprised that it's a problem.
I tested your solution and it looks like it doesn't work on MacOS.
Here are two more robust solutions (which work on Mac):
// without path module
const electronPath = require.resolve('electron').replace('index.js', 'cli.js');

// with path module (slightly more robust)
const electronPath = path.join(path.dirname(require.resolve('electron')), 'cli.js');


Custom Field editTemplate not working right after loadData() called.

I have a custom field, which is DateTimeOffset.  When I perform insertItem(), the data is persisted as expected.  In order to cause sorting to include the new record, I call loadData() after the insertItem().  The data loads and displays correctly.
Example: I have dates as follows:
January 1, 2016
February 1, 2016
I insertItem(December 1, 2015)  <-- Note the date precedes the others.
So, after insertItem(), I loadData(), and the list is as expected:
December 1, 2015
January 1, 2016
February 1, 2016
Now, when I edit ANY item in the grid, the date in the customControl reverts to today's date when the edit commences.  For example, if I click on January 1, 2016, the custom datetimepicker is defaulting at May 25, 2016.  It defaults to this same value for all of the rows.  It makes me wonder about the "value" parameter in editTemplate.  So, I put an alert(value) to check it for a couple of dates, and here is what I got:
July 30, 2016: /Date(1469854920000)/
August 6, 2016:  /Date(1470461820000)/
So, the values being sent are different. Somehow, something is going wrong initializing the control for editing.
Here is the code:
editTemplate: function (value) {
            return this._editPicker = //myDateTimePicker.datetimepicker("setDate", new Date(value));
            $("<input>").datetimepicker({
                dateFormat: "DD, MM d, yy - ",
                timeInput: true,
                timeFormat: "h:mm tt",
                timezone: -300,
                timezoneList: [
                    //{ value: -300, label: 'Eastern'},
                    { value: -300, label: 'Central' }
                    //{ value: -420, label: 'Mountain' },
                    //{ value: -480, label: 'Pacific' }
                ],
                showTimezone: true,
                showHour: false,
                showMinute: false
            }).datetimepicker("setDate", new Date(value));
        },

After I add an item with insertItem(), I reload the data, like so:
insertItem: function (myEvent) {
                return $.ajax({
                    type: "POST",
                    url: "/Event/Create",
                    data: JSON.stringify(myEvent),
                    dataType: "json",
                    contentType: "application/json; charset=utf-8",
                    success: function (response) {
                        $("#RosterForTitle").html("Roster for " + response.DateTimeString);
                        $("#GameDatesGrid").jsGrid("loadData");
                    }
                })
            },

loadData: function(filter){ //filter) {
                return $.ajax({
                    type: "GET",
                    url: "/Event/ReadEvents",
                    data: filter,
                    dataType: "json",
                    contentType: "application/json; charset=utf-8",
                    success: function (response) {

                    }
                });
            },

Could you provide a working (non-working) example (as link to public resource or in jsfiddle or in any other format)?

I wish I could as to either of those, but I don't have a domain which hosts Windows, nor do I know how to use jsfiddle.   I am getting my skills up to speed with MVC, and your grid certainly seems integral to a good product.  I really like what it does!  So easily.
I don't think my problem is difficult at all, and I am almost 100% it's not a bug on your grid.  I am dealing with Json-type stuff, which I crudely understand.  I have just noticed where I think the problem is.  My re-load is getting a different response format than my initial load.  The data is the same, but the format is different.
Initial Load:
var events = @Html.Raw(JsonConvert.SerializeObject(Model));

The Model is:
@model List<Basketball.Models.Event>

It looks like this in the debugger:
2016-06-04T14:00:00+00:00

On, re-load:
controller: {
            loadData: function () { //filter) {

                return $.ajax({
                    type: "GET",
                    url: "/Event/ReadEvents",
                    data: events, //filter,
                    dataType: "json",
                    contentType: "application/json; charset=utf-8",
                    success: function (response) {

                        GetRosterGrid(response[0]);
                    }
                });
            },

And this is the response from the reload:
public JsonResult ReadEvents()
        {
            List<Event> events = Events.ReadEvents().OrderByDescending(e => e.DateTime).ToList();
            return Json(events, JsonRequestBehavior.AllowGet);
        }

It looks like this in the debugger:
/Date(1465048800000)/

I need to make changes so that on re-load it gives me 2016-06-04T14:00:00+00:00, instead of  /Date(1465048800000)/.
I am just trying all sorts of things to see how to fix my re-load response.

I believe it's about json converter, checkout this article http://www.newtonsoft.com/json/help/html/datesinjson.htm

Great link!  Fixed!
Thank you so much for your help and your grid!


About Page Styling

I can style the About page of the website. Assign me this issue @maddox05

someone just worked on the about me but if you can make it better go ahead. Issue #3 is my main issue rn and there are tons more that I need to write down. But yeah I'd love the help.


WebInspector not working on Google Chrome Ubuntu.

I tried installing both via clone and by using package control. But it didn't work. I can see this message in my Sublime Text 3 console:
ATTENTION: default value of option force_s3tc_enable overridden by environment.
Created new window in existing browser session.
[Finished in 0.6s]
And then the chrome opens up with my Default home page.

"default value of option force_s3tc_enable overridden by environment." seems to be a notification about a self closed  tag, according to stack overflow, so it's not relevant.
"created new window in existing browser session" seems that it can be avoided, according to a web search, by passing --user-data-dir. I don't know why it should matter. The web inspector passes --profile-directory=Default which seems to be similar but not quite the same. This may not be relevant either...
The fact that you see messages from Chrome in your Sublime console, must mean that Sublime has attached correctly. Why chrome should open /after/ that, I have no idea.
Unless someone has Ubuntu and can reproduce this, or there's more details, I don't think anything can be done here.

It's been a month since the post above, without more info I can't proceed as I don't have Ubuntu. If it's still not working, with the latest version, feel free to reactivate and maybe we can gather more info.


tools: auto detect arch

Please provide a description of this PR:
fixes: https://github.com/istio/istio/issues/41657

@zirain: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-test_istio
54eb43874ec55b77a46a38c383b79d6eef309fcc
link
true
/test release-test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test release-test

Local arch and target arch are orthogonal. We don't want to build a Mac docker image, for example

os is always linux, at least detect arch?
on linux arm64 should directly run make docker instead of DOCKER_ARCHITECTURES=linux/arm64 make docker if only arm64 images ared needed?

No, the machine building an image has nothing to do with the machine
running the image, so we can't make any assumptions
On Thu, Oct 27, 2022, 9:01 PM zirain @.***> wrote:

Local arch and target arch are orthogonal. We don't want to build a Mac
docker image, for example
os is always linux, at least detect arch?
on linux arm64 should directly run make docker instead of DOCKER_ARCHITECTURES=linux/arm64
make docker if only arm64 images ared needed?
—
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/41659#issuecomment-1294282554, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXJLANL3YSJDKY7SM5DWFMQWFANCNFSM6AAAAAARP7U5QQ
.
You are receiving this because your review was requested.Message ID:
@.***>

No, the machine building an image has nothing to do with the machine running the image, so we can't make any assumptions
…
On Thu, Oct 27, 2022, 9:01 PM zirain @.> wrote: Local arch and target arch are orthogonal. We don't want to build a Mac docker image, for example os is always linux, at least detect arch? on linux arm64 should directly run make docker instead of DOCKER_ARCHITECTURES=linux/arm64 make docker if only arm64 images ared needed? — Reply to this email directly, view it on GitHub <#41659 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEYGXJLANL3YSJDKY7SM5DWFMQWFANCNFSM6AAAAAARP7U5QQ . You are receiving this because your review was requested.Message ID: @.>

I agree with the machine building an image has nothing to do with the machine running the image, but most of dev case, you build image for your local machine, it will be helpful for beginner unless these are well document.

Always happy to improve the docs but I do think the default here is correct


Usage of "!" to reverse variable of custom type not working correctly

Bug Report
The ! (exclamation mark) usually "reverses" (turns true to false and the other way around) variables.
But with custom types (string types) it does not work that way, it would be logical to have it implemented like that.
My tsconfig.json:
{
  "compilerOptions": {
    "module": "NodeNext",
    "moduleResolution": "NodeNext",
    "target": "ES2020",
    "sourceMap": true,
    "outDir": "dist",
  },
  "include": ["src/**/*"],
}

TypeScript version: 5.0.2
@types/node version: 18.15.3
🔎 Search Terms
Using !myVar to reverse a variable of a custom type
"!" usage for custom Types
🕗 Version & Regression Information
I have just seen bug occur today when developing a TS project.
Please keep and fill in the line that best applies:

This is the behavior in every version I tried, and I reviewed the FAQ for entries about Type "reversing"

⏯ Playground Link

Playground link with relevant code
💻 Code

const tradeDirection = { direction: "BUY" }
const formalTradeDirection: "long" | "short" = tradeDirection.direction === "BUY" ? "long" : "short";
console.log(!formalTradeDirection)

🙁 Actual behavior
console.log(!tradeDirection) produced "false"
🙂 Expected behavior
console.log(!tradeDirection) to produce "short"

This is unrelated to TypeScript, this is just how JavaScript operates. Running this code in JavaScript will print false as well.

Also, this is a not a bug.

Ok, sorry


Update CRD to beta maturity

Create the PR placeholder to update the About API CRD based on https://github.com/kubernetes/enhancements/pull/3652
Notably:

update CRD and add client for v1beta1
update any examples with id.k8s.io --> cluster.clusterset.k8s.io

/assign

@lauralorenz just in case, do we need to maintain backward compatibility or should we remove the v1alpha1 apis.

/reopen

Keep the v1alpha1 APIs

/reopen

/remove-lifecycle rotten

/assign


[FEATURE REQUEST] functional API for chaining multiple tweens in one go

let combinedtween = tween
    .chain(tween2)
    .chain(tween3)
    .chain(tween4)
    .chain(tween5);

wouldn't work
instead one needs to apply the chaining 'back to front' à la
let combinedtween = tween
    .chain(tween2
        .chain(tween3
            .chain(tween4
                .chain(tween5)
             )
        )
    );

which is kinda cumbersome
see codepen L20 (wont work) vs L22

This should work, it did work last time I checked.
let combinedtween = tween
    .chain(tween2)
    .chain(tween3)
    .chain(tween4)
    .chain(tween5);

But this should also work:
tween.chain(tween2, tween3, tween4, tween5)

We may have to revisit this one.

the first one didnt work, but i also didnt know about the second version, which is probably even better in most cases :) thank you


Cached entries always have an impact 0

To solve Issue https://github.com/enygma/expose/issues/49: cached entries always have an impact 0

@geralt I am going to have to think about this a bit more, and perhaps punt to @enygma . In the meantime you should remove the test.php and Expose/Log/File.php files. Expose uses PSR-3: Logger Interface so you should import a logger from somewhere else. In terms of caching, we will probably want to ensure we follow PSR-6: Caching Interface.

@Awnage  Thanks for your answer, I'll think about it


Array#isArray should return true for array-like model paths

For model paths defined like tags: [ String ] a native method Array#isArray should return true

Can you clarify a bit more? I'm not sure I quite understand. Also, what version are you using?


Fixed issue with update and delete not working on android

Fixed issue where contactId were overwritten by rawContactId. Now contacts are being mapped based on contactid again like 2.2.5 and older. This solves the issue with duplicated contacts on getAll().

Did you tested the duplicate contacts? For Android is not happening in all the devices, is more specific, that's why I'm asking

Tested on Google Pixel XL with android 9 and Nexus 5 with 6.0.1. Tested add, update and delete contact, as well as get all contacts. If someone else could verify that would be great.

sounds good to me


check origin for standard library types

Avoids name collisions with user types and standard library, such as Math, Console, etc. Example:
export class Console {
  test() { return 42; }
}

function test() {
  const console = new Console();
  return console.test();
}

console.log(test()); // prints 42

Could you add your example as test?

Just realised that it won't work to simply check if the Console in question was globally scoped (the solution I proposed actually just deactivated console when not in global scope). The solution I came up with now is to check if the type is actually declared in lib.dom.d.ts.

As it turns out we can generalise this for all standard types using ts.Program.isSourceFileDefaultLibrary. Doesn't seem to apply to *Constructor types though.🤔


Conflictpe

Hey falkirks, So ive seen the /mine reset for conflict pe that it had a timer "USAge" and did they code that or Theres a newest version of minereset

And this is not an issue sorry

The newest version does have the ability to reset mines on a timer. You must configure it yourself in the YAML file though.

Where could I download it

https://github.com/Falkirks/MineReset/releases/tag/v3.0.2


[API] Research events

It would be nice if when you got knowledge an event triggered for it

Added thaumcraft.api.research.ResearchEvent that triggers on knowledge gains and research progress.


modules: List internal, public project module

Closes #150. This is the second and last step towards updating the output to match _GO_USE_MODULES behavior.

Coverage increased (+0.02%) to 95.285% when pulling 57dae94e4fb82653b8142876ed1c9cb6d7e6e477 on modules-2-of-2 into f8a8970b9a5ca9d6183ddb4b59e40a81d323a546 on master.


Update cli.py

Fix for issue: By default, will only display Stalled, Transferred, or Assigned tickets.
-s Closed will show only closed
-s All will display all (Stalled, Transferred, Assigned, or Closed) tickets.
Also updated help to reflect changes

merged as f70310112f4c14520eba4fc3d8d57deed294b60a and 5f6facf79ee5f6a402ba646ce59db9a9be3403f7


integrate in angularJS

Hello,
I am using angular-google-map(https://github.com/angular-ui/angular-google-maps) in my angular project (angularjs 1.4). And because I have many markers and clusters on the map it has started to work really slow.
Can I use this react component in my angular project. And if yes then how, can me please point me in the right direction with some tips, useful links and examples if you have any.
Thank you.

Sorry, haven't use Angular for a while, but I think it's definitely possible. Please post this in StackOverflow, thanks!


Vertical spacing issue for articles with lots of labels applied

I've a library of 36 notes, so my list can be called scrollable. In one of these articles I've applied all labels available cause I simply wanted to drive it to the extreme (which is always good for finding unexpected results). So this one article now had 11 labels applied which made 2 to 3 rows of labels, dependent on label order. I began scrolling the list of notes up and down but could not find what I was looking for.
But what I found that way was a small bug in computing the distance between label row 1 and the following one(s):
Every time I scrolled to the very bottom of my note list and returned to the top and then to my 10 label article, the margin between its label row 1 and 2 increased for about 1 label height. Editing that article caused one or more of the labels in row 2 to grow taller, that way bridging the gap up to row 1.
Noto 1.5.1
Android 6.0.1
(with GMS upd. to 21.18.16,
cn=M sdk=23)
Webview 93.0.4577.82
Motorola Moto G4
device not rooted

Please check version 1.5.2 and let me know.

The one part is fixed, thanks,the other part not yet fully: I described that  certain arbitrary labels have sizes other than usual, thus "growing" to the label row above them. That one still exists, see screenshot center.

Oh, and that has nothing to do with any kind of editing anything, neither labels nor notes, and I'm quite sure it can happen on notes other than the opened/closed one.

The other bug is regarding another library I use in Noto. I have found a couple of issues there that could relate to this bug which are this and this.
There's a workaround for this bug but I'm not sure about it yet.
I'll try to implement it and let you know.

Please don't jump through hoops.
While the first part of the display issue led to notes that could not be opened any longer (the label zone not being sensitive for touches but covering the whole screen (d'oh forgot to post an extra issue about insensitive label zone. Is this here sufficient to remind you?)) the remaining display issue is like a pimple,: yes, a bit ugly, comes and goes but vanishes on its own.

Feel free to create another issue for touch insensitive zone.
As for this bug, it has been fixed in the next release.

Thanks. Heading over to #11.


Wait for AppView when posting

Similar to https://github.com/bluesky-social/social-app/pull/4577 but for posting.
Before
https://github.com/bluesky-social/social-app/assets/810438/eb2f4403-8529-4a27-997d-7082ef41ccef
After
https://github.com/bluesky-social/social-app/assets/810438/b86bdd31-f0c5-4c0b-8785-d9a0c70a624a
Test Plan
See above videos. Notice that:

Posts reliably show up now (in the "before" video, the first reply seemed to "disappear" until refresh/invalidation)
When posts show up, parent posts reliably increment +1 reply count (in the "before" video, sometimes parents would show no replies)

Sent https://github.com/bluesky-social/social-app/pull/4587 but not sure about it


Duplicate Headers

When header item such as user agent is passed in source prop, it is duplicated.
For example, if user agent is passed as 'xxx', in network call, two user agents are present in header.
One of them is React Native Video/Exoplayer v2.9 and another is XXX
Only the custom set user agent should be present and the default user agent should be overwritten. But this is not happening. Any idea on how to solve this ?
Thanks !

How can I test that?

@CHaNGeTe just pass headers to the source prop to the video component, then analyse the network calls made by the app using traffic capture app, then you can see this

@CHaNGeTe please help me fix this issue

@hotdev405 to allow this feature will require some refactoring.
As userAgent is being set here: https://github.com/react-native-community/react-native-video/blob/master/android-exoplayer/src/main/java/com/brentvatne/exoplayer/DataSourceUtil.java#L80

I have no access to my dev env right now, but maybe something like this should work:
public static DataSource.Factory getDefaultDataSourceFactory(ReactContext context, DefaultBandwidthMeter bandwidthMeter, Map<String, String> requestHeaders) {
        if (defaultDataSourceFactory == null || (requestHeaders != null && !requestHeaders.isEmpty())) {
            for (Entry<String, String> entry : map.entrySet()) {
                if (entry.getKey().toLowerCase() == USERAGENT_HEADER && !TextUtils.isEmpty(entry.getValue())) {
                    setUserAgent(entry.getValue());
                }
            }

            defaultDataSourceFactory = buildDataSourceFactory(context, bandwidthMeter, requestHeaders);
        }
        return defaultDataSourceFactory;
    }

@CHaNGeTe cool thanks for the solution, can you make a pr and merge this in your next release ? that would be really helpful

Did you have the chance to test it?


Displace content of containers with the hull

This has been worked out and then some in MDVContainment. It might be good at some point to merge all these libraries, but for now we are still exploring features. However, slowly but steadily a more general framework and API is emerging, which will probably at some point take over MDVSegmentation MDVWhole and MDVContainment.


Meridio traffic flows support

The support for flows in for the most to be included in the FE function block.  Incoming traffic is to be classified into flows matching preconfigured 5-tuples.  Traffic that do not match any flows should be dropped silently. (We might consider adding a PM counter for dropped packages at some point. Maybe std. Linux counters will do.)
The flows are configuration-wise mapped to a stream which again is lead into a conduit.  The conduit reflects a (physical) traffic path through the cluster where the traffic is to pass a chain of network services.


mission-center: 0.2.5 -> 0.3.0

Description of changes
Changelog: https://gitlab.com/mission-center-devs/mission-center/-/releases/v0.3.0
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

@Kranzes @9p4 I am not able to make it work.
Actually, the compilation succeeds, the main binary seems to work fine, however, the missioncenter-gatherer one is crashing.
It silently crashes with exit code 1.

You might wanna replace the proxy Cargo.toml with the gatherer cargo.toml
Also, that behaviour is intended.
    let args = std::env::args().collect::<Vec<_>>();
    if args.len() < 3 {
        std::process::exit(ExitCode::MissingProgramArgument as i32);
    }

https://gitlab.com/mission-center-devs/mission-center/-/tags/v0.3.1

Thanks @9p4 !
It works fine now !
Only problem: it spams the following error:
(missioncenter:31136): MissionCenter::SysInfo-CRITICAL **: 23:36:16.938: Gatherer is no longer running: (Unknown, 127). Restarting...
sh: line 1: missioncenter-gatherer: command not found

However, the data is properly displayed and updated in the application, so maybe we should not bother...

I think that the best solution would be to wrap the program. This would get rid of the dmidecode trickery too.

yes, and dmidecode too (and remove the sed)

yes, and dmidecode too (and remove the sed)

All right !
It seems to work now :)

It doesn't look like dmidecode is being wrapped?

Use this instead:
wrapProgram $out/bin/missioncenter --prefix PATH : $out/bin:${dmidecode}/bin

Done :)

Use this instead:

Done :)

@SuperSandro2000 I guess that we are now ready for a merge :)
Anything that you would like me to change ?


version 0.4.1 does not compile with swift 2.3

@shogo4405  There is a few compiling errors in the version 0.4.1 when compiling using swift 2.3.
What's the solution?
Thanks

are u using xcode8 or 7?
if u are using xcode8, no way. plese cosider downgrade to xcode7.3.

@shogo4405  Using Xcode 8, I need to stay in swift 2.3 but with SDK for iOS10, so i cant downgrade to Xcode 7.3. It compiles now by doing a convert, which is not ideal, can I include the library manually so every time a make a pod install i don't have to do the convert process?

I'm using Xcode 8 and Swift 3. After adding pod 'lf' to the Podfile, Xcode asked me to convert both lf and XCGLogger, but then said no changes needed. I don't get it, why it asks to convert in the first place?

Here a workaround for the "convert after every pod install" issue found at https://github.com/CocoaPods/CocoaPods/issues/5521
post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['SWIFT_VERSION'] = '3.0'
    end
  end
end

0.4.2 supports XCode8. Try update. I released 0.4.2.
platform :ios, ‘8.0’

target 'Test' do
  use_frameworks!
  pod 'lf', '~> 0.4.2'
end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['SWIFT_VERSION'] = '2.3'
    end
  end
end


Async option

Pull Request
Description
add (non-deafult_ options to not make batches using async. This makes debugging easier sometimes
Fixes #
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
Please also list any relevant details for your test configuration

[ ] Yes

If your changes affect data processing, have you plotted any changes? i.e. have you done a quick sanity check?

[ ] Yes

Checklist:

[ ] My code follows OCF's coding style guidelines
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked my code and corrected any misspellings

Codecov Report

Merging #659 (dec38eb) into main (1c749b7) will decrease coverage by 0.14%.
The diff coverage is 57.14%.

@@            Coverage Diff             @@
##             main     #659      +/-   ##
==========================================
- Coverage   93.38%   93.24%   -0.15%
==========================================
  Files          47       47
  Lines        3192     3197       +5
==========================================
  Hits         2981     2981
- Misses        211      216       +5

Impacted Files
Coverage Δ

...et/data_sources/satellite/satellite_data_source.py
93.67% <ø> (ø)

nowcasting_dataset/manager/manager_live.py
91.30% <33.33%> (-7.21%)
:arrow_down:

...wcasting_dataset/data_sources/datasource_output.py
88.63% <100.00%> (+0.40%)
:arrow_up:

...asting_dataset/data_sources/gsp/gsp_data_source.py
91.50% <100.00%> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Add log4j2 feature

Added log4j2 dependency in pom.xml.
Created a log4j2 class with seperate methods for calling info, warn, error & debug that can be called in other classes. For now we wont save log messages in a file. But if we want to activate it, we can just uncomment the lines in log4j2.xml under the resources folder.
Rebase main into branch

@VenuModi Looks like one of the commits failed to be signed. To be able to merge with main all commits must be signed. What you can do is the following:
git fetch origin         # gets latest changes made to main
git switch 33-logging     # switch to your feature branch
git rebase main        # rebase your branch on main
complete the rebase, fix merge conflicts, etc.
git push --force      # replace the branch on github

Nice work!
What do you say about removing the logger path for a bit cleaner prints?

Yes Good suggestion. I can do that and commit changes. :)

Isn't this because logmanager is printing the classname from which the log methods are called? In this case all log messages will be from same class? An alternative solution is to add the following code to each class we have that needs logging:
private static Logger logger = LogManager.getLogger(MyClassName.class);
and we can then do logging in that class with:
logger.error("This is an error message");
But in normal log messages that information can probably still be removed from the printing as @safstromo suggested and can be turned on when trying to do more advanced debugging?


chore: update TypeORM

Another attempt at updating TypeORM to v0.3.0 with the new way of doing custom repositories.
Previous attempt in #428, reverted in #462.

You can't .extend multiple times, making my new solution also useless. Disabling Renovate updates for TypeORM in https://github.com/guidojw/arora-api/pull/524.


[New App] Crafty Controller

Created and tested Crafty Controller app for CasaOS as per requested in https://github.com/IceWhaleTech/CasaOS-AppStore/issues/64
Crafty Controller is an open source Minecraft Server Control Panel made with the objective of making the management of Minecraft Servers easy.
Thoroughly tested in production and confirmed working.

@charagender
I'm sorry to inform you, as a fellow Minecraft enthusiast, that there are currently two issues with this app :(
The first is that the container name needs to be changed from crafty_container to crafty-container.

The second problem is that I can't get into the admin page after installing it, but I can see the log is fine, can you help me to see what the problem is?

@raller1028

The first is that the container name needs to be changed from crafty_container to crafty-container.

Oh! Completely forgot to change that, thanks for pointing that out, will fix that later

The second problem is that I can't get into the admin page after installing it, but I can see the log is fine, can you help me to see what the problem is?

That's strange, I never encountered that error, though I do see you're using port 8110 for the web UI, as stated to be in the docker compose file, while I'm using port 8111 in my screenshots (will also fix the port_map value!). Can you confirm that the error still occurs when using port 8111?

@charagender
Modify to https and use port 8111 for successful access!!!!

@raller1028 Thanks for confirming the fix worked! I've just committed the fix and added the before_install tips. I'd made them, but forgot to add them to the actual yaml file. Oops!


Add 'secure: false' to http proxy

I use https proxy with self signed cert.
It will be solve: https://github.com/indexzero/http-server/issues/214

How do we handle the scenario when not using a self signed cert? This change would effectively mean you could never proxy a secure endpoint securely.
Thoughts?

No, secure: false only means: you don't want to verify the SSL Certs
https://github.com/nodejitsu/node-http-proxy#options

Sure. But there are situations where you do want to verify them. Perhaps this should be configurable via an --proxy-insecure param?

Thanks @tamascsaba this resolved an issue I had where I was receiving an error of Error: Hostname/IP doesn't match certificate's altnames due to it not matching the domain it was supplied for. Certs shouldn't have this issue, but we are transition and need this workaround for development purposes.
I agree with @BigBlueHat that this should have a new flag rather than override by default. Another implementation of this is here: https://github.com/indexzero/http-server/pull/236

I'm going to close this for now in favor of the flag-based approaches in #236 and #459


Skipping hook creation because .git is not a directory

Hello,
I'm trying to install the git hook using installKotlinterPrePushHook. The problem I have is that .git folder is located in a different directory than gradlew. Because of that when executing ./gradlew installKotlinterPrePushHook I'm getting this message Task :installKotlinterPrePushHook
skipping hook creation because /home/user/testproject/.git is not a directory.
Is there any way to resolve this issue?

Noted. The current resolution would be to manually edit the GRADLEW path in the hook script. We don't do a sophisticated job of locating the gradle exe today.

I had the same problem when installing the hook when running the gradle task installKotlinterPrePushHook.
Thought this might be helpful for fixing the issue: https://github.com/JLLeitschuh/ktlint-gradle/blob/7901898515664f9aad1fb3684dd6e87ff9467cd5/plugin/src/main/kotlin/org/jlleitschuh/gradle/ktlint/GitHook.kt#L164


NCCL error while instantiating DistributedModelParallel

Hello,
I'm trying to train a TorchRec model in a single node with two Nvidia A100 GPUs.
(torchrec) jupyter@ctr-model-gpu-a100-2:~/hft/ctr-model$ nvidia-smi
Fri May 13 15:04:20 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.57.02    Driver Version: 470.57.02    CUDA Version: 11.4     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA A100-SXM...  Off  | 00000000:00:04.0 Off |                    0 |
| N/A   36C    P0    58W / 400W |      0MiB / 40536MiB |      0%      Default |
|                               |                      |             Disabled |
+-------------------------------+----------------------+----------------------+
|   1  NVIDIA A100-SXM...  Off  | 00000000:00:05.0 Off |                    0 |
| N/A   34C    P0    57W / 400W |      0MiB / 40536MiB |      0%      Default |
|                               |                      |             Disabled |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+
(torchrec) jupyter@ctr-model-gpu:~$ python -c "import torch; print(torch.version.cuda)"
11.3

I installed TorchRec and FBGEMM from source. My TorchRec version:
(torchrec) jupyter@ctr-model-gpu:~/hft/ctr-model$ pip freeze | grep torchrec
torchrec==0.1.0

Below's the script I'm trying to run. I've replaced the model with a very simple EBC to discard issues on my model's architecture.
import json
import os

import torch
import torchrec
import torch.distributed as dist
import torch.multiprocessing as mp
from sklearn.metrics import roc_auc_score
from torch.utils.data import DataLoader
from torchrec.distributed import DistributedModelParallel as DMP
from tqdm import tqdm

import datasets
import models
from config_parser import ConfigParser

def main(rank: int, config: ConfigParser) -> None:
    # initalize process group
    dist.init_process_group(
    	backend="nccl",
   		init_method="env://",
    	world_size=2,
    	rank=rank
    )
    # model
    model = torchrec.EmbeddingBagCollection(
        device=torch.device("meta"),
        tables=[
            torchrec.EmbeddingBagConfig(
                name="product_table",
                embedding_dim=64,
                num_embeddings=4096,
                feature_names=["product"],
                pooling=torchrec.PoolingType.SUM,
            )
        ]
    )
    dmp_model = DMP(
        # module=config.init_object("model", models).to(torch.device("meta")),
        module=model,
        device=torch.device(f"cuda:{rank}")
    )

if __name__ == "__main__":
    # instantiate config parser
    config = ConfigParser()

    # distributed config
    os.environ["MASTER_ADDR"] = "localhost"
    os.environ["MASTER_PORT"] = "29500"
    mp.spawn(main, nprocs=2, args=(config,))

When trying to run this code, I get the following error. I used export NCCL_DEBUG=INFO to get NCCL's logs.
Traceback (most recent call last):
  File "main_dist.py", line 165, in <module>
    mp.spawn(main, nprocs=2, args=(config,))
  File "/opt/conda/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 240, in spawn
    return start_processes(fn, args, nprocs, join, daemon, start_method='spawn')
  File "/opt/conda/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 198, in start_processes
    while not context.join():
  File "/opt/conda/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 160, in join
    raise ProcessRaisedException(msg, error_index, failed_process.pid)
torch.multiprocessing.spawn.ProcessRaisedException:

-- Process 0 terminated with the following error:
Traceback (most recent call last):
  File "/opt/conda/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 69, in _wrap
    fn(i, *args)
  File "/home/jupyter/hft/ctr-model/main_dist.py", line 29, in main
    module=model,
UnboundLocalError: local variable 'model' referenced before assignment

(base) jupyter@ctr-model-gpu:~/hft/ctr-model$ python main_dist.py
Log directory 'runs/test-torchrec-dist' already exists. Overwrite? [y / n] y
ctr-model-gpu:30732:30732 [0] NCCL INFO Bootstrap : Using ens6:<IP_ADDRESS><0>
ctr-model-gpu:30732:30732 [0] NCCL INFO NET/Plugin: Failed to find ncclCollNetPlugin_v4 symbol.
ctr-model-gpu:30732:30732 [0] NCCL INFO NET/FastSocket : Tx CPU start: -2
ctr-model-gpu:30732:30732 [0] NCCL INFO NET/FastSocket : Rx CPU start: -2
ctr-model-gpu:30732:30732 [0] NCCL INFO NET/FastSocket : Flow placement enabled.
ctr-model-gpu:30732:30732 [0] NCCL INFO NET/FastSocket : queue skip: 0
ctr-model-gpu:30732:30732 [0] NCCL INFO NET/FastSocket : Using [0]ens6:<IP_ADDRESS><0>
ctr-model-gpu:30732:30732 [0] NCCL INFO NET/FastSocket plugin initialized
ctr-model-gpu:30732:30732 [0] NCCL INFO Using network FastSocket
NCCL version 2.10.3+cuda11.3
ctr-model-gpu:30733:30733 [0] NCCL INFO Bootstrap : Using ens6:<IP_ADDRESS><0>
ctr-model-gpu:30733:30733 [0] NCCL INFO NET/Plugin: Failed to find ncclCollNetPlugin_v4 symbol.
ctr-model-gpu:30733:30733 [0] NCCL INFO NET/FastSocket : Tx CPU start: -2
ctr-model-gpu:30733:30733 [0] NCCL INFO NET/FastSocket : Rx CPU start: -2
ctr-model-gpu:30733:30733 [0] NCCL INFO NET/FastSocket : Flow placement enabled.
ctr-model-gpu:30733:30733 [0] NCCL INFO NET/FastSocket : queue skip: 0
ctr-model-gpu:30733:30733 [0] NCCL INFO NET/FastSocket : Using [0]ens6:<IP_ADDRESS><0>
ctr-model-gpu:30733:30733 [0] NCCL INFO NET/FastSocket plugin initialized
ctr-model-gpu:30733:30733 [0] NCCL INFO Using network FastSocket

ctr-model-gpu:30733:30847 [0] init.cc:521 NCCL WARN Duplicate GPU detected : rank 1 and rank 0 both on CUDA device 40
ctr-model-gpu:30732:30846 [0] init.cc:521 NCCL WARN Duplicate GPU detected : rank 0 and rank 1 both on CUDA device 40
ctr-model-gpu:30733:30847 [0] NCCL INFO init.cc:904 -> 5
ctr-model-gpu:30732:30846 [0] NCCL INFO init.cc:904 -> 5
ctr-model-gpu:30733:30847 [0] NCCL INFO group.cc:72 -> 5 [Async thread]
ctr-model-gpu:30732:30846 [0] NCCL INFO group.cc:72 -> 5 [Async thread]
Traceback (most recent call last):
  File "main_dist.py", line 166, in <module>
    mp.spawn(main, nprocs=2, args=(config,))
  File "/opt/conda/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 240, in spawn
    return start_processes(fn, args, nprocs, join, daemon, start_method='spawn')
  File "/opt/conda/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 198, in start_processes
    while not context.join():
  File "/opt/conda/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 160, in join
    raise ProcessRaisedException(msg, error_index, failed_process.pid)
torch.multiprocessing.spawn.ProcessRaisedException:

-- Process 0 terminated with the following error:
Traceback (most recent call last):
  File "/opt/conda/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 69, in _wrap
    fn(i, *args)
  File "/home/jupyter/hft/ctr-model/main_dist.py", line 42, in main
    device=torch.device(f"cuda:{rank}")
  File "/opt/conda/lib/python3.7/site-packages/torchrec/distributed/model_parallel.py", line 187, in __init__
    plan = planner.collective_plan(module, sharders, pg)
  File "/opt/conda/lib/python3.7/site-packages/torchrec/distributed/planner/planners.py", line 188, in collective_plan
    sharders,
  File "/opt/conda/lib/python3.7/site-packages/torchrec/distributed/collective_utils.py", line 60, in invoke_on_rank_and_broadcast_result
    dist.broadcast_object_list(object_list, rank, group=pg)
  File "/opt/conda/lib/python3.7/site-packages/torch/distributed/distributed_c10d.py", line 1869, in broadcast_object_list
    broadcast(object_sizes_tensor, src=src, group=group)
  File "/opt/conda/lib/python3.7/site-packages/torch/distributed/distributed_c10d.py", line 1187, in broadcast
    work = default_pg.broadcast([tensor], opts)
RuntimeError: NCCL error in: /opt/conda/conda-bld/pytorch_1646755953518/work/torch/csrc/distributed/c10d/ProcessGroupNCCL.cpp:1169, invalid usage, NCCL version 21.0.3
ncclInvalidUsage: This usually reflects invalid usage of NCCL library (such as too many async ops, too many collectives at once, mixing streams in a group, etc).

Reading the NCCL logs, I noticed this two lines:
ctr-model-gpu:30733:30847 [0] init.cc:521 NCCL WARN Duplicate GPU detected : rank 1 and rank 0 both on CUDA device 40
ctr-model-gpu:30732:30846 [0] init.cc:521 NCCL WARN Duplicate GPU detected : rank 0 and rank 1 both on CUDA device 40

Could this be the cause of the issue? If so, how do I solve it? I ran another regular PyTorch script with DistributedDataParallel and didn't have any issues with NCCL; the script ran fine.

Update: setting torch.cuda.set_device(rank) before initializing the process group seems to fix this issue. Still, this is not needed with DistributedDataParallel.

The torch.cuda.set_device(rank) is needed before calling DistributedModelParallel. I think it's the same for DistributedDataParallel, please see the document here https://pytorch.org/docs/stable/generated/torch.nn.parallel.DistributedDataParallel.html#distributeddataparallel

Update: setting torch.cuda.set_device(rank) before initializing the process group seems to fix this issue. Still, this is not needed with DistributedDataParallel.
this is effective, thanks!


PR from forked work

implemened main logics as the window hub

caused by the former schema with wrong data, to be cancelled


Resolved comments from Krista

Resolved comments from Krista

Please retarget to feature/azure-ai-project branch

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-ai-projects


Avoid problems with UNC paths and rc.exe

This change builds a single firmware RC file, which means we only compile RC files in the build directory, which means we only require relative paths, which in turn means we don't run into issues with rc.exe thinking UNC paths are options.  This also has the nice side effect of removing the duplicated list of binaries from fw.rc.

👍


Make capitalised queries like SORT BY work

Please check that this issue hasn't been reported before.

[X] I searched previous Bug Reports didn't find any similar reports.

Expected Behavior
People more familiar with SQL sometimes write like this:
SORT BY happens

So the above command should be synonymous with the currently accepted form:
sort by happens

Current behaviour
This query fails:
not done
SORT BY happens

This query succeeds:
not done
sort by happens

Steps to reproduce
Try the code above
Which Operating Systems are you using?

[ ] Android
[ ] iPhone/iPad
[ ] Linux
[ ] macOS
[X] Windows

Obsidian Version
1.1.9
Tasks Plugin Version
1.21.0
Checks

[X] I have tried it with all other plugins disabled and the error still occurs

Possible solution
Accept capitalised commands.

This is true.
It is a bit of an annoyance for people on iPhones with predictive text, as the phone really wants to capitalise the first letter of each line. And Sort by etc is not valid.

I'm going to convert this to a feature request. It isn't really a bug, as it is by design.

Just released in 5.2.0.


Add missing space to min properties error resx

Added missing space to minProperties resource string.
Related to PowerShell/PowerShell#21106.

Thanks for this. I'll push out a release in a bit.


[ACS Report] Upgrade patroni

DOD (Non-Prod)

[ ] Upgrade d7abee-dev/statefulsets/patroni-001 to postgres:2.0.1-12.4-latest
[ ] Upgrade d7abee-dev/statefulsets/patroni-002 to postgres:2.0.1-12.4-latest
[ ] Upgrade d7abee-test/statefulsets/patroni-001 to postgres:2.0.1-12.4-latest
[ ] Upgrade d7abee-test/statefulsets/patroni-003 to postgres:2.0.1-12.4-latest
[ ] Upgrade d7abee-test/statefulsets/patroni-004 to postgres:2.0.1-12.4-latest
[ ] Upgrade 04d1a3-dev/statefulsets/patroni-foi-ffa to postgres:2.0.1-12.4-latest
[ ] Upgrade 04d1a3-test/statefulsets/patroni-foi-ffa to postgres:2.0.1-12.4-latest
[ ] Upgrade c84b95-dev/statefulsets/patroni-001 to postgres:2.0.1-12.4-latest
[ ] Upgrade c84b95-test/statefulsets/patroni-001 to postgres:2.0.1-12.4-latest

DOD (Prod)

[ ] Upgrade d7abee-prod/statefulsets/patroni-002 to postgres:2.0.1-12.4-latest
[ ] Upgrade 04d1a3-prod/statefulsets/patroni-foi-ffa to postgres:2.0.1-12.4-latest
[ ] Upgrade c84b95-prod/statefulsets/patroni-001 to postgres:2.0.1-12.4-latest

Note: Docreviewer is running on version patroni-postgres:2.0.1-12.4-latest
Reference for Fix: https://github.com/bcgov/patroni-postgres-container

@sumathi-thirumani-aot  DOD!

@abin-aot - taking 9.0 label off of this ,assumption this is not going in 9.0


Add a new webserver-based reporter

Issue number of the reported bug or feature request: #
Describe your changes
A clear and concise description of the changes you have made.
Testing performed
Describe the testing you have performed to ensure that the bug has been addressed, or that the new feature works as planned.
Additional context
Add any other context about your contribution here.

Closing in favor of the work that @godlygeek has been doing on temporal static flamegraphs


Feature/614 dont consider unprocessed entities

Fix #614
Fix #599
Introduced a EntitiesProcessor component that takes care of retrieving the entities, to apply a processor on every one and to filter out the unprocessed (those where the processor returned false) from the count to decide to wait some time at the end of the loop iteration.

@jimmarino done


Initial pass on some phase 2 analyses

This PR has a first pass through some analyses on the phase 2 data release, mainly to sanity check the phase 2 data.

Here's new haplotype tree:


refactor!: call reserved system contract address is forbidden

What this PR does / why we need it?
This PR change the call system contract address process. Call a reserved system contract address is forbidden during

calling eth_call
eth_estimateGas
inserting into mempool

What is the impact of this PR?

CI Switch

[x] Web3 Compatible Tests
[x] OCT 1-5 And 12-15
[ ] OCT 6-10
[ ] OCT 11
[ ] OCT 16-19
[x] v3 Core Tests

CI Description

/run-ci


[cxx-interop] [experiment] Error for unannotated c++ APIs returning SWIFT_SHARED_REFERENCE types

Experimenting with converting the warning introduces in https://github.com/swiftlang/swift/pull/77397 into error for unannotated C++ APIs returning FRTs.

@swift-ci please test


ASUS ROG Ally X: Bazzite Startup Movie Missing

Describe the bug
The default Steam Deck startup movie plays instead of found in the repo.
What did you expect to happen?
The Bazzite logo on startup, wake, and suspend.
Output of rpm-ostree status
State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck-gnome:stable
                   Digest: sha256:2b819c7d8ce57430feb53598b16afa841a7d9da011ec2089502a29d3aa74215d
                  Version: 40.20240807.0 (2024-08-07T07:32:18Z)

  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck-gnome:stable
                   Digest: sha256:2b819c7d8ce57430feb53598b16afa841a7d9da011ec2089502a29d3aa74215d
                  Version: 40.20240807.0 (2024-08-07T07:32:18Z)

Hardware
ROG Ally X RC72LA_RC72LA
Extra information or context
I have another issue related to suspend that may be related that I will be writing up shortly.

Fixed with https://github.com/ublue-os/bazzite/commit/b6aaa4a337bb0e8a6f4c6ba7bb55374de51af1a4


fix: use local irsa module to create k8s service account resources

Description
Unlike the local ../../modules/irsa module, the terraform-aws-modules/iam/aws//modules/iam-role-for-service-accounts-eks module does not create Kubernetes service account resources. Since no service accounts are being created, ExternalSecret resources will be created with an InvalidProviderConfig status.

Motivation and Context

Resolves #

How was this change tested?

[ ] Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)
[ ] Yes, I have updated the docs for this feature
[ ] Yes, I ran pre-commit run -a with this PR

Additional Notes

Thank you for the PR but we are moving off of the local modules. If you are encountering an issue, please start with a GitHub issue first so we can properly discuss and triage before moving to make any changes


update(ff): Adds v4 worklist test and templates

Adds worklist v4 test and required additional v4 template files

@SAP/ux-tools-team-tools please review


upgrade thor dependency please (rails 6.1 upgrade blocker)

Bundler could not find compatible versions for gem "thor":
  In Gemfile:
    pronto was resolved to 0.10.0, which depends on
      thor (~> 0.20.0)

    rails (= 6.1) was resolved to 6.1.0, which depends on
      railties (= 6.1.0) was resolved to 6.1.0, which depends on
        thor (~> 1.0)

please upgrade thor dependency because it blocks Rails upgrade.

Hey @skcc321, I created a fork at https://github.com/jer0m/pronto that works with Rails 6.1. I also created a PR #393

Ah, I understand what the problem is. #370 already did what you want, but it isn't released yet (see #376). Please use the latest version from git.


Move various test helpers and matchers from core into their own module

I have found the various test helpers and matchers in error prone very useful when testing bug patterns. Some of the bug patterns we've created (migrating from our current internal static analysis tool) are very unique to our code base, so would not be suitable for the project, which is why we're keeping them outside of error prone.
I am proposing moving CompilationTestHelper, ErrorProneInMemoryFIleManager etc. to their own test-helper module so that they can be used outside of error prone for others to write their own bug patterns (and to be able to test them).
I did an initial implementation locally but had an issue with a cyclical dependency between modules: core -> test-helper -> core; as CompilationTestHelper contains a ErrorProneCompiler.

Another solution could be to use the maven-jar-plugin to create a jar of the "helper" files, which can then be used as a dependency for external projects. See https://maven.apache.org/plugins/maven-jar-plugin/test-jar-mojo.html

Agreed, this would be helpful for people writing custom checks.  See #62 for our initial investigation.

I've had some success with creating the maven test jar (although you don't want to look at it's contents!!). I had to modify CompilationTestHelper and ErrorProneInMemoryFileManager so they had the ability to add a resource with a Path object rather than just a String representing a file name due to not being able to resolve the classes under test.


Calling Analytics.Client.Flush() when there are pending events can cause deadlock

This problem is illustrated here: https://github.com/sillsdev/DesktopAnalytics.net/pull/27
To reproduce:

Build the SampleAppWithForm project
Run SampleAppWithForm
Click the Track button
Without delay, select the Flush checkbox
Click the X to close the window.

The call to Analytics.Client.Flush() never returns, and the window never closes.

I've also seen this in a project, but didn't have consistent steps to reproduce.

Thanks for your report, we start looking into this

Hi @tombogle I tried replicate the issue but I don't have success, could you help us sharing your example project on a public repo, please?

The repo linked above is public.

Hi @tombogle we identify on which place is the possible issue, we still working on your issue reported

Hi @tombogle we created a new LIB that you can use for your project, CSharp in this library fixed the issue.


In [Compute->Infrastructure->Virtual machines],start a vm failed,but there is no errors on the UI interface.

Although the errors can be found in the  [CFME log] interface, but i think it is not direct.

@shangxu the ManageIQ UI normally just initiates VM power actions, and returns a message like "Start for VM xxx initiated successfully".  If the actual start fails on the back end, the requests screen should show the error.
So, are you saying the UI fails to initiate the start of the VM?  Perhaps a bit more description of what you are doing when you see this along with a log snippet with the transaction and stack trace would help.
Thanks,
Dan


Added: #addr and #peeraddr to IPSocket and UNIXSocket

It could be interesting to return a Tuple, like the Array that Ruby returns: {"AF_INET", 80, "localhost", "<IP_ADDRESS>"} or maybe a Socket::Addr struct is more interesting (we can add methods like ip? unix?, etc).

It looks like the libc differ when considering the family of client.addr.family.

It's stranger than that: on my machine the specs pass. I'll merge it soon. Thanks!

I think I would always prefer a struct over a tuple, so that you don't have to remember indices :-)


[Suggestion] Scale LN probability based on WH remaining

To guarantee more levels for everyone, I want to be out of both LN and WH when I leave a game to drop down to another. I bought WH and LH in a 10:1 ratio this morning and I just used my last WH, but I'm at 194 LN. Ideally, I think the script should just autofire those as quickly as possible on relevant bosses, even if it doubles up with someone else's LN, because some is better than none. That's open for debate, obviously.
edit: heck, you could even make it a toggle - it's clearly worse to do it this way when I'm asleep and won't be hopping out before the game ends or whatever.

Currently the way the script is, with roughly 200 actives or more, no tick should be left unrefreshed.

How Script knows how many Actives have WH and how many have 0 and are sitting in Room with Script enabled? Actives Count is unreliable for check, never spam on non x00 levels, instead try to catch every x00 possible.


added Ankit Bhusal as a contributor

Added Ankit Bhusal to a contribution list.

Please resolve the conflicts and update the PR. @ankitbhusal

Please resolve the merge conflicts and update the PR. @ankitbhusal

@Rajdip019 done ✅

Good job @ankitbhusal
Congrats 🎉, your PR got merged. To be eligible for the swags from ClueLess. Follow this steps.

Star this repository. ⭐

SignIn / SignUp in [ClueLess Website](https://www.clueless.tech/) .

Go to profile section from the top right hand corner.

Comment your profile URL under this comment tagging the person who merged your PR.

That’s it. Follow the leaderboard !
And don’t forget to share your achievement with your friends.

my profile link: https://www.clueless.tech/profile/53370039
@Rajdip019