Non AVX CPU : Suggestions please

(Fantastic work guys with that project)
I have a older CPU that does not support AVX
I use the normal (anaconda) Tensorflow 1.x and 2.x with python, works great, with or without GPU (on windows)
My understanding is that some dll in the TF.NET and/or Redist packages (tensorflow.dll ?) is compiled with AVX support that makes this line:
Console.WriteLine($"TensorFlow Binary v{tf.VERSION}", Color.Yellow);
crash with a
The program '[15552] TensorFlowNET.Examples.exe' has exited with code -1073741795 (0xc000001d) 'Illegal Instruction'.
Any suggestion to make it work ? use another precompiled dll ?

Update : my CPU is a Westmere (Intel Xeon E5620) supporting MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, EM64T, VT-x, AES
Testing a simple program:
Console.WriteLine(Environment.OSVersion.ToString());
Console.WriteLine($"TensorFlow Binary v{tf.VERSION}");
Console.WriteLine($"TensorFlow.NET v{Assembly.GetAssembly(typeof(TF_DataType)).GetName().Version}");
testing "raw" : TestHelloWorld.exe
`Microsoft Windows NT 6.2.9200.0
Unhandled exception. System.TypeInitializationException: The type initializer for 'Tensorflow.Binding' threw an exception.
---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.DllNotFoundException: Unable to load DLL 'tensorflow' or one of its dependencies: A dynamic link library (DLL) initialization routine failed. (0x8007045A)
at Tensorflow.c_api.TFE_NewContextOptions()
at Tensorflow.Eager.ContextOptions..ctor() in C:\Users\Crimy\Source\Repos\TensorFlow.NET-master\src\TensorFlowNET.Core\Eager\ContextOptions.cs:line 8
at Tensorflow.tensorflow..ctor() in C:\Users\Crimy\Source\Repos\TensorFlow.NET-master\src\TensorFlowNET.Core\tensorflow.cs:line 36
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean wrapExceptions, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& hasNoDefaultCtor)
at System.RuntimeType.CreateInstanceDefaultCtorSlow(Boolean publicOnly, Boolean wrapExceptions, Boolean fillCache)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, Boolean wrapExceptions)
at System.Activator.CreateInstanceT
at Tensorflow.Binding.NewT in C:\Users\Crimy\Source\Repos\TensorFlow.NET-master\src\TensorFlowNET.Core\Binding.Util.cs:line 116
at Tensorflow.Binding..cctor() in C:\Users\Crimy\Source\Repos\TensorFlow.NET-master\src\TensorFlowNET.Core\Binding.cs:line 10
--- End of inner exception stack trace ---
at Tensorflow.Binding.get_tf() in C:\Users\Crimy\Source\Repos\TensorFlow.NET-master\src\TensorFlowNET.Core\Binding.cs:line 10
at TestHelloWorld.Program.Main(String[] args) in C:\Users\Crimy\Source\Repos\TensorFlow.NET-master\TestHelloWorld\Program.cs:line 13
`
testing with Intel Software Development Emulator  that can emulate specific instruction set
Pretending to have a SandyBridge instead of my Westmere and having AVX emulated:
sde.exe -avx 1 -snb -- TestHelloWorld.exe
Microsoft Windows NT 6.2.9200.0
TensorFlow Binary v1.15.1
TensorFlow.NET v<IP_ADDRESS>
I could try to compile tensorflow.dll with specific flags, but i dont know how, any help would be appreciated

我也遇到相同问题，求适配！！

After some research, my understanding is that the problem is with Tensorflow.dll
I tried to rebuild the Tensorflow 1.15 version on my windows. After 10h of fighting with Bazel. I stopped, i suspect that having the real Visual Studio is not the same as having the Visual Build tools only. Next step would be to build an isolated VM dedicated to tensforflow rebuild
So the situation is that i can't rebuild TF 1.15 at the moment. Since the main branch of TF.NET is now using TF 2.X, i was wondering if trying to build the 2.X version of TF is not smarter
Hey TF.NET team, any idea on when the 2.X will be done ?

@CrimyTheBold We're actively developing the 2.0 branch. Some kernel function have been finished, but there still be some hard work to do.

@Oceania2018 Thanks for the update. No pressure there, no commitment of any sort required. I guess it's gonna be hard for me to rebuild TF so i think the threshold for me would be 3 months. If TF.NET 2.X is out before 3 months, it's not worth it to try to rebuild TF 1.15. If it's gonna take more than 3 month, i might give TF 1.15 another shot.
Any hint on which version i should work on ?

Should be stick on 2.x, it's super awesome, check this video.
Paste a laste screen for Linear Regression:


Add an API parameter and UI to filter facility list items by status

Overview
Allow facility list items to be filtered by selecting one or more statuses. It is an uncommon situation in a thousand item list to only have a dozen potential matches. Having a filter makes it dramatically easier to find and act on these items.
Connects #504
Demo

Testing Instructions

Reset the database

./scripts/resetdb
./scripts/processfixtures

Log in as<EMAIL_ADDRESS>Browse http://localhost:6543/lists/8
Filter by different statuses and verify that the list results match what is expected.
Filter by POTENTIAL_MATCH and approve one of the matches. Verify that the item disappears from the table and the item count is correctly updated.
Approve or reject the rest of the potential matches and verify that "No matching items" is displayed in the table.
Verify that clicking the "SHOW ALL ITEMS" button works.

Checklist

[ ] fixup! commits have been squashed
[ ] CI passes after rebase
[ ] CHANGELOG.md updated with summary of features or fixes, following Keep a Changelog guidelines

I'd like to discuss our options for dealing with the situation where you have filtered the list to see only POTENTIAL_MATCHes and then you approve a match. Our current implementation updates the item in place, changing the status to MATCHED, creating an inconsistency with the current state.
The solution I am thinking about implementing is to pass the page, rowsPerPage and status query string arguments to the approve/reject endpoints and modify the view to return an entire updated page of items instead of a single item if a page query string parameter was specified. That allows us to easily update the state and keep the data in the table in sync with the filter.
Does this sound like a good plan?

The solution I am thinking about implementing is to pass the page, rowsPerPage and status query string arguments to the approve/reject endpoints and modify the view to return an entire updated page of items instead of a single item if a page query string parameter was specified. That allows us to easily update the state and keep the data in the table in sync with the filter.

This makes sense to me. I was thinking about the general problem outside of this particular solution and came up with a similar-ish idea that put the re-fetch-page logic on the frontend.
The client "knows" in some way which filter is applied, so if the POTENTIAL_MATCH filter was applied and an accept/reject request had been completed, one of the componentDidUpdate methods could check the new items list against the previous items list to see whether it still had the same number of POTENTIAL_MATCH status facilities. If not, then it could immediately re-fetch the entire page.
The potential upside of this is that it would not require adding conditional logic to the API endpoints; a potential downside is that it'd push the re-fetch logic into a React component's componentDidUpdate method. Not sure which is preferable.
If we were to put the conditional logic in the API accept/reject handlers, I think that it'd make sense to have the client have to pass an additional querystring parameter along with page/rowsPerPage/status: something like returnEntireListPage=true or similar, so that the querystring params would be a little more self-documenting.

Detecting the change on the client side and making a follow up request is compelling.
As I was thinking about implementing that I realized that if the contributor is scrolled to the bottom of a page of 100 results when they approve a pending match, triggering a page refresh will result in scrolling them back to the top of the page. We may be able to work around it by avoiding or updating startFetchFacilityListItems so that we don't set the existing list of items to null before loading the new ones.
https://github.com/open-apparel-registry/open-apparel-registry/blob/develop/src/app/src/reducers/FacilityListDetailsReducer.js#L145-L148
I think I'll move ahead with the client-side approach.

I implemented refreshing after approving/rejecting potential matches. Thanks for the design suggestion. It worked out well.
This is ready for review.

Question! Is it correct that selecting the MATCHED option should display both MATCHED and NEW_FACILITY status items? I know the latter is a computed status, but didn't know whether we intended for MATCHED to now be inclusive of NEW_FACILITY:

It looks like a similar thing is happening with CONFIRMED_MATCH and NEW_FACILITY status:

This is working as expected otherwise!

Thanks for the great review. I addressed all of your comments and this is ready for another look.

Thanks again for the great feedback.


This PR is mainly used to update the optimized UI

This PR is mainly used to update the optimized UI.

Do some UI level optimization
Change menu structure
Remove unused card top navigation buttons
Change menu: right click to display the contents of the menu
Replace the check all and check none buttons with the detail and design buttons

Codecov Report

Merging #157 (f911125) into main (785e9b8) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #157   +/-   ##
=======================================
  Coverage   54.25%   54.25%
=======================================
  Files          89       89
  Lines        8056     8056
=======================================
  Hits         4371     4371
  Misses       3282     3282
  Partials      403      403

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@WuChuSheng1 Please make pre-push before pushing


TFWidget crashes

To reproduce:

Use the latest master branch code, compile with Release option.
Open VAPOR, load data /little_glade/shaomeng/synthetic/sphere/sphere1024.nc.
Create a wireframe renderer.
Change Fidelity option to the right-most radio button.
VAPOR crashes with a failed assertion in TFWidget.

Note, the /little_glade/shaomeng/synthetic/sphere/sphere1024.nc data was created using the following commands on cisl-vapor:

/home/shaomeng/Build/VAPOR-new-DVR-build/bin/vdccreate -bs 256:256:256 -cratios 10:1 -dimension 1024x1024x1024 -vars3d gaussian -wname bior4.4 sphere1024.nc
/home/shaomeng/Build/VAPOR-new-DVR-build/bin/raw2vdc -varname gaussian -debug sphere1024.nc sphere1024.float

It turns out that the assertion is being caused by the DataMgr returning a bad RC after not being able to perform GetDataRange().
After digging deeper, the DataMgr is not able to retrieve the Grid object for the target variable at level=-1 and lod=-1, which correspond to the least compressed data representation.
If you use the 'Level of Detail' and 'Refinement Level' combo boxes, you can access the least compressed data representation.  It's the -1, -1 values of the Fidelity controller that cause this.  I'm going to bring John into this to see how he wants to handle it.


fix: readme documentation link

Description
Fix link to product documentation in README.
Issue: 6247
Release required?

[x] No release
[ ] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content
A documentation update that will be available via GitHub and clones of main. Probably does not require a release.
Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

:tada: This PR is included in version 1.2.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Update storybook peer dependency to v2

The storybook dependency is outdated even though the add-on seems to work with the latest version. I get an ugly UNMET PEER DEPENDENCY<EMAIL_ADDRESS>when I try to use it.
Do you plan on updating this package? It seems quite good!
Thanks! 👍

Do you plan on updating this package?
Yep. I'm planning to update to the latest version of storybook later this week.

Hello
Any update on this issue ?

Hi. How is it going with the updating? :)


enable onOp option to capture the changes old and new value

enable onOp option to capture the changes of old and new value to analysis.

The op is to represent a step what the value changes to. It is not a change process but an action.

@gazedreamily in op we can able to see the changed value but not old value. Like
Old: 5
New: 8
So that it will be clear to know for auditing and making some decision.


Improve dark theme handling

Recent updates are really neat! But I noticed a couple of issues with the dark theme:

There a theme transition on load when the dark theme is used (with "system" and "dark" preference). I think the default theme is "light". It's then switched to "dark" on load with needed, but because there's a css transition, we first see the light theme, then transitioned to dark
Just like img,  svg should have an invert filter so that coin logos are displayed with the right color

Thanks for the feedback @hugocaillard. I've noticed these too, it can definitely be improved

@kyranjamie I think we can close this issue off now that https://github.com/leather-io/extension/issues/3361 was fixed.
Is that correct? Or is there still more work to do here

Think this is fixed now


Fix relative link resolution

Fixes #2

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Ensure the dashboard looks good in different browsers

Update: I'm not sure what we did, but the dashboard now appears in Safari in our latest branches.  I'm going to leave this ticket here as a reminder to check browser compatibility before shipping.
Currently it looks like this:

Part of #183

I checked Safari and Firefox, and they look ok.
I'm going to mark this as complete, and we'll just have to keep in mind that we should check browser compatibility, since this is more ongoing.
Firefox:

Safari:


v1.9.0 bump

There are more things I had hoped to complete during this release, but it's been a while so probably best to ship what's done, first.

[x] get the old once-over and signoff from @jfmengels
[x] tag
[x] publish to next
[ ] give it a day
[ ] move to latest

officially broken, can't release as-is

Let's do this :)

Once this goes green I'll move to master, but 1.9.0 is officially broken, so it will never move to next 😓 .
@lukeapage and @le0nik I need you two to provide feedback on my changes in e044e37, ideally in the form of additional tests.

What are the problems?

@benmosher a quick review of it looks good, i can try it out on our repo soon.

confirmed, it still works nicely for my use case (also the one I added a test for)

@jfmengels the new custom resolver stuff tries to load actual Webpack instead of the Webpack resolver plugin, due to the original precedence order.
Doesn't show up in tests because Webpack isn't installed, but it happened immediately when I tried it in my actual project. 😅


Update Cookies.php

Add return types to two methods.

Coverage remained the same at 98.919% when pulling c32913d32a3b8428b0298098269cdf658f0194fa on adriansuter:patch-cookies into 9cdb71a3577e8ab5546c6135a326e8e6fb7bea83 on slimphp:master.


[Bug] Formula SUMIFS calc fail when params values contain string and number

Before you submit this issue, have you checked the following

[X] Is this really a problem?
[X] I have searched the Github Issues for similar issues, but did not find anything.

Affected packages and versions
latest
Reproduction link
https://stackblitz.com/~/github.com/zeyongTsai/sheets-vite-demo
1:  switch to zeyongTsai/patch-97961 branch
2：start vite
3：there is a formula in I3 cell of 申赎TA系统统计 sheet,  it depends on 理财销售系统交易数据(头寸)报表
4：alter G4 cell of 理财销售系统交易数据(头寸)报表 sheet, I3 cell value will be 0.00 , it should be the altered value
Expected behavior
compare  C3 cell value of 申赎TA系统统计 sheet and B column cell values of 理财销售系统交易数据(头寸)报表 sheet should be equal
Actual behavior
C3  value is not equal B column cell value, so calc result is 0.00
System information
univer: 0.5.0
chrome: 131.0.6778.86

even  through  alter C3 value type to 1, the calc result always is 0.00 , plz help

there are some debug information may help

function valueObjectCompare get a param named criteria  witch type is string and every char is number
function findCompareToken inside valueObjectCompare will transform criteria  to number type
StringValueObject's compareBy method return false when value type  is number
Sumifs's calculate method cannot gets matched rows


Why is the samples referencing an existing version and break the build ?

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] OAuth for Spring Security - Sparklr (OAuth 1 Provider Example)  FAILURE [37.618s]
[INFO] OAuth for Spring Security - Tonr (OAuth 1 Consumer Example)  SKIPPED
[INFO] OAuth for Spring Security - Sparklr2 (OAuth 2 Provider Example)  SKIPPED
[INFO] OAuth for Spring Security - Tonr2 (OAuth 2 Client Example)  SKIPPED
[INFO] OAuth for Spring Security - Samples ............... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 38.102s
[INFO] Finished at: Fri Sep 23 12:30:36 ICT 2016
[INFO] Final Memory: 13M/210M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project sparklr: Could not resolve dependencies for project org.springframework.security.oauth:sparklr:war:2.0.12.BUILD-SNAPSHOT: Could not find artifact org.springframework.security.oauth:spring-security-oauth:jar:2.0.12.BUILD-SNAPSHOT in spring-milestone (http://maven.springframework.org/milestone) -> [Help 1]
This version doesn't exist anywhere, should I downgrade ?

It does exist (https://repo.spring.io/snapshot/org/springframework/security/oauth/spring-security-oauth2/), but the repository declarations in the samples are missing a snapshot repo. You can fix it by building locally. Also fixed in master (f165cc6).

Does this fix the token refresh issue ? Using the latest version on the repo, I wasn't able to make OAuth2 work, the refresh token was constantly refused.
Do you mind living this open until we have confirmation that this plugin is good for production use ?

I don't really know which token refresh issue you are referring to, but this issue is specifically about the build of the sample, and it is closed with a fix, so I don't see any reason to reopen.

I have followed the guides rest-api-spring-oauth2-angularjs on the github repository baeldung/spring-security-oauth, this article is from august 2016.
The person explain how to use spring oauth2 with a mysql database. When I swapped the code as explained in the guide, it turns out that It wasn't working completely.
The token wasn't working and I found all these related issues by having troubles getting the refresh token to work :

https://github.com/spring-projects/spring-security-oauth/issues/834
https://github.com/spring-projects/spring-security-oauth/issues/816
https://github.com/spring-projects/spring-security-oauth/issues/807

If I may ask a one last simple question, does this plugin is tested for production usage or is there some critical bug with latest spring-boot version ?

I'm not sure what you mean by "plugin". If you mean spring-security-oauth then I'm sure it is in production in hundreds if not thousands of apps, and for quite some years. But that shouldn't be the point of any discussion here.
If you have a usage question please take it to stackoverflow. If you have a new issue not connected with this one, please open a new ticket and provide some more details.


Update testcases for AppParametersTest

Codecov Report

Merging #223 (302ade7) into master (8317927) will increase coverage by 0.20%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #223      +/-   ##
============================================
+ Coverage     67.41%   67.62%   +0.20%
- Complexity      696      699       +3
============================================
  Files           105      105
  Lines          2434     2434
  Branches        325      325
============================================
+ Hits           1641     1646       +5
+ Misses          647      644       -3
+ Partials        146      144       -2

Impacted Files
Coverage Δ

src/main/java/seedu/address/AppParameters.java
100.00% <0.00%> (+25.00%)
:arrow_up:

Continue to review full report at Codecov.

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


Live demo is not working

I'm getting an SSL error: https://tailwind-scrollbar-example.adoxography.repl.co/
If I change it to http://, I get this:

me too.
in my case

I've been putting off creating a proper documentation site. It's up here, and it should supercede the old demo site.


Automated cherry pick of #5026: fix: api gateway rpc handler redudant response

Cherry pick of #5026 on release/2.13.
#5026: fix: api gateway rpc handler redudant response

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.13@8db7d00). Click here to learn what that means.
The diff coverage is n/a.

@@              Coverage Diff               @@
##             release/2.13   #5027   +/-   ##
==============================================
  Coverage                ?   6.83%
==============================================
  Files                   ?     527
  Lines                   ?   89479
  Branches                ?       0
==============================================
  Hits                    ?    6119
  Misses                  ?   82852
  Partials                ?     508

Flag
Coverage Δ

#aFlag
6.83% <ø> (?)

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 8db7d00...8c0086a. Read the comment docs.


Left-censoring

I wrote before in the README of the deleted test branch:

Unsure to be implemented

Left-censoring (I have difficulty understanding and implementing it)

I think this is a good feature to have, but I also think lots of refactoring of the hsmm_core is needed.

See the left-censoring branch for progress. Aside from implementation of left-censoring itself, I am making the repo more "venv-friendly" for testing.

Initial implementation completed. Further testing needed. See commits a33f43dcad81081fa90de1d3d559eacedde379d5 and c6dc4532b66e55de1f41933fc2af414fe721ef56.


minor updates

I remember adding yarn func-test and yarn network-score-test... Will confirm and then approve this.


Documentation Updates for 0.5 Release

Documentation updates for 0.5 release, which includes:

Updated list of tiling property file parameters
Incorporation of JSDocs build for Tile Client API
Other edits for clarity

Aside from that one issue, everything looks good.  I'll hold off on merging until the remaining fixes are in, just in case there's something that impacts docs.

@kbirk , can you please look over the changes made to document your code changes?

Specifically SHA: 671d7a947b22287128a79f092e43061aaee29d70. @cdbethune has reviewed the earlier commits.


Bugfix boundingbox rotationhandle #2

Overview
following #6528, which introduces bug #6582

now rotating depending on the handle edge orientation (and no the visual mesh itself)

also fixes for scale handles : this seems to work fines with the example scene, but it's hard to know if it will work in every situation.
this fix will use the center of the mesh as the center of the box collider and will rotate accordingly ot the corner, another option would be to center iton the exact corner position (that's the commit jsut before that sets the center at Vector3.zero

a unittest checking if the mesh isinside the handleboxcollider won't guarantee it either (box collider size does not depends sololy on the mesh, but mosty on 'size' and 'padding' properties)
Changes

Fixes: #6582 and #6507.

Verification

double check my math :)
feel free to cherrypick what you want or do another PR if this can speed up the process for 2.2.0

This optional section is a place where you can detail the specific type of verification
you want from reviewers. For example, if you want reviewers to checkout the PR locally
and validate the functionality of specific scenarios, provide instructions
on the specific scenarios and what you want verified.
If there are specific areas of concern or question feel free to highlight them here so
that reviewers can watch out for those issues.
As a reviewer, it is possible to check out this change locally by using the following
commands (substituting {PR_ID} with the ID of this pull request):
git fetch origin pull/{PR_ID}/head:name_of_local_branch
git checkout name_of_local_branch

hmmm, seems this PR got a few commits that should not be merge in stabilization :p
sorry about that.

/azp run

seems this PR got a few commits that should not be merge in stabilization

@gilbdev No worries! I retargeted this down to your commits only


fix: added the option to view  cached data source in list page

fixes: https://issues.redhat.com/browse/DFMS-227

Note: the text changes are not here yet, once it is merged will take a screenshot and attach it here.

/assign @SanjalKatiyar

/approve
/lgtm


Upgrade mvel and jpbm/optaplanner/drools etc.

Now the OSGi features also works and the karaf feature validation passes

Yeah this is going into M2


Add a way to clear or reset the animation.

It would be useful to have an effect similar to swap, but which returns the original child:
Currently to create a complex sequence you can do something like this (from the README):
Widget text = Text("Hello World!");

// then:
text.animate().fadeOut(300.ms) // fade out & then...
  .swap(builder: (_) => text.animate().fadeIn()) // swap in original widget & fade back in

But the need to save off the original child is a pain point. We could do something like this:
Text("Hello World!").animate().fadeOut(300.ms) // fade out & then...
  .clear(builder: (child) => child.animate().fadeIn()) // swap in original widget & fade back in

Note, this would still take a bit of tricky logic unless we add it at the engine level (like ThenEffect). It could potentially iterate through ancestors until it finds the Animate instance, then grab its child.


Add checking singleton exists or not and skipping install

Introduced two flags --check-cert-manager and --check-licensing to implement singleton checking and skipping installation.
The two flags are not included in the usage so that they are not exposed to other users.
Olm-utils side could directly call setup_singleton.sh --check-cert-manager to check whether cert manager is installed or not. The scripts will exit with 1 if no operator found after one minute waiting.

close it as it is for wrong branch


az webapp config ssl bind clears Web App tags

Describe the bug
After running the command az webapp config ssl bind -g <resource-group> --name <app-service-name> --certificate-thumbprint <thumbprint> --ssl-type SNI, the Web App tags collection is empty
Same behavior with unbind.
To Reproduce

Add tags to a Web App
Add a custom domain (Required)
Upload an SSL certificate
Bind the certificate to the Web App using this command: az webapp config ssl bind -g <resource-group> --name <app-service-name> --certificate-thumbprint <thumbprint> --ssl-type SNI

After the command succeeds, check the Tags collection. It's empty.
Expected behavior
Tags collection should not be modified by the operation
Environment summary
Azure Cloud Shell (Bash)
CLI version 2.0.42
Additional context
Add any other context about the problem here.

@panchagnula , i will take this one unless you are interested

Sure thank you.

Was this fixed? My Azure Cloud Shell CLI version is now 2.0.43 and this problem went away apparently.

@Costo, I have not submitted any change for this, but since you are at it, can you double check the repro? This command indeed recreates the site payload w/o propagating the original data, which I thought would be the root cause; however if it works, then I would not touch it.

So I created a new Web App from scratch and I could not reproduce this problem. However, I did the same repro on an existing Web App (the same I used when I reported this issue) and the problem is still definitely there.

@Costo, I have tried 5 times but no lucks to reproduce. If you find a repro, please share. At the same time in  PR #7023, I have updated our test suites to cover this scenario in a hope to see a repro.
For now, I don't plan to update CLI's command code till we understand the root cause.

Closing since we can't find a repro


Add parameter in equation

Hi!
Do you know how to add paramters in advection-diffusion model such as porosity, permeability ... ? (model 6)
Also where can I find my_model.h_transport_problem.F ?
Thanks a lot!

Closing as the discussion moved here


Pass meta to validator

Pull Request Description
What issue does this change request address?
Refs #60
What are the significant changes in functionality due to this change request?
This commit add the meta variable as a parameter to the Validator class method
validate.

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[x] 1. Review all computer code.
[x] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[x] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass.
[x] 5. If significant functionality is added, there must be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large tes.
[x] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[x] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[x] 8. If an analytic test is changed/added, the the analytic documentation must be updated/added.
[x] 9. If any test used as a basis for documentation examples have been changed, the associated documentation must be reviewed and assured the text matches the example.

Job CentOS 8 on 7681f0e : invalidated by @PaulTalbot-INL
new relevant RAVEN merge requires resetting tests

Job CentOS 8 on 7681f0e : invalidated by @PaulTalbot-INL
new relevant RAVEN merge requires resetting tests

@PaulTalbot-INL This is ready for review. Thanks.

@PaulTalbot-INL This is ready for review. Thanks.


Reenable warning 22 across the codebase

Disabling warning 22 hides a variety of important warnings, including warnings regarding unused variables. This PR reenables this warning across all libraries, and patches up those libraries so that no warnings are triggered. As part of this, I disabled a lint in ppx_version where we do not allow stable type versions other than Stable.Latest to be referenced outside of [%%versioned: ...] blocks. I do not believe this check is necessary, and there are many places in the codebase where we are interested in referencing the old type versions.

!ci-build-me

!ci-build-me

!ci-build-me

!approved-for-mainnet


Evaluate using inweight and refweight instead of masking inputs of FLIRT

Cost Function Weighting
Weighting volumes can be specified using -refweight, -inweight (or both). This allows the cost function to have a different weighting at each voxel, which is useful for excluding areas (weight=0) of no interest, or increasing the weighting around important structures such as the ventricles. Note that this is different from masking the original images, as masking introduces artificial boundaries whereas weighting does not.

https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FLIRT/UserGuide

That was a silly idea. Masking images explicitly (zero out of mask voxels) works out much better.


After the PC hangs MariaDB not starting

Codebase
mounted codebase
Describe your issue
Access denied to mariadb with error

mysqli_real_connect(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name does not resolve

Output of docker info
 Containers: 20
 Running: 6
 Paused: 0
 Stopped: 14
Images: 10
Server Version: 18.06.1-ce
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 468a545b9edcd5932818eb9de8e72413e616e86e
runc version: 69663f0bd4b60df09991c08812a60108003fa340
init version: fec3683
Security Options:
 seccomp
  Profile: default
Kernel Version: 4.18.9-1-MANJARO
Operating System: Manjaro Linux
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 3.765GiB
Name: dev
ID: GU7P:BIZS:OWLW:ZHTK:UN35:6CD3:OEIQ:FMBU:PCCE:MUKZ:EYWN:BSIK
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 <IP_ADDRESS>/8
Live Restore Enabled: false

Contents of your docker-compose.yml
version: "3"

services:
  mariadb:
    image: wodby/mariadb:$MARIADB_TAG
    container_name: "${PROJECT_NAME}_mariadb"
    stop_grace_period: 30s
    environment:
      MYSQL_ROOT_PASSWORD: $DB_ROOT_PASSWORD
      MYSQL_DATABASE: $DB_NAME
      MYSQL_USER: $DB_USER
      MYSQL_PASSWORD: $DB_PASSWORD
#    volumes:
#      - ./mariadb-init:/docker-entrypoint-initdb.d # Place init .sql file(s) here.
#      - /path/to/mariadb/data/on/host:/var/lib/mysql # Use bind mount

Logs output docker-compose logs
mariadb | 2018-10-06  7:54:38<PHONE_NUMBER>90216 [Note] mysqld (mysqld 10.1.36-MariaDB) starting as process 1 ...
mariadb | 2018-10-06  7:54:38<PHONE_NUMBER>90216 [Note] InnoDB: Using mutexes to ref count buffer pool pages
mariadb | 2018-10-06  7:54:38<PHONE_NUMBER>90216 [Note] InnoDB: The InnoDB memory heap is disabled
mariadb | 2018-10-06  7:54:38<PHONE_NUMBER>90216 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
mariadb | 2018-10-06  7:54:38<PHONE_NUMBER>90216 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
mariadb | 2018-10-06  7:54:38<PHONE_NUMBER>90216 [Note] InnoDB: Compressed tables use zlib 1.2.11
mariadb | 2018-10-06  7:54:38<PHONE_NUMBER>90216 [Note] InnoDB: Using Linux native AIO
mariadb | 2018-10-06  7:54:38<PHONE_NUMBER>90216 [Note] InnoDB: Using SSE crc32 instructions
mariadb | 2018-10-06  7:54:38<PHONE_NUMBER>90216 [Note] InnoDB: Initializing buffer pool, size = 128.0M
mariadb | 2018-10-06  7:54:38<PHONE_NUMBER>90216 [Note] InnoDB: Completed initialization of buffer pool
mariadb | 2018-10-06  7:54:38<PHONE_NUMBER>90216 [Note] InnoDB: Highest supported file format is Barracuda.
mariadb | 2018-10-06  7:54:38<PHONE_NUMBER>90216 [Note] InnoDB: Starting crash recovery from checkpoint LSN=120863398
mariadb | 2018-10-06  7:54:38<PHONE_NUMBER>90216 [ERROR] InnoDB: space header page consists of zero bytes in tablespace ./drupal/cache_default.ibd (table drupal/cache_default)
mariadb | 2018-10-06  7:54:38<PHONE_NUMBER>90216 [Note] InnoDB: Page size:1024 Pages to analyze:64
mariadb | 2018-10-06  7:54:38<PHONE_NUMBER>90216 [Note] InnoDB: Page size: 1024, Possible space_id count:0
mariadb | 2018-10-06  7:54:38<PHONE_NUMBER>90216 [Note] InnoDB: Page size:2048 Pages to analyze:32
mariadb | 2018-10-06  7:54:38<PHONE_NUMBER>90216 [Note] InnoDB: Page size: 2048, Possible space_id count:0
mariadb | 2018-10-06  7:54:38<PHONE_NUMBER>90216 [Note] InnoDB: Page size:4096 Pages to analyze:16
mariadb | 2018-10-06  7:54:38<PHONE_NUMBER>90216 [Note] InnoDB: Page size: 4096, Possible space_id count:0
mariadb | 2018-10-06  7:54:38<PHONE_NUMBER>90216 [Note] InnoDB: Page size:8192 Pages to analyze:8
mariadb | 2018-10-06  7:54:38<PHONE_NUMBER>90216 [Note] InnoDB: Page size: 8192, Possible space_id count:0
mariadb | 2018-10-06  7:54:38<PHONE_NUMBER>90216 [Note] InnoDB: Page size:16384 Pages to analyze:4
mariadb | 2018-10-06  7:54:38<PHONE_NUMBER>90216 [Note] InnoDB: Page size: 16384, Possible space_id count:0
mariadb | 2018-10-06  7:54:38<PHONE_NUMBER>90216 [Note] InnoDB: Page size:32768 Pages to analyze:2
mariadb | 2018-10-06  7:54:38<PHONE_NUMBER>90216 [Note] InnoDB: Page size: 32768, Possible space_id count:0
mariadb | 2018-10-06  7:54:38<PHONE_NUMBER>90216 [Note] InnoDB: Page size:65536 Pages to analyze:1
mariadb | 2018-10-06  7:54:38<PHONE_NUMBER>90216 [Note] InnoDB: Page size: 65536, Possible space_id count:0
mariadb | 2018-10-06 07:54:38 7fee020d9b88  InnoDB: Operating system error number 2 in a file operation.
mariadb | InnoDB: The error means the system cannot find the path specified.
mariadb | InnoDB: If you are installing InnoDB, remember that you must create
mariadb | InnoDB: directories yourself, InnoDB does not create them.
mariadb | InnoDB: Error: could not open single-table tablespace file ./drupal/cache_default.ibd
mariadb | InnoDB: We do not continue the crash recovery, because the table may become
mariadb | InnoDB: corrupt if we cannot apply the log records in the InnoDB log to it.
mariadb | InnoDB: To fix the problem and start mysqld:
mariadb | InnoDB: 1) If there is a permission problem in the file and mysqld cannot
mariadb | InnoDB: open the file, you should modify the permissions.
mariadb | InnoDB: 2) If the table is not needed, or you can restore it from a backup,
mariadb | InnoDB: then you can remove the .ibd file, and InnoDB will do a normal
mariadb | InnoDB: crash recovery and ignore that table.
mariadb | InnoDB: 3) If the file system or the disk is broken, and you cannot remove
mariadb | InnoDB: the .ibd file, you can set innodb_force_recovery > 0 in my.cnf
mariadb | InnoDB: and force InnoDB to continue crash recovery here.
mariadb | 181006  7:54:38 [ERROR] mysqld got signal 6 ;
mariadb | This could be because you hit a bug. It is also possible that this binary
mariadb | or one of the libraries it was linked against is corrupt, improperly built,
mariadb | or misconfigured. This error can also be caused by malfunctioning hardware.
mariadb |
mariadb | To report this bug, see https://mariadb.com/kb/en/reporting-bugs
mariadb |
mariadb | We will try our best to scrape up some info that will hopefully help
mariadb | diagnose the problem, but since we have already crashed,
mariadb | something is definitely wrong and this may fail.
mariadb |
mariadb | Server version: 10.1.36-MariaDB
mariadb | key_buffer_size=134217728
mariadb | read_buffer_size=131072
mariadb | max_used_connections=0
mariadb | max_threads=102
mariadb | thread_count=0
mariadb | It is possible that mysqld could use up to
mariadb | key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 355126 K  bytes of memory
mariadb | Hope that's ok; if not, decrease some variables in the equation.
mariadb |
mariadb | Thread pointer: 0x0
mariadb | Attempting backtrace. You can use the following information to find out
mariadb | where mysqld died. If you see no messages after this, something went
mariadb | terribly wrong...
mariadb | Cannot determine thread, fp=0x7ffe497f9090, backtrace may not be correct.
mariadb | Stack range sanity check OK, backtrace follows:
mariadb | 0x55753a30a7fd
mariadb | 0x7fee01e8ef1b
mariadb | 0x55753a5fe1fa
mariadb | New value of fp=0x87007 failed sanity check, terminating stack trace!
mariadb | Please read http://dev.mysql.com/doc/refman/5.1/en/resolve-stack-dump.html
mariadb | and follow instructions on how to resolve the stack trace.
mariadb | Resolved stack trace is much more helpful in diagnosing the
mariadb | problem, so please do resolve it
mariadb | The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
mariadb | information that should help you find out what is causing the crash.

mariadb | 2018-10-06  7:54:38<PHONE_NUMBER>90216 [ERROR] InnoDB: space header page consists of zero bytes in tablespace ./drupal/cache_default.ibd (table drupal/cache_default)

That's the problem you should resolve. If you don't care about data safety in db, try cleaning up the volume


import syntax suggestion

So, I've been thinking about a new syntax for import statements for a while, and I think I found something that most people will like. I'm opening this issue so that people can discuss about this syntax in a peaceful way, in order to make the perfect syntax (well, maybe not everybody will like it, but I hope that most people will).
Keep in mind that this syntax is still a WIP and I think has a lot of room for improvements.
The syntax was inspired by these languages:

Python,
CoffeeScript/Livescript

It's also really flexible so it fits multiple cases & personal preferences.
Alright, so the syntax would follow these simple rules:

from package import module: for importing only one module,
from package import [module1, module2]: for multiple modules (you can have as many modules you want),
import package: for importing all modules in a package

The same applies to subpackages:

from package.subpackage import module, etc.

Example
from luxe import [
	Input, Scene, Sprite
	Visual, Color, AppConfig
	Particles, Entity, Text
] #CoffeeScript arrays are used for list of modules
from luxe.structural import [Pool, Bag]
from luxe.options import GeometryOptions

from mint import Control
from mint.types import Types
from mint.render.luxe import [LuxeMintRender, Convert]
from mint.layout.margins import Margins

import states

output:
import luxe.Input;
import luxe.Scene;
import luxe.Sprite;
import luxe.Visual;
import luxe.Color;
import luxe.Vector;
import luxe.AppConfig;
import luxe.Particles;
import luxe.Entity;
import luxe.Text;
import luxe.structural.Pool;
import luxe.structural.Bag;
import luxe.options.GeometryOptions;

import mint.Control;
import mint.types.Types;
import mint.render.luxe.LuxeMintRender;
import mint.render.luxe.Convert;
import mint.layout.margins.Margins;

import states.*;

Import blocks
As you can see, the example code is quite redundant (lots of from & import), so it could also support an optional syntax for less redundancy in the code:
import! #the exclamation mark tells the compiler that this is an import block
  luxe: [
      Input, Scene, Sprite
      Visual, Color, AppConfig
      Particles, Entity, Text
    ] #the first item is the list of modules that are part of the main package
    structural: [Pool, Bag] #subpackages are nested objects
    options: GeometryOptions
  mint: Control
    types: Types
    render.luxe: [LuxeMintRender, Convert]
    layout.margins: Margins #when there's no need to nest a subpackage, use the . shorthand
  states: *

TODO: find syntax for conditional compilation
This code would be compiled in the same way as the previous example. It would work the exact same way as CoffeeScript object notation, except for the first item in the list (as you can see in the example above)

So, what do you think about the syntax?
Please share your opinions below as it is the only way we can progress :smile:
Take a look at the gist
P.S. Sorry for long issue, here's some potatoes

Not sure for this one, but here is an alternative syntax for import!
import!
  luxe:
    -: [
        Input, Scene, Sprite
        Visual, Color, AppConfig
        Particles, Entity, Text
      ]
    structural: [Pool, Bag]
    options: GeometryOptions
  mint:
    -: Control
    render.luxe: [LuxeMintRenderer, Convert]
    layout.margins: Margins
  states: *

Basically, it adds a special child, being -, that is used for the modules in the parent package. I think that this would be way easier for parsing, so what do you think about it?
Note that the - could be any other symbol that is available.

This looks really awesome, and I will definitely try to implement it. Not sure about that "Import blocks" tho.


unhandled promise rejection

hi, thanks for this great library !
I tried to implement it into my application, having the issue if a device is not reachable the code crash with error below 👍
unhandled promise rejection: connect EHOSTUNREACH <IP_ADDRESS>:6053
(1931) Error: connect EHOSTUNREACH <IP_ADDRESS>:6053 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1144:16)
Exception-Code: EHOSTUNREACH: connect EHOSTUNREACH <IP_ADDRESS>:6053

Not sure if its caused by the lib or the way I call the Code, can you give me a hint?

Hi, I can suppose some EventEmmiter's error event is not handled. Since error event is special(if there is no callback added - EventEmmiter throws an unhandled error) and every class in this library extends EventEmmiter - you should add callbacks to Client, Connection or any Entity class:
client.on('error', console.error)
// or
connection.on('error', console.error)
// or
light.on('error', console.error)
// etc

Also it is common that error event is incapsulated and propagates from inner objects. So generally you have to add the callback to only one object.
*I just realized that errors are not propates from entities to client object. So I gonna add it tomorrow.
If this fairy tail does not help you, please, share a minimalistic reprodative code.

*I just realized that errors are not propates from entities to client object.  Indeed relooked my code and forgot to have the .on('error') implemented causing the error.
Lets say that .... more coffee is needed at some moments
Thank you for you help and great module !


HasyCtrl compatibility

Thanks for the PR.
I was sondering why the conversion is hw_memorized?
And could you please add some installation requirements/depedencies to the README?


Waybar doesn't launch anymore when mirrored display is connected

System Info and Version
 System/Version info
Hyprland, built from branch main at commit 9994b73ad0af5c9ba5fc4058234cea77d0a1ddb1  (buffer: track asynchronous buffers and don't release them until unref).
Date: Sat Jun 8 17:27:56 2024
Tag: v0.40.0-176-g9994b73a, commits: 4782

flags: (if any)

System Information:
System name: Linux
Node name: zjeffer
Release: 6.9.3-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Fri, 31 May 2024 15:14:45 +0000

GPU information:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104M [GeForce RTX 3070 Mobile / Max-Q] [10de:24dd] (rev a1) (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:
  split-monitor-workspaces by Duckonaut ver 1.1.0

======Config-Start======

Config File: /home/zjeffer/.config/hypr/hyprland.conf: Read Succeeded
# ###################################################################
# ██╗  ██╗██╗   ██╗██████╗ ██████╗ ██╗      █████╗ ███╗   ██╗██████╗
# ██║  ██║╚██╗ ██╔╝██╔══██╗██╔══██╗██║     ██╔══██╗████╗  ██║██╔══██╗
# ███████║ ╚████╔╝ ██████╔╝██████╔╝██║     ███████║██╔██╗ ██║██║  ██║
# ██╔══██║  ╚██╔╝  ██╔═══╝ ██╔══██╗██║     ██╔══██║██║╚██╗██║██║  ██║
# ██║  ██║   ██║   ██║     ██║  ██║███████╗██║  ██║██║ ╚████║██████╔╝
# ╚═╝  ╚═╝   ╚═╝   ╚═╝     ╚═╝  ╚═╝╚══════╝╚═╝  ╚═╝╚═╝  ╚═══╝╚═════╝
# ###################################################################

$HYPR_FOLDER = ~/.config/hypr
$APP_FOLDER = $HYPR_FOLDER/apps
$CONFIG_FOLDER = $HYPR_FOLDER/configs

source = $CONFIG_FOLDER/env.conf

source = $CONFIG_FOLDER/general.conf
source = $CONFIG_FOLDER/animations.conf
source = $CONFIG_FOLDER/decoration.conf
source = $CONFIG_FOLDER/monitors.conf
source = $CONFIG_FOLDER/window_rules.conf
source = $CONFIG_FOLDER/keybinds.conf
source = $CONFIG_FOLDER/input.conf
source = $CONFIG_FOLDER/workspace_rules.conf
source = $CONFIG_FOLDER/plugins.conf

# Execute your favorite apps at launch
exec-once = xhost + local:
exec-once = hyprctl setcursor capitaine-cursors-light 24
exec-once = /usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = hyprpaper --config $APP_FOLDER/hyprpaper.conf
exec-once = nm-applet
exec-once = dunst
exec-once = ~/.config/activePlayer/mediaplayers.sh 2>~/.config/activePlayer/.mediaplayer.err
exec-once = hyprpm reload -n
exec-once = ydotoold
exec-once = bash $APP_FOLDER/waybar/launch.sh
exec-once = swayosd-server

# this should always be at the bottom
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP

Config File: /home/zjeffer/.config/hypr/configs/env.conf: Read Succeeded
# Some default env vars.
env = XCURSOR_SIZE,28
env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = SDL_VIDEODRIVER,wayland
env = _JAVA_AWT_WM_NONREPARENTING,1

env = __GL_GSYNC_ALLOWED,0
env = __GL_VRR_ALLOWED,0
env = __GLX_VENDOR_LIBRARY_NAME,nvidia

env = WLR_DRM_NO_ATOMIC,1
env = GBM_BACKEND,nvidia-drm
env = XDG_CURRENT_DESKTOP,Hyprland

env = QT_AUTO_SCREEN_SCALE_FACTOR,1
env = QT_QPA_PLATFORM,wayland
env = QT_QPA_PLATFORMTHEME,qt6ct
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env = DESKTOP_SESSION,gnome
env = MOZ_ENABLE_WAYLAND,1

# gtk
env = GDK_BACKEND,wayland

# xdg stuff
env = XDG_CONFIG_HOME,$HOME/.config
env = XDG_CACHE_HOME,$HOME/.cache
env = XDG_DATA_HOME,$HOME/.local/share
env = XDG_DATA_DIRS,/usr/local/share:/usr/share
env = XDG_CONFIG_DIRS,/etc/xdg

# environment variables to use in configs
env = EWW_CONFIG_DIR,$HOME/.config/eww
env = APP_FOLDER,$HOME/.config/hypr/apps
env = PLUGIN_FOLDER,$HOME/.local/share/hyprload/plugins/bin

Config File: /home/zjeffer/.config/hypr/configs/general.conf: Read Succeeded

general {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more

    gaps_in = 5
    gaps_out = 10

    border_size = 4
    col.active_border = rgba(5e81acff)
    col.inactive_border = rgba(00000000)

    layout = dwindle
}

dwindle {
    # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
    pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section
    preserve_split = true # you probably want this
}

master {
    # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
    new_is_master = true
}

misc {
  vrr = 1
  focus_on_activate = true
  force_default_wallpaper = 0
  initial_workspace_tracking = 0
}

debug {
  overlay = false
  disable_logs = false
  disable_time = false
  error_limit = 1
  error_position = 2 # bottom
}

Config File: /home/zjeffer/.config/hypr/configs/animations.conf: Read Succeeded
animations {
    enabled = true

    # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
    animation = windows, 1, 1, default
    animation = windowsOut, 1, 2, default
    animation = border, 1, 5, default
    animation = borderangle, 1, 8, default
    animation = fade, 1, 3, default
    animation = workspaces, 1, 4, default
    animation = specialWorkspace, 1, 4, default, slidevert
}

Config File: /home/zjeffer/.config/hypr/configs/decoration.conf: Read Succeeded

decoration {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more
    rounding = 5

    blur {
      enabled = true
      size = 15
      passes = 2
      ignore_opacity = true
      new_optimizations = true
    }
    drop_shadow = true
    shadow_range = 4
    shadow_render_power = 3
    col.shadow = rgba(2e3440ee)
    col.shadow_inactive = rgba(00000000)
}

Config File: /home/zjeffer/.config/hypr/configs/monitors.conf: Read Succeeded
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=desc:California Institute of Technology 0x1600<EMAIL_ADDRESS>1920x0, 1
monitor=desc:Acer Technologies K222HQL T0EEE0018512, 1920x1080, 4480x0, 1
monitor=desc:Philips Consumer Electronics Company PHL 240V5A UK01715035811, 1920x1080, 0x0, 1

monitor=desc:DENON Ltd. DENON-AVR 0x01010101, preferred, auto, 1, mirror, desc:California Institute of Technology 0x1600 # Denon

monitor=,preferred,auto,1

Config File: /home/zjeffer/.config/hypr/configs/window_rules.conf: Read Succeeded
windowrulev2 = float, title:^(Open Folder)$
windowrulev2 = float, title:^(Open File)$
windowrulev2 = float, title:^(Save As)$
windowrulev2 = float, title:^(Friends List)$
windowrulev2 = float, title:^(File Operation Progress)$
windowrulev2 = float, title:^(Firefox — Sharing Indicator)$
windowrulev2 = suppressevent fullscreen,float, title:^(Extension: (Bitwarden - Free Password Manager) - — Mozilla Firefox)$
windowrulev2 = suppressevent fullscreen,float, title:^(Extension: (Bitwarden - Free Password Manager) - Bitwarden — Mozilla Firefox)$
# windowrulev2 = suppressevent fullscreen,tile,class:^(libreoffice.*)$
windowrulev2 = float, class:^(flameshot)$
windowrulev2 = noanim, float, class:^(Rofi)$
windowrulev2 = float, class:^(org.gnome.Calculator)$
# opacity
windowrulev2 = opacity 0.85, class:[gG]nome-terminal*
windowrulev2 = opacity 0.85, class:kitty
windowrulev2 = opacity 0.90, initialTitle:^(Spotify( Premium)?)$
windowrulev2 = opacity 0.90, class:Code
windowrulev2 = opacity 0.90, class:Code - Insiders
windowrulev2 = opacity 0.90, class:code-url-handler
windowrulev2 = opacity 0.90, class:code-insiders-url-handler
windowrulev2 = opacity 0.80, class:[Tt]hunar
windowrulev2 = opacity 0.70, class:Dunst
windowrulev2 = opacity 0.95, class:discord

# flameshot workaround
windowrulev2=move 0 0,title:^(flameshot)
windowrulev2=suppressevent fullscreen,title:^(flameshot)

# steam friends list workaround
windowrulev2 = stayfocused, title:^()$,class:^(steam)$
windowrulev2 = minsize 200 500, initialTitle:^(Friends List)$,initialClass:^(steam)$

Config File: /home/zjeffer/.config/hypr/configs/keybinds.conf: Read Succeeded
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER

# window control
bind = $mainMod, W, killactive,
bind = $mainMod SHIFT, W, exec, kill -9 $(hyprctl activewindow -j | jq -r '.pid')
bind = $mainMod CTRL SHIFT, Escape, exit,
bind = $mainMod, S, togglefloating,
bind = $mainMod, F, fullscreen

bind = $mainMod, P, pseudo,      # dwindle
bind = $mainMod, J, togglesplit, # dwindle

# reload hyprland and send a inotify reload to waybar at .config/waybar/config.json
bind = $mainMod, Escape, exec, hyprctl reload && hyprpm reload && sleep 0.5 && touch -m $APP_FOLDER/waybar/config.jsonc

# applications
bindr = $mainMod, SUPER_L, exec, ~/.config/rofi/bin/launcher_colorful
bind = $mainMod, return, exec, kitty
bind = $mainMod SHIFT, return, togglespecialworkspace
bind = $mainMod, Z, exec, firefox
bind = $mainMod SHIFT, Z, exec, chromium
bind = $mainMod, X, exec, thunar
bind = $mainMod, A, exec, /usr/bin/spotify --enable-features=UseOzonePlatform --ozone-platform=wayland
bind = $mainMod, Q, exec, code
bind = $mainMod, D, exec, discord --enable-features=UseOzonePlatform --ozone-platform=wayland
bind = ,Print,exec, grimblast copy area
bind = $mainMod, Print, exec, grimblast copy output
bind = $mainMod SHIFT, C, exec, hyprpicker -a -f hex
bind = CTRL SHIFT, Escape, exec, gnome-system-monitor

# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d

# move window with arrow keys
bind = $mainMod SHIFT, left, movewindow, l
bind = $mainMod SHIFT, right, movewindow, r
bind = $mainMod SHIFT, up, movewindow, u
bind = $mainMod SHIFT, down, movewindow, d

# Switch workspaces with mainMod + [0-5]
bind = $mainMod, 1, split-workspace, 1
bind = $mainMod, 2, split-workspace, 2
bind = $mainMod, 3, split-workspace, 3
bind = $mainMod, 4, split-workspace, 4
bind = $mainMod, 5, split-workspace, 5

# Move active window to a workspace with mainMod + SHIFT + [0-5]
bind = $mainMod SHIFT, 1, split-movetoworkspacesilent, 1
bind = $mainMod SHIFT, 2, split-movetoworkspacesilent, 2
bind = $mainMod SHIFT, 3, split-movetoworkspacesilent, 3
bind = $mainMod SHIFT, 4, split-movetoworkspacesilent, 4
bind = $mainMod SHIFT, 5, split-movetoworkspacesilent, 5

# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, r+1
bind = $mainMod, mouse_up, workspace, r-1

# focus with left/right bracket
bind = $mainMod, bracketleft, workspace, r-1
bind = $mainMod, bracketright, workspace, r+1

# move with shift + left/right bracket
bind = $mainMod SHIFT, bracketleft, movetoworkspace, r-1
bind = $mainMod SHIFT, bracketright, movetoworkspace, r+1

# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow

# media keys
bindle = , XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
bindle = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bind =, XF86AudioMute, exec, wpctl set-mute @DEFAULT_SINK@ toggle
bind =, XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_SOURCE@ toggle

bind =, XF86AudioPlay, exec, ~/.config/activePlayer/control.sh play-pause
bind =, XF86AudioPrev, exec, ~/.config/activePlayer/control.sh previous
bind =, XF86AudioNext, exec, ~/.config/activePlayer/control.sh next
bind =, XF86AudioStop, exec, ~/.config/activePlayer/control.sh stop

bind = SHIFT, XF86AudioPrev, exec, ~/.config/activePlayer/control.sh skipBackward
bind = SHIFT, XF86AudioNext, exec, ~/.config/activePlayer/control.sh skipForward

# brightness
binde = , XF86MonBrightnessUp, exec, brightnessctl -d nvidia* set +10%
binde = , XF86MonBrightnessDown, exec, brightnessctl -d nvidia* set 10%-

# screen lock
bindl= , switch:on:Lid Switch, exec, $APP_FOLDER/swaylock/lock.sh && sleep 2 && systemctl suspend-then-hibernate
bind = $mainMod, L, exec, $APP_FOLDER/swaylock/lock.sh

# forward and back with mouse buttons
bind = $mainMod, 123, exec, ydotool key 159:1 159:0
bind = $mainMod, 122, exec, ydotool key 158:1 158:0

# forward global shortcuts
bind = $mainMod SHIFT, N, pass, ^(io\.github\.nuttyartist\.notes)$

# passthrough mainMod to virtual machine
bind = $mainMod, O, submap, passthru
submap = passthru
bind = $mainMod, I, submap, reset
submap = reset

# # ### swayosd ###
bind = , XF86AudioRaiseVolume, exec, swayosd-client --output-volume
bind = , XF86AudioLowerVolume, exec, swayosd-client --output-volume
# # Sink volume toggle mute
# bind = , XF86AudioMute, exec, swayosd-client --output-volume mute-toggle
# # Source volume toggle mute
# bind = , XF86AudioMicMute, exec, swayosd-client --input-volume mute-toggle

# # Brightness raise
# bind = , XF86MonBrightnessUp, exec, swayosd-client --brightness raise
# # Brightness lower
# bind = , XF86MonBrightnessDown, exec, swayosd-client --brightness lower

Config File: /home/zjeffer/.config/hypr/configs/input.conf: Read Succeeded
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
    kb_layout = us
    kb_variant =
    kb_model =
    kb_options =
    kb_rules =

    follow_mouse = 1

    touchpad {
        clickfinger_behavior = true
        scroll_factor = 0.25
        middle_button_emulation = true
        tap-and-drag = true
    }

    sensitivity = -0.5 # -1.0 - 1.0, 0 means no modification.

    numlock_by_default = 1
    repeat_rate = 50
    repeat_delay = 200
    accel_profile = flat
}

# Per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
device {
    name = msft0001:00-04f3:31ad-touchpad
    sensitivity = 0.4
    accel_profile = flat
    natural_scroll = true
}

gestures {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more
    workspace_swipe = true
}

misc {

}

Config File: /home/zjeffer/.config/hypr/configs/workspace_rules.conf: Read Succeeded
# generated by split-monitor-workspaces plugin
source = /tmp/hyprland-workspace-rules

workspace = special:special, on-created-empty:kitty, gapsout:96

Config File: /tmp/hyprland-workspace-rules: Read Succeeded
workspace = 6,monitor:DP-2,persistent:true
workspace = 7,monitor:DP-2,persistent:true
workspace = 8,monitor:DP-2,persistent:true
workspace = 9,monitor:DP-2,persistent:true
workspace = 10,monitor:DP-2,persistent:true
workspace = 11,monitor:HDMI-A-1,persistent:true
workspace = 12,monitor:HDMI-A-1,persistent:true
workspace = 13,monitor:HDMI-A-1,persistent:true
workspace = 14,monitor:HDMI-A-1,persistent:true
workspace = 15,monitor:HDMI-A-1,persistent:true
workspace = 16,monitor:eDP-1,persistent:true
workspace = 17,monitor:eDP-1,persistent:true
workspace = 18,monitor:eDP-1,persistent:true
workspace = 19,monitor:eDP-1,persistent:true
workspace = 20,monitor:eDP-1,persistent:true

Config File: /home/zjeffer/.config/hypr/configs/plugins.conf: Read Succeeded
plugin {
    split-monitor-workspaces {
        count = 5
        keep_focused = 1
        enable_notifications = 0
    }
}

======Config-End========

Bug or Regression?
Regression
Description
When I connect a mirrored display, Waybar doesn't launch. Started happening since I updated this morning, so it's probably due to 6967a31450441fc5605c05db6f65505dace4b263.
How to reproduce

Mirror one of your displays
Start waybar (default or near-empty config with just the clock module)

Crash reports, logs, images, videos
hyprland.log
waybar.log

give WAYLAND_DEBUG=1 of waybar

waybar.log with debug

looks like your bar is trying to launch on all displays. Can you make waybar ignore the mirroring one? (the one being the mirror, not the one mirrored)

Yes, I can do that, but before yesterday I didn't have to do it.

For anyone else having this issue, temporarily I added this line to my Waybar config:
"output": ["HDMI-A-1", "DP-2", "eDP-1"], // DP-1 is the mirror display, eDP-1 is the one mirrored.

I'd obviously rather not have to specify this, because these IDs might change depending on how I plugin my monitors.

patch.txt
try this patch uwu

That works! But hyprland did crash a couple of seconds after opening Waybar:
hyprlandCrashReport1163842.txt

patch.txt
wallahi I hate software development

Disconnecting the mirrored monitor (not the one being mirrored), and then reconnecting it seems to close all my windows, and remove my wallpaper (Hyprpaper seems to have crashed).
hyprland-windows-crashed.log

I hate software development

I think you might have chosen the wrong profession :D

hyprpaper segfault:
hyprpaper-segfault.log
I'll see if I can use gdb to debug this

a better one would be a WAYLAND_DEBUG=1 log from an app crashing

patch.txt
also try this

Ugh now I can't seem to reproduce the apps crashing. Hyprpaper segfault happens every time, though. I'll try the patch

New crash with the patch, when disconnecting the mirrored monitor: hyprlandCrashReport1329169.txt

Now I can't reproduce the segfault anymore, or the above crash... Previously it crashed twice in a row with your last patch...

soooo...?

So unless you see something obvious in the backtrace of my last crash, I think you can merge the patch and I'll let you know if I encounter any more crashes ;)

fixed?


WIP IPv6 safer structure

WIP
As discussed, this is a demo of the idea to store IPv6 in some type, to prevent unbound uint8_t * from being used.

Closing as this was used for discussion and I cannot now change the source branch


Basic numbers and strings for assignment 1.2

Some of this would probably be cleaner as .ipynb files, but I'm being lazy.


MemNN example does not reproduce paper results

The memnn implementation in the examples folder does not seem to reproduce the results reported in the corresponding paper. In particular, when run on task 2 it doesn't seem to converge to a solution. The implementation was pulled in by #4222.
Platform

Chainer version: 5.3.0
CuPy version: running on CPU
OS/Platform: Linux 4.15.0-38-generic #41-Ubuntu

Code to reproduce
We run the instructions from the readme with task 2 data:
python3 train_memnn.py data/tasks_1-20_v1-2/en/qa2_two-supporting-facts_train.txt data/tasks_1-20_v1-2/en/qa
2_two-supporting-facts_test.txt --model qa2model

Error messages, stack traces, or logs
The output of the above command:
Training data: data/tasks_1-20_v1-2/en/qa2_two-supporting-facts_train.txt: 200
Test data: data/tasks_1-20_v1-2/en/qa2_two-supporting-facts_test.txt: 200
epoch       main/loss   validation/main/loss  main/accuracy  validation/main/accuracy
1           3.50365     3.4641                0.15           0.187
2           3.43317     3.36324               0.21           0.187
3           3.30038     3.17261               0.21           0.187
4           3.05496     2.84275               0.21           0.187
5           2.66537     2.39886               0.21           0.187
6           2.25085     2.06654               0.21           0.187
7           1.99869     1.91604               0.21           0.187
8           1.88459     1.85773               0.21           0.187
9           1.83436     1.84326               0.21           0.187
--------
83          1.15372     2.02805               0.583          0.25
84          1.14651     2.03602               0.592          0.254
85          1.14041     2.05358               0.594          0.255
86          1.13725     2.06104               0.596          0.255
87          1.13028     2.06745               0.602          0.255
88          1.1207      2.07252               0.597          0.257
89          1.11511     2.0785                0.598          0.251
90          1.10864     2.08676               0.602          0.257
91          1.1021      2.10154               0.604          0.254
92          1.09391     2.10309               0.603          0.256
93          1.09071     2.11311               0.605          0.26
94          1.08164     2.12224               0.612          0.255
95          1.07694     2.13073               0.617          0.261
96          1.07041     2.14001               0.617          0.26
97          1.06327     2.14919               0.619          0.266
98          1.05924     2.16001               0.629          0.261
99          1.05256     2.16606               0.629          0.27
100         1.04679     2.17209               0.638          0.261

At 100 epochs the model seems to have just overfitted on the task although paper reference implementation without linear start converges to a solution.
We run the command 10 times and obtain the same behaviour each time. Is there a test, checked results for the example implementation of the memory network on the bAbI dataset?

I've reproduced your result, will look into it further.

1k training examples, BoW

Task
Test accuracy
Test error rate (%)

1
0.992
0.8

2
0.243
75.7

3
0.224
77.6

4
0.674
32.6

5
0.766
23.4

6
0.482
51.8

7
0.766
23.4

8
0.788
21.2

9
0.599
40.1

10
0.475
52.5

11
0.88
12

12
0.988
1.2

13
0.923
7.7

14
0.679
32.1

15
0.495
50.5

16
0.465
53.5

17
0.512
48.8

18
0.554
44.6

19
0.09
91

20
0.916
8.4

@nuric I've researched the test error rate for each task with 1k training examples and BoW sentence representation on Chainer. I show the result above, following test error rates on the paper.
I can read that task 2, 6, 14 and 20 have low reproducibility but I'm not sure how close the paper's result should be fine. Can you basically agree with the table?

@takagi I agree, we are observing a similar trend with our implementation as well. Especially tasks 2, 6 and 14 but if we the run reference implementation on task 2 with BoW and no linear start, we get:
Run 1:
97 | train error: 0 | val error: 0.20833
98 | train error: 0.0022321 | val error: 0.20833
99 | train error: 0.0022321 | val error: 0.19792
100 | train error: 0.0044643 | val error: 0.20833
test error: 0.18649

Run 2:
99 | train error: 0.0011161 | val error: 0.14583
100 | train error: 0.0011161 | val error: 0.14583
test error: 0.11089

Run 3:
98 | train error: 0 | val error: 0.20833
99 | train error: 0.0033482 | val error: 0.20833
100 | train error: 0.0022321 | val error: 0.20833
test error: 0.15827

So it seems the reference implementation is producing consistent results with perhaps the extra tricks they employ such as randomising time. Here is the exact configuration of the runs above from config_babi.m:
batch_size = 32;
nhops = 3;
nepochs = 100;
lrate_decay_step = 25; % reduce learning rate by half every 25 epochs

% use 10% of training data for validation
train_range = 1:floor(0.9 * size(questions,2));
val_range = (floor(0.9 * size(questions,2))+1):size(questions,2);
enable_time = true; % add time embedings
use_bow = true; % use Bag-of-Words instead of Position-Encoding
share_type = 1; % 1: adjecent, 2: layer-wise weight tying
randomize_time = 0.1; % amount of noise injected into time index
add_proj = false; % add linear layer between internal states
add_nonlin = false; % add non-linearity to internal states

config = {};
config.init_lrate = 0.01;
config.max_grad_norm = 40;
config.input_dim = 20;
config.out_dim = 20;

linear_start = false;
if linear_start
    ls_nepochs = 20;
    ls_lrate_decay_step = 21;
    ls_init_lrate = 0.01/2;
    config.init_lrate = 0.01/2;
end

config.sz = min(50, size(story,2));
config.voc_sz = length(dict);
config.bsz = batch_size;
config.max_words = size(story,1);
if enable_time
   config.voc_sz = config.voc_sz + config.sz;
   config.max_words = config.max_words + 1; % +1 for time words
end

So perhaps we are missing some of those extra configurations in the Chainer implementation that is causing the results to fluctuate (?)

Hmm, do you have idea to implement time embeddings and randomize_time to Chainer? I'm currently not sure about them and need to understand them first.

I thought time embeddings are just implemented by EmbedID as usual. The randomize_time seems to be a pre-process step that adds empty sentences that act as noise so the order of the sentences are not fixed during training. But the important bit is the attention needs to mask those entries out so the model cannot attend to the injected noise memory slots. I'm not sure if this alone would reproduce results either. Perhaps we can say update readme to say it is an approximate implementation of the one from the paper. What do you think?

Thanks. I also ask it to the original author of the Chainer version.
@unnonouno The memnn example implementation is supposed to have low reproducibility on some tasks on the paper. Please see the table above for the result I ran the code. Do you have any idea on how much difference of the error rates can be valid on this problem domain, or on what leads the differences against the paper?


log

Changes:
add log

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


Fix the content of the published npm package

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

Project coverage is 95.53%. Comparing base (1dfbfee) to head (925a423).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #35   +/-   ##
=======================================
  Coverage   95.53%   95.53%
=======================================
  Files          14       14
  Lines         493      493
  Branches       94       94
=======================================
  Hits          471      471
  Misses         21       21
  Partials        1        1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Build fails with undecipherable messages about a nonexistent macro

OS/Platform
Debian, Ubuntu, and derivatives
Installed
Compiled from source
Version
115.0.5790.99
Have you tested that this is not an upstream issue or an issue with your configuration?

[ ] I have tried reproducing this issue in Chrome and it could not be reproduced there
[ ] I have tried reproducing this issue in vanilla Chromium and it could not be reproduced there
[ ] I have tried reproducing this issue in ungoogled-chromium with a new and empty profile using --user-data-dir command line argument and it could not be reproduced there

Description
During boot, it dies off telling there is no TQ_OBJECT macro in a header.
How to Reproduce?

Use this flags.gn:

build_with_tflite_lib=false
chrome_pgo_phase=0
clang_use_chrome_plugins=false
disable_fieldtrial_testing_config=true
enable_hangout_services_extension=false
enable_mdns=false
enable_mse_mpeg2ts_stream_parser=true
enable_nacl=false
enable_reading_list=false
enable_remoting=false
enable_reporting=false
enable_service_discovery=false
enable_widevine=true
exclude_unwind_tables=true
google_api_key=""
google_default_client_id=""
google_default_client_secret=""
safe_browsing_mode=0
treat_warnings_as_errors=false
use_official_google_api_keys=false
use_unofficial_version_number=false

is_official_build=true
is_chrome_branded=false
is_chrome_for_testing=false
is_chrome_for_testing_branded=false

is_clang=true
is_component_build=false
optimize_webui=true

is_debug=false
symbol_level=0
blink_symbol_level=0
v8_symbol_level=0
v8_enable_backtrace=false
enable_iterator_debugging=false
blink_enable_generated_code_formatting=false

dcheck_always_on=false
is_cfi=false
use_thin_lto=false
angle_build_tests=false
build_dawn_tests=false
build_libsrtp_tests=false
enable_assistant_integration_tests=false
enable_downstream_media_tests=false
enable_nocompile_tests=false
enable_perfetto_integration_tests=false
enable_perfetto_unittests=false
enable_printing_unittests=false
enable_soda_integration_tests=false
force_enable_fieldtrial_testing_config=false
internal_gles2_conform_tests=false
internal_khronos_glcts_tests=false
rtc_include_tests=false
skia_enable_skshaper_tests=false
tint_build_unittests=false
use_base_test_suite=false
use_rts=false

use_gnome_keyring=false
use_pulseaudio=false
link_pulseaudio=false
use_alsa=true
use_cups=true
use_goma=false
use_kerberos=false
use_gio=true
use_sysroot=false
use_vaapi=true
enable_vr=false

enable_ffmpeg_video_decoders=true
media_use_ffmpeg=true
proprietary_codecs=true
ffmpeg_branding="Chrome"
use_webaudio_ffmpeg=true
use_webaudio_pffft=false

ozone_auto_platforms=false
ozone_platform="x11"
ozone_platform_cast=false
ozone_platform_drm=false
ozone_platform_flatland=false
ozone_platform_gbm=false
ozone_platform_headless=false
ozone_platform_scenic=false
ozone_platform_wayland=false
ozone_platform_x11=true
use_ozone=true

Build

Actual behaviour
Dies of with this error message:
FAILED: gen/qt_shim_moc.cc
python3 ../../ui/qt/moc_wrapper.py ../../ui/qt/qt_shim.h gen/qt_shim_moc.cc
../../ui/qt/qt_shim.h:55: Error: The declaration of the class "QtShim" contains signals or slots
         but no TQ_OBJECT macro.
Traceback (most recent call last):
  File "/root/kocsog_gugli/chromium/src/out/Release/../../ui/qt/moc_wrapper.py", line 10, in <module>
    subprocess.check_call(["moc", sys.argv[1], "-o", sys.argv[2]])
  File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['moc', '../../ui/qt/qt_shim.h', '-o', 'gen/qt_shim_moc.cc']' returned non-zero exit status 1.

Expected behaviour
Build.
Relevant log output
FAILED: gen/qt_shim_moc.cc
python3 ../../ui/qt/moc_wrapper.py ../../ui/qt/qt_shim.h gen/qt_shim_moc.cc
../../ui/qt/qt_shim.h:55: Error: The declaration of the class "QtShim" contains signals or slots
         but no TQ_OBJECT macro.
Traceback (most recent call last):
  File "/root/kocsog_gugli/chromium/src/out/Release/../../ui/qt/moc_wrapper.py", line 10, in <module>
    subprocess.check_call(["moc", sys.argv[1], "-o", sys.argv[2]])
  File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['moc', '../../ui/qt/qt_shim.h', '-o', 'gen/qt_shim_moc.cc']' returned non-zero exit status 1.

Additional context
Seems to be bypassable by setting use_qt to false, but it should not fail because of that.
Note: PyQt and PySide2 IS installed. (Python3.9 / Qt 5.15.2)

Have you found a solution?

No, i have not.

The problem is their tendency to use bundled things, which complicates things. You need to do some trickery with qt paths to make it work. See for example, how Gentoo does that: https://github.com/gentoo/gentoo/blob/11ca48169618e6ff6389697a25487def407d332e/www-client/chromium/chromium-115.0.5790.170.ebuild#L957-L985

Thanks. So, i have to add
use_qt=true
use_qt6=false
moc_qt5_path="/usr/lib/x86_64-linux-gnu/qt5/bin/"
use_system_libffi=true
ozone_platform_x11=true
ozone_platform_wayland=false
ozone_platform="x11"

to flags.gn. The latter three is already in, so i have to add the rest only.
BTW, why is setting Ozone's backend is so redundant? Would not be
ozone_platform_x11=true
ozone_platform_wayland=false

or
ozone_platform="x11"

enough?

BTW, why is setting Ozone's backend is so redundant?

You mean why is it so detailed in Gentoo? Because https://chromium.googlesource.com/chromium/src/+/HEAD/docs/ozone_overview.md#linux-desktop-x11-waterfall:

By default, Linux enables the following Ozone backends - X11, Wayland and Headless.

Please do not use issue tracker as a chat. We expect this issue tracker to be used solely for the issues with ungoogled-chromium itself and not as a general FAQ about building Chromium from source. Please try doing your own research on this first.
I'll close this issue as it is not an issue of ungoogled-chromium.

I did as you told. flags.gn:
use_system_libffi=true

ozone_auto_platforms=false
ozone_platform="x11"
ozone_platform_cast=false
ozone_platform_drm=false
ozone_platform_flatland=false
ozone_platform_gbm=false
ozone_platform_headless=false
ozone_platform_scenic=false
ozone_platform_wayland=false
ozone_platform_x11=true
use_ozone=true

use_gtk=false
use_aura=false
use_qt=true
use_qt6=false
moc_qt5_path="/usr/lib/x86_64-linux-gnu/qt5/bin/"

Result:
ERROR at //ui/wm/BUILD.gn:10:1: Assertion failed.
assert(use_aura)
^-----
See //ui/aura/BUILD.gn:245:5: which caused the file to be included.
    "//ui/wm",
    ^--------

Some updates:
According to this Arch bugticket (https://bugs.archlinux.org/task/76769) Qt5 cannot be used as the standalone TK, only in tandem with GTK3, or with Aura in this case. So, the solution would be that with Qt5 support enabled, Aura (or GTK3) must be enabled too, and the completed binary must be runned with option --enable-features=AllowQt.
So, i've set Aura to true too and started compiling. The result was the same as it was at the start:
[23449/53128] ACTION //ui/qt:generate_moc(//build/toolchain/linux:clang_x64)
FAILED: gen/qt_shim_moc.cc
python3 ../../ui/qt/moc_wrapper.py ../../ui/qt/qt_shim.h gen/qt_shim_moc.cc
../../ui/qt/qt_shim.h:55: Error: The declaration of the class "QtShim" contains signals or slots
         but no TQ_OBJECT macro.
Traceback (most recent call last):
  File "/root/kocsog_gugli/chromium/src/out/Release/../../ui/qt/moc_wrapper.py", line 10, in <module>
    subprocess.check_call(["moc", sys.argv[1], "-o", sys.argv[2]])
  File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['moc', '../../ui/qt/qt_shim.h', '-o', 'gen/qt_shim_moc.cc']' returned non-zero exit status 1.
[23458/53128] ACTION //content/browser/devtools:devtools_resources_grit(//build/toolchain/linux:clang_x64)
ninja: build stopped: subcommand failed.

I've grepped all the files in the source dir for moc_qt5_path and none of the files contain it. No surprise, that it cannot find moc. Maybe it is Gentoo-related.
However, as a workaround, i found out, that if i change a line in the file chromium/src/ui/qt/moc_wrapper.py from
subprocess.check_call(["moc", sys.argv[1], "-o", sys.argv[2]])

to
subprocess.check_call(["/usr/lib/x86_64-linux-gnu/qt5/bin/moc", sys.argv[1], "-o", sys.argv[2]])

then this error ceases and building continues.

No surprise, that it cannot find moc. Maybe it is Gentoo-related.

Indeed Gentoo applies https://gitweb.gentoo.org/repo/gentoo.git/tree/www-client/chromium/files/chromium-qt6.patch

The build successfully completed. However, it does not use Qt5 at all. I cannot switch to the Qt5 theme. It appears in the 'Appearance' menu, but i cannot switch.
objdump -p ./chrome also shows that there are no Qt5 libraries used.

Okay, it turned out, that if i compile it ALL with the toolkits, then Qt5 works. Apparently it needs GTK3 for compiling. For running, not necessarily. If i run the Qt5-capable chrome without LD_LIBRARY_PATH=/opt/gtk3/lib/, then it still works and picks up the theme, but has no dialogs (Aura bug?) and all UI fonts became very small, albeit still readable.
Now, if the Qt5 support is only partial, then i understand that it needs Aura or GTK3...but why both? And why does GTK3 needs Aura now? It did not needed it before.


Dependency override issue with 0.49.1

Description
Dependency override that is working in 0.48.1 is failing when switching to 0.49.1
Root dependency is failable. When scoping child feature, usable dependency is extracted from the root dependency.
Calling the dependency in child reducer BestOffers is getting the root failure.
Checklist

[ ] I have determined whether this bug is also reproducible in a vanilla SwiftUI project.
[ ] If possible, I've reproduced the issue using the main branch of this package.
[X] This issue hasn't been addressed in an existing GitHub issue or discussion.

Expected behavior
No response
Actual behavior
No response
Steps to reproduce
Sample project here: https://github.com/jaanussiim/tca-dependencies-issue
Scoping the usable dependency:
https://github.com/jaanussiim/tca-dependencies-issue/blob/main/TCADependencies/Application.swift#L29
Creating the child dependency:
https://github.com/jaanussiim/tca-dependencies-issue/blob/main/TCADependencies/OffersClient.swift#L22
The Composable Architecture version information
0.49.1
Destination operating system
iOS 16.2
Xcode version information
14.2
Swift Compiler version information
No response

Hey @jaanussiim!
The problem is that you modelled your dependency as a reference type. Between the moment you reduce BestOffers.Action.loadOffer and the moment it calls offersClient.loadOffers(), the OffersClient has changed back to the root one. You can check this out by capturing the offersClient reference in your .fireAndForget:
case .loadOffers:
  return EffectTask.fireAndForget { [offersClient = self.offersClient] in
    try await offersClient.loadOffers()
  }
}

This will not crash. But this will however be very prone to weird issues like these that are complex to debug. I think that you'd get warnings with the -warn-concurrency flag.
I'm not sure either you'll end-up sending message to the correct instances, but it looks like your dependency is a singleton, so it looks stable-ish.
I would advise to remodel your dependency into something that exposes a value type that can be safely captured by the .fireAndforget (and .run and .task) closures. I think that wrapping it in a struct should perform the capture trick automatically for you, and would probably be enough to fix your issue.
I'm not sure what has exactly changed between 48.1 and 49.1 (well, a lot has changed! but don't know what caused the difference of behavior), and I'm not sure this is a regression.

As I'm thinking about it, you were implicitly capturing the self reducer value in your .fireAndForget, and the value resolves using the current dependencies that are non-defaults because you did set the live value manually. I think that it would have worked if you weren't defining these live dependencies.
Given the way @Dependency are resolved, I think that they should still return what they saw when they were created, so it is maybe a regression after all.

Yeah there does seem to be some kind of regression here, but it's difficult to track down exactly why it's happening. Thomas' PR is probably the way to go, and in fact it's how I started with the concept but later moved to @Dependency thinking we want the latest binding possible. But in retrospect I guess it is more explicit to say "escape the dependencies as they exist right now" rather than "how they will exist at the time of access".
Independent of the PR and fix, I will also echo Thomas' sentiments on the actual dependency. Using a reference type is not going to be great because it allows changes to it to be observed outside dependency/withDependencies scopes. And it's true that your client cannot be made Sendable (due to the lazy var), and hence this code won't even compile in Swift 6.
So, I would also suggest turning this dependency into a sendable type, which means thinking of another way to handle the topOffers.

@jaanussiim You can bump Dependencies to 0.1.2 to see the fix. We'll also make sure the next release of TCA requires this version.


JSON2CAN: Fix PDM and DIM Tests

Summary

Tests fixed for both PDM and DIM
Changelist

Update tests to set faults and warnings using can rather than the SharedErrorTable
Update DIM LED logic to check CAN Fault/Warning messages to check for fault/warning condition of other boards
Add StackWatermarkAboveThresholdTask100Hz signal to FSM, DCM and DIM
7-seg tests for DIM temporarily commented out, to be addressed in #888

Testing Done

Existing unit tests for DIM and FSM ran, no test logic was changed, only how faults and warnings are set were updated.
Resolved Issues

Checklist
Please change [ ] to [x] when you are ready.

[x] I have read and followed the code conventions detailed in README.md (This will save time for both you and the reviewer!).
[x] If this pull request is longer then 500 lines, I have provided explicit justification in the summary above explaining why I cannot break this up into multiple pull requests (Small PR's are faster and less painful for everyone involved!).

less go


Update logback-classic, logback-core to 1.5.3

About this PR
📦 Updates

ch.qos.logback:logback-classic
ch.qos.logback:logback-core

from 1.2.13 to 1.5.3
Usage
✅ Please merge!
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!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "ch.qos.logback" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "ch.qos.logback" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #572.


cnspec: 11.23.1 -> 11.24.0

Diff: https://github.com/mondoohq/cnspec/compare/refs/tags/v11.23.1...v11.24.0
Changelog: https://github.com/mondoohq/cnspec/releases/tag/v11.24.0

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review pr 345749 run on x86_64-linux 1

1 package built:

cnspec


[TOB] Adds check for possible panics in FromBytes impls

Motivation
This PR adds guards for possible denial of service vectors in FromBytes implementations.
Example:
let num_ratifications = u32::read_le(&mut reader)?;
let mut ratifications = Vec::with_capacity(num_ratifications as usize);

This will cause a panic in 32-bit architectures if num_ratifications exceeds i32::MAX.
Some checks have explicit guards, other checks simply
TODO:

[ ] Add more defined checks instead of i32::MAX
[ ] Add checks in sonic_pc/data_structures

Finding: TOB-ALEO-1
Tracking PR: [Coming Soon]

Closing in favor of #2167


Move wrong password warning to next to the password field when fetching an API key through setting modal

Original chat: https://chat.zulip.org/#narrow/stream/6-frontend/topic/show.20a.20warning.20when.20password.20is.20wrong.20(fetch.20api.20key)/near/744694
When we want to fetch an API key from the setting modal, we have to input our password, but if the submitted password is wrong, the warning is shown at the top of the setting modal instead of being shown next to the password field. This is pretty confusing since most of the users won't notice the warning because they have to scroll to the top of the modal first.
How to reproduce:

Log in to Zulip.
Open settings.
In "Your account" tab, scroll down and find the API key section.
Click on "Show/change your API key"
Fill a wrong password in the current password field.
Click on "Get API key" button

Then the warning will be shown at the top of the setting modal.
Expected result:
The warning should be shown next to the password field.

Agreed; I guess we missed this in the "error feedback" migration.  Though it's potentially going to be done by accident in #10102; we might want to focus on that first.

Fixed in cbae51db63587b31636cfb92573972e633512fa8.


Player server finding

The player finding issue is still there, might be a problem with morhpia or saving but it always returns null.

I don't think this bug is fixed yet @exception


Page stutters on transitioning to new page

Describe the bug
Page stutters on going back to the home page. Or maybe just stutters between switching to a new page. (Maybe not visible in the gif below)

To Reproduce
Navigate to any page, and head back to home.
Expected behavior
The page shouldn't stutter.

Hi I would like to take up this please assign it to me thanks

@lakshmi14 Sure, all yours :)

Hi Jeremy,
I have fixed the issue. How to go about? Should I commit the code?

I have fixed the issue let me know if I can commit the same ?

Sure this looks good according to the gif you've shared! In order to commit, you'd have to open a PR so that we can merge. Can you do that please? :)

Can we close this?

Hi Jeremy, can you please let me what programming languages you use for APIs and for the charts?

Hi Jeremy, can you please let me what programming languages you use for APIs and for the charts?
Sorry to use this thread for this question?


ERROR [BlockService] daemon process blocks error, current transaction is aborted

[Nest] 29  - 09/26/2024, 9:13:55 AM   ERROR [BlockService] daemon process blocks error, current transaction is aborted, commands ignored until end of transaction block

maybe https://github.com/CATProtocol/cat-token-box/issues/134


too large maximum depth value

Hi, thanks for your great work.
I tried to use the depth dataset you generated, but I found that many of them have a maximum depth value of 99999999...
These depth maps have some depth inconsistency in the visualized graph, as the image you show on the main page which has a yellow region on the top-left representing the abnormal values (https://github.com/enric1994/synth-colon/blob/master/images/depth.png).
I wonder how that was generated and how should I correct that if I want to use your depth dataset for training proposes.

Hello! Thanks for pointing this out. There is a part of some depth images that shows the background in the corner. I used Blender to generate it, the script is here.
I don't have access to my server right now, but I will try to generate a new version of the dataset soon.
If you are interested in the dataset, perhaps you will find my latest dataset useful: video-colon

Hello! Thanks for pointing this out. There is a part of some depth images that shows the background in the corner. I used Blender to generate it, the script is here.
I don't have access to my server right now, but I will try to generate a new version of the dataset soon.
If you are interested in the dataset, perhaps you will find my latest dataset useful: video-colon

Thanks for your quick reply. Maybe I can crop out the abnormal areas.
In addition, I noticed that the size of the triangular patches that divide the intestinal wall into your data set is still relatively large. Do you have any quick way to modify it to be more detailed?
My graphics foundation is not good, so it would be best if I could produce more precise results by modifying and running uncomplicated code.

Sorry but I'm still locked out of my server at the moment. Here's what you could do to keep things moving forward.
You could create your own custom dataset. Just run docker-compose up -d synth-polyp. Then run docker exec synth-polyp python ./synth/src/generate.py --name test_dataset --size 10. This command will produce 10 images you can use for debugging.
Now you could try changing the generate.py:

Remove empty corners:

You can make the colon model a bit bigger to fix that. Tweak the model size here. Maybe try setting b.scale[0] and b.scale[1] up to 4.5.

Smooth surfaces:

If the colon surface is looking too "flat", you're going to want to reduce long_interval and add more points to pts=[...] here. It may take a few attempts to generate the right smoothness.

After you've generated some new images, you'll find a Blender file saved as /synth-polyp/scene.blend. Definitely worth opening it up to check out the 3D model. It's a great way to understand what's going on and helps with making the right tweaks.


dunst: 1.3.1 -> 1.3.2

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/dunst/versions.
These checks were done:

built on NixOS
ran ‘/nix/store/41nqz94x6682ylch4vhg5pca977ffsd0-dunst-1.3.2/bin/dunst -h’ got 0 exit code
ran ‘/nix/store/41nqz94x6682ylch4vhg5pca977ffsd0-dunst-1.3.2/bin/dunst --help’ got 0 exit code
ran ‘/nix/store/41nqz94x6682ylch4vhg5pca977ffsd0-dunst-1.3.2/bin/dunst -v’ and found version 1.3.2
ran ‘/nix/store/41nqz94x6682ylch4vhg5pca977ffsd0-dunst-1.3.2/bin/dunst --version’ and found version 1.3.2
found 1.3.2 with grep in /nix/store/41nqz94x6682ylch4vhg5pca977ffsd0-dunst-1.3.2
directory tree listing: https://gist.github.com/e6f68836d92d5855b650ece5004da126

cc @domenkozar for testing

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: dunst
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: dunst
Partial log (click to expand)
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/41nqz94x6682ylch4vhg5pca977ffsd0-dunst-1.3.2/lib  /nix/store/41nqz94x6682ylch4vhg5pca977ffsd0-dunst-1.3.2/bin
patching script interpreter paths in /nix/store/41nqz94x6682ylch4vhg5pca977ffsd0-dunst-1.3.2
checking for references to /build in /nix/store/41nqz94x6682ylch4vhg5pca977ffsd0-dunst-1.3.2...
shrinking RPATHs of ELF executables and libraries in /nix/store/fvby46r3i93gsff94cs9ls9yaqid0cfq-dunst-1.3.2-man
gzipping man pages under /nix/store/fvby46r3i93gsff94cs9ls9yaqid0cfq-dunst-1.3.2-man/share/man/
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/fvby46r3i93gsff94cs9ls9yaqid0cfq-dunst-1.3.2-man
checking for references to /build in /nix/store/fvby46r3i93gsff94cs9ls9yaqid0cfq-dunst-1.3.2-man...
/nix/store/41nqz94x6682ylch4vhg5pca977ffsd0-dunst-1.3.2

Success on aarch64-linux (full log)
Attempted: dunst
Partial log (click to expand)
strip is /nix/store/gp7fylxwn18b7pl2c18ks89hsiaxyfvf-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/4k57iy1axxzvp2ssyniidz08r9xwr5nq-dunst-1.3.2/lib  /nix/store/4k57iy1axxzvp2ssyniidz08r9xwr5nq-dunst-1.3.2/bin
patching script interpreter paths in /nix/store/4k57iy1axxzvp2ssyniidz08r9xwr5nq-dunst-1.3.2
checking for references to /build in /nix/store/4k57iy1axxzvp2ssyniidz08r9xwr5nq-dunst-1.3.2...
shrinking RPATHs of ELF executables and libraries in /nix/store/zaj82l5mbk4mf97jzyqrqffjrxv38dh2-dunst-1.3.2-man
gzipping man pages under /nix/store/zaj82l5mbk4mf97jzyqrqffjrxv38dh2-dunst-1.3.2-man/share/man/
strip is /nix/store/gp7fylxwn18b7pl2c18ks89hsiaxyfvf-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/zaj82l5mbk4mf97jzyqrqffjrxv38dh2-dunst-1.3.2-man
checking for references to /build in /nix/store/zaj82l5mbk4mf97jzyqrqffjrxv38dh2-dunst-1.3.2-man...
/nix/store/4k57iy1axxzvp2ssyniidz08r9xwr5nq-dunst-1.3.2


⚠ Spryr has degraded performance

In d8dad4f, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 3223 ms

Resolved: Spryr performance has improved in 27471c7 after 23 minutes.