DirectMethod "SetConfiguredEndpoints" failed

Describe the bug
OPC Publisher Version 2.8.4 : when invoking the direct method "SetConfiguredEndpoints" or "AddOrUpdateEndpoints", get 500 as return. Other direct methods from previous versions like PublishNodes GetDiagnosticInfo etc are working. No logs for the request even.
To Reproduce
Steps to reproduce the behavior:

Script to reproduce
$file = Get-Content(".\pn.json")
$jsonObject = $file | ConvertFrom-Json
$json = ConvertTo-Json -Compress -Depth 6 -InputObject $jsonObject.psobject.BaseObject
$put_Json = '{ "methodName": "SetConfiguredEndpoints", "responseTimeoutInSeconds": 200,"payload": { "endpoints": ' + json  '}}'
$put_Json | Set-Content(".\payload.json")
curl.exe 'https://iothubname.azure-devices.net/twins/device/modules/opcpublisher/methods?api-version=2021-04-12'
 -H 'Authorization: xxxx'
 -H 'Content-Type: application/json'
 -d<EMAIL_ADDRESS>
Expected behavior
Nodes get changed or at least Badrequest for empty payload
Screenshots

SetConfiguredEndpoints is only supported in 2.9.  Can you try the same on OPC Publisher 2.9 and see if this works for you?
AddOrUpdateEndpoint is supported in 2.8 (2.8.7).  Can you open a seperate issue with repro information?


As an applicant/reviewer, ability to reply to comment and determination notifications via email/slack/signal (with attachments)

Allow applicant to reply via email to a submission response email, converting their reply to a comment in the WebApp for the appropriate application
Allow anyone with edit access to begin a comment on an application/submission response/review, with email notifications sent out, and ability to reply comment via email
Allow known emails of editors for open proposals to create status reports and payment requests from email

Similar to #292 in Q3


Garbage output on set timeout

During normal work I get timeouts messages like this:
Traceback (most recent call last):
  File "/home/suor/projects/aiocache/aiocache/decorators.py", line 108, in set_in_cache
    await self.cache.set(key, value, ttl=self.ttl)
  File "/home/suor/projects/aiocache/aiocache/base.py", line 58, in _enabled
    return await func(*args, **kwargs)
  File "/home/suor/projects/aiocache/aiocache/base.py", line 43, in _timeout
    return await asyncio.wait_for(func(self, *args, **kwargs), timeout)
  File "/usr/lib/python3.6/asyncio/tasks.py", line 362, in wait_for
    raise futures.TimeoutError()
concurrent.futures._base.TimeoutError

This is not stopping anything like exception should. I using cache cia cached decorator:
def filecache(basedir):
    # Import from here since these are optional dependencies
    from aiocache import cached
    from aiocache.serializers import PickleSerializer
    from aiofilecache import FileCache

    return cached(cache=FileCache, serializer=PickleSerializer(),
                  basedir=basedir)

@filecache('some_dir')
@fetch(url, ...):
    # ...
    return response

aiofilecache is a simple file cache, you ca see here.

Hey @Suor if I understand your message, you mean you are getting the timeouts when they are not expected?
All caches come configured with a maximum timeout of 5 seconds, so if your function takes longer you are going to see this exception

The thing is I am not getting an exception, just garbage output. I don't know what should I do about it.
Even if that were a proper exception not sure how I should handle that. Ignoring a timeout on cache.set looks safe, but once I get it function result is already lost probably.

Are you running this in a thread or a separate process? The exceptions is raised yes or yes as this is using asyncio.wait_for https://github.com/argaen/aiocache/blob/master/aiocache/base.py#L45. Its nothing specific from aiocache.
How you deal with those errors is up to you as it depends on the requirements of your application

No, no running in a thread. I am using asyncio.gather() on several tasks and seeing output like this sporadically.

How you deal with those errors is up to you as it depends on the requirements of your application

Yes, but if, for example, I want to ignore cache.set timeout and just pass result I am out of luck when using @cached.

No, not running in a thread. I am using asyncio.gather() on several tasks and seeing output like this sporadically.

With gather it depends on return_exceptions parameter: https://docs.python.org/3/library/asyncio-task.html#asyncio.gather

Yes, but if, for example, I want to ignore cache.set timeout and just pass result I am out of luck when using @cached.

Ahhhh got you. Yes that indeed is a good point. I guess we could change the await or add a new param to control this behavior.
I'm renaming this issue in order to track this

If return_exceptions is False (default), the first raised exception is immediately propagated to the task that awaits on gather(). Other awaitables in the aws sequence won’t be cancelled and will continue to run.

So an exception should propagate, which it does in many cases, but not in this one.

I've added the aiocache_wait_for_write param in the decorators.

So an exception should propagate, which it does in many cases, but not in this one.

As said, this is not behavior responsible from aiocache, wait_for triggers an exception if it timeouts. ?gather lets you control whether you want to raise or return exceptions


Spike QR code scanning feasibility within MAUI framework

Not feasible at this time

UPDATE: New library from Jonathan Peppers, it's now working. (Tested in CommBox client project).

UPDATE: New library from Jonathan Peppers, it's now working. (Tested in CommBox client project)
See: https://github.com/Redth/ZXing.Net.Maui


⚠ Secret-Cinema has degraded performance

In 25e456a, Secret-Cinema ($SC) experienced degraded performance:

HTTP code: 200
Response time: 1674 ms

Resolved: Secret-Cinema performance has improved in c704983 after 7 minutes.


Image search unnecessarily refreshes page on enter press

On /admin/images/, the results are automatically displayed as you input your query into the search box. However, most users would expect that you would need to press enter after inputting your query (as you do for the other search forms), so it can be frustrating when the results load but the page refreshes anyway due to the user pressing enter (despite the fact the results have already been found and displayed).
https://gfycat.com/UglyEdibleAcornweevil

Yeah, the submit event should be bound and prevented.
But I guess we should keep the ability to submit the form if Javascript is disabled.

For anyone looking at this, it would be good to check the behaviour of documents searching also.

Hi @lb-, I'll have a look at this one. At first glance, it appears the behaviour is the same for documents searching as well. I'll create a PR shortly.


Trim down unused ipfs-css assets

After switching to ipfs-css v1.x we ballooned the package a bit:
v2.11 (last stable):
10M ipfs_companion-2.11.0_chromium.zip
4M  ipfs_companion-2.11.0_firefox.zip

v<IP_ADDRESS>8 (latest beta):
19M   ipfs_companion_beta_ece3e0b_-<IP_ADDRESS>8_chromium.zip
12M   ipfs_companion_beta_ece3e0b_-<IP_ADDRESS>8_firefox.zip

Low hanging fruit is to remove fonts and icons that are not used:
 12.2 MiB  /ui-kit/fonts
564.0 KiB  /ui-kit/icons

Another problem is the size of WebUI, which is for now only bundled with Chromium/Brave:
 21.6 MiB  /dist/precache/webui.tar

But that's something we need to tackle upstream.

I was actually thinking of using the power and gear icons from ipfs-css in the main control screen, so thanks for the heads up ...

@jessicaschilling I mean, some fonts and some icons are being used, we just need to find a way of removing unused ones. (I'd love us to use power and gear as they are in ipfs-css instead of custom versions we have right now)


Don't allow duplicate traits

Description
A factory can have the same trait multiple times
Reproduction Steps
FactoryBot.define do
  factory :user, class: OpenStruct do
    trait :admin do
       name { "Admin" }
    end

    trait :admin do
       name { "Administrator" }
    end
  end
end

Expected behavior
Raises an error when defining the second trait
Actual behavior
Lets me define a second trait but keeps only the first trait
System configuration
factory_bot version:   6.1.0
rails version:  <IP_ADDRESS>
ruby version: 2.7.3

Related to https://github.com/thoughtbot/factory_bot/pull/1064#issuecomment-448075022


Change Star to Material Design Icon

Change UI

Please provide a more descriptive subject line.  other than that, LGTM

lgtm


Fix 404 page logo alt text

What this PR does / why we need it:
Using alt text on the image seems like a good idea for this issue. It's more accessible as well.

Which issue this PR fixes:
fixes #248

The borders around the screenshot is the magic of ImageMagick.


napari doesn't start on windows 2021 Server R2

🐛 Bug
Start napari on a windows server 2021 Server R2
To Reproduce
Steps to reproduce the behavior:
Run the following code:
import napari

with napari.gui_qt():
    viewer = napari.Viewer()

Expected behavior
Should start napari
Environment
Additional context
This problem is fixed by editing the darknet/__init__.py file:
Add the following test to avoid the int conversion error of the
elif platform.release() == "2012ServerR2":
    from ._dummy import *

See the full code edited:
#-----------------------------------------------------------------------------
#  Copyright (C) 2019 Alberto Sottile
#
#  Distributed under the terms of the 3-clause BSD License.
#-----------------------------------------------------------------------------

__version__ = '0.5.2'

import sys
import platform

if sys.platform == "darwin":
    from distutils.version import LooseVersion as V
    if V(platform.mac_ver()[0]) < V("10.14"):
        from ._dummy import *
    else:
        from ._mac_detect import *
    del V
elif platform.release() == "2012ServerR2":
    from ._dummy import *
elif sys.platform == "win32" and int(platform.release()) >= 10:
    # Checks if running Windows 10 version 10.0.14393 (Anniversary Update) OR HIGHER. The getwindowsversion method returns a tuple.
    # The third item is the build number that we can use to check if the user has a new enough version of Windows.
    winver = int(platform.version().split('.')[2])
    if winver >= 14393:
        from ._windows_detect import *
    else:
        from ._dummy import *
elif sys.platform == "linux":
    from ._linux_detect import *
else:
    from ._dummy import *

del sys, platform

I think this has been solved in the latest darkdetect
https://github.com/albertosottile/darkdetect/pull/21/files
So I assume this napari PR: https://github.com/napari/napari/pull/4508 fixes the issue. It's on the 0.4.16 milestone, so the next napari release 0.4.16 should fix it.
I think you can test using a release candidate:
pip install -pre napari -U

Does not work for me. I have napery 0.4.16 and still get the error:
ValueError: invalid literal for int() with base 10: '2012ServerR2'

any idea if manually installing darkdetect 0.6.0 would fix the issue?

Unfortunately It will not work since we import from the vendor folder.

Thanks for looking into this @psobolewskiPhD and @goanpeca ! Indeed it looks like we missed #4561 in 0.4.16.
https://github.com/napari/napari/blob/36c94477b5b63e160f75cf8c4aef5524e2a6af19/napari/_vendor/darkdetect/__init__.py#L7
@MalteMederacke , sorry about that. As @psobolewskiPhD said, it looks like #4561 is merged in main and it should fix your issue. You can try to upgrade from main with
pip install --upgrade "git+https://github.com/napari/napari.git"

I am going to close this as resolved as it current works on main for me. I will ping the 0.4.17 release managers to make sure that the fix is included.
Please feel free to reopen if the issue is not resolved for you on main.


[FEATURE] webmention

It would be great to integrate webmention support with manual submission form.
That way blogs can be more easily connected and communicate with each other.

see this article: https://anaulin.org/blog/adding-webmentions/
it used this https://github.com/PlaidWeb/webmention.js for displaying the webmentions

It would be great to integrate webmention support with manual submission form.

This feature looking good for me, i'll try to add this feature if possible


Dropdown Select with duplicate value problem

When there it comes with duplicate values, the label it shows will always be the first matched.
For example, if my test data is this following object:
optionData={[
{label:"111", value:"1"},
{label:"222", value:"2"},
{label:"333", value:"3"},
{label:"444", value:"3"}
]}
and when I select the 4th option, label always shows "333" instead of "444", I believe Bootstrap uses value as the key instead of selected index.
Is there any possible way to solve this awkward situation?

See guidelines for contributing.
Bug reports
A bug is a demonstrable problem that is caused by the code in the repository.
Good bug reports are extremely helpful - thank you!
Guidelines for bug reports:

Use the GitHub issue search. Check if the issue has already been
reported.

Check if the issue has been fixed. Try to reproduce it using the
latest master or development branch in the repository.

Provide environment details. Provide your operating system, browser(s),
jQuery version, Bootstrap version, and bootstrap-select version.

Create an isolated and reproducible test case. Create a reduced test
case.

Include a live example. Use this Plunker debugging template to share your isolated test cases. You can also make use of jsFiddle or jsBin.

A good bug report shouldn't leave others needing to chase you up for more
information. Please try to be as detailed as possible in your report. What is
your environment? What steps will reproduce the issue? What browser(s) and OS
experience the problem? What would you expect to be the outcome? All these
details will help people to fix any potential bugs.
Example:

Short and descriptive example bug report title
A summary of the issue and the browser/OS environment in which it occurs. If
suitable, include the steps required to reproduce the bug.

This is the first step
This is the second step
Further steps, etc.

<url> - a link to the reduced test case
Any other information you want to share that is relevant to the issue being
reported. This might include the lines of code that you have identified as
causing the bug, and potential solutions (and your opinions on their
merits).


Add support for CRSNs

CRSNs are described in DIP-168
Bottom Commit
Implements CRSNs and the CRSN logic according to DIP-168. These changes have been approved in #8403.
Middle Commit
Adds support for CRSNs to mempool. In particular, updates needed to be performed in order to support:

Processing of transactions in a non-blocking manner
Eviction of transactions based on the LHS of the sliding nonce of the account, and not on the committed transactions sequence nonce (since this method does not work in the CRSN case).

I'm not that familiar with mempool, so there might be something I've forgotten that I need to change -- please let me know if that's the case. Also feel free to add reviewers if I've forgotten to add someone.
The general methodology for implementation here is:

When a transaction hits mempool we determine if it is a CRSN or seqno transaction
Validation will return both the LHS of the CRSN window  and k
Transactions will be removed from mempool if the transaction's seqnonce < the current LHS when a new transaction is added
A transaction will be accepted to mempool if the transaction's seqnonce >= LHS
A transaction will be considered for processing as long as it is >= LHS and < LHS + k
On commit of a transaction, other transactions may be evicted from mempool based off of the LHS of the account at the time the transaction entered mempool.

This adds a number of tests to verify the expected behavior for transactions with CRSNs.
Top Commit
Adds support for CRSNs to the prologue/epilogue. The implementation follows the description in DIP-168

@davidiw and @sblackshear  this PR should be updated to address your comments. Let me know what your thoughts are, and if you think this can land soon -- I'd like to try and get this in fairly soon if possible.
@JoshLind Not sure if you're still interested in reviewing the mempool changes or not, but thought I would check to see if you want to take a look at it.

@JoshLind Not sure if you're still interested in reviewing the mempool changes or not, but thought I would check to see if you want to take a look at it.

Thanks @tzakian -- Greg is a resident expert in mempool, so I'll defer to him here 😄

@gregnazario thanks for the review and naming suggestions! I've updated the names to try and make things more clear.
If you're happy with the mempool changes, I think the only thing left for me before getting this in is getting the specifications to work in the Diem Framework :)

@runtian-zhou  replying here since I can't seem to reply to your comment.

This means that if there's a window change we have to wait for this window change to commit before we can send new transaction to the system?

Interestingly, in many ways no. Since we initialize the sliding nonce at the opt-in transaction's sequence number other transactions from that account can be in mempool (and they will be checked and ordered as transaction's using sequence numbers) but they can be processed in the same block as this transaction since they will be within the new CRSN window. However, in order to make use of all of the features around CRSNs they will need to wait for the opt-in transaction to be committed.

/land

/help

Bors help and documentation

Bors is a Github App used to manage merging of PRs in order to ensure that CI is always green. It does so by maintaining a Merge Queue. Once a PR reaches the head of the Merge Queue it is rebased on top of the latest version of the PR's base-branch (generally master) and then triggers CI. If CI comes back green the PR is then merged into the base-branch. Regardless of the outcome, the next PR is the queue is then processed.
General

This project's Merge Queue can be found here.
This project requires PRs to be Reviewed and Approved before they can be queued for merging.
Before PR's can be merged they must be configured with "Allow edits from maintainers" enabled. This is needed for Bors to be able to update PR's in-place so that Github can properly recognize and mark them as "merged" once they've been merged into the upstream branch.

Commands
Bors actions can be triggered by posting a comment which includes a line of the form /<action>.

Command
Action
Description

Land
land, merge
attempt to land or merge a PR

Canary
canary, try
canary a PR by performing all checks without merging

Cancel
cancel, stop
stop an in-progress land

Cherry Pick
cherry-pick <target>
cherry-pick a PR into <target> branch

Priority
priority
set the priority level for a PR (high, normal, low)

Help
help, h
show this help message

Options
Options for Pull Requests are configured through the application of labels.

          Option
Description

Indicates that the PR is high-priority. When queued the PR will be placed at the head of the merge queue.

Indicates that the PR is low-priority. When queued the PR will be placed at the back of the merge queue.

Before merging the PR will be squashed down to a single commit, only retaining the commit message of the first commit in the PR.


Support PHP 8 and drop support for php 7.3?

Our pdsinterop/solid-auth package uses lcobucci/jwt and is used in both the Nextcloud and Standalone PHP Solid Servers.
When we started implementing Solid in PHP, in early/mid 2020, the lowest supported PHP version was 7.3 and the Nextcloud version was 20. Starting 2022, PHP 7.3 will no longer be supported (see https://www.php.net/supported-versions) and PHP 8.1 will have been released. As of last month Nextcloud 20 is also no longer supported.
The current Nextcloud releases support the following PHP versions:

Nextcloud
7.1
7.2
7.3
7.4
8.0
8.1

20

✅
✔
✔

21

✅
✅
✔

22

✅
✅
✔

23

✅
✅
✔

24

✅
✔
✅

25

✅
✔
✅

✅ = supported
✔ = recommended
We need to start supporting PHP 8, however, there is a problem related to lcobucci/jwt, specifically, the PHP versions supported by that library. Version 3 supports PHP7 but not 8, version 4 supports PHP 8 but only 7.4. (not 7.3).
This means that, if we  continue to use that package, we can support either PHP 7.3 or  PHP 8, but not both.
My suggestion would be to drop support from PHP 7.3 so we can update all three of our libraries to lcobucci/jwt to v4 and start supporting PHP 8.
Companion issues have been opened in the Nextcloud and Standalone PHP repos for this issue:

https://github.com/pdsinterop/php-solid-server/issues/56
https://github.com/pdsinterop/solid-nextcloud/issues/59

I think we should make a final version that supports 7.3 and nextcloud 20 and then make a new major release that drops 7.3 (and nextcloud 20) support

Resolved in #20


Interactive Content Previews

What problem or use case are you trying to solve?
The ability to preview and interact with various types of content directly within the OpenDevin interface, including code (with a focus on HTML, SVG, and React with Tailwind CSS), text, and diagrams. This enhancement would allow users to visualize and understand generated or referenced content without leaving the main conversation flow, particularly benefiting web developers and designers.
Describe the UX of the solution you'd like
Similar to Claude.ai's artifacts, OpenDevin could have a feature where:

Generated content appears in a distinct, collapsible panel within the chat interface.
Users can expand these panels to view the full content.
For code (including HTML, SVG, and React with Tailwind), syntax highlighting and one-click copy functionality would be included.
For HTML and SVG, a live preview option would be available to render the code in real-time.
For React components with Tailwind, a sandbox-like environment could be provided to see the rendered component with applied styles.
Users could interact with rendered content (e.g., clicking buttons in HTML previews).
A download option for each artifact would be available.
For diagrams, users could zoom in/out and potentially interact with elements.

Do you have thoughts on the technical implementation?

Implement a content rendering system that detects and appropriately displays different types of content.
Use libraries like Prism.js for code syntax highlighting, with support for HTML, SVG, JSX, and CSS (including Tailwind classes).
Integrate a lightweight HTML/SVG renderer for live previews.
Implement a sandboxed React environment with Tailwind CSS support for rendering React components safely.
Use SVG or Canvas-based rendering for diagrams.
Create a collapsible UI component for artifact display.
Ensure proper sanitization and security measures for rendered content.
Integrate seamlessly with the existing chat interface to include artifacts in the conversation flow.

Describe alternatives you've considered

Simply improving code block formatting within the existing chat interface.
Adding separate tabs or windows for different content types.
Implementing a split-screen view with content preview on one side.
Linking to external tools or IDEs for more complex interactions with code.

Additional context
This feature would significantly enhance OpenDevin's usability, especially for web developers and designers who frequently work with HTML, SVG, and React with Tailwind CSS. The ability to see live previews and interact with rendered content would streamline the development process and make OpenDevin a more powerful tool for web-related tasks. It would also align OpenDevin more closely with advanced AI assistants, potentially increasing its appeal to a wider user base in the web development community.
*I understand now. Here’s the revised ending for the feature request:
Additional context This feature would significantly boost OpenDevin’s appeal to web developers and designers, streamlining their workflow by providing immediate visual feedback and interaction with generated content. It would position OpenDevin as a more comprehensive development assistant in the AI-powered tool landscape.
*Personal concept drafted with AI assistance.

Hi @PierrunoYT. There are a lot of asks in this issue (8 at the least). I'm wondering if you could pick one that is important to your workflow and modify this issue to tackle that specifically that can be fixed. Otherwise the changes of this issue getting attention is very low.

Hi
Not sure what you mean?

In your issue, which I think is generated by LLM, you have the following asks:
1.Generated content appears in a distinct, collapsible panel within the chat interface.
2.Users can expand these panels to view the full content.
3.For code (including HTML, SVG, and React with Tailwind), syntax highlighting and one-click copy functionality would be included.
4.For HTML and SVG, a live preview option would be available to render the code in real-time.
5.For React components with Tailwind, a sandbox-like environment could be provided to see the rendered component with applied styles.
6.Users could interact with rendered content (e.g., clicking buttons in HTML previews).
7.A download option for each artifact would be available.
8.For diagrams, users could zoom in/out and potentially interact with elements.

This makes the issue very hard to tackle because it's asking too many things at once. If you do care about these problems, I would advise just choosing one, for example (1.) and making the issue about that. Otherwise the chances of this issue getting picked up becomes very low.


Detail Firebase project setup and gotchas

Document in the setup document how to set up Firebase: RTDB, venue image URL, auth, etc.
Part of #344

Not really applicable anymore.


minor updates with links to the Kanban board

minor updates someone pls review xoxoxo <3

idk why it's conflicting srry fam


Does it take prompts?

I couldn't see any code referring to prompting in the main.CPP.

The only supported input prompt is points, which are determined by just clicking or hovering the chosen image. Additionally you can change the image by drag & drop. Do you mean mask prompts ?

I had hoped that you could say "mask the dog" or something. But thanks
anyway!
On Thu, 14 Dec 2023, 09:00 Yavor Ivanov, @.***> wrote:

The only supported input prompt is points, which are determined by just
clicking or hovering the chosen image. Additionally you can change the
image by drag & drop. Do you mean mask prompts ?
—
Reply to this email directly, view it on GitHub
https://github.com/YavorGIvanov/sam.cpp/issues/23#issuecomment-1855442031,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAWJWSRBFCZS5ASJN2RCBSTYJK53XAVCNFSM6AAAAABAR6RNGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJVGQ2DEMBTGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Yeah. Haven't implemented this still. Checkout https://github.com/IDEA-Research/Grounded-Segment-Anything?tab=readme-ov-file#open_book-step-by-step-notebook-demo for this functionality.


Improve handling of invalid VINs

Some VINs are invalid but still contain enough encoded information for a successful VPIC decode. PyVIN should still send these to the API for decode (either by default or by a flag, TBD).
Example:  1FBNE3BE1CDB23596
The API returns a decoded vin with the following warning:
 Error Text: 1 - Check Digit (9th position) does not calculate properly; 3 - VIN corrected, error in one position (assuming Check Digit is correct); 14 - Unable to provide information for some of the characters in the VIN, based on the manufacturer submission.

Suggested VIN:  1FBNE3BL1CDB23596

Possible Values: (8:L)

Unused position(s): 8; The Model Year decoded for this VIN may be incorrect. If you know the Model year, please enter it and decode again to get more accurate information.

@arpuffer another idea to add here: if you send a int value to pyvin.clean_vins it raises a TypeError: 'int' object is not iterable
pyvin/utils.py", line 104, in validate_vin trans_vin = _transliterate(vin=v)
pyvin/utils.py", line 59, in _transliterate return [int(x) if x.isdigit() else _TRANS_LOOKUP[x] for x in vin]


Feature: API to customize Webpack config

Similar to the babelConfig API, we should add a configuration option that allows you to modify the underlying Webpack config. webpackConfig() for consistency?

Punting on this for now as I explore using Vite instead.


Do not use 'header' as a enum value name as it breaks the Kotlin compiler

See https://youtrack.jetbrains.com/issue/KT-52315
Thanks @ephemient for catching this!

Updated this PR with a better fix that escapes with backticks. If this gets fixed in the Kotlin compiler, no change will be needed on the caller side


CURL requests in documentation

The examples in the documentation are certainly great for C# people, but if you come from another world, they are quite complicated to understand/reproduce. It would be great to have CURL requests in the documentation - then anyone could execute the requests on the command line.
Something like this:
https://stackoverflow.com/a/52429221/2095846

Good idea! Feel free to add them.

I might also have some gists floating around for this

Hi,
I would like to contribute with the sample curl requests.
Which pages do you think I should start with?
I was thinking of starting with https://identityserver4.readthedocs.io/en/latest/quickstarts/1_client_credentials.html
OR the endpoint pages, starting from - https://identityserver4.readthedocs.io/en/latest/endpoints/authorize.html
Please let me know.

would be really cool to have such examples, cause they something like standard.


Merge all waiting changes

Dockerfile: move from Ubuntu to Debian
For the sake of consistency, it seems logical to use Debian in this container rather than Ubuntu.

lvm_snapshot_rebooter: manual polling
With this commit we only activate the necessary LV (the ones that actually have a pending rollback) and we poll them manually so that we know exactly when the rollback is completed.

ha playbook: make extra cmd run by one of the cluster node
This task needs to be run on a cluster node. If it runs on a standalone node, it won't work.

80-wired file: revert commit 040f3bf

inventory: correct typos

deploy_vm: check for vm presence

vm inventory: improve crm location examples

inventory: main_disk is not useful anymore
it was for hddtemp only

VM inventory: allow customization of qcow2 and xml files

deploy VM: change tmp folder
In case the qcow2 file is to big for /tmp

pacemaker systemd: allow the shutdown timeout to be configurable
pacemaker shutdown timeout is 30min by default. This is long because if there is a problem (networking, stuck vm, etc.) preventing shutdown, the server will be stuck for two times the shutdown timeout (60min).
Seapath used to reduce this timeout to 2min, but this can be too short if there are many Guests to migrate before shutdown.
With this commit the timeout is 2min by default, but can be changed with an inventory variable.

deploy_vm: remove linefeed in xml data
This is to prevent the resulting log to be "multi-lines" which will be impossible to parse & export for syslog-ng

inventory: make logstash_server_ip optional
This variable is only useful when deploying and using metricbeat/filebeat

bump cukinia-tests to take into account needed changes

apt: only look for dependencies in installed packages
Allow the syslog export configuration to be multiline
apt: add firmware-linux-nonfree package
systemd: add openipmi service (comes with ipmitools)
apt: add zstd package it's present in the default DEBIAN class of FAI
https://github.com/faiproject/fai-config/blob/c0d82629ff37ced3b26c0e8643034b7df534da4a/package_config/DEBIAN#L5
setuid test: new path for polkit-agent-helper
systemd: add new debian12 services
apt: add dbus
debian12: cleanup groups and users checks

libvirtd: force daemon facility when exporting libvirt logs
libvirtd has a bug where it does not correctly set its syslog facility. This will make the syslog recipient server choke on the log.
It will be fixed in debian12 (https://github.com/libvirt/libvirt/commit/017fa1e097769455c0cd8929760cf9ff52a556ec)
In the meantime, we make syslog-ng force the facility to daemon (3) before exporting the logs.
Note: this will require a change in the associated cukinia test (https://github.com/seapath/cukinia-tests/pull/54/commits/fe2ca52197004a48688e251e4e7dbb04f13d82fd)

snmp: add ipmitool sensor checks

pacemaker ntpstatus resource agent: do not resolve ip address in chronyc sources output

snmp: force ownership/group of snmpd.conf to root:root

network playbook: better task names

change ci branch to paramvm
parametrize INVENTORY_VM
This will allow having several CI (one specific for debian12 development for instance, keeping the working debian11 CI).
Right now the vm.yml parameter is hard coded so several CI would use the same VM parameters (name, ip address, macaddress...).

gitmodules: use vm_manager debian12 branch
list_resource: ignore error return code
With debian12 new crmsh version, "crm resource status" returns an error code when there is no resource running. Also, the return message is now "No resources"

commit f761d61 the title is to long

shortened as requested


"How it works" in the README is missing an example

Please, provide a small example of how it can be used + a screenshot of the end request / response.

Sure. Provided in https://github.com/shirokovnv/phx_json_rpc/pull/18
Upcoming changes will be described in 0.3.4 release.


Fix right click

Fixing tests related to context clicking

Pull Request Test Coverage Report for Build 2024

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
64 unchanged lines in 14 files lost coverage.
Overall coverage decreased (-1.9%) to 94.539%

Files with Coverage Reduction
New Missed Lines
%

lib/watir/elements/element.rb
1
98.68%

lib/watir/elements/select.rb
1
96.51%

lib/watir/locators/button/selector_builder/xpath.rb
2
96.08%

lib/watir/locators/text_field/matcher.rb
2
89.47%

lib/watir/locators/element/selector_builder/xpath.rb
3
97.79%

lib/watir/wait.rb
3
85.54%

lib/watir/container.rb
4
75.0%

lib/watir/locators/element/selector_builder.rb
4
82.35%

lib/watir/locators/text_field/selector_builder/xpath.rb
4
85.19%

lib/watir/locators/element/matcher.rb
5
93.24%

Totals

Change from base Build 2013:
-1.9%

Covered Lines:
2268

Relevant Lines:
2399

💛  - Coveralls

Well, Travis is having issues, but I've verified this is working locally, so merging it.


add indices_view module

add indices_view module

Just curious, how is this different from #471? Your PR seems to share some code with the original PR.

Just curious, how is this different from #471? Your PR seems to share some code with the original PR.

Repeat submission, I will close!

Just curious, how is this different from #471? Your PR seems to share some code with the original PR.

#471 already closed，this is the latest code.


Bring back the /feedback page

I think collecting feedback from users is important, and now that we have new forms created we should use the same procedure to bring back the feedback page, currently live at https://search.creativecommons.org/feedback
As @dhruvkb did previously we'll want to rename any CC ~> Openverse in the forms.

Thanks for reminding me of this @krysal
Also CC @panchovm because I think this is an important user-facing flow

New forms for the feedback page:

Suggestions
Bugs

Changes include making the forms consistent with each other (and other forms in #66), adding descriptions to questions and using colours to communicate intent.

@panchovm I've added you to all the Google Forms and added the screenshots in my PR #73 (in this comment).


Update Meta “authors”

Automatically generated by Netlify CMS

👷 Deploy Preview for benevolent-pika-f5fbe0 processing.

Name
Link

🔨 Latest commit
27daa40ad5f7751fd631456797951431a43a8a1b

🔍 Latest deploy log
https://app.netlify.com/sites/benevolent-pika-f5fbe0/deploys/62e2e1e783ab070008e57e67


add support of configuring rpc urls, and other params for embedded chains, multiple rpc urls support, add support for websocket connection for rpc #5975

Closes #5975

Don't forget to remove the prints:
print("xxx.getBalance value: \($0)")

Too big to check. Anywhere in particular to look at?

Close for now


Deploy on Py27 Causing Issue with xray

Context

Went to deploy a new project and got this error
Traceback (most recent call last):
  File "/myproject/env/lib/python2.7/site-packages/zappa/cli.py", line 2525, in handle
    sys.exit(cli.handle())
  File "/myproject/env/lib/python2.7/site-packages/zappa/cli.py", line 484, in handle
    self.dispatch_command(self.command, stage)
  File "/myproject/env/lib/python2.7/site-packages/zappa/cli.py", line 518, in dispatch_command
    self.deploy()
  File "/myproject/env/lib/python2.7/site-packages/zappa/cli.py", line 734, in deploy
    aws_kms_key_arn=self.aws_kms_key_arn
  File "/myproject/env/lib/python2.7/site-packages/zappa/core.py", line 972, in create_lambda_function
    'Mode': 'Active' if self.xray_tracing else 'PassThrough'
  File "/myproject/env/lib/python2.7/site-packages/botocore/client.py", line 253, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/myproject/env/lib/python2.7/site-packages/botocore/client.py", line 518, in _make_api_call
    api_params, operation_model, context=request_context)
  File "/myproject/env/lib/python2.7/site-packages/botocore/client.py", line 573, in _convert_to_request_dict
    api_params, operation_model)
  File "/myproject/env/lib/python2.7/site-packages/botocore/validate.py", line 291, in serialize_to_request
    raise ParamValidationError(report=report.generate_report())
ParamValidationError: Parameter validation failed:
Unknown parameter in input: "TracingConfig", must be one of: FunctionName, Runtime, Role, Handler, Code, Description, Timeout, MemorySize, Publish, VpcConfig, DeadLetterConfig, Environment, KMSKeyArn

Expected Behavior

You know, it deploys
Actual Behavior

I get a fun traceback
Possible Fix

No clue here
Steps to Reproduce

Your Environment

Zappa version used: 0.44.3

Operating System and Python version: OSX Python 2.7.13

The output of pip freeze:
appdirs==1.4.3
argcomplete==1.9.2
base58==0.2.4
boto3==1.4.4
botocore==1.5.38
certifi==2<IP_ADDRESS>
chardet==3.0.4
click==6.7
coverage==4.3.4
docutils==0.13.1
durationpy==0.5
funcsigs==1.0.2
future==0.16.0
futures==3.0.5
hjson==3.0.0
idna==2.6
Jinja2==2.9.6
jmespath==0.9.2
kappa==0.6.0
lambda-packages==0.16.1
MarkupSafe==1.0
nodb==0.3.2
nose==1.3.7
packaging==16.8
pbr==2.0.0
piplapis-python==5.1.4
placebo==0.8.1
pyparsing==2.2.0
python-dateutil==2.6.0
python-http-client==3.0.0
python-slugify==1.2.4
pytz==2017.2
PyYAML==3.12
requests==2.18.4
s3transfer==0.1.10
sendgrid==5.2.0
six==1.10.0
toml==0.9.2
tqdm==4.15.0
troposphere==2.0.0
Unidecode==0.4.21
urllib3==1.22
Werkzeug==0.12
wsgi-request-logger==0.4.6
zappa==0.44.3

Your zappa_settings.py:

{
    "prod": {
        "touch": false,
        "keep_warm": false,
        "apigateway_enabled": false,
        "aws_region": "us-east-1",
        "profile_name": "default",
        "project_name": "scheduled-funks",
        "runtime": "python2.7",
        "s3_bucket": "zappa-builds-prod",
        "timeout_seconds": 300,
        "events": [
            {
                "function": "scheduled_funks.funky.func",
                "expression": "rate(30 minutes)"
            }
        ],
        "log_level": "DEBUG",
        "memory_size": 128
    }
}

Any ideas @mathom ?

Closing. Issue was due to outdated boto/botocore required by another package.


[FLINK-11234][table][tests] fix ExternalTableCatalogBuilder::supportsBatch

Signed-off-by: EronWright<EMAIL_ADDRESS>What is the purpose of the change
Fix the ExternalTableCatalogBuilder to be able to produce batch-only tables, and test this more thoroughly by correctly labeling the tables produced by CommonTestData.
Brief change log

fix the logic in supportsBatch to properly declare a batch-only table
adjust CommonTestData to provide batch-only or streaming-only tables

Verifying this change
This change is already covered by existing tests, such as ExternalCatalogTest.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? N/A

@bowenli86 and/or @twalthr please take a look, thanks.


⚠ Bofrost.de has degraded performance

In 002b770, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1847 ms

Resolved: Bofrost.de performance has improved in ff83e56 after 8 minutes.


TryFrom<Vec> should fail when the vector contains missing values

We might have discussed this before, but I feel this should fail.
rextendr::rust_source(code = r"(
#[extendr(use_try_from = true)]
fn f(x: Vec<i32>) -> i32 {
    x.iter().sum()
}
)", patch.crates_io = list(`extendr-api` = list(git = "https://github.com/extendr/extendr"))
)
#> ℹ build directory: '/tmp/RtmpcSL9O4/file62d15a1440a6'
#> ✓ Writing '/tmp/RtmpcSL9O4/file62d15a1440a6/target/extendr_wrappers.R'.

f(c(1L, NA))
#> [1] -2147483647

Created on 2021-08-07 by the reprex package (v2.0.0)
I think this behaviour itself is fine, as long as it's obvious the operation is unsafe. Maybe we can provide this as a better name (e.g. to_xxx_unchecked) and use a bit slower but stricter TryFrom by default?

I agree. If the function argument is a vector (so data needs to be copied anyways) we should do element-wise checking.
I'm still not sure how I feel about slices, since they introduce the same problem.

Perhaps we should embrace what {cpp11} does? I.e. provide dedicated types which wrap SEXP. And an API to extract 'correct' and 'validated' data on Rust side?
In the above example, we accept some Integer, which verifies only that the vector type is integer and the argument is not NULL.
Then we can have a method that copies values to Vec<i32> (either existing or allocating a new one), panicking if there is an NA, or to some Vec<Option<i32>>, never panicikng.
For slices, I think I tried this example some time ago.
We can introduce a wrapper type, say i32r, which is exactly 4 bytes in size. This allows us to cast any &[i32] to &[i32r].
i32r itself is NA-aware, and treats i32.MinValue as NA.
Implement all the necessary conversions to/from i32 for i32r and voila, validation happens only when the vector element is accessed in contrast to searching the whole vector for NAs when crossing R-Rust boudnary.
This approach should also work for Vec<i32r>, allowing direct copying of memory block and deferring validation.

Yes, I think this is the right way to go. I believe we're already doing this to some extent with the wrapper types, but we don't have a complete API yet.

We can introduce a wrapper type, say i32r, which is exactly 4 bytes in size. This allows us to cast any &[i32] to &[i32r].

Considering ALTREP, I feel it's better to proxy to the whole vector, not to the individual element. But we already introduced Bool, so this might be fine.
I thought Int, Logical, Real are such things, but it seems a bit different...? They are just iterators, but probably we want to do more than just iteration (e.g. slice()).
# This works
fn f(x: Int) -> i32 {
    x.sum()
}

# This works
fn f(x: Int) -> i32 {
    x.index(0)
}

Here is an example from the playground.
The trick is to declare a type
struct i32r(i32);

And cast a slice of &[i32] to &[i32r], which I did using raw pointers.
This involves no copying/allocation, we just get a new 'view' over the same block of memory.
Having &[i32r], we can now implement any number of traits for conversion to/from i32 with any logic we want, because we own this type.
Speaking of altrep, I am not sure what to do. What is the current behavior of fn get_vec(x : Vec<i32>) {} if altrep is passed?
I feel like if the argument is some iterator Integer, then everything is fine and values are produced under the hood.
Alternatively, we can have some enum wrapper
enum VecType<'a, T> where T : std::marker::Sized {
    Plain(&'a [T]),
    AltRep(&'a dyn std::iter::Iterator::<Item = &'a T>)
}

(I am sure this is horribly wrong, but at least it communicates the idea).
This generic enum can then be used as an argument type like fn get_vec(x : VecType<i32r>) {}, and it is up to the user to determine how to deal with the internal representation of the vector.
If altrep is passed to plain &[i32], &[32r], etc, then it should panic!().
We also should ensure that all these types work fine with the Nullable enum that is used to allow NULL values, e.g.
Nullable<VecType<i32r>> allows both plain and altrep vectors of i32, as well as NULL, and performs no value validation unless the user tries to access individual values.

Sorry, I know ALTREP isn't the main topic of this issue, but let me add some comments for clarification.

If altrep is passed to plain &[i32], &[32r], etc, then it should panic!().

I think it shouldn't. It's often hard for users to know whether it's an ALTREP vector or not, just like integer and double. For example, from users perspective, would it be acceptable if the first one of the following works but the second errors? (Or, what if it's a column of a data.frame created by readr::read_csv(), which also uses ALTREP for lazy loading?)
some_extendr_func(c(1L, 2L, 3L, 4L, 5L))
some_extendr_func(1:5)

So, what should we do? If safety is first, we can just expand the ALTREP. Actually this is what we are doing now by applying INTEGER(), or REAL(), if I understand correctly.
https://github.com/extendr/extendr/blob/6cf4c1b457d01ce22f2f7fe875a4974e799122eb/extendr-api/src/robj/mod.rs#L696
So, this does require allocation, which is against this assumption.

This involves no copying/allocation, we just get a new 'view' over the same block of memory.

Here's the actual behavior:
rextendr::rust_source(code = r"(
#[extendr(use_try_from = true)]
fn f(x: &[i32]) {
  // Do nothing
}
)", patch.crates_io = list(`extendr-api` = list(git = "https://github.com/extendr/extendr"))
)
#> ℹ build directory: '/tmp/RtmpkEDXZV/file1a8bb59202477'
#> ✓ Writing '/tmp/RtmpkEDXZV/file1a8bb59202477/target/extendr_wrappers.R'.

x <- 1:5

# ALTREP-form
.Internal(inspect(x))
#> @56348ec17d60 13 INTSXP g0c0 [REF(65535)]  1 : 5 (compact)

f(x)

# expanded
.Internal(inspect(x))
#> @56348ec17d60 13 INTSXP g0c0 [REF(65535)]  1 : 5 (expanded)

For reference, cpp11 handles this without expansion. It doesn't provide a scalar representation, but just a wrapper for a vector (c.f. https://cpp11.r-lib.org/articles/cpp11.html#integers).
cpp11::cpp_function(code = "void f2(cpp11::integers x) {}")

x2 <- 1:5

# ALTREP-form
.Internal(inspect(x2))
#> @56348cca21d8 13 INTSXP g0c0 [REF(65535)]  1 : 5 (compact)

f2(x2)

# not-expanded
.Internal(inspect(x2))
#> @56348cca21d8 13 INTSXP g0c0 [REF(65535)]  1 : 5 (compact)

@Ilia-Kosenkov
I want to understand the reason why you prefer &[i32r] than implementing some proxy class to the whole vector like cpp11's integers. From users perspective, I think it shouldn't matter whether the object is &[i32r] or something like Integer as long as they provide the same methods and operations. We anyway need to eliminate missing values and convert it to &[i32] to pass the values to some other crates that do numeric calculation. Is it the implementational simplicity? Or am I missing some points...?

I'm starting to think that accepting slices as argument is an inherently flawed approach. The memory model is just too different between R and Rust, and the only way to ensure slices are correct is to copy and check the input data first, which defeats the purpose of a slice.
An abstract wrapper class holding an entire vector of data is much safer, and it can provide iterators etc.

@yutannihilation, it was just an example. My point is -- if we want to accept slices to avoid explicit copying, I suggest to do it through a proxy i32r type, which implements data access and validation.
Otherwise, some Integer type is the way to go.
I am fine supporting either &[i32r] or Integer or both, but I do not like plain &[i32], which requires validation upon function call, or which implicitly treats NA_integer_ as std::i32::MIN, which is incorrect.
With Integer, I still think there is a room for &[i32r] slice. As Rust is built for performance, we can provide a method that returns something like Option<&[i32r]>. If a vector is a regular array, we can get a slice for fast data access, otherwise, we need to obtain an iterator and populate our own data structures.
@clauswilke, I understand it is problematic. However, we now have configuration, so we can choose a safe default approach (i.e. using Integer and friends), but also allow other types if configured properly (like right now with use_try_from). The challenge is to satisfy both R and Rust users, who are used to -- as you mentioned -- different memory models.

Thanks for clarification. Let me think for a while to summarize the possible options. I feel I'm a bit biased to use bare &[i32]...


Custom task count message in Tasks query

⚠ Please check that this feature request hasn't been suggested before.

[X] I searched previous Ideas in Discussions didn't find any similar feature requests.
[X] I searched previous Issues didn't find any similar feature requests.
[X] I am only requesting a single feature. Multiple changes should be split into individual requests, with links between them.
[X] I believe my requested feature will be generally applicable to other users, not just me: it is not uniquely tied to my personal workflow.

🔖 Feature description
Hello! It would be useful to format the task count message displayed at the end of a query.
✔ Solution
Example syntax for this could be tasks.query.message("%c task%s created"). Here, %c would parse as the count variable and %s would be _ if %c==1 and s otherwise (for plural English words).
Result: 2 tasks created or 1 task created

This way we don't have to add headers above queries - we can get the context we need from the query message.
❓ Alternatives
No response
📝 Additional Context
No response

Hi @shauncassini,
Thanks very much for the suggestion.
This sentence really makes the intention clear.

This way we don't have to add headers above queries - we can get the context we need from the query message.

This reminded me of #2198. I'll add a comment there....

I've tweaked the summary slightly so the intent is clear when reading the Issues list...

Hi @claremacrae, thanks for the quick response and for tweaking the summary. I'll keep an eye out on this!


Distribute features and templates and store them in ghcr

Ref:

https://containers.dev/implementors/features-distribution/
https://containers.dev/implementors/templates-distribution/

DoD:

[x] Keep them in new repository

@Dzolowski please add also tests. Reference: https://github.com/devcontainers-community/features-llvm/blob/main/.github/workflows/test-feature.yml
To be checked:

if we can use https://github.com/devcontainers-community/features-llvm instead of hosting our own solution
if we can use ncs hosted by e.g. nordic?
if we can use jlink as separate feature (maybe hosted by SEGGER)

JLink as extension done,
ncs toolchain using common utils done

Added tests, clang is included in llvm,


feat: reread config file on each pass of plot loop

Allows settings such as number of threads to be tweaked without restarting "plotman plot".

This would at least need to be configurable.  I share my configs between multiple machines and use git to transfer between and so various changes could get loaded that do not make sense while I am processing through that.  Also, what should happen if the reload fails?

@altendky
of course old config should be retained.
            try:
                newcfg = configuration.get_validated_configs(configuration.read_configuration_text(config_path), config_path)
                cfg = newcfg
            except Exception as ex:
                print('... while reloading config: %s' % (str(ex)))


ArpScanning with reflection

c# code was removed and dll importation is made using powershell reflection in order to avoid creating temporary files on disk.

Awesome! Great work, merged.


CI: Fixed build issues for Espressif Chipsets

Added esp-nn submodule update for the same.
Added extra compile flags to build esp-nn assembly for ESP32-S3

@mocleiri can you please help to check why stm32 build is failing?

@vikramdattu thanks for making these fixes for CI and for ESP32S3.
STM32 has never worked right.  For a while it was building but its never worked properly on board.  I was testing with a Nucleo H743 and I also have a STM32F4.
I think its related to Micropython for STM32 being a bare metal port but not sure.   I have an experimental branch where I took out the single new command and put the inference logic back to how it was in OpenMV It didn't fix the esp32c3 issues but I haven't tried it for STM32 yet.
The current build problems are due to differences in CMSIS between what Micropython uses (a subset) and what customizations were added into tflm upstream for logging which depends on files not available in Micropython.
There is supposed to be a way to build Micropython using external CMSIS which I was going to try or to just changing the logging classes back to the non-optimized versions.
For RP2040 I literally just recompiled the code and microspeech worked on the first successful image build.
I was also considering porting to Zephyr and using that as a way to try to get at STM32 support.


docker 1.10 embedded DNS server forwarding container name requests to external DNS when using curl

Description of problem:
I use docker 1.10 and the new service discovery using the embedded DNS server. According the section Docker embedded DNS server of the docker networking documentation, I understand that only unresolved requests are forwarded to the external DNS server.
Unfortunately, by looking at my DNS server logs, I find out that some dns requests (when using curl for example) to a container name are forwarded to the external dns server defined on the host machine.
For example, with a simple nginx container named "myweb", the command curl -XGET http://myweb from another container on the same network produce the following entry in my DNS server logs:
18-Feb-2016 16:48:07.324 queries: info: client MY_HOST_IP#47069 (myweb): query: myweb IN AAAA + (MY_DNS_IP)

Strange thing is that a query to "myweb" using dig or nslookup does not appear in the DNS logs.
I tried bridge and overlay networks, using docker-compose 1.6.0 or docker directly and have always the same behavior.
				IN	A

;; ANSWER SECTION:
myweb.			1800	IN	A	<IP_ADDRESS>

;; Query time: 0 msec
;; SERVER: <IP_ADDRESS>#53(<IP_ADDRESS>)
;; WHEN: Thu Feb 18 16:03:02 UTC 2016
;; MSG SIZE  rcvd: 44

curl -XGET http://myweb

<!DOCTYPE html>

<title>Welcome to nginx!</title>

Welcome to nginx!

If you see this page, the nginx web server is successfully installed and
working. Further configuration is required.

For online documentation and support please refer to
nginx.org.

Commercial support is available at
nginx.com.

Thank you for using nginx.

When using dig, the request seems not forwarded but when using curl, the following entry appears in my dns log:
18-Feb-2016 16:48:07.324 queries: info: client MY_HOST_IP#47069 (myweb): query: myweb IN AAAA + (MY_DNS_IP)

@xamoc The docker embedded DNS server today handles only A records and not AAAA records. If you have IPv6 enabled, some of the tools (nc, curl etc.) first try to resolve the name to IPv6 (AAAA query). Since the embedded server can't handle it, it will be forwarded to the external servers. If you want to avoid this behavior you can use the option to resolve the name to IPv4 only (nc -4, curl -4).

thanks for this quick response @sanimej
The problem is that IPv6 is not enable on my docker daemon (I use the default ubuntu configuration) and I don't know how to force some applications of my stack to resolve on IPv4 only (curl was just an example).
I think I'll have to stick with a dns cache on my host for the moment.

Hi,
Some additional information: I deactivate IPv6 support on the ubuntu host but nothing change.
@sanimej, do you know when the IPv6 support will be added to the embedded DNS ?

@xamoc I have a PR open to add v6 service discovery in Docker [libnetwork #870] (https://github.com/docker/libnetwork/pull/870). This should be available in the next release, 1.11


Unable to build because of error with export from v. 5 beta 30

Bug report
I'm unable to compile fluent with new versions of webpack.

What is the current behavior?
After an update to webpack 5.0.0-beta.30 or higher, I get an error during compilation:
ERROR in<EMAIL_ADDRESS>9:0
Module parse failed: 'import' and 'export' may appear only with 'sourceType: module' (9:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|  *
|  */
> export { FluentBundle } from "./bundle.js";
| export { FluentResource } from "./resource.js";
| export { FluentType, FluentNumber, FluentDateTime } from "./types.js";
 @ ./index.js 1:0-62 2:12-24 2:26-40

If the current behavior is a bug, please provide the steps to reproduce.
https://github.com/mariusrak/Webpack5FluentError

What is the expected behavior?
It should be built without an error same as with webpack 5.0.0-beta.29 or lower

Other relevant information:
webpack version:  5.0.0-beta.30
Node.js version: 12.16.3
Operating System: Windows 10 Pro 1909
Additional tools: babel-loader, fluent

Interesting problem - @fluent has "type": "commonjs", and have "module": "./esm/index.js",, webpack thinks it is commonjs module

So it is an issue of webpack or fluent? I've reported issue also at fluent https://github.com/projectfluent/fluent.js/issues/517

"module": "./esm/index.js", doesn't flag files as ESM. It's only an entrypoint.
You can put a { "type": "module" } package.json into the @fluent/bundle/esm folder to fix that.

You can use https://github.com/ai/dual-publish to achieve supporting commonjs/mjs

So there is mistake in the fluent package? Can I as a user do something about it?

So there is mistake in the fluent package?

Yep

Can I as a user do something about it?

Use resolve.alias and point to right file

Can I as a user do something about it?

Use resolve.alias and point to right file

I don't think this will help here. You need to flag the files as ESM:
module.rules: [{
  test: /\.js/,
  include: /@fluent[\\/]bundle[\\/]esm/,
  type: "javascript/auto"
}]

Both solutions helped.
But why it worked till 5 beta 29?

@mariusrak because we start to support "type": "commonjs"/"type": "module" since beta.29

IMV, I don't think this behavior of Fluent should actually be treated as a bug. Some browsers might not recognize ".mjs" (or "maybe .cjs") to handle it properly as JavaScript, so it should be possible to use the ".js" extension for "browser" for say ESM browser, and possibly say "default" for UMD. (IMO, Webpack should, create a distinct "umd" type if wishing to support importing of non-ESM browser files and always expect ESM in both browser and default.)
The type field relates to how Node processes modules. The whole idea of the other conditionals is to let them use what works for their environments and requirements.


POWER: Fixing syntax error in makefile

Fixing syntax issue in Makefile.power added by recent commit
af19cda65aef4d033ae33213013c88b0a99f9da2

Aww, sorry for that.

Do you know how we can avoid these issues with our Travis CI  as we have POWER9 added in Travis. Ref : https://github.com/xianyi/OpenBLAS/issues/2754

I do not think Travis (or actually OSUOSL providing the POWER9 hardware to them) is offering POWER10 yet. Perhaps I can set up qemu (POWER10 support appears to be very limited but may be enough to get a build started), but primarily I need to be more
careful with edits (or stop using github's simple web editor for good)

The one in Travis is active again since a few days (needed xianyi to initiate the migration to travis.com and apply for free credits). But it cannot catch bugs that I introduce in P10-specific sections of the Makefile.

Thanks @martin-frbg


Lyft dataset

Hi,
can you give a brief information about how to train and evaluate on the Lyft dataset? How to structure the dataset so that the dataloader can load the samples?
Thanks in advance.

Hello,
The lyft dataset should be structured as:
lyft_dataset/
    trainval/
        images/
        maps/
        train_data/

Then specify in the config file the path to cfg.DATASET.DATAROOT=lyft_dataset/

Thanks for the fast response. Can you also help with downloading the dataset in the appropriate format? I think Lyft is stored as zarr format but the fiery dataloader needs images right?
Thanks again.

I think it is still the same format, I first thought you are using the prediction dataset. The perception dataset contains the folders that you have mentioned. I believe you combine both train and test-val split into one folder named trainval, right?
I have another question about the indices that you are using for the Lyft dataset. The naming convention of the images is for example host-a004_cam0_1232815252251064006.jpeg, and I believe 004 represents the index of that image. When I checked the indices in the whole dataset, there are much fewer indices than you are using (lyft_splits.py). Can you clarify these points?
Thanks in advance.


setup issue

Not able to run setup.py. I get this error. I could see this error in both windows 64 bit and on Linux.
https://www.screencast.com/t/V5bd1k2urKC

Can you show me more of the error message please? And what Python version are you using?


add ${__dirname} to path config

I was getting a path error.  Using path: ${__dirname}/src/images, resolved it for me

Well done. Thanks for sending in this change @jastuccio 👍


Quickstart users cannot create labels or set label schema from Python (since 1.5.0)

I'm preparing the challenge for the Alpaca Dataset (see).
I realized that the team user can no longer create or set the labeling schema (via UI or Python).
I understand v1.5.0 is a transition towards the DB, but if we don't set the team user as superuser for 1.5.0 no user can create labels. There seems to be a user field for this instead of the workspaces=[] logic we had before (or maybe it's just too late and I'm messing something up 💤 ).
At the bottom of this notebook you can find the issue:
https://colab.research.google.com/drive/1KyikSFeJe6_lQNs-9cHveIOGM99ENha9#scrollTo=NWtQedKhg7I_

Yes, you're right. A user with workspces=[] is considered a normal user and won't be able to store settings (from v1.5.0, before, the restriction was also about dataset creator, but this will change) I've made changes to the quickstart image setup to fix this.
It's working as expected now.

Yihaaa


Compute pass information not present

I think this is probably the only good WebGPU gpu debugger available and I've been using it extensively. The only important thing that seems to be missing is that compute pass information doesn't seem to show up anywhere, as far as I can tell.
In this capture I have two compute passes, one before and one after all those buffer writes in the middle. I can't seem to find any information regarding compute shaders anywhere though, so maybe that's not implemented yet? Would be worthwhile to add that in.

That is odd, it does do compute pass captures already. I'm very curious why yours aren't recorded. Any chance for a repo I can test?

Hey, sorry about that 😅 my mistake.. My first inkling was that the inspector wasn't set up to show compute passes, but I think it was just an issue on my end.
I'm working on a WebGPU engine and it seems I was skipping the corresponding compute begin and end calls on my end for some reason.
https://github.com/Sunset-Studios/Sundown/blob/c0cab9f3ad49502e7fde2492f9e606699c5d12a9/engine/src/renderer/render_graph.js#L962
I can see compute passes just fine now. Sorry for the bother!


Issue 3950 Fixed

issue: #3950

@vishal-webkul
still not associated brands are also showing in filter for all categories


MediaPipe folder misplaced

it's in the third-party directory. when running, the mediapipe_audio_blendshape reports module not found. Simple mitigation by copying the mediapipe folder over inside /src

I think that's by design. but I'm not sure why. If you look in the the package.json. the start script, copies those files into src.   "scripts": {
"start": "cp -r third_party/mediapipe/ ./src/apis/ & react-scripts start",

ah you are right... not sure why the copy didn't actually succeed in my case. anyways. thanks!

I am trying to run the project on a Windows environment but the copy didn't succeed then I did the following
"scripts": {
"start": "xcopy /E /I third_party\mediapipe\ src\apis\ && set NODE_ENV=development && start react-scripts start",
Now, I am facing the following error
Module not found: Can't resolve './mediapipe/web/graph_runner/graph_runner' in 'C:\generative-ai-docs\demos\palm\web\talking-character\src\apis'
@JacobGoldenArt Could you please help to figure it out.
Thanks!


Cannot use captured groups in replace when searching a regex that contains multiple lines (\n)

VSCode Version: 1.29.1
OS Version: Win 7 x64

It seems that when we search in multiple files using a regex that contains the "\n" sequence, we cannot use the captured groups in the replace field:
Steps to Reproduce:
Multiline search with **non-**working replace ($1 & $2 are not replaced by their corresponding group)

Multiline search with working replace ($1 & $2 are correctly replaced by their corresponding group)

This does not seem to be a duplicate of any of the bugs above. The example above contains a rather long regex, but even with very simple ones you can verify that the replace is broken as soon as a \n is in the regex:

(.+) : $1 replace will work
(.+)\n : $1 replace won't work

This looks like a duplicate of https://github.com/Microsoft/vscode/issues/62980 - should be fixed in Insiders


[8.x] Improvement for Log::build()

This PR is connected with "On-Demand Channels" (https://laravel.com/docs/8.x/logging#on-demand-channels).
"On-Demand Channels" have been introduced by https://github.com/laravel/framework/pull/39273
Problem
Every call of a Log::build(...) uses the same log channel. Example (can be executed in tinker):
use Illuminate\Support\Facades\Log;

// ... some code

Log::build([
  'driver' => 'single',
  'path' => storage_path('foo/custom.log'),
])->info('foo');

// Now we have a "foo" record in a "foo" directory

// ... some code

Log::build([
  'driver' => 'single',
  'path' => storage_path('bar/custom.log'),
])->info('bar');

// New "bar" record, but still in a "foo" directory

Case
We have a queue running. Some jobs need certain channels (based on the names from a database). We've tried to use "On-Demand Channels". And now all information goes to one channel (the one is used by a first job appeared in a queue).
Possible solution
We can extend a "build" method by adding second optional parameter - the name of a channel.
For me it's hard to say is it good or bad from architectural perspective. But it certainly can be useful in some situations.
I've prepared a code change and a test method.
I've run tests by calling:
./vendor/bin/phpunit --filter=LogManagerTest

There's breaking changes here so please send this to master.

@driesvints
Does an optional parameter considered as breaking change? It won't hurt existing functionality.

Changing a method signature is a breaking change unfortunately.

@Air-Petr classes that extend LogManager and overwrite the build method will break, because the signature does not match anymore. That's what is Breaking, unfortunately.


Documentation should set the right version automatically.

OpenEBS uses readthedocs and the source code is at : https://github.com/openebs/openebs/tree/master/documentation
The release version is hardcoded here: https://github.com/openebs/openebs/blob/master/documentation/source/conf.py
The version variable should automatically fetch the current version during the build time.

Hi, I went through the conf.py file  and found that the version variable is hardcoded to 0.4 . Where should it fetch the version value from, when it is built?

@MagnumOpus21 You can get the latest git tag.
Lets see if better solutions exists.

not exactly an helper for auto version detection, using an array of versions is one way stackstorm has handled: https://github.com/StackStorm/st2docs/blob/master/docs/source/conf.py

This issue doesn't exist any more. related to readthedocs.


could not open the document LaunchScreen.xib" because it does not exist.

Hi
I got this error when trying to build te app
AuthenticationExampleSwift Group
/Users/rrtrtetretetr/Desktop/shared/LaunchScreen.xib
/Users/rrtrtetretetr/Desktop/shared/LaunchScreen.xib: Interface Builder could not open the document LaunchScreen.xib" because it does not exist.
BR
DAvid

getting the same error in Authentication.

There is a dependency on the "shared" directory one below up from any quickstart.
If you clone the whole quickstart-ios repo, it will be in there.
https://github.com/firebase/quickstart-ios/tree/master/shared


rust-analyzer never stops scanning the project files

Is there an existing issue for this?

[X] I have searched the existing issues.

Is this issue related to iced?

[X] My hardware is compatible and my graphics drivers are up-to-date.

What happened?
to investigate iced, I cloned the repository and tried opening it in VSCoed on Windows.
This does not decently worl, as the rust-analyzer (I did do "rustup update" and restarted VSCode) never stops scanning the project files.
I was easily able to compile and run the packages provided from the command line.
What is the expected behavior?
Rust-analyzer should be available after some minutes.
Version
master
Operating System
Windows
Do you have any log output?
I have no idea how to log the behavior of rust-analyzer. It seems to shows messages like "fetching", "fetching metadata", and "building"

This should be a rust-analyzer bug.

I found that the problem supposedly  is not "never stops", but takes a VERY long time, due to the fact that the workspace contains a lot of example packages that the analyzer seems to "cargo check".
When moving an example main in a new  project, the analyzer still takes a long time checking all the dependencies, but it actually stops after some minutes.


Add grace to the timeouts

Adding grace time to the timeouts makes managing the timeout in the tasks easier; you don't have to deduct any time from ${TIMEOUT} to avoid losing to the fz's context deadline.

fixed in #63


Internal Server Error <Jan, 07 2016>

Hi, I've got the Internal Server Error on each page except home, and about.
I want to note that godoc.org much more convenient than golang.org/pkg/... And I would not like to abandon it.
Thank you.

Yeah, seems to have an issue

Will it go on long?

Relax. Just use offline doc for a while.

I think it has been down for at least 8 hours now, (at a guess) - I've been trying all day - don't remember exactly when I first noticed.

In the mean time feel free to use https://gowalker.org.
Working for me https://gowalker.org/github.com/btcsuite/btcd/txscript#SigCache

+1

[+1]

/cc @adg

In the mean time feel free to use https://gowalker.org.

Oh, hell. I clicked the wrong button. Sorry.

In the mean time feel free to use https://gowalker.org.

Yeah, it is a good one.

Same here. Whole site is down. :(

Yeah it's still down

Taking a look

It's back, sorry for the inconvenience.
Now working on solving the underlying issues to prevent this from occurring again.

Thanks @adg!


Class "Product" not found

Hello everyone, i am using the hardevine/shoppingcart this is my controller code this said that
public function store(Request $request)
{
    Cart::add($request->id,$request->name,1,$request->price)
        ->associate('App\Models\Product');

    return redirect()->route('cart.index')->with('success_message','Item was added to your cart');
}

this error have come
Class "Product" not found

https://flareapp.io/share/J7oajOGm#F54

->associate('App\\Models\\Product');

brother still error have come

brother still coming please me to solve out this error https://flareapp.io/share/Rmrn9xKm#F54

it bit confused sometime code working fine and sometime said Class "App\Product" not found
why ??

I'm continuously getting this error while adding products in bulk
Call to a member function associate() on array


XDG_RUNTIME_DIR not set for Carla 0.9.12 in docker container

Hi,
I was trying to setup a carla server in a docker container with a display (the spectator mode).
Which works well with the following docker command and carla version <IP_ADDRESS>:
docker run  -p 2000-2002:2000-2002  --cpuset-cpus="0-5"  --runtime=nvidia  --gpus 'all,"capabilities=graphics,utility,display,video,compute"'  -e DISPLAY=$DISPLAY  -v /tmp/.X11-unix:/tmp/.X11-unix -it --privileged carlasim/carla:<IP_ADDRESS> ./CarlaUE4.sh -opengl $1
But if I try to execute that same command with carla version 0.9.12 I get the following error message:

4.26.2-0+++UE4+Release-4.26 522 0
Disabling core dumps.
sh: 1: xdg-user-dir: not found
error: XDG_RUNTIME_DIR not set in the environment.
error: XDG_RUNTIME_DIR not set in the environment.
error: XDG_RUNTIME_DIR not set in the environment.

I also get the same error message when I try to start it with the command specified in the docs:
docker run -e DISPLAY=$DISPLAY --net=host --gpus all --runtime=nvidia carlasim/carla:<version> /bin/bash CarlaUE4.sh -opengl <-additonal-carla-flags>
I can manage to start the 0.9.12 server to start without a display but I'd like to get it to work with a display.
Thank you in advance.
CARLA version: 0.9.12
Platform/OS: Ubuntu 20.04 / Docker

@Axel1092  @mawi42 @jackbart94
any suggestions?

Any update for this issue ?

I also encountered the same problem.
Running on WSL2 (ubuntu 20.04), nvidia driver 512.15
Any update on this issue?
sudo docker run --privileged --gpus all --net=host -e DISPLAY=$DISPLAY carlasim/carla:0.9.13 /bin/bash ./CarlaUE4.sh
sh: 1: xdg-user-dir: not found
error: XDG_RUNTIME_DIR not set in the environment.
error: XDG_RUNTIME_DIR not set in the environment.
error: XDG_RUNTIME_DIR not set in the environment.

I see the same error when following the CARLA in Docker instructions. I am running 0.9.13 in Docker on a fresh install of Ubuntu 20.04.
The following command works for me, but it requires the xhost + command which may not be desirable for security reasons. Either way, I hope this a useful data point. Use at your own risk.
First, allow connections from any host.
xhost +

access control disabled, clients can connect from any host

Next, start the simulator.
docker run --name carlaserver \
    -e SDL_VIDEODRIVER=x11 \
    -e DISPLAY=$DISPLAY \
    -e XAUTHORITY=$XAUTHORITY \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    -v $XAUTHORITY:$XAUTHORITY \
    -it --gpus 'all,"capabilities=graphics,utility,display,video,compute"' \
    -p 2000-2002:2000-2002 carlasim/carla:0.9.13 \
    ./CarlaUE4.sh -quality-level=Epic

    4.26.2-0+++UE4+Release-4.26 522 0
    Disabling core dumps.
    sh: 1: xdg-user-dir: not found
    ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
   ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
   (SOUND CARD ERRORS CONTINUE...)

The simulator opens and seems to work fine, but I have not done any further testing.

As mentioned here, you can also use xhost local:root instead of xhost +. It works for me at least.

Got the same issue here. Any solutions for the carlasim/carla image?

I see the same error when following the CARLA in Docker instructions. I am running 0.9.13 in Docker on a fresh install of Ubuntu 20.04.
The following command works for me, but it requires the xhost + command which may not be desirable for security reasons. Either way, I hope this a useful data point. Use at your own risk.
First, allow connections from any host.
xhost +

access control disabled, clients can connect from any host

Next, start the simulator.
docker run --name carlaserver \
    -e SDL_VIDEODRIVER=x11 \
    -e DISPLAY=$DISPLAY \
    -e XAUTHORITY=$XAUTHORITY \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    -v $XAUTHORITY:$XAUTHORITY \
    -it --gpus 'all,"capabilities=graphics,utility,display,video,compute"' \
    -p 2000-2002:2000-2002 carlasim/carla:0.9.13 \
    ./CarlaUE4.sh -quality-level=Epic

    4.26.2-0+++UE4+Release-4.26 522 0
    Disabling core dumps.
    sh: 1: xdg-user-dir: not found
    ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
   ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
   (SOUND CARD ERRORS CONTINUE...)

The simulator opens and seems to work fine, but I have not done any further testing.

As mentioned here, you can also use xhost local:root instead of xhost +. It works for me at least.

This command works for me also


Replace sequence_lens with none in RNN ops when bs is 1

In RNN ops, sequence_lens is defined as:
sequence_lens (optional, heterogeneous) - T1: Optional tensor specifying lengths of the sequences in a batch. If not specified - assumed all sequences in the batch to have length seq_length. It has shape [batch_size].

If batchsize is 1, it's safe to remove sequence_lens (set to none) since all sequences (one here) have the same length.

@jenkins-droid test this please

Jenkins Linux amd64 Build #12152 [push] Replace sequence_lens wi... started at 09:38

Jenkins Linux ppc64le Build #11158 [push] Replace sequence_lens wi... started at 10:45

Jenkins Linux s390x Build #12165 [push] Replace sequence_lens wi... started at 10:38

Jenkins Linux amd64 Build #12152 [push] Replace sequence_lens wi... passed after 1 hr 6 min

Jenkins Linux s390x Build #12165 [push] Replace sequence_lens wi... passed after 1 hr 38 min

Jenkins Linux ppc64le Build #11158 [push] Replace sequence_lens wi... passed after 1 hr 52 min


Open-source alternative to CPLEX for preserved-site CV

Feature
Implementation of preserved site cross-validation that uses the open-source GLPK solver, rather than CPLEX, which is proprietary.
Pitch
The GLPK solver may come at a significant performance penalty, but giving users the option to choose between these solvers would 1) make preserved-site cross-validation easier to set up and use, and 2) remove the only proprietary dependency.
Alternatives
CPLEX, which is proprietary and restricts downstream use of this library.
Additional context
Default behavior could be to use CPLEX if available, and fallback to GLPK if not. Alternatively, the solver could be chosen by the user with the argument val_solver.

Associated Jira issue is SLID-1

Pyomo/Bonmin solver implemented in 8e7bdb8.


Upgrade to Next.js 13

Refer: Next.js 13 Blog for migration.
Current version is 12.2.0.

Can go for it ?

hi @hussamkhatib, @scriptified/core-team would be picking this upgrade task since we've already started it in local. Appreciate your interest :)

@hussamkhatib - see if #108 interests you. It's available to pick.

Sure, I will have a look


Request: build Apollo without docker

Is your feature request related to a problem? Please describe.
docker is required to build Apollo, which increased the complexity for non-docker users.
When docker provide the dev environment with many 3rd party libraries, it also hide them: no one cares or can't do anything about them, like to upgrade 3rd party libraries versions.
For example: Fast-RTPS is v1.5.0 in the docker, which is 5 years old now.
Describe the solution you'd like
Describe the list of 3rd party libraries and their installations if there is special need for Apollo, then Build Apollo without docker
Additional context
I have tried to do it by myself, it turns out to be very easy

remove the docker check from apollo_build.sh
install fast-rtps (installation prefix needs to be same as in Apollo docker), uuid, libncurses5
build it with existing bazel build

I successfully built cyber now, will try dreamview later, which needs boost.
If this feature is interesting for anyone, I would like to create a pull request.
Thanks.

all build scripts are at: apollo/docker/build/installers/install_fast-rtps.sh

there has someone do this job  you can refer to this video https://www.bilibili.com/video/BV1Br4y1i73E?spm_id_from=333.999.0.0

Currently compiling without docker is not supported, but you can try to install the whole environment ref the docker file


Update MD file on new branch 2017-24-21_07-11-19

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon.md
:white_check_mark:Succeeded

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


Allow creation of default admin account

Unless an initial user database is provided, sftpgo creates the default/initial admin account through the UI. This PR allows creation of the default admin account through the Helm chart.
This PR builds on top of #130, so flagging this as draft for the time being.

Thanks for the contribution @stephan2012 !
To be completely honest, I feel similarly about this change as about #130.
I wonder if could make these options result in smaller changes for better future reuse and less overall lines.


generate csv manifests

upgrade the csv to version 0.2.0 and generate the csv manifests.
olm-catalog/0.1.0 is associated with the 0.0.1 image tag (release 2.0).
olm-catalog/manifests is 0.2.0 which is associated with the latest image tag.

/retest

/approve
/lgtm


import/default with camelcase-keys

Hi and thank you for your work on this plugin. I am having trouble default importing without lint errors from camelcase-keys, even though others seem to be able to do so.
camelcase-keys: 6.2.2
snakecase-keys: 3.2.0
eslint: 6.8.0
eslint-plugin-import: 2.20.1
typescript: 3.8.2
vs code: 1.44.2
In my project, camelcaseKeys is imported and called successfully, but I get the below error when linting:
import camelcaseKeys from 'camelcase-keys' // <-- here
import { expect } from 'chai'
import snakecaseKeys from 'snakecase-keys'

describe('keys tests', () => {
  describe('camelcaseKeys', () => {
    it('changes keys to camelcase', () => {
      // eslint-disable-next-line @typescript-eslint/camelcase
      const result = camelcaseKeys({ snake_case: 'value' })
      expect(result).to.be.deep.equal({ snakeCase: 'value' }) // <-- passes
    })
  })

  describe('snakecaseKeys', () => {
    it('changes keys to snakecase', () => {
      const result = snakecaseKeys({ camelCase: 'value' })
      // eslint-disable-next-line @typescript-eslint/camelcase
      expect(result).to.be.deep.equal({ camel_case: 'value' }) // <-- passes
    })
  })
})

1:8 error No default export found in imported module "camelcase-keys" import/default
Strangely, I have no linting issue when default importing from snakecase-keys, whose index file seems structurally the same to that of camelcase-keys.
If it is useful, here is the tsconfig:
{
  "compilerOptions": {
    "alwaysStrict": true,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "module": "commonjs",
    "esModuleInterop": true,
    "target": "es6",
    "noImplicitAny": true,
    "moduleResolution": "node",
    "sourceMap": true,
    "baseUrl": ".",
    "paths": {
      "*"<EMAIL_ADDRESS>    },
    "allowJs": true,
    "typeRoots": ["overrides", "node_modules/@types"]
  }
}

Thank you for any guidance. I am pretty new to typescript so I may be missing something simple.

I'm very confused why one would work and the other wouldn't.

We are too. If there are difficulties reproducing the problem, please let me know what more about the project I should share.

close in favor of https://github.com/import-js/eslint-import-resolver-typescript
And the two declaration files are different
https://github.com/sindresorhus/camelcase-keys/blob/1082010f742c9f5b371a4e2e7f86e2faa28f4e41/index.d.ts#L190
https://github.com/bendrucker/snakecase-keys/blob/b3a1abb37648da041d153286141138825266c613/index.d.ts#L108


culture in components.X.header

when setting components.X.header, as in
components={{ week: { header } }}
...
const header: FC<HeaderProps> = ({ date, localizer }) => (
  <>{localizer.format(date, 'D', culture)}</>
);

@eps1lon Is there a reason why culture was removed from HeaderProps? because here ts throws errors as culture is required by localizer.format
So either it isn't being passed to header, or it isn't required by format.

I'm not overly familiar with TS, and don't know who changed those TS definitions, so I can't speak to that. Maybe you can submit a PR to the definition repo?

If i understand you, although localizer.format requires a culture. Somehow RBC will take care of that, so we could say, it is no longer required... if so, I can definitely update the ts definition.
But then again, what about formats? in the examples culture is available as a prop, and it is being used... it is not homogeneus.

I'll pr to definitelyTyped then, and will also take a look at the aforementioned docs


Font Color Will Not Change

I tried doing exactly what was given here in my

Nevermind! I had to add
.custom.char.typed


Add Numpy and Pandas Cheatsheet

What does this PR do?
Add resource(s) | Remove resource(s) | Add info | Improve repo
Add Cheatsheet for Numpy/Pandas
For resources
Description
Numpy Pandas Cheatsheet
Why is this valuable (or not)?
It give shorthand reference about python library commonly used
How do we know it's really free?
Anyone can pull it up in a browser
For book lists, is it a book? For course lists, is it a course? etc.
It is a programming cheatsheet
Checklist:

[x ] Read our contributing guidelines.
[x ] Search for duplicates.
[x ] Include author(s) and platform where appropriate.
[x ] Put lists in alphabetical order, correct spacing.
[x ] Add needed indications (PDF, access notes, under construction).
[x ] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

with #9049 and #9079 this is just tripling the review burden for us


AWS_ACCESS_KEY_ID can never be unset

What happened:
When running install_worker.sh, you are unable to fall to the else here because set -o nounset at the top of the file prevents this variable from ever being unset.
What you expected to happen:
I can run this script without AWS_ACCESS_KEY_ID being set, and it falls back to using wget instead.
How to reproduce it (as minimally and precisely as possible):
unset AWS_ACCESS_KEY_ID
./install_worker.sh

Anything else we need to know?:
Im running these scripts in EC2 image builder, if that matters. Instead of using the makefile and using packer. If I comment out the nounset at the top of the file, this script works great for me. :+1:

I understand the use case of outside of packer never being a thing. IMO this should still be open to, at minimum, remove an unnecessary code path.


⚠ SkyfallMC Minecraft Server has degraded performance

In e0daaac, SkyfallMC Minecraft Server (play.skyfallmc.ga) experienced degraded performance:

HTTP code: 200
Response time: 1737 ms

Resolved: SkyfallMC Minecraft Server performance has improved in 41ade18.


alut

Library name:
alut
Library description:
A Haskell binding for the OpenAL Utility Toolkit, which makes managing of OpenAL contexts, loading sounds in various formats and creating waveforms very easy. You can find the required ALUT library e.g. here on GitHub.
Source repository URL:
https://github.com/vancegroup/freealut.git
Project homepage (if different from the source repository):
Anything else that is useful to know when adding (such as optional features the library may have that should be included):

@GPn-G Is this port a C/C++ library? How to build it?

@GPn-G Is this port a C/C++ library? How to build it?

yes, it is C++. The build method is according to this website https://github.com/vancegroup/freealut/blob/master/README

If you wish to add this port in the future, you can reopen this issue, but we're closing it for now.