MapDB 3: SortedTableMap - entryIterators loads only keys in loadNextNode

There is missing loading values in loadNextNode for entryIterator. findLo is OK

I added test case, but could not replicate this problem. Would you provide more details?

Problem is at entryIterator - loadNextNode for subMaps. https://github.com/jankotek/mapdb/blob/master/src/main/java/org/mapdb/SortedTableMap.kt#L1756
There is missing code for loading values.

Same problem is in valueIterator for subMap. There are invalid assignments in methods (~6 occurences) findLo, findHi.
this.page = keyPos.toLong()
should be
this.page = offset
And there should be following change in findLo at line 1739 and maybe on other places. Otherwise first call to findNextNode in iteration return same keys and values as after calling findLo
"this.node = nodePos + 1" instead of "this.node = nodePos"


Libgdx IOS Black Bars

I am developing an application using libgdx for both android and ios. I am using SceneUI with ExtendViewport. Although everyting seems to be perfect for android, there is an interesting black bar problem for ios. In android, the scene is extended to upper and lower parts successfully and covers all screen. But, for iOS, black bars appear.  You can see the screenshots for both platforms. The first one is for android and the second one is for iOS. As you can see there are black bars at the top and bottom screen.
gdxVersion version: 1.11.0
roboVM version: 2.3.19-SNAPSHOT

Apperantly, this problem is not related with ViewPort usage because in Android, it works perfect. There seems to be a problem in IOSApplication** classes. Will anybody be be able to provide a workarund for this problem?

To ask for help please use the libGDX Discord community channel (https://libgdx.com/community/). Closing the issue, feel free to reopen if you think this is a libGDX issue and provide a SSCSE (short, self contained, correct example) that reproduces it.


[Enhancement]: Allow import and export of saved server list

Describe the enhancement
It would be a nice QoL change to allow users to import and export the saved servers (config.json) so it can be used on another device.
Dependencies
No response
Additional Context
No response
Acknowledgment

[X] I have reviewed the existing enhancements and confirm that this suggestion is unique.

Should follow Max StereumPlus PR, adding two more buttons@mabasian


Flash Target: Context3DTriangleFace

[Fault] exception, information=ReferenceError: Error #1065: Variable openfl.display3D::Context3DTriangleFace is not defined.

Looking at other classes in the same package the following also have the same issue:
Context3DTriangleFace
Context3DTextureFilter
Context3DProfile
Context3DMipFilter
Context3DBufferUsage
Context3DWrapMode
deleting the externs at "3,5,2\extern\openfl\display3D..." resolves the issue, however I'm sure they are there for a reason, any suggestions on how we can resolve this without deleting the externs?

Anyone?
Steps to reproduce.
Create an OpenFL 3.5.2 project in flashdevelop, target flash and place:
Context3DTriangleFace.BACK;
within the constructor.
package;
import openfl.display.Sprite;
import openfl.display3D.Context3DTriangleFace;
class Main extends Sprite
{
public function new()
{
super();
Context3DTriangleFace.BACK;
}
}
Publish and you'll get the following error:
[Fault] exception, information=ReferenceError: Error #1065: Variable openfl.display3D::Context3DTriangleFace is not defined.
Obviously this is just one of many classes that are effected. It seems it's a result of changes to abstracts, enums and externs.
Also why are OpenFL externs included when you already include the OpenFL library?
Finally is there any continuous integration being done on OpenFL?


[QUESTION] How do you pass Form fields containing commas ?

Description
How can I pass form fields that contain commas ? In the below snippet I used the form field hub_callback but in real life I'd like it to be hub.callback
@app.post("/subscribe")
async def subscribe(*, hub_callback: str = Form(...)):
    return {"hub_callback": hub_callback}

the below curl is valid, question is how can therefore can  have a python variable in the router that is different from the "generated" form field value ?
curl -X POST "https://editor.swagger.io/subscribe" -H "accept: application/json" -H "Content-Type: application/x-www-form-urlencoded" -d "hub.callback=test"

Couldn't you use pydantic aliasing for this?

Seems like indeed this generates the correct documentation @wshayes :
@app.post("/subscribe")
async def subscribe(*, hub_callback: str = Form(..., alias="hub.callback")):
    return {"hub_callback": hub_callback}

however I got a 400 error when passing a string to the form...
{   "detail": "There was an error parsing the body" }

check the console logs - most likely you need to install python-multipart ;)

that's exactly it thanks @vitalik

Thanks for the help @wshayes and @vitalik ! :cake: :rocket:
I'm glad you solved it @euri10 , thanks for reporting back and closing it :tada: :heavy_check_mark:


Why shift the patch coordinates in '_lidar2image_preprocess'?

Hi, I'm confused about this operation in _lidar2image_preprocess. Why shift the coordinates of the initial patch? Does this cause a mismatch with the 2d coordinates projected from the radar coordinates?
https://github.com/Haiyang-W/UniTR/blob/60cd0093d3c94333cd9f8c7accede89a6af24c9d/pcdet/models/mm_backbone/unitr.py#L315

Thanks for catching that detail. This is a confusion between x and y coordinates.
The image size is (256, 704), and during coordinate mapping, we initially considered x corresponding to 704 and y corresponding to 256. However, in the _lidar2image_preprocess function and the variable lidar2image_coords_zyx, x actually corresponds to 256, and y corresponds to 704. Regarding the specific line of code you inquired about, the order of multiview_coords is bzyx, with hw_shape=(32, 88). According to the correspondence just mentioned, the y column should be incremented by 88.
In this line, we reordered the coordinates to adjust for this inconsistency between the x and y axes. Since these coordinates are only used to partition sets, it suffices for the order to remain consistent between lidar2image_coords_bzyx and multiview_coords.
The fundamental cause of the confusion lies in a confusion during the initialization of patch_coords. The correspondence between the x and y axes involves intricate and nuanced details, and unfortunately, we did not address this after completing the experiments. We apologize for any confusion in this regard. Feel free to ask if you have any further questions.

Thanks for quick reply! However, in the initialization you mentioned, I notice that y do correspond to 88, and x corresponds to 32, which is consistent with the mapped coodinates lidar2image_coords_zyx, where each row is (unique_hit_view_id, y, x).
After checking the map_lidar2image function, I found that the key is here. This step keeps the points of the projection around the original image plane, which is why sparse_shape is 3×(32, 88), thus the coordinates of the original patch is needed to shift to the center of the sparse_shape in _lidar2image_preprocess.
I confused the result of torch.clamp(hit_points_2d, -1, 2) + 1 and torch.clamp(hit_points_2d, 0, 3), that led to my initial question. If my understanding is not complete, please correct me.

okay i missed that, and thanks for your patient reply and your nice work!


refactor(lane_change): move for lane change module to interface

Description
This pull request refactors the lane change module of the behavior path planner to use behavior trees instead of the previous implementation. The PR moves bt_normal's content to normal and a introduces new class LaneChangeBTModule that inherits from the LaneChangeInterface and holds a normal lane change behavior tree object. It also improves the maintainability and style of some of the existing classes and removes some unnecessary header file inclusions and files.
Related links
None.
Tests performed

Build with COMPILE_WITH_OLD_ARCHITECTURE=FALSE
Build with COMPILE_WITH_OLD_ARCHITECTURE=TRUE
Test lane change scenario with planning simulator
Test with CI TIER IV internal link → need to re-confirm due to conflict fix

Notes for reviewers

The lane_change_module.cpp will be removed.
Lane change module's class that uses behavior tree is renamed from LaneChangeModule to LaneChangeBTModule, the actual name of the bt leave will remain LaneChangeModule.

Interface changes
None
Effects on system behavior
None
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[X] I've confirmed the contribution guidelines.
[X] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

Additional degradation check
TIER IV internal link: 1326/1330. Lane Change all pass


math/big: add Float.Sqrt

From #14102
Add a Float method to compute square roots:
// Sqrt sets z to the square root of x, and returns z.
func (z *Float) Sqrt(x *Float) *Float

Thanks for creating the issue. If you'd like to work on this, I highly recommend Brent and Zimmerman, Modern Computer Arithmetic, available online at https://members.loria.fr/PZimmermann/mca/mca-cup-0.5.9.pdf. This is what I used for integer square root and some other things, and it looks like floating-point square root is covered as well.
As far as the API is concerned, I'm OK with the addition but will leave the final decision to Robert.
/cc @griesemer

I'm ok with sqrt for big.Floats. @ALTree if you plan to work on this, please implement this in a new file. Also, it may take a while before I get to reviewing it.

Thanks for the suggestions.
@griesemer no problem, there's plenty of time before the go1.10 freeze.


How to collect sensor data on your iphone or android device using matlab

Article checklist
ATTENTION: In your PR - add the ISSUE (topic form) # that this PR corresponds to. You can do this by also adding a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
If you have not already please go over our Resources Page for more tips and tricks on how to improve our overall technical writing.
Preliminary Checks - Formatting and Structure

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.
[x] Does your article follow any of the suggested structure formats? - see example formats
[x] Is your article properly formatted in Markdown? - see Github Markdown guide
[x] Have you used the correct folder and file structure? - see Contribution Guidelines
[x] Is your article over 750 words? - Tool: Wordcounter.net
[x] Have you used our preferred heading structure? - H3 (###) and up
[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.
[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.
[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images
[x] In your PR - add a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid -  Grammarly
[x] Please place your article through a 3rd party plagiarism checker? We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide

Contribution guidelines
For first-time contributors and for more details, see Contributing Guidelines
This fixes #2897

@hectorkambow - I wish to review this article. Thanks.

👀  We can keep a keen eye on this @queenterbruce063
Since you mentioned interest in becoming a peer reviewer.

@M0nicah requested changes done.

Hello @queenterbruce063,
I have gone through the changes but I notice that not all the changes are done. The most important ones are left out. For example, in the second paragraph, there are no changes made as suggested.
Take note that:

There are still grammatical errors present in your article.
The paragraphs are lengthy. Ensure each of them explains a single concept or idea.

Please go through the article once more to check for the errors, and ensure you work on those that I might have missed.

plagiarism check done

@M0nicah changes made.

@M0nicah changes made.

Hello @queenterbruce063, I have published your article on a different branch. Please make sure to update your fork before creating another pull request. Your current fork uses the old structure.
cc @M0nicah - Take note of that when doing other reviews.
Otherwise, great work🚀.


[Snyk] Security upgrade @kubernetes/client-node from 0.18.1 to 0.22.3

Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):

plugins/kubernetes/package.json

Note for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Remote Code Execution (RCE) SNYK-JS-JSONPATHPLUS-7945884
  275

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Remote Code Execution (RCE)

:tada: Snyk checks have passed. No issues have been found so far.
:white_check_mark: security/snyk check is complete. No issues have been found. (View Details)
:white_check_mark: license/snyk check is complete. No issues have been found. (View Details)


Elden Ring Mod Engine 2 closes immediately with very few log lines

Hello! I have an official copy of Elden Ring (on Steam) that I'm trying to mod. As mentioned on another issue, the mod engine immediately closes after I try launching it. I tried all the steps I could find, including using full paths, running as admin, etc. but I suspect my case is different. In the crash logs, the process never gets farther than this line:
[2023-07-29 14:22:38.192] [modengine] [info] ModEngine version 2.0.0-preview3-d673e6000e50d5c559364b6276057f6bde09accb initializing for Elden Ring
[2023-07-29 14:22:38.193] [modengine] [info] Local settings loaded: true, Global settings loaded: false
[2023-07-29 14:22:38.193] [modengine] [info] Main thread ID: 20072

In other discussions I see online, the next log line is supposed to be the following:
[modengine] [info] Enabling extension base
Can anybody help me figure out why my process could be exiting before reaching here and how I can fix it?
I'm pretty confident my command in the .bat file is accurate as it's not giving any path errors anymore:
"C:\Program Files (x86)\Steam\steamapps\common\ELDEN RING\Game\modengine2_launcher.exe" -t er -c "C:\Program Files (x86)\Steam\steamapps\common\ELDEN RING\Game\config_eldenring.toml" --game-path "C:\Program Files (x86)\Steam\steamapps\common\ELDEN RING\Game\eldenring.exe"
On the other hand, I don't think the process makes it as far as locating the mod file, because even with dummy paths in config_eldenring.toml I don't see any path-related errors. Here is what mine currently says:
mods = [
    { enabled = true, name = "default", path = "C:\\Program Files (x86)\\Steam\\steamapps\\common\\ELDEN RING\\Game\\mod\\randomizer" }
]

I'm on Windows 11.
Any help would be greatly appreciated!

Had this same issue. Fixed it by launching a separate instance of PowerShell (cmd works too) with the same level of elevation as Steam, and then running launchmod_eldenring.bat
Double-clicking the bat file still opens a shell for a split second before closing it, and otherwise doing nothing.

Had this same issue. Fixed it by launching a separate instance of PowerShell (cmd works too) with the same level of elevation as Steam, and then running launchmod_eldenring.bat Double-clicking the bat file still opens a shell for a split second before closing it, and otherwise doing nothing.

What do you mean by "same level of elevation"?

What do you mean by "same level of elevation"?
Sorry, got my jargon mixed up.
Same level of privilege.  If you're running Steam as an admin, you run cmd/PowerShell as an Admin.

Thank you for your suggestion, @orpheusgensui. Unfortunately this did not work for me. @arkillik: did you have any luck with this?
I looked into the code a bit. It seems like pretty much right after the "Main thread" log, the program tries to load and attach extensions. Since I don't get any logs about an extension getting enabled, I suspect the issue is with reading the extension-related config, which is before trying to enable it.

Thank you for your suggestion, @orpheusgensui. Unfortunately this did not work for me. @arkillik: did you have any luck with this?
I looked into the code a bit. It seems like pretty much right after the "Main thread" log, the program tries to load and attach extensions. Since I don't get any logs about an extension getting enabled, I suspect the issue is with loading them or reading the extension-related config, which is before trying to actually enable them.

Thank you for your suggestion, @orpheusgensui. Unfortunately this did not work for me. @arkillik: did you have any luck with this?
I looked into the code a bit. It seems like pretty much right after the "Main thread" log, the program tries to load and attach extensions. Since I don't get any logs about an extension getting enabled, I suspect the issue is with loading them or reading the extension-related config, which is before trying to actually enable them.
Edit: I actually got it to work! Not fully clear what did it, but I'll add another comment later with some details.

yeah bro can u PLEASE help I really want to try out new mods but modengine2 just doesn't launch

@Pachero112, yeah, while I'm still not fully sure what worked at the end I can share some steps that helped me.

I gave read/write access to my User for Program Files (where my game is installed) and all the mod directories. While many mod guidelines suggest running in Admin mode for troubleshooting, that never worked for me. The reasoning might be what @orpheusgensui mentioned. Instead, I double-click on the batch file to start the game (as my default User), and it's working now.
Some mods provide convenient download packages that install both ModEngine2 and the mod's files. Instead, I downloaded ModEngine2 directly from GitHub, then manually added the mod directories.
As mentioned earlier, some mods have specific instructions on how to launch/troubleshoot. For example, the Randomizer mod has a graphical interface for creating the seed and launching the game, but it never launches successfully for me. So instead after creating the seed, I manually launch by double-clicking the batch file.
With Convergence, a common advice is to rewrite the command written in the batch file with full directory paths. This turned out to be unnecessary in my case. I left the file as is.

Hope this helps, but it's entirely possible you're running into different issues. Let me know how it goes, and I'll also share updates if I realize I missed any significant steps.

https://www.youtube.com/watch?v=kziBphPf034
and when he makes the "ELDEN RING" folder in commons, you need to make a new folder called  "GAME" and put the actuall game in there
gl


move has no effect on const variables

Proposed changes
Remove std::move for const variables
Please include a description of the problem or feature this PR is addressing. If there is a corresponding issue, include the issue #.
Checklist
Put an x in the boxes that apply.

[x] I have read the CONTRIBUTING document
[x] I have run pre-commit run --all-files to format my code / installed pre-commit prior to committing changes
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have updated the necessary documentation (if needed)

@RSilicon are you coming back to this?

Yes I am.


Failure when using num_derive on latest nightly

To reproduce, run cargo test on the num/derive subdir, you will get lots of "a type named ... has already been defined in this module".
I can reproduce with 1.15.0-nightly (0ed951993 2016-11-14).
This change in behaviour was probably caused by https://github.com/rust-lang/rust/pull/37614, but its actually wanted behaviour.
Basically the proc macro isn't expected anymore to output the item itself, only the impl's.

Will investigate.

@hauleth any news?

@est31 #242


Move df_map_mixed_dtypes_for_parquet_task from SharepointToADLS to task_utils

This function should be generalized and defined in task_utils and then used in SupermetricsToADLS and SharepointToADLS.

Function is generalized and used in SupermetricsToADLS  and SharepointToADLS. Test for this function to added in test_task_utils.py


Inability to successfully run my code

Description
It could not open generic class cache, here is the error message
` What went wrong:
Could not open settings generic class cache for settings file 'C:\Users\Hp\Desktop\Atua\Atua2023\android\settings.gradle' (C:\Users\Hp.gradle\caches\7.5.1\scripts\86imyyu5nmjwsnruvxilo1zmm).

BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 63 `

Steps to reproduce

npm start
npm run android or a
FAILURE: Build failed with an exception.

What went wrong:
Could not open settings generic class cache for settings file 'C:\Users\Hp\Desktop\Atua\Atua2023\android\settings.gradle' (C:\Users\Hp.gradle\caches\7.5.1\scripts\86imyyu5nmjwsnruvxilo1zmm).

BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 63

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 3s
React Native Version
0.73.1
Affected Platforms
Runtime - Desktop
Output of npx react-native info
info Fetching system and libraries information...
System:
  OS: Windows 10 10.0.22000
  CPU: (4) x64 Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
  Memory: 1.06 GB / 7.88 GB
Binaries:
  Node:
    version: 20.11.0
    path: C:\Program Files\nodejs\node.EXE
  Yarn: Not Found
  npm:
    version: 9.8.1
    path: C:\Program Files\nodejs\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK: Not Found
  Windows SDK: Not Found
IDEs:
  Android Studio: AI-231.9392.1.2311.11255304
  Visual Studio: Not Found
Languages:
  Java: 19.0.2
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.72.5
    wanted: 0.72.5
  react-native-windows: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

Stacktrace or Logs
r - reload the app
d - open developer menu
i - run on iOS
a - run on Android

info Opening the app on Android...
info JS server already running.

info 💡 Tip: Make sure that you have set up your development environment correctly, by running react-native doctor. To read more about doctor command visit: https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor

FAILURE: Build failed with an exception.

* What went wrong:
Could not open settings generic class cache for settings file 'C:\Users\Hp\Desktop\Atua\Atua2023\android\settings.gradle' (C:\Users\Hp\.gradle\caches\7.5.1\scripts\86imyyu5nmjwsnruvxilo1zmm).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 63

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 3s

Reproducer
https://github.com/elkee2003/Atua2023.git
Screenshots and Videos
No response

⚠	Newer Version of React Native is Available!
ℹ	You are on a supported minor version, but it looks like there's a newer patch available - 0.73.4. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases.

How do I manually update it, where exactly do I copy from?

This is unrelated to React Native but more of a problem of Android:
https://stackoverflow.com/questions/67240279/could-not-open-settings-generic-class-cache-for-settings-file
I see you have Java: 19.0.2 which is not recommened. Consider using Java 17 instead


Allow for PDBADMIN user to play a role

This PR gives DBA role to the PDBADMIN user for the XEPDB1 pluggable database. It also set PDBADMIN password to the same one provided for SYS and SYSTEM users.

Relates to issue #42

Missing command for changing container...


Need secure connection to RethinkDB

I need BigchainDB to be able to provide credentials for a secure connection to RethinkDB. In particular, I need to be able to specify a certificate and authorization key.
The scenario that I want to support is that each blockchain participant will operate their own BigchainDB instance. A non-participant (my organization) will operate the RethinkDB instances. The RethinkDB instances will be on a public cloud. Right now that is expected to by IBM's Bluemix. We will recommend but not require that each participant's BigchainDB instances will run in the same public cloud.
Running an unsecured RethinkDB admin account will not be acceptable in this environment. We will want RethinkDB to authenticate each connection so that we know where each request is coming from.

That's an interesting approach.
RethinkDB provides two ways for driver authentication:

User/Pass but these go in plain text through the wire
Use rethinkdb builtin TLS

@mgrand, as @r-marques pointed out there are some "out of the box" solutions with Rethinkdb, take a look to those two links:

https://rethinkdb.com/docs/security/
https://rethinkdb.com/api/python/connect/

If you need user/pass or ssl support when connecting to RethinkDB, we can add those options to the configuration, shouldn't be a lot of work.

The RethinkDB ssl support is what I want.   I just need to be able to specify the information in the BigchainDB configurtion.

As of BigchainDB 2.0, which is coming out very soon, we're no longer supporting RethinkDB, therefore I am closing this issue.


Do not render article-meta figure if there is nothing to display

Thanks for the PR. I'm happy to accept this change.


feat: :sparkles: add user search

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[TextField] getStyles() not using theme from context

Problem Description

getStyles() is reading muiTheme from state, so styling is not being applied correctly.
Correct:

Current:

Versions

Material-UI: HEAD

getStyles

PR incoming.


Is Pi_Piper ready for RPi 3 ?

I'm thinking to get a new RPi 3 because inboard wifi, but it is upgrade to bcm2387. I'm wondering is Pi_Piper can be use in Pi 3 ?

Haven't been able to get one yet to test one, completely sold out everywhere by me :smile:
However, it should work. The only thing you would need to do possibly, is to keep an eye out here: http://www.airspayce.com/mikem/bcm2835/ and if a new version gets released, just swap out the .so file. We are currently working on separating out the drivers from the gem itself to accommodate these kinds of issues. So hopefully once that is released soon then all you would need to do is use a different driver with the PiPiper gem.
Let me know once you get the RPi 3 whether it works for you or not. This is definitely a priority but since the board is new, and relatively difficult to obtain I am sure most people for now will be using the 2.

I'll try after I get a new Pi 3 !

the sysfs driver will work without problem, the bcm2835 driver will need some library update as @zsyed91 mentioned.

Sorry for the late update. I tried and it works prefect on Pi 3. So, I'm closed this issue! P.S. I use bcm2835 library.


Update verifier.yml

instead of "goss", us the (variable) "{{ goss_dst }}" which can always be found. Solves #1065.

Thanks @robertdebock


Link to the documentation from the README

When landing at the project's page, it's not immediately obvious where one should look for further info regarding configuration and setup. A prominent link pointing to Read the Docs should be placed in the README, near the top, as in cookiecutter.

Sounds like a great idea. Would you like to submit a pull request in order to get more credit? If not I can take care of it for you.

Done in #597


Loading

Codecov Report

Merging #39 into master will increase coverage by 0.24%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master      #39      +/-   ##
==========================================
+ Coverage   30.68%   30.93%   +0.24%
==========================================
  Files          28       28
  Lines         378      375       -3
  Branches       40       43       +3
==========================================
  Hits          116      116
- Misses        234      237       +3
+ Partials       28       22       -6

Impacted Files
Coverage Δ

src/pages/Communities.js
4.76% <0.00%> (+0.21%)
:arrow_up:

src/pages/CommunityDetail.js
12.00% <0.00%> (ø)

src/pages/ConferenceDetail.js
12.00% <0.00%> (ø)

src/pages/Conferences.js
4.76% <0.00%> (+0.21%)
:arrow_up:

src/pages/Search.js
25.00% <ø> (ø)

src/pages/SpeakerDetail.js
12.00% <0.00%> (ø)

src/pages/Speakers.js
4.76% <0.00%> (+0.21%)
:arrow_up:

Continue to review full report at Codecov.

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


Feature Request | Hide "Advanced" Tab under Settings in Console for Dedicated cloud customers

Description
Today: Customers can change basically every setting via the spec in the Console. In a Dedicated Cloud installation this must not possible.
Expectation: This tab is not visible to Dedicated Cloud customers.

Duplicate


Doodle for setting up the next Board meeting

Action point, see meeting minutes

Looks like Doodle is a paid service now…
Is anyone here aware of a good (and gratis) alternative we could use?

https://framadate.org might do the trick, though I haven't tried it.

I'll give it a try! Thx!

I think you can ignore the 'sign up for free trial' and click on the 'Create a Doodle' button at the top-right...

Another alternative that I like is http://whenisgood.net.

Decided to try whenisgood, sent out invitations to board mailing list on 2020-04-15


Excessive blank space in modal control when shown on small devices and content is minimal

Not a bug. Remove class "modal-auto-stretch" to stop full height behaviour.


part2 title and page connection does not match

@acocac  any idia how to fix it?

This will be fixed if you open the website in an incognito mode, or delete
the cache of your browser.
On Fri, 3 Nov 2023, 18:35 Tina Odaka, @.***> wrote:

@acocac https://github.com/acocac any idia how to fix it?
[image: スクリーンショット 2023-11-03 19 33 55]
https://user-images.githubusercontent.com/46813815/280386627-8df89c2e-1e2c-4867-abe0-1aa32934ec37.png
—
Reply to this email directly, view it on GitHub
https://github.com/pangeo-data/pangeo-openeo-BiDS-2023/issues/63, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADFUKUAYNTCHBEEAX5TST33YCU2NXAVCNFSM6AAAAAA6425MUSVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE3TMNZWGE4DCOA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Fixed.


MacOS arm build fixes

Thanks for the PR! I really should've seen that bug before. Appreciate it :)


Proxima Nova listed in free fonts section, it's not free

I don't know if I've misunderstood the free fonts section at the very top, but Chivo is free and Proxima Nova isn't. It's on Typekit and available for purchase in lots of different ways, but the wording seems accidentally misleading there. I thought I should open an issue to let you know.
A few other really good free fonts if you want something to go there instead (expect you already know about these, but just trying to give some ideas for actually free fonts):

Lato (Quite well known but very readable and pretty. Anecdote: In my web designs when I show clients a choice of fonts Lato gets picked a lot.)
Libre Franklin (Overlooked, pretty elegant and thin.)
IBM Plex Sans (I think this one is worth promoting. There's loads of weights and it's really beautifully done in my opinion. Very much overlooked.)
Clear Sans (Also lesser known and really good.)

I'm not aware of these in use on "real" websites to such an extent that they'd make a good demo, so understand if that's a problem.
Hopefully this is helpful!

excellent! thank you very much! no i actually didnt do a ton of due diligence there, since i dont do a lot of client work, i just peek into the font stack of sites i like and do a quick google to guess if they're free or not. i'll update accordingly. cheers mate! also inviting you to contribute


Kotlin dependency in ...-server.jar

Context: When compiling against foxguard(compile files("mods/foxcore.jar") the plugin gets added to the classpath of my test server(using SpongeStart), the plugin is loaded and works fine. I develop in Kotlin.
A problem arises: First Kotlin warns me that it has found two version of the Kotlin runtime and secondly a newly added method from the Kotlin stdlib doesn't work(Map<K, V>.getValue(key: K): V, was added in Kotlin 1.1.).
All this is because the Kotlin runtime in FoxCore isn't relocated, it should be somewhere like net.foxdenstudio.sponge.foxcore.shaded.kotlin. See how I do it: build.gradle
I don't see where you explicitly add the runtime to the final jar but it is happening.

This should soon be fixed when @gravityfox replaces MapDB I think.

So a few comments here:
I really should update that kotlin dependency or get rid of it.
I don't really want to relocate it, because if i want to use kotlin in foxguard, i'd have to use extra configuration to relocate the classes for foxguard as well.
I DO have a maven repo, as well as some docs for it, which would fix a lot of dependency debacles.
Ultimately i think i'm going to get rid of my mapDB dependency, but that's still gonna be a while. I have been unable to work on this project due to university being a pain.

@randombyte-developer honestly, your best bet for now is to just go into the foxcore jar and delete kotlin from it. It should use the newer version you have and be fine.

Ok, leaving this open until it is really resolved.

I guess this is fixed.


support disabled state for subtitle button; update resources

support disabled state for subtitle button;
update resources related to subtitle button and play/pause button;
requirement comes from https://app.clubhouse.io/tubi/story/14843/update-focus-state-for-android-tv-native-player

@sdobek Thank  you. I will have a check and do some improvements.

@heartgoon2010    i think almost all of those code logic can be moved to adrise_android repo.  Because Tubiplayer is an open source repo, we don't want to put our own view logic into this repo


fix: SVG should works with display none

When changing the display of SVG elements. An error occurred.
This PR has fixed that.

Merged into https://github.com/openwebf/webf/pull/543


Movable blob

Codecov Report
Patch coverage: 100.00% and project coverage change: +0.25% :tada:

Comparison is base (57fe3e6) 81.78% compared to head (54f3da4) 82.04%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #59      +/-   ##
==========================================
+ Coverage   81.78%   82.04%   +0.25%
==========================================
  Files          16       16
  Lines         247      245       -2
  Branches       25       25
==========================================
- Hits          202      201       -1
+ Misses         29       28       -1
  Partials       16       16

Files Changed
Coverage Δ

src/include/homeobject/blob_manager.hpp
50.00% <100.00%> (+50.00%)
:arrow_up:

src/lib/blob_manager.cpp
83.33% <100.00%> (+3.33%)
:arrow_up:

src/lib/memory/blob_manager.cpp
83.87% <100.00%> (-0.34%)
:arrow_down:

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


fix(serverless): update utils to be compatible with node runtime

Attempt to resolve #678
Rewrite @ts-rest/serverless/src/lib/utils.ts to be compatible with both Node JS v18+ and WinterCG Minimum Common Web Platform API.
FileReader does not exist in Node and Buffer does not exist in Web API so the new implementation is using Blob and btoa.
jsdom doesn't have a fully implemented Blob interface, so I've switched the jest environment to "node" for the @ts-rest/serverless library. This changed the way Headers.forEach works in that each header has it's own entry even for matching keys, so there is no longer a need to splitCookiesString.
Alternatively, if changing the test environment is not desirable I can switch back to jsdom on request and polyfill Blob and investigate the Headers discrepancies further.
🤔 It does seem like we should split the libraries for those that are intended for node from those for miniflare, that will require further discussion and is beyond my understanding of the use cases at this stage.
I'm not using Cloudflare workers to be able to test, however the tests in example-cloudflare-worker pass and I ran the library tests using vitest-environment-miniflare locally to see if the behaviour of the Headers was consistent with node. I didn't leave this as the test environment though because there were failing tests in ts-rest-azure-function.spec.ts and ts-rest-lambda.spec.ts.
This is my first encounter with ts-rest, so hopefully I've not misunderstood intended use cases for this code.
I'll attempt to run this on AWS Lambda tomorrow and update if there are any failings.

I've tested this today, and while the FileReader error is fixed, there is another problem.
Itty-router introduced cloning of the response in v5.0.17 which breaks any handling of TsRestResponse after the fetch as it now be the Response superclass.

Thank you for this! I'll take a deep look into it as this needs to be very thorough and make sure it doesn't break any existing code.

@lukeggchapman I'll fix the issue with itty-router in a separate PR. Thank you for taking this on! 🙌


[feature request]Need support NodePort service isolate

What would you like to be added:
we need NodePort service isolate function, when create a NodePort service we can choose which node or nodepool it worked!
Why is this needed:
when we use edge network ,we need to make service isolate, for example, when we use NodePort type service ,we just want it servers some specific node pool.
it needs some feature

pod must run at some specific node pool, we can use label to finish it.
service can only forward network flow to specific node pool pod, we can also use label selector to finish it.
NodePort service can be isolate, for example when we create a NodePort service open node 80 port, it only need to open nodes which in specific edge node pool, not all nodes in all edge.

others
/kind feature

@yuanmaomao Thanks for raising issue. I think that this feature request is reasonable, and i want to know more details about  this feature.
--> all of nodes in specified NodePool can listen on 80 port of node, or only nodes that pods exist listen on 80 port of node?

i think specified NodePool better.

it will be more freedom, for example GuangZhou node pool has 10 node, it probably not run pod on each node.
i think achieve it more easy? it need not to related with pod run or destroy. just related with node pool label.

i think specified NodePool better.

it will be more freedom, for example GuangZhou node pool has 10 node, it probably not run pod on each node.
i think achieve it more easy? it need not to related with pod run or destroy. just related with node pool label.

@yuanmaomao Thanks for your kindly reply. yes, it's more convenient to specify by NodePool.
@Congrool @LaurenceLiZhixin @donychen1134 Do you have any comments about this feature?

I think this requirement is reasonable too, and there are redundancies and misunderstandings about service port occupancy across node pools in the whole cluster.
I think it can be implemented based on the existing service topology filter, passing the modified resource to kube-proxy for the service resource

/assign @rambohe-ch

I will take this work and post a pull request as soon as possible.

@yuanmaomao @LaurenceLiZhixin @Congrool
I will name the new filter as nodeportisolation, and add a new annotation nodeport.openyurt.io/isolation for service in order to trigger nodeportisolation filter in Yurthub.
The details of nodeport.openyurt.io/isolation annotation of service:

key:    nodeport.openyurt.io/isolation

value: the format definition as following:

nodepool1, nodepool2: only listen NodePort in nodePool1 and nodePool2
-nodepool1,*: listen NodePort in all of nodePool except nodePool1

and other format will not be supported.

it seems a fantastic function.


Calendar Item Updates

The CalendarView support in this gem has been very helpful!
This pull request addresses some issues I ran into with updating calendar items.  Please let me know if these would be OK to bring into master.
1. VCR Version Bump
The VCR version was bumped up to 3.0.1 because version 2.2.5 was producing blank YAML files.
2. VCR Password Filter Update
The VCR filter_sensitive_data use was updated to handle passwords with sensitive characters.  For example, a password of secret! would get encoded as secret%21 and would remain in the cassette file.
3. Contact Test Updates
When running the contact_spec on a fresh cassette, this failure occurred:
Exchanger::Operation::ResponseError:
The request failed schema validation: The 'SendMeetingInvitations' attribute is invalid - The value '' is invalid according to its datatype 'http://schemas.microsoft.com/exchange/services/2006/types:CalendarItemCreateOrDeleteOperationType' - The Enumeration constraint failed.

This appears to be because the SendMeetingInvitations attribute was added to the CreateItem operation for CalendarItem#create but this unintentionally affected Item#create.
4. Return ID for New CalendarItem
A newly created Item would return its id but a CalendarItem would not.   CalendarItem needed to be able to use this code:
response = UpdateItem.run(:items => [self])
move_changes

5.

I've added this attribute.
6. Allow Body for New CalendarItem
When attempting to create a new calendar item with a body value, the request was failing on:
Exchanger::Operation::ResponseError:
The request failed schema validation: The required attribute 'BodyType' is missing.

I've created a new Body element to allow the BodyType to be sent.
7. Fix CalendarItem Update
Running save on an existing CalendarItem was resulting in:
Exchanger::Operation::ResponseError:
The SendMeetingInvitationsOrCancellations attribute is required for calendar items.

I've added this attribute.

Note: The calendar_item_spec.rb is passing on my machine.  I'm not sure why it is failing in the Travis CI build.

Great work! I think the specs could be failing because config.yml.example has endpoint amsprd0710.outlook.com but your config.yml had different hostname. Maybe you can try to:

remove your own config.yml
change the hostnames in vcr casettes from outlook.office365.com to amsprd0710.outlook.com
run rake, so that it copies config.yml.example to config.yml and runs the specs (this is the way CI runs)

Maybe it is possible to filter the hostname in VCR to smthg like example.com, but i'm not sure it that will work.

Thanks.  Yes, that was it.  When VCR.use_cassette is called, it compares the currently configured URI with the cassette URI to decide if it can use the previous recording or if it has to create a new one.  As suggested, I've added a filter to make sure that amsprd0710.outlook.com is assigned as the endpoint when new cassette files are created.  CI will then use the cassette files for its tests.

Will try to release a new version this week.

Released in 0.1.5.


Registry v1 API: Add label support to filtering of Api, ApiVersion, and ApiSpec resources

addressed in #58


.as() no longer available?

Just updated to latest SDK, thanks for getting that out!
One of my XAML subclasses used to use .as<>(), but it no longer exists. How do I get the UIElement of this?

The as call was used internally but we switched to using try_as for efficiency. I didn't realize people would be using this directly since we provide implicit conversions as well. We'll give this some though, but you can use try_as instead of as for now.

I didn't realize people would be using this directly

To quote Hyrum's law ;)

“With a sufficient number of users of an interface, it doesn’t matter what you promised in the interface contracts, all observable behaviors of your class or function or whatnot will be depended upon by somebody.”

Appreciate the sense of humor. 😄
It's one of the reason I'm such a proponent of C++ modules. Its incredibly difficult building a sophisticated header-only library without bleeding all sorts of implementation details.

@kennykerr wait what?! I extremely appreciate that this framework is open source and completely open for review. I can step through the debugger and I can understand why certain things are behaving one way or another. Obviously I do not have the context for why decisions are made one way or another because I'm not on your team, but it's easy to see the high level reasoning.
One of c++/cx's most frustrating design decisions was that the generated code was completely opaque.

Agreed, I'm all for open source and not obscuring the implementation. Modules simply provide more control over what you can do with that visibility. Many thanks for the feedback. We aim to write the code in such a way that you can follow along and drill down as far as you wish.

We're tracking this internally (16084267). Thanks again for the feedback.


flutter drive should take a directory name as "target"

The new proposal:
my_app
  test_driver
    scrolling
      main.dart
      scrolling_a_test.dart
      scrolling_b_test.dart

To run:
flutter drive scrolling
Which will:

Look to find a directory named "scrolling" under test_driver
Find a "main.dart" which represents the app (more below)
Find one or more foo_test.dart scripts
Run the main.dart on the device/simulator
Run all tests, one by one

The main.dart will contain boilerplate, something like:
import 'package:flutter_driver/driver_extension.dart';
import '../../lib/main.dart' as app;

void main() {
  enableFlutterDriverExtension();
  app.main();
}

The job of the above script is to connect the driver extension and the app itself.
Action items

[ ] stop defaulting to lib/main.dart in flutter drive; it encourages instrumenting production code
[ ] implement the new convention
[ ] flutter drive with no arguments runs all tests under test_driver
[ ] flutter drive test_name runs all tests under test_driver/test_name directory
[ ] flutter drive test_name/testfile_test.dart only runs test file test_driver/test_name/testfile_test.dart
[ ] update flutter create --with-driver-test to conform to the new convention
[ ] update http://flutter.io/testing

cc @yjbanov
If we do this, we can close https://github.com/flutter/flutter/issues/3152 as "not planned".

we can close #3152 as "not planned"

Done.

Hi @yjbanov
I don't exactly understand why you closed this.
I'm facing some problems while testing using flutter driver and maybe you can help me.
1- Right now I have an app_test.dart file with a main calling a lot of methods in other files just to structure a little the testing files because I have a lot of tests and I don't want to have it all in one file. I think that's a terrible solution. Is there a way to organize tests better? It could be great, as @sethladd said, to execute the "flutter drive --target" command on a directory. This way I can have as many test files unrelated.
I use Android studio to run the app.dart (and I keep running it between test) and I then run the test on it by commenting the methods I don't want to be run on app_test.dart. That's a pain.
2- Every time I run the app.dart in order to run the tests, an URL is created. And a hash is appended to that URL. Something like "xxxxxxxxx=". The problem is, that every time I restart the app.dart application running on my emulator, this hash changes and i need to copy it again on the configuration of the test so I can run the test. Is there a way to get this hash or bypass this?
Thank you.

Could someone answer @JordiGiros question, those are the same things I am asking myself. Thanks!

2021 up


docs: filtering embedded values

Hi there!
I've been using Mikro ORM for quite a bit now and I'm really enjoying it so far. I only have one problem which is the following:
I have an entity (let's call it User) with an embedded property (let's call it UserData). The latter contains a field that can either hold a value or be null.
Now, I have to search through all the User entities to find the ones that have this specific field not set to null, which gives something like:
this.userRepository.find({ userData: { theNullableField: { $ne: null } } }) // Nest.js code, using an EntityRepository<User>

This compiles correctly but at runtime gives me the following error:
Using operators inside embeddables is not allowed, move the operator above.

So my question is: how can I make this search (without using the query builder of course)? I didn't find any workaround in the docs or in the issues that would help me with this, so I'd like to know how this can be done (what does move the operator above means? from what I understand operators can only be applied to the current value and not to sub-values, at least that's what's indicated in the docs).
I'm using MikroORM v5.0.5.
Thanks in advance for your help!

Sounds like the validation is too aggressive, it should disallow operators "in the middle" of the query, e.g. { prop: { $lt: { nested: 1 } }, which won't work for embeddables, as prop.nested is actually one property.
Can you provide more details like entity definition? Just tried this in the tests and I am not able to reproduce.

Here is a minimal reproduction code:
@Embeddable()
export class UserData {
  @Property()
  profileUri?: string
}

@Entity()
export class User {
  @Embedded()
  data!: UserData
}

@Injectable()
export class UserService {
  constructor(private readonly userRepo: EntityRepository<User>) {}

  async getUsersWithProfileUri(): Promise<User[]> {
    return this.userRepo.find({
      data: {
        $ne: null
      }
    })
  }
}

Unless you use ts-morph, this code is not valid, you need to specify the type in @Embedded decorator.
Also, you are using inline or object embeddables? What driver?

I am indeed using TS-Morph, without it this code would throw an error on startup with MikroORM saying it could not resolve the type of this field.
I'm using the PostgreSQL driver.
I suppose the embeddables are used in inline mode? Each property of the embeddable has its own dedicated column in the parent entity's database table. I can't really grasp the difference between inline and object from the docs, but the code I've pasted here is exactly how I embed the entities, there is no additional property provided to the decorators.

Ok that might be the difference, I was testing with object embeddable. FYI the difference is that inline mode means embedded properties will live separately on the owning entity, while object embeddable is a single JSON column. I guess we should make the docs clearer and add some examples.

Ok that might be the difference, I was testing with object embeddable. FYI the difference is that inline mode means embedded properties will live separately on the owning entity, while object embeddable is a single JSON column. I guess we should make the docs clearer and add some examples.

So how can I make use the operator in these conditions? What syntax should I use to perform the search?

I still can't reproduce this, it works fine on my end. Please provide executable reproduction, ideally as a test case
https://github.com/mikro-orm/mikro-orm/tree/master/tests/issues

I just tried on another computer, and it seems to work perfectly fine! I can't get why, I removed the node_modules to reinstall it (using a lockfile), removed the entire database etc. but it only works on one machine.
I'll dig a bit into that to see where that comes from.

If you use ts-morph, you also have metadata cache in temp, be sure to wipe that too. It should get invalidated automatically on entity changes tho.

If you use ts-morph, you also have metadata cache in temp, be sure to wipe that too. It should get invalidated automatically on entity changes tho.

Yes I already did that. I can't get why this only works on one computer and not the other, as they are using the same operating system, same environment, same configuration. Very weird. I'll try to see if I can find an explanation on my side.

Ok, will move this to discussions, this really sounds like your enviornment is somehow misconfigured.


On macOS, scrolling mouse not working as expected after a given column with at least 2 vertical windows

I'm using the mouse in vim using set mouse=a, mainly for scrolling. When opening at least 2 vertical windows and trying to scroll with the mouse in the second buffer after a certain column, the first buffer is scrolled. Counting from the left margin, the column is around 222-223.
This seems related to #47.
Steps to reproduce:

open vim with two split files where scrolling is visible
set mouse=a
scroll in the second buffer next to the right margin of the window

Other information which might be useful:
$ uname -a
Darwin bpopescu 16.4.0 Darwin Kernel Version 16.4.0: Thu Dec 22 22:53:21 PST 2016; root:xnu-3789.41.3~3/RELEASE_X86_64 x86_64

$ vim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Jan 18 2017 07:44:45)

$ bash --version
GNU bash, version 4.4.5(1)-release (x86_64-apple-darwin16.3.0)

The same behaviour can be seen using iTerm2 and Terminal.app applications.

What is the ttymouse setting? (:set ttymouse?)
See: :help sgr-mouse and :help urxvt-mouse

Oh, setting the ttymouse to sgr solved my problem. Thank you.


Refactoring

Tested, looks good.
I tested it mainly on the testnet, because the connection to the mainnet does not work.
Got small errors when generating an invite link:

when changing the network - from the testnet to mainnet:


[Event Request] Need add event to Codeunit 5940 function CreateInvoice

Please add event OnBeforeCreateAllServLines to function CreateInvoice
[Scope('OnPrem')]
procedure CreateInvoice(ServiceContractHeader: Record "Service Contract Header") InvNo: Code[20]
var
    InvoicedAmount: Decimal;
    InvoiceFromDate: Date;
    InvoiceToDate: Date;
begin
    OnBeforeCreateInvoice(ServiceContractHeader);
    ServiceContractHeader.TestField("Change Status", ServiceContractHeader."Change Status"::Locked);
    GetNextInvoicePeriod(ServiceContractHeader, InvoiceFromDate, InvoiceToDate);
    CreateInvoiceSetPostingDate(ServiceContractHeader, InvoiceFromDate, InvoiceToDate, PostingDate);

    InvoicedAmount := CalcContractAmount(ServiceContractHeader, InvoiceFromDate, InvoiceToDate);
    if InvoicedAmount = 0 then
        Error(Text007);

    InvNo := CreateRemainingPeriodInvoice(ServiceContractHeader);

    if InvNo = '' then
        InvNo := CreateServHeader(ServiceContractHeader, PostingDate, false);

    if InvoicingStartingPeriod then begin
        GetNextInvoicePeriod(ServiceContractHeader, InvoiceFromDate, InvoiceToDate);
        PostingDate := InvoiceFromDate;
        InvoicedAmount := CalcContractAmount(ServiceContractHeader, InvoiceFromDate, InvoiceToDate);
    end;

    if not CheckIfServiceExist(ServiceContractHeader) then
        Error(
          Text010,
          ServiceContractHeader."Contract No.",
          ServiceContractHeader.FieldCaption("Invoice after Service"));

    OnBeforeCreateAllServLines(ServiceContractHeader,InvoiceFromDate, InvoiceToDate, InvoicedAmount, PostingDate, InvoicingStartingPeriod, InvNo)

    CreateAllServLines(InvNo, ServiceContractHeader);

    OnAfterCreateInvoice(ServiceContractHeader, PostingDate);
end;

Event:
[IntegrationEvent(false, false)]
local procedure OnBeforeCreateAllServLines(ServiceContractHeader: Record "Service Contract Header"; InvoiceFromDate: Date; InvoiceToDate: Date;  var InvoicedAmount: Decimal; var PostingDate: Date; InvoicingStartingPeriod: Boolean; InvNo: Code[20])
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Scheduler task to continue migration in case of server crash

Add in config file:
	"Scheduler": {
		"active": true,
		"tasks": [
			{...},
			{
				"name": "MigrateSensitiveDataTask",
				"active": true,
				"periodicity": "* * * * *",
				"config": {}
			}
		]
	}

 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.

 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.

@jerome-benoit
Could you please update AWS and SCP config with this new job?
{
  name": "MigrateSensitiveDataTask",
  "active": true,
  "periodicity": "* * * * *",
  "config": {}
}

Thanks.


Treating project files as databases

Is there a workflow for treating an OMF project file as a database? For example, open the OMF project file, add an element, and save back to the file without re-writing everything in the project file?
Is this currently supported (if so could this become more documented)?

Hey @banesullivan:
For OMF v1, this is technically supported by the file format, but no client library exists to expose this functionality. The binary file is saved as:
fixed-length-header (with pointer to omf-project-json start)
binary-data-blob-0
binary-data-blob-1
binary-data-blob-2
binary-data-blob-3
omf-project-json (with pointers into binary blobs)

If you are just adding an element, you could keep binary-data-blob-0 to -3 in place unedited, write additional binary data blobs after that, rewrite the updated omf-project-json, then update the header with the new JSON location.
Removing an element is worse, since the binary is continuous. If you remove a blob, you could either just leave an unused gap or rewrite all the subsequent binary blobs.
Realistically, this is just unsupported...
OMF v2 will be a different story. For this version we are moving away from custom binary serialization to standard zip archive (see #36). That means elements and their associated binary can be easily added to and removed from the archive (this could potentially even mean external to any client library, opening in a file browser, dragging in new files, then updating the json metadata in a text editor - implementation details are not yet finalized). There's also a bit more momentum from the industry for this version which likely means more interest and investment in better client libraries that meet various use cases, especially around I/O.
You are more than welcome to follow up on #36 or here if you have specific suggestions for the v2 implementation.


Is this support in packages\microsoft.azure.search.service?

As title

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

ID: d4f0444e-1fea-b9be-8cca-08a26d995e60
Version Independent ID: e401363d-e606-6133-bef0-8c90fc0d17ad
Content: Incremental enrichment (preview) - Azure Cognitive Search
Content Source: articles/search/cognitive-search-incremental-indexing-conceptual.md
Service: cognitive-search
GitHub Login: @vkurpad
Microsoft Alias: vikurpad

@wuhanyumsft Thank you for your feedback! We will review and provide an update as appropriate.

@wuhanyumsft Hello, the note at the top of the page says that "The REST API version 2019-05-06-Preview provides this feature. There is no portal or .NET SDK support at this time."   Can you use the preview REST API for now ?

@wuhanyumsft Since We didn’t hear back from you. We will now close this out but if you feel you need more information please just let us know.


Added Matrix chain

Have you read the Contributing Guidelines on Pull Requests?
(Write your answer here.)
yes
Description
(Write your answer here.)
Given a sequence of matrices, find the most efficient way to multiple these matrices together. We have to find the way which costs minimum.
Input:
Size of array -
4
Input Array -
arr = {10, 30, 5, 60}
Output:
Minimum costs -
4500
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
(Write your answer here.)
#6016

@HarshCasper pls review

updated pls check @ankitaggarwal23

Why updating matrix chain twice in readme?

what I am not able to understand?

Why updating matrix chain twice in readme?

what I am not able to understand?

Get on this page and you will find two references for the Matrix Chain Multiplication. One of the link is dead so resolve that up.

pls check now @HarshCasper @ankitaggarwal23 changes done


Update gaze-and-dwell-eyes.md

Typo
Removed "we" in some places

Docs Build status updates of commit 1ba1056:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/gaze-and-dwell-eyes.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


(start): add wecross.security file

Codecov Report

Merging #31 (c0483fe) into release-1.0.1 (6031537) will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff                @@
##             release-1.0.1      #31   +/-   ##
================================================
  Coverage            24.56%   24.56%
  Complexity             108      108
================================================
  Files                   43       43
  Lines                 1791     1791
  Branches               123      123
================================================
  Hits                   440      440
  Misses                1321     1321
  Partials                30       30

Continue to review full report at Codecov.

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

Codecov Report

Merging #31 (c0483fe) into release-1.0.1 (6031537) will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff                @@
##             release-1.0.1      #31   +/-   ##
================================================
  Coverage            24.56%   24.56%
  Complexity             108      108
================================================
  Files                   43       43
  Lines                 1791     1791
  Branches               123      123
================================================
  Hits                   440      440
  Misses                1321     1321
  Partials                30       30

Continue to review full report at Codecov.

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


FileNotFoundError with example_scenes

If this is a support request:
Please attempt to solve the problem on your own before opening an issue.
Between old issues, StackOverflow, and Google, you should be able to find
solutions to most of the common problems.
Include at least:

Steps to reproduce the issue (e.g. the command you ran)
I downloaded all the necessary files and executed this command:
manim example_scenes.py SquareToCircle -p

The unexpected behavior that occurred (e.g. error messages or screenshots)
I attached a screenshot of the error message.
The command above does create the partial movie files in this directory:
C:\manim\videos\example_scenes\1440p60\partial_movie_files\SquareToCircle

But from the error message, it seems like the final .mp4 file is not being created in this location:
'C:\manim\videos\example_scenes\1440p60\SquareToCircle.mp4'

The environment (e.g. operating system and version of manim)
Windows 10
I believe I downloaded the most recent version of manim
Python 3.7

If this is a feature request:
Include the motivation for making this change.

Download latest version, this error is fixed.
Or manually apply this changes https://github.com/3b1b/manim/pull/1057/files

that one also had same problem https://github.com/3b1b/manim/issues/1081

https://www.google.com/search?q=manim+impossible+to+open
See 1st result contains solution.

We should learn what to search, how to search, how to break big problems into small parts and then how to search those small parts, how to combine those small part's solutions together to solve big problem.

Thank you so much. I solved the problem.
I checked out the first result but your answer (#1081) was much clearer.
Thanks again!


[core] Prepare for 2023 April release

update release dates in CHANGELOG
add change entries that are missing

API change check
API changes are not detected in this pull request.


Set up app to render templates

User Stories

As a user, I want to be able to view the home and dashboard pages in the browser

Done and merged!


[Backport to main] backport 2.x changes to main branch

Description
Backport changes in 2.x branch to main branch.
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

The CI failed , error shows error: package org.apache.http does not exist

Main branch fixed some breaking change, which will have conflict when merge PR. Will close this one and cut new PRs for backporting.


harmonize code paths used in FastBoot and non-FastBoot of

Running same code paths in FastBoot as in "regular" environment reduces the risk of bugs. To do so I moved the guards for FastBoot as close as possible to the places in code, which access document or window. Tests are passing and I manually verified that /fastboot/modal URL of dummy app shows the modal even with JavaScript being disabled. Not sure if additional manual tests are required.
Another small refactoring pulled out of #1402.

Main driver of the refactoring was to run show method in handleVisibilityChanges and not skip it early. Mostly because that relies on modal being opened in a different way than through show method. Basically the coupling of internal and external modal state, which I tried to address in #1402.
Not sure if I have any opinion if setScrollbar should guards against FastBoot or if the caller should do so. Happy to refactor to something like this if you prefer:
async show() {
  // ...

  if (!isFastBoot(this)) {
    this.checkScrollbar();
    this.setScrollbar();
  }

  // ...
}


symbol: Only inspect pkg in symbol.id

If symbol.id is present, we know we only have to inspect that pkg. This should
greatly speed up symbol queries using this extension on large repos.

That is exactly the kind of optimization that id is supposed to do 👍


rewrite

alpine based multistage builder, 565.24mb compare to original 1.2gb give or take and a load less re-downloading.
auto invalidate git clone cache if upstream updates
pull PR if ARG exists (tested with https://github.com/stayintarkov/SIT.Aki-Server-Mod/pull/53)
pull commit if ARG exists
defaults to pull branch other wise
uses commit_hash or pr_# as version file
flushed out version system to check for updates.
unified setup and entrypoint.sh
use screen instead as it does not require editing of AKI source code for compat
new ENVs

BACKEND_IP introduced in AKI 3.8.1
SERVER_NAME defaults to SIT + commit_hash

deletes js and js.map artifacts from mods folder before booting to eliminate user error
added sever and server-dev to git ignore.

I think that's everything, if it looks good I'll also update the documentation before merge or if you wanna stick to Ubuntu can also back port, but I think alpine is better suited.

adds support for HEADLESS, default true and UPDATE default false flags
fetch external IP automatically
pause for 5 seconds if new build is detected but user has UPDATE flags unset.
supports package.json as version file for release builds.
split development and release to different docker build --target

should default to release if no target provided ( need testing )


Docs new section

What does this PR do?
add new section in changelog and fix hr
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

While we are fixing readme, maybe also change the github reference in the bibtex, seems outdated:
@article{falcon2019pytorch,
  title={PyTorch Lightning},
  author={Falcon, WA},
  journal={GitHub. Note: https://github. com/williamFalcon/pytorch-lightning Cited by},
  volume={3},
  year={2019}
}
Should be https://github.com/PyTorchLightning/pytorch-lightning

@SkafteNicki mind make a suggestion? :rabbit:

@williamFalcon lets merge this one and all new (add new HR in docs) do in followup PR


Warn when epoch sees more samples than expected

Added a warning in model.fit_generator() if the batch generator produces more samples than expected by samples_per_epoch. However, the training could continue as before because learned weights would probably not be too affected in most cases.

Data point: I sometimes do this intentionally because I want to run validation more often than once per "real" epoch. To be fair, I usually do this when debugging, so I wouldn't mind the warning.

For your use case, consider using the on_batch_end callback instead. Maybe something like this:
training_data = ([...], [...])
validation_data = ([...], [...])

class Evaluator(Callback):
    def __init__(self, validation_data, run_every_nth_batch):
        self.validation_data = validation_data
        self.run_every_nth_batch = run_every_nth_batch

    def on_batch_end(self, batch, logs={}):
        if batch % run_every_nth_batch == 0:
            self.model.evaluate(validation_data[0], validation_data[1])

e = Evaluator(validation_data, 3)
model.fit_generator(..., callbacks=[e])

That seems reasonable.


Widgets returned by the selectedItemBuilder callback is not centered

Is it actually like this ?

ZOOM

Its look like something wrong
LINK : https://api.flutter.dev/flutter/material/DropdownButton/selectedItemBuilder.html

can you try different types of strings and share the output?

I've tried it, but it still on above

You can try it because I'm still trying from the documentation, when I implement it, the result is the same

I would expect the widget returned by the selectedItemBuilder to be centered by default.

code sample
/// Flutter code sample for DropdownButton.selectedItemBuilder

// This sample shows a `DropdownButton` with a button with [Text] that
// corresponds to but is unique from [DropdownMenuItem].

import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

/// This is the main application widget.
class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  static const String _title = 'Flutter Code Sample';

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: _title,
      home: Scaffold(
        appBar: AppBar(title: const Text(_title)),
        body: const MyStatefulWidget(),
      ),
    );
  }
}

/// This is the stateful widget that the main application instantiates.
class MyStatefulWidget extends StatefulWidget {
  const MyStatefulWidget({Key? key}) : super(key: key);

  @override
  _MyStatefulWidgetState createState() => _MyStatefulWidgetState();
}

/// This is the private State class that goes with MyStatefulWidget.
class _MyStatefulWidgetState extends State<MyStatefulWidget> {
  final List<String> items = <String>['1', '2', '3'];
  String selectedItem = '1';

  @override
  Widget build(BuildContext context) {
    return Padding(
      padding: const EdgeInsets.symmetric(horizontal: 12.0),
      child: DropdownButton<String>(
        value: selectedItem,
        onChanged: (String? string) => setState(() => selectedItem = string!),
        selectedItemBuilder: (BuildContext context) {
          return items.map<Widget>((String item) {
            return Text(item);
          }).toList();
        },
        items: items.map((String item) {
          return DropdownMenuItem<String>(
            child: Text('Log $item'),
            value: item,
          );
        }).toList(),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 2.0.4, on macOS 11.2.3 20D91 darwin-x64, locale en-AO)
    • Flutter version 2.0.4 at /Users/pedromassango/Code/flutter_stable
    • Framework revision b1395592de (11 days ago), 2021-04-01 14:25:01 -0700
    • Engine revision 2dce47073a
    • Dart version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/pedromassango/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2021.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 55.0.5
    • Dart plugin version 211.6693.108

[✓] VS Code (version 1.54.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (3 available)
    • Redmi 5 Plus (mobile) • 0258ff700005 • android-arm64  • Android 8.1.0 (API 27)
    • macOS (desktop)       • macos        • darwin-x64     • macOS 11.2.3 20D91 darwin-x64
    • Chrome (web)          • chrome       • web-javascript • Google Chrome 89.0.4389.114

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.1.0-13.0.pre.587, on macOS 11.2.3 20D91 darwin-x64, locale en-AO)
    • Flutter version 2.1.0-13.0.pre.587 at /Users/pedromassango/Code/flutter_master
    • Framework revision 0fdc4e8805 (4 hours ago), 2021-04-12 18:50:00 -0700
    • Engine revision 8863afff16
    • Dart version 2.13.0 (build 2.13.0-222.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/pedromassango/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2021.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 55.0.5
    • Dart plugin version 211.6693.108

[✓] VS Code (version 1.54.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (3 available)
    • Redmi 5 Plus (mobile) • 0258ff700005 • android-arm64  • Android 8.1.0 (API 27)
    • macOS (desktop)       • macos        • darwin-x64     • macOS 11.2.3 20D91 darwin-x64
    • Chrome (web)          • chrome       • web-javascript • Google Chrome 89.0.4389.114

! Doctor found issues in 1 category.

My WA is wrapping Text in a Centrer. Or switching out the the Text widget for a DropdownMenuItem works as well.
selectedItemBuilder: (context) => _values
                      .map(
                        (value) => DropdownMenuItem(
                          value: value,
                          child: Text(value.name),
                        ),
                      )
                      .toList()

My WA is wrapping Text in a Center.

selectedItemBuilder: (context) => _values

                      .map(

                        (value) => Center(

                          child: Text(value.name),

                        ),

                      )

                      .toList()

I would like to centerRight the selectedItem but it can't be done. It remains centered even with the .centerRight property.

@manylittlestorms
You can change select item alignment, please try this code sample with .centerRight property.

minimal code sample
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Flutter code sample for DropdownButton.selectedItemBuilder

import 'package:flutter/material.dart';

Map<String, String> cities = <String, String>{
  'New York': 'NYC',
  'Los Angeles': 'LA',
  'San Francisco': 'SF',
  'Chicago': 'CH',
  'Miami': 'MI',
};

void main() => runApp(const DropdownButtonApp());

class DropdownButtonApp extends StatelessWidget {
  const DropdownButtonApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text('DropdownButton Sample')),
        body: const Center(child: DropdownButtonExample()),
      ),
    );
  }
}

class DropdownButtonExample extends StatefulWidget {
  const DropdownButtonExample({Key? key}) : super(key: key);

  @override
  State<DropdownButtonExample> createState() => _DropdownButtonExampleState();
}

class _DropdownButtonExampleState extends State<DropdownButtonExample> {
  String selectedItem = cities.keys.first;

  @override
  Widget build(BuildContext context) {
    return Center(
      child: Row(
        mainAxisAlignment: MainAxisAlignment.center,
        children: <Widget>[
          Text('Select a city:', style: Theme.of(context).textTheme.bodyLarge),
          Padding(
            padding: const EdgeInsets.symmetric(horizontal: 8.0),
            child: DropdownButton<String>(
              value: selectedItem,
              onChanged: (String? string) {
                // This is called when the user selects an item.
                setState(() => selectedItem = string!);
              },
              selectedItemBuilder: (BuildContext context) {
                return cities.values.map<Widget>((String item) {
                  // This is the widget that will be shown when you select an item.
                  // Here custom text style, alignment and layout size can be applied
                  // to selected item string.
                  return Container(
                    alignment:Alignment.centerRight,
                    constraints: const BoxConstraints(minWidth: 100),
                    child: Text(
                      item,
                      style: const TextStyle(color: Colors.blue, fontWeight: FontWeight.w600),
                    ),
                  );
                }).toList();
              },
              items: cities.keys.map<DropdownMenuItem<String>>((String item) {
                return DropdownMenuItem<String>(
                  value: item,
                  child: Text(item),
                );
              }).toList(),
            ),
          ),
        ],
      ),
    );
  }
}

I am updating the official example too https://api.flutter.dev/flutter/material/DropdownButton/selectedItemBuilder.html

@TahaTesser I can confirm this works, but it has an unpleasant look. It would be useful to make the underline bar shrink depending on the length of the text. This is the current behaviour: https://imgur.com/a/b9pYviC

@TahaTesser I can confirm this works, but it has an unpleasant look. It would be useful to make the underline bar shrink depending on the length of the text. This is the current behaviour: https://imgur.com/a/b9pYviC

This doesn't sound related to the alignment issue since underline is not part of selectedItemBuilder.
Feel free to create a separate proposal for this, if this follows material design guidelines, if not, better to create a custom dropdown for your needs.

@manylittlestorms
You can adjust the container  width to adjust underline but if the string is longer your text would wrap into second line.


fix(css): cachedPostcssConfig reused for multiple builds

Description
fix #3902
Additional context
const { build } = require("vite");

(async () => {
  await build({
    ....
    css: {
      postcss: PostcssConfig1
    }
  })
  await build({
    ....
    css: {
      postcss: PostcssConfig2
    }
  })
})();

PostcssConfig1is reused, PostcssConfig2is invalid. caused by cachedPostcssConfig
https://github.com/vitejs/vite/blob/f623ba37dbc517656a7ffb10bc1b3cb221a4bc72/packages/vite/src/node/plugins/css.ts#L724-L731

What is the purpose of this pull request?

[x] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

@OneNail do you need help to write up tests?

@fwouts that would be great! It would be nice if you could PR some tests for this targeting OneNail fork so we can merge this together with them

@OneNail do you need help to write up tests?

@fwouts That's great, thank you very much.

FYI I've added tests in https://github.com/OneNail/vite/pull/1, please review when either of you have time :)

FYI I've added tests in OneNail#1, please review when either of you have time :)

Is it better to put these tests in one directory under the playground?
@patak-js can you help us review the added tests?  thanks.

@fwouts helped to add the test, @patak-js @Shinigami92 please review this pr when either of you have time, thanks.


Persistant Menu

How to add a persistant menu to messenger4j-spring-boot-quickstart , i need some help please

Please have a look at the messenger4j readme


Mounting a controller stack on the new bot

This goes along with the big push to actually have a robot.
We need a Beagle-bone  that is working and ready to go, along with the two motor controller capes to be mounted onto the new bot.
One of the capes will be scavenged off of last years bot and the other's is currently in shipping

The bone and two capes are mounted to the bot


How to ExecuteCommand for servers which provides custom commands

TSServer implements custom commands which can be used to trigger some actions.
https://github.com/typescript-language-server/typescript-language-server?tab=readme-ov-file#workspace-commands-workspaceexecutecommand
Is there a way in the client to call those custom actions?
Maybe a :LspExecuteCommand _typescript.organizeImports?

The whole setup could be more filetype specific, see also https://github.com/yegappan/lsp/pull/562
As a new user, the list of :Lsp... commands felt long, and often redundant. Aftplugin/&ft.vim suggesting sensible default mappings could foster adaption.

I suggested a new command for it, but not sure if we really need it. I mean, LSP sends the available custom commands through the executeCommandProvider capability.
We could have those commands appended to the Code Actions (since they work pretty similar)?
btw, I used tsserver as example, but figured out that ruff server used for python formatting also has some custom commands.

I am new to this plug-in. What was missing in :help lsp-custom-commands then to implement something similar to g:LspRegisterCmdHandler('java.apply.workspaceEdit', WorkspaceEdit) for tsserver or ruff server?
doc/lsp.txt (lines 1750-1773)
14. Custom Command Handlers			*lsp-custom-commands*

When applying a code action, the language server may issue a non-standard
command.  For example, the Java language server uses non-standard commands
(e.g. java.apply.workspaceEdit).  To handle these commands, you can register a
callback function for each command using the LspRegisterCmdHandler() function.
For example: >

    vim9script
    import autoload "lsp/textedit.vim"

    def WorkspaceEdit(cmd: dict<any>)
      for editAct in cmd.arguments
	  textedit.ApplyWorkspaceEdit(editAct)
      endfor
    enddef
    g:LspRegisterCmdHandler('java.apply.workspaceEdit', WorkspaceEdit)
<
Place the above code in a file named lsp_java/plugin/lsp_java.vim and load
this plugin.

The callback function should accept a Dict argument.  The Dict argument
contains the LSP Command interface fields.  Refer to the LSP specification for
more information about the "Command" interface.

I don't believe it has the behavior I need. RegisterCmdHandler listen to commands that comes from the server and do actions as needed. The example you shared (from the doc) wait for a java.apply.workspaceEdit from the server and calls textedit.Apply.. to current buffer. Its a communication Server => Client.
What I need is a way to call a command from the client. Calling a source.removeUnused.ts from the client, by example, would ask to the server remove all unused imports, which would generate a response and the client would apply as usual.

Okay, so this is for receiving from the server instead of sending. I wonder how :help LspCodeAction solves this as it can only be  applied to a diagnostic in the current line:
#  doc/lsp.txt (lines 704-718)
:LspCodeAction [query]	Apply the code action supplied by the language server
			to the diagnostic in the current line. This works only
			if there is a diagnostic message for the current line.
			You can use the ":LspDiag current" command to display
			the diagnostic for the current line.

			When [query] is given the code action starting with
			[query] will be applied. [query] can be a regexp
			pattern, or a digit corresponding to the index of the
			code actions in the created prompt.

			When [query] is not given you will be prompted to
			select one of the actions supplied by the language
			server.

But in principle
#  autoload/lsp/codeaction.vim (lines 15-26)
export def DoCommand(lspserver: dict<any>, cmd: dict<any>)
  if cmd->has_key('command') && CommandHandlers->has_key(cmd.command)
    var CmdHandler: func = CommandHandlers[cmd.command]
    try
      call CmdHandler(cmd)
    catch
      util.ErrMsg($'"{cmd.command}" handler raised exception {v:exception}')
    endtry
  else
    lspserver.executeCommand(cmd)
  endif
enddef

could be used, which at the moment is only used in CodeAction/Lens. Maybe that's what you meant with

I suggested a new command for it, but not sure if we really need it. I mean, LSP sends the available custom commands through the executeCommandProvider capability.
We could have those commands appended to the Code Actions (since they work pretty similar)?


Limit the number of AES-GCM keys allowed in TLS.

This is a FIPS 140-2 requirement from IG A.5 Key/IV Pair Uniqueness Requirements from SP 800-38D.
The limit will not be reached due to TLS catching it earlier, however the test is mandatory for FIPS.  The test only needs to happen on one side of the session, here the encrypting side keeps count and raises an error if the limit is exceeded.  Unsigned integer overflow back to zero on increment is relied on.  The C standard defines unsigned integral types as operating modulo 2bit width so this is safe.

I don’t understand why the pushback on adding a specific error even if it is highly unlikely.  Oh well.

I'm not against adding the error, I just don't see a need for one that won't occur :)

I've added an error as a second commit.
I'll leave the include/exclude decision up to the reviewers -- I don't see the need for it, @richsalz wants it.  Anyone else?

I don't see a second commit there yet?

I skipped the push step by accident :(

The error message commit pushed now.

Merged thanks all.


U2F adoption: Schools Payment System

Hi, I'd like to add a service that uses U2F to your list - https://pushcoin.com
School administrators login and authenticate via U2F.

Hi Slawomir!
Thank you for suggesting this site.
While we'd love to add all the sites people suggest we simply don't have the time to do so.
twofactorauth is a volunteer based project and we all do this on our spare time.
Maybe you could add this in a Pull Request? If not then maybe you could ask one of the developers of pushcoin to do so?
You can use this tutorial to add the site to our list.
Also, I can't seem to log in to https://www.pushcoin.com/ when I don't have an American IP address. Maybe you should fix that? IP addresses aren't that accurate and people often hide their IP address behind proxies in other countries.

We understand you're busy. Unfortunately the site is for U.S. visitors only
due to privacy over student data. The message you saw was intentional.
If this isn't a suitable entry for your list then we can pass. Otherwise
I'll be happy to send a git pull request.
On Apr 28, 2015 10:20 AM, "Carlgo11"<EMAIL_ADDRESS>wrote:

Hi Slawomir!
Thank you for suggesting this site.
While we'd love to add all the sites people suggest we simply don't have
the time to do so.
twofactorauth is a volunteer based project and we all do this on our spare
time.
Maybe you could add this in a Pull Request? If not then maybe you could
ask one of the developers of pushcoin to do so?
You can use this tutorial
https://github.com/jdavis/twofactorauth/wiki/FAQ_New_TFA_SITE to add
the site to our list.
Also, I can't seem to log in to https://www.pushcoin.com/ when I don't
have an American IP address. Maybe you should fix that? IP addresses aren't
that accurate and people often hide their IP address behind proxies in
other countries.
—
Reply to this email directly or view it on GitHub
https://github.com/jdavis/twofactorauth/issues/1092#issuecomment-97103528
.

Hi again,
yes but as I said IP addresses can't be treated like normal addresses. I have an American IP address and I'm not American. Many people in America use IP addresses from some European countries since they have better privacy laws and I'm guessing people on vacation in another country should be able to use your system?
Rather than block ips outside of the U.S. I recommend just asking the visitor if they're American or not.
After all, if someone really wants to get around your blocking it's fairly easy to do.
I've seen 9-year-olds use proxies and VPN tunnels.
Anyways, I'm fairly sure we do accept region specific sites since many banks listed on our site is region specific (although they don't block traffic).

@slisznia Do you have a link to any public documentation of this security feature? Is it only for school administrators or do parent accounts have TFA as well? You appear to accept online payments from parents (and therefore handling/storing payment info).
I would like to get a pull request put together so that we can get this issue closed and PushCoin on the list.

We currently only offer U2F to school admins. Parents will either be
offered rolling numbers or U2F, we aren't certain which yet. The problem
with U2F is that it's not mobile friendly and lots of our parents use
smartphones.
Slawomir Lisznianski
Software Architect, PushCoin
On Wed, Aug 19, 2015 at 5:21 PM, Rich Jeanes<EMAIL_ADDRESS>wrote:

@slisznia https://github.com/slisznia Do you have a link to any public
documentation of this security feature? Is it only for school
administrators or do parent accounts have TFA as well? You appear to accept
online payments from parents (and therefore handling/storing payment info).
I would like to get a pull request put together so that we can get this
issue closed and PushCoin on the list.
—
Reply to this email directly or view it on GitHub
https://github.com/jdavis/twofactorauth/issues/1092#issuecomment-132805507
.

Do you have a link to any public documentation for having/setting up TFA on an account?

http://knowhow.pushcoin.com/using-security-key-for-2-step-verification/
Slawomir Lisznianski
Software Architect, PushCoin
On 08/19/2015 05:30 PM, Rich Jeanes wrote:

Do you have a link to any public documentation for having/setting up
TFA on an account?
—
Reply to this email directly or view it on GitHub
https://github.com/jdavis/twofactorauth/issues/1092#issuecomment-132808236.

Thank you. I'll tag you when the PR is submitted so that you may review it.
Also, Chrome does not require any plug-ins to use U2F devices, so perhaps that line and its links are unnecessary.
As for TFA for parents, U2F does support communication methods other than USB, such as Bluetooth and NFC. Perhaps for parents, consider U2F over NFC (though of course this is limited by phone hardware having NFC and using a YubiKey Neo), or supporting SMS based OTP as many online services provide.

Yes, we will soon remove the use of the extension on our site and just
use the builtin support.
Slawomir Lisznianski
Software Architect, PushCoin
On 08/19/2015 05:47 PM, Rich Jeanes wrote:

Thank you. I'll tag you when the PR is submitted so that you may
review it.
Also, Chrome does not require any plug-ins to use U2F devices, so
perhaps that line and its links are unnecessary.
As for TFA for parents, U2F does support communication methods other
than USB, such as Bluetooth and NFC. Perhaps for parents, consider U2F
over NFC (though of course this is limited by phone hardware having
NFC and using a YubiKey Neo), or supporting SMS based OTP as many
online services provide.
—
Reply to this email directly or view it on GitHub
https://github.com/jdavis/twofactorauth/issues/1092#issuecomment-132815396.