[New game]: Typing Game

🎮 Game Request
Game logic and basic description:
The basic idea of the project is that Thre user will be given a type space in which the user will type the sentence displayed.The game will then score the user on the words per minute he/she has written.
Point down the features
Game points:
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

I have requested merge issue #2820 please merge it.This is my first time contributing in GSSOC

/assign

#2822

Hey @Ishan-77 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Link bandwidth visualizations.

Hi,
thanks for grafana-network-weathermap, very much appreciated!
One feature we'd love to see in it is improving visibility of the link bandwidth. We have a somewhat heterogenous network with link speeds ranging from 1Gbps to 100Gbps, so obviously the same percentage of link usage can mean very different data streams for us.
I'm thinking of making faster links appear as thicker arrows, and slower ones as thinner. I suppose the scale could be configured globally, ideally showing up as a separate legend item like the current traffic load color map.
If that's too much, even making link arrow width configurable per link would allow tuning these manually for the most important links.
Is this something you'd be willing to consider and/or review PRs for?

I would be happy to add a per-link configuration option for those that want to change the width.
I wonder how you are thinking a legend might look if there were to be a scale for link sizes? That would definitely be possible to implement though would need to be planned out to work well, especially as if you have 1-100Gbps I would imagine you don't necessarily want a 1:1 correlation in link size, though you are right that there could be a similar interface for the color/load that allows you to section some range of bandwidth into some link width.

Yeah I was thinking of a set of discrete link speed values, much like the current color legend. I think setting the thresholds manually would be fine. If there was automatic scaling I suppose it should be logarithmic by default or something like that but it seems tricky to make that neat.
Maybe something like this:

I've added per-link configuration to be released with v0.3.2. This took a little longer than expected as I had to refactor a bunch of link-related stuff to make this work properly (mainly all the calculations for fitting links next to each other). Since this refactor was the harder part, I am planning to add scaling sizes with v0.3.3.

Representing link bandwidth is doable with arrow thickness.
I'm generating json config file from other sources, making this change didn't take much time.
The only thing missing would be asymetrical bandwidth but... there aren't many of these so it's not really needed.


Fix 1021 poolbuf ptr

Describe the contribution
Use a generic void* as the interface type for the pool buffer pointers.  This reduces the need for local type casting in the apps and makes it generally easier to use.
Fixes #1021
Testing performed
Build and sanity test CFE
Run all unit tests
Expected behavior changes
No impact to behavior.
System(s) tested on
Ubuntu 20.04
Additional context
Note that getting a buffer in one step still requires a type cast, as the interface here is really void**.  However when putting or querying a buffer no cast is needed.  One can also avoid the need to cast if they get a buffer in two steps (i.e. get as void* first, then convert to real type with a simple assignment.
Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.

Real commit is in 3e347e55, need to get a new baseline first to avoid conflicts.
This can be reviewed but it will need a rebase before final merging.

CCB 2020-11-18 APPROVED

@jphickey to rebase so we can include it in this merge cycle

Rebased and ready to go.

CCB 2020-12-02 Minor Cleanup


where can i connect to db?

can i change something about it?

C:\Users\yun\Desktop\NBMiner_Win>nbreporter -n test -h http://<IP_ADDRESS>:8086/
time="2021-11-25T19:44:06+08:00" level=info msg="NBMiner Status Reporter Initiated"
time="2021-11-25T19:44:06+08:00" level=info msg="Using Friendly Name: test"
time="2021-11-25T19:45:06+08:00" level=info msg="Checking Status."
2021/11/25 19:45:09 influxdb2client E! Write error: Post "http://http//<IP_ADDRESS>:8086/:8086/api/v2/write?bucket=miner&org=miner-org&precision=ns": dial tcp: lookup http: no such host
Batch kept for retrying
time="2021-11-25T19:45:09+08:00" level=error msg="Something when wrong while trying to send data to InfluxDB."
time="2021-11-25T19:45:09+08:00" level=error msg="Write error: write failed (attempts 1): Post "http://http//<IP_ADDRESS>:8086/:8086/api/v2/write?bucket=miner&org=miner-org&precision=ns\": dial tcp: lookup http: no such host\n"

the -h flag expect just the host, there are separated flags for setting the protocol (http) and port (8086) .
For instance, to connect to http://<IP_ADDRESS>:8086, just run it with these params:
nbreporter -n test -h <IP_ADDRESS>

You won't need to specify the protocol or the port in this case since http and 8086 are the default values.

Also, you can check all the command options here. :)

something error:
Error: Failed to create organization: unauthorized access.

@grandfatheryun Can you try with the setup command:
influx setup \
      --username miner \
      --password miner-pass \
      --org miner-org \
      --bucket miner \
      --retention 4w \
      -f

can it set at gui?

A UI for InfluxDB? there are other tools for that. You can use Chronograf or Grafana.
I'd recommend Grafana, but for a quick test you can use Chronograf with this command:
docker run --rm --name chronograf -p 8888:8888 chronograf:1.6-alpine --influxdb-url=http://localhost:8086

Just change the localhost with your InfluxDB host, and it should work, then point your browser to http://localhost:8888.
Also, I'm closing this Issue since the initial connection problem was solved. Feel free to open a new one if you need help with something else.


import { version } from '../package.json'

直接获取值报错

import { version } from '../package.json'
Uncaught SyntaxError: import not found: version

使用以下方式可以

/** 读取配置文件中的版本号*/
import pkg from '../package.json';
const version = pkg.version;

This is expected behavior which json module is defalut export (not named export).

import json from '@rollup/plugin-json';

I got it.We maybe should support it in dev(build already support it).


Set accessiblity flag on reflected methods in ReflectionUtils

Prior to this change, attempts to reflectively invoke methods on
protected classes in other modules could fail on JDK9 and above.
Currently, the methods in ReflectionUtils are only used to get and set
properties related to ALPN on SSLEngine instances at runtime. On JDK11,
reflectively invoking the getApplicationProtocol method on
SSLEngineImpl, a protected class, throws an IllegalAccessException.
callGetter swallows this and returns null, causing the client
runtime to ignore whatever protocol was negotiated with ALPN and default
to HTTP/1.1.
This specific reflective access is still illegal and will eventually
break in a future Java release. A proper fix would require creating a
multi-release jar with a dedicated SSLEngine accessor class for JDK9+
that can natively invoke these methods.

@rhernandez35 Great stuff. Thank you. I will happily commit this change-set as is, however, is there a chance you could minimize stylistic changes to the existing classes? Is there is a particular problem with using JUnit rules? If so, can it be fixed consistently across the entire code base with a separate commit?

is there a chance you could minimize stylistic changes to the existing classes?

Yeah, definitely. I hit everything with a round of vim auto-indent for speed after copy-pasting some stuff around, but I'll go back and do the formatting manually so it's consistent.

Is there is a particular problem with using JUnit rules?

For test setup? No. the switch to just using @Before is an artifact from an earlier attempt at writing tests.
I'm not a fan of using rules for validating thrown exceptions. I think it's much safer to explicitly check for them where I expect them to be thrown in code. Otherwise, it's easy to accidentally skip assertions if a call unexpectedly throws the exception we're looking for.

@rhernandez35 Sure thing. All looks good. One last thing. All HttpClient classes use non-static Logger instances including test classes.  Can you keep it non-static for the consistency sake?

@rhernandez35 As far as the use of reflective calls goes, once 5.0 GA is out we can discuss whether or not we want to keep 5.1 branch Java 8 compatible or make Conscrypt TLS provider mandatory for Java 1.8 runtime. This would enable us to get rid of reflective calls altogether.
Are you subscribed to the<EMAIL_ADDRESS>list?

@ok2 Yes, I am.

@rhernandez35 Good. I expect the issue of minimal JRE level to be raised at the dev list before the year end.


Support installation with Homebrew

Installation can be simplified by using Homebrew. The purpose of this issue is to provide a Homebrew formula that tells Homebrew how to install XcodeGen

I would love that! I remember hearing you're not allowed to submit formula's for your own project, so if you could to it, that would be great!

You can add your own repository, called Tap where the definition is. I'm working on the formula but I'm facing some issues with the generated binaries, since it depends on other frameworks that have to be linked once moved to the system directory.

Forget about that, it's exactly what you do here :trollface: https://github.com/yonaskolb/XcodeGen/blob/master/Makefile
Where did you find documentation about that? I always wondered how that can be done.

Yeah one of the guys from YAMS pointed me in the right direction
https://github.com/jpsim/Yams/issues/39
I've been meaning to write a blog post about it, but I think it's supposed to be a solved problem when Swift 4 comes out

I see. I wonder why it only happens with that dependency and not with the other. I feel I'm missing something :/

It's because Yams relies on a C module - libCYaml.dylib

This has already been done:
brew tap yonaskolb/XcodeGen git@github.com:yonaskolb/XcodeGen.git
brew install xcodegen


css styles are not captured correctly

Please make sure you are testing with the latest release of html2canvas.
Old versions are not supported and issues reported for them will be closed.
Please follow the general troubleshooting steps first:

[x] You are using the latest version
[ ] You are testing using the non-minified version of html2canvas and checked any potential issues reported in the console

Bug reports:
Please replace this line with a brief summary of your issue AND if possible an example on jsfiddle.
Specifications:

html2canvas version tested with:
Browser & version:
Operating system:

Did you find the fix to this?

Having this issue using tailwindcss as my ui css package

解决了吗


"az billing invoice list" requires optin

Can you please add link to documentation on how to opt-in to download invoices via azure CLI?
Can there be an command in Azure CLI to opt-in?. It looks like going through UI pages again to opt-in seems like extra work

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

ID: 8866b243-5c18-7e9a-f233-0033d0eb64f9
Version Independent ID: c98a81e3-ec68-5819-4a8f-897043f97371
Content
Content Source
Service: unspecified

Please upgrade latest version of azure cli.


Consider splitting into sub-crates

As of 0.3.0 the crate size is up to 11MB, which is slightly over the crates.io limit.
One option to reduce size is to split into a crate per family, a la stm32-rs, but perhaps keeping this top-level crate which pulls in the required sub-crate as a dependency when the relevant feature is enabled.
Alternatively there might be more space savings to be made in refactoring or sharing duplicated code. To be investigated.

Thankfully now that we don't bundle all of stm32-rs with the crate package (#14) this issue is moot.


fix(varnish-cache-preload): Do not completely fail if a chart cannot be loaded

We do not want to fail if a chart takes a long time to load. It could be
due to factors that we do not control like the availability of the database.
Here, we put a limit of 40s for a chart to load, and if it does not we
issue an error in the console, but the script does not crash.

Should fix #1683


[NameLookup, ASTScope] Fix typo in ASTScope tree creation

Since ASTScope lookup is currently disabled-by-default, this fix won't affect anything unless -enable-astscope-lookup is passed in. This PR fixes a typo in PatternEntryDeclScope::beCurrent that caused needless rebuilding of scopes, and could potentially create problems.

@swift-ci please smoke test and merge


Streams tests are not working in the gradle build

Streams tests are currently disabled in gradle build and when enabled, dependancies are not resolved properly

https://github.com/ballerina-platform/ballerina-lang/pull/14202/


Password expiration doesn't work with SMSOTP

Steps to Reproduce
Create a service provider SAML/OIDC with following sequence of MFA.
1- Basic
2- SMSOTP
3- Password enforcer.
Result
Password enforcer doesn't work after the SMSOTP and it works only after the Basic authenticator.
Affected IS. version - IS-5.7.0

When I analysed the code the password policy authenticator has a logic to execute the only if the last authenticator is a local authenticator[1]. In this case, the smsotp is a federated authenticator that why the authentication failed. I think we should loop for all the previous authenticators and check whether the basic authenticator is in the step.
[1] - https://github.com/wso2-extensions/identity-outbound-auth-passwordPolicy/blob/v1.0.14/component/authenticator/src/main/java/org/wso2/carbon/identity/policy/password/PasswordResetEnforcer.java#L127-L128


Dense(img_gen.get_output_size(), kernel_initializer='he_normal', name='dense2')(x)

keras/examples/image_ocr.py
ValueError: Dimensions must be equal, but are 32 and 28 for 'dense2_1/add' (op: 'Add') with input shapes: [?,32,28], [1,28,1].
Keras==2.1.6

Hi!
This issue isn't related to a bug/enhancement/feature request or other accepted types of issue.
To ask questions, please see the following resources :

https://keras.io/
https://keras.io/#support
https://gitter.im/Keras-io/Lobby

Thanks!
If you think I made a mistake, please re-open this issue.


Is it possible to disable ligatures?

My understanding of this thread is that ligatures are not supported anymore, however I see 🧐 Is it possible to disable them?

Currently supports ligatures.
You can set the font which support ligatures with set guifont.

Ah, I see. Is it possible to disable them? I find ligatures quite confusing 😅

Sorry, I seem to have jumped to the conclusion.
It cannot be disabled at this time, but I think there is an interface to disable on Qt side. I will examine it.

Ah, I see. I'll left this open in case someone else wonders the same, but I found that my font of choice now has a version without ligatures 💜
One more (slightly) related thing: set guifont seems to work if it is declared on init.vim, but not if it is declared on ginit.vim (which is being used by other GUIs for custom settings wrapped by an if block)

Hi
I'm sorry to reply late.

Ah, I see. I'll left this open in case someone else wonders the same, but I found that my font of choice now has a version without ligatures 💜

That's good. Actually, I checked the interface on the Qt side, and found that it seems to be difficult with the current drawing architecture.

One more (slightly) related thing: set guifont seems to work if it is declared on init.vim, but not if it is declared on ginit.vim (which is being used by other GUIs for custom settings wrapped by an if block)

Currently, goneovim does not support configure with ginit.vim. The reason is that there is no need to use it as an application. All the necessary settings can be written in init.vim.
Also, if you have a vimscript that you want to defer after launching the GUI (e.g. To disable a specific setting added by goneovim when the application is launched), you can write a vimscript in setting.toml as the following:
[Editor]
# Note that the vimscript parsing process of goneovim is incomplete, so double quoting is not available now.
GinitVim = '''
  let g:yourvar = buzz
  ...
'''

As I understand it, ginit.vim was provided by neovim-qt to provide a font configuration interface, since early neovim front-end features didn't provide a configuration interface for guifont, etc.
However, in the current neovim front-end interface, they can be configured by init.vim. Of course, one might argue that neovim-qt is the de facto neovim GUI and that, from a compatibility perspective, it should be loaded with ginit.vim.


Add example remote URL for Saucelabs

I ran into not knowing exactly what the URL should be. After checking the Saucelabs docs I found out, might be handy to just have it in here.

@Zowie thank you!


Add post-link.bat for updating loaders.cache (much like post-link.sh)

Checklist

[x] Used a fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Re-render skipped because we still need conda-build=3.18.11 for host prefix replacement.
I haven't confirmed if this works yet, so I'll comment once I've tested it locally when I get a working librsvg build.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Hmmm ...
ninja: fatal: CreateProcess: %1 is not a valid Win32 application.

Hmmm ...
ninja: fatal: CreateProcess: %1 is not a valid Win32 application.

I've narrowed this down to a change in meson: 0.53.2 works, 0.54.0 produces this error.

Aside from the build issue, I've now confirmed locally that this script works as intended to update the cache.

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

requirements: build: meson=0.53.2 must contain a space between the name and the pin, i.e. meson =0.53.2

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Cross-linking to conda-forge/meson-feedstock#30.
Given that bug, this looks good.


DRF JWT without a UserModel

I am getting an error when i try to refresh the token or verify it on the endpoint.
 curl -X POST -H "Content-Type: application/json" -d '{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJvcmlnX2lhdCI6MTUwMDI5OTUyNCwidXNlcl9pZCI6IlMxNjQxNzMiLCJleHAiOjE1MDAzODU5MjR9.mTNn44Xm9lBp1v8WkUrkp3kdYSCsOrqHACa7fVq2qi8"}' http://localhost:8000/api-token-verify/
 {"non_field_errors":["Invalid payload."]}%

I did a print of my payload and here is what I get
{'orig_iat':<PHONE_NUMBER>, 'user_id': u'S164173', 'exp':<PHONE_NUMBER>}
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJvcmlnX2lhdCI6MTUwMDI5OTUyNCwidXNlcl9pZCI6IlMxNjQxNzMiLCJleHAiOjE1MDAzODU5MjR9.mTNn44Xm9lBp1v8WkUrkp3kdYSCsOrqHACa7fVq2qi8

I am not using django's default auth mechanism, my auth works like this,  i pass in a user id to my api endpoint, it verifies it against an external db, and then sends an otp to the client after the verification of the otp i will return the jwt token to authenticate with other api endpoints.
 payload = jwt_payload_handler(client_id)
 token = jwt_encode_handler(payload)
if (result[0] == otp):
                payload = jwt_payload_handler(client_id)
                access_token = jwt_encode_handler(payload)
                print(payload)
                print(access_token)
                return Response({'message': 'Partner Verified',
                                'access_token': access_token},
                                status=status.HTTP_200_OK)

Here is the custom function i implemented based on what was suggested over here https://github.com/GetBlimp/django-rest-framework-jwt/issues/145
from datetime import datetime
from calendar import timegm
from rest_framework_jwt.settings import api_settings

def jwt_payload_handler(client_id):
    """ Custom payload handler
    Token encrypts the dictionary returned by this function, and can be decoded by rest_framework_jwt.utils.jwt_decode_handler
    """
    return {
        'user_id': client_id,
        'exp': datetime.utcnow() + api_settings.JWT_EXPIRATION_DELTA,
        'orig_iat': timegm(
            datetime.utcnow().utctimetuple()
        )
    }

def jwt_response_payload_handler(token, user=None, request=None):
    """ Custom response payload handler.

    This function controlls the custom payload after login or token refresh. This data is returned through the web API.
    """
    return {
        'token': token
    }

Can someone please point out what is happening here and what can i do to make it work, How can i override the default authentication so that it works without the user model in place and it validates against (say a client_id which exists in my external remote database) ?

@uber1geek did you manage to solve this?

Yes I solved this. Thanks

@uber1geek could you please share some code explaining what was going wrong. I have a similar use case so it might help. Thanks


WaveInEvent blocks thread pool

We've had an issue in our application with thread pool starvation. We found a few places where we were starving the thread pool by queuing long-running, blocking work on it. We fixed our own instances and the problem (mostly) went away.
I was looking at the NAudio source recently for another issue. I noticed that WaveInEvent makes exactly the same mistake we did- firing a long-running, blocking task on the thread pool. See https://theburningmonk.com/2010/03/threading-using-the-threadpool-vs-creating-your-own-threads/, https://blogs.msdn.microsoft.com/vancem/2018/10/16/diagnosing-net-core-threadpool-starvation-with-perfview-why-my-service-is-not-saturating-all-cores-or-seems-to-stall/, https://docs.microsoft.com/en-us/dotnet/standard/threading/the-managed-thread-pool for articles about this. This explains how we were able to starve a four-thread thread pool by blocking only three threads, and why the issue only occurred whilst recording.
I would imagine there are probably other places where the thread pool is starved by NAudio.

Yes, NAudio does use a thread on the threadpool, for WaveInEvent, but you would typically only be using one thread, so threadpool starvation would require quite a lot of other things going on in your application at the same time (probably not a good pattern for handling live audio). But I agree, should probably switch to using Task.Run with TaskCreationOptions.LongRunning in the future

Unfortunately, we are still using .NET 3.5 :( We did have other thread pool starvation issues, just not enough to fully cause a problem.


no such file

Hello,author~ I encountered this problem during running training. I don't know how to solve it. Please help me

Build the evaluator as the README suggests.
cd $RESA_ROOT/runner/evaluator/culane/lane_evaluation
make
cd -


Make Babel major version configurable

Given the following issues popped up in Babel 6:

[Decorators cannot be used with RN 0.16..0-rc] (https://phabricator.babeljs.io/T2645)
[Can't export default class that extends base class] (https://phabricator.babeljs.io/T2694)

The first one being a serious issue as a lot of RN projects out there rely on @autobind decorator (and having to replace with the ugliness that is .bind(this) everywhere is just too much to ask for given that a fix in is the works)
So, I'm wondering if it would be wise to allow the version of Babel used by RN to be configurable (maybe within the range of one major version number e.g. 5.x to 6.x)

I don't think the Babel version will be configurable because Facebook's infra has already moved on and it's like steering a big ship. Babel touches too many things for it to simply be a matter of changing the version number in package.json.
The decorators are a big issue. I'm going to work on it myself since the ecosystem needs something out there, but would appreciate help from someone who's written Babel plugins before.

@sebmck @loganfsmyth FYI
That would be great @ide
Will be posting all future feature requests to ProductPains.


API: POST Company Certificates

Summary
POST Company Certificate
the implementation of this ticket depends on https://github.com/eclipse-tractusx/portal-backend/issues/471

Detail
Suggested API Endpoint: POST /api/administration/companydata/companyCertificate/{certificateId}/document
Request Parameter:

media file
certificate type
expiry date (format: yyyy-mm-dd)

Only PDF is allowed and up to 2MB file size

With the file upload, following steps will get executed:

document is getting stored inside the documents table
** id: new given uuid
** date_created: upload timestamp
** document_hash: document hash
** document_name: name of the document file
** document_type_id: always id "15"
** document_status_id: always "locked"
** company_user_id: user uploaded the file
** media_type_id: media type given by the file
** date_last_changed: upload timestamp
** last_editor_id: user uploaded the file
company_certificate table is getting filled and new uploaded document_id is added
** valid from date is set with the current timestamp
** type: depending on the type submitted
** expiry date: handed over by FE or null

Validation:

Acting user must have the role „upload_certificates“ assigned

Related Tickets

DB Changes to enable the feature: https://github.com/eclipse-tractusx/portal-backend/issues/471
FrontEnd-Implementation Ticket: CPLP-3662
Backend API Development CPLP-3655, CPLP-3656

Components: N/A
Sprints:  PI 12 - S1 - CPLP
Fix Versions: N/A
StoryPoints: N/A
Attachments: CPLP-3657-image-2023-12-27-13-15-51-660.png, CPLP-3657-image-2023-12-27-13-37-47-123.png

https://github.com/eclipse-tractusx/portal-cd/pull/174

Not sure if I understand the ticket correctly, so I summarise my understanding:
The endpoint should provide the possibility to create a company certificate while uploading a document at the same time.
@jjeroch correct?
Then we should remove the certificateId from the url since we're creating the certificate and therefore no id is available.
If the ticket should only upload the document the description needs some updates

@Phil91 right - the endpoint is used to create the company certificate record in the portal db and automatically also stores the document itself inside the document table.
The certificateID is probably a wrong naming from my side - what I wanna state here is the certificate type:

or would you add this inside the POST endpoint?

ok I understood - we have the company certificate type in the body so we can change the
Endpoint Path
from: POST /api/administration/companydata/companyCertificate/{certificateId}/document
to: POST /api/administration/companydata/companyCertificate

successfully tested on the rc environment

@AnuragNagpure can you please recheck the implementation.
As per the description the document is supposed to get uploaded in status: document_status_id: "locked"
Can you please recheck this once and in case this is not yet implemented please raise a pr against the dev branch

@AnuragNagpure  is the comment above already solved?

@jjeroch  No it needs to merge as #462 and #463 merging is pending after this that changes will get merged.


*ArraySet classes should implement SequencedSet

One of the new interfaces for collections introduced in java 21 is the SequencedSet interface which is used for Set implementations whose elements follow a defined order (For example, LinkedHashSet is a SequencedSet).
Considering *ArraySet classes also have strictly defined ordering of their elements due to being array backed, they should implement SequencedSet in java 21 and above.

Yep but we're still at Java 9. NavigableSet world be a better candidate. Also, ArrayMap does not guarantee any iteration order (try to delete an element).


Experimental update

Overview: What does this pull request change?
This PR brings the experimental changes up-to-date with v0.17.3 and attempts to separate the Renderer specific logic from Scene and Mobject.
Of particular interest is the Renderer ABC and the RendererData classes.
This PR is still a work in progress.
TODO:

Remove OpenGLMobject/OpenGLVMobject
Render a black screen
Render a drawable with OpenGL/Cairo
Interactivity
???

utils:646 setting frame_height to 8 therefore frame_shape becomes (14.2222,8)

utils:646 setting frame_height to 8 therefore frame_shape becomes (14.2222,8)

might be OOTL on this particular comment, but in case we are thinking of changing the default, I'd very much be in favor of setting frame_height to 9. A scene resolution of 16:9 would be nice. 🥲

https://registry.khronos.org/OpenGL-Refpages/gl4/html/gl_FragDepth.xhtml
Can be used for emulating z_index without sorting and ensuring the stroke is drawn in front of the fill

Basic rendering works now
Next steps:

Rendering Submobjects
Abstracting Rendering

Newest state suports fully featured 3D rendering and transparency without z fighting or any other artifacts

https://github.com/ManimCommunity/manim/assets/17803932/eb5aff9e-3a44-4a22-903e-2cddf457e43e

TODO: There is a bug when you create another circle and set the opacity with set_opacity then the green square will change opacity


VEGA-1886 subtype should be 'pfa' and not 'pf' #patch

Codecov Report
Patch and project coverage have no change.

Comparison is base (3c1d947) 85.10% compared to head (1073dbe) 85.10%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #337   +/-   ##
=======================================
  Coverage   85.10%   85.10%
=======================================
  Files          35       35
  Lines        1296     1296
=======================================
  Hits         1103     1103
  Misses        131      131
  Partials       62       62

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Protobuf.Encoder not available on production

We included exprotobuf in our production application. After deploying release to staging, encoding does not work in staging environment. We get following error:
** (UndefinedFunctionError) undefined function: Protobuf.Encoder.encode/2 (module Protobuf.Encoder is not available)
Exprotobuf has been added as an application in mix. Currently we inverstigate the issue.

We tracked down the issue to the following to reasons:

Error above was a result of not having exprotobuf in the apps. Our builds were not correctly started, so we thought that it is already added. It was not on the working version.
Gpb needs to be added to exprotobuf applications. It will be extremely small merge request.

Closed via #34

Also released in 0.13.0


Out-dated walkdir module causing issues on Windows

Walkdir had a bug prior to it's 0.0.10 version that didn't properly detect when multiple files on Windows contained the same inode, which would cause it not to walk those files.  I'm suffering from this bug during the /__api__/appzip call.  The zip file that is going to my phone is missing files because walkdir is skipping them during the zip process.
ref: https://github.com/soldair/node-walkdir/pull/22

I have updated the version of walkdir to handle this. Thanks for pointing out this issue to us @mattzuba!
https://github.com/phonegap/connect-phonegap/commit/0e7433ab60ebf1ced61a5df0b9b4680cb136bc7b


[v0.5.0]  binds string value

Describe the bug
Passing [type="number"] to a shadcn input does't appear to cast the value to a number.
Reproduction
On latest shadcn-svelte, superforms, and formsnap:
<script lang="ts">
  import { superForm } from 'sveltekit-superforms';
  import * as Form from '$lib/components/ui/form';
  import { Input } from '$lib/components/ui/input';

  const form = superForm(data.form, {
	onError: 'apply',
	dataType: 'json',
	async onSubmit({ formData }) {
		const token = await window.grecaptcha?.execute(PUBLIC_RECAPTCHA_KEY, { action: 'submit' });
		formData.set('token', token);
	}
});
  const { form: formData, enhance } = form;
</script>

<Form.Field {form} name="ownerSalary">
	<Form.Control let:attrs>
		<Form.Label>Annual Salary</Form.Label>
		<Input {...attrs} type="number" min={0} step={0.01} bind:value={$formData.ownerSalary} />
	</Form.Control>
	<Form.FieldErrors />
</Form.Field>

input.svelte
<script lang="ts">
	import type { HTMLInputAttributes } from 'svelte/elements';
	import { cn } from '$lib/utils';
	import type { InputEvents } from '.';

	type $$Props = HTMLInputAttributes;
	type $$Events = InputEvents;

	let className: $$Props['class'] = undefined;
	export let value: $$Props['value'] = undefined;
	export { className as class };
</script>

<input
	class={cn(
		'flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 sm:text-sm',
		className
	)}
	bind:value
	on:blur
	on:change
	on:click
	on:focus
	on:focusin
	on:focusout
	on:keydown
	on:keypress
	on:keyup
	on:mouseover
	on:mouseenter
	on:mouseleave
	on:paste
	on:input
	{...$$restProps}
/>

schema
ownerSalary: z.number({ coerce: true }).min(0),

Logs
No response
System Info
System:
    OS: macOS 14.3.1
    CPU: (16) arm64 Apple M3 Max
    Memory: 4.73 GB / 48.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.19.1 - ~/.nvm/versions/node/v18.19.1/bin/node
    npm: 10.2.4 - ~/.nvm/versions/node/v18.19.1/bin/npm
    bun: 1.0.28 - ~/.bun/bin/bun
  Browsers:
    Chrome: 121.0.6167.184
    Safari: 17.3.1
  npmPackages:
    @sveltejs/kit: ^2.0.0 => 2.5.0
    formsnap: ^0.5.0 => 0.5.0
    svelte: ^4.2.0 => 4.2.11
    sveltekit-superforms: ^2.4.0 => 2.4.0
    zod: ^3.22.4 => 3.22.4

Severity
blocking an upgrade

Hi;
I might be wrong, but could this be related to these:

https://github.com/sveltejs/svelte/issues/10256

This is a limitation of the more static runtime in Svelte 4 and will work as expected in Svelte 5

Workaround? https://github.com/huntabyte/shadcn-svelte/issues/574

@shyakadavis would be correct on this one.
Unfortunately, you can't expose the type prop when the value is being bound. You'd have to create separate input components for each type. The workaround provided is what I've determined to be the best solution atm.

I guess the part I found confusing is that this worked in Formsnap 0.4.0

Ah, I see!
We were using change handlers and such under the hood to modify the value vs binding, which is why you couldn't bind to the value of the input which appeared to be a worse problem for people.
Coercion at the schema level is the best bet at the moment, or you could create a separate NumberInput component with the type hard-coded as "number" which would address the issue:
https://svelte.dev/repl/86b3859386dc4044a4c2d06e18f21ca8?version=4.2.11


Reordering initialization methods #1912

Fixes for for #1912 and #1805

Looks good. Thanks.

Hey dude, thanks!
I'll be taking a look at this soon.

Looks good.


Cannot find color scheme on windows

Hello,
My config works completely fine on Linux, however, on windows, it can't seem to find the color scheme.

Any idea on how to resolve this?
Thank you, my config:
set nocompatible              " be iMproved, required
filetype off                  " required

" Syntax highlighting on
syntax on
set t_Co=256
" Cursor line on
set cursorline

set rtp+=C:/Users/Yuhanun\ Citgez/.vim/bundle/Vundle.vim

call vundle#begin()

" Package manager
Plugin 'VundleVim/Vundle.vim'

" Theme
Plugin 'sonph/onehalf', {'rtp': 'vim/'}

" Another theme
Plugin 'arzg/vim-colors-xcode'

" Directory tree
Plugin 'preservim/nerdtree'

" Real-time syntax analysis for C++
Plugin 'vim-syntastic/syntastic'

" Snippet engine.

Oh turns out it's all colour schemes.
However, do you have any idea on how to resolve this?

I’ve never used Vundle, so I can’t really give you any advice on that front. However, I can recommend you use Vim’s package feature or vim-plug if you want something easy to set up.
Here is what your current vimrc would look like with vim-plug:
" Cursor line on
set cursorline

call plug#begin('~/.vim/plugged')

" Theme
Plug 'sonph/onehalf'

" Another theme
Plug 'arzg/vim-colors-xcode'

" Directory tree
Plug 'preservim/nerdtree'

" Real-time syntax analysis for C++
Plug 'vim-syntastic/syntastic'

" Snippet engine.


support mock of scoped modules

Do you want to request a feature or report a bug?
bug, while using ES6 modules and babelrc.
What is the current behavior?
my scoped package in node_modules is not mocked using :
    jest.mock('@my-scope/module-name', () => ({
      example: jest.fn(),
    }));

What is the expected behavior?
the module will be mocked
Please provide your exact Jest configuration and mention your Jest, node, yarn/npm version and operating system.
node - v8.4.0
npm - 5.2.0
jest - 21.2.0
OS - macOS
{
  "transform": {
    "^.+\\.js$": "babel-jest"
  },
  "collectCoverageFrom": ["src/**/*.{js}"],
  "setupTestFrameworkScriptFile": "./node_modules/jest-enzyme/lib/index.js",
  "unmockedModulePathPatterns": [
    "<rootDir>/node_modules/react",
    "<rootDir>/node_modules/react-dom"
  ]
}

Mocking scoped deps definitely works, I do it quite extensively in projects at work.
Do you have a full repro instead of an example snippet?

is there a chance that since it's symlinked lib (using lerna) it affects the mocking somehow?

Perhaps. There was a fix merged yesterday for symlinks (#4761), so you can try<EMAIL_ADDRESS>and see if it fixes your problem?

I tried, though it is still using the original module instead of the mocked one.
Also that issue seems irrelevant to mine.

Please provide a repro. Note that this is not a help forum

I Could not make symlink + scoped modules work. I ended up using mocks folder to mock the module for now.

@SimenB same here. When using Lerna with symlinked packages I must use the __mocks__ directory as described here https://facebook.github.io/jest/docs/en/manual-mocks.html#mocking-node-modules

I'm getting this error just including any scoped module, regardless of whether I am mocking anything.


Add new monitoring for requested tests and submitted meta values

The current legacy implementation does not include active sfw and mid tests. When a client requests specific test types, the server may optionally return only the supported tests that the client ought to respect.
This change adds monitoring to observe how often we have clients requesting the sfw and mid tests.
As well, this change removes options from the PLAIN,TLV and PLAIN,JSON test clients where unnecessary and where necessary document the reason.

This change is

Pull Request Test Coverage Report for Build 722

12 of 12 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 73.312%

Totals

Change from base Build 717:
0.1%

Covered Lines:
1401

Relevant Lines:
1911

💛  - Coveralls


Benchmarks are lapsed

Could you please update or give me the url of the benchmarks? Thank you very much!

I don't want to take the responsibility to maintain third-party benchmarks.


My requests are empty

My requests are empty.

the approve request screen is not:

Only two users are testing here and i'm one of them and should be able to see my own requests

related to issue #160 . Will reopen if this does not resolve the issue


FTBFS with gcc-14

see https://bugs.debian.org/1075369

hopefully fixed by https://github.com/porres/pd-cyclone/commit/22f40dafcecb0deca8d38f17bec1d10654ce6f35
please confirm

I think this also fixes https://github.com/porres/pd-cyclone/commit/694caf4a5dd164f1f8711b7de96a58f4992a8e0b please confirm

the problems with bitand/bitor/bitxor are fixed
the problem with cybuf has not been fixed (or rather: fixed wrongly). the correct fix would be to use t_word** vectors (also note the cast in the getbytes cast)

please confirm that https://github.com/porres/pd-cyclone/commit/2b2464a45400f72aa5db28fbd1dbe7bf57a2e68e actually solves this

i can confirm that the build now succeeds.
you probably should still remove the cast in https://github.com/porres/pd-cyclone/blob/2b2464a45400f72aa5db28fbd1dbe7bf57a2e68e/shared/signal/cybuf.c#L290
diff --git a/shared/signal/cybuf.c b/shared/signal/cybuf.c
index e5769d8b..0d993e17 100644
--- a/shared/signal/cybuf.c
+++ b/shared/signal/cybuf.c
@@ -287,7 +287,7 @@ void *cybuf_init(t_class *owner, t_symbol *bufname, int numchans, int singlemode
     c->c_single = singlemode;
     c->c_owner = owner;
     c->c_npts = 0;
-    c->c_vectors = (t_word**)vectors;
+    c->c_vectors = vectors;
     c->c_channames = channames;
     c->c_disabled = 0;
     c->c_playable = 0;

a pointer cast will of course shut up any compiler-warnings, but it is also a good way to shoot yourself in the knee (as the compiler is actually warning you of some inconsistencies).
in general it is better to fix the code that triggers a warning that just silence the warning.
(as of 2b2464a45400f72aa5db28fbd1dbe7bf57a2e68e, the type of vectors is t_word**, so everything is good. but if you ever change the type of vectors again (for whatever reasons), the cast in line 290 would prevent a warnings, which is bad)


account in use

Help me im getting account in use. i enalbed CORS aswell help

Account in Use means something is logged onto your account already. This isn't a CORS issue. Misconfigured CORS would result in an error before Account in Use. The specific error you're reporting is a server-side issue which we can't really touch.


gh-pages: specification version lists on landing page

Part of #3576

[x] List of Arazzo and OpenAPI Specification versions on landing page
[x] Fix warnings for some registry entries
[x] Fix error for broken RSS feed - do we want an RSS feed?

This is a preview of the adapted landing page: https://ralfhandl.github.io/OpenAPI-Specification/
This is a preview of the RSS feed: https://ralfhandl.github.io/OpenAPI-Specification/rss/feed.xml

@ralfhandl it looks like you've made quite a few changes compared to the linked preview- could you please post a new rendering?

a new rendering

The index.html on https://ralfhandl.github.io/OpenAPI-Specification/ is produced by the same code as in this PR. Only difference is that my gh-pages already hosts 3.0.4 and 3.1.1, so they are also listed on the landing page.


Upgrade to Scala 2.12.7

Follow up of https://github.com/scalameta/scalameta/pull/1771.
Fixes #1781
Updates the latest Scala 2.12 version to the current staging candidate. Keeps the hack in 240b36a to aid further upgrades in the future.

The ci-slow test failure is expected since scala-library for the current scalaVersion needs to be available on GitHub releases to run the full integration tests.

Scala.js has upgraded now so we should be good 👍


Can't build library on linux

I am running Garuda Linux
I git clone the repository run cmake/automake as in the tutorial and i get compile errors after I run make.
Consolidate compiler generated dependencies of target ds
[  0%] Building C object deps/ds/CMakeFiles/ds.dir/src/util.c.o
/home/snake/Desktop/AssetKit/deps/ds/src/util.c: In function ‘ds_print_i64’:
/home/snake/Desktop/AssetKit/deps/ds/src/util.c:122:16: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘int64_t’ {aka ‘long int’} [-Werror=format=]
122 |   printf("\t%llu\n", *(int64_t *)key);
|             ~~~^     ~~~~~~~~~~~~~~~
|                |     |
|                |     int64_t {aka long int}
|                long long unsigned int
|             %lu
/home/snake/Desktop/AssetKit/deps/ds/src/util.c: In function ‘ds_print_ui64’:
/home/snake/Desktop/AssetKit/deps/ds/src/util.c:128:16: error: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Werror=format=]
128 |   printf("\t%llu\n", *(uint64_t *)key);
|             ~~~^     ~~~~~~~~~~~~~~~~
|                |     |
|                |     uint64_t {aka long unsigned int}
|                long long unsigned int
|             %lu
cc1: all warnings being treated as errors
make[2]: *** [deps/ds/CMakeFiles/ds.dir/build.make:104: deps/ds/CMakeFiles/ds.dir/src/util.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:672: deps/ds/CMakeFiles/ds.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

If I try to hand fix these errors, a bunch of errors pop up, not just warning, but errors like AK_INLINE, AkFloat3 etc.

This what happends when i build using autotools
╭─snake@snake in repo: AssetKit on  master [!?] via △ v3.21.3 took 3s
╰─λ make
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh '/home/snake/Desktop/AssetKit/missing' autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
make  all-am
make[1]: Entering directory '/home/snake/Desktop/AssetKit'
CC       src/assetkit.lo
In file included from src/../include/ak/assetkit.h:499,
from src/assetkit.c:17:
src/../include/ak/transform.h:33:3: error: size of array element is not a multiple of its alignment
33 |   AkFloat3     val[3];
|   ^~~~~~~~
In file included from src/io/gltf/common.h:23,
from src/io/gltf/gltf.h:20,
from src/assetkit.c:21:
src/io/gltf/../../tree.h:28:14: warning: ‘visibility’ attribute ignored on non-class types [-Wattributes]
28 |              xml_t  * __restrict xml);
|              ^~~~~
In file included from src/io/stl/stl.h:20,
from src/assetkit.c:23:
src/io/stl/common.h:42: warning: "SKIP_SPACES" redefined
42 | #define SKIP_SPACES                                                           \
|
In file included from src/io/obj/obj.h:20,
from src/assetkit.c:22:
src/io/obj/common.h:81: note: this is the location of the previous definition
81 | #define SKIP_SPACES                                                           \
|
make[1]: *** [makefile:1826: src/assetkit.lo] Error 1
make[1]: Leaving directory '/home/snake/Desktop/AssetKit'
make: *** [makefile:971: all] Error 2

I am building with gcc (GCC) 11.1.0

Hello @eLeCtrOssSnake ,
I was working on morph targets, I'm updating the design; I'll check build file asap ;)

Thank you for your reply @recp. I am looking forward to use this library, because assimp didn't really work well, mostly because it's C++(as I am writing in C) and it is very slow at linking process when I am building my project.
I will be checking up on this quite frequently so you can ask me for help if needed.

I will be checking up on this quite frequently so you can ask me for help if needed.

I'll try to be fast as possible then 🤗
AssetKit will try to be fast as possible and try to support all formats' features as it can be with single interface.
I'll try my best to complete unfinished parts, including build, I'll let you know here.

Any updates?

Okay, so the problem is that you assume if _MSC_VER is not defined that it's linux. That's what prevents it from building on windows under mingw because mingw obviously uses WinAPI(although there is msys but it's hacky, why if we already have WinAPI versions). So it would be better to check against linux define rather then msvc compiler version.
There's only one place where it warns about attribute being incorrect due to config is in ds_def_alc(). If you remove that attribute (and choose correct attributes ones for mingw and not dllimport) then it will build perfectly fine.

Thanks for that. I'll try to fix testing against msvc/mingw (_MSC_VER) later if this is the problem but any help would be appreciated ;)

Successfully builds on linux.

Great! Sice the library is new bugs may occour; I'll try to fix them (letting me know will make the process quicker I guess) and update documentation asap/time by time...

Just created a PR: https://github.com/recp/AssetKit/pull/29
@eLeCtrOssSnake can you review and re-build the PR on mingw?

Ye, on it now @recp.

I'm not sure if the attributes work on mingw too:
#  define AK_ALIGN(X) __attribute((aligned(X)))
#  define AK_INLINE   static inline __attribute((always_inline))

it may expect msvc style instead of gcc I don't know.

I'll check it, ye it's kinda counter-intuitive.

Many thanks

I am pretty confident to say that MinGW supports both __forceinline(defined as extern __inline__ __attribute__((__always__inline__, __gnu_inline__)) and __attribute((aligned(X))), but I am pretty sure MinGW supports msvc style atributes as it has it's own defs as gcc style attributes.

I'm confused about what to do, but it seems we can leave these attributes as they are.
Did build succeded on mingw with that PR?

Resolved at: https://github.com/recp/AssetKit/pull/29
@eLeCtrOssSnake many thanks...


Unable to parse classes - package:unlocked:create

Describe the bug
------------------------------------------------------------------------------------------
sfpowerscripts  -- The DX@Scale CI/CD Orchestrator -Version:5.1.0 -Release:February 23
------------------------------------------------------------------------------------------
command: create  package
package name: common
package type: source
package directory: ./src/common
------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------
Unable to parse these classes to correctly identify test classes, Its not your issue, its ours!Please raise a issue in our repo!
Following apex test classes were identified

 Class                  Error
 fflib_SharingMode      {"message":"Unknown Apex Type"}
 fflib_Operator         {"message":"Unknown Apex Type"}
 fflib_AppBindingType   {"message":"Unknown Apex Type"}

Created unlocked package common

common package created in 00:00:00.011
-- Package Details:--
-- Package Version Number:         <IP_ADDRESS>
-- Apex In Package:              Yes
-- Profiles In Package:          No
-- Metadata Count:          228
Artifact Generation Completed for source to /Users/sfdc/artifacts/common_sfpowerscripts_artifact_1.0.0-1.zip

Output variables:
sfpowerscripts_artifact_directory=/Users/jan/sfdc/artifacts/common_sfpowerscripts_artifact_1.0.0-1.zip

To Reproduce
Steps to reproduce the behavior:
Create a folder "common" in src and drop in:

fflib-common
fflib-extensions
fflib-mocks

run sfp package:unlocked:create -v devhub --package common
Expected behavior
A clear and concise description of what you expected to happen.
Should create the package
Screenshots
If applicable, add screenshots to help explain your problem.

Platform Details (please complete the following information):

OS:  MacOS
Version [e.g. CLI Version  eg: 1.6.6] @dxatscale/sfp-cli/5.1.0 darwin-arm64 node-v18.17.0
Salesforce CLI(sfdx cli) Version: sfdx-cli/7.209.6 darwin-x64 node-v18.15.0
CI Platform: Local

Additional context
Add any other context about the problem here.

@JAertgeerts  can you dm with the apex classes

@JAertgeerts  As discussed, I am closing this issue for now?


Lazy

I am so sick of functionality missing from the GUI. I am neurodivergent and your insistence of using the command line is a huge imposition and makes using your platform extremely frustrating. I would appreciate of the company known for GUI development actually made all features and configurations available in the frikken GUI!
I've been using Azure from the very beginning and am so annoyed and frustrated that there's no consideration whatsoever for people like me.

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

ID: be0f8b60-2b47-c2a1-c17b-10da8ff1c7b6
Version Independent ID: b29e83f0-3b35-2179-fb55-61426073f229
Content: Tutorial: Create an Azure Files storage mount in Azure Container Apps
Content Source: articles/container-apps/storage-mounts-azure-files.md
Service: container-apps
GitHub Login: @craigshoemaker
Microsoft Alias: cshoe

@Techknowledgeman
Thanks for your feedback! We will investigate and update as appropriate.

Hello @Techknowledgeman - Thank you for sharing your feedback! Since your feedback is more toward the Azure Container Apps product and the way it is serviced, please consider submitting an idea on our Feedback portal instead: https://feedback.azure.com/d365community That way, we're able to connect you with the right team, and address your feedback accordingly with the concerning product teams.
Because this channel is for driving improvements toward MS Docs and we didn't determine any changes to this particular documentation upon reviewing this feedback, we will now proceed to close this thread for now. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.

Well that's a lazy approach! Proves my point and it applies to the entire platform. I raised this when you first started to get lazy.
@norgan

From: Mike Urnun @.>
Sent: Tuesday, December 20, 2022 12:08:07 PM
To: MicrosoftDocs/azure-docs @.>
Cc: Authentication @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Lazy (Issue #102683)
Closed #102683https://github.com/MicrosoftDocs/azure-docs/issues/102683 as completed.
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/102683#event-8074094429, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASVV3YMEZFHD5Z6RDKWAF33WOEBHPANCNFSM6AAAAAAS6AL2OQ.
You are receiving this because you were mentioned.Message ID: @.***>

So why don't you do it since I'm not paid to fix your problems. You are expecting my to tax my limited executive function to make up for your laziness or ineptitude.
I've given my feedback, please make sure it gets to the right person.
@norgan

From: Mike Urnun @.>
Sent: Tuesday, December 20, 2022 12:35:13 PM
To: MicrosoftDocs/azure-docs @.>
Cc: Nathan Organ @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Lazy (Issue #102683)
Hello @Techknowledgemanhttps://github.com/Techknowledgeman - Thank you for sharing your feedback! Since your feedback is more toward the Azure Container Apps product and the way it is serviced, please consider submitting an idea on our Feedback portal instead: https://feedback.azure.com/d365community That way, we're able to connect you with the right team, and address your feedback accordingly with the concerning product teams.
Because this channel is for driving improvements toward MS Docs and we didn't determine any changes to this particular documentation upon reviewing this feedback, we will now proceed to close this thread for now. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/102683#issuecomment-1358698849, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAIJYKLMNI6NR5E7QAJH72DWOEENDANCNFSM6AAAAAAS6AL2OQ.
You are receiving this because you were mentioned.Message ID: @.***>


[Python] Improve conversions and usage of gepetto-gui API.

all the conversions you have proposed are well exposed.

You mean a Python unit tests ?

Yes.

Sounds good to me. I will merge it now.


LineGauge: gauge_style is confusing

Right now the LineGauge::gauge_style.bg is actually applied to the foreground of the filled part of the line.
This is rather confusing, I would suggest using two different styles (e.g. filled_style, empty_style) for the two parts. This also enables to use different background colors, which are currently always None.
https://github.com/ratatui-org/ratatui/blob/61533712be57f3921217a905618b319975f90330/src/widgets/gauge.rs#L276-L287

@Fabus1184 Thanks. I think I agree on this idea. We'd need to keep in mind older apps for this and maintain compatibility, but it's a reasonable request.

Hi all!
I wanted to start contributing to this repo and I opened up a PR that I think solves this issue. I'd love to hear your feedback 😊

Hi @TieWay59 , You can find a screenshot in my PR or would you like to see some other screenshot? Please note that it's still a "work in progress"

This issue is solved by #565. @Fabus1184 do you feel ready to close it or is something still not implemented?


fixed linux_nocuda build issue

IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).
Fixes #196
Description
built fix-vcpkg-json.sh which is equivalent of fix-vcpkg-json.ps1, which will resolve linux_nocuda build issue
Alternative(s) considered
no
Type
Type Choose one: (Bug fix | Feature | Documentation | Testing | Other)
Screenshots (if applicable)
Checklist

[x] I have read the Contribution Guidelines
[x] I have written Unit Tests
[x] I have discussed my proposed solution with code owners in the linked issue(s) and we have agreed upon the general approach

This change is not required... we want to be maintaining cuda and nocuda builds into different folders


find combinations of lowerResults if inRangeResults is empty...

https://github.com/phentnil/factor-calculator/blob/715e5881b72534456558cb70105ec23fdbcef194/app.js#L65-L65

In some cases, the algorithm will not find a result within 10% but several partial results should be combined to find a solution within ±10%. Only in rare cases that a combination can't be found should the closest partial solutions be displayed.


how to group 2 or more outputs in gluon just like sym.Group()

def hybrid_forward(self, F, x):
        x = x.astype(np.float32) - 127.5
        x = x * 0.0078125
        fc1 = self.features(x)
        if self.get_feature:
            return fc1
        else:
            # fc1_norm = F.sqrt(F.sum(F.square(fc1), axis=1)).reshape((-1, 1))
            # fc1_normalize = F.broadcast_div(fc1, fc1_norm+1e-6)
            fc1_norm = F.L2Normalization(fc1, mode="instance")
            return [fc1_norm,self.output(fc1_norm)]

for example, I want to group 2 outputs, and then split them in loss, how could I do it?  just return a list can not work, it will encounter error in Loss, since forward need symbol or ndarray
@piiswrong

I can do it in an ugly way...use F.concat, and then slice it

returning a list should work. What's error?

the error is "HybridBlock input must be (nested) list of Symbol or NDArray, "
"but got %s of type %s"
I want to pass fc1_norm and output to my custom loss, since my loss need these two, is it possible?

You are using imperative code in the hybrid block. Either you need to move it to make it static code (or code with fixed loop) or not hybridize the loss. In the later case, returning as a list and retrieving the proper value from it should work.

@orchidmajumder Thanks, get your point


Really simple issue.....

I preface this  by saying I am a layman with anything like this.
But really would like to get this working as a discord bot.
System: Windows 10 pro
Issue: The initial steps.
This is probably an issue with my understanding more than anything.
I have downloaded all the bot files the .json etc.
I have also downloaded dfrotz from the website as instructed as a windows user.
I am then stuck on the next sentence:
"All you have to do is add the dfrotz.exe file to your PATH and you will be good to go!"
I have no idea what to do next, pretty much, and as a layman, don't understand what I have to do.
Do I have to open a cmd prompt in windows and execute something from there?
The dfrotz.exe does not seem to do anything when clicked on....a brief window....then nothing.
So clearly, I am not understanding the instruction.
Apologies for being a bit of a dunce.
Regards

In general, the instructions provided by the Java documentation (link) are pretty good for configuring your path. If you're not familiar with the PATH, here is a link to some information on it.
You want to edit the PATH such that you add to the end of the PATH a new directory that matches the directory that contains dfrotz.exe in it. It should be the complete path, ie. it should start with C:\, or whatever your top level drive is named (ex: D:\Users\foobar\frotz\).

Hi Ivan,
Thanks for the information. I managed to get a bit further in the guide.
As I said....I am pretty much a noob, layman when it comes to this. But I am really intrigued by the idea of running a text based adventure game in discord.
I have added a path to dfrotz.
I have also created the requisite bot in discord and got the token code.
I have downloaded your files to a directory on my Pc.
npm node.js is also installed....
But, due to my lack of knowledge, I am stumped on this next part.
using cmd prompt I have gone to the directory of the code.
I then use the command
npm install
All looked to be going well until:
E:\Media Projects\Bot Testing\discord-text-adventure-bot-master>npm install
npm WARN tar ENOENT: no such file or directory, open 'E:\Media Projects\Bot Testing\discord-text-adventure-bot-master\node_modules.staging\rxjs-cbcb3a32_esm2015\fetch\index.js'
npm WARN tar ENOENT: no such file or directory, open 'E:\Media Projects\Bot Testing\discord-text-adventure-bot-master\node_modules.staging\rxjs-cbcb3a32_esm2015\fetch\index.js.map'
npm WARN tar ENOENT: no such file or directory, open 'E:\Media Projects\Bot Testing\discord-text-adventure-bot-master\node_modules.staging\diff-468dd747\lib\util\array.js'
npm WARN tar ENOENT: no such file or directory, open 'E:\Media Projects\Bot Testing\discord-text-adventure-bot-master\node_modules.staging\diff-468dd747\lib\util\distance-iterator.js'
npm WARN tar ENOENT: no such file or directory, open 'E:\Media Projects\Bot Testing\discord-text-adventure-bot-master\node_modules.staging\diff-468dd747\lib\util\params.js'
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno ENOENT
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t<EMAIL_ADDRESS>npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
I will upload all my issues to your issues page. But, it is certainly because I am a complete laymen in this....it may be easier to work out my issues first and then upload how I solved the issue after the fact.
Do you have a discord server I can join temporarily to discuss this?
I may require a much more simplistic walk-through. Although I appreciate you may not have the time.
I really would like to try and get this bot active however as I really like the idea of playing a text adventure game in discord. It's a great bot concept.
Kind Regards
Ben
Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, 22 June 2020 23:59, Ivan Mattie<EMAIL_ADDRESS>wrote:

In general, the instructions provided by the Java documentation (link) are pretty good for configuring your path. If you're not familiar with the PATH, here is a link to some information on it.
You want to edit the PATH such that you add to the end of the PATH a new directory that matches the directory that contains dfrotz.exe in it. It should be the complete path, ie. it should start with C:, or whatever your top level drive is named (ex: D:\Users\foobar\frotz).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

From the project directory, try doing the following:
First, delete the package-lock.json file. Then, in the package.json, edit the pinned version of discord.io to be ^2.5.3, like so:
"discord.io": "^2.5.3",

Then try running npm install again.


How to extract team/user IDs from events in a reliable way?

I have a global middleware (registered using app.use) that is responsible for authenticating users with my external app. The middleware matches users based on their team and user ID to my external app's user.
const authMiddleware = async ({ client, context, payload, body, next }: any) => {
    const teamId = extractTeamId(payload, body);
    const userId = extractUserId(payload, body);

    // Perform authentication with my app.
   await next();
}

function extractTeamId(payload: any, body: any) {
    return payload?.team_id || body.team_id || body?.user?.team_id || payload?.bot_profile?.team_id || payload?.team;
}

function extractUserId(payload: any, body: any) {
    return payload?.user_id || body?.user?.id || payload?.user;
}

As you can see, I'm having to have tricks and fallback to always get the uesr/team IDs from various events, as it changes from one event to another: sometimes the team ID is inside a property called team_id and for some events it's inside the user's object in the body.
Is there a reliable way to get this every time, regardless of the event type? This seems like a joke that there is SO MUCH difference in payloads between events.

Hi @gilmatok 👋🏻
We feel your pain when it comes to extracting team_id. It becomes more complex when you need to support Slack Connect (shared channels) and Enterprises (organizations with many teams).
Unfortunately, you are approaching it correctly and your message is making the Bolt team discuss whether we should expose some logic to make it easier for developers to extract the team_id from various payloads.
For now, you may be interested in looking at our extract_actor_team_id function that Bolt uses internally to extract the team_id.


Error responses in event-subscription-template.yaml  does not use enumeration of  error status and code allowed values

Problem description
PR https://github.com/camaraproject/Commonalities/pull/316  introduced enumeration in error definition.
Expected behavior
event-subscription-template.yaml should follow the template defined in:
https://github.com/camaraproject/Commonalities/blob/main/documentation/API-design-guidelines.md#response-template
notification-as-cloud-event.yaml should follow the template defined in: (and also removed not mandatory errors)
https://github.com/camaraproject/Commonalities/blob/main/artifacts/notification-as-cloud-event.yaml
Alternative solution

Additional context

@rartych, @ludovic i will generate a PR for this


Lossless Pixels

As it stands, sometimes videos reduce in quality, and color-accurate data is lost. Some blacks get washed off and passed off as either red or white pixels by the program thus resulting in an inaccurate source of truth for the original file.
Two work around come to mind:

Use a lossless codec, which is kind of impractical due to the large file sizes.
Embed file size in the bitmap header.

I went with the lossless method due to time constraints.


HTML Formatting Breaks with Space Between Commented Lines in Script Tag

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

VS Code Version: Code 1.89.0 (https://github.com/microsoft/vscode/commit/b58957e67ee1e712cebf466b995adf4c5307b2bd, 2024-05-01T02:08:25.066Z)
OS Version: Linux x64 6.5.0-18-generic

When commenting out sections in a script tag,
the HTML formatting breaks
if there is a line with at least 1 space in between 2 commented out lines.
( Highlighting the following code block may help clarify. )
<script>
    //

    //
             </script>

Steps to Reproduce:

Copy and paste the code block shown above into a blank HTML file in vscode.
Format the HTML using the Format Document command ( keyboard shortcut is usually Ctrl + Shift + I ) .
Document will not format
Remove the single space ( not the line ) between the 2 commented out lines.
Format HTML using same method as Step 2.
Document should be formatted.

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.89.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!


Initial Ingress node bundle creation

Make rules and Bundle dockerfile to build OCP operator
Signed-off-by: Mohamed Mahmoud<EMAIL_ADDRESS>

/retest

/lgtm

/override ci/prow/e2e-aws


github.com/robotn/gohook unimplemented: 64-bit mode not compiled in

Robotgo version (or commit ref):  0.92.1
Go version:1.15.3
Gcc version: 9.2.0
Operating system and bit: 64bit
Resolution:
Can you reproduce the bug at Examples:

[x] Yes (provide example code)
[ ] No
[ ] Not relevant

Provide example code:

package main

import (
	"github.com/go-vgo/robotgo"
)

func main() {
	robotgo.TypeStr("Hello World!", 1.0)
}

Log gist:

Description
log
# github.com/robotn/gohook
cc1.exe: sorry, unimplemented: 64-bit mode not compiled in

Compilation finished with exit code 2

gohook  --version  0.30.4
...

env error
solved


Struct has only getStructList, no get single Struct

I'm working on our GCP Spring Data integration for Spanner (https://github.com/spring-cloud/spring-cloud-gcp/tree/master/spring-cloud-gcp-data-spanner), and noticed that Struct has getter methods for singular or array for all types other than Struct.
I know that STRUCTs can only be created in SQL queries and that STRUCTs are only allowed as ARRAYs of STRUCTs at the root level of the query. This lines up with only having the getStructList method, but
STRUCTs can have nested STRUCTs  singularly ( like STRUCT<int64, STRUCT<boolean,string>> ). How can we access that inner STRUCT in java? Would it just be getting the first element of getStructList's result?
Thanks!
@balopat FYI

@ChengyuanZhao Nested structs are currently not supported in cloud spanner that is why we do not expose getStruct type of method.


Feature Request: PDF format download of entire docs

Useful to read on a kindle or ipad on the daily commute.

Hi @HariSekhon - the best we could do is something like http://wkhtmltopdf.org/
Have you tried this?

Looks interesting, I hadn't come across that before. It's probably not the right solution for each user to have to figure out independently how to mirror the entire docs structure in to a pdf, but if you're meaning to use it to generate the doc and provide a download link on the official doc site then that makes sense. Quite a lot of vendors such as Cassandra provide both the online HTML and PDF downloadable versions of the same documentation.

I don't think this is something we can do, sadly. If we ever change to use Pandoc it may be possible. I know it won't work on iPad, but you can run the docs locally by running:
docker run -ti -p 4000:4000 docs/docker.github.io


fast_execute many stops after x inserts

Environment

Python: 3.10.2
pyodbc: 4.0.32
OS: Windows 10 64 bit
DB: MSSQL SQL SERVER 12.0.2000.8
driver: ODBC Driver 17 for SQL Server

Issue
Hello. I have a stored procedure for inserting 1 object into my "RankingsScrapedCompany" table. I am calling this on the python side with the fast_executemany parameter set to True. Inserting around 1500 rows never goes though, for the same dataset around 900 - 1100 are inserted. Since the data is ordered alhabetically I can see that the not inserted rows are after a certain point. So everything is inserted in order and then after that point nothing is inserted. I have read somewhere that there is a cap at 2100 parameters or such, I just want to get some clarification as to what I need to change in the logic in my code to make sure everything gets inserted.
The Table and stored procedure:
CREATE TABLE RankingsScrapedCompany
(
	Id INT IDENTITY PRIMARY KEY,
	Ticker NVARCHAR(25) NOT NULL,
	Name NVARCHAR(255) NOT NULL,
	ISIN NVARCHAR(15),
	SubSectorCode INT,
	MarketSegmentCode NVARCHAR(15),
	IsSuspended BIT,
	[Index] NVARCHAR(30),
	Sector NVARCHAR(255),
	SubSector NVARCHAR(255),
	LastChanged DATETIME NOT NULL
)

CREATE PROCEDURE spInsertScrapedCompany
(
	@Ticker NVARCHAR(25),
	@Name NVARCHAR(255),
	@ISIN NVARCHAR(15),
	@SubSectorCode INT,
	@MarketSegmentCode NVARCHAR(15),
	@IsSuspended BIT,
	@Index NVARCHAR(30),
	@Sector NVARCHAR(255),
	@SubSector NVARCHAR(255)
)
AS
	SET NOCOUNT ON;

	INSERT INTO RankingsScrapedCompany (
        Ticker,
        Name,
        ISIN,
        SubSectorCode,
        MarketSegmentCode,
        IsSuspended,
        [Index],
        Sector,
        SubSector,
        LastChanged
    )
	VALUES (
        @Ticker,
        @Name,
        @ISIN,
        @SubSectorCode,
        @MarketSegmentCode,
        @IsSuspended,
        @Index,
        @Sector,
        @SubSector,
        GETDATE()
    )

	SELECT SCOPE_IDENTITY()

GO

The python part where I do the inserts. param_values is a list of tuples with the data I am inserting:
query = "EXEC spInsertScrapedCompany @Ticker=?, @Name=?, @ISIN=?, @SubSectorCode=?, @MarketSegmentCode=?, @IsSuspended=?, @Index=?, @Sector=?, @SubSector=?"
with self._create_connection() as connection:
    with connection.cursor() as cursor:
        cursor.fast_executemany = True
        result = cursor.executemany(query, param_values)

As of now I can only say that the behavior is strange. I have dropped and recreated the table and inserted the same 1400 lines 5 times in a row. Every time the inserted amount differed by a lot. First it managed to do 765, then 569, 582, 719 and 622. I was stopping the code from running in VS Code and using the debugging window to make sure I am inserting the same data stored inside a variable. I've then gone ahead and checked the next line where the inserts ended, nothing out of the ordinary, not to mention that sometimes the insert happened as seen above, other times the tool stopped there. In no cases was data types, nullability, overflows, character limits a problem. No error message was shown to me and this part is not inside a try-except block. It's quite hard to get an ODBC trace due to company laptop limitations but I'll try to do my best.

I have tried to insert the same 1400 lines but now in batches of 100 using the same code as above. This way everything went through. Could this be a problem that the Server can't handle bigger than N amount of async queries?

Could you try putting a SET NOCOUNT ON before your inserts?
I suspect this could be the result of not consuming resultsets the server generates for inserts: https://github.com/mkleehammer/pyodbc/issues/262 https://github.com/mkleehammer/pyodbc/issues/277

The SELECT SCOPE_IDENTITY() will still generate a resultset.
Put a loop to consume the resultsets after your execution. (See discussion in the issues I linked above.)

related: #665


MATLAB wrapper for Windows

Hi,
I wanted to ask that what modifications I must perform on the matcaffe.cpp so it can work for the windows installation you have proposed.

@shuangao  Hi, have you solved your problem, i met with the same question。。。。

@CMeteor  Hi, in the caffe directory , i have not found "caffe/bin"..... can you give some details,,thanks

@shuangao  I've met the same problem, did you solve your problem?

NO. I gave up and turn to python wrapper which is very easy for training
and predicting. You can find the tutorial here
http://nbviewer.ipython.org/github/BVLC/caffe/tree/master/examples/
On Thu, Jun 25, 2015 at 9:57 AM, febrary1992<EMAIL_ADDRESS>wrote:

@shuangao https://github.com/shuangao I've met the same problem, did
you solve your problem?
—
Reply to this email directly or view it on GitHub
https://github.com/niuzhiheng/caffe/issues/23#issuecomment-115266046.

--
Cheers
Shuang


use stable rust?

Feature Request
Motivation

Sine rust 1.75 released, can we use stable Rust?
Proposal

Remove the rust-toolchain.toml file and announce the MSRV.
Alternatives

If we should use nightly, write reason in README.md.

Good catch. We can use stable Rust now.
PR is welcomed if you are interested, thanks :)


[BUG] Card 11. Order Summery Component, Image not loading, link not working, Spelling mistakes

Description
I would like to contribute by fixing the card 11. "Order Summery Component". The image of this card is not loading whereas the images of other cards are loading. The link is not working for this card. Whenever I click on the link it shows error (the error is attached in the screenshots). The spelling of "Summery" is wrong both on card and in the url of the link. I will fix all these issues and make this card function as other cards do. Please add the hacktoberfest label.
Screenshots

Any additional information?
No response
What browser are you seeing the problem on?
No response
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[ ] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

Please add #hacktoberfest-accepted  label


TypeError when analysing EDA

Hello, I have a problem when trying to analyse EDA. Here is the stacktrace:
File "C:\Users\jaros1024\PycharmProjects\Project1\lib\new_gsr.py", line 13, in __init__     self.data = nk.eda_scr(y, sampling_rate=freq)   File "C:\Users\jaros1024\PycharmProjects\Project1\venv3\lib\site-packages\neurokit\bio\bio_eda.py", line 399, in eda_scr     peaks, _ = biosppy.tools.find_extrema(signal=signal, mode='max')   File "C:\Users\jaros1024\PycharmProjects\Project1\venv3\lib\site-packages\biosppy\signals\tools.py", line 1108, in find_extrema     values = signal[extrema] TypeError: only integer scalar arrays can be converted to a scalar index
I tried Python 3.6 and 3.7, both with numpy 1.14.6 and 1.15.2. Same effect for all. As far as I know, something was changed in recent numpy versions, so the syntax that you used is no longer supported.
Could you track it down and try to implement a workaround for this issue?

@jaros1024 That's weird indeed, I'll look at it :)
Could you tell me what is your version of NeuroKit and Biosppy?

I just noticed that NeuroKit version 0.2.0 installed, but just updated to 0.2.7 and the problem is still the same. Biosppy is 0.6.1 - so I haven't changed anything.

Great, could you provide a sample of data and a reproducible code snippet so that I can reproduce it and dig into it? Thanks!

Sure! See the attached file. It's just a pickle dump, so you can open it like:
`import pickle
def open_file(in_file):
with open(in_file, 'rb') as fp:
itemlist = pickle.load(fp)
return itemlist`
sample.zip

It works for me with this code:
import pickle
import neurokit as nk
import pandas as pd

def open_file(in_file):
    with open(in_file, 'rb') as fp:
        itemlist = pickle.load(fp)
        return itemlist

data = open_file("sample.dat")
data = pd.DataFrame({"EDA" : data})  # Convert to dataframe
data.plot()  # Check signal

results = nk.eda_process(data["EDA"], sampling_rate=100)

# Plot standardized data (visually more clear) wiht SCR peaks markers
nk.plot_events_in_signal(nk.z_score(results["df"]), results["EDA"]["SCR_Peaks_Indexes"])

However, make sure to adjust correctly your sampling_rate (I set to 100 for illustrative purposes)

Thanks! Do you think the error might be caused by wrong sampling_rate? To be honest, my data is so poorly documented that I won't be surprised if the sampling rate in documentation is wrong :)


Add GitHub Discussions Section to FAQs

Fixes #9292
Added a new section at the end of the FAQs explaining BioDrop's GitHub Discussions page and providing a link.
Updated the FAQ page with the following content:
(In bold) My question is not answered by the FAQs/Where can I start a discussion about a feature or idea for BioDrop?
(text below) BioDrop uses GitHub Discussions to facilitate community conversations about topics related to the BioDrop project that don't fit into specific issues. GitHub Discussions provide a platform for proposing ideas, sharing thoughts, and seeking input from the community. For instance, you can discuss potential features or ideas that require more details and community feedback before creating formal issues.
Take a look at the discussions and join the conversation (https://github.com/EddieHubCommunity/BioDrop/discussions)
This addition helps users understand where to initiate discussions about the project, fostering community engagement and collaboration.

Fixes #9292
Added a new section at the end of the FAQs explaining BioDrop's GitHub Discussions page and providing a link. Updated the FAQ page with the following content: (In bold) My question is not answered by the FAQs/Where can I start a discussion about a feature or idea for BioDrop? (text below) BioDrop uses GitHub Discussions to facilitate community conversations about topics related to the BioDrop project that don't fit into specific issues. GitHub Discussions provide a platform for proposing ideas, sharing thoughts, and seeking input from the community. For instance, you can discuss potential features or ideas that require more details and community feedback before creating formal issues. Take a look at the discussions and join the conversation (https://github.com/EddieHubCommunity/BioDrop/discussions)
This addition helps users understand where to initiate discussions about the project, fostering community engagement and collaboration.

@MeenuyD : Taking a moment to thank you for your contribution to the project. I am leaving a comment to simply learn how to follow some of the discussions for the BioDrop project. Learning along the way.

Hello @eddiejaoude can you please review this pr?

Thank you


[Platform] Update musl modulemap and improve musl platform support.

We need to declare separate top-level modules for every header in the musl C library.  Note that our set-up here does require some tweaks to musl itself (specifically, the alltypes.h header needs some fairly serious massaging to make it module compatible; in particular, we need to pull out every type declaration into its own separate modularized header in bits/types).
Also update Platform.swift a little for more musl support.
rdar://123503615

This sits on top of #71839.

@swift-ci Please smoke test

@swift-ci Please smoke test

Thank you for doing this one!

We also need to change the clang importer to not pass -fbuiltin-headers-in-system-modules  when using musl

We also need to change the clang importer to not pass -fbuiltin-headers-in-system-modules  when using musl

That is in this changeset as part of #71844.

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci Please smoke test


Translation missing in export modal

In the export modal the word "Text" is not translated.

Czech translation of text is text :) Checked in other languages and it seems it is very similar to text often:
po/cs.po:msgid "Text"
po/cs.po-msgstr "Text"
--
po/es.po:msgid "Text"
po/es.po-msgstr "Texto"
--
po/fr.po:msgid "Text"
po/fr.po-msgstr "Texte"
--
po/pt_BR.po:msgid "Text"
po/pt_BR.po-msgstr "Texto"

po/ru.po:msgid "Text"
po/ru.po-msgstr "Текст"

po/uk.po:msgid "Text"
po/uk.po-msgstr "Текст"

Just no noticed, that slovak is not present anymore. I though I kept it updated, but seems it slipped through. 55ee2e5d

Ahaha I guess I should have translated it myself. Thanks.


Add a failsafe for 0 sized nodes in bundle.rs

Some nodes appear to be of size 0, so we skip them (users manually toying with resS?)

Sample file: ubody_aku0af_c000.zip


optimize: file mode does not require lazy processing of sessions

[ ] I have registered the PR changes.

Ⅰ. Describe what this PR did
目前的实现中,在同步二阶段时不会进行删除全局事务为了避免db和redis下残留branchsession和lock所以进行了默认2分10秒延迟删除,但是file下globalsession是有锁的,不会出现这种残留情况,也就无需延迟,仅需异步删除即可,file的内存是寸土寸金应尽快删除,所以需要通过storemode判断处理
Ⅱ. Does this pull request fix one issue?

fixes #4399
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #4407 (c41cac1) into develop (4622746) will decrease coverage by 0.00%.
The diff coverage is 16.66%.

@@              Coverage Diff              @@
##             develop    #4407      +/-   ##
=============================================
- Coverage      48.76%   48.76%   -0.01%
+ Complexity      3967     3965       -2
=============================================
  Files            733      733
  Lines          25182    25185       +3
  Branches        3132     3135       +3
=============================================
  Hits           12281    12281
- Misses         11598    11602       +4
+ Partials        1303     1302       -1

Impacted Files
Coverage Δ

...o/seata/server/coordinator/DefaultCoordinator.java
50.54% <16.66%> (-1.30%)
:arrow_down:

...in/java/io/seata/server/session/GlobalSession.java
78.65% <0.00%> (ø)

...in/java/io/seata/server/session/SessionHelper.java
74.71% <0.00%> (+2.29%)
:arrow_up:


Collapsible Theorem Callout

Thanks for the awesome plugin, really liking it other than one thing; when I used to take notes without the plugin I quite liked that I could collapse headings made with markdown to remove clutter. Would it be possible to implement a similar way to collapse theorem callouts so that it shows just the type of callout, number, and name?
I know this is a thing with proof environments (#138).

Hi, thanks for the idea!
Fortunately, it will be very easy to implement it unline the case of proofs!
In fact, I didn't add the option because I thought no one would want to fold a theorem when I wrote this plugin, which turned out to be false now😜
I will implement this feature before long!

Alpha-released in 2.0.0-alpha.
You can manually type, for example,
> [!theorem]+
> Hello

or alternatively, use Insert theorem callout command.

Would it be possible to implement a similar way to collapse proof environment? Sometimes, the proof are too long you know.


Finish deprecated point-mutations

See https://github.com/exercism/x-common/issues/383 for the equivalent issue about counter.
The Point Mutations problem is deprecated, per its README. It's been replaced with hamming.
The old and messy reason for this is... well, old and messy. In the early days we didn't support multi-word exercise names very well. We have since fixed all the problems related to that, but the problem is still deprecated, and we should tie up any loose ends.
There aren't any tracks that implement the exercise, but it's showing up in the "todo" lists for any track that hasn't explicitly put it in "deprecated" or "foregone" in the config.json for the track.
We have two choices:

Submit an issue to each track (using https://github.com/exercism/blazon) which asks them to make sure it's in foregone or deprecated.
Support deprecating problems globally.

I like 2 better.
Once we figure out in https://github.com/exercism/x-common/issues/383 what we want to do with counter, let's do the same thing with this one.
See https://github.com/exercism/exercism.io/issues/3103 for context.

My proposal at exercism/discussions#40 would mean to deprecated globally anyway. So I vote for 2 as well.

OK, I'll write up an issue in x-api that describes what we need to support.

Here it is: https://github.com/exercism/x-api/issues/139

Fixed in https://github.com/exercism/x-api/pull/140

That allows point-mutations to be deprecated, but has action been taken to deprecate it?
What I mean is: I don't see the .deprecated file in this repo (should I?)

Oh, no you're right. We need to add the deprecated file.

This has been fixed by this PR.


Please Update Nuget Package

Hi,
the nuget package is out of date. Please update it to the latest release.
Thanks

v1.7.5 nuget package released.


optpassword should not be output in log

Proposed changes
Passwords should not be output to logs in plain text. Instead, use MD5  to protect them.

run beut: BE UT


Update sql-database-elastic-pool.md

added a little more clarity around the activity pattern in preparation for some pictures.

updates ready to go

looks good, you can merge. I'm going to do a quick pull request right after this to fix a typo...

Thanks, and I made one further edit to clarify eDTUs
From: Ross McAllister<EMAIL_ADDRESS>Sent: Monday, May 11, 2015 09:29
To: Azure/azure-content
Cc: Guy Haycock
Subject: Re: [azure-content] Update sql-database-elastic-pool.md (#3521)
Merged #3521https://github.com/Azure/azure-content/pull/3521.
—
Reply to this email directly or view it on GitHubhttps://github.com/Azure/azure-content/pull/3521#event-301935007.


Template language integration

Dear Aqueduct Team:
I am interested in this framework. However, there is no page about using any template language on aqueduct. It seems that currently only mustache is supported in Dart community. It any feasible mean to integrate mustache or other template language into this framework, e.g. through plugin?
Sincerely,
Michael

Sure, you can use the Dart mustache package with Aqueduct. Something like mustache produces a String, and Aqueduct can send a text/html response with that String as a body.
I'll give you a really naive implementation with Mustache and then some tips on where else to look in Aqueduct.

Create an RequestController subclass that reads template files from the filesystem and replaces the values:

class TemplateController extends RequestController {
  @override
  Future<Response> processRequest(Request request) async {
    var templateDirectory = new Uri("templates/");
    var templateFile = new File.fromUri(templateDirectory.resolve(request.path.remainingPath);
    var templateContents = templateFile.readAsStringSync();
    var template = new Template(templateContents);

    var rendered = template.renderString({"thing" : "value"});

    return new Response.ok(rendered)
      ..contentType = ContentType.HTML;
  }
}

Hook that controller up to a route in a RequestSink subclass, the initialization point of an app:

class MyRequestSink extends RequestSink {
  @override
  void setupRouter(Router router) {
    router.route("/web/*").pipe(new TemplateController());
  }
}

I just spit this code out, so there may be errors. Some other places to look are at the source code for the static file controller and the documentation on how response bodies are sent

Thanks, I will try this later.


Fixing ubuntu ca-certificates-java bug

It seems that the default package installation of openjdk has an issue when
creating the ceritifcates files. This commit fixes this problem by re-installing
the certificates package.

Rolled back one commit to remove the tests PR. Since CI is green we can merge this 👍


Update xfails after xcode update

In This PR

Update some xfails after the CI update.

See:

https://ci.swift.org/job/swift-main-source-compat-suite-debug/647/artifact/swift-source-compat-suite/
https://ci.swift.org/view/Swift 5.9/job/swift-5.9-source-compat-suite-debug/202/artifact/swift-source-compat-suite/

@swift-ci test


Vite + sentryVitePlugin breaks debugging on chrome

Environment
SaaS (https://sentry.io/)
Steps to Reproduce
On my code, I'm setting the debugger word to stop and inspect my code, at the moment of adding sentryVitePlugin chrome debugger not longer stops on the exact step, but instead stops at a random position; see images.
This is when the plugin has not been added.

Once the plugin has been added, stops at the start or the component function

vite configuration
export default () => {
  return defineConfig({
    plugins: [
      react({ include: "**/*.tsx" }),
      sentryVitePlugin({
        org: "---",
        project: "---",
        authToken: "---",

        sourcemaps: {
          assets: "./dist/**",
        },
      }),
    ],
    build: {
      target: "esnext",
      minify: false,
    },
  });
};

Expected Result
The plugin shouldn't affect the debugging experience for the developer.
Actual Result
Is messing with the Developer Experience
Product Area
Unknown
Link
No response
DSN
o4504879322693632
Version
No response

Hm, not gonna look into this right now but it might be due to source mapping quality. I wonder if we can even fix this.

@nahumzs I was having the same problem, didn't even suspect Sentry until this. I removed sentryVitePlugin and BOOM debugging is working again. Really annoying but thanks for discovering this. Maybe one day it will be fixed O_o

Hm, not gonna look into this right now but it might be due to source mapping quality. I wonder if we can even fix this.

If it cant be fixed then should be only a bundle step? Dont really undestand why the plugin should even work at dev level. Of course there might be things that i dont have the full context.
Wouldnt adding an option to disabled it at dev level would be enough?

@JonTutis What version of the vite plugin are you using? I suspect this might have been fixed with https://github.com/getsentry/sentry-javascript-bundler-plugins/pull/383 which was released with 2.7.0.
@nahumzs There is a disable option you can fall back to.

@lforst You are correct, please ignore me, upgraded to 2.7.1 (from 2.6.x) and all is good in the world.

@JonTutis Awesome! Glad to hear it works for you again!


solve i3 bash dependency

i asked this once and will again, please drop/abandon packages that the MAINTAINER no longer uses. AFAIK @ehawkvu uses dwm but is also the maintainer of i3 for example.
i3 requires bash at build time (but is not marked as a dependency). i attempted to solve this with a PR but lost interest with the maintainers as i3 is a pretty bad wm for the category of what kiss-xorg users are. ehawkvu (the maintainer of i3), please drop or abandon i3 if you no longer use it; or put them in the abandoned/ folder. or just solve the bash problem.

i3 will now depend on bash

bruh


air gap RKE2 downstream cluster fails to pull images if the registry mirrors endpoint does not contain a schema

Rancher Server Setup

Rancher version: v2.8.3
Installation option (Docker install/Helm Chart):

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc):

Proxy/Cert Details:

Information about the Cluster

Kubernetes version: v1.28.9-rke2r1
Cluster Type (Local/Downstream): Downstream

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider):

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom)

If custom, define the set of permissions:

Describe the bug

When provisioning an air-gapped RKE2 cluster, if the user sets the mirror endpoint to their private registry, but without the https:// scheme, the cluster will fail to provision with the following error message observed in the rancher-system-agent logs:
Jun 17 13:23:56 qchcon201 rancher-system-agent[20349]: time="2024-06-17T13:23:56+02:00" level=info msg="Pulling image registry.rancher.com/rancher/system-agent-installer-rke2:v1.28.9-rke2r1"
Jun 17 13:23:56 qchcon201 rancher-system-agent[20349]: time="2024-06-17T13:23:56+02:00" level=warning msg="Ignoring relative endpoint URL for registry registry.rancher.com: \"registry123.sample.com\""
Jun 17 13:23:56 qchcon201 rancher-system-agent[20349]: time="2024-06-17T13:23:56+02:00" level=warning msg="Failed to get image from endpoint: Get \"https://registry.rancher.com/v2/\": dial TCP <redacted>:443: connect: connection refused"

To Reproduce

Create a DS RKE2 cluster and configure the registries similar to the following,
    registries:
      configs: {}
      mirrors:
        registry.rancher.com:
          endpoint:
            - registry123.sample.com

Result
The cluster provision fails, and we can find the warning and error message in rancher-system-agent as described above.
Expected Result

The cluster provision should succeed, the cluster should be able to pull images from the mirror.
Screenshots

Additional context

The most recent rancher-system-agent release (v0.3.6) uses wharfie v0.6.2 as the image pulling library.
wharfie v0.6.2 still requires an absolute mirror endpoint URL including the scheme (https://github.com/rancher/wharfie/blob/v0.6.2/pkg/registries/registries.go#L167).
The most recent release of wharfie (v0.6.6) drops this requirement, supporting endpoints without a scheme (https://github.com/rancher/wharfie/commit/506419fe098e1da1aa44e5ce5e99e608ce318c21).
A PR to update wharfie in the system-agent remains open at https://github.com/rancher/system-agent/pull/143

SURE-8588

Here is how I reproduce the bug on a normal setup Rnacher v2.8.5
Steps:

go to global setting, and change system-default-registry to some invalid address, such as "invaid.registry.com`
create a DS RKE2 cluster, and configure the Registry to the following

      mirrors:
        '*':
          endpoint:
            - registry.hub.docker.com

create the cluster
on the DS's node, run journalctl -f -u rancher-system-agent to check logs

Result:
See the following in the logs:
Jul 25 19:03:06 rke2-jiaqi-a-8ddff622-bg9tk rancher-system-agent[706685]: time="2024-07-25T19:03:06Z" level=info msg="Pulling image invaid.registry.com/rancher/system-agent-installer-rke2:v1.28.11-rke2r1"
Jul 25 19:03:06 rke2-jiaqi-a-8ddff622-bg9tk rancher-system-agent[706685]: time="2024-07-25T19:03:06Z" level=warning msg="Ignoring relative endpoint URL for registry rinvaid.registry.com: \"registry.hub.docker.com\""
Jul 25 19:03:06 rke2-jiaqi-a-8ddff622-bg9tk rancher-system-agent[706685]: time="2024-07-25T19:03:06Z" level=warning msg="Failed to get image from endpoint: Get \"https://invaid.registry.com/v2/\": dial tcp: lookup rinvaid.registry.com on <IP_ADDRESS>:53: no such host"

The line "Ignoring relative endpoint URL ...." is what we expect to see.

waiting for cutting a new RC in rancher/system-agent and bump it in rancher/rancher

wait for new images to be built at https://github.com/rancher/rancher/actions/runs/10206205050

QA TEST PLAN

#
Scenario

1
Provision RKE2 air-gap downstream cluster with https:// schema in mirror endpoint

2
Provision RKE2 air-gap downstream cluster without https:// schema in mirror endpoint

3
Provision RKE2 non air-gap downstream cluster with https:// schema in mirror endpoint

4
Provision RKE2 non air-gap downstream cluster without https:// schema in mirror endpoint

the fix can be validated on the lastest v2.9-head image

Validated that this is addressed on v2.9.1-alpha1. See details below:
ENVIRONMENT DETAILS

Rancher install: Helm
Rancher version: v2.9.1-alpha1

TEST RESULT

#
Scenario
Result

1
Provision RKE2 air-gap downstream cluster with https:// schema in mirror endpoint
:white_check_mark:

2
Provision RKE2 air-gap downstream cluster without https:// schema in mirror endpoint
:white_check_mark:

VALIDATION STEPS
Scenario 1

Provisioned downstream RKE2 v1.30.2+rke2r1 custom cluster (1 etcd, 1 cp, 1 worker).

Ensured that the private registry had https:// schema present in the endpoint.

Validated that the cluster and nodes came up Active.

Scenario 2

Repeated scenario 1, but did not use https:// schema in the registry endpoint.


Any plan for Windows support?

ClickHouse do not support Windows. So does chDB. But chDB on WSL works perfect

Oh, my bad. I forgot that Clickhouse doesn't support Windows.
OK, I will find another OLAP embedded database instead, thank you <3.