[AVM Module Issue]: Duplicate object key in the map output by Terraform for examples sql

Describe the issue:
When trying to apply the sql examples module, get the following error:

Repro Steps:

Run command azd auth login.
Run command az login.
Run command azd init -t todo-python-mongo-terraform.
Replace the content of infra/main.tf with the following code:

module "avm-res-documentdb-databaseaccount_example_sql" {
  source  = "Azure/avm-res-documentdb-databaseaccount/azurerm//examples/sql"
  version = "0.3.0"
}

Annotate the contents of the infra/output.tf file.
Run command azd provision.

Expected behavior:
Run command azd provision without any errors.
@bryansan-msft and @jongio for notification.

@faynef I just merged a release fixing the outputs. Unfortunately, I had to merge some outputs to avoid name conflicts


initial implementation of grpc support

Adds basic support for tracing in gRPC applications.

@ewhauser great job! I made a fury of mostly stylistic comments, and a suggestion for an additional couple tests. If you need hints on doing those, let me know (I understand those tests aren't necessarily in other modules)

@adriancole - Changes made with the exception of ClientCallListenerFactory suggestion.  Didn't quite follow what you wanted to do there, but happy to adjust.

thx. other notes weren't terribly important.

will merge tomorrow!

One thing to be careful about are the tags (binary annotations). Ex I've
noticed these prefixed by product ex "grpc.status"
Such keys could be extracted into a public type, like GrpcKeys. For
example, I have a todo to extract the http ones.

@kristofa - I refactored to use the http adapters as a separate commit.  Once you give the thumbs up, I'll rebase it.

@kristofa @ewhauser I don't think grpc is a http tracer. It uses http keys for propagation (which is an arbitrary choice), The spans themselves are not the same as http. ex grpc.status_code isn't http status. They are semantically different things, I think
http://www.grpc.io/grpc-java/javadoc/io/grpc/Status.Code.html

I think @adriancole's right.  I don't think we want shoehorn the gRPC model into the HTTP one just to save some code.  While gRPC does use HTTP/2 for transport, it's really an implementation of gRPC on top of HTTP:
http://www.grpc.io/docs/guides/wire.html

Tricky topic! Can you hook into the HTTP/2 layer in a standard way in gRPC?
Maybe we can log both layers..

@kristofa @ewhauser I'm pretty much still in favor of commit 1 without any major changes. There's some polishing we'd do, but think this is good start.

@adriancole @ewhauser I'm fine to go with the first commit. If the abstraction doesn't fit we should not use it. :+1:

closed via fd3cdb921964a0d7164c29141fe6aac8099ae4cf with some very minor changes

Released as part of brave v3.6.0

@adriancole @kristofa i would like to have a "how to use" doc for grpc with zipkin and post it for users. Can you help on that?

The README is the best place to start
https://github.com/openzipkin/brave/tree/master/brave-grpc


[WIP] Yn/spacenet - not sure this should be merged in bc of awscli, boto3 imports needed in Dockerfile.stage2

Summer Handoff

Done

[x] a single notebook that can access the SpaceNet data on AWS, download Rio raster and vector data with Boto, wrangle imagery with GDAL, ingest imagery for fast viewing with GeoPySpark, and show Rio’s outline, imagery, and building footprints on a map with GeoNotebook.
[x] a blog post called "Exploring SpaceNet data with GeoPySpark," shared in Google Doc with Dan (also available as Word doc)

To Do

[ ]   fix FileNotFoundException from tile_to_layout call (see notebook output). @lossyrob: should we bring in @jbouffard on this issue?
[ ]  run the ingest after tile_to_layout call.
[ ]  fix render_image in TMSRasterData (tms_server) as needed. @lossyrob: might need your help with render_image
[ ] once raster ingest/view capacity is figured out, match it with buildings view capacity.
[ ] notebook code review by @lossyrob (or @jbouffard?)
[ ]  add screenshot/gif of successful imagery addition on map to the blog post.

@jamesmcclain thanks for the update - renaming the PR, and rob will review the new notebook before its merged

You are welcome


Validate tags type in container.yaml

CLOUDBLD-1560

Signed-off-by: Chenxiong Qi<EMAIL_ADDRESS>Maintainers will complete the following section

[x] Commit messages are descriptive enough
[x] Code coverage from testing does not decrease and new code is covered
[x] JSON/YAML configuration changes are updated in the relevant schema
[x] Changes to metadata also update the documentation for the metadata
[x] Pull request has a link to an osbs-docs PR for user documentation updates

code looks good, but we should actually reconsider the approach

@rcerven I added a new commit to allow writing tags in either string or number in container.yaml. Please have a look at the result behavior. If it is expected, I'll squash the commits.

rn updated: Validate tags type in container.yaml


Processing data

Create model classes for all entities as shown in the
Set up associations between models
Models include some additional methods.

Users
A method that returns the 3 most recent posts for a given user.
Posts
A method that updates the posts counter for a user.
A method which returns the 5 most recent comments for a given post.
Comments
A method that updates the comments counter for a post
Likes
A method that updates the likes counter for a post.

Thank You for Your review


Add systemd service file template

If the unix socket is configured to be present under a dir in a tmpfs,
like /var/run/redis the directory must be created before launching
redis. The best way to do it is inside service file, ensure the
directory is present (and eventually security context restored) each
time redis is started.

I realized this may not be the best way to deal with tmpfs. I'll close this pull request and create another that uses systemd-tmpfiles instead

@gabrielecerami Cool, no problem! 👍


Add code syntax highlighting into the rendering process

We should detect code blocks -- their existence, and the ability to specify the highlighting language -- and render the markup needed for styling.
Likely candidate library for implementation

highlight.js

It's preferable to do this during the build phase (so it's encoded in the markup) vs requiring javascript to run after the page has loaded.


Add jmix-bpm project

Modify both clone-subprojects files, build.gradle and settings.gradle. Use jmix-maps as an example. Take the JMIX_USE_PRIVATE_REPOSITORIES variable into account.

Also add into dependencySubstitutionMap in build.gradle

Done


reward_for_resolved_bug.rb:35-36: Let's add extra points...

The puzzle 1-f2970e3f from #1 has to be resolved:
https://github.com/zerocracy/judges-action/blob/12e5e1f7fb71d21cd366145d92756bf82e494d5c/judges/reward/reward_for_resolved_bug/reward_for_resolved_bug.rb#L35-L36
The puzzle was created by @yegor256 on 22-May-24.
Estimate: 30 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 1-f2970e3f has disappeared from the source code, that's why I closed this issue.


Not able to cancel emote in process

Need to add override to CanDoAction() or directly cancel on another action. TBD

Fixed 12 June and added new features.


Make Converting Coord Sys Optional

As default behavior, AssetKit tries convert document coordinate system to default coordinate system which is configurable option AK_OPT_COORD. But the problem is that viewer may not want involve to any coord-sys specific operation.
Making this step optional will improve loading performance
Default is Y_UP but with an option like ak_opt_set(AK_OPT_USE_DOC_COORD, true);  loaded document's coord sys can be considered as default coord-sys  e.g. if imported document is Z_UP default will be Z_UP and loader will skip converting coord-sys (geometries, transforms, cameras, lights...)
AK_OPT_USE_DOC_COORD  should not override AK_OPT_COORD option

Implemented with https://github.com/recp/assetkit/commit/787631e83c926bcbc954dcd2aadf64bc1996d3a1


Update morph-modes.md

Update docs to remove requirement for data-controller on data-reflex-root target
https://github.com/hopsoft/stimulus_reflex/blob/72b185feb956d1bcd07e5d5cffeb7e0216a711c2/javascript/stimulus_reflex.js#L323 does not suggest controller is required
Type of PR (feature, enhancement, bug fix, etc.)
docs fix
Description
remove requirement from docs that a data-controller is required
Why should this be added
The less requirements for adding a data-reflex-root to an element the better imo
Checklist

[x] My code follows the style guidelines of this project
[x] Checks (StandardRB & Prettier-Standard) are passing

Congrats on your first SR PR, Scott!


load_serde helper

Currently load requires manually parsing the data. We could implement a helper based on load which assumes serde packing as it is the usual thing people do.
fn load_serde<T, +Serde<T>, +starknet::Store<T>>(
        target: ContractAddress, storage_address: felt252
    ) -> T

Closing in favour of #2299


how to define project owned typescript declaration

Describe the bug
failed to define project owned typescript declaration
To Reproduce
in content script, import vue sfc file, and in sfc file import 'turndown'
turndown
try to declare module, and add to <rootDir>/tsconfig.json
export {}

declare module 'turndown' {
  export class TurndownService {}
}

in <rootDir>/tsconfig.json,
{
  "extends": "./.wxt/tsconfig.json"
+ "include": ["./global.d.ts"]
}

but results in more typescript errors
Expected behavior
Screenshots

TLDR: Remove export {} from your declaration file and remove "include" from your tsconfig.json, then everything will work.

When your TSConfig files extends another and you set the include or exclude options, the extended include and exclude options are overridden, not merged.
So in your case, you're telling typescript to only include your global file in the project, and none of your source code. Look at .wxt/tsconfig.json for what include defaults to for your project.
As for the export {}, this makes a declaration file a module, not a declaration file, and that means you have to import it before you get any of the declarations you defined in it.
In general, you don't add export {} when declaring modules.

Move to discussion, I'd say. Someone else may have same/similar question in the future.


Singularities may not be working properly

Once upon a time there was a "manual" test suite. It is crucial to write this as part of the official test suite.

A test suite has been implemented an all tests pass.


add TransferOptions into download and upload options

closes https://github.com/Azure/azure-sdk-for-cpp/issues/1037
closes https://github.com/Azure/azure-sdk-for-cpp/issues/497
Pull Request Checklist
Please leverage this checklist as a reminder to address commonly occurring feedback when submitting a pull request to make sure your PR can be reviewed quickly:
See the detailed list in the contributing guide.

[x] C++ Guidelines
[x] Doxygen docs
[x] Unit tests
[x] No unwanted commits/changes
[x] Descriptive title/description

[x] PR is single purpose
[x] Related issue listed

[x] Comments in source
[x] No typos
[x] Update changelog
[x] Not work-in-progress
[x] External references or docs updated
[x] Self review of PR done
[x] Any breaking changes?

/azp run cpp - storage

/azp run cpp - storage

/azp run cpp - storage

/azp run cpp - storage

/azp run cpp - storage

/azp run cpp - storage

/azp run cpp - storage

/azp run cpp - storage

/azp run cpp - storage

/azp run cpp - storage


Plugin no longer compatible with Maven 4 (alpha-12)

Describe the bug
mvn -v
Apache Maven 4.0.0-alpha-12 (e627879aedd8a0c1859e58a527852ae8de1b4878)
Maven home: /Users/lprimak/.sdkman/candidates/maven/current
Java version: 21.0.2, vendor: Azul Systems, Inc., runtime: /Users/lprimak/.sdkman/candidates/java/21.0.2.fx-zulu/zulu-21.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "12.7.3", arch: "x86_64", family: "mac"

Log:
[INFO] BUILD FAILURE
[INFO] --------------------------------------------------------------------------------------------------------------------------
[INFO] Total time:  1.401 s
[INFO] Finished at: 2024-02-13T18:52:48-06:00
[INFO] --------------------------------------------------------------------------------------------------------------------------
[ERROR] Failed to execute goal org.simplify4u.plugins:sign-maven-plugin:1.0.1:sign (default-cli) on project base-pom: Execution default-cli of goal org.simplify4u.plugins:sign-maven-plugin:1.0.1:sign failed: An API incompatibility was encountered while executing org.simplify4u.plugins:sign-maven-plugin:1.0.1:sign: java.lang.NoSuchMethodError: 'org.eclipse.aether.transform.FileTransformerManager org.eclipse.aether.RepositorySystemSession.getFileTransformerManager()'
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>org.simplify4u.plugins:sign-maven-plugin:1.0.1
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/Users/lprimak/.m2/repository/org/simplify4u/plugins/sign-maven-plugin/1.0.1/sign-maven-plugin-1.0.1.jar
[ERROR] urls[1] = file:/Users/lprimak/.m2/repository/org/codehaus/plexus/plexus-sec-dispatcher/2.0/plexus-sec-dispatcher-2.0.jar
[ERROR] urls[2] = file:/Users/lprimak/.m2/repository/org/codehaus/plexus/plexus-utils/3.4.1/plexus-utils-3.4.1.jar
[ERROR] urls[3] = file:/Users/lprimak/.m2/repository/org/codehaus/plexus/plexus-cipher/2.0/plexus-cipher-2.0.jar
[ERROR] urls[4] = file:/Users/lprimak/.m2/repository/org/bouncycastle/bcpg-jdk15on/1.70/bcpg-jdk15on-1.70.jar
[ERROR] urls[5] = file:/Users/lprimak/.m2/repository/org/bouncycastle/bcprov-jdk15on/1.70/bcprov-jdk15on-1.70.jar
[ERROR] urls[6] = file:/Users/lprimak/.m2/repository/io/vavr/vavr/0.10.4/vavr-0.10.4.jar
[ERROR] urls[7] = file:/Users/lprimak/.m2/repository/io/vavr/vavr-match/0.10.4/vavr-match-0.10.4.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------

A clear and concise description of what the bug is.
To Reproduce
MAVEN_OPTS=-Dsettings.security=$HOME/.m2/settings-security.xml mvn org.simplify4u.plugins:sign-maven-plugin:1.0.1:sign  -Dsign.serverId="Flow Logix, Inc."
Expected behavior
Plugin works

That API has been removed from Resolver 2.x as it was wrong all the way from its inception. Is not only OOM prone, messes with Resolver flow (that OTOH has nothing to do with this at all!), but added hoops and loops in resolver. It was deprecated in Resolver 1.9.x and dropped in very first alpha of 2.0.
See https://issues.apache.org/jira/browse/MRESOLVER-244


Include information about lazy connection_strategy in related errors.

Description
There have been some discussions and issues resolving around connection_strategy, where the default eager strategy caused a behavior that might not be obvious to the end user.
This PR augments the error messages in this case to include information about how to switch to the lazy strategy.
Checklist

[x] I have updated tests where applicable.
[x] I have added an entry to the CHANGELOG.

If you plan to redirect requests away from this server, consider setting connection_strategy to lazy to suppress early connections.

That's definitely a better message, as it includes the possible intend of the user. It's been changed in d56df4e0281624bfd88bc11dcfb9f9099ca51ae5.


TypeError: can't convert np.ndarray of type numpy.str_.

Hello,
Thanks for your great work!
I'm using my own dataset as you used in the example.

I'm getting an error at this point.
Any comments or advice will be very appreciated!!

My bad. Just solved.


[QUERY] Publish GraalVM reachability metadata in a standard way

Query/Question
GraalVM Reachability Metadata Repository seems to have become the standard way for Java libraries to publish their GraalVM reachability metadata. Azure SDK libraries may publish their GraalVM reachability metadata to this repository?
Setup (please complete the following information if applicable):

OS: [e.g. iOS]
IDE: [e.g. IntelliJ]
Library/Libraries: all

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[X] Query Added
[X] Setup information Added

I may have misunderstood the goal of the GraalVM Reachability Metadata Repository. It seems to be for libraries that do not incorporate reachability metadata. However, it might be possible to reuse things from the GraalVM Reachability Metadata Repository  (see, for example, NioSocketChannel in Azure SDK, NioSocketChannel in GraalVM Reachability Metadata Repository), or contribute to it.


Version 0.0.4

Proposed v0.0.4

Change npm test (was getting Invalid value (non-number) for option: threshold)
Rename /test/plugin.js to test/plugin_test.js
Allow broader versions in peer dependencies

Original repo doesn't get updates in more than 5 years.


[Feature]-[658]:Add Alt-Text property for Image widget

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
This feature request is for an Alt-Text property for all widgets, which will display when the widget's visibility is set to hidden. The value could also be used to provide Alt-Text to the browser for Image widgets, and improve Appsmith's accessibility.
Why should this be worked on?
When a widget is set to hidden, the canvas is empty in that area and nothing else can be displayed in its place to communicate to the user why a certain feature/function is missing in their app. Another widget can be used to display a message to the user, but since widgets can't be stacked it just takes up more 'real estate' in the page.  The empty space from the hidden widget would be the ideal place for this type of message to the user.

+1 it should only be for image widgets

@GreenFlux how is Alt-text relevant to all the widgets, I see the use case for image widget only right now

Actually, I'm requesting an alternative text to be displayed for ANY widget, when that widget is set to hidden. Since that leaves an empty place on the canvas, this seems like the ideal place to display a message about why any type of widget has been hidden.
I'm suggesting that this feature could also be used for images- in the more traditional alt-text way, but really it's for all widgets when they have been hidden by a JS condition and we want to provide a message to the user it its place.
Perhaps calling it alt-text is confusing. Maybe this should be called 'Hidden Message' instead. But I think this feature would be useful for all widgets, which is my primary request. The use of this text as an image's alt-text is more of an added bonus for this feature.
Use Cases:

Button has been hidden by JS because conditions are not met. Alt-Text displays explanation to user, prompting to fill out required form.
Child table is hidden because a row has not been selected in the parent table. Message can be displayed in place of child table while it is hidden, prompting user to select row on parent table.

The empty space on the canvas is the most logical place to display a message about why a widget has been hidden, but we can't stack widgets. If we had a property to provide an alternative text it its place then any hidden widget could inform the user of what conditions are causing the feature to be disabled.

@GreenFlux web apps don't usually have hidden messages right? The request seems more like a patch because of the whitespace that is occupied when actually we should simply solve the problem that if a widget is not visible, it should not take up space. What do you think?

@GreenFlux yes we're working on enabling that as part of the dynamic height project

I would like to contribute a PR which adds an "alt" text property to the image widget (with tests).
This PR addresses only the "alt" property for accessibility, to display in the alt HTML attribute. It does nothing when widget is hidden and has nothing to do with the dynamic height project.
@Nikhil-Nandagopal
Should I link this PR to this feature issue or assign it to another new feature issue?


query() accepts various typed values

Hi!
This PR adds a little feature that will make the life of test-writers a tiny bit easier. The query() method now calls toString() for Number and Boolean values that were passed to it, and converts undefined and null to empty strings ''. That way query() mimics the behavior of querystring.stringify().
I think it will save some unknown, new to nock developer his precious time, when he is trying to figure out why does the query string in the request and in the nock server don't match, when visually they do.
PS I had to fix a test that didn't pass on my machine.

@dodev thanks!
Landed on v2.8.0.


input: Add modifiers fields to wpe_input_pointer_event struct

And wpe_input_pointer_modifier enum with the possible flags.

Patch updated to rename the enum. I think it's still confusing, because we have a button enum and button field in the struct, but button values have nothing to do with the ones in the enum, that are only used for the new buttons field.

I've updated the patch again to use a single enum for both keyboard and pointer modifiers and add modifiers field to all event structs

JFTR, I do like the version of the patch that was merged better :+1:


10/2/2024 - OpenGL Series (12-14)

Only finished the note taking for EP14 by morning of 13/2/2024. Very strange behaviour with my IBO, doesn't concur with specification. But for now will just rebind the IBO whenever, and then unbind afterwards.


current rc5 branch: brower history duplication

To go back/forward with browser back/forward button, I have to click twice. No error message.
After update ngrx/core, ngrx/router-store.. , same problem happens.

It seems that multiple bootstrap components are causing problems. Moving <bc-devtools></bc-devtools> from index.html to AppComponent's template and removing DevtoolsComponent from @NgModule.bootstrap solves this problem.

Looks to be fixed as I'm unable to reproduce after the upgrade to Angular 2 final. Re-open this issue if you're still seeing this and we'll investigate it further.


Sketching out a "types and shapes" developer document.

Progress on https://github.com/google/iree/issues/5223
This is light on details right now, but gives us a place to fill in more over time.

Closing as obsolete. Still would be good to have some documentation about this topic but it's probably worth doing this in the specific frontend documentation instead as frontend dialects have different restrictions themselves.


Extract DocumentRequest from DocumentHandler.

This is intended as a replacement for the various mock Request
implementations in the library and connectors, as well as remaining
the production implementation.
There are a few modest changes to the class:

Rename to DocRequest for consistency with public names.
Avoid using HttpExchange in the fields and constructor args.
Reorder the methods.
Simplify canRespondWithNoContent.

Once I added the NPE, I decided to add a test, and once I added one test, I added them for everything. PTAL.


Text width makes certain docs unusable

Reading this page is unusable as one must scroll to the end to navigate left-right per line read:
https://godoc.org/github.com/nicksnyder/go-i18n/goi18n

This looks like a potential issue with github.com/nicksnyder/go-i18n/goi18n package, not godoc.org. godoc.org is correctly displaying documentation for that package the way the godoc command would, isn't it?
If you, you should report it in its issue tracker.

Yes, so should I make this into a GoDoc bug? This is unreadable. Some sort of wrapping or expansion should occur in this case.

You can try, but as far as I can tell, this is working as expected. It makes sense for pre-formatted text to appear without wrapping, just horizontal scrolling if needed. E.g.:


Playlists and favoriting cause issues when used simultaneously

What happens
When the user attempts to use the playlist feature in tandem with adding or removing an preexisting favorite (i.e. one which has been saved to the profile), it causes either the playlist to be inaccessible with 0 songs, or a game crash to occur.
To Reproduce

Open the playlist tab and go to any song you have previously saved to favorites
Enter the list of favorite songs
Remove favorite, hit back on playlist menu
Favorite again, enter playlist menu
Repeat as necessary until the game throws one of the two errors

Expected behavior
Playlists to add or remove the file from favorites when ctrl+f is applied, without the playlist vanishing or the game crashing.
Demonstration of both events occurring:
https://user-images.githubusercontent.com/7039995/125147499-b9959a80-e0f9-11eb-850c-2bbdcfd5f08c.mp4
https://user-images.githubusercontent.com/7039995/125147410-09c02d00-e0f9-11eb-8b8d-66a0fb9fd7d0.mp4
Desktop (please complete the following information):

OS: Windows
Version: 10
64bit

Additional context
Tested in release 0.70.3 trying to reproduce an issue in the EO discord encountered by Faustas. It appears to be a consistent bug.

resolved long ago for 0.71 e90d6164dfb533e08aea7fca53d88be7ba99e6be


ui: autocomplete for authors in record editor

#2039

you created a new PR, I think you can close #2039.


File popup window reopens

The file popup window is immediately reopening once since updating to the latest 6.2.1 version. The file data seems to be updating correctly for each try, but I have to select each file twice to actually get the popup window to close. This is also the case when pressing cancel.
Best regards,
Marcus Windmark

What browser?
Can you reproduce it on demo page? can you create a jsfiddle?

The problem occurs in both Chrome and Firefox and seems to be caused by ngf-background. I'm trying to set the background of the drop area to be the dropped file. In the migration notes to 6.2.X, you mention changed ngf-default-src and ngf-default-background, but nothing to ngf-background.
See the following jsfiddle: http://jsfiddle.net/mhtvs6ce/

the fiddle is working for me. It does set the background image.

It does indeed set the background image, but as you can notice, the file popup window reopens the first time a file is selected. I've been able to reproduce the problem using my earlier posted jsfiddle in Chrome, Firefox, Edge on both Windows and Ubuntu. This wasn't a problem before 6.2.1.

Fixed in version 7.0.4.
Thanks for reporting.

Perfect! This works like a charm together with the migration notes to 7.x.x.
Thank you for all quick answers!


[Event Request] T5200 Employee - procedure OnInsert()

    trigger OnInsert()
    var
        ResourcesSetup: Record "Resources Setup";
        Resource: Record Resource;
    begin

----------------------- ADD EVENT ----------------------
       IsHandled := false;
       OnBeforeOnInsert(Rec, xRec, IsHandled);
       if IsHandled then
            exit;
----------------------------------------------------------

    [IntegrationEvent(false, false)]
    local procedure OnBeforeOnInsert(var Employee: Record Employee; var xEmployee: Record Employee; var IsHandled: Boolean)
    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.


Tiny Font size in fields on imported custom fillable sheet

Describe the bug
When loading in a custom fillable PDF sheet, the font size in fields is incredibly miniscule. Font size is normal when using other pdf viewers.
To Reproduce
Open a custom pdf sheet.
Expected behavior
Normal font size
Screenshots

Version Information:

FoundryVTT 0.7.7
PDFoundry 0.7.11

Additional context

some info about the file

This is likely an issue with an embedded font in the PDF. PDF.js has issues with rendering some embedded fonts, this is a known issue.
You may try editing the PDF and using a different font setting for the fields.

This is likely an issue with an embedded font in the PDF. PDF.js has issues with rendering some embedded fonts, this is a known issue.
You may try editing the PDF and using a different font setting for the fields.

Do you know which fonts work?

Do you know which fonts work?

True Type fonts are fully supported to my knowledge. Arial may not be the prettiest but it's the one I have the highest confidence in working without testing myself. Times New Roman, Georgia, and Courier should also work I believe.

Another PDF encounter this issue from RageBob#8904
Emperor.Altrazon.The.Godhunter.pdf

Another PDF encounter this issue from RageBob#8904
Emperor.Altrazon.The.Godhunter.pdf

Hey I actually found and resolved this today when I found the issue with my sister and her friends.
The pull request is over here


Real time No of Requests in High level c

Hi,
Is it possible to see realtime No of requests in High level connectivity diagram when it's on Realtime mode?
Also I have another question on V2 where I can't see update option (refresh page). Is it under development or have a better way?
Regards!

Helloo, @VidushaZ
You can check out what you can see with 'RealTime' from live demo.
and here is the guide showing you how you can change it to V2

@RoySRose Hii,
Yes I already checked it and even in live demo It's not counting realtime requests on the Flow diagram. What I asked is whether it is possible to do it.
Regarding V2 yes I already have running V2 but there is no update option there. btw Is there a live demo for V2?

Yes I already checked it and even in live demo It's not counting realtime requests on the Flow diagram. What I asked is whether it is possible to do it.

What is Flow diagram? We don't use the term Flow Diagram. Please let me know what you are trying to point to.

Regarding V2 yes I already have running V2 but there is no update option there.

what do you mean by update option?

btw Is there a live demo for V2?

We are planning to change the demo to V2, but yet there are few bugs in V2, so we're waiting

@VidushaZ

Yes I already checked it and even in live demo It's not counting realtime requests on the Flow diagram. What I asked is whether it is possible to do it.

What is Flow diagram? We don't use the term Flow Diagram. Please let me know what you are trying to point to.

Regarding V2 yes I already have running V2 but there is no update option there.

what do you mean by update option?

btw Is there a live demo for V2?

We are planning to change the demo to V2, but yet there are few bugs in V2, so we're waiting

^Flow Diagram I mentioned
I asked is it possible to see these numbers change in real time mode.

^I can't see this option in V2.

Oh, the servermap. servermap is the term we use.
Well, if you select REALTIME and the servermap will show you the number of transaction in other charts. But will NOT update on the servermap due to some issues.
@binDongKim, may be working on some solution on this.
@binDongKim
Can you check above update option for v2?


Add a bunch of .proto definitions to the new protocol.

These are mostly unimplemented, and some, especially GetServers, may not
make it through in this form. It's a good sketch for feature parity with
the REST API, though.
This is on a feature branch, so I'm going to skip the normal test list. Please review and comment. @udo @hiteshk25 @bschuchardt and Brian and Alexander, whose github names I can't seem to find.

@udo want to merge this?

@kohlmu-pivotal Please merge this when possible. Trying not to switch between multiple dev branches while working against the new protocol. Thanks!


Please make snakeCase function

https://lodash.com/docs/4.17.15#snakeCase

@kononovich11 please take it


Implement basic conversions

Collaborating on this PR:

Check the most-recent comments on this PR to see if anyone is actively working on it.  If not, continue:
Post a commenting stating what you are starting work on
Make a PR against this branch (basic-conversions)
Post a comment when you are done doing active work so others can pick up from there (including a link to your PR against this branch)

To include the following from #4:

[ ] fromRgb : { red : Float, green : Float, blue : Float } -> Color

[x] fromRgba : { red : Float, green : Float, blue : Float, alpha : Float } -> Color

[ ] fromRgb255 : { red : Int, green : Int, blue : Int} -> Color

[ ] fromRgba255 : { red : Int, green : Int, blue : Int, alpha : Float } -> Color

[ ] fromHsl : { hue : Float, saturation : Float, lightness : Float } -> Color

[ ] fromHsla : { hue : Float, saturation : Float, lightness : Float, alpha : Float } -> Color

[ ] rgb255 : Int -> Int -> Int -> Color

[ ] rgba255 : Int -> Int -> Int -> Float -> Color

[x] rgb : Float -> Float -> Float -> Color

[x] rgba : Float -> Float -> Float -> Float -> Color

[ ] hsl : Float -> Float -> Float -> Color

[ ] hsla : Float -> Float -> Float -> Float -> Color

[ ] toRgb : Color -> { red : Float, green : Float, blue : Float }

[x] toRgba : Color -> { red : Float, green : Float, blue : Float, alpha : Float }

[ ] toRgb255 : Color -> { red : Int, green : Int, blue : Int }

[ ] toRgba255 : Color -> { red : Int, green : Int, blue : Int, alpha : Float }

[ ] toHsl : Color -> { hue : Float, saturation : Float, lightness : Float }

[ ] toHsla : Color -> { hue : Float, saturation : Float, lightness : Float, alpha : Float }

[ ] toHex : Color -> { hex : String, alpha : Float }

[ ] fromHex : String -> Color

I'm stopping work for tonight.  Feel free to contribute following the instructions at the top of this PR.  I'll comment again when I'm picking this up again.

I will now start work on the functions above that you haven't done yet, as well as some of the documentation.

Ok, done for the day. I hope I'm not forgetting anything, but I should have done the following:

completed all fromRgb functions
clamp color channels to 0.0 - 1.0
doc fixes and tweaks
consolidated fromRgb functions, to make sure we're only using one implemented logic
toHex done
fromHsla and related functions done

https://github.com/avh4/elm-color/pull/7
I hope nothing is too bikesheddy! If anything seems that way, it's just that I'm in the habit of changing things immediately, as I come across them.
Cheers

I'm moving the HSL work to a separate branch (#8), since it seems like it will be a bit of work to get the conversion accurate.

I'm done working on this for tonight.  Remaining work is to finish fromHex, (and the HSL conversions were moved to #8 )

I'm picking this up again to finish fromHex

Merging to dev-1.0.0 branch -- further comments can go to #9


Login failed with github

Hello guillaume,
I just report than I cant connect with my github account because my "Name" is not filled on my profil page.
I think you have to change to not required on the name.

Indeed. i'll check it out and fix it. Thanks for your feedback. 👍


Update Grace Hopper Omnibus

1/ Bump version # of omnibus release
2/ Add omnibus properties

@akphi @nickyhof @mrudula-gs - Please take a look. We need to release another version after the model is finalized.


Add package to conda-forge

https://github.com/conda-forge/staged-recipes/pull/27972

Done: https://anaconda.org/conda-forge/lightning-uq-box


Styles are not being generated without HMR

Describe the bug
When using Svelte's class syntax, the styles are not being loaded.
Example: class:focus:underline in src/components/Link.svelte
<a {href} class="font-semibold no-underline cursor-pointer" on:click class:focus:underline={href} class:hover:underline={href} tabindex="0">
	<slot />
</a>

Additionally, in other places a few classes doesn't generate styles randomly. But I couldn't reproduce those in a minimal repo. I am trying to use "z-20" or "h-[52px]" for example, and it doesn't generate until I go into that component and cut and paste the class, save the file, triggering the hot reload.
This might be similar to #91 , but I followed the instructions given there, and added the scan.dirs option. But that didn't work.
Minimal Reproductions
Here is a minimal repo: Sample repo
This is based on: Routify Vite Typescript starter template
Versions

vite-plugin-windicss: 1.1.1
vite: 2.2.3
framework:  Svelte 3.37.0 + Routify

Additonal Context
In actual production repo, there's a lot of other components and things involved, so a few other classes doesn't seem to work, like the "z-20" or "h-[52px]" examples I mentioned above. But couldn't recreate them in the minimal repo.
Another interesting thing to note is -
Previously I was on vite-plugin-windicss version 0.15.10, and also used svelte-windicss-preprocess 3.5.3. That combination still works for me just fine. However, I wanted to update the dependencies to the latest, and found out that I do not need the svelte-windicss-preprocess if I just use the vite-plugin-windicss. And since then I am facing this cold start issue. This happens during build time as well. Building the project doesn't output those classes. I don't know why it's only affecting a few classes, whereas some others are just working fine.
I am a huge fan of WindiCSS, and I absolutely love it over anything else. The modifier grouping and everything is on point. It's the best thing out there. Many thanks to all of you guys.
If anyone with a little idea can point me to the right direction, I'll be grateful.

I'd see where the "z-20" or "h-[52px]" comes from, if you are generate them dynamically, it probably won't work.
Related with this?
https://windicss.org/guide/extractions.html

@antfu - I appreciate you looking into this. I have even added the following extract option in the config, but it still wouldn't work. Is there something I am missing? I am aware I can keep adding those to a "safelist", but that doesn't look like an elegant solution.
extract: {
    // accepts globs and file paths relative to project root
    include: [
      'index.html',
      'src/**/*.{svelte,html,jsx,tsx}',
    ],
    exclude: [
      'node_modules/**/*',
      '.git/**/*',
    ],
  },

P.S. As I mentioned I can still work with the older version of this plugin, that serves the purpose for me. But thought this issue might shed some light into some migration instructions I have missed.

should be fix in c3cc80d6b28bda9c62a06a159feebead2f920fbc


Support scaling for shardingsphere

I missing an important work for sharding scaling. In order to support scaling for shardingsphere, We need to understand the sharding rule, and mapping the sharding table name to the actual table name.
For sharding rule:
t_order:
      actualDataNodes: ds${0..1}.t_order${0..1}

We need synchronize table t_order0 and t_order1 from ds0, table t_order0 and t_order1 from ds1, this four table all map to t_order.

[ ] Parse shardingsphere rule configuration.
[ ] Filter table not in shardingsphere rule configuration(history sync and realtime sync).
[ ] Mapping actual table name to logic table name in reader.

@ssxlulu @KomachiSion How to submit the sharding rule file in start job interface? Put file content in json field?

I think we can get full configuration, and use sharding-core to parse them to xxxConfiguration.

@avalon566 You can implement this based on YamlSwapper interface, which includes TableRuleConfigurationYamlSwapper, OrchestrationConfigurationYamlSwapper , and includes DataNode and Table configuration.

@SteNicholas Thx, I will reference to this interface.


Test step stays "pending or cancelled" after build completes.

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

App Id
d3tcjln4xx1iki
Region
eu-central-1
Amplify Console feature
E2E tests
Describe the bug
Hi all, we are facing this problem:
The Test step, the icon remains as a "grey clock" rather than a "green tick" and reports Test is still pending or has been canceled for this build. I cannot find any additional logging or monitoring output about it.
I added the script from the codumentation to the build setting (i pasted it below). Still the Test stage shows: "Test is still pending or has been cancelled for this build."
Can someone try to explain this?
Region: EU-central-1
AppId: d3tcjln4xx1iki
backend:
  phases:
    build:
      commands:
        - '# Execute Amplify CLI with the helper script'
        - amplifyPush --simple
frontend:
  phases:
    preBuild:
      commands:
        - yarn install --frozen-lockfile
    build:
      commands:
        - yarn run build
  artifacts:
    baseDirectory: build
    files:
      - '**/*'
  cache:
    paths:
      - node_modules/**/*
test:
  artifacts:
    baseDirectory: cypress
    configFilePath: '**/mochawesome.json'
    files:
      - '**/*.png'
      - '**/*.mp4'
  phases:
    preTest:
      commands:
        - npm ci
        - npm install -g pm2
        - npm install -g wait-on
        - npm install mocha mochawesome mochawesome-merge mochawesome-report-generator
        - pm2 start npm -- start
        - wait-on http://localhost:3000
    test:
      commands:
        - 'npx cypress run --spec "cypress/integration/iProcess/*.spec.js" --reporter mochawesome --reporter-options "reportDir=cypress/report/mochawesome-report,overwrite=false,html=false,json=true,timestamp=mmddyyyy_HHMMss"'
    postTest:
      commands:
        - npx mochawesome-merge cypress/report/mochawesome-report/mochawesome*.json > cypress/report/mochawesome.json
        - pm2 kill```

### Expected behavior

I would expect, that the Test stage starts when the pipeline is triggered and is running the cypress commands, amongst others.

### Reproduction steps

Add the pasted amplify.yml to the Build settings. Trigger deployment --> find that tests are not triggered.

### Build Settings

_No response_

### Additional information

_No response_

> ###

I re-registered the CICD triggers from codecommit to the pipeline + deleted and re-entered the config above to the project.
Now the test stage starts correctly when the build gets triggered by a commit/mergerequest


SLIM-268 update firmware

 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.

@rudidevries The CLA server is not working properly at the moment. I'm trying to update the CLA-assistent application running on the CLA server. Please ignore the comments by CLAAdmin.


Updates needed to Dynamics Field Service Power Apps Use Rights, CRUD on "WORK ORDER" table

[Enter feedback here]
Hi, there has been an update to the Dynamics Field Service use-rights in Power Apps licenses - users are now able to perform CRUD actions on "Work Order" table -

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

ID: de827382-3030-0e13-f4e6-803ab5a935ce
Version Independent ID: ab23d1e4-5459-c0a5-1225-789a8ad90d8d
Content: Restricted tables requiring Dynamics 365 licenses - Power Apps
Content Source: powerapps-docs/maker/data-platform/data-platform-restricted-entities.md
Service: powerapps
Sub-service: dataverse-maker
GitHub Login: @KumarVivek
Microsoft Alias: kvivek

Thanks for your comment, @szerongtham. This issue has been assigned to the doc author for review.


Feature/add iu

referencing JIRA SHARE-302

Coverage increased (+0.02%) to 93.467% when pulling bca6b978045ceb968bb197dbe0f934b1fa1e4a69 on kms6bn:feature/add_iu into<PHONE_NUMBER>1f52e3c955d0b190c5628dd221389a on CenterForOpenScience:develop.


Reload constants in dipdup.env after applying env-files

Currently there is an inconsistency in env variables and env files (-e cli arg). Internal variables like DIPDUP_DEBUG are read once on dipdup.env module import, and thus can't be set with env-files. We need a method to reload constants in dipdup.env on demand. globals are okay, but maybe there are more elegant options without breaking compatibility.

Hi @droserasprout  can I work on this please?

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I am a returning Contributor here. Willing to solve this issue with my expertise in Python.
How I plan on tackling this issue
I would approach this issue by keeping the global varibale DIPDUP_DEBUG and make it such that the new method which will be added in dipdup.env module will have reload constants on demand. This can be done by a reloading function which will reload the varibles in dipdup.env on demand. This function could be invoked after processing env files or CLI arguments.
We can also discuss this further if more options are available.


Skip plans with negative relevance

and properly hangle negative numbers in relevance calculations

This is ready for review now, can you, please, take a look? Thanks.


Update to Warp 0.3 with Tokio v1.

Many thanks for creating this crate!
I created this small PR to upgrade it to Warp 3.0 (released 9 days ago) which uses Tokio v1.

The GitHub workflow checks do not seem to pass (an error occurs during doc-tests) but running them manually for the different toolchains (both stable and nightly) works fine. Not sure what is going wrong here.

The GitHub workflow checks do not seem to pass (an error occurs during doc-tests) but running them manually for the different toolchains (both stable and nightly) works fine. Not sure what is going wrong here.

I reproduced this error with cargo test --release in my local environment (macOS/stable), but I could not fix it. I will retry later.

I reproduced this error with cargo test --release in my local environment (macOS/stable), but I could not fix it. I will retry later.

I was able to replicate it as well with cargo test --doc --release. When I do cargo test --doc however it passes! Not sure what is going on here.

I was able to replicate it as well with cargo test --doc --release. When I do cargo test --doc however it passes! Not sure what is going on here.


Add NumberInput component

I noticed in the Material-UI's roadmap a Numeric Input component to be built. If nobody has took the lead then I can help. Recently I had to develop a component like that for a personal project (first screenshot below).

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡
I didn't look deeply but I think about a <NumericField /> wrapping a <TextField />. This text field component would render the step buttons.
Examples 🌈

Motivation 🔦
Sometimes we want to force an input to only accept numbers, but the support for type="number" has limitations:

Firefox and Safari are allowing to type any value, even non-digit characters #18923
Chrome allows entering any amount when max is set: https://github.com/mui-org/material-ui/issues/9313#issuecomment-731267593. It should likely round to the max when blurring the field.
Chrome allows chars like e, #10582.
Using the mouse wheel changes the value, instead of scrolling https://github.com/mui-org/material-ui/issues/10582#issuecomment-603118446, https://github.com/mui-org/material-ui/issues/7960

Benchmarks
https://mui-org.notion.site/Input-Number-component-364825a7bec94381809ac11ff05b4cc0

It would need to support floating point numbers in addition to integers. With the ability to set precision ranges.
My project's current solution was to wrap TextField.

It would need to support floating point numbers in addition to integers.

@dcworldwide I don't know, step buttons are not very useful with continuous quantities.

Is adding generic mask property for TextField sufficient?

For phone numbers, bank account numbers or currency, masks solve the problem. But to enforce a minimum/maximum value or a custom step (0, 2, 4, 6) regex patterns become huge.

https://elemefe.github.io/element-react/#/en-US/input-number

I'm thinking about starting a draft for NumericField. To support currency values should we (1) use Intl.NumberFormat, (2) extend the Material-UI's localization API or (3) delegate all formating to user?

i would vote to start with (3)

https://stackoverflow.com/questions/47798104/set-min-max-on-textfield-type-number

Hey
Why when I copy and paste exactly this from the TextField doc it does not work ?
<TextField inputProps={{ inputMode: 'numeric', pattern: '[0-9]*' }} />
Daniel

<TextField InputProps={{** inputMode: 'numeric',}} /> works for me

<TextField inputProps={{ inputMode: 'numeric', pattern: '[0-9]*' }} /> works for me

<TextField inputProps={{ inputMode: 'numeric'}} />
works on latest mobile safari or
 <TextField inputProps={{ inputMode: 'decimal' }} /> if need a decimal.
pattern adds some basic client-side-validation
https://codesandbox.io/s/elegant-brook-73yun

If you need a negative number keyboard, I think you are out of luck on ios.

<TextField inputProps={{ inputMode: 'numeric'}} />
works on latest mobile safari or
 <TextField inputProps={{ inputMode: 'decimal' }} /> if need a decimal.
pattern adds some basic client-side-validation
https://codesandbox.io/s/white-fire-9szpr
If you need a negative number keyboard, I think you are out of luck on ios.
https://funwithforms.com/posts/inputmode/

@sscotth Your code sandbox also does not work
Chrome
Firefox

Mobile?

@GaddMaster What doesn't work?
iOS Chrome 96. You can copy and paste non-numeric values into the top inputs, but not the bottom. Correct keyboard on each.

macOS Chrome 95. Validation works.

macOS Firefox 94. Validation works.

This is a little bit offtopic, but the documentation leads to this page. So, this information might be helpful for someone.
From the examples with the slider, I found the following way to add the Input element with the Number type:
import MuiInput from '@mui/material/Input';
function NumberComponent(props){
  // if you want to use state, uncomment this:
  // let { numberValue } = props || 1;

  // if you want to use state, uncomment this:
  // const [numberValue, handleDurationChange] = useState(numberProperty);

  return (
    <MuiInput
      value={numberValue}
      size="small"
      inputProps={{
        step: 1,
        min: 0,
        max: 99999,
        type: 'number',
      }}
    />
  )
}

I wanted to chime and say that, from a product designer's perspective, an incrementer would be very useful to have in Material UI. The software I use on a daily basis (Figma, Adobe products, Cinema 4D) uses this kind of field all the time, and because I work on apps at my company which involve similar visualization and manipulation of values, I want to be able to provide this kind of a control to our users. Pasting a small mockup of the sorts of things we would want it do in our case.

So, I'm mainly just chiming in here to say this would be a really valuable to provide in Material UI, and it could help product designers like me advocate more strongly for Material UI in our various spheres of influence. Cheers.

any update on this component?

Any update here?

Great, thank you!

@siriwatknp Could you link to the source for yours?

Demo: https://next.mui-treasury.com/?path=/story/component-numberinput--default
Component src: https://github.com/siriwatknp/mui-treasury/blob/next/packages/component-numberinput/src/NumberInput.tsx
useNumberInput hook: https://github.com/siriwatknp/mui-treasury/blob/next/packages/use-number-input/src/useNumberInput.ts

Ah, that's why I couldn't find it :)

Just to make sure: please don't overlook a step parameter in the implementation. And please make it possible to define a set of valid fractions (static and by callback). I have number fields implemented in a tool we use internally, where only a defined set of fractions are OK. Say you press the "up" button and you would only want to got from x.33 to x.5, then there should be some kind of option to define those valid steps.
In case it helps, my Order ID is: :credit_card: 47016

If possible, I would "urge" this to happen soon. Why?
Well, I have found myself several times accidentally changing the focused number input while scrolling through the touchpad towards the end of the page to hit the SAVE button. Due to the stepper...
See the result here, this was entered as 24500, I then scrolled down to hit Save and I saved the form, see what happened to the input (I re-entered to the form afterwards):

So, this can be done by many users too and they will not even notice! (I noticed this accidentally too)
Thanks!

If possible, I would "urge" this to happen soon. Why?
Well, I have found myself several times accidentally changing the focused number input while scrolling through the touchpad towards the end of the page to hit the SAVE button. Due to the stepper...

We recently had the same bug in our application which took a while to get noticed since it is very subtle.
Our workaround for now is something like this:
`export const blurTarget = (event: SyntheticEvent) => {
event.target instanceof HTMLElement && event.target.blur()
}
<TextField
size="small"
type="number"
onWheel={blurTarget}
...
`
My company would also like to see this implemented as soon as possible :)
Thanks

Any progress on this?

Any progress on this?

We plan to start working on this in this quarter.

@mj12albert I think that it could be great to spend your first couple of weeks on smaller changes than this issue. There are probably two different NumberInput components to build here. My idea is that with smaller changes, you could learn the codebase, workflows, and build confidence faster.

Hey guys!
I don't know if it has much to do with the topic of discussion, but I would like to ask a question! If I can't send it here, let me know and I'll remove it! And if possible, point me to the correct place to take this doubt.
In a system I'm building, I ask the user for the value in Brazilian Reais (R$ 00,00 format). This week, I was told that the input is not working on Samsung and OnePlus phones (I suspect it is on any phone with a Chromium-based browser). On my MacBook and Iphone, the input works perfectly.
Can anyone help me, please?
Links: https://github.com/thiagorochatr/teste-input-value/blob/main/components/original/InputPriceOG.tsx
https://teste-input-value.vercel.app/original

Hey guys!
I don't know if it has much to do with the topic of discussion, but I would like to ask a question! If I can't send it here, let me know and I'll remove it! And if possible, point me to the correct place to take this doubt.
In a system I'm building, I ask the user for the value in Brazilian Reais (R$ 00,00 format). This week, I was told that the input is not working on Samsung and OnePlus phones (I suspect it is on any phone with a Chromium-based browser). On my MacBook and Iphone, the input works perfectly.
Can anyone help me, please? Links: https://github.com/thiagorochatr/teste-input-value/blob/main/components/original/InputPriceOG.tsx https://teste-input-value.vercel.app/original

Update: fixed!

Demo: https://next.mui-treasury.com/?path=/story/component-numberinput--default Component src: https://github.com/siriwatknp/mui-treasury/blob/next/packages/component-numberinput/src/NumberInput.tsx useNumberInput hook: https://github.com/siriwatknp/mui-treasury/blob/next/packages/use-number-input/src/useNumberInput.ts

You can still use + and other math operators

Current example solution With Keydown preventing changes based on criteria.
// Solution with keydown
    <TextField
      value={state.value}
      type="number"
      onKeyDown={(e) => {
        if (e.key === "e" || e.key === "E" || e.key === "-" || e.key === "+") {
          e.preventDefault()
        }
      }}
      onChange={(e) => {
        handleChange();
      }}
    />

found this stack over flow helpful https://stackoverflow.com/questions/31706611/why-does-the-html-input-with-type-number-allow-the-letter-e-to-be-entered-in

✨ We've released the number input for Base UI in v5.14.41

✨ We've released a first iteration on the Number Input for Base UI in v5.14.4!
Great to hear! Will this be ported to Material UI core itself at some point? Thanks!

Here is my implementation of NumberInput with support for decimal numbers: https://gist.github.com/nameer/664abb9d4e261a210de1f1ba814a0ad2
To use it for integers, simply set decimalScale to 0.
One drawback to note is that the state variable is a string.

One thing about existing number inputs I've always found annoying is the half-sized up/down arrows - they are often too small to be usable and I personally would much prefer something like 123 + - - normal text field followed by icon buttons.
This way the buttons have enough vertical space to get to usable size

Here is my implementation of NumberInput with support for decimal numbers: https://gist.github.com/nameer/664abb9d4e261a210de1f1ba814a0ad2
To use it for integers, simply set decimalScale to 0.
One drawback to note is that the state variable is a string.

A live implementation is here: https://codesandbox.io/p/sandbox/nostalgic-tdd-7fxlym
This component supports setting minimum, maximum, and step values, and also handles decimal numbers. It allows you to provide an initial number, and you can monitor changes via the onChange prop. onChange event will only be triggered if the value is a valid number (typing the dot of "5." will not trigger it).

Hello, is there any news about this new component?
Thank you 😄

Super duper excited for this component by the way can't wait 😉

Hi everyone,
I've been working on such a component for a little while now and I thought the MUI users could benefit from it. It is inspired from the integration with 3rd party input libraries section of the docs. It uses react-number-format under the hood and supports decimal numbers, increment and decrement with buttons or ArrowUp/ArrowDown, custom step, thousand and decimal separators based on the current locale.
That's how it looks:

And here is the code:
import * as React from "react";
import { NumericFormat, type NumericFormatProps } from "react-number-format";
import { useLocale, useTranslations } from "next-intl";
import KeyboardArrowDownIcon from "@mui/icons-material/KeyboardArrowDown";
import KeyboardArrowUpIcon from "@mui/icons-material/KeyboardArrowUp";
import {
  IconButton,
  InputAdornment,
  Stack,
  TextField,
  type IconButtonProps,
  type TextFieldProps,
} from "@mui/material";

const NumericFormatCustom = React.forwardRef<
  HTMLInputElement,
  NumericFormatProps
>(function NumericFormatCustom(props, ref) {
  const { decimalSeparator, thousandSeparator, value, ...rest } = props;
  const locale = useLocale();

  const defaultThousandSeparator = React.useMemo(
    () => getThousandSeparator(locale),
    [locale],
  );

  const defaultDecimalSeparator = React.useMemo(
    () => getDecimalSeparator(locale),
    [locale],
  );

  return (
    <NumericFormat
      {...rest}
      value={value ?? ""} // We can't ever pass null to value because it breaks the shrink state of the label, so we pass empty string instead
      getInputRef={ref}
      thousandSeparator={thousandSeparator ?? defaultThousandSeparator}
      decimalSeparator={decimalSeparator ?? defaultDecimalSeparator}
    />
  );
});

type NumberInputProps = Omit<TextFieldProps, "onChange"> & {
  hideActionButtons?: boolean;
  max?: number;
  min?: number;
  numericFormatProps?: NumericFormatProps;
  onChange?: (value: number | null) => void;
  step?: number;
  value?: number | null;
};

const NumberInput = React.forwardRef<HTMLDivElement, NumberInputProps>(
  function NumberInput(props, ref) {
    const t = useTranslations("NumberInput");
    const {
      disabled = false,
      InputProps,
      inputProps,
      hideActionButtons = false,
      max = Infinity,
      min = -Infinity,
      numericFormatProps: numericFormatPropsProp,
      onChange,
      size,
      step = 1,
      value: valueProp,
      ...rest
    } = props;
    const isControlled = valueProp !== undefined && onChange !== undefined;

    // We use an internal state when the component is uncontrolled
    const [fallbackValue, setFallbackValue] = React.useState(valueProp);
    const value = isControlled ? valueProp : fallbackValue;
    const setValue = isControlled ? onChange : setFallbackValue;

    const increment = () => {
      // If we increment when the input is empty, we consider the previous value to be 0
      const newValue =
        (value != null && !Number.isNaN(value) ? value : 0) + step;

      if (newValue > max) {
        return;
      }

      setValue(newValue);
    };

    const decrement = () => {
      // If we decrement when the input is empty, we consider the previous value to be 0
      const newValue =
        (value != null && !Number.isNaN(value) ? value : 0) - step;

      if (newValue < min) {
        return;
      }

      setValue(newValue);
    };

    const numericFormatProps: NumericFormatProps = {
      // We set a default to avoid displaying floating point errors when using a decimal step
      decimalScale: 5,

      // react-number-format doesn't provide min or max props so we do the checking here instead
      isAllowed: ({ floatValue }) => {
        if (floatValue == null) {
          return true;
        }

        return floatValue >= min && floatValue <= max;
      },

      // Only add the min, max and step html attributes when the value isn't the default one
      max: max !== Infinity ? max : undefined,
      min: min !== -Infinity ? min : undefined,
      step: step !== 1 ? step : undefined,

      // Allow to increment with ArrowUp and decrement with ArrowDown
      onKeyDown: (event) => {
        if (event.key === "ArrowUp") {
          increment();
        } else if (event.key === "ArrowDown") {
          decrement();
        }
      },

      onValueChange: ({ floatValue }) => {
        // When incrementing or decrementing, the value prop is already up to date
        // so we make sure the value needs to be updated to prevent an unnecessary re-render
        if (floatValue === value) {
          return;
        }

        setValue(floatValue ?? null);
      },
      value,

      ...numericFormatPropsProp,
    };

    const commonAdornmentButtonProps: IconButtonProps = {
      edge: "end",
      sx: { p: size !== "small" ? "1px" : 0 },
    };

    return (
      <TextField
        {...rest}
        ref={ref}
        value={value ?? ""} // We can't ever pass null to value because it breaks the shrink state of the label, so we pass empty string instead
        disabled={disabled}
        size={size}
        InputProps={{
          ...InputProps,
          // eslint-disable-next-line @typescript-eslint/no-explicit-any
          inputComponent: NumericFormatCustom as any,
          endAdornment: !hideActionButtons && (
            <InputAdornment position="end">
              <Stack>
                <IconButton
                  aria-label={t("incrementAriaLabel")}
                  disabled={disabled || (value ?? 0) + step > max}
                  onClick={increment}
                  {...commonAdornmentButtonProps}
                >
                  <KeyboardArrowUpIcon fontSize={size} />
                </IconButton>
                <IconButton
                  aria-label={t("decrementAriaLabel")}
                  disabled={disabled || (value ?? 0) - step < min}
                  onClick={decrement}
                  {...commonAdornmentButtonProps}
                >
                  <KeyboardArrowDownIcon fontSize={size} />
                </IconButton>
              </Stack>
            </InputAdornment>
          ),
        }}
        // @ts-expect-error The type should be React.ComponentProps<typeof inputComponent> but instead
        // it is hard-coded to InputBaseComponentProps
        inputProps={{ ...inputProps, ...numericFormatProps }}
      />
    );
  },
);

// Taken from here:
// https://stackoverflow.com/questions/32054025/how-to-determine-thousands-separator-in-javascript#comments-77517574

function getThousandSeparator(locale: string) {
  return (
    new Intl.NumberFormat(locale)
      .formatToParts(1234.5678)
      .find((part) => part.type === "group")?.value ?? ""
  );
}

function getDecimalSeparator(locale: string) {
  return (
    new Intl.NumberFormat(locale)
      .formatToParts(1234.5678)
      .find((part) => part.type === "decimal")?.value ?? "."
  );
}

export default NumberInput;

You can hard code the aria-labels and just pass undefined to getThousandSeparator and getDecimalSeparator if your app doesn't support internationalization.
Hope it helps!

Hello, is there any news about adding Number Input  from Base IU to material UI?
Thank you 🙇

I would love to see this kind of Number Input component implemented in MUI. It should support +, - in the input, and floating point number. The step size should also support floating point number.
https://blueprintjs.com/docs/#core/components/numeric-input

For me this is completely fundamental and I'm not sure i understand why it doesnt exist.  the number of bugs we get due to numbers being strings due to being forced to use a textfield for entering numbers...

@ClementDreptin Thanks a lot, was struggling implementing this, by MUI recommended, NumberInput with React Hook Form from https://mui.com/base-ui/react-number-input/#hook
No success, yours works instantly and perfectly.

I would love to see Number Input component implemented in MUI similar to Ant Design and BlueprintJs. It should support +, - in the input, and floating point number. The step size should also support floating point number. There are few other properties that are missing. A combination of below would be awesome.
https://ant.design/components/input-number
https://blueprintjs.com/docs/#core/components/numeric-input

You can get the components from MUI Treasury too:

Arrow
Spinner

https://github.com/user-attachments/assets/0f911c9e-670a-48a5-96b2-28aa72ed731e

I hope NumberInput will have soon a real UI (NumberField?).
In the meantime and to not rely on another third-party components I just blocked the scroll when focusing since for me it was the most annoying thing:
                    <TextField
                      type="number"
                      label="Jauge"
                      value={0}
                      onChange={(event) => {
                        // ...
                      }}
                      slotProps={{
                        htmlInput: {
                          step: 1,
                        },
                      }}
                      onWheel={(event) => {
                        // `event.currentTarget` as a callable type but it targetting MUI element
                        // whereas `event.target` as not a callable type so casting since safe in this case
                        (event.target as HTMLInputElement).blur();
                      }}
                    />


Go back to previous URL when logging back in

If you try to load a page, like http://rancher:8080/apps/add?githubRepo=something, but aren't logged in, you should get sent back to the same URL after logging in.

+1
on a related note, it would be nice to have a perm-link option somewhere, that also conveys the selected environment, for sharing links etc..

@kaos #677

version - master 1/19
Verified fixed


Remove year and still keep cv vertically aligned

Hi, firstly I would like to thank you for creating such a neat and beautiful template. Now, my question is that is it possible to remove years from the Program Committees section and still keep the CV vertically aligned?
Example -
Currently, if I remove years it looks like this -
Program Committees
    Organizer & Co-director, 1st POSTECH Hackathon S.Korea
    Staff & Problem Writer, JFF(Just for Fun) Hacking Competition S.Korea

I want it to look like this -
Program Committees
Organizer & Co-director, 1st POSTECH Hackathon S.Korea
Staff & Problem Writer, JFF(Just for Fun) Hacking Competition S.Korea
I am sorry as this maybe a noob question as I have just started with latex, but it would be great if you could help :)

Put the following block before \begin{document}, play around with the values till you are satisfied.
\renewenvironment{cvhonors}{%
  \vspace{\acvSectionContentTopSkip}
  \vspace{-2mm}
  \begin{center}
    \setlength\tabcolsep{0pt}
    \setlength{\extrarowheight}{0pt}
    \begin{tabular*}{\textwidth}{L{\textwidth - 4.0cm} R{2.5cm}}
}{%
    \end{tabular*}
  \end{center}
}
\renewcommand*{\cvhonor}[4]{%
  \honorpositionstyle{#1}, \honortitlestyle{#2} & \honorlocationstyle{#3} \\
}

Thanks a lot @johannesbottcher , works for me :)

@johannesbottcher  HI, I have a question regarding this same issue.
I want the following (the Program Committees Section) -
2013    Organizer & Co-director, 1st POSTECH Hackathon S.Korea                                S.Korea
2012    Staff & Problem Writer, JFF(Just for Fun) Hacking Competition S.Korea                 S.Korea

To look like this -
Organizer & Co-director, 1st POSTECH Hackathon S.Korea                                        S.Korea
Staff & Problem Writer, JFF(Just for Fun) Hacking Competition S.Korea                         S.Korea

The snippet you wrote works fine if I just want the middle content, but if I want to keep the middle content as well as the content on the right hand side (S.Korea in this case) the right content gets displaced to left hand side on account of removing the year. Is it possible to stop the content on the right getting displaced to the left?
I hope my question is clear, let me know if you want me to elaborate more on it :)

@iCHAIT Quoting myself from three weeks back:

Put the following block before \begin{document}, play around with the values till you are satisfied.

Highlight added just now.


ocamlPackages.base64: 3.5.0 → 3.5.1

Description of changes
Better compatibility with OCaml 5.0
https://github.com/mirage/ocaml-base64/releases/tag/v3.5.1
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

The liquidsoap failure is unrelated: awscli2 is failing (and independent of OCaml base64).

The liquidsoap failure is unrelated: awscli2 is failing (and independent of OCaml base64).

I know.

Thanks for your help!


Ability to hide  panel with scripts

Minimal horizontal size for  panel with scripts was = 70, changed it to 0.
It's especially helpful if someone is working on a laptop, or just don't like to have anything on the left side of the screen.
Video  that shows how it's working after the change: https://www.youtube.com/watch?v=Y_o4pOpjyhY&feature=youtu.be

It looks good to me. Unless @reduz has concerns about giving the possibility to completely hide the script tabs, it's mergeable.


Which prompt template and temperature?

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

I want to change the prompt template and temperature. I have found it in a couple of files though. Which files are the correct ones in which I can change the prompt template and temperature?
Minimal steps to reproduce

Any log messages given by the failure

Expected/desired behavior

OS and Version?

Windows 10

azd version?

run azd version and copy paste here.

Versions

Mention any other details that might be useful

Thanks! We'll be in touch soon.

I think this readme faq should help: "What is the difference between the Chat and Ask tabs?"
https://github.com/Azure-Samples/azure-search-openai-demo#faq

Closing, comment if that didn't help you find the files.


Option to select ip directly from prefix/vlan for management primary ip

Environment

Python version:  3.5.2
NetBox version:  2.5.5

Proposed Functionality
In our environment we configure on the switch the vlan interface with a IP address. This is then reachable as management. So if it is possible, that we directly select the IP address when editing the switch for its primary ip and then the option to select the ip from the prefix/vlan. As now you first need to configure an interface with an IP address. So we now configure them on the port channel.

Use Case
As above

Database Changes
Don't know what has to change

External Dependencies
N/A

I don't follow what's being proposed here. Could you elaborate on exactly what you're trying to do please?

To clearify a bit hope this helps:
When you edit a device you can assign a ip address under the section management as primary/secondary IP. This is only allowed when you assign this to an interface for example a portchannel, etc.  Then you can select this address at the primary ip.
What im trying to explain is, if it is possible to assign it directly when you enter or select the ip address as primary IP. So that it doesn't have to be assigned to a interface. Just directly select from the ip addresses. As in our environment we didn`t assign it to the a physical interface but assigned it to a vlan interface (management).

@deku-m
If this is what you are talking about, this is a support question and should be redirected to the mailing list or the NetworkToCode Slack in the #netbox channel
You would want to model that in Netbox, by naming it whatever it is named in your switch.  For example, on Cisco switches, you would have the following configuration:
interface Vlan1212
 ip address <IP_ADDRESS> <IP_ADDRESS>

You would model this in Netbox by creating a interface named Vlan1212 and assigning it the IP address <IP_ADDRESS>/24.  The type would be "Virtual".

As @DanSheps points out, IP addresses must be assigned to an interface before they can be designated as the primary IP for a device. There is no mechanism by which to create and designate an IP in one action, as that would greatly complicate validation.


Need a way to set http headers from Java Client API

Related to issue #766.
In the short term, we need a way to set generic http headers via the Java Client API.  This is important because many of our customers are using enterprise SSO systems where user credential information is returned via HTTP headers.  The username and any groups/roles are returned in specific headers for different categories of roles, so we need to be able to transmit this information to the server to use in application-level authentication.
Also this is important if we are using 2-way SSL for authentication.  In the "old days" of J2EE, particularly Weblogic, servers that were behind a load balancer needed to authenticate the user via client certificate.  The issue was that the load balancer would handle the initial SSL negotiation, so the certificate information was lost.  The solution was to write a script for the load balancer to take the public certificate from the initial request and place it into headers where the Weblogic authenticators expected to find them, and then send the request to the server via plain http.  The authenticators would find the user certificate information they needed in the headers and authenticate the user.  We could use exactly the same mechanism in MarkLogic if we had a generic http header capability.  This would be a huge benefit to our government customers, who tend to rely very heavily on 2-way SSL authentication.
Besides authentication, we could http headers to specify information that might be used by custom transforms--maybe a redaction method for the redaction API, for example, etc via a header.   There are lots of uses for this sort of thing.
As for timing, my thinking is that this would be needed per-request.  If the server is asking to set cookies, perhaps the Transaction class might be the place.   There may be the need to override headers that the Client API may set itself--I'm not sure of all the headers the API sets (likely other customers won't either).  But, when the situation arises where API is doing something (like setting a header) that breaks your application, we should provide a way for skilled developers to alter that behavior.

@tdiepenbrock I'm curious how committed you are to this solution or if we might be able to explore different ways to properly address these use cases.  In general, the Java Client API strives to expose straight-forward functionality while abstracting away the implementation.  Of course no abstraction is perfect, and we'll have to make exceptions.  However, with HTTP/2 fast gaining traction, we're reminded that even widely-accepted foundations like HTTP can be shaken.  So the more we tie ourselves to our current HTTP implementation, the more we'll struggle to change that implementation without deprecating important parts of the API.
Additionally, we're currently replacing our core HTTP library, Jersey, with OkHttp.  This process has made it clear that we exposed too much HTTP functionality as not everything implemented in Jersey (which builds on HttpClient) is available via OkHttp.  Therefore, to make this transition properly we're wrestling with how much implementation and QA burden to take on for work like SSL cert parsing which is not even core to our business.
For the specific scenario of SSL Client Cert auth, I have a few concerns:

The Java Client API talks to REST endpoints which do not offer you access to the headers you may pass to them
We added SSL Cleint Cert auth in 4.0.1 (docs coming soon).  Though that's obviously different because the client is the Java application and the server is MarkLogic.
The scenario you present is one in which the client is a web client and the server is a Java app server, and a load balancer is in front of the app server.  That part doesn't involve the Java Client API which comes in later, when the Java application is ready to send database requests to the backend.  If a load balancer interacts with Java Client API, it is between the application and MarkLogic.  So I can't see how adding header support to the Java Client API would help in such a scenario.

In the short term, we need a way to set generic http headers via the Java Client API. This is important because many of our customers are using enterprise SSO systems where user credential information is returned via HTTP headers. The username and any groups/roles are returned in specific headers for different categories of roles, so we need to be able to transmit this information to the server to use in application-level authentication.

Sorry, I didn't address this part.  This makes sense, since I'm familiar with your current approach.  Would you recommend that other clients take your current approach?  I'm thinking we might want to seek a more accessible path for broad adoption.  Specifically, it makes sense that we need a solution for "application-level authentication" #766 and that solution needs to allow you a way to transmit any groups/roles and potentially other app-specific information as part of the auth request.  Does that sound right?

Ultimately I believe our goal is to support "application-level"
authentication--which I agree is becoming sort of a misnomer--via the Java
Client API.  I see a few needs that are somewhat conflicting that are
complicating the overall issue.  In the list below I say "we" to mean "we
as an organization/development community":

we have a high-priority need to support customers who want to send user
credential information to ML via the Java Client API for use in
application-level authentication.

we want to make a clean, maintainable implementation of this in the Java
Client API that won't be released and then deprecated soon after.

we want better server-side support for application-level authn for the
REST api.

we want to make an overall review of marklogic authn in general,
including the client API's, to make sure we have a cohesive approach across
the server product and the client APIs.

We are replacing the Jersey library, which complicates the client-side
part.

In essence 1) is a near-term need for an official GA release of the API and
the rest are part of a longer-term need to have a smooth integration of all
our different means of authentication/authorization.  That line of
reasoning in our other email threads led us to this idea of providing a raw
header capability in the Java Client API (#767) to meet 1)'s short-term
need, and since it's a handy thing to have in general it seemed to make
sense, though the Jersey issue complicates things somewhat.  Then we would
design/build a more cohesive solution to authn overall as a longer
design/implementation process.
td
Regarding the SSL Client Cert auth, the concern there is that we need to be
able to authenticate
On Fri, Jul 7, 2017 at 11:01 AM, Sam Mefford<EMAIL_ADDRESS>wrote:

In the short term, we need a way to set generic http headers via the Java
Client API. This is important because many of our customers are using
enterprise SSO systems where user credential information is returned via
HTTP headers. The username and any groups/roles are returned in specific
headers for different categories of roles, so we need to be able to
transmit this information to the server to use in application-level
authentication.
Sorry, I didn't address this part. This makes sense, since I'm familiar
with your current approach. Would you recommend that other clients take
your current approach? I'm thinking we might want to seek a more accessible
path for broad adoption. Specifically, it makes sense that we need a
solution for "application-level authentication" #766
https://github.com/marklogic/java-client-api/issues/766 and that
solution needs to allow you a way to transmit any groups/roles and
potentially other app-specific information as part of the auth request.
Does that sound right?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/marklogic/java-client-api/issues/767#issuecomment-313706845,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH7cXTyEyiUck5QqP30iP5ZjD6JTDZi6ks5sLkhNgaJpZM4OQ6LU
.

One small clarification: replacing Jersey doesn't complicate things from a design standpoint.  It's just a use case to teach about the perils of exposing too much tied to the underlying implementation.  The specific case is that we exposed DatabaseClientFactory.SSLHostnameVerifier.ANY, COMMON, and STRICT (based on org.apache.http.conn.ssl.*HostnameVerifier).  The loose docs we had for them left them more or less tied to the vague semantics of the Apache HttpClient implementation.  While they are useful in theory, they introduce a challenge as we move off Apache HttpClient.
In this case of this RFE, the generic underlying implementation under discussion is HTTP.  While that's not likely to change, we're wary of treating the Java Client API as an HTTP pass-thru, especially when the target are our supported REST endpoints.  We need to be thoughtful about whether to expose something like this.  So far we haven't needed to do  it to achieve our goals.

I believe the pressing need for this has gone away.  Please re-open if I'm wrong.


Add go-redis authentication sample

Part of #17384

@chlowell Would it make sense to create a samples directory for this stuff?

What would you hope to improve by placing it somewhere else (not a rhetorical question 😄)? I wrote this to integrate with Go's built-in support for testable examples. Go will compile it as part of testing the library and place it in this section of the package docs. Moving it outside azidentity would break that integration, so I don't see a clear benefit in doing that.

My reasoning is it feels strange to mix source for the library with sample code. I wasn't aware of the testable examples thing you mentioned, so I suppose what you have does make complete sense.
Once this PR merges, do we just need to update the Learn doc I mentioned in the issue?

My reasoning is it feels strange to mix source code for the library with sample code

Ah, yes, I agree it looks odd, especially because azidentity now appears to require go-redis. There are a couple conventions/language subtleties that apply here:

*_test.go files aren't part of a published library i.e., applications can't reference their content
Go recognizes dependencies used only in *_test.go files and installs them only when running tests

Why don't we put this function onto/into Azure.Identity library

I'm wary of doing that for a few reasons:

we'd have to version this API with Redis's connection protocol
I want to see evidence of widespread need before adding API
different Redis clients have different interfaces; I imagine we'd always have some customers who must write adapter code


Godot won't run / failed init dinput: -2147467259

Godot version:
Godot_v3.1-stable_mono_win64
OS/device including version:
Windows 10 / NVidia RTX 2060
Issue description:
Editor won't run, fails with message 'failed init dinput: -2147467259'

Could you run it from cmd.exe with the --verbose option?
Could you also try the non-Mono build to rule out any Mono-specific issue?

The non-Mono version runs. And I got the Mono version to run by copying the folder over to my Dev drive (E) and running it from there. So it wont' run from C drive in Program Files.

CC @neikeq
I guess Windows has specific restrictions on C:\Program Files*\, would it break setting up?

Mono installed to C drive no problem so far.

Is the problem only reproducible when Godot is located somewhere in C:\Program Files*\ and is it only reproducible with the mono builds?

Yes, that's correct.

Can you check if #30820 fixes this issue? If not, can you share the command line output?


Allow BasePlot.marker to have no label

Closes #115

 Default label for markers

not sure what happened with the image hashes, but the resulting files looked good to me so I updated the hashes and merged it to the main branch.
So, if you merge in the latest from main and do the make format then the builds should all pass 👍 thanks!


Getting "404 Not Found"

Got a Laravel 5.2 app.
Used composer require gverschuur/laravel-robotstxt, added Gverschuur\RobotsTxt\RobotsTxtProvider::class to config/app.php
I removed the pre-existing public/robots.txt file.
php artisan route:list shows:
GET|HEAD | robots.txt                                   | robots.txt                     | Gverschuur\RobotsTxt\Controllers\RobotsTxtController@index
But when I try to access the file in the browser on my Homestead box it yields an nginx 404 error, not even the normal Laravel error handler kicks in.
404 Not Found

nginx/1.8.0

Any ideas?

Sorry, but I have zero experience with nginx servers (nor have I tested it on nginx) :(
I have no idea why it throws a 404, it should just hook into the Laravel lifecycle. If you use a regular robots.txt, does it load that one correctly?
Also, apologies for the late reply, I didn't get a notification from github that someone had opened an issue.

Sorry for not messaging back. It turns out that nginx config on Forge have a default setup where robot.txt doesn't pass by the Laravel app. It serves it directly without access logging etc because the file is hit so many times.
I haven't figured out the best way to address that yet. I can remove the line in nginx config, but then I get the extra logging its trying to avoid. Haven't figured out if that's much of an issue. Need to ponder more about this and learn more about nginx. So far I've not customized nginx  which I prefer, as it's less maintenance for me.

Ok, thanks for letting me know. I'll update the readme with this little bit of info.

Many years later I ran into this too when trying to test locally with vagrant (which I assume is setup the same as Forge). Works fine with deployed to Heroku though.


HTTPListener: Implement common gateway detectors

Trick malware into thinking it's on the Internet when it queries common gateway portals (e.g. detect portal.firefox.com)

A related item is #23


source.addMissingImports doesn't work anymore

Type: Bug

Start a javascript/typescript project
I have this in my settings.json

"editor.codeActionsOnSave": {
    "source.fixAll.eslint": "explicit",
    "source.addMissingImports": "explicit",
},

I use a dependency without importing it, save my file but the import is not added anymore. This was working before but I can't tell when it started not to work anymore. Maybe since my last vscode update

VS Code version: Code 1.87.2 (Universal) (863d2581ecda6849923a2118d93a088b0745d9d6, 2024-03-08T15:21:31.043Z)
OS version: Darwin x64 22.5.0
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
9, 10, 10

Memory (System)
32.00GB (1.36GB free)

Process Argv
--disable-extensions --crash-reporter-id 4ca0acda-7f9c-4139-a75a-95b1610d0469

Screen Reader
no

VM
0%

Extensions disabled
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscorecescf:30445987
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:30899288
vscaac:30438847
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
2e7ec940:30992800
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfcontrol:30979541
d34g3935:30971562
fegfb526:30981948
bg6jg535:30979843
ccp2r6:30993542
dsvsc020:30976470
pythonaic:30992952

hi @kasty, I'm unable to reproduce this in the latest stable (1.87.2) or in our nightly insiders build (1.88).
keep in mind that "explicit" means a manual save, either using File -> Save or using CtrlCmd + S.
Can you also double check to see if the import is valid? Try running the quick fix on the error and see if it gives you options to import.

Hi @justschen, thanks for taking time on my issue !
Well yes, my import is valid, the import is suggested while typing, see for "fetchUrl" :

However, the import is not suggested to me on the quick fix and nothing happens when using Cmd + S :

Is it normal that "source.fixMissingImports" is not suggested to me when I edit my settings ?

Thanks !

@kasty I believe this is a typescript issue, and I just created an issue with them to see if they have more info on this! https://github.com/microsoft/TypeScript/issues/57907
the last issue regarding not being suggested - we've know about this for a while and it's in our backlog!

@kasty might check workspace settings.json.  Mine mysteriously was overriding user settings:
"editor.codeActionsOnSave": {
"source.organizeImports": "never"
},

@kasty are you still running into this?


get pubkey from ethereum transaction

In wallet-demo we need to get the pubkey when we do liveTx, this calls function parseBytesTx from ethereum class Scraper.
We can get the pubkey because we know the signature from scraper Get public key of any ethereum account

The signature -> pubkey algorithm is indeed not yet implemented but we should have it.
However, in this particular case the issue is that a scraper transaction result does not contain the signature:
{ blockNumber: '3926442',
  timeStamp: '1551025714',
  hash:
   '0x85aa4bee170b4965b550c9848830ac90e0893be1e795f0d0d82a662bb7013b8b',
  nonce: '463',
  blockHash:
   '0xd5c16d5e625c6d3ee4f6cc7bb7e950717ef6a6e90874daa9b79562b055a88276',
  transactionIndex: '5',
  from: '0x0a65766695a712af41b5cfecaad217b1a11cb22a',
  to: '0x3e6eee4a17f4755249f642573ac968fd5772473b',
  value: '445500',
  gas: '141000',
  gasPrice: '1000000000',
  isError: '0',
  txreceipt_status: '1',
  input:
   '0x6c697665547828292074657374204120302e3134303835323432303733363937303133',
  contractAddress: '',
  cumulativeGasUsed: '486275',
  gasUsed: '23380',
  confirmations: '2' }

Thus we need to call a searchTx for every transaction result in order to get the missing information.

Done in 0.12 branch


BRP UI Mockup: determine UI to edit and delete relationships

come up with a mock up to determine UI to edit and delete relationships. Review potential Mock up with the Birth defects team for approval.
No Dependencies

UI approved by Research coordinators:


Extra space in the terminal when using vertical tab

Does this issue occur when all extensions are disabled?: Yes

VS Code Version:  1.92.2
OS Version:  Version windows11 10.0.22631 Build 22631 (wsl2 Ubutu)

Steps to Reproduce:

set the terminal to vartial then click the kill btn
start a new terminal

I cannot reproduce, so closing


Support asides

Use case: all notebooks will need to execute some code to prepare for the sections/cells that come next. For example, code that runs Mix.install or some imports/requires. We need to support this somehow.
One idea is to mark a section (or multiple) sections as header sections. Those sections are always executed before any other section and their bindings are passed forward to the other ones. Alternatively, we can support header cells but I think marking a whole section is probably closer in intent to how we want folks to design the notebooks.

+1 for "Aside Sections" .  I've been using Livebook for a week or so as my primary way to do exploratory Elixir coding and it's quite frustrating when you just want to test a snippet in a separate cell and it leads to a complete re-evaluation of lots of cells.  BTW: thanks all for this amazing tool!

What about making the sections a nested tree structure? Where the child section gets executed sequentially, after the parent section execution.

Trees are likely more nesting than we need. We want to try something simpler.

My view as a naiive user: the absolute simplest is have all sections be independent.  That was actually how I half expected it to work.  But allowing a section to be marked independent isn't that hard to understand either so that would be great too.  Anyway -- really love this project.  I'm a long-time user of ipython/jupyter notebooks and I have to say that the fact that you can connect livebook to a running node, or situate your node in a mix project, gives livebook a dimension that jupyter does not have. Cheers.

I have another suggestion then: what about just allowing users to put cells straight to the document right below the h1 on #.livemd? Those then could be used as the shared context and all sections could be independent processes that would only copy the evaluation context from there.

So # defines the shared evaluation, ## defines new sections (that gets executed in parallel, on it's own process) and we could introduce ### as subsection (that get executed sequentially, inside the section process), for organization purposes.

The drawback I see on it though is that then we would be forcing some kind of document structure and tying it to it's actual execution. Maybe we would want to decouple the document and its execution strategy somehow, like executing sequentially as we do now by default (as it is the most intuitive way IMO), and defining the execution steps on somekind of markdown configuration headers, something like this:
[
  "Section 1": [:"Section 1.1", :"Section 1.2"]
]
---
# File

## Section 1

``elixir
a = 1
``

## Section 1.1

``elixir
b = a * 2
``

## Section 1.2

``elixir
b = a * 3
``

I have another suggestion then: what about just allowing users to put cells straight to the document right below the h1 on *.livemd? Those then could be used as the shared context and all sections could be independent processes that would only copy the evaluation context from there.

That's actually the model we wanted to go with initially, but in the end we concluded that a more intuitive default behavior is for the sections to be linear (so they can stay small and focused). Also, one important detail is that copying evaluation context (or more specifically bindings) could lead to very inefficient memory usage. For example imagine someone would load 1GB dataset in a shared section, then every other section has the penalty of copying all of that data, so you may even run our of memory (and from the user perspective there's nothing wrong with adding more sections). So we think it's more reasonable to provide linear evaluation by default and be able to create an aside section (branching out), so that only this section copies the evaluation context.
FWIW we did consider multiple approaches, the one with nested headings as well ^^


python312Packages.meilisearch: 0.32.0 -> 0.33.0

Diff: https://github.com/meilisearch/meilisearch-python/compare/refs/tags/v0.32.0...v0.33.0
Changelog: https://github.com/meilisearch/meilisearch-python/releases/tag/v0.33.0

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 362852

x86_64-linux

:white_check_mark: 4 packages built:

python311Packages.meilisearch
python311Packages.meilisearch.dist
python312Packages.meilisearch
python312Packages.meilisearch.dist