Colormap categories

This PR replaces #2492 (rebasing it on master).  What it mainly adds is the ability to pull out any particular category, provider, or source of colormaps (e.g. list_cmaps(category='Diverging',provider='bokeh', source='d3')), which I think will be very useful when building GUIs.  Usually, only a subset of the types are relevant for any given plot, and it's very painful to list them out by name in an app or dashboard, yet it's also very painful for users to page through long lists of mostly inappropriate colormaps.  I think that this approach will allow a given app or dashboard to select just the subset of colormaps that would be relevant for it much more easily.
Using this facility, I've also created a new Colormaps user guide that breaks down all of the available colormaps by type and explains how and when to use each one.
For any of this to work, I had to list each of the various colormaps provided across backends, declaring their category, etc., because that information is not otherwise available programmatically except for colorcet.  This ended up being less verbose than I expected, but it does encode knowledge about the external backends that we should be aware that we are encoding. Colormaps that are deleted from the packages in the future will simply fail to show up in these lists, and those that are added will appear in the 'Miscellaneous' category until someone adds some other category and source information for them.
Tasks required:

[x] Fix handling for reversed ('_r') colormaps
[x] Define a useful default for colormaps not found in the lookup table
[x] Find a better way to break up the big list of colormaps with big category labels (presumably not possible in the same cell, given the lack of hierarchical layouts?)
[x] Sort colormaps in the displayed list
[x] Clean up categorization of Bokeh maps to make sure they end up in the same category as similar Matplotlib maps
[x] Consider merging list_cmaps with lookup_cmaps, e.g. making the current list_cmaps private and making lookup_cmaps be a superset of its functionality
[x] There's no obvious way to specify a colormap by provider, and so when providers have matching-named colormaps the example currently shows only one of them, twice; must be fixed.
[x] Add examples of pulling out categories of colormaps, e.g. for a gui (maybe to pyviz?)
[x] Allow categorizing by background type as well, to make it simpler for dashboards to select the right set of useful colormaps?
[x] Consider allowing excluding certain colors (white, black), for the same reason? Decided against, as people can already do that programmatically by searching in the colormap itself.

Ready for review and merge.

Still a bit annoying that we have to list all the colormaps like that, but I don't see a way around it. Apart from that this is missing an entry in the user guide index. Otherwise I'd be happy to see this merged.

There also seems to be a small flake:

holoviews/plotting/util.py:695:56: F812 list comprehension redefines 'r' from line 688

Ok, I added it to the index, fixed the flake, and systematically evaluated all the reversed Bokeh colormaps, which showed that there was still a logic error in the reversing code (now fixed).  I also tidied up the categorizations a bit, to make sure all combinations of queries produced reasonable results.  Should be ready to merge if the tests pass.  If the tests don't, particularly the new Bokeh ones, it's worth checking that the tests are correct, as they were definitely letting through some unreversed _r Bokeh colormaps.

Passing now, merging.


Different types of Chrome Duet doesn't work

Currently, there are three types of Chrome Duet:

I use "Enabled Home-Search-TabSwitcher Variation" but my bottom bar becomes "Home-Search-Share". Tried changing variations, enabling and disabling, but didn't help.
Using Ungoogled Chromium 83.0.4103.106 on OnePlus 6, Android 10.

It is an upstream problem, see the discussions in https://github.com/bromite/bromite/issues/580.

It is an upstream problem, see the discussions in bromite/bromite#580.

Odd. It works just fine in Chrome though.

It is reported that the flag is removed in Chrome v84 beta so can you try that to confirm?

It is reported that the flag is removed in Chrome v84 beta so can you try that to confirm?

It is removed in 84. Guess I gotta have to stretch my fingers more often

Closing because it's an upstream issue.


Create singleton rooms

The backend should store singleton rooms in order to be returned by the API. Additionally these rooms should be able to be updated with their vector.

This is a duplicate of #86.


Build a graph containing a single node

Closes #3682

I need to add a unit test in XMake_Tests which just makes sure a single project can build when /isolate is passed in.

@yash256
Should #3747 wait until this goes in? Looks like this PR causes #3747 to implement the new members on the graph.


Alien Invasion

Python Alien Invasion Video Game
Steps to make the game:

Import sys and pygame modules
Start a class called AlienInvasions in the init_ method| pygame is then able to initialize background settings
Call (pygame.display.set_mode()) to create display window | the argument (1200, 800) a tuple that defines dimension of game window, which is in pixels(width, height)
Self.screen is called a surface | A surface in Pygame is a part of the screen where a game element is displayed
The game is controlled by the run_game method| continues a while loop the runs repeatedly
An event, is an action user performs while playing the game, such as pressing a key or moving mouse
The for loops represent the events user does while playing the game
Access the game pygame detects, use the pygame.event.get() function | Any keyboard or mouse event will cause this loop to run
The call pygame.display.flip(), tells python to make the most recently drawn screen visible| draws screen that is empty once filled erased for next loop so only screen is visible| continuosly updates the display to show new positions of game elements and hides the old ones, creating the illusion of smooth movement
Setting the background color

[ ] Create a setting class| each time we introduce new functionality into the game, typically make some new settings as well| purpose of the new .p file made in the alien_invasions settings is to access individual setting

[ ] Blitme() method, which draws the image to the screen at the position specified by self.rect
[ ] Break the run_game method into two helper methods called _check_events , only effects the run_game code
[ ] Further simplify the run_game() with updating the screen as a separate method
[ ] Give the player ability to move ship left and right with response keys, each event is picked up by the pygame.event.get() method , specify in the _check_events method what type of events we want the game to check for, each keypress is registered as a KEYCOM event
[ ] Code in continuous movement, I want the ship to continue moving right until the player releases the key| have the game detect pygame.keyup
[ ] Add moving_right attribute and update() method to check status of the moving_right flag
[ ] Now add movements to the left, pay attention to the if, elif for button controls
[ ] Adjust the ships speed| adjust the settings class | was moving at one pixel for cycle | speed will be adjusted using decimals values for more control for tempo so make modification for a float(decimal value)
[ ] Limit the ships range on the screen so your ship will not disappear out of range
[ ] Refactor the check events with keydown and keyup, two separate methods
[ ] Once refactored added a quit function | add a new block of code within _check_keydown_events
[ ] Make sure to increase the size o

Create a setting class| each time we introduce new functionality into the game, typically make some new settings as well| purpose of the new .p file made in the alien_invasions settings is to access individual setting

Updated the size of the screen to a full screen, enabled pressing q to quit program , also limited the screen range for the ship to be able to stop end screen from right and left .

Completed first segment of the game. Below are some of the Aspects of this project I have done
-Learned to set a back ground and store settings in separate classes
-learned grow to draw an image on screen and give players control over elements in the game(a flying space ship, shooting bullets and delete objects that are no longer needed
-Utilized refactoring for ongoing development


Support importing Caffe Reshape layer

Motivation behind this PR: #4884 (Some functions like F.linear exports Reshape layer)

LGTM!


Update AudioRecorderManager.m

One of good parameters after recorder did finished is audioFileSize. It return size of recorded file with bytes.

Please add a test for this to the AudioExample project as well.


Code Cleanup

Optimised imports (removed a lot of unused ones) + rearranged lines. Basically, a cleanup.
@championswimmer @mananwason Have a look.

@championswimmer Have a look.

@championswimmer Have a look.


Investigate and Migrate Spring Framework

[x] GWAS Search UI:               https://github.com/EBISPOT/gwas-ui
[ ] GWAS REST API:                https://github.com/EBISPOT/goci-rest
[ ] GWAS Master                   https://github.com/EBISPOT/gwasdepo-master
[ ] GWAS Commons                  https://github.com/EBISPOT/gwasdepo-commons
[ ] GWAS Template Validator       https://github.com/EBISPOT/gwasdepo-template-validator
[ ] GWAS Ingest Service           https://github.com/EBISPOT/gwasdepo-ingest-service
[ ] GWAS Deposition Service       https://github.com/EBISPOT/gwasdepo-deposition-service
[ ] GWAS Audit Service            https://github.com/EBISPOT/gwasdepo-audit-service
[ ] GWAS Curation Service         https://github.com/EBISPOT/gwas-curation-service
[ ] GWAS Curation Infrastructure  https://github.com/EBISPOT/goci

searchUI to be deployed after DR


🐛 Strange effect when opening a compact NavigationPane

Describe the bug
Strange effect when opening a compact NavigationPane
And on the example App, we had the following error: (Maybe not directly linked to this bug).
======== Exception caught by rendering library =====================================================
The following assertion was thrown during layout:
A RenderFlex overflowed by 20 pixels on the right.

To Reproduce
See on the example app.
Expected behavior
Smooth open.
Screenshots

In fact, I think that come from the "Overflow" rectangle shown by Flutter in debug Mode. Not tested in Release.
But we always had an weird effect when open to compact.

It's caused by the info badge

Hi, this bug is still there. Either for trailing or infoBadge on PaneItem and PaneItemExpander.

@pasleto can you post here the result of your flutter doctor -v? Also, what version of fluent_ui are you using?

fluent_ui: ^4.0.1
[√] Flutter (Channel stable, 3.3.2, on Microsoft Windows [Version 10.0.19044.2006], locale cs-CZ)
• Flutter version 3.3.2 on channel stable at C:\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision e3c29ec00c (3 weeks ago), 2022-09-14 08:46:55 -0500
• Engine revision a4ff2c53d8
• Dart version 2.18.1
• DevTools version 2.15.0
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] IntelliJ IDEA Ultimate Edition (version 2022.2)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2020.3.1
• Flutter plugin version 70.2.5
• Dart plugin version 222.4345.14
[√] VS Code (version 1.72.0)
• VS Code at C:\Users\tomas\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.50.0
[√] Connected device (2 available)
• Chrome (web) • chrome • web-javascript • Google Chrome 106.0.5249.91
• Edge (web)   • edge   • web-javascript • Microsoft Edge 106.0.1370.34
[√] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!


python2 compile errors

python2 -m compileall .

gives:
Listing . ...
Listing ./.git ...
Listing ./.git/branches ...
Listing ./.git/hooks ...
Listing ./.git/info ...
Listing ./.git/logs ...
Listing ./.git/logs/refs ...
Listing ./.git/logs/refs/heads ...
Listing ./.git/logs/refs/remotes ...
Listing ./.git/logs/refs/remotes/origin ...
Listing ./.git/objects ...
Listing ./.git/objects/0b ...
Listing ./.git/objects/1a ...
Listing ./.git/objects/27 ...
Listing ./.git/objects/81 ...
Listing ./.git/objects/99 ...
Listing ./.git/objects/9c ...
Listing ./.git/objects/ed ...
Listing ./.git/objects/info ...
Listing ./.git/objects/pack ...
Listing ./.git/refs ...
Listing ./.git/refs/heads ...
Listing ./.git/refs/remotes ...
Listing ./.git/refs/remotes/origin ...
Listing ./.git/refs/tags ...
Listing ./__pycache__ ...
Listing ./build ...
Listing ./build/lib.linux-x86_64-2.7 ...
Listing ./build/lib.linux-x86_64-2.7/deepgaze ...
Listing ./build/lib.linux-x86_64-2.7/deepgaze/__pycache__ ...
Listing ./deepgaze ...
Listing ./deepgaze/__pycache__ ...
Listing ./doc ...
Listing ./doc/images ...
Listing ./etc ...
Listing ./etc/tensorflow ...
Listing ./etc/tensorflow/head_pose ...
Listing ./etc/tensorflow/head_pose/pitch ...
Listing ./etc/tensorflow/head_pose/roll ...
Listing ./etc/tensorflow/head_pose/yaw ...
Listing ./etc/xml ...
Listing ./examples ...
Listing ./examples/__pycache__ ...
Listing ./examples/ex_cnn_cascade_training_face_detection ...
Listing ./examples/ex_cnn_cascade_training_face_detection/__pycache__ ...
Listing ./examples/ex_cnn_head_pose_axes ...
Listing ./examples/ex_cnn_head_pose_estimation_images ...
Listing ./examples/ex_cnn_head_pose_estimation_images/__pycache__ ...
Listing ./examples/ex_color_classification_images ...
Listing ./examples/ex_color_classification_images/__pycache__ ...
Listing ./examples/ex_color_detection_image ...
Listing ./examples/ex_color_detection_image/__pycache__ ...
Listing ./examples/ex_diff_motion_detection_video ...
Listing ./examples/ex_diff_motion_detection_video/__pycache__ ...
Listing ./examples/ex_dnn_head_pose_estimation_training ...
Listing ./examples/ex_dnn_head_pose_estimation_training/__pycache__ ...
Compiling ./examples/ex_dnn_head_pose_estimation_training/ex_dnn_head_pose_estimation_training.py ...
  File "./examples/ex_dnn_head_pose_estimation_training/ex_dnn_head_pose_estimation_training.py", line 136
    weights_output3 = tf.Variable(tf.truncated_normal([num_hidden_units_3, num_labels], 0.0, 1.0))
                  ^
SyntaxError: invalid syntax

Compiling ./examples/ex_dnn_head_pose_estimation_training/ex_prima_parser.py ...
Sorry: IndentationError: expected an indented block (ex_prima_parser.py, line 393)
Listing ./examples/ex_face_center_color_detection ...
Listing ./examples/ex_face_center_color_detection/__pycache__ ...
Listing ./examples/ex_fasa_saliency_map ...
Listing ./examples/ex_fasa_saliency_map/__pycache__ ...
Listing ./examples/ex_haar_face_detection ...
Listing ./examples/ex_haar_face_detection/__pycache__ ...
Listing ./examples/ex_motion_detectors_comparison_video ...
Listing ./examples/ex_motion_detectors_comparison_video/__pycache__ ...
Listing ./examples/ex_multi_backprojection_hand_tracking_gaming ...
Listing ./examples/ex_multi_backprojection_hand_tracking_gaming/__pycache__ ...
Listing ./examples/ex_particle_filter_mouse_tracking ...
Listing ./examples/ex_particle_filter_mouse_tracking/__pycache__ ...
Listing ./examples/ex_particle_filter_object_tracking_video ...
Listing ./examples/ex_particle_filter_object_tracking_video/__pycache__ ...
Listing ./examples/ex_skin_detection_images ...
Listing ./examples/ex_skin_detection_images/__pycache__ ...

Thank you, the error has been fixed....


docs(operator-creation): fix a typo

Description:
There is a typo In the doc/operator-creation.md, seen as below:

by pulling in operator methods an adding them to observable in their own module.

It should be a typo and correct one is and.
Related issue (if exists):

Coverage remained the same at 97.735% when pulling 37250e0bb531fba6e14a9aa07087ad63b64da8ec on SangKa:fix-a-typo into 3f2d066d8dc4d60fa1aed3e4555010d3b91c02ec on ReactiveX:master.


[MM-20581] Migrate index to TS in 'components/admin_console/team_channel_settings/team/details' module

Summary
Migrate a file that was omitted during Typescript migration of components/admin_console/team_channel_settings/team/details module.
Ticket Link
Ticket (closed) was https://github.com/mattermost/mattermost-server/issues/13491

Hello @cinlloc,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

Hey @cinlloc, Could this be a duplicate of https://github.com/mattermost/mattermost-webapp/pull/6823?

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!
/cc @jasonblais @jfrerich @emilyacook

Hey @cinlloc, Could this be a duplicate of #6823?
Hi, in fact, it's not a duplicate, but the PR description, title and commit message were wrong (confusing). I fix that and answer to my reviewer remarks.


Devcontainers: Run as non-root user

People often need to run their devcontainers as a non-root user.
This mitigates issues such as Docker overriding file ownerships in Linux which lead to some tricky errors down the line (especially with git). Currently, using a non-root user in devcontainers makes the idris2 binaries not available to the user (bash: idris2: command not found).
I think an approach similar to #16 should be the default installation for devcontainers, where the idris2 files are installed to /usr/local/lib/idris2.

Turns out that can be done by rebuilding Idris and setting the PREFIX argument!


feat: increase cast length to 320 characters

What is the feature you would like to implement?
Allow cast length to be increased to 320 characters.
Why is this feature important?
The current limit of 280 characters is somewhat arbitrary and not designed to optimize for the type of content we want on the network. Using a larger cast length might capture more of the distribution of casts and discourage the use of threading (see supporting data below).
Will the protocol spec need to be updated??
The requirements in the Cast section under (4) will need to be updated

Collecting stats on distribution of current cast sizes:
  0 -70	76844
 71-140	70115
141-210	21163
211-280	19124

Extension to 512 characters is both excessive (for current behaviors) and inadequate (for capturing screenshot essays). Instead we propose a more modest increase to 320 characters  (a 15% increase) which should capture more of the long tail of thoughts, while marginally reducing the need to use threads.

But wouldn't 420 be funnier?
I'll update PRs tonight!

saving that joke for a future upgrade


Fix documentation for Facter::Core::Execution.execute

The time_limit parameter is actually called limit and the documentation for options was badly formated

Can one of the admins verify this patch?

Looks good, @johanfleury can you prefix your commit message with (docs)?
Something like: (docs) Fix documentation for Facter::Core::Execution.execute

 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.

Thanks @johanfleury! I'll close this in favor of https://github.com/puppetlabs/facter/pull/2429 and I'll make sure you are also credited for the contribution.


application.ymls prepared

The application-ymls for preview and prod are prepared.

 OAuth2 Metal Detector - Butler


added a resume maker

#89 completed

Amazing work @stuck-in-a-conundrum 🔥. Thanks for contributing.


[test] rebind byte types safely

The tests used not-very-safe calls to assumingMemoryBound in order to map types, when withMemoryRebound works just as well while being safe.

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test


Provide sequence datatype to delta tables

One large limitation on spark/hive stuff over traditional datawarehouse is to provide auto-increment fields.
I wonder if delta could achieve this. One idea would be to store the actual max_value within the delta json file, and apply the monotonically_increment function while using the merge function or appending to delta files.
I guess having the goal to have monotonically increment meets the need of sequences (versus real sequential numbers).
More generally, sequence objects could be created and referenced within tables as postgresql does. MVCC design could theorically be applied for concurrent creation of values, having the table number of rows by advance.
Any previous work in this field ?

I dont think we have thought about this. This is a very hard problem because distributed generation of sequence numbers is fundamentally hard. In spark, monotonically_increment() generates monotonically generating numbers but contiguous. Furthermore, the numbers generated are not designed to stable across runs; for example, changes in the number of tasks, shuffle partitions, etc. will change the number. This makes the idea unsuitable for the on-the-fly generation of unique row numbers.

In spark, monotonically_increment() generates monotonically generating numbers but contiguous.

Not a problem: all we need for a sequence are distinct ids. eventually increasing/decreasing.

Furthermore, the numbers generated are not designed to stable across runs; for example, changes in the number of tasks, shuffle partitions, etc. will change the number.

No need for reproducible sequences. Primary keys are set one time and never changed by definition.

Hi Delta Team,
Has there been any update on whether the sequence datatype feature for Delta tables will be progressed? This would be incredibly useful for ensuring unique, sequential IDs across distributed processes, similar to how sequences work in traditional SQL databases. Any insights or timelines would be greatly appreciated!
Mega luv Josh!


Extend Travis testing to Go 1.11

Adds more versions to the matrix and fixes a couple of minor bugs which it picked up.

No worries!


How to check if the calendar is showing a week / full calendar?

I am using the latest branch.
pod 'JTAppleCalendar', :git => 'https://github.com/patchthecode/JTAppleCalendar.git'

Is there any inbuilt property to find this? Right now, the only possible way is to cross-verify with the calendar height.

Since you are the one changing the calendar from weekview to full view, then you can know this.
Because when you change the view, you change the number of row to either 1, or 6. So you do not have to use the height to determine this.

closing this issue as i have done an update here -> https://github.com/patchthecode/JTAppleCalendar/issues/880


Remove support for IE8-10

Description
Checklist

[x] Tested against our testing policy (Resolution, Browser & Accessibility)
[x] Follows our coding standards and style guide
[x] CHANGELOG entry

Looks good to me, I wonder if its worth linking to the GOV.UK - changing our testing requirements for Internet Explorer 8, 9 and 10 blog post in the CHANGELOG and the browser support & testing markdown files for future reference?

Looks good to me, I wonder if its worth linking to the GOV.UK - changing our testing requirements for Internet Explorer 8, 9 and 10 blog post in the CHANGELOG and the browser support & testing markdown files for future reference?

I've pushed some commits to remove references to internet explorer in some of the Sass comments and also removed the ie.scss partial, which contained display: block; fixes for IE8 and IE9.

I've pushed some commits to remove references to internet explorer in some of the Sass comments and also removed the ie.scss partial, which contained display: block; fixes for IE8 and IE9.

Thanks @AdamChrimes. I've updated the version number and added the gov.uk blog entry link. Can you check that the wording sounds OK.

Thanks @AdamChrimes. I've updated the version number and added the gov.uk blog entry link. Can you check that the wording sounds OK.

Looks good to me, @tomdoughty has also refactored IE related JavaScript https://github.com/nhsuk/nhsuk-frontend/pull/681
I think we're going to release v4.1.0 first, then release this with our next breaking change release. We've got a couple of other breaking changes to go in with this so probably easier to batch them together.
I'll merge this in and update the CHANGELOG once we've released 4.1.0. Cheers Michael!

Looks good to me, @tomdoughty has also refactored IE related JavaScript https://github.com/nhsuk/nhsuk-frontend/pull/681
I think we're going to release v4.1.0 first, then release this with our next breaking change release. We've got a couple of other breaking changes to go in with this so probably easier to batch them together.
I'll merge this in and update the CHANGELOG once we've released 4.1.0. Cheers Michael!

Hey @mcheung-nhs this just needs rebasing with master and conflicts resolving. We'll also need to split out the CHANGELOG into its own entry under 5.0.0

Hey @mcheung-nhs this just needs rebasing with master and conflicts resolving. We'll also need to split out the CHANGELOG into its own entry under 5.0.0

@AdamChrimes - merged and updated CHANGELOG

@AdamChrimes - merged and updated CHANGELOG

Created a 'cleaner' PR - https://github.com/nhsuk/nhsuk-frontend/pull/696 so closing this now

Created a 'cleaner' PR - https://github.com/nhsuk/nhsuk-frontend/pull/696 so closing this now


Fix Jackson extension functions and their tests

This fixes the tests of Jackson extension functions for asynchronous requests (#776). These tests were silently failing for a long time because of the assertions in the callbacks which are async and not visible to the test engine. As a result, the tests became out of date, so aside from ensuring the assertions are now able to fail the tests this PR also contains a decent amount of changes in the setup procedures as well as assertions themselves.
Assertions are now ensured to take an effect on the test outcome by explicitly awaiting on the CancellableRequest object which is returned by the extension functions using the get() method inherited from Future<Response>.
This change also fixes two extension functions that did not return CancellableRequest object for no reason (#775).
I also fixed code formatting around the lines I touched according to what seems to be the most common in this project.
Fixes #775 and #776.
Type of change

[x] Bug fix (a non-breaking change which fixes an issue)
[ ] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] Refactoring (a change which changes the current internal or external interface)
[ ] This change requires a documentation update

How Has This Been Tested?
I did not include any new tests for the change in the production code (#775)
because existing tests do verify that change after the fix of #776.
Checklist:

[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas (n/a)
[x] I have made corresponding changes to the documentation, if necessary
[x] My changes generate no new compiler warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] Inspect the bytecode viewer, including reasoning why (n/a)

This is amazinggg! Thanks!


Office 365 CPU increase >20%

Hey - just dropping off a note here as I just figured out why my O365 apps (Outlook. Excel, etc.) is taking up 20~25% for each process for no clear reason. I don't have this issue until I got upgraded to V1803 Build 9126.2152.
Fired up Process Explorer and ntdll.dll!TpReleaseTimer+0ex0 thread is consistently above 20%. Wireshark finally revealed that Outlook (or Excel) is consistently trying to get to:
settings-win.data.microsoft.com
v10.vortex-win.data.microsoft.com
nexus.officeapps.live.com
nexusrules.officeapps.live.com
mobile.pipe.aria.microsoft.com
I had to whitelist the domains above get back to normal CPU level again which is should be at low 0 at idle.
In case anyone else also blackholing the domains above and O265 running high CPU (at least for build 9126; not sure abt the rest).

Thanks @tomakey.  Interesting.

Hey Steve - I believe what I experienced is temporary after the online upgrade. It's likely that O365 needs to make those connections to "finalize" the upgrade (albeit the fact that the apps work normally except the elevated CPU since the upgrade), The fact that I had the domains blocked all along likely prevented it from "completing" the upgrade until I white listed it this morning. I removed them from the whitelist now and things remain normal for now - so I guess those domains are needed somewhat after upgrade.

Thanks @tomakey.
Closing.


added some optimizations for single-dimension sparse matching

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.
@arnej27959 please review

@arnej27959 PTAL


improvementParallelize splits for count(*) for 3.0 (#41169)

bp: #41169

run buildall

run buildall


Regarding a detail in the fitting code

Hi, thanks for sharing this great work!
I have a little question regarding the main fitting code in the following line:
https://github.com/HavenFeng/photometric_optimization/blob/44fc6e01ce962f5d29bcef48bfe0df61828f5de3/photometric_fitting.py#L42
Why hard code cam[:, 0] to 5. ? Is this a default setting in FLAME so that it may benefit the convergence of the fitting process?
Thank you!

Hi,
I also have the same question. Did you get to know the answer @yunfan0621?

sorry for the late reply, we hardcoded the z distance of the camera to make sure the camera view can always see the object. Since we used an orthographic projection camera, this z distance value doesn't really matter.


Exported Xcode project not working

Godot version
4.0.alpha17
System information
macOS 12.5, iPhone 11 Pro with iOS 15.6.1, Vulkan <IP_ADDRESS>
Issue description
When running an exported default 3D Godot project (Camera + Cube) on iOS I get a black screen and the following error message: MTLCompiler: Compilation failed with XPC_ERROR_CONNECTION_INTERRUPTED. The error message appears over and over again for around 60 seconds. After +-60 seconds the error message stops appearing and the game shows up.
Could this be related to something like this Apple thread?
Steps to reproduce
Create a new Godot project, add a Camera + MeshInstance. Export to iOS. Run Xcode project on a real iOS device.
Minimal reproduction project
No response

This might be related to #65234 and #64471?

I am also having this issue, iOS 16, iPhone 11, MacBook Pro M1. The splash screen appears, then the screen goes black... except in my case, it doesn't seem like the game ever loads.
I pasted the entire error from Xcode into a Pastebin here

Looking at your Pastebin I get the same USER ERROR: Condition "!classes.has(ti.inherits)" is true. error IIRC. (In addition to the MTLCompiler: Compilation failed with XPC_ERROR_CONNECTION_INTERRUPTED

@marius-se just out of curiosity, what Macbook do you have? @undefinedhuman is using the same laptop as me; it could possibly be a compatibility issue with Apple Silicon?

@jcurtis06 M1 Pro (MacBook Pro). I also have an Intel one I could test with tonight.

I am having the same issue on an Intel macbook pro

Ah good to know - forgot to check this last week.

same on an M1 Pro and iPhone 11

same on m1, MacOS Ventura, Xcode 14.1

CC @bruvzg

Closing since this is fixed on master now. (since #68740)


ci: allow semantic release to update package.json and changelog

https://monday.monday.com/boards/3532714909/pulses/5719966599

Yes!

Thanks for the help!


NullPointerException when using CharType or VarcharType with H2 database

Search first

[X] I searched and no similar issues were found

Description
When writing the following code:
DataType dataType = new DataType(   new VarcharType().toDatabaseDataType(liquibaseDatabase).getType())
I get the following error when database is H2:
java.lang.NullPointerException: Cannot invoke "String.toLowerCase(java.util.Locale)" because the return value of "liquibase.datatype.core.CharType.getRawDefinition()" is null
Steps To Reproduce
Write the following code with H2 database:
DataType dataType = new DataType(   new VarcharType().toDatabaseDataType(liquibaseDatabase).getType())
Expected/Desired Behavior
Should return the correct data type.
Liquibase Version
4.28.0
Database Vendor & Version
H2
Liquibase Integration
No response
Liquibase Extensions
No response
OS and/or Infrastructure Type/Provider
No response
Additional Context
Need null check at line:
liquibase.datatype.core.CharType.toDatabaseDataType(CharType.java:64)
Are you willing to submit a PR?

[ ] I'm willing to submit a PR (Thank you!)

PR: https://github.com/liquibase/liquibase/pull/6024


QGroundControl does not connect to Pixhawk

Background
I want to route the telemetry data from my pixhawk 4 flightcontroller to my laptop as the ground station. The routing part does a raspberry pi zero connected through a zerotier network to the laptop and over the GPIO pins to the flightcontroller.
To implement this I mostly followed the tutorial on https://bellergy.com/.
Problem
QGroundControl does not connect to Pixhawk when using following command to route (<IP_ADDRESS>:4000 is included so i can see the broadcast messages in the sender example):

These are my Comm Links settings:

Following are tests I did to rule out different subsystems.
Any help would be greatly appreciated.
Tests

I tested the mavlink-router with the sender and receiver examples.

Because of that I rule out a build failure or else.

The output of the sender example even displayed my telemetry data, therefore I also rule out a UART connection problem.

I am using the following config file:

I also checked the baudrate and can confirm that MAV_0_RATE is also 57600.
The zerotier addresses are also correct and I can confirm that the network works, as I am connected to the pi via ssh.
QGroundControl recognizes the flightcontroller when connected directly through usb

Possible issues:

is the IP of the machine running QGC correct? Is it possible that the IP changed and you didn't notice?
Any firewall on the machine running QGC preventing the packet from arriving?

An additional test: since you also have a TCP Server Endpoint, try to add it in QGC passing the IP of the drone to check if you can establish connection the other way around.

Thank you for your help.
Switching from UDP to TCP in QGC did the trick.

switching to TCP is a good experiment to see where things are failing. It seems either the IP for the QGC host given above is wrong or you have a firewall or something else preventing it. The communication via UDP should still work.


Dirty diff decoration goes into line numbers

Steps to Reproduce:

paste the contents of a file over and over again to produce high line number
wait for dirty diff to kick in

=> it overlaps the line numbers

Root cause is #21073


Fix: stop ignoring --config-file cypress option

Since we always call removeArg(rawArgs, 'config'), and since the matchRE matches --config as well as --config-file, we end up ignoring the --config-file option if it is provided (e.g. --config-file my-config.json).
This commit fixes this by ensuring that calling removeArg('config') removes --config without removing --config-file.

What kind of change does this PR introduce? (check at least one)

[x] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[ ] Docs
[ ] Underlying tools
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

Other information:

@sodatea Tests fixed.


Normalize normal vectors from OBJ.

Normal vectors that are not normalized might cause incorrect rendering results.

This pull request has been mentioned on Gazebo Community. There might be relevant details there:
https://community.gazebosim.org/t/new-ignition-releases-2022-01-24-citadel-edifice-fortress/1241/1


@ #62 | should add and update contributor list

connect #62

Coverage remained the same at 98.018% when pulling 61ef28956addabe5ed55ff20b68931c8edc383ab on hoatle:tasks/#62-update-contributor-list into 051660fc62a868d6897db172fd31ad66a14b87a3 on teracyhq:develop.


Analyze Critical/High prime-reportstream Fortify Findings

User Story

As a maintainer of the project backend code,
I want to address Fortify scan results,
so that my project does not have vulnerabilities
Description/Use Case

Fortify scan is a static application security testing (SAST) tool that analyzes source code for security vulnerabilities. This tool was recently run against prime-reportstream and we should address the findings.

Each finding should be analyzed and documented here: https://docs.google.com/spreadsheets/d/1GkTsTtO8aLR09vtxX1ex-bqjlVqshVzH064hA8RqIPw/edit?usp=sharing
Notes can be kept here
New ticket(s) shall be created to address the findings categorized as 'Will Fix'

Risks/Impacts/Considerations

Dev Notes

Acceptance Criteria

[ ] Findings analyzed and spreadsheet updated
[ ] New ticket(s) created to address analyzed findings

Hey team! Please add your planning poker estimate with Zenhub @adegolier @arnejduranovic @jack-h-wang @jalbinson @JFisk42 @kant777 @wcutshall

via Scott:
I've parsed the Fortify scan results (prime-reportstream DeveloperWorkbook.pdf, in the Sharepoint ATO folder) and have some suggestions for prioritizing the remediation.
#1- there are 18 items under the heading of 'Insecure Transport', where the app uses http vs https. These are categorized as Critical and I think they would be comparatively easy  to knock out for a quick win.
#2 - there are 21 items under the heading of 'OpenAPI Misconfiguration: Missing Global Security Requirement'. These are also Critical and will likely be equally straightforward to fix.
#3 - there are 14 instances of 'Credential Management: Hardcoded API Credentials' and 12 'Hardcoded Encryption Key'. These may be interrelated and there could be labor savings in combining them into parallel tasks.
Those three categories will knock out 65 of the 78 Critical findings. #1 and #2 combined will cover 39 findings, exactly half of the Critical list.


Window dragging is laggy

Description
Dragging the window appears to be running at 60 FPS. I have a 240 Hz monitor and it's very apparent how laggy window dragging is compared to other apps.
Steps To Reproduce
Have a high refresh rate monitor and drag the windo waround.
Requirements
Investigate why the window dragging is not smooth and resolve it.
Files Version
<IP_ADDRESS>
Windows Version
10.0.22635.3139
User ID
I don't see this option.
Log File
debug.log

It seems like the preview version is a bit better. To my eye, it looks like it's dragging at maybe 90-120 FPS. But still, it's not as smooth as any other app on my system

Thanks for the report, this is an issue with Microsoft WinUI please report it there https://github.com/microsoft/microsoft-ui-xaml/issues/new/choose

@Josh65-2201 Is there is an existing issue filed by your team? I don't really think it makes sense for me, a user of a software that uses an SDK I am completely unfamiliar with, to file an issue with that SDK.

Lagginess is what WASDK has been said. I think WinAppSdk 1.6 has fixed to some extent and we have plan to upgrade from 1.5

Unfortunately, this issue is beyond our control, but we expect improvements with future WinUI updates. We encourage users to provide feedback directly to Microsoft, as real-world feedback helps them prioritize and address issues more effectively.


DDC/Pageloader: Cannot create reified List<T>

This is blocking removing the DDC runtime type cast warning whitelist internally.
For legacy clients, DDC supports a subset of the dart:mirrors API if package:pageloader is used. We are working on removing usage, as folks are aware, but as @dgrove and @vsmenon have mentioned, we are unlikely to "pull the plug" anytime soon.
dart:mirrors::reflectType's API is defined as:
external TypeMirror reflectType(Type key, [List<Type> typeArguments]);

But DDC patches it as:
@patch
TypeMirror reflectType(Type key) { /* ... */ }

This causes a build failure when attempting to use the typeArguments parameter:
[error] Too many positional arguments: 1 expected, but 2 found. (package:pageloader/src/core.dart, line 337, col 29)

Unfortunately it looks like this is blocking fixing PL2, so I'd need this fixed.
(There is probably another issue here - why does patching not verify the signatures match?)
/cc @jmesserly

Another option is I could try and use dart:_internal's extractIterableTypeArguments:
... and use a <List>.cast instead of mirrors to create this type.

There is probably another issue here - why does patching not verify the signatures match

DDC+Analyzer patching is based on the AST. For Analyzer it would be infeasible to do validation (would need to patch first, then load two SDKs and compare them, but there isn't a well spec'd version of what comparison would mean, and loading two resolved Dart SDKs simultaneously is not well supported.) I guess CFE doesn't validate patches either, possibly for similar reasons.
Whoever added this should've added it to the DDC patch or at least filed a bug. Thanks for reporting. It's probably not a difficult fix.

Thanks! To be clear I'm also open to any other workarounds/ideas you have :)
Here is the code in question:
https://github.com/google/pageloader/blob/1897c5190e8d50945e6b84f081bb2d18263a7044/dart/async/lib/src/core.dart#L320-L329

https://dart-review.googlesource.com/c/sdk/+/65201


Query limited to last doesn't work when = (toLast: 50)

Reopening an issue reported by @maximkhatskevich https://github.com/firebase/firebase-ios-sdk/issues/814
When I use queryLimited(toLast: 50), my query only fetches 1 result, despite having over 50 items in the DB.
Environment

Xcode version: 11.2.1
Firebase Component: Realtime Database
Version: 6.1.2

let ref: DatabaseReference = Database.database().reference().child("table1")
let query = ref.queryOrdered(byChild: "timestamp").queryLimited(toLast: 50)

query.observeSingleEvent(of: .value, with: { (snapshot) in

print(snapshot)

})

Print statement shows 1 item in DB, despite having over 50 items. Any help would be greatly appreciated.

The issue appears to have something to do with offlinePersistance. When I set isPersistanceEnabled = false, I no longer experience the issue.

Hi @JStevens127 Is the issue happen consistently? Have you also tried to set the isPersistanceEnabled back to = true ? If so, is the issue still happening? Make sure also that you have a good network connection though I'm not sure if this is an expected behavior of enabling of offline persistence.


Configurable check

Allow to configure the check action.
Added flags:
  --allowed_license_names strings   list of allowed license names
  --exclude_forbidden               exclude forbidden licenses (default true)
  --exclude_notice                  exclude notice licenses
  --exclude_permissive              exclude permissive licenses
  --exclude_reciprocal              exclude reciprocal licenses
  --exclude_restricted              exclude restricted licenses
  --exclude_unencumbered            exclude unencumbered licenses

Keeping the default behaviour of just checking the forbidden licenses.

Thank you for the contribution!
Let me start with high level questions.
Can you clarify the use case for allowed licenses? That seems too flexible as interface, it's probably only useful when very limited license types are allowed.
Would it be simpler asking someone with such flexible use case to directly parse the license CSV file and write custom validation?

Currently, only the list of forbidden licenses, defined in google/licenseclassifier, is validated.
And there is no way to change that, so it doesn't leave any room for flexibility in controlling that.
So for that reason, I added the other flags (--exclude_forbidden, --exclude_notice, --exclude_permissive, --exclude_reciprocal, --exclude_restricted, --exclude_unencumbered).
However, these sets are fixed.
I have a case where a subset is allowed and for others, we need special approval.
By allowing to create your own list of allowed licenses --allowed_license_names we are able to verify exactly what we need.
Personally I don't think it would be simpler to parse the report.
A part of this tool is written to check licenses, it makes sense too me that you can also control what is checked.

To explain why I'm asking, this tool was built primarily for Google's own use-cases for open source go projects, so I am seeking a balance between maintenance cost vs use-case coverage. I'm asking to learn more about why this feature is useful to you.
I think your use-case convinces me it may be useful to more people. Thank you for explaining that!

Regarding the interface, do the following changes make it slightly simpler and more consistent?

Make exclude flags one flag that takes multiple values: --disallowed_categories, the description points to https://github.com/google/licenseclassifier/blob/e6a9bb99b5a6f71d5a34336b8245e305f5430f99/license_type.go#L180 for license categories.
Reduce number of words on allowed_license_names: --allowed_licenses.

Also, I think we should add validation and description that, the two flags cannot be used at the same time.

I changed the interface. I did name it types instead of categories as that is what is used in multiple places in this repo and in google/licenseclassifier

nit: update PR description?

hey thank you for this PR and hopefully this gets merged soon, b/c we need to maintain a fork of license checker and it causes trouble with replace directives and deprecated go get / go install behaviour. basically soft-forks of "go install"-ed things are no longer a supported use-case since a few go versions so I'd really appreciate it if this goes upstream


Update README.md

Fixed typo, in Heading, Repositaries => Repositories

@all-contributors please add @Programmer005 for content

@all-contributors please add @Programmer005  for content

@Programmer005 I have invited you to the organization.

@all-contributors please add @Programmer005 for content

@all-contributors please add @Programmer005 for content


US664091: job-service release

https://internal.almoctane.com/ui/entity-navigation?p=131002/6001&entityType=work_item&id=664091

A developer build has not yet been created for this branch. Click here to go ahead and create the build...


Description of Resource Downloader script

Description of Resource Downloader script

https://github.com/codenet/understanding-rust-vmm/pull/20


Users' table does not rerender/update when new user is added or a user is removed

When Adding or removing a user I noticed that the table does not rerender and have to refresh the page to see changes

This is probably due to not calling mutate() after success. This should be done inside of onAddUserSuccess (line 103 in Users.tsx), and should also be done after successfully deleting user!
It is part of useSWR; https://swr.vercel.app/docs/mutation


Why are there multiple different configtx required to create a channel in the docker test network?

I am trying to understand the configuration of the test-network. It appears as though, to create a channel, there are two separate configtx.yaml files that are required by the test-network createChannel.sh script.
The first config:
https://github.com/hyperledger/fabric-samples/blob/main/test-network/configtx/configtx.yaml
Defines the organizations:

OrdererOrg
Org1
Org2

This config used used here:
https://github.com/hyperledger/fabric-samples/blob/main/test-network/scripts/createChannel.sh#L80
Which is then used to create the genesis block.
https://github.com/hyperledger/fabric-samples/blob/main/test-network/scripts/createChannel.sh#L30
However, to actually create the channel, and for the peers to join the channel
this root level config/configtx.yaml is used:
https://github.com/hyperledger/fabric-samples/blob/main/test-network/scripts/createChannel.sh#L86
These commands are using the root level config/configtx.yaml
https://github.com/hyperledger/fabric-samples/blob/8d0e632d8646a59cb553360b35886125810ba44f/test-network/scripts/createChannel.sh#L91
https://github.com/hyperledger/fabric-samples/blob/8d0e632d8646a59cb553360b35886125810ba44f/test-network/scripts/createChannel.sh#L96
This configtx.yaml, is downloaded by the install-fabric.sh script,
and its contents are this:
https://github.com/hyperledger/fabric/blob/main/sampleconfig/configtx.yaml
This configtx defines the following orgs:

SampleOrg

How does this even work? The root level configtx.yaml doesn't include either org1, org2, or the orderer used in the test-network/configtx/configtx.yaml which is mounted inside all of the peer containers running in the test network.
What is the purpose of the SampleOrg in the top level config?
Why is  the top level config not included in source control of the samples repo?

config/configtx.yaml is never used by test-network. The SampleOrg exists in the default configtx.yaml for people doing simple trials without test-network, but again, it is never used by test-network.
FABRIC_CFG_PATH=$PWD/../config/ is set so that during the channel join, the peer channel join command can use the default config/core.yaml to set the peer client default properties.

config/configtx.yaml is never used by test-network. The SampleOrg exists in the default configtx.yaml for people doing simple trials without test-network, but again, it is never used by test-network.

this is not true. If you remove the config/confif.tx the createChannel scripts fail.

It simply doesn't make sense to have 2 configtx.yaml files, if one is used only for peer joining, and an entirely different one for the peer containers. Why wouldn't the peer's configs be used to also join the channel? Wouldn't this simply the setup scripts? You also wouldn't need a separate step to download the binary and config files from the install scripts

FABRIC_CFG_PATH=$PWD/../config/ is set so that during the channel join, the peer channel join command can use the default config/core.yaml to set the peer client default properties.

What properties are required for joining the channel that differ from the properties in the configtx.yaml that is mounted in the peer containers?


vs code extensions are self-deleting

Type: Bug
Every time I close vs code and open it, its extensions are deleted by itself and nothing happens in the installed extensions, but the installed extensions appear in the extensions file, but they do not work. It's been like that for a long time.
VS Code version: Code 1.75.1 (441438abd1ac652551dbe4d408dfcec8a499b8bf, 2023-02-08T21:32:34.589Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz (8 x 3392)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
15.97GB (11.44GB free)

Process Argv
--crash-reporter-id 67543f0d-a9ee-44c3-88a4-323d847ed4d9

Screen Reader
no

VM
0%

Extensions: none
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30660299
azure-dev_surveyone:30548225
vsccc:30610678
pyindex848:30577860
nodejswelcome1:30587005
2e4cg342:30602488
pyind779:30657576
f6dab269:30613381
pythonsymbol12cf:30657549

but the installed extensions appear in the extensions file

Can you please share the contents of the extensions file?

  Windows için Posta ile gönderildi Kimden: Sandeep SomavarapuGönderilme: 15 Şubat 2023 Çarşamba 17:19Kime: microsoft/vscodeBilgi: Berkan Yıldırım; AuthorKonu: Re: [microsoft/vscode] vs code extensions are self-deleting (Issue #174238) but the installed extensions appear in the extensions fileCan you please share the contents of the extensions file?—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>
@Berkan-43 Please check your comment and it does not contain requested info.

I don't understand what you want me to do the extensions are not working
can you suggest a solution please
17 Şub 2023 Cum 18:52 tarihinde Sandeep Somavarapu @.***>
şunu yazdı:

@Berkan-43 https://github.com/Berkan-43 Please check your comment and
it does not contain requested info.
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/174238#issuecomment-1434836374,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2GOYLL2L55KE4GDT3366NDWX6NE3ANCNFSM6AAAAAAU2D5VSA
.
You are receiving this because you were mentioned.Message ID:
@.***>

How can I share the content of the extension file, I posted it as an image

@sandy081
I guess I'd better throw it this way but none of the extensions work
Auto Close Tag
Auto Rename Tag
Better Comments
CSS Peek
CSSTree validator
Dart
Djaneiro - Django Snippets
Django Template
Git History
GitHub Copilot
HTML CSS Support
HTML End Tag Labels
isort
Jupyter
Jupyter Cell Tags
Jupyter Keymap
Jupyter Notebook Renderers
Jupyter Slide Show
Live Server
Material Icon Theme
Prettier - Code formatter
Pylance
Python
SQLite
Turkish Language Pack for Visual Studio Code
Monokai Pro
Bracket Pair Colorizer
Tabnine AI Autocomplete for Javascript, Python, Typescript, PHP, Go, Java, Ruby & more

@Berkan-43

nothing happens in the installed extensions, but the installed extensions appear in the extensions file

You said they appear in the extensions file, which file are you talking about? Can you please share this file?

@sandy081
C:\Users\username.vscode\extensions
it looks here

[{"identifier":{"id":"ms-toolsai.jupyter-keymap","uuid":"9f6dc8db-620c-4844-b8c5-e74914f1be27"},"version":"1.0.0","location":{"$mid":1,"path":"/c:/Users/DMC BİLGİSAYAR/.vscode/extensions/er-keymap-1.0.0","scheme":"file"},"relativeLocation":"-keymap-1.0.0","metadata":{"id":"9f6dc8db-620c-4844-b8c5-e74914f1be27","publisherId":"ac8eb7c9-3e59-4b39-8040-f0484d8170ce","publisherDisplayName":"Microsoft","targetPlatform":"undefined","isApplicationScoped":false,"updated":false,"isPreReleaseVersion":false,"installedTimestamp":1677154589305,"preRelease":false}},{"identifier":{"id":"ms-toolsai.vscode-jupyter-cell-tags","uuid":"ab4fb32a-befb-4102-adf9-1652d0cd6a5e"},"version":"0.1.6","location":{"$mid":1,"path":"/c:/Users/DMC BİLGİSAYAR/.vscode/extensions/ode-jupyter-cell-tags-0.1.6","scheme":"file"},"relativeLocation":"e-jupyter-cell-tags-0.1.6","metadata":{"id":"ab4fb32a-befb-4102-adf9-1652d0cd6a5e","publisherId":"ac8eb7c9-3e59-4b39-8040-f0484d8170ce","publisherDisplayName":"Microsoft","targetPlatform":"undefined","isApplicationScoped":false,"updated":false,"isPreReleaseVersion":false,"installedTimestamp":1677154589347,"preRelease":false}},{"identifier":{"id":"ms-toolsai.vscode-jupyter-slideshow","uuid":"e153ca70-b543-4865-b4c5-b31d34185948"},"version":"0.1.5","location":{"$mid":1,"path":"/c:/Users/DMC BİLGİSAYAR/.vscode/extensions/scode-jupyter-slideshow-0.1.5","scheme":"file"},"relativeLocation":"ode-jupyter-slideshow-0.1.5","metadata":{"id":"e153ca70-b543-4865-b4c5-b31d34185948","publisherId":"ac8eb7c9-3e59-4b39-8040-f0484d8170ce","publisherDisplayName":"Microsoft","targetPlatform":"undefined","isApplicationScoped":false,"updated":false,"isPreReleaseVersion":false,"installedTimestamp":1677154589398,"preRelease":false}},{"identifier":{"id":"ms-toolsai.jupyter-renderers","uuid":"b15c72f8-d5fe-421a-a4f7-27ed9f6addbf"},"version":"1.0.14","location":{"$mid":1,"path":"/c:/Users/DMC BİLGİSAYAR/.vscode/extensions/.jupyter-renderers-1.0.14","scheme":"file"},"relativeLocation":"upyter-renderers-1.0.14","metadata":{"id":"b15c72f8-d5fe-421a-a4f7-27ed9f6addbf","publisherId":"ac8eb7c9-3e59-4b39-8040-f0484d8170ce","publisherDisplayName":"Microsoft","targetPlatform":"undefined","isApplicationScoped":false,"updated":false,"isPreReleaseVersion":false,"installedTimestamp":1677154589319,"preRelease":false}},{"identifier":{"id":"ms-toolsai.jupyter","uuid":"6c2f1801-1e7f-45b2-9b5c-7782f1e076e8"},"version":"2023.1.2010391206","location":{"$mid":1,"path":"/c:/Users/DMC BİLGİSAYAR/.vscode/extensions/ai.jupyter-2023.1.2010391206","scheme":"file"},"relativeLocation":".jupyter-2023.1.2010391206","metadata":{"id":"6c2f1801-1e7f-45b2-9b5c-7782f1e076e8","publisherId":"ac8eb7c9-3e59-4b39-8040-f0484d8170ce","publisherDisplayName":"Microsoft","targetPlatform":"undefined","isApplicationScoped":false,"updated":false,"isPreReleaseVersion":false,"installedTimestamp":1677154589290,"preRelease":false}},{"identifier":{"id":"ms-python.python","uuid":"f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5"},"version":"2023.2.0","location":{"$mid":1,"path":"/c:/Users/DMC BİLGİSAYAR/.vscode/extensions/hon.python-2023.2.0","scheme":"file"},"relativeLocation":"n.python-2023.2.0","metadata":{"id":"f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5","publisherId":"998b010b-e2af-44a5-a6cd-0b5fd3b9b6f8","publisherDisplayName":"Microsoft","targetPlatform":"undefined","isApplicationScoped":false,"updated":false,"isPreReleaseVersion":false,"installedTimestamp":1677154589277,"preRelease":false}},{"identifier":{"id":"ms-python.isort","uuid":"4ad0ce32-ff3f-49f0-83b5-93e5dc00cfff"},"version":"2022.8.0","location":{"$mid":1,"path":"/c:/Users/DMC BİLGİSAYAR/.vscode/extensions/ython.isort-2022.8.0","scheme":"file"},"relativeLocation":"hon.isort-2022.8.0","metadata":{"id":"4ad0ce32-ff3f-49f0-83b5-93e5dc00cfff","publisherId":"998b010b-e2af-44a5-a6cd-0b5fd3b9b6f8","publisherDisplayName":"Microsoft","targetPlatform":"undefined","isApplicationScoped":false,"updated":false,"isPreReleaseVersion":false,"installedTimestamp":1677154621228,"preRelease":false}},{"identifier":{"id":"ms-python.vscode-pylance","uuid":"364d2426-116a-433a-a5d8-a5098dc3afbd"},"version":"2023.2.40","location":{"$mid":1,"path":"/c:/Users/DMC BİLGİSAYAR/.vscode/extensions/-python.vscode-pylance-2023.2.40","scheme":"file"},"relativeLocation":"ython.vscode-pylance-2023.2.40","metadata":{"id":"364d2426-116a-433a-a5d8-a5098dc3afbd","publisherId":"998b010b-e2af-44a5-a6cd-0b5fd3b9b6f8","publisherDisplayName":"Microsoft","targetPlatform":"undefined","isApplicationScoped":false,"updated":false,"isPreReleaseVersion":false,"installedTimestamp":1677154621143,"preRelease":false}},{"identifier":{"id":"ritwickdey.liveserver","uuid":"b63c44fd-0457-4696-99e9-dbfdf70d77de"},"version":"5.7.9","location":{"$mid":1,"fsPath":"c:\Users\DMC BİLGİSAYAR\.vscode\extensions\ritwickdey.liveserver-5.7.9","_sep":1,"path":"/c:/Users/DMC BİLGİSAYAR/.vscode/extensions/ritwickdey.liveserver-5.7.9","scheme":"file"},"relativeLocation":"twickdey.liveserver-5.7.9","metadata":{"id":"b63c44fd-0457-4696-99e9-dbfdf70d77de","publisherId":"17fd9a78-e430-4a78-add2-ade4a8830352","publisherDisplayName":"Ritwick Dey","targetPlatform":"undefined","isApplicationScoped":false,"updated":false,"isPreReleaseVersion":false,"installedTimestamp":1677154955754,"preRelease":false}}]

/duplicate
https://github.com/microsoft/vscode/issues/174401

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


When pressing the claim button in Rally, a js error occurs and claiming... message and cannot be completed.

When pressing the claim button in Rally, a js error occurs and claiming... message and cannot be completed.
The following errors are displayed
index-a9d76da4.js:1444 Error: ended.
    at index-a9d76da4.js:1023:8961
    at async $ (index-a9d76da4.js:1444:5767)

The following is a description of where the js error is occurring.
function QLe({msg: e, onMsgLoaded: t, usersMap: n, isFixed: i, onFixClaim: r, scrolling: a}) {
    const s = Zt()
      , {curStageInfo: o, luckyDropStatuses: l, luckyDropDescs: u, userStageCoins: d, luckyDropClaimsNum: f, meIsHost: p, luckyDropClaimsAmount: h} = qe(Y=>Y.chat)
      , {user: m, userId: v} = qe(Y=>Y.user)
      , [y,g] = S.useState("Claimable")
      , [x,b] = S.useState(null)
      , [_,w] = S.useState(!1)
      , {luckyId: C, luckyType: E} = JSON.parse(e.content)
      , [T,A] = S.useState(null)
      , [k,M] = S.useState(!1)
      , [O,N] = S.useState(!1)
      , P = Qn()
      , R = l[C] ?? y
      , I = {
        LIGHT_UP_COIN: "Gems Airdrop for Rally",
        NEW_STAGE_COIN: "Gems for Boostrap Airdrop",
        OLE: "$OLE Airdrop",
        HOST_DROP: "Gems Airdrop from Host"
    }
      , {fire: L} = zne()
      , [j,D] = S.useState(!1)
      , B = S.useRef(null)
      , $ = async()=>{
        if (!(R !== "Claimable" || p && E == "HOST_DROP" && !lR.includes(v)) && !j && R === "Claimable") {
            D(!0);
            try {
                const Y = await Ge.stage.claimLuckyDrop({
                    stageId: o == null ? void 0 : o.stageId,
                    luckyDropId: C
                });
                Y && (L(),
                w(!0),
                g("Claimed"),
                s(bo({
                    id: C,
                    status: "Claimed"

The error message Error: ended typically indicates that a Promise or an asynchronous operation was prematurely terminated or did not resolve as expected. In the context of your code, this error could be originating from an asynchronous function or a Promise chain.
Looking at your code snippet, the most likely source of this error is the asynchronous function $ which is being used to claim a lucky drop. The error might be occurring due to the following reasons:
Network Issues: The request made by Ge.stage.claimLuckyDrop might be failing due to network issues or server-side problems.
Unhandled Promise Rejection: If the promise returned by Ge.stage.claimLuckyDrop is rejected and there's no .catch block to handle the rejection, it could lead to an unhandled promise rejection error.
Premature Termination: The function might be getting terminated before the promise is resolved or rejected, possibly due to a logic error in your code.
To troubleshoot and fix this error, you can try the following steps:
Check Network Requests: Use the network tab in your browser's developer tools to check if the request made by Ge.stage.claimLuckyDrop is successful or if it's failing due to some reason.
Add Error Handling: Ensure that you have proper error handling in place for the promise returned by Ge.stage.claimLuckyDrop. You can add a .catch block to handle any potential rejections:
const Y = await Ge.stage.claimLuckyDrop({
    stageId: o == null ? void 0 : o.stageId,
    luckyDropId: C
}).catch(error => {
    console.error("Error claiming lucky drop:", error);
    // Handle the error appropriately
});

Check for Logical Errors: Review the logic in your function to ensure that it's not getting terminated prematurely. Make sure that the conditions in your if statements are correct and that the function is allowed to complete its execution.
By following these steps, you should be able to identify and resolve the source of the Error: ended in your code.

Same here, 20 may in 9:15 AM pressing Claim button, I saw the inscription claiming, clicked a few more times and after completion I received nothing. Until this moment, everything was fine.


Accessibility blurb missing from main Application Fundamentals page

The Table of Contents shows an Accessibility section under Application Fundamentals, but there is no matching mention in the landing page for Application Fundamentals.

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

ID: 6da1abc6-98f5-64ba-1332-d7b8f4791d22
Version Independent ID: 522b9fe2-7192-5efd-50f2-861a7b91c446
Content: Xamarin.iOS Application Fundamentals - Xamarin
Content Source: docs/ios/app-fundamentals/index.md
Product: xamarin
GitHub Login: @bradumbaugh
Microsoft Alias: brumbaug

Thanks @Crwth. I added this item and reordered the others to match the TOC. Should be published soon. I appreciate your help!


JerseyHttpClient always uses chunked encoding for sending data, annoying lighttpd

If you use Dropwizard's JerseyHttpClient to POST data somewhere, it will always use chunked encoding which annoys simpler webservers like lighttpd massively:
POST / HTTP/1.1
Content-Type: application/json
Accept-Encoding: gzip
Transfer-Encoding: chunked
Host: <IP_ADDRESS>:8000
Connection: Keep-Alive

2
{}
0

HTTP/1.1 411 Length Required
Content-Type: text/html
Content-Length: 357
Connection: close
Date: Thu, 03 Oct 2013 08:37:56 GMT
Server: lighttpd/1.4.28

[…]

This shouldn't really happen because Jersey's ApacheHttpClient4Handler does use a BufferedHttpEntity unless requested otherwise (line 271ff).
Below you can find a simplish test case (I think the Managed stuff isn't really necessary, I just wanted to be sure everything is in a good state before I send my request). It won't happen in my naive JerseyClient implementation (switch the comments in main) and also won't happen with a HttpClient (switch the comments in run) unless you use a streaming HttpEntity and forget to wrap it in a BufferedHttpEntity.
Because it doesn't happen in runNaiveJerseyClient I think Dropwizard registers some magic which makes the Jersey client unhappy/forget to apply its BufferedHttpEntity. My guess is the gzip filter which is registered (at least I'm stepping through it with the debugger) even if I set setGzipEnabledForRequests to false. But I might be wrong.
public class TestService extends Service<Configuration> {
    private final static String URL = "http://<IP_ADDRESS>:8000/";

	public static void main(String[] args) throws Exception {
    	TestService s = new TestService();
        s.run(args);
    	//s.runNaiveJerseyClient();
    }

    public void initialize(Bootstrap<Configuration> bootstrap) {}

    public void run(Configuration config, Environment env) throws Exception {
    	runJerseyClient(config, env);
    	//runHttpClient(config, env);
    	env.addResource(new Root());
    }
    private void runJerseyClient(Configuration config, Environment env) throws Exception  {
    	final JerseyClientConfiguration clientConfig = new JerseyClientConfiguration();
    	clientConfig.setGzipEnabledForRequests(false);
        final Client client = new JerseyClientBuilder()
        	.using(clientConfig)
        	.using(env)
        	.withProperty(ClientConfig.PROPERTY_CHUNKED_ENCODING_SIZE, null)
        	.build();
        client.addFilter(new LoggingFilter());
        env.manage(new Managed() {
        	public void start() throws Exception {
        		WebResource.Builder builder = client.resource(URL)
        				.type("application/json")
        				.entity(new HashMap<String, Object>());
        		builder.post();
        	}
        	public void stop() throws Exception {}
        });
    }
    private void runNaiveJerseyClient() {
    	Client client = Client.create();
    	client.setChunkedEncodingSize(null);
    	client.addFilter(new LoggingFilter());
    	WebResource.Builder builder = client.resource(URL)
    			.type("application/json")
    			.entity(new HashMap<String, Object>());
    	builder.post();
    }
    private void runHttpClient(Configuration config, Environment env) throws Exception {
    	final HttpClientConfiguration clientConfig = new HttpClientConfiguration();
        final HttpClient client = new HttpClientBuilder()
        	.using(clientConfig)
        	.build();
        //final HttpEntity entity = new StringEntity("{}");
        final HttpEntity entity = new BufferedHttpEntity(new EntityTemplate(new ContentProducer() {
			public void writeTo(OutputStream out) throws IOException {
				out.write(new byte[]{'{', '}'});
			}
		}));
        env.manage(new Managed() {
        	public void start() throws Exception {
        		HttpPost post = new HttpPost(URL);
        		post.setHeader("Content-Type", "application/json");
        		post.setEntity(entity);
        		HttpResponse response = client.execute(post);
        		StatusLine status = response.getStatusLine();
        		if (status.getStatusCode() >= 300)
        			throw new RuntimeException(status.toString());
        	}
        	public void stop() throws Exception {}
        });
    }
    @Path("/")
    public class Root {
    	@GET
    	public Object get() { return null; }
    }
}

I am working on a project that experiences this exact problem using dropwizard 0.7.0. Is there a workaround that I can use when using that version, or possibly 0.7.1?

@helsing probably too late but you can find a branch called jersey-1.18.1 in my fork which should work IIRC. Or we did use a patched jersey JAR, can't really remember.


Use Google Maps AdvancedMarker

Google Maps has now released AdvancedMarker which allows for greater customization of the legacy Marker. Is it possible to use this with Maui.GoogleMaps?

It depends. On iOS the native sdk is very old, so there - no. On Android it is more up to date - 18.2 or somewhere there.  So, if it is there in that version feel free to contribute

Update on this one, the iOS sdk is now 9.1.1 so most likely if all the needed code is in the new bindings this can be implemented

Update on this one, the iOS sdk is now 9.1.1 so most likely if all the needed code is in the new bindings this can be implemented

I tried to implement this, but I realized there are no bindings in the SDK for iOS.

Google Maps has now released AdvancedMarker which allows for greater customization of the legacy Marker. Is it possible to use this with Maui.GoogleMaps?

You need to open an issue in the library's repository. If I have the patience, I’ll implement it; it seems easy, although I don’t see many gains on mobile when using this.


closing last tab means no other files can be opened

How to reproduce: close last remaining tab, attempt to use ctrl-p, sidebar, or :e to open a file
Expected result: can open file
Result: nothing happens

Seems to only happen after trying funkiness from #415


add a way to utilize single properties from the engine config file, on exported games

Godot version:
3.0
OS/device including version:
win10, 64bitz
Issue description:
using OS.window_fullscreen = true in gdscript (after you run the game, will cause screen tearing for a  second while it enables the fullscreen). this also means, you must do:
if OS.window_fullscreen:
    yield(get_tree(), "screen_resized")

before adding nodes to the scene, or their control layouts won't be updated correctly
if you set project.godot, this is not an issue
[display]
window/size/fullscreen=true

except 1 problem. you cannot have just that configuration inside project.godot on exported games. you need to have your entire project.godot file. which has application, autoload, editor,  editor_plugins. input, locale, and rendering.  i don't know if other players should have access to these settings
it would be nice if we could have a file that modifies the game configuration settings just like how project.godot does, before it hits gdscript (so it doesn't causes screen tearing when running OS.window_fullscreen = true).  also allows for a much smoother UX experience (when launching the game)

using OS.window_fullscreen = true in gdscript (after you run the game, will cause screen tearing for a second while it enables the fullscreen). this also means, you must do:
if OS.window_fullscreen:
yield(get_tree(), "screen_resized")
before adding nodes to the scene, or their control layouts won't be updated correctly
Not experiencing this issue with a debug build on Linux. Setting OS.window_fullscreen = true just works for me. You should try upgrading to 3.0.2, though, maybe that helps.

Oh, you mean that the bootsplash already starts in fullscreen. Ok then I have the same "issue" (it's not really), of course setting OS.window_fullscreen=true in any function of your game will only load when the game has already started. But why do you mind having the bootsplash windowed for a short moment and then the game doing what you want?
Btw, you could invert the way you're working: Enable fullscreen in the settings and disabling it where you don't want it.

of course setting OS.window_fullscreen=true in any function of your game will only load when the game

yes, i know. that's why i said "before hitting gdscript". because the only way to not have that screen tear is, if you use a project.godot file on an exported game

lol -- because you then have to use this:
if OS.window_fullscreen:
yield(get_tree(), "screen_resized")
when changing to window_fullscreen in code, control layouts get messed up (when the screen tear is happening). it's best to use project.godot

Oh ok, now I understand. Though, I'm not having this problem :P

@Phoenix1747 well, i could make another issue about that, but was just answering your specific question. this issue, the screen tearing still happens (but i mean, it's normal because it's being called in gdscript, which is after the game loaded) you are right. i'm just saying if using project.godot it would be a lot more smoother.
we can already do that now, but it involves including all the other categories and properties.  plus, AFAIK it's already reading the one inside the res:// virtual directory, no need to have 2 of em either. i think if a project.godot exists inside the directory of an exported game, the categories/properties should be overwritten

Would it help if there is a user://settings.godot file, which gets automatically merged into res://project.godot on startup, and can be read from and written to whenever one feels like it?

@bojidar-bg +1 to that. for example, the entire reason i'm making this issue is because i store players game options in a .json file. and if they have enabled a fullscreen option. i then use OS.window_fullscreen=true in gdscript. then when they open the game, it loads up whatever was in project.godot first, then goes full screen, causing the screen tear.  not just with fullscreen, screen size too. it would solve two problems actually.
with @bojidar-bg's implementation/idea, the developer could just update the settings.godot file:
[display]
window/size/fullscreen=true

which now, when they re-open the game, this file merges into  the main project.godot settings and launches smooth without waiting for gdscript to call OS screen methods

Can Godot's ConfigFile interfere with the project.godot in res://? If yes you could read and write the different keys from there; maybe that's a workaround.
Also @girng what exact version of Godot are you using? I'm doing almost exactly the same as you do but it works without any layout issues.
Btw, have a look at the ConfigFile class, I think that's a better way than to store json files for you, https://godot.readthedocs.io/en/3.0/classes/class_configfile.html?highlight=config

thank you @Phoenix1747 but unfortunately i have to stick with json for configuration, easy to organize and works really nice in godot since json is handled beautifully. @Phoenix1747   i compiled the one from  5 days in 3.0 branch

Can Godot's ConfigFile interfere with the project.godot

i'm not sure. but if u do ProjectSettings.save()  on an exported game it'll export everything and now we're back to the original issue 😁

@Phoenix1747 my english not so good, so i apologise. even if its in user:// player can still access the entire project.godot file which i feel like is intrusive and partially redundant, since the exported game already reads from it internally. i just wish there is a way to modify that internally.

Ok I see, thanks for the clarification :+1:

Isn't that exactly what override.cfg is about? Though it's not documented and still keeps the old name from Godot 2.1, I guess only a handful of people know about it.

Damn there exists something like that?

Essentially if you put a file called override.cfg alongside the exported binary, it will be loaded on top of the regular settings file. I never actually tested it, just know it by reading the code, so don't know if it's really working.

@vnen what is this sorcery! i just put
[display]
window/size/fullscreen=true

in override.cfg and it works!

Does the override.cfg need to be in the same directory as the bin and the .pck file or does Godot also look at the user:// directory?

If the engine can look at user directory, will be a great plus.
And please, add a mention in the documentation, I do not know where, maybe saving games section?

Does the override.cfg need to be in the same directory as the bin and the .pck file or does Godot also look at the user:// directory?

Agreed override.cfg should be in the user:// directory so that 2 users on the same machine can have different settings.
And override.cfg should be documented. I almost built this same thing!

@jknightdoeswork override.cfg is intended for development. In an exported project, you'll want to specify the path to a project settings override in the Project Settings; see https://github.com/godotengine/godot/issues/30087#issuecomment-505879289.
This should be mentioned in the documentaion, but I don't know which page would be the most suited for this.

Yeah, when I made this issue I didn't even know about override.cfg (thanks @vnen!), but that solved my problem (no screen tear, smoothing UX upon startup, etc).  I am not sure if this is still an issue since there is documentation for it now.

res://override.cfg works, but the better option is to use a Project Settings Override saved in user://: https://docs.godotengine.org/en/latest/classes/class_projectsettings.html#class-projectsettings-property-application-config-project-settings-override
I'll close this issue as it's old and solved. There might be ways to make this more user-friendly for Godot 4.0, but those should likely be discussed in https://github.com/godotengine/godot-proposals


UI Suggestions

Here are some suggestions on how to improve the UI:

Clicking on the logo in the top left should bring me to the homepage.
Clicking on an assignment in the sidebar should scroll to that assignment in the page.
The header should have a background so it doesn't get covered up when you scroll down.
The menu that appears on the right should be replaced with a simple dropdown that appears when the user hovers over the header.
Lists (list of courses, list of assignments) should take up less space. Currently each item takes up over half my screen height, and getting to any one item or browsing requires too much scrolling.
Each assignment should have a separate page. The assignment page could list submissions, backups, and groups, perhaps using tabs so they can be listed easily.
There should be a breadcrumb in the header to help navigate, similar to Gradescope's. The breadcrumb has the form Course > Assignment and the Assignment has a dropdown allowing you to navigate to other assignments in the same class easily.
The user should be notified in real time when they or someone in their group submits or adds them to a group.
Each assignment should link to the relevant description e.g. maps should link to http://cs61a.org/proj/maps/.

Here's my take on them. Also, in the future, can you make a separate issue for each suggestion? It might be kinda spammy, but it keeps the discussion in 1 place for each issue.

Clicking on the logo in the top left should bring me to the homepage.

Agreed. Made an issue for it.

Clicking on an assignment in the sidebar should scroll to that assignment in the page.

Duplicate of #375

The header should have a background so it doesn't get covered up when you scroll down.

Agreed. Made an issue for it.

The menu that appears on the right should be replaced with a simple dropdown that appears when the user hovers over the header.

I don't like the hovering because it might be unintentional and annoying. I think they should have to click on stuff to show intent.

Lists (list of courses, list of assignments) should take up less space. Currently each item takes up over half my screen height, and getting to any one item or browsing requires too much scrolling.

I don't think it should take up less space- I don't like having a large information density for the student view. If we bubble up active assignments, scrolling goes away.

Each assignment should have a separate page. The assignment page could list submissions, backups, and groups, perhaps using tabs so they can be listed easily.

There's no need for separate pages for assignments. You really only care about your most recent backups, etc. If there's too much information, this gets annoying to navigate (and I get a ton of UI complaints).

There should be a breadcrumb in the header to help navigate, similar to Gradescope's. The breadcrumb has the form Course > Assignment and the Assignment has a dropdown allowing you to navigate to other assignments in the same class easily.

Not sure if this is necessary without the previous bullet point.

The user should be notified in real time when they or someone in their group submits or adds them to a group.

Yes, this is in the works. (The notification framework will be able to handle this).

Each assignment should link to the relevant description e.g. maps should link to http://cs61a.org/proj/maps/

Agreed. This is also in the works.

I'll close this issue unless you think my reasoning is wrong for some of the UI choices I disagreed with you on.

@knrafto - were you referring to email notifications for partner signups - or just a notification on the site ?

The menu that appears on the right should be replaced with a simple dropdown that appears when the user hovers over the header.
I don't like the hovering because it might be unintentional and annoying. I think they should have to click on stuff to show intent.
Lists (list of courses, list of assignments) should take up less space. Currently each item takes up over half my screen height, and getting to any one item or browsing requires too much scrolling.
I don't think it should take up less space- I don't like having a large information density for the student view. If we bubble up active assignments, scrolling goes away.
Each assignment should have a separate page. The assignment page could list submissions, backups, and groups, perhaps using tabs so they can be listed easily.
There's no need for separate pages for assignments. You really only care about your most recent backups, etc. If there's too much information, this gets annoying to navigate (and I get a ton of UI complaints).
There should be a breadcrumb in the header to help navigate, similar to Gradescope's. The breadcrumb has the form Course > Assignment and the Assignment has a dropdown allowing you to navigate to other assignments in the same class easily.
Not sure if this is necessary without the previous bullet point.
The user should be notified in real time when they or someone in their group submits or adds them to a group.
Yes, this is in the works. (The notification framework will be able to handle this).

The menu that appears on the right should be replaced with a simple dropdown that appears when the user hovers over the header.

I don't like the hovering because it might be unintentional and annoying. I think they should have to click on stuff to show intent.
You can make the dropdown clickable (like FB) but the current menu is too flashy and intrusive. It blocks me from interacting with the rest of the and takes too long to dismiss.

Lists (list of courses, list of assignments) should take up less space. Currently each item takes up over half my screen height, and getting to any one item or browsing requires too much scrolling.

I don't think it should take up less space- I don't like having a large information density for the student view. If we bubble up active assignments, scrolling goes away.
As a user, if I know what assignment or course I want then I want to go there as fast as possible. I want all the information to fit on the page.

Each assignment should have a separate page. The assignment page could list submissions, backups, and groups, perhaps using tabs so they can be listed easily.

There's no need for separate pages for assignments. You really only care about your most recent backups, etc. If there's too much information, this gets annoying to navigate (and I get a ton of UI complaints).
I think a separate page is better than the "more info" dropdown. Perhaps use tabs to separate backups, submissions, and groups (e.g. see Github's user profile page). The breadcrumb will make it easy to navigate. I think it's easier than scrolling everywhere.

@Sumukh I did mean site notifications.
Just my $.02. Feel free to close the issue :)

Okay, I didn't know that you can make the dropdown clickable (didn't think of Facebook there. XD). I agree with you then- can you make a separate issue?
In terms of having lists and assignments take up less space- I think we both want the same thing but have different solutions for it. I think the main annoyance right now is that there's a lot of scrolling that has to be done, which I think is an issue. One way to fix it would be to put more information on the page- however through experience, we saw that led to a lot of "How do I do [x]?" questions on Piazza and in my inbox, which wasn't fun for me. :-) The second way to fix it would be to have the most recent assignments appear first (e.g. the active ones first, and then the inactive ones sorted by date) @Sumukh is working on this.  Both are reducing scrolling and I think the second way just requires us to think a lot more about the student's shoes, which is definitely a good thing.
The reason we don't have separate pages for backups, submissions, etc is that it was very confusing for people to navigate. For example, the first few times I was using the staff page (and even sometimes now), I'm not 100% sure where things are. I'm willing to click around and staff generally should since information density is important to them, but students shouldn't be expected to do that.
Before closing, we should all be convinced that everything you brought up is either a non-issue or we make an issue so that it gets done eventually.


Implement simulate mode in distcp.

@pcadabam can you review?

Coverage increased (+0.1%) to 42.067% when pulling aa0623bf9cb26ddeecb0af4cb0bd5b2e61626ed0 on ibuenros:distcp-simulate into 139fb1bc48172300cd8ddb8741e996b4881d06fc on linkedin:master.

Coverage decreased (-0.2%) to 41.747% when pulling 84e5a4208c96a6935f2f9087b56e5828c5b22465 on ibuenros:distcp-simulate into 139fb1bc48172300cd8ddb8741e996b4881d06fc on linkedin:master.

or @ydai1124 can you review?

LGTM


How did you generate that diagram

https://github.com/KasukuSakura/Kimiroyli/blob/main/src/tech/0.0.Boot.txt#L35-L80
It might be off-topic

????


Support for pagination when using relay pattern

Describe the solution you'd like
i would like the generated file to expose a function such as:
func queryPaged(
	ctx context.Context,
	client graphql.Client,
	pageSize int,
	pf func(T) error,
) error {
	var cursor *string
	resp, err := query(ctx, client, pageSize, cursor)
	if err != nil {
		return nil
	}

	for _, edge := range resp.X.Edges {
		if err := pf(edge.GetNode()); err != nil {
			return err
		}
	}
	return nil
}

The issue I have is that this needs to be generated as the "X" is the query endpoint so it's not fixed.
One possibility is to add a generic method to the root query that returns the node inside "data",
Then we can write a generic pager with interfaces and generics.
Describe alternatives you've considered
Writing a pager function for every query, but that sort of defeats the purpose of the generator.
Additional context
The relay connection paging pattern is described here: https://relay.dev/graphql/connections.htm and here: https://graphql.org/learn/pagination/.

Definitely agree this would be useful, I think the question is just what exactly to add! Would love to hear a bit more from you and any other interested users a description of what you're trying to do so we can try to optimize for it.

I would like the generator to make some code that enables me to transparently use API where a pager is available.
Right now I need to write an additional bit of code for every request I write, to handle the paging mecanism (iterating through all the pages until the end), it looks a little bit like the function in the description, and it mostly the same for each query (only the X differs), so it seems like an good opportunity to have it generated.
The query looks like that:
query Endpoint($pageSize: Int!, $cursor: Cursor) {
  endpoint(first: $pageSize, after: $cursor) {
    pageInfo {
      hasNextPage
      endCursor
    }
    edges {
      node {
        id
        name
...
      }
    }
  }
}

I have thought some more about that, and I am not sure how/if the following points can be handled:

the paging info needs to be specified in the query (both return values and parameters). Either the generator adds those automatically, or maybe it can detect in the query that there is going to be a paging api involved ?
this can only work with a well defined/known paging API (it probably is harder to support any custom paging scheme)
if a query uses multiple endpoints, how to handle the combined paging ? Iter until all cursors/hasNextPage are finished ?


How to make thumbs once

New thumbnail is generating every time i run RNThumbnail.get(path), so how can i generate it only once? Sorry for my english)

@1stman Hmm, because I think every time we generate, we should make a thumbnail and save in temp folder and you can load the image in your app. If we only generate one, it can be the problem. So I think you should manage the temp files by yourself.


Remove TODO comment left in Python Equation Solver project

Describe the Issue
There was a TODO comment left in the hints for the Equation Solver project

The hint should be updated to the following:
You should modify the pattern passed as the first argument to the `re.sub()` call using a negative lookbehind.

Affected Page
https://github.com/freeCodeCamp/freeCodeCamp/blob/main/curriculum/challenges/english/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/664ef4623946e65e18d59764.md
Your code
see explanation above
Expected behavior
see explanation above
Screenshots
No response
System

Device: [e.g. iPhone 6, Laptop]
OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04]
Browser: [e.g. Chrome, Safari]
Version: [e.g. 22]

Additional context
No response

This has been opened for contribution. The first comprehensive PR created will be reviewed and merged. We typically do not assign issues to anyone other than long-time contributors.
If you would like to contribute and have not read the contributors docs, please do so here: https://contribute.freecodecamp.org/#/
If you have any issues with contributing, be sure to join us on the contributors channel, or on the contributors sub-forum
Files that need to be changed
https://github.com/freeCodeCamp/freeCodeCamp/blob/main/curriculum/challenges/english/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/664ef4623946e65e18d59764.md
Happy coding

i would like to work on this issue, could you please assign this issue to me.

can you please add label to this issue as "Hacktoberfest"

Hi, I'd like to contribute to this issue! I'll update the hint for the re.sub() call to use a negative lookbehind and submit a PR shortly. Thanks for the opportunity!

Hello! I'm interested in resolving this issue by refining the str method within the Equation class. My plan is to adjust the re.sub() function to incorporate a negative lookbehind, ensuring that the digit '1' is only replaced when it isn't preceded by another digit. This approach will prevent unintended substitutions in multi-digit numbers. I'll prepare a pull request with these modifications soon. Thank you for considering my contribution!

I would like to contribute to this issue. I have contributed to hacktoberfest last year as well. Please assign it to me.

@developer-mohitsoni the repo has the label, the issue label don't matter.
@developer-mohitsoni @srirangamuc @codexkunal @parthasdey2304
We typically do not assign issues. Instead, we accept the first pull request that comprehensively solves the issue.
Issues labeled with help wanted or first timers only are open for contributions.
Please make sure you read our guidelines for contributing. We prioritize contributors following the instructions in our guide. Join us in our chat room or the forum if you need help contributing - our community will be happy to assist you.

@codexkunal

I'm interested in resolving this issue by refining the str method within the Equation class.

Please do not make any changes outside what is outlined in the issue.
The scope of the issue to only update the hint text to remove the TODO comment. Any other changes will not be accepted in a PR
Thank you 👍

@jdwilkin4 Thank you for the clarification! I'll ensure the changes in my PR are limited to updating the hint text and removing the TODO comment, as specified in the issue. I appreciate the guidance!

@ilenia-magoni Thanks for the clarification Mam


Re-enable UsingToolMicrosoftNetCompilers=false in Roslyn

This causes the build to fail because the current bootstrap SDK does not include native integer support, but disabling it introduces a prebuilt.  We should re-enable when the bootstrap SDK supports native integers.

[Triage]  There is not a need to make this change.


Add docu in particular for VB derivation

I added Annikas derivation of the VB to a sphinx docu and copied also the intro from model calibration (because I think it fits much better here). The final section is not fully correct, but we are still discussing this (some of the derivations are not clear to me yet, so we should only merge it when the final section with the free energy is correctly done). But maybe this helps for the discussion and can be finally used to document our code.
In order to build the documentation, make sure sphinx and spinx-rtd-scheme are installed (I changed the requirements file). Then run doit in the main folder. The updated docu should then be build in ./build/index.html. In the future, we could add this build to the runner and have the docu automatically build and linked in the Readme.

When built locally on my Ubuntu 20.04 LTS, one equation was not compiled correctly and the colors in the equations only affected one variable. That seems to be sphinx-specific. I fixed that by replacing the (IMO) correct usage of {\color{red} red text} with the (IMO) incorrect \color{red}{red text}, but it works now.
Apart from that, I noticed that the derived update equation reads:
\Lambda m = \Lambda0 m0 + sc Jk^T(k - Jk m)

If you just take the Chapell-equation (20)
\Lambda m = \Lambda0 m0 + sc J^T(k + J m)

and replace Jk = -J, you end up with
\Lambda m = \Lambda0 m0 - sc Jk^T(k - Jk m)  // or
\Lambda m = \Lambda0 m0 + sc Jk^T(-k + Jk m)

This is also what I implemented here and the test run correctly.
I'll continue trying to figure that out... Hints are welcome!

As far as I see, there is a mixing of two things in the current implementation:
1- fix-point iteration that is needed to solve the equations listed in slide 12 of Annika's document.
2- the iterations needed to be perfomed to get to a local/global maximum free energy.
IMO, the first iteration loop is an interior iteration loop within the second iteration.
Any comments ?

Where do we update changes, the docu, the slides or the tech report?

Generally, whatever is in this repo, should be correct. Right now, this is only docs/variational_bayes_chappel.rst (right?) so that file should be updated.

I'm working on the update
Sorry I'm not that fast

I tried to proof your free energy equation by derive it with respect to the parameters s,c,m,L which should result to the update equation. For s it works for Lamda I have a minus issue (again ...). The others are to difficult for me. If someone knows some tools to do it easily, please!

I checked the derivations, I have the impression that the second term in the eq. dF/dLambda has a wrong sign (+0.5*d(L^-1L)dL instead of -. I think this would give the update eq.

I also did the derivation with respect to m which yield to the other update equation. I will add it next week.

Sooo, would it be correct to summarize the changes as follows?

The update equations were previously correct for J = -dk/dtheta. And the swap to J = dk/dtheta in #29 is also correctly implemented.
The free energy formula from the paper is not correct and needs to be adapted.

Added building the docu using Readthedocs and is now integrated into the Readme.
As for the test, it is difficult, since the F that we are computing is omitting the constant terms, thus it is not the model evidence (computed by prob taralli) or the complete F in eq 3 of Chappels paper.