Enable API-Access and Extract the current API-Definitions

API-Access needs to be enabled, and the current API-Definitions are to be extracted.

To enable API-Access, one has to edit the keys.dat file. On Fedora(or most likely on most other Linux-Systems too) it is located in ~/.config/PyBitmessage.
The following lines need to be added there:
apienabled = true
apiusername = username
apipassword = password
The following two lines should already be there, but in case they are missing they are required too:
apiport = 8442
apiinterface = <IP_ADDRESS>
Extracting the API-Definition seems to be a little harder than originally thought. Originally it was thought that the Models were provided by the API itself, by calling a specific URL, but it seems they still have to be acquired by reading through the following file, looking for the '@command'-Lines:
https://github.com/Bitmessage/PyBitmessage/blob/v0.6/src/api.py

Below is a list of all the Commands and their descriptions, as extracted from the api.py-File
@command('decodeAddress')
def HandleDecodeAddress(self, address):
    """
    Decode given address and return dict with
    status, addressVersion, streamNumber and ripe keys
    """
@command('listAddresses', 'listAddresses2')
def HandleListAddresses(self):
    """
    Returns dict with a list of all used addresses with their properties
    in the *addresses* key.
    """

# the listAddressbook alias should be removed eventually.
@command('listAddressBookEntries', 'legacy:listAddressbook')
def HandleListAddressBookEntries(self, label=None):
    """
    Returns dict with a list of all address book entries (address and label)
    in the *addresses* key.
    """

# the addAddressbook alias should be deleted eventually.
@command('addAddressBookEntry', 'legacy:addAddressbook')
def HandleAddAddressBookEntry(self, address, label):
    """Add an entry to address book. label must be base64 encoded."""

# the deleteAddressbook alias should be deleted eventually.
@command('deleteAddressBookEntry', 'legacy:deleteAddressbook')
def HandleDeleteAddressBookEntry(self, address):
    """Delete an entry from address book."""

@command('createRandomAddress')
def HandleCreateRandomAddress(
    self, label, eighteenByteRipe=False, totalDifficulty=0,
    smallMessageDifficulty=0
):
    """
    Create one address using the random number generator.

    :param str label: base64 encoded label for the address
    :param bool eighteenByteRipe: is telling Bitmessage whether to
      generate an address with an 18 byte RIPE hash
      (as opposed to a 19 byte hash).
    """
@command('createDeterministicAddresses')
def HandleCreateDeterministicAddresses(
    self, passphrase, numberOfAddresses=1, addressVersionNumber=0,
    streamNumber=0, eighteenByteRipe=False, totalDifficulty=0,
    smallMessageDifficulty=0
):
    """
    Create many addresses deterministically using the passphrase.

    :param str passphrase: base64 encoded passphrase
    :param int numberOfAddresses: number of addresses to create,
      up to 999

    *addressVersionNumber* and *streamNumber* may be set to 0
    which will tell Bitmessage to use the most up-to-date
    address version and the most available stream.
    """
@command('getDeterministicAddress')
def HandleGetDeterministicAddress(
        self, passphrase, addressVersionNumber, streamNumber):
    """
    Similar to *createDeterministicAddresses* except that the one
    address that is returned will not be added to the Bitmessage
    user interface or the keys.dat file.
    """
@command('createChan')
def HandleCreateChan(self, passphrase):
    """
    Creates a new chan. passphrase must be base64 encoded.
    Returns the corresponding Bitmessage address.
    """
@command('joinChan')
def HandleJoinChan(self, passphrase, suppliedAddress):
    """
    Join a chan. passphrase must be base64 encoded. Returns 'success'.
    """
@command('leaveChan')
def HandleLeaveChan(self, address):
    """
    Leave a chan. Returns 'success'.

    .. note:: at this time, the address is still shown in the UI
      until a restart.
    """
@command('deleteAddress')
def HandleDeleteAddress(self, address):
    """
    Permanently delete the address from keys.dat file. Returns 'success'.
    """
@command('enableAddress')
def HandleEnableAddress(self, address, enable=True):
    """Enable or disable the address depending on the *enable* value"""
@command('getAllInboxMessages')
def HandleGetAllInboxMessages(self):
    """
    Returns a dict with all inbox messages in the *inboxMessages* key.
    The message is a dict with such keys:
    *msgid*, *toAddress*, *fromAddress*, *subject*, *message*,
    *encodingType*, *receivedTime*, *read*.
    *msgid* is hex encoded string.
    *subject* and *message* are base64 encoded.
    """
@command('getAllInboxMessageIds', 'getAllInboxMessageIDs')
def HandleGetAllInboxMessageIds(self):
    """
    The same as *getAllInboxMessages* but returns only *msgid*s,
    result key - *inboxMessageIds*.
    """
@command('getInboxMessageById', 'getInboxMessageByID')
def HandleGetInboxMessageById(self, hid, readStatus=None):
    """
    Returns a dict with list containing single message in the result
    key *inboxMessage*. May also return None if message was not found.

    :param str hid: hex encoded msgid
    :param bool readStatus: sets the message's read status if present
    """
@command('getAllSentMessages')
def HandleGetAllSentMessages(self):
    """
    The same as *getAllInboxMessages* but for sent,
    result key - *sentMessages*. Message dict keys are:
    *msgid*, *toAddress*, *fromAddress*, *subject*, *message*,
    *encodingType*, *lastActionTime*, *status*, *ackData*.
    *ackData* is also a hex encoded string.
    """
@command('getAllSentMessageIds', 'getAllSentMessageIDs')
def HandleGetAllSentMessageIds(self):
    """
    The same as *getAllInboxMessageIds* but for sent,
    result key - *sentMessageIds*.
    """
# after some time getInboxMessagesByAddress should be removed
@command('getInboxMessagesByReceiver', 'legacy:getInboxMessagesByAddress')
def HandleInboxMessagesByReceiver(self, toAddress):
    """
    The same as *getAllInboxMessages* but returns only messages
    for toAddress.
    """
@command('getSentMessageById', 'getSentMessageByID')
def HandleGetSentMessageById(self, hid):
    """
    Similiar to *getInboxMessageById* but doesn't change message's
    read status (sent messages have no such field).
    Result key is *sentMessage*
    """
@command('getSentMessagesByAddress', 'getSentMessagesBySender')
def HandleGetSentMessagesByAddress(self, fromAddress):
    """
    The same as *getAllSentMessages* but returns only messages
    from fromAddress.
    """
@command('getSentMessageByAckData')
def HandleGetSentMessagesByAckData(self, ackData):
    """
    Similiar to *getSentMessageById* but searches by ackdata
    (also hex encoded).
    """
@command('trashMessage')
def HandleTrashMessage(self, msgid):
    """
    Trash message by msgid (encoded in hex). Returns a simple message
    saying that the message was trashed assuming it ever even existed.
    Prior existence is not checked.
    """
@command('trashInboxMessage')
def HandleTrashInboxMessage(self, msgid):
    """Trash inbox message by msgid (encoded in hex)."""

@command('trashSentMessage')
def HandleTrashSentMessage(self, msgid):
    """Trash sent message by msgid (encoded in hex)."""
    msgid = self._decode(msgid, "hex")
    sqlExecute('''UPDATE sent SET folder='trash' WHERE msgid=?''', msgid)
    return 'Trashed sent message (assuming message existed).'
@command('sendMessage')
def HandleSendMessage(
    self, toAddress, fromAddress, subject, message,
    encodingType=2, TTL=4 * 24 * 60 * 60
):
    """
    Send the message and return ackdata (hex encoded string).
    subject and message must be encoded in base64 which may optionally
    include line breaks. TTL is specified in seconds; values outside
    the bounds of 3600 to 2419200 will be moved to be within those
    bounds. TTL defaults to 4 days.
    """
@command('sendBroadcast')
def HandleSendBroadcast(
    self, fromAddress, subject, message, encodingType=2,
        TTL=4 * 24 * 60 * 60):
    """Send the broadcast message. Similiar to *sendMessage*."""

@command('getStatus')
def HandleGetStatus(self, ackdata):
    """
    Get the status of sent message by its ackdata (hex encoded).
    Returns one of these strings: notfound, msgqueued,
    broadcastqueued, broadcastsent, doingpubkeypow, awaitingpubkey,
    doingmsgpow, forcepow, msgsent, msgsentnoackexpected or ackreceived.
    """
@command('addSubscription')
def HandleAddSubscription(self, address, label=''):
    """Subscribe to the address. label must be base64 encoded."""

@command('deleteSubscription')
def HandleDeleteSubscription(self, address):
    """
    Unsubscribe from the address. The program does not check whether
    you were subscribed in the first place.
    """

@command('listSubscriptions')
def ListSubscriptions(self):
    """
    Returns dict with a list of all subscriptions
    in the *subscriptions* key.
    """
@command('disseminatePreEncryptedMsg')
def HandleDisseminatePreEncryptedMsg(
    self, encryptedPayload, requiredAverageProofOfWorkNonceTrialsPerByte,
        requiredPayloadLengthExtraBytes):
    """Handle a request to disseminate an encrypted message"""

@command('trashSentMessageByAckData')
def HandleTrashSentMessageByAckDAta(self, ackdata):
    """Trash a sent message by ackdata (hex encoded)"""

@command('disseminatePubkey')
def HandleDissimatePubKey(self, payload):
    """Handle a request to disseminate a public key"""

@command(
    'getMessageDataByDestinationHash', 'getMessageDataByDestinationTag')
def HandleGetMessageDataByDestinationHash(self, requestedHash):
    """Handle a request to get message data by destination hash"""

@command('clientStatus')
def HandleClientStatus(self):
    """
    Returns the bitmessage status as dict with keys *networkConnections*,
    *numberOfMessagesProcessed*, *numberOfBroadcastsProcessed*,
    *numberOfPubkeysProcessed*, *pendingDownload*, *networkStatus*,
    *softwareName*, *softwareVersion*. *networkStatus* will be one of
    these strings: "notConnected",
    "connectedButHaveNotReceivedIncomingConnections",
    or "connectedAndReceivingIncomingConnections".
    """
@command('helloWorld')
def HandleHelloWorld(self, a, b):
    """Test two string params"""

@command('add')
def HandleAdd(self, a, b):
    """Test two numeric params"""

@command('statusBar')
def HandleStatusBar(self, message):
    """Update GUI statusbar message"""

@command('deleteAndVacuum')
def HandleDeleteAndVacuum(self):
    """Cleanup trashes and vacuum messages database"""

@command('shutdown')
def HandleShutdown(self):
    """Shutdown the bitmessage. Returns 'done'."""

There also is the API-Reference, which might have some more info on some of the required Types etc:
https://wiki.bitmessage.org/index.php/API_Reference


Google Slides Add on - Rejection

Google rejected our google slides add on without giving a reason.
These are the areas where they review our app. We come under Editor Add-on. I think we need to polish on some areas to improve the look and feel of the add - on in order to get published.
https://developers.google.com/gsuite/marketplace/about-app-review

I would like to work on it !

@satu0king

Submitted again for review, lets see.


Update to Juice Shop 12.10.0

Also, are the default config values duplicating some aspects of default.yml on purpose? Of the current https://github.com/iteratec/multi-juicer/blob/master/helm/multi-juicer/values.yaml#L91-L101 only the following part is actually changing default behavior:
    application:
      logo: JuiceShopCTF_Logo.png
      favicon: favicon_ctf.ico
      showVersionNumber: false
      showGitHubLinks: false

This is duplicating default behavior and could be removed unless you are concerned about breaking changes in the default, but those won't happen:
   challenges:
      showHints: true
    hackingInstructor:
      isEnabled: true
    ctf:
      showFlagsInNotifications: false

If the actual intent was to replicate the CTF extension but with hints and hacking instructor while disabling the flag codes, you might want to take over some new settings in the latest https://github.com/juice-shop/juice-shop/blob/master/config/ctf.yml:
application:
  logo: JuiceShopCTF_Logo.png
  favicon: favicon_ctf.ico
  showVersionNumber: false
  showGitHubLinks: false
  localBackupEnabled: false
  welcomeBanner:
    showOnFirstStart: false
challenges:
  showHints: false
  safetyOverride: true
hackingInstructor:
  isEnabled: false
ctf:
  showFlagsInNotifications: true

Having these set explicitly to the default was just meant to make it easier to toggle these for people with a bad memory (like myself) 😅
Otherwise you'd have to check the docs every time to look up the name of the properties.
I guess we should take the discussion to #94


Sidebar revamp in dendron published site

Please select if your request is either something new or an enhancement

[ ] Enhancement of an existing Feature.
[x] Request of a new feature.

Please select the area your request applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

[ ] Workspace - VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
[ ] Lookup - Dendron's Lookup Command
[ ] Views - Dendron Preview, Tree View, Side Panels in the UI
[ ] Schema - Dendron Schemas
[ ] Pod - Data import from / export to Dendron
[x] Publish - External Site Publish
[ ] Markdown - Markdown features, such as syntax support and features

Is your feature request related to a problem? Please describe
My team finds it difficult to lookup information on the dendron published site.
Describe the solution you'd like
Allow for the sidebar to look closer to something like that of "gitbook". My idea is to 1) remove root hierarchy from published site 2) have an option to allow default expansion of root-most hierarchies. To give an example, lets say I have 3 root hierarchies "foo", "bar", "baz". And let's say "foo" has children "1", "2", "3", and bar has "4", "5", "6", etc. Then I would like to specify a defaultExpandedNesting config of size 1, and this would make the view look like this in the sidebar.
foo
-1
-2
-3
bar
-1
-2
-3
baz
-1
-2
-3
It might even be nice to do this on a per-hierachy basis, to override the default expansion (for root hierarchies with many children). The default of this expansion value could be "0" which would be as it is, default as hidden/folded.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context

here is an example of a sidebar I think is more intuitive for looping up information, by categorizing in sections.
another inspirational example is the rust markdown book: https://rust-lang.github.io/mdBook/
all in all, i just want to make lookup / finding information work better in dendron published sites.

actually.. looking at https://wiki.dendron.so/ looks really good. i need to see how i can remove the note named "root". is the first note always expanded by default? or is this just the root note renamed.. hmm

im going to close this for now, because i myself am not even sure what i want. but will be active in discussions about it in the dendron discord.

bumping this because i really want it lol. upvote me!


[Hub Generated] Review request for Microsoft.DocumentDB to add version stable/2023-04-15

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.
ARM API Information (Control Plane)
Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo.  If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.
Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

[ ] I commit to follow the Breaking Change Policy of "no breaking changes"
[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[ ] Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review.  Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.

[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.
NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)
Please follow the link to find more details on PR review process.

hi @chunyu3, can you please review this PR? Thanks.

It will be great to address the linter error in the future releases.
https://github.com/Azure/azure-rest-api-specs/pull/23532/checks?check_run_id=12848147152

@chunyu3 we have got ARM sign off now. Can you help review this now? Thanks.


Fix failing test scenarios

Fixes OSIDB-3246

Seems like the change in this PR is mainly for reference, but failed cases listed in OSIDB-3246(in review) includes others like:

Update Document Text Fields – @1.1
Update CWE ID – @1.2
Update flaw state – @1.1
...

Will they be covered in this PR?

@qduanmu the rest of fail is because of the Object of type Flaw is not JSON serializable error. I check them one by one.

I ran all the test cases, but I still met the issues:  seleniumpagefactory.Pagefactory.ElementNotFoundException: An exception of type TimeoutException occurred. With Element -: flawPromotedMsg - locator: (xpath, //strong[text()='Flaw Promoted'])


White stripe after footer

This is a Bug Report
White stripe after footer
Problem:
White stripe after footer
Proposed Solution:
Remove padding in this button
Page to Update:
https://kubernetes.io/

/assign

/close
due to the proposed fix has been rejected.
Let's see switching over to docsy would fix this.


Waypoint: Nest an Anchor Element within a Paragraph

The only task I haven't completed is the "Your p element should have the text "View more " (with a space after it)." However, when I add a space after my code (line 34) it still doesn't accept my code.

@jaimehn thanks for posting this issue!
Please, post the link to the challenge.

Please review the Guidelines for Contributing, thank you!.

The challenge in question is this one. However, I am unable to repro this even with code that looks to be just like what you have in your screenshot. Please copy and paste all the code from your editor so that we can attempt to reproduce this.

Closing this as no repro.


Removed Microsoft.Authorization/*/write NetOps

Removed action Microsoft.Authorization/*/write from the NetOps role. A NetOps user should not be allowed to modify permissions on any scope.

@StefanIvemo : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

#sign-off

@BrianBlanchard : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@BrianBlanchard : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Update README.md

Fixed broken Mac App store download Icon

Thanks for your contribution @mriamnobody

Thanks for your contribution @mriamnobody

No big deal, just a small visual fix. I'm happy to contribute to the project in any way I can.


Include an event dispatcher

Update client object to allow for subscribing to basic events. First pass will support:

request_start
request_success
request_fail

The fetch() promise should still fail normally, but these events can be listened to on the client object in order to provide some global functionality.
api should look something like:
client.on('request_success', (request, response) => {
  // do something super cool here
}

Executing code like this must still work as expected:
client.fetch('/some/path', {method: 'get'})
  .then((response) => {
    // the event fired and I'm still executing code here like normal
  });

Make sure to document in the readme the events that are dispatched and when they're dispatched.

Gonna use https://www.npmjs.com/package/eventemitter2

I'm a bit worried about blowing up bundles with an event emitter. Their codebase is pretty small, though, so if we think it's necessary we can figure out how to include it optionally, or refactor it out and just rely on the middleware implementation.

EventEmitter2 looks like it comes in around 8.2KB minified, 2.2KB gzipped, and has no dependencies. I'm pretty OK with that.

We've been discussing whether or not this should be done on #5.

Doing it! Need to update with build stuff, etc, then gonna merge

closed by #12


GH-134: Add Validity functions

Adding is_null, is_not_null, and is_nan functions and tests to the Compute implementations for Go.
This also removes the -ffast-math option from the SIMD optimized compiler Makefile so that  our comparisons properly handle NaN values (-ffast-math assumes that no values are NaN and removes the checks). is_nan can be easily implemented for float and double values by dispatching to A != A.
Tests are also added for the new functions.
Ultimately the driving force behind this is as these are necessary for implementing scanning reads in iceberg-go

@kou it took a while, but i figured out the cause of the failures. it was the upgrade to the new version of xstrings. v1.4.0 of xstrings.ToCamelCase capitalizes the first letter of the word, while v1.5.0 of ToCamelCase doesn't capitalize the first letter. They really should have marked that as a breaking change :( I think i'll look for something other than xstrings to perform the camel casing there so we don't have to rely on an old version of a package

The lint failure was caused by mixing Go 1.22 and 1.23. See also: https://github.com/golangci/golangci-lint/issues/4908
I've pushed a commit to ensure using Go 1.23 for pre-commit.


Files created by pvenv are not ignored by git

After successfully setting up the project, the files/folders below are created, but aren't ignored by git.  Which ones should be ignored?
bin/
gaffer/
pip-selfcheck.json
pyvenv.cfg

all of them. Thanks!
In fact, I should also remove gaffer as a requirement. It's wholly unnecessary to the project.

closed with https://github.com/codeforamerica/pdfhook/commit/ab172f902404f8e6adb7842a8b03a05c1c44faad


:bug: overlapping validation with text on the date field

Motivation and context

Screenshots:

Before
After

[before screenshot]
[after screenshot]

Testing

New environment variables:

env var : env var details

New dependencies:

dependency : dependency details

New dev dependencies:

dependency : dependency details


找不到名称“defineOptions”，已经设置了types和config ，还是会提示

Describe the bug

如上图所示，一直在vue文件中显示找不到名称，试过删掉依赖重现安装，还是会提示
Reproduction
defineOptions
System Info
macOS

Used Package Manager
yarn
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

https://antfu.me/posts/why-reproductions-are-required-zh

暂时关闭本 issue，请提供复现仓库后打开。


Give node chance to catchup rather than assert

If a node is not ready to externalize a block due to missing signatures from other nodes it is better to give it a chance to get the block during periodic catchup than abort processing completely.

It would be better to add a networking test with valueExternalized overridden.

It would be better to add a networking test with valueExternalized overridden.

It would be better to add a networking test with valueExternalized overridden.

I added agora.test.PeriodicCatchup.d to check that block is fetched from another node when not externalized by nominator

It would be better to add a networking test with valueExternalized overridden.

I added agora.test.PeriodicCatchup.d to check that block is fetched from another node when not externalized by nominator


No Linux i386 support in ASF V3?

It seems the new .NET Core requirement does not provide packages for 32-bit Linux. So that means that there is no way to run ASF V3 on older i386 Linux systems? Is it possible to provide a pre-compiled package that will still work?

Of course, even if you don't have OS-specific package available for your OS-architecture combination, you can always install appropriate .NET Core runtime yourself and run generic ASF flavour, which is also the main reason why it exists in the first place.

There doesn't seem to be a .NET Core runtime for i386 Linux, that's the whole problem.

Then probably this is not the right place to ask about this.

Where else would I ask the ASF developer if his software can still run on 32-bit Linux?

This is not ASF issue. It's NET Core issue.
You should check this for the x86 builds, because that's the best source to check from.

Archi chose to port ASF over to .NET Core, so if that has issues they're automatically ASF issues for ASF users. I get that you two are trying to help but none of you are actually answering my question. If Archi answers this issue with "no, i386 isn't supported, and that was a conscious decision" then my question is answered. If he knows of a way to make it work then that is an even better answer.
If ASF V3 consciously dropped i386 support then that means i386 users will have to keep using ASF V2 until they can upgrade to a 64-bit system. Not an ideal situation, and one which I'm obviously a bit unhappy about, but it is a workable one. At the very least this should be included in the V3 migration guide, since there is no mention of this problem at this time.

There is no chance to get x32 version until it is supported by .NET Core, so I personally would recommend to stick to ASF v2 until then.

i386 architecture is dropped, for the same reason there is no win-x86 OS-specific package. x86 architecture is obsolete since at least 13 years and it was intentional behaviour to not support it right away.
However, as @Ryzhehvost pointed out above, you can still run ASF in generic variant if there is .NET Core runtime for your platform. This goes regardless of what ASF decides to build OS-specific package for.


Spring framework 4 compatibility

Description

Added a compatibility interceptor that should work with spring framework 4.X, 5.X and 6.X.
I only altered the current classes to allow extending them enough to patch the status code, and discard the use of HttpStatusCode.

Motivation and Context

I have to maintain an old spring framework 4 project, which can't be migrated. I can't use latest logbook. due to spring HttpStatusCode class missing, Intellij doesn't like it and prevent proper loading of the project.

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[X] I have added tests to cover my changes.

Alternative solutions (ideas to review)

Instead of this PR, I could remove spring dependency from logbook-parent, and add new sub-modules for each client version of spring (similar to httpclient/httpclient5). I can create extra sub-module for logbook-spring4 and logbook-spring5, that way the tests would be on real framework without reflection shenanigans.
Right now, logbook-spring use a method that is documented to be removed in 6.2, should it be erased now.
Optionally, for consistency, renaming logbook-spring to logbook-spring6?

If we can decline this PR, I can look for the sub-modules approach, I opened this PR to start the conversation, to see if there was interest to support older spring 4 version. If this approach with reflection is acceptable, I got a few ideas improve this PR.
Waiting for feedback.

@luc-leclerc Thanks a lot for opening this PR. I read through it and even wrote an application to check the interceptor, both for Spring 5 (which works with Logbook 3+) and 4 (which is supported by Logbook 2.x).
While appreciating the effort you did here, and after careful consideration, there are a few reasons why I'm leaned toward not going forward with the PR:

Spring 4.x has reached its end of life long ago, and as such, its support was dropped in Logbook 3. We are planning to also drop support for Spring 5 sometime in the future (maybe 1 year, maybe several years - but the wish is there.) As the developers for a library, supporting many different versions is really hard: Every now and then, something breaks and it takes time and effort to fix it, rather than focusing on adding new features.
The alternative exists: Use Logbook 2.16 and it works fine with Spring 4.x.
Class inheritance (as opposed to interface inheritance) is discouraged, and to the best of my knowledge, the original developer of this library tried to avoid it. (See his comment on one of my PRs). I agree and like to honor his design.
This PR does not add "Spring framework 4 compatibility" - rather, it only adds support for the Logbook filter for RestTemplate. I can envision that some other developer might be interested in full Spring framework 4 compatibility, and that's a pandora box I don't dare to open (👰❓🎁🔝🌋😈).


removed several unused internal APIs

removed undocumented API GET /_admin/routing/routes
removed undocumented JavaScript module @arangodb/actions from the ArangoShell
(note: a module with the same name is still present in the arangod server). This
module contained the functions printRouting and printFlatRouting, and was
used for debugging.
removed undocumented JavaScript function internal.routingCache from the
ArangoShell
removed undocumented JavaScript module @arangodb/database-version from arangod
ported REST API GET /_admin/database/target-version from JavaScript to C++

http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/691/

ok it is not used in Foxx CLI


Mouse shows dragging hand when not dragging

Godot version:
3.0.3
OS/device including version:
elementary OS 0.4.1
Issue description:
When holding spacebar to drag the hand should not show a closed hand when not dragging. It should only show a spacebar when you are dragging.

Steps to reproduce:

Hold space bar in a scene
Notice the hand is closed
Be confused when the scene isn't dragged when you move the mouse
Hold the mouse down, see that it is dragging

I can confirm this on https://github.com/godotengine/godot/commit/a18989602b00f2940befa0b780af14efc7603dd8, both when dragging with the space bar (with Simple Spacebar Panning enabled in the Editor Settings) and the middle mouse button. The "dragging" cursor remains visible at the end of the dragging operation until you move the cursor again.

It seems that as of https://github.com/godotengine/godot/commit/efd55631e2f05141072c26129bdc75d65cd1c53c, the cursor no longer turns into a "dragging" shape when panning (on Linux). It just keeps its original arrow form. Is this intended?

@Calinou I think that depends on your OS theme and whether it provides a specific cursor for this action.

@akien-mga I tried switching from DMZ-White to Adwaita then rebooting, but I still can't see a dragging cursor. Also, I can still see the "dragging" cursor when moving something in the 2D editor, just not when panning.
Maybe this warrants a separate issue?

I don't see it anymore


Allow default folder for "Find in folder"-shortcut

Currently, if you select a file in the file explorer, the shift+alt+f shortcut does nothing, since you haven't selected a folder.
This makes the shortcut rather useless, since you're forced to select the folder first, in which case you might as well right click it and select Find in folder...
By allowing us to set a default, or just implementing "Find in root" as a default when a folder is not selected, the shortcut would have much more value.

The described behavior is how it is expected to work. If you disagree, please explain what is expected and what is not in more detail. See also our issue reporting guidelines.
Happy Coding!

When you right click a file the command is not available which is why the shortcut doesn't operate. Are you able to use symbol search or something else to accomplish your task? We would have to add the Find in Folder option to all context menus which feels weird for a file, especially because we try to steer away from assuming defaults.


Fix when empty content is provided, and fix updated behavior

When you simply want to create an empty hint (e.g. for EC2) and the hint
doesn't yet exist with non-empty content, it will report as up to date
because of a bad check on the content.
The content check could've been fixed, but I'd rather rely on the
resources just doing their thing instead. This simplifies the LWRP
considerably and also improves the reporting of whether anything was
actually done.

Merging #22 introduced conflicts. If you still need this rebase it and let me know.

Unfortunately I don't work at the company that owns this fork anymore. Furthermore, I no longer work with Chef on a daily basis, so I'd be unhelpful with testing any rebased change. I think it's useful behavior though, so someone should pick it up. I'm happy to rebase and just chuck it over the wall, if you're willing to test it. Would be a new PR because I no longer have write access to the fork.

Review status: 0 of 2 files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from the review on Reviewable.io

Superseded by #27


Adds Contributing steps in the CONTRIBUTING.md

I added the required workflow for the contribution.
i.e. commands required to clone, commit, push etc.

For comments on typos, please refer to https://github.com/xlang-ai/OpenAgents/issues/26 , and leave comments there


server,store(session): remove koa-session based session setup

This mechanism will be unnecessary after #1280

Should also remove the cookie rewrite in compas proxy


[Python] Possibility of a table.drop_duplicates() function?

I noticed that there is a group_by() and sort_by() function in the 7.0.0 branch. Is it possible to include a drop_duplicates() function as well?

id
updated_at

1
2022-01-01 04:23:57

2
2022-01-01 07:19:21

2
2022-01-10 22:14:01

Something like this which would return a table without the second row in the example above would be great.
I usually am reading an append-only dataset and then I need to report on latest version of each row. To drop duplicates, I am temporarily converting the append-only table to a pandas DataFrame, and then I convert it back to a table and save a separate "latest-version" dataset.
table.sort_by(sorting=[("id", "ascending"), ("updated_at", "ascending")]).drop_duplicates(subset=["id"] keep="last")

Reporter: Lance Dacey / @ldacey
Note: This issue was originally created as ARROW-15474. Please see the migration documentation for further details.

It would be nice even to have a basic version of this function that doesn't support subset and keep; just does distinct values of all columns. This is already implemented in R, so we should have everything we need to write that initial pass.

@wjones127 where is this implemented in the R package? (or which name is it using, I don't find it based on "duplicate")
BTW, one of the possible workarounds that was being discussed above, using groupby, nowadays works because the "first"/"last" ordered aggregations have been added:
In [19]: table = pa.table({'a': [1, 2, 1, 3], 'b': ['a', 'b','c', 'd']})

In [20]: table.group_by("a", use_threads=False).aggregate([("b", "last")])
Out[20]:
pyarrow.Table
a: int64
b_last: string
----
a: [[1,2,3]]
b_last: [["c","b","d"]]

pyarrow_utils.py
import pyarrow as pa
import pyarrow.compute as pc
import uuid
from typing import Optional, List, Literal

def drop_duplicates(
    table: pa.Table,
    on: Optional[List[str]] = None,
    keep: Literal['first', 'last'] = 'first'
) -> pa.Table:
    """
    Remove duplicate rows from a PyArrow table based on specified columns.

    This function efficiently removes duplicate rows from a PyArrow table,
    keeping either the first or last occurrence of each unique combination
    of values in the specified columns.

    Args:
        table (pa.Table): The input PyArrow table.
        on (Optional[List[str]]): List of column names to consider for identifying duplicates.
            If None, all columns are used.
        keep (Literal['first', 'last']): Whether to keep the first or last occurrence of duplicates.

    Returns:
        pa.Table: A new PyArrow table with duplicates removed.

    Raises:
        ValueError: If 'keep' is not 'first' or 'last'.

    Example:
        >>> import pyarrow as pa
        >>> data = [
        ...     pa.array([1, 2, 2, 3]),
        ...     pa.array(['a', 'b', 'b', 'c']),
        ...     pa.array([10, 20, 30, 40])
        ... ]
        >>> table = pa.Table.from_arrays(data, names=['id', 'name', 'value'])
        >>> deduped = drop_duplicates(table, on=['id', 'name'], keep='first')
        >>> print(deduped)
        pyarrow.Table
        id: int64
        name: string
        value: int64
        ----
        id: [1, 2, 3]
        name: ["a", "b", "c"]
        value: [10, 20, 40]
    """
    if keep not in ['first', 'last']:
        raise ValueError("Parameter 'keep' must be either 'first' or 'last'")

    if not on:
        on = table.column_names

    num_rows = table.num_rows

    # Create row numbers and add as a new column with a unique name
    row_numbers = pa.array(np.arange(num_rows, dtype=np.int64), type=pa.int64())  # Create int64 row numbers with arange
    unique_row_index = f"index_{uuid.uuid4().hex}"  # Generate a unique column name for row index
    table_with_index = table.append_column(unique_row_index, row_numbers)  # Add the row index as a new column

    # Group by specified columns and aggregate to get unique indices
    unique_indices = (
        table_with_index
        .group_by(on, use_threads=False)
        .aggregate([(unique_row_index, keep)])
    )

    # Create a boolean mask based on unique row numbers
    unique_row_numbers = unique_indices.column(f'{unique_row_index}_{keep}')
    mask = pc.is_in(row_numbers, value_set=unique_row_numbers)

    # Apply the filter and remove the temporary index column
    return table_with_index.filter(mask).drop([unique_row_index])

pyarrow_drop_duplicates.py
import time
from typing import List, Literal, Tuple, Callable, Optional
from uuid import uuid4

import numpy as np
import pyarrow as pa
import pyarrow.compute as pc

def drop_duplicates(
        table: pa.Table,
        on: Optional[List[str]] = None,
        keep: Literal['first', 'last'] = 'first'
) -> pa.Table:
    """
    Remove duplicate rows from a PyArrow table based on specified columns.
    This function efficiently removes duplicate rows from a PyArrow table,
    keeping either the first or last occurrence of each unique combination
    of values in the specified columns.
    Args:
        table (pa.Table): The input PyArrow table.
        on (Optional[List[str]]): List of column names to consider for identifying duplicates.
            If None, all columns are used.
        keep (Literal['first', 'last']): Whether to keep the first or last occurrence of duplicates.
    Returns:
        pa.Table: A new PyArrow table with duplicates removed.
    Raises:
        ValueError: If 'keep' is not 'first' or 'last'.
        TypeError: If 'table' is not a PyArrow Table.
    Example:
        >>> import pyarrow as pa
        >>> data = [
        ...     pa.array([1, 2, 2, 3]),
        ...     pa.array(['a', 'b', 'b', 'c']),
        ...     pa.array([10, 20, 30, 40])
        ... ]
        >>> table = pa.Table.from_arrays(data, names=['id', 'name', 'value'])
        >>> deduped = drop_duplicates(table, on=['id', 'name'], keep='first')
        >>> print(deduped)
        pyarrow.Table
        id: int64
        name: string
        value: int64
        ----
        id: [1, 2, 3]
        name: ["a", "b", "c"]
        value: [10, 20, 40]
    """
    if not isinstance(table, pa.Table):
        raise TypeError("Parameter 'table' must be a PyArrow Table")

    if keep not in ['first', 'last']:
        raise ValueError("Parameter 'keep' must be either 'first' or 'last'")

    if not on:
        on = table.column_names

    # Generate a unique column name for row index
    index_column = f"index_{uuid4().hex}"
    index_aggregate_column = f'{index_column}_{keep}'

    # Create row numbers
    num_rows = table.num_rows
    row_numbers = pa.array(np.arange(num_rows, dtype=np.int64))

    # Append row numbers, group by specified columns, and aggregate
    unique_indices = (
        table.append_column(index_column, row_numbers)
        .group_by(on, use_threads=False)
        .aggregate([(index_column, keep)])
    ).column(index_aggregate_column)

    return pc.take(table, unique_indices, boundscheck=False)

def drop_duplicates_filter(table, on=None, keep='first'):
    if not on:
        on = table.column_names
    row_numbers = pa.array(np.arange(table.num_rows, dtype=np.int64))
    index_column = f"index_{uuid4().hex}"
    index_aggregate_column = f'{index_column}_{keep}'
    table_with_index = table.append_column(index_column, row_numbers)
    unique_indices = table_with_index.group_by(on, use_threads=False).aggregate([(index_column, keep)])
    unique_row_numbers = unique_indices.column(index_aggregate_column)
    mask = pc.is_in(row_numbers, value_set=unique_row_numbers)
    return table.filter(mask)

def drop_duplicates_join(table, on=None, keep='first'):
    if not on:
        on = table.column_names
    index_column = f"index_{uuid4().hex}"
    index_aggregate_column = f'{index_column}_{keep}'
    row_numbers = pa.array(np.arange(table.num_rows, dtype=np.int64))
    table_with_index = table.append_column(index_column, row_numbers)
    unique_indices = table_with_index.group_by(on, use_threads=False).aggregate([(index_column, keep)])
    return table_with_index.join(
        unique_indices,
        keys=index_column,
        right_keys=index_aggregate_column,
        join_type='left semi',
        use_threads=True
    ).drop(index_column)

Results
Benchmarking with 10,000,000 rows and 10,000 groups

Benchmarking with keep='first':
Filter method time: 2.8038 seconds
Join method time: 1.9018 seconds
Take method time: 1.6372 seconds

Benchmarking with keep='last':
Filter method time: 2.8951 seconds
Join method time: 1.9269 seconds
Take method time: 1.6332 seconds

Findings

Both Join and Take methods consistently outperformed the current Filter method.
Take method showed best performance, reducing execution time by ~43%.
Join method also showed significant improvement, reducing time by ~33%.
Performance gains were consistent for both keep='first' and keep='last'.
The filter and take method produce identical results, but the join method uses threading and does not preserve order.

See gist for full implementation.  Leave a comment in the gist if you can manage to make this more efficient.


[TOPI] Support deconvolution in opengl

When trying to deploy a model of mine that uses deconvolution for upsampling of feature maps, I get the following error when trying to target opengl.
NNVMError: TVMCall CFunc Error: Traceback (most recent call last):   File "/usr/local/lib/python2.7/dist-packages/tvm-0.2.0-py2.7-linux-x86_64.egg/tvm/_ffi/_ctypes/function.py", line 54, in cfun     rv = local_pyfunc(*pyargs)   File "/usr/local/lib/python2.7/dist-packages/nnvm-0.8.0-py2.7.egg/nnvm/top/nn.py", line 138, in schedule_conv2d_transpose     return topi.generic.schedule_conv2d_transpose_nchw(outs)   File "<decorator-gen-164>", line 2, in schedule_conv2d_transpose_nchw   File "/usr/local/lib/python2.7/dist-packages/tvm-0.2.0-py2.7-linux-x86_64.egg/tvm/target.py", line 343, in dispatch_func     return func(*args, **kwargs)   File "/usr/local/lib/python2.7/dist-packages/topi-0.2.0-py2.7.egg/topi/generic/nn.py", line 71, in schedule_conv2d_transpose_nchw     return _default_schedule(outs, False)   File "/usr/local/lib/python2.7/dist-packages/topi-0.2.0-py2.7.egg/topi/generic/nn.py", line 11, in _default_schedule     raise RuntimeError("schedule not registered for '%s'" % target) RuntimeError: schedule not registered for 'opengl'

I'm currently trying to target a raspberry pi's GPU.

I see, although it is possible to program QPU via OpenGL. My guess is that it won't yield desired performance. A better way might be build a direct QPU asm backend for TVM. In the meanwhile, the peak flops you can get from ARM core is already as good as QPU(if we optimize for 8bit) so we there is no official effort on this.

Thank you, I'll try deploying to the raspberry pi CPU to see if it is sufficient.


FileNotFoundError: [Errno 2] No such file or directory: '../../condition/CCSCM/id2ent.json'

Imcomplete file uploading

Please use /graphcare_/graph_generation/{cond,proc,drug}_emb_ret.ipynb to get those files. Thanks.

Please use /graphcare_/graph_generation/{cond,proc,drug}_emb_ret.ipynb to get those files. Thanks.

When I run proc_emb_ret.ipynb, it gets:
FileNotFoundError: [Errno 2] No such file or directory: '../../graphs/procedure/CCSPROC/1.txt'

You need to generate those knowledge graphs from graph_gen.ipynb first.


Cannot use multiple parameters in IE 11

IE 11 does not support multiple parameters for the add() & remove() methods.
https://caniuse.com/#feat=classlist
Please change the format of the comments to suit your project's policies.

Thanks @Sixeight 👍


No matching distribution found for blast-radius

hey there - i get this message when trying to install your amazing tool!
pip3 install blast-radius
Collecting blast-radius
  Could not find a version that satisfies the requirement blast-radius (from versions: )
No matching distribution found for blast-radius

Hi @vr00n,
I’ve just noticed a typo in the readme. It’s actually BlastRadius in PyPi (camel-case) rather than blast-radius (hyphenated). Facepalm.
On the road right now, but I’ll tweak the docs when I’m back.
Thanks for opening an issue, and brining this up!


VSCode terminal hangs after resizing the terminal window during git diff

Type: Performance Issue
I copied it from https://github.com/microsoft/vscode/issues/198599 because I was told to create an actionable issue, so here we go:
VS Code Version:
Version: 1.84.2 (user setup)
Commit: 1a5daa3
Date: 2023-11-09T10:51:52.184Z
Electron: 25.9.2
ElectronBuildId: 24603566
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19045

OS Version:
Windows 10 Home, 19045.3693

Steps to Reproduce:

Open any project that has git revisioning.
Make enough changes to any file(s) so that git diff won't be able show everything all at once in the terminal.
Use git diff
Use the space key to automatically scroll down until the terminal shows "END".
Instead of immediately pressing "q" to leave, change the terminal's size with your mouse, making it bigger. A bunch of lines with the ~ character should appear.
Now press q
The "END" string disappears, but the terminal input doesn't appear.

Oddly enough this only happens on my private PC as specified above, but not at work, so it might not be easy to reproduce for you, but if there is a way to generate a log to add here I'll create one if it helps.
It happened both for a C++ project and a Python project, so I don't think it's a language-specific bug.
VS Code version: Code 1.84.2 (1a5daa3a0231a0fbba4f14db7ec463cf99d7768e, 2023-11-09T10:51:52.184Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info

Item
Value

CPUs
AMD Ryzen 7 2700X Eight-Core Processor          (16 x 3700)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
31.95GB (25.15GB free)

Process Argv
--crash-reporter-id 1c5963c6-977a-498f-9056-eee90898ca81

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
    0	   126	 21284	code main
    0	    41	  2804	   utility-network-service
    0	   145	  4092	extensionHost [1]
    0	    81	  5836	fileWatcher [1]
    0	    90	 13212	window [2] (Issue Reporter)
    0	    29	 14860	   crashpad-handler
    0	   105	 15744	   gpu-process
    0	   106	 18524	shared-process
    0	   212	 19596	window [1] (main.py - Lexive - Visual Studio Code)
    0	    91	 21412	ptyHost
    0	     7	  1452	     conpty-agent
    0	    71	 16900	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"d:\Programme\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\browser\media\shellIntegration.ps1\" } catch {}"

Workspace Info
|  Window (main.py - Lexive - Visual Studio Code)
|    Folder (Lexive): 103 files
|      File types: lexive(38) jpg(24) csv(12) py(7) xlsx(6) pyc(5)
|                  gitignore(1) png(1)
|      Conf files:;

Extensions (2)

Extension
Author (truncated)
Version

Bookmarks
ale
13.4.2

gitlens
eam
14.5.1

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263:30880072
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
282f8724:30602487
f6dab269:30613381
a9j8j154:30646983
showlangstatbar:30737416
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
pythonnosmt12:30797651
pythonidxpt:30866567
pythonnoceb:30805159
synctok:30869157
dsvsc013:30795093
dsvsc014:30804076
dsvsc015:30845448
pythontestfixt:30871694
pythonregdiag2:30871582
pyreplss1:30886140
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
dsvsc016cf:30886111
dsvsc017cf:30886113
dsvsc018:30886114
aa_t_chat:30882232

This looks like an issue with our old terminal backend "winpty", going forward we are focusing our efforts on the new backend "conpty" which is build by the Console team at Microsoft and should fix many issues with the terminal under Windows. You will need to upgrade Windows to use conpty. You can read more about ConPTY here and here.
/duplicate https://github.com/Microsoft/vscode/issues/45693


navigation links sidebar overlays main body text on small screens

[ ] This is a question about using the theme.
[x] I believe this to be a bug with the theme --- not Jekyll, GitHub Pages or one of the bundled plugins.
[ ] This is a feature request.
[ ] I have updated all gems with bundle update.
[ ] I have tested locally with bundle exec jekyll build.

Expected behavior
navigation sidebar either disappears when screen too narrow or scrolls away as the page is scrolled, does not overlay text from main page
Steps to reproduce the behavior
Visit the below page on a smaller width screen and scroll down a little:
https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/
The navigation sidebar text overlays the main text.
I'd personally prefer the navigation text to be hidden when the screen is too narrow (navigation is possible from elsewhere anyway)...

Can you attach a screenshot of the overlap? I'm not seeing it.

here's a screenshot with chrome/mac:

The same issue occurs on my android phone. It doesn't reproduce on firefox/mac or safari/mac

Ah yeah I see it. It's related to a pull request @ZenHarbinger submitted to cleanup the sidebar https://github.com/mmistakes/minimal-mistakes/commit/c3e2272a6f6a611c6cf684f1dbfa2ee95c7b387c
There's a bit of JavaScript in there that's probably not triggering properly on the custom sidebar shown in the Documentation section of the site.
Definitely a bug.

My bad, I guess there isn't always an author's button and it needs a hard width value.  I can see if a better condition can be found.
At least I'm assuming that this situation doesn't have the author button.
I'll look at it when I get a chance.

Sounds good. Thanks @ZenHarbinger

How do you generate your minimized javascript?

@ZenHarbinger Through a npm script that pipes it through UglifyJS.
Docs: https://mmistakes.github.io/minimal-mistakes/docs/javascript/

Awesome, one thing, can you update the page; I instead of
npm build:js

it's
npm run build:js

at least it is for node 6.3, if it's still that for 4.x, nevermind.
That is all, I'm working on this as we speak.

Good catch. It's a typo I missed.


[build] Always use -std=c++0x for src/common components.

Some plugins disables -std=c++0x flag for compilation
of generated sources (mediaserver, media_renderer, speech).
This implies to src/common and prevents usage of C++11 features.
This patch separates src/common as a static_library target.
BUG=XWALK-3678

I think there's a much simpler solution to the whole problem. Those targets that disable C++11 support seem to do that because they were being applied to C files as well.
Just move -std=c++0x from cflags to cflags_cc in common.gypi and the workarounds in the other gyp files can be removed altogether.

Thanks @rakuco. It's simple and working like a charm. Pushing update.

LGTM, and will merge. Thanks for @rakuco 's nice suggestion.

A follow-up would be to remove the chunks in the other gyp files that unset -std=c++0x as well.

@rakuco good point, I will check this and prepare PR.


[Library/objspace] Add more specs

Hi @eregon,
I want to work on object space.
Does this generated stuff looks good to you? Any advices before diving into it?
Thank you!
--
Quick links
http://tmm1.net/ruby21-objspace/
http://ruby-doc.org/stdlib-2.2.3/libdoc/objspace/rdoc/ObjectSpace.html
https://github.com/ruby/ruby/blob/885d781abcfce71458b705d227cb719b8d045214/test/objspace/test_objspace.rb
https://github.com/jruby/jruby/blob/master/test/mri/objspace/test_objspace.rb

Hi @JuanitoFatas!
objspace is mostly a MRI-only library as mentioned in the docs:
Generally, you *SHOULD NOT* use this library if you do not know about the MRI implementation.
Mainly, this library is for (memory) profiler developers and MRI developers who need to know
about MRI memory usage.

This means it is not likely to be supported on other implementations and is considered to be mostly an implementation-dependent library.
The generator is not so precise for libraries, in this case only methods which are not in "core" ObjectSpace (when not requiring objspace) should be part of library/objectspace.
These methods (on 2.2.2) are:
:memsize_of, :memsize_of_all, :count_objects_size, :count_nodes, :count_tdata_objects, :reachable_objects_from, :reachable_objects_from_root, :trace_object_allocations, :trace_object_allocations_start, :trace_object_allocations_stop, :trace_object_allocations_clear, :trace_object_allocations_debug_start, :allocation_sourcefile, :allocation_sourceline, :allocation_class_path, :allocation_method_id, :allocation_generation, :dump, :dump_all
Almost all of them indeed seem extremely dependent on MRI internals and even though some other implementations might find useful to support some of them (say memsize_of) they are unlikely to give the same results. Therefore I think adding these highly impl-dependent methods to RubySpec has little value, as they are essentially MRI-only features. Some of them are also exprimental or "only expected to work with C Ruby".
Therefore I think a better place for this is the MRI-specific test suite (which already tests some of these).
OTOH, core ObjectSpace (:define_finalizer, :undefine_finalizer, :_id2ref, :count_objects) could enjoy more specs.
@chrisseaton has been working on each_object so I think that's mostly covered now, but the rest is free :smile:


Use new gradle and kotlin, fix warnings

Updated Gradle to 7.5.1 (it supports Java up to 18),
aligned kotlin plugin and dependencies to the same version used in Gradle.
Fixed several deprecations/warnings that were posted in build output.

@psxpaul , hello, please have a look at this PR, https://github.com/psxpaul/gradle-execfork-plugin/pull/57 and https://github.com/psxpaul/gradle-execfork-plugin/pull/58 when you have time. Thanks!

Thanks for doing this. I've updated java, kotlin, and gradle separately.

Thanks! Whatever way is suitable for you, the main thing is that it the code is updated and published. 👍


xcodeproj dependency is too old to update cocoapods

We use CocoaPods alongside CocoaSeeds but it is not possible for us to update to<EMAIL_ADDRESS>because the xcodeproj version dependency conflicts.
Could you please update CocoaSeeds to depend on the latest version?

No problem!

2c11c88050e22029beddd18eff72603f46c95879 resolves this issue and this commit has been shipped in 0.5.3 release.


Prepare publishing plugin 1.3.0

What does this PR do?
Update Changelog and version

Codecov Report

Merging #77 (29c1ad8) into release/1.3.0 (5b5ced9) will decrease coverage by 0.25%.
The diff coverage is n/a.

@@                 Coverage Diff                 @@
##             release/1.3.0      #77      +/-   ##
===================================================
- Coverage            90.43%   90.18%   -0.25%
  Complexity             134      134
===================================================
  Files                   20       20
  Lines                  397      397
  Branches                45       45
===================================================
- Hits                   359      358       -1
- Misses                  23       24       +1
  Partials                15       15

Impacted Files
Coverage Δ

...in/kotlin/com/datadog/gradle/plugin/DatadogSite.kt
80.00% <0.00%> (-6.67%)
:arrow_down:


Changed book links to second edition.

Links to the book are now updated to the second edition.
Macros is still using the first book since there is no chapter on it in the second book yet. To indicate this I changed the wording of the link from:
Check out the Macros section of the book
To:
Check out the Macros section of the first book

Thank you!! Sorry it took me so long to merge this!!


It just shows error on release mode

I don't know what's the problem of  it, but compiling it in release mode makes the video not render and just shows error, I have internet permission in android manifest idk what's the problem.

If you are using http you need a extra configuration on your AndroidManifest.xml

I just use your example code in this repo, debug works but no luck in release mode, btw thanks for making this project.

It has both of these android:usesCleartextTraffic="true and


Release 1.0

We are thinking of releasing 1.0 the next week with the current state (1:1 migration from each repo) so that users could be more confidently migrate over, if no major bug/issue occurs before that.
A few future plans in my head:

v1.0.0

1:1 migration from each source project

v2.0.0

Rewrite in TS with unified tooling

v3.0.0

Merge TS and JS rules into one. Soft deprecate js/ts standalone packages.

It is good!

Merge TS and JS rules into one. Soft deprecate js/ts standalone packages.

Would this introduce a dependency of the TS parser for JS users? I'm not particularily fond of it because it is like twice as slow with no benefits for JS.

Would this introduce a dependency of the TS parser for JS users?

I think the answer is no. There is no parser dependency for @stylistic/eslint-plugin-ts at now.
You can choose any parser you like. You can also use babel even if you have ts files.
https://github.com/eslint-stylistic/eslint-stylistic/blob/1077846d62b7d7469f7dd4d8ef967733e4d5a9d6/packages/eslint-plugin-ts/package.json#L43

You can choose any parser you like. You can also use babel even if you have ts files.

Good to hear. I'm using the espree for JS and @typescript-eslint/parser for TS. Best of both worlds this way.

Everything seems to be working fine. Cut the release now so we can start iterating!
https://github.com/eslint-stylistic/eslint-stylistic/releases/tag/v1.0.0


Support itk.Matrix to NumPy array support

This is important for setting the direction cosines on an itk.Image, for example.
xref https://discourse.itk.org/t/set-image-direction-from-numpy-array/844/14

This is already available in ITK 5.0. e.g.:
import itk
import numpy as np

image = itk.Image.New()
matrix = image.GetDirection()
array = itk.array_from_matrix(matrix)
matrix = itk.matrix_from_array

#1122 additionally supports setting an image's Direction with a NumPy Array.


Review 1

In the branch MyTheme, add the following to your google analytics epic as a user story/task:
"As a website owner, I want to create a Google Analytics account for MyWebClass so that I can track website traffic and user behavior."

Done


Support Redis cluster nodes.

If StrictRedisCluster accecpts password=None, you might use config.get('PASSWORD', None) to simplify the judgement statement.
And, another step, you may assign the class to redis_cls variable to simplify.

@julyclyde if there is password arg, it requires AUTH.


[C++][Parquet] olumn reader: automatically handle large data pages

Currently, we are only supporting data pages whose headers are 64K or less (see parquet/column/serialized-page.cc. Since page headers can essentially be arbitrarily large (in pathological cases) because of the page statistics, if deserializing the page header fails, we should attempt to read a progressively larger amount of file data in effort to find the end of the page header.
As part of this (and to make testing easier!), the maximum data page header size should be configurable. We can write test cases by defining appropriate Statistics structs to yield serialized page headers of whatever desired size.
On malformed files, we may run past the end of the file, in such cases we should raise a reasonable exception.
Reporter: Wes McKinney / @wesm
Assignee: Deepak Majeti](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=mdeepak) / @majetideepak
Note: This issue was originally created as PARQUET-505. Please see the migration documentation for further details.

Julien Le Dem / @julienledem:
Issue resolved by pull request 44
https://github.com/apache/parquet-cpp/pull/44

Wes McKinney / @wesm:
@majetideepak I have looked at the Impala code that handles this, I presume there is corresponding code in parquet-mr that inspects more and more of the file until finding a complete page header.
This patch will require a unit test fixture for SerializedPageReader; let me know if I can help with that.

Deepak Majeti / @majetideepak:
@wesm I followed the Impala code.  I am adding a unit test as well.
–
regards,
Deepak Majeti


Lazy loading fails

I have a fairly complex plugin for a CMS called DNN, our plugin is called 2sxc - here on github. It's a generic data model/editing content-management component and uses angular-formly to create generic forms.
Since it's generic, it's also important that scripts are loaded as needed, otherwise the edit-ui becomes much too large with google-maps scripts, wysiwyg-scripts etc. when the user only needed three input fields.
We're using OC Lazyload to lazy-load scripts as needed. Using tinymce and ui-tinymce this fails. I haven't been able to find the exact issues yet, but I do see that https://github.com/angular-ui/ui-tinymce/blob/master/src/tinymce.js#L17-L19 shows a classic "get out of the code if I can't find tinymce" which is probably part of the problem.
Has anybody managed to lazy-load this properly?

I got a solution to work - not perfect yet so I'll see if I can improve, but I'll share my current working solution:
HTML:
        <lazy-load-tinymce>

        </lazy-load-tinymce>

Javascript directive
        .directive('lazyLoadTinymce', function ($compile) {
            return {
                restrict: 'E',
                controller: function ($scope, $element, $interval, $window) {
                    var checkIfTinyMceLoaded = $interval(function() {
                        if (!$window.tinymce) return;
                            $interval.cancel(checkIfTinyMceLoaded);
                            var orig = $element[0].innerHTML.replace(/lazy-/g, "");
                            var el = $compile(orig)($scope);
                            $element.replaceWith(el);
                    }, 10);
                }
            };
        })

I have not yet tried to lazy load this plugin myself.
Could you post a plunker reproducing the problem you are having, and maybe one with the temporary fix so we can look into it more.
I'm happy to get some code in to allow for lazy loading as long as we do not lose anything such as performance or features. Feel free to open a PR following the contribution guidelines if you have a fix ready.

I basically got it to work without changing ui-tinymce.
So for anybody else: lazy loading using OC Lazy Load works well - it's just that in general lazy loading is fairly tricky. For example, your module which needs the ui-tinymce cannot have it in the dependencies - so you can't
angular.module("mymod", ["ui-tinymce"]

because then it already fails before lazy loading ui-tinymce.
And if you do include ui-tinymce and only want to lazy-load the tinymce-scripts, use my solution above.
And if someone wants to change ui-tinymce to survive lazy-loading of tiny-mce by implementing something like a retry-timer to see if ui-tinymce arrived, that of course would be a valuable add on :).

Hi @iJungleboy,
I tried to use your code for lazy loading of inline tinymce but that doesn't seem to work now. May be the version of tinyMce and ui-tinyMce have changed.
I am using inline tinyMce in a dynamic page builder app where we can have 100-200 inline editors which is making the builder app slow to load.
Any help is appreciated.
Thanks in advance.

Yes, we have it working as needed. The main form doesn't know anything about tinymce, only if it's included in one of the components does lazy-loading kick in.


Update sketch files

We need to update sketch files to reflect updates as per the new form component

closed by #522


chore: force renovate to use npm v6

Follow up on https://github.com/netlify/cli/pull/1470
See https://github.com/renovatebot/renovate/issues/7474#issuecomment-717051216 and https://github.com/renovatebot/renovate/issues/7474#issuecomment-717009199

Should we add this to our other Node.js projects?

Should we add this to our other Node.js projects?

I want to make sure it's working first. Going to schedule a lock file PR to verify.


[Bug]: The upload button in the home page is not alligned

Give a brief about the bug ✍
Description: upload button is vertically placed and requires proper styling
What is the expected behavior? 🤔
Description
Provide step by step information to reproduce the bug 📄
Description
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hi, I would like to work on this issue please assign me


Clicking dropdown option doesn't select element

Hey, folks! I am running Angular 1.3.0, and I cannot seem to get the ui-select to function correctly when it comes to clicking on options. I copied the demo.js & the bootstrap.html demo files, and clicking on options does not add the options to a select, whether it is a single select or a multi-select.

Hey, so here's some further diagnosis: this only happens when Batarang for AngularJS 0.7.4 is enabled. Seriously, it slows everything way, way down for ui-select, and makes it impossible to click on choices in order to select them.

confirmed for me too.  Thanks for pointing out the chrome plugin workaround.  Strange!

I'm seeing a similar problem but the examples work for me it's just my simple implementation that doesn't. I'm not sure batarang is the actual problem.

I had a similar problem that was solved by removing creepy Batarang.

That's bizarre about Batarang. Good find :smiley:

Had the same problem, disabling Batarang fixed it. Thanks very much

Gah, I just spent an hour and half fighting this. Thank you Jordan!

@jordanthornquest  THANK YOU. Just spent an hour trying to figure what is wrong. Batarang was disabled, had to enable & disable it.

@jordanthornquest Thank you very much! Wasted at least an hour trying to find the cause. After disabling batarang everything works again -.- (Using Angular 1.3.15)

@jordanthornquest Thanks for this solution. Ran into this today and fought it for a good hour. Using Angular 1.3.2 and disabling Batarang solved the problem. First google result - nice work!

+1 Thanks for the Batarang fix.

+1 Thanks for the Batarang fix.Thanks.

Closing as a batarang issue (and duplicate of another closed issue).


Use mutliple assistant ids?

This is more of a question than an issue.
Would it be possible to configure multiple Assistants IDs that could then be used by different chat components?
The use case we are looking at would replace the current landing page with the different examples with chats with different assistants.
We were thinking we could change the current assistant-config code to have an array of IDs which we then import into chat components
e.g. The assistant config array would contain (marketing, sales, support). The Marketing chat component would import the array and set the current assistantid = marketing etc....
Just wanted to check that this could work?
Thanks!

I am thinking along the same lines. Did you ever work out how to do this?

No I couldn't get it to work. Ended up going with different assistants deployed as different instances of the quickstart with a custom UI in front to provide access to them. Not elegant but it worked for the purpose of what we were showing. Being able to easily do this as part of the quickstart would be very useful.

How did you create different assistants deployed as different instances of the quickstart with a custom UI in front to provide access?

Yes. I have it working but I need to make it a bit cooler. I am using a backend cloud database to hold thread/assistant details that I can re use and train assistant in specific areas of expertise.
On 08/25/2024 1:36 PM BST tribolil<EMAIL_ADDRESS>wrote:

How did you create different assistants deployed as different instances of the quickstart with a custom UI in front to provide access?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

So you don’t define the different assistant configurations in this template directly? I’m having issues with making like sub-assistants or even defining the multiple assistant ids

Fra: Alan @.>Sendt: søndag, august 25, 2024 2:59 PMTil: openai/openai-assistants-quickstart @.>Cc: tribolil @.>; Comment @.>Emne: Re: [openai/openai-assistants-quickstart] Use mutliple assistant ids? (Issue #22)
OBS! Mailen er fra en ekstern afsender. Vær opmærksom på links og vedhæftede filer.     NB!
This email is from an external sender. Be aware of links and attachments.
Yes. I have it working but I need to make it a bit cooler. I am using a backend cloud database to hold thread/assistant details that I can re use and train assistant in specific areas of expertise.
On 08/25/2024 1:36 PM BST tribolil @.***> wrote:

How did you create different assistants deployed as different instances of the quickstart with a custom UI in front to provide access?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.>
—
Reply to this email directly,
view it on GitHub, or
unsubscribe.
You are receiving this because you commented.Message
ID: @.>

No. I figure each Assistant will be defined and trained for a specific job, say health and safety for example. Then that assistant will be cloned specifically to meet the requirements of a user, say a hospital or a scafolding company (health and safety). The assistant is now becoming an expert in the practise needed by the company. The assistant/expert can now be used to create job related health and safety plans specifically for the company
On 08/25/2024 3:28 PM BST tribolil<EMAIL_ADDRESS>wrote:

So you don’t define the different assistant configurations in this template directly? I’m having issues with making like sub-assistants or even defining the multiple assistant ids
Fra: Alan @.>Sendt: søndag, august 25, 2024 2:59 PMTil: openai/openai-assistants-quickstart @.>Cc: tribolil @.>; Comment @.>Emne: Re: [openai/openai-assistants-quickstart] Use mutliple assistant ids? (Issue #22)
OBS! Mailen er fra en ekstern afsender. Vær opmærksom på links og vedhæftede filer.     NB!
This email is from an external sender. Be aware of links and attachments.
Yes. I have it working but I need to make it a bit cooler. I am using a backend cloud database to hold thread/assistant details that I can re use and train assistant in specific areas of expertise.
On 08/25/2024 1:36 PM BST tribolil @.***> wrote:

How did you create different assistants deployed as different instances of the quickstart with a custom UI in front to provide access?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.>
—
Reply to this email directly,
view it on GitHub, or
unsubscribe.
You are receiving this because you commented.Message
ID: @.>
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Another improvement. for single case.
It seems the assistant ID needs to be injected before running npm run build & npm start. Otherwise, the application will still prompt for the ID during runtime.
could we make it as configurable, when only reference the id, when start it.
Then I can easily create multiple instances as work around.


apply which to default editor values

this was lost during integration from Homebrew
refs: #8788

We are suffering from a bit of nil dysphoria: our which returns nil if no binary is found, which is casted to the empty string by to_s, which is not filtered out by compact. In the absence of valid env values, our first can be an empty string, which obviously cannot be executed.


#15761

Close popover on clicking outside the description

Summary

Ticket Link

Hello @SBagaria2710,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.
Per the Mattermost Contribution Guide, we need to add you to the list of approved contributors for the Mattermost project.
Please help complete the Mattermost contribution license agreement?
Once you have signed the CLA, please comment with /check-cla and confirm that the CLA check is green.
This is a standard procedure for many open source projects.
Please let us know if you have any questions.
We are very happy to have you join our growing community! If you're not yet a member, please consider joining our Contributors community channel to meet other contributors and discuss new opportunities with the core team.

Thanks, @SBagaria2710! I've asked our team to help review your changes :)

/check-cla

/update-branch

@prapti I've tested it on my own machine, but would feel better if you could build from this branch and test on your own machine. It's your call if you think this can make the code freeze deadline (I would vote yes, if it passes your testing). Thanks!

Thank you all @lieut-data  @agarciamontoro  @cpoile @prapti ! 🙇
This was my first contribution to mattermost. Looking forward to making more in near future 😄  🚀
Until next time...


⚠ Any updates for this repository will be delayed due to family matters. Thanks for your understanding.

I'm currently on paternity leave until Aug. 2023🍼👶
UPDATE: My paternity leave may be extended until Apr. 2024🍼👶

Congratulations!
Thank you for all your effort so far.

Yes, seconded! Enjoy this time with family, those are precious moments :smile:
And thanks again for providing this great service to the community :+1:

Enjoy your time with the baby!
Am Di., 6. Sept. 2022 um 20:42 Uhr schrieb kurokobo <
@.***>:

I'm currently on paternity leave 🍼👶
—
Reply to this email directly, view it on GitHub
https://github.com/kurokobo/awx-on-k3s/issues/126, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABERJAVJ37BX2FBXS7DP6WTV46GA7ANCNFSM6AAAAAAQGCZ6C4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Congrats.  I created my bug report knowing your response will be delayed and I will be trying to solve it myself (and updating it with anything I find).

@drlamb Thanks, it's enabled now 😃

Thank you for this repo... I have used it with a minor alteration for ACME provider as Zerossl and DNS as Route53. Congrads on the family expansion

I ended my paternity leave and returned to my day job 😃
I may have rather had more time during my paternity leave, but whatever the case, thank you for your understanding and cooperation!


Query Fails with Invalid API Key Error Despite Correct .env Setup

Bug description
Despite having DATABASE_URL and DIRECT_DATABASE_URL correctly set up in the .env file, all queries via Prisma ORM fail with an invalid API key error.
Error Message
This request could not be understood by the server: {"type":"UnknownJsonError","body":{"code":"P6002","message":"The provided API Key is invalid. Reason: Validation of API Key failed."}}

Full Error Stack
[0] PrismaClientKnownRequestError:
[0] Invalid `prisma.user.findFirst()` invocation:
[0]
[0]
[0] This request could not be understood by the server: {"type":"UnknownJsonError","body":{"code":"P6002","message":"The provided API Key is invalid. Reason: Validation of API Key failed."}} (The request id was: 8bb0216a4fe05a24)
[0]     at Hr.handleRequestError (D:\Projects\Avocodos\avocodos-web\frontend\node_modules\@prisma\client\runtime\edge.js:20:7987)
[0]     at Hr.handleAndLogRequestError (D:\Projects\Avocodos\avocodos-web\frontend\node_modules\@prisma\client\runtime\edge.js:20:7295)
[0]     at Hr.request (D:\Projects\Avocodos\avocodos-web\frontend\node_modules\@prisma\client\runtime\edge.js:20:6985)
[0]     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
[0]     at async l (D:\Projects\Avocodos\avocodos-web\frontend\node_modules\@prisma\client\runtime\edge.js:29:9558)
[0]     at async login (webpack-internal:///(action-browser)/./src/app/(auth)/login/actions.ts:30:30)
[0]     at async D:\Projects\Avocodos\avocodos-web\frontend\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:39:418
[0]     at async rS (D:\Projects\Avocodos\avocodos-web\frontend\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:38:7978)
[0]     at async r4 (D:\Projects\Avocodos\avocodos-web\frontend\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:41:1256)
[0]     at async doRender (D:\Projects\Avocodos\avocodos-web\frontend\node_modules\next\dist\server\base-server.js:1418:30)
[0]     at async cacheEntry.responseCache.get.routeKind (D:\Projects\Avocodos\avocodos-web\frontend\node_modules\next\dist\server\base-server.js:1579:28)
[0]     at async DevServer.renderToResponseWithComponentsImpl (D:\Projects\Avocodos\avocodos-web\frontend\node_modules\next\dist\server\base-server.js:1487:28)
[0]     at async DevServer.renderPageComponent (D:\Projects\Avocodos\avocodos-web\frontend\node_modules\next\dist\server\base-server.js:1911:24)
[0]     at async DevServer.renderToResponseImpl (D:\Projects\Avocodos\avocodos-web\frontend\node_modules\next\dist\server\base-server.js:1949:32)
[0]     at async DevServer.pipeImpl (D:\Projects\Avocodos\avocodos-web\frontend\node_modules\next\dist\server\base-server.js:916:25)
[0]     at async NextNodeServer.handleCatchallRenderRequest (D:\Projects\Avocodos\avocodos-web\frontend\node_modules\next\dist\server\next-server.js:272:17)
[0]     at async DevServer.handleRequestImpl (D:\Projects\Avocodos\avocodos-web\frontend\node_modules\next\dist\server\base-server.js:812:17)
[0]     at async D:\Projects\Avocodos\avocodos-web\frontend\node_modules\next\dist\server\dev\next-dev-server.js:339:20
[0]     at async Span.traceAsyncFn (D:\Projects\Avocodos\avocodos-web\frontend\node_modules\next\dist\trace\trace.js:154:20)
[0]     at async DevServer.handleRequest (D:\Projects\Avocodos\avocodos-web\frontend\node_modules\next\dist\server\dev\next-dev-server.js:336:24)
[0]     at async invokeRender (D:\Projects\Avocodos\avocodos-web\frontend\node_modules\next\dist\server\lib\router-server.js:173:21)
[0]     at async handleRequest (D:\Projects\Avocodos\avocodos-web\frontend\node_modules\next\dist\server\lib\router-server.js:350:24)
[0]     at async requestHandlerImpl (D:\Projects\Avocodos\avocodos-web\frontend\node_modules\next\dist\server\lib\router-server.js:374:13)
[0]     at async Server.requestListener (D:\Projects\Avocodos\avocodos-web\frontend\node_modules\next\dist\server\lib\start-server.js:141:13) {
[0]   code: 'P5000',
[0]   clientVersion: '5.20.0-dev.2',
[0]   meta: { modelName: 'User' }
[0] }

Steps Taken

Verified correct setup of DATABASE_URL and DIRECT_DATABASE_URL in .env file.
Recreated the project.
Followed the tutorial for setting up Accelerate and verified multiple times.

Question
Does anyone know what might be causing this issue? Any help or suggestions would be greatly appreciated.
How to reproduce
N/A
Expected behavior
No response
Prisma information

generator client {
  provider        = "prisma-client-js"
  previewFeatures = ["fullTextSearch"]
}

datasource db {
  provider  = "postgresql"
  url       = env("DATABASE_URL")
  directUrl = env("DIRECT_DATABASE_URL")
}

import { PrismaClient } from "@prisma/client/edge";
import { withAccelerate } from '@prisma/extension-accelerate'

const prismaClientSingleton = () => {
  return new PrismaClient().$extends(withAccelerate())
};

declare global {
  var prisma: ReturnType<typeof prismaClientSingleton> | undefined;
}

const prisma =
  global.prisma ??
  (typeof window === 'undefined' ? prismaClientSingleton() : undefined);

if (process.env.NODE_ENV !== "production") global.prisma = prisma;

export default prisma;

Environment & setup

OS: Windows 11
Database: Tembo
Node.js version: v22.7.0

Prisma Version
prisma                  : 5.20.0-dev.2
@prisma/client          : 5.20.0-dev.2
Computed binaryTarget   : windows
Operating System        : win32
Architecture            : x64
Node.js                 : v22.7.0
Query Engine (Node-API) : libquery-engine 5fe21811a6ba0b952a3bc71400666511fe3b902f (at<EMAIL_ADDRESS>Schema Engine           : schema-engine-cli 5fe21811a6ba0b952a3bc71400666511fe3b902f (at<EMAIL_ADDRESS>Schema Wasm             : @prisma/prisma-schema-wasm 5.19.0-31.5fe21811a6ba0b952a3bc71400666511fe3b902f
Default Engines Hash    : 5fe21811a6ba0b952a3bc71400666511fe3b902f
Studio                  : 0.502.0
Preview Features        : fullTextSearch

@HarjjotSinghh Can you please send us an email on<EMAIL_ADDRESS>from the email id with which you have created an account on Prisma Data Platform. This would allow us to fetch your project/environment details easily and help in investigating.

Based on the error message, it is likely that the value of DATABASE_URL is in an incorrect format. The value of DATABASE_URL should be "prisma://accelerate.prisma-data.net/?api_key=__API_KEY__", where __API_KEY__ would be the API key you get from the Prisma console. The API Key would typically look like "eyJhbGci...".
I would recommend checking the DATABASE_URL again and verifying if it is in correct format.

Hey @nurul3101, the error seems to have resolved automatically without me doing anything specific at all. When I first created my accelerate instance, it worked fine for 5 minutes and then I randomly got the Invalid API Key error, which I tried my best to debug for about 2 hours. After almost giving up on it, it randomly started working. I have no idea what it could be but I am more than happy to share any details you might need from my end, even though the error is now resolved.
I will send an email to<EMAIL_ADDRESS>from the account that I used to create the accelerate instance.


feat(FX-3109): tag page

Reopening #5195 to resolve issues before merging!
Description
Adds /tag/ screens to the app
PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
(see prev PR for ^)
[ ] I have tested my changes on iOS and Android.
[x] I have added tests for my changes, or my changes don't require testing, or I have included a link to a separate Jira ticket covering the tests.
[x] I have added a feature flag, or my changes don't require a feature flag. (How do I add one?)
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[x] I have added a changelog entry below or my changes do not require one.

Changelog updates
Changelog updates
Cross-platform user-facing changes

Add /tag/ pages to the app

This PR contains the following changes:

Cross-platform user-facing changes (Add /tag/ pages to the app)

  Generated by :no_entry_sign: dangerJS against 63ac268f83ba6eff1f9147977af8f5e14d55cb16


scikit-learn BaseEstimator compliance

Hey there,
Background: methods like grid search and k-fold cross validation need an estimator to comply to the API stated here. The problem is that MLClassifierBase misses the get_params and set_params method that allows cloning of estimators as used by grid search and the cross_validation module (see here).
The solution would either be to inherit BaseEstimator or to implement these mentioned methods. I patched them on my distribution because I use cross validation and depend on it. If you're up to it I'd provide a PR and you could review it if interested.
Cheers!

Sure! Thank you, if you could provide a PR, I'd love to review it and put it in.

Ok, awesome. I would provide a test (i.e. iris dataset) case for k-fold cross validation via scikit-learn classes that would both test this and #25.  What do you think? The notebooks seem to be deprecated.

Hi @ChristianSch,
I've applied your patch, thank you very much for checking this. I'm in the process of writing unit tests for all classifiers. One of which will include check_estimator.
I would love to see your use case of an iris k-fold, this could be a love addition to the documentation, if you provided the code for the example, I could write the docs for them, and we'd have our first use case tutorial!

Awesome, thanks. Got fed up with my bsc thesis (2 days to go!) so I haven't gotten around merging your stuff into my branch to make a pull request. This got complicated the more I wated.
I'd love to contribute. This would simply things a lot! And I'm totally up for contributing the iris k-fold cross validation tut. I'll look into this in the next days. (Is there an IRC channel or something?)
PS: Good you reminded me, I replaced a link to GitHub with the bibtex from the website in my thesis. Would've missed that otherwise.


perf(processing_time): add cyclic and processing time ms to pcd related package

Description
add processing time for debug

Related links
https://github.com/autowarefoundation/autoware.universe/issues/949
https://github.com/tier4/autoware.universe/pull/46
Tests performed
by psim and real vehicle
Notes for reviewers
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

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

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

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

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

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

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

I think it is better to measure from the start of callback to the end of callback.

@yukkysaito

I think it is better to measure from the start of callback to the end of callback.
yes but in this case we can't measure how heavy "subscription / publish" of topic is right?

I see.
It is reasonable and unavoidable.

@taikitanaka3 Can you resolve conflicts?

@yukkysaito Done

I think it is better to measure from the start of callback to the end of callback.

yes but in this case we can't measure how heavy "subscription / publish" of topic is right?

It is reasonable about heavy topics. But behavior planning topics are not heavy.
TODO (discussed @taikitanaka3 )

rename from processing time to cyclic time
remove debug code from behavior planning
add processing time from the start of callback to the end of callback.

I think it is better to measure from the start of callback to the end of callback.

yes but in this case we can't measure how heavy "subscription / publish" of topic is right?

It is reasonable about heavy topics. But behavior planning topics are not heavy.
TODO (discussed @taikitanaka3 )

rename from processing time to cyclic time
remove debug code from behavior planning
add processing time from the start of callback to the end of callback.

@yukkysaito

[x] rename from processing time to cyclic time
[x] remove debug code from behavior planning
[x] add processing time from the start of callback to the end of callback.

[x] tested by experiment
[x] release note


feat(dexes): add shiny dex indicator

ヾ(０∀０★)ﾟ･.｡

adds a shiny indicator for shiny dexes! inspired by pokemon's own way of indicating shiny pokemon

@robinjoseph08 updated!

@robinjoseph08 yayyy it worked! wanna take another look?


Help making the right lovelace card

Is there a guide for making a rice cooker lovelace card and over lovelace card? Need some help.

Show me all the entity and state attributes of the device.

for the rice cooker
Mi Smart MultiCooker 1.6L Cooker
sensor.chunmi_eh1_4eff_left_time
Xiaomi Miot Auto
Kitchen
—

Mi Smart MultiCooker 1.6L Cooker Status
sensor.chunmi_eh1_4eff_cooker
Xiaomi Miot Auto
Kitchen
—

Mi Smart MultiCooker 1.6L Cooker Status
switch.chunmi_eh1_4eff_cooker_2_status
Xiaomi Miot Auto
Kitchen
—

Mi Smart MultiCooker 1.6L Cooker Temperature
sensor.chunmi_eh1_4eff_temperature
Xiaomi Miot Auto
Kitchen
—

For Steam Oven
Mi Smart Steam Oven (12L) custom left-time
sensor.chunmi_x02_19ba_left_time_2
Xiaomi Miot Auto
Kitchen
—

Mi Smart Steam Oven (12L) Oven Cook Mode
select.chunmi_x02_19ba_cook_mode
Xiaomi Miot Auto
Kitchen
—

Mi Smart Steam Oven (12L) Oven Left Time
sensor.chunmi_x02_19ba_left_time
Xiaomi Miot Auto
Kitchen
—

Mi Smart Steam Oven (12L) Oven Status
sensor.chunmi_x02_19ba_oven
Xiaomi Miot Auto
Kitchen
—

Mi Smart Steam Oven (12L) Oven Status
switch.chunmi_x02_19ba_oven_status
Xiaomi Miot Auto
Kitchen
—

Mi Smart Steam Oven (12L) Oven Target Temperature
number.chunmi_x02_19ba_target_temperature
Xiaomi Miot Auto
Kitchen
—

Mi Smart Steam Oven (12L) Oven Target Temperature
select.chunmi_x02_19ba_target_temperature
Xiaomi Miot Auto
Kitchen
—

Mi Smart Steam Oven (12L) Oven Temperature
sensor.chunmi_x02_19ba_temperature
Xiaomi Miot Auto
Kitchen


Remove references to Observatory

Observatory is being deprecated for Dart 3.0 so it should no longer be referenced in tooling messaging / flags.
See https://github.com/dart-lang/sdk/issues/50233

Oops, missed that this was marked WIP :)

18:28 +25 -1: test\integration.shard\test_test.dart: flutter test should respect --serve-observatory [E]
  TimeoutException after 0:15:00.000000: Test timed out after 15 minutes.
  dart:isolate  _RawReceivePort._handleMessage

https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8790433970637832785/+/u/run_test.dart_for_tool_integration_tests_shard_and_subshard_6_6/test_stdout

18:28 +25 -1: test\integration.shard\test_test.dart: flutter test should respect --serve-observatory [E]
  TimeoutException after 0:15:00.000000: Test timed out after 15 minutes.
  dart:isolate  _RawReceivePort._handleMessage

https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8790433970637832785/+/u/run_test.dart_for_tool_integration_tests_shard_and_subshard_6_6/test_stdout

I'm unable to reproduce this failure, even under load.

Friendly bump. Still looking for a review on this.


TS-4745: pRecord.failCount not init inParentRecord::ProcessParents

pRecord.failCount not init inParentRecord::ProcessParents

Looks good. Maybe I suggest a slightly cleaner commit message:
TS-4745 Initializes pRecord.failCount in ParentRecord::ProcessParents
:+1:

keith2008 has asked me to fix this PR and submit the change on his behalf.

submitting new pr.


provide an example image, or page?

Its very strange that there is no example of this actually working either as a real example or an image either on the blog post where you post about it, or somewhere in this repository. Could you add one please?

Here is it in JSFiddle, hit run multiple times to see the wobbliness: https://jsfiddle.net/gjv73nd0/

You can adjust the dent in the lines by changing the constants here:
-    this.blockWobble = Math.random() * 2 - 1;
-    this.inlineWobble = Math.random() * 2 - 1;
+    this.blockWobble = Math.random() * 5 - 1;
+    this.inlineWobble = Math.random() * 5 - 1;

The blog post actually contains a demo, refresh the page multiple times to see it change:

thanks!


C# Add dynamic namespace aliasing

And fix error in resource-name message namespace

Codecov Report

Merging #1997 into master will increase coverage by <.01%.
The diff coverage is 91.3%.

@@             Coverage Diff              @@
##             master    #1997      +/-   ##
============================================
+ Coverage     85.16%   85.16%   +<.01%
- Complexity     4956     4959       +3
============================================
  Files           456      456
  Lines         19940    19959      +19
  Branches       2088     2092       +4
============================================
+ Hits          16982    16999      +17
  Misses         2261     2261
- Partials        697      699       +2

Impacted Files
Coverage Δ
Complexity Δ

...ansformer/csharp/CSharpGapicClientTransformer.java
96.51% <100%> (+0.02%)
53 <0> (ø)
:arrow_down:

...oogle/api/codegen/util/csharp/CSharpTypeTable.java
87.71% <90.47%> (+0.09%)
27 <2> (+3)
:arrow_up:

Continue to review full report at Codecov.

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

Yes, everything is aliased. Almost everything is already aliased, so this isn't a major change. And as you say, it removes all ambiguity. Well, very nearly all, I can still think of one situation that'll have problems, but it's extremely unlikely.