Update "release schedule" card to link to issue 5888

Related Ticket(s)
No ticket
Description
Noticed that the card on homepage for "Release schedule" only points to Github/issues, which is not helpful. Added the current specific release schedule issue. If Roberta stops updating that issue, we will make a PR to follow up.

Close and reopen to restart build. Yes if one day we close this issue and open a new one, this will go out of date. We could consider a release schedule page.


[Feature]: Add "Trending Games" Section in GameZone Website

GSSOC'23
[Issue Description]: Add Trending Games Feature in GameZone Website for seeing Currently Most Trending Games visible on Separate Trending Section Basis on Most Liked Games in Web Page.
What that Feature Can Do ??

This Issue is linking to Issue No:
Coming to this Feature, Create Trending Games Section in Below or Above the Search Bar.
When Click on Trending Games Button, It' showing Most Liked Games by Users shown in Ascending to Descending Order(Limit is Optional).Like Top 10 or Top 5 Games.

Advantages:

Whenever New Users visit on GameZone Website, Then Particular Users Interest to see Top Trending Games on Webpage.
This above cause gives More Brand Value to this Website and Possible to allow More Users entering into these Games.

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

Please Delete This Issue. I want to Create this Issue Under Our Guidelines


cann't kick buried job

hi,when i use bury() method to bury a job,everytime i use kick(10) method ,it returns 0,and i use statesTube() to see the state,it shows buried job doesn't decr,so i wonder why i cann't kick job

Hi. What happens if you telnet (or other solution) directly into beanstalkd and issue the commands there? Are you seeing the same issue? I suspect the bug you are experiencing could be an issue with the client library you are using. If so, it should be filed with the client library, not beanstalkd.

@kr I suggest this issue can be closed unless @selfchanger answers.

:+1: Thanks @JensRantil for helping with triage.

@JensRantil @kr thanks a lot and sorry for not replying soon,i didn't try more because i didn't use it anymore,maybe you are right,anyway thank you!


Server side errors aren't logged

For example:
https://couragescoresdev.azurewebsites.net/admin/browser/?table=Game&id=Foo
https://localhost:7247/api/Data/View/game/foo

Validation errors aren't recorded, but exceptions are


set armv7+x86 as default targets for Android builds

Hi,
They're more and more x86 devices on the market since 2012, such as the Google Nexus Player, Nokia n1, Tesco Hudl2, Asus Zenfones, Samsung Galaxy Tab 3 10.1, Motorola Razr i...
Currently full x86 architecture support is there when adding -emulator option or specifically adding x86 architecture for android inside project.xml, I'm proposing to change it so arm and x86 libraries are included by default in android builds, not only when building for the emulator.

I looked at my phone spec and the last one indeed had a x86 cpu, and the new one even has a x64.
But I couldn't manage to get android cpu market share anywhere.
By how much does adding the x86 bin increase the apk size?

The market share depends a lot depending on the countries. It's a lot less in the US than in other regions but I don't have the numbers.
The recently announced Chromebook support for Android apps will continue making it grow, since the majority of Chromebooks are x86/x64.
The x86 bin is approximately of the same size than the arm one, so it does add it to the apk size (~10MB with a regular build?). It's possible to split and publish different APKs as described on this page if it becomes a problem: http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits

I thought x86 Android devices could still run ARM?
http://stackoverflow.com/questions/31047552/android-running-armeabi-only-apps-on-intel-devices

All the Intel based ones do, yes.
The software translation in use on these devices may have a non-negligible impact on launch time, performance, battery consumption. It's working very well these days but not every manufacturer keeps updating the devices with the latest version of the OS and libs.

I feel a little bit torn -- I'm generally a fan of making our default build configuration broader and more compatible, but adding a default architecture burdens the build time and file size required for any project. As you say, you can add an architecture already, I wish we had better statistics on which architectures are in use.
The last problem is using native extensions that may not have x86 binaries built. Some extensions for Android don't support this, and it is not possible to get a new one from the vendor.

I guess we should still be able to build for one architecture when debugging. Couldn't we override default CPU architecture instead, either from command line or project.xml?

Regarding x86 market shares stats:
Intel has canceled 3 months ago all of its publicly announced 14nm x86 smartphone SoCs (Atom Z lineup, powering those old devices you mentionned)
and most of its 14nm tablet SoCs that would have shipped in Android devices -- namely SoFIA 3GX, SoFIA LTE, SoFIA LTE2, and Broxton.
The entire x86 Atom smartphone chip lineup has been cancelled. That is a 0% market share.
Sofia 3GX was supposed to be ready for 2014 and SoFIA LTE for 2015; Broxton was supposed to be released a year ago.
Intel announced in March this year that it lost over USD 10 Billion dollars on mobile chips.
Intel is getting out of the tablet (and mobile) business altogether.
Correlate that with Windows Phone on the verge of total failure (less than 2% of the current mobile market, the entire Nokia division being laid off as we speak) while Intel is in wholesale retreat from the phone and tablet market:
the old Intel/Microsoft combo totally did miss the mobile revolution, and ARM has but won 100% of the market. For now.
I would advise against adding x86 as default. It does not make sense, would double the build time, and you can already set what architecture you want to build to in the project configuration with a single line.

For the reasons you exposed, I agree it doesn't make sense to make a switch to x86 by default right now.
Considering the Chromebooks support and the current market share (it's not because they aren't many x86 phones/tablets sold anymore that the user base isn't sizable and there will be not come back..), I think it's still important to allow users to build projects for ARM+x86 easily if they want to.
Can we set more than one architecture in the project configuration?
If it's the case, then you can close this old PR.
If not, it'd be better if you can allow for setting multiple architectures for android in the project configuration, and add a new parameter -android-arm-x86 -android-archs=arm,x86 or whatsoever to allow people to do so. Being able to build arm+x86 apks is important to let people have and distribute just one APK which supports both platforms (and emulators/CI environments) easily.

Adding <architecture name="x86" /> to the project.xml is enough (since armv7 is already enabled),
if you want even more simply add more <architecture /> tags.


i18n(es): Translated customization.mdx

What kind of changes does this PR include?

Changes or translations of Starlight docs site content

Description

What does this PR change? Give us a brief description.
Translated customization.mdx

Gracias por la revisión 🤠


await inside f-string

When I tried cythonizing
async def abc():
    return "abc"

async def main():
    print(f"{await abc()}")

I got
Error compiling Cython file:
------------------------------------------------------------
...
async def abc():
    return "abc"

async def main():
    print(f"{await abc()}")
                   ^
------------------------------------------------------------

test.pyx:6:20: Expected ')', found 'abc'

I'm sure python can run it directly. It seems that cython won't parse await inside f-string, and I have to split it into two lines now.

Looks like a pure parser issue. Should be easy to fix by adding a test and making the parser use the right type of expression to parse inside of f-strings.
Note that the test should be in a .py file and use the pure3.6 tag to make sure Python only tests it in Py3.6+.

I would like to take this up. Can you guide me a little @scoder ? Thankyou 👍

Sure. The parser is in Parsing.py, look for p_f_string_expr(), which parses the expressions. Check CPython's Grammar file to see what kind of expression is allowed there, and compare it to what Cython's parser expects. Make sure Cython's parser uses a parse function that accepts await. For tests, I think we should finally have a separate Cython specific test for async-await, in addition to CPython's own tests that we run. Create a new test file tests/run/async_await.pyx, implement a test coroutine function in there and give it a doctest that asserts the necessary behaviour. See https://github.com/cython/cython/wiki/HackerGuide#tests on how to run that test.

@scoder thanks. I'll start working on it. 👍

@scoder i looked at p_f_string_expr() in Parsing.py. The parser does not parse await inside the f string. Can you guide me for writing the tests and also should i add parse function that parses await inside the p_f_string_expr(). This is my first issue in cython. I would be really thankful if you can guide me through it, so that i can improve in future. Thankyou. 👍

Implemented in #3070.


32blit-stm32 - Investigate SD-card IO speed

SD card throughput has been less than stellar, and while we're using a 1-bit bus I don't believe we're quite as close to the theoretical maximum speed as it's possible to get. Looking over the SD card code reveals codepaths and potential inefficiencies that could cause slowdown, I've fixed some of these with significant resulting gains in performance. I think it's worth trying to find more opportunity to eke throughput out of the SD card.

I don't know what the clock with _4 is, but if it's > 25Mhz, you need to switch the card into "high speed" mode first. Also, you're meant to init with a clock of 400kHz.
(I dug up my notes from when I was attempting to get SD cards working.)


graph-cli 0.38.0 renames contract events during graph-init

Which packages are impacted by your issue?
@graphprotocol/graph-cli
Describe the issue
graph cli-v0.38.0 renames contract events during graph init, causing those events in the subgraph.yaml not to trigger when the subgraph is deployed. The event in the ABI is also renamed

Reproduction
none
Steps to Reproduce the Bug or Issue

Run graph init to initialize a new subgraph.
Follow the wizard with the configurations below.
After the initialization process, go to the subgraph directory
Open the subgraph.yaml and look at the events on the second contract we added
The events, both in the ABI, are prefixed with the contract name which shouldn't be the case.

Expected behavior

Screenshots or Videos
No response
Platform

OS: macOS  13.2.1
NodeJS: v18.12.0
@graphprotocol/* version(s): @graphprotocol/graph-cli": "0.38.0

Subgraph Manifest
specVersion: 0.0.5
schema:
  file: ./schema.graphql
dataSources:
  - kind: ethereum
    name: DirectLoanFixedOffer
    network: mainnet
    source:
      address: "0xf896527c49b44aAb3Cf22aE356Fa3AF8E331F280"
      abi: DirectLoanFixedOffer
      startBlock: 0
    mapping:
      kind: ethereum/events
      apiVersion: 0.0.7
      language: wasm/assemblyscript
      entities:
        - AdminFeeUpdated
        - ERC20Permit
        - LoanLiquidated
        - LoanRenegotiated
        - LoanRepaid
        - LoanStarted
        - MaximumLoanDurationUpdated
        - OwnershipTransferred
        - Paused
        - Unpaused
      abis:
        - name: DirectLoanFixedOffer
          file: ./abis/DirectLoanFixedOffer.json
      eventHandlers:
        - event: AdminFeeUpdated(uint16)
          handler: handleAdminFeeUpdated
        - event: ERC20Permit(indexed address,bool)
          handler: handleERC20Permit
        - event: LoanLiquidated(indexed uint32,indexed address,indexed
            address,uint256,uint256,uint256,uint256,address)
          handler: handleLoanLiquidated
        - event: LoanRenegotiated(indexed uint32,indexed address,indexed
            address,uint32,uint256,uint256,uint256)
          handler: handleLoanRenegotiated
        - event: LoanRepaid(indexed uint32,indexed address,indexed
            address,uint256,uint256,uint256,uint256,uint256,address,address,address)
          handler: handleLoanRepaid
        - event: LoanStarted(indexed uint32,indexed address,indexed
            address,(uint256,uint256,uint256,address,uint32,uint16,uint16,address,uint64,address,address),(address,uint16,uint16))
          handler: handleLoanStarted
        - event: MaximumLoanDurationUpdated(uint256)
          handler: handleMaximumLoanDurationUpdated
        - event: OwnershipTransferred(indexed address,indexed address)
          handler: handleOwnershipTransferred
        - event: Paused(address)
          handler: handlePaused
        - event: Unpaused(address)
          handler: handleUnpaused
      file: ./src/direct-loan-fixed-offer.ts
  - kind: ethereum
    name: DirectLoanFixedOfferRedeploy
    network: mainnet
    source:
      address: "0x8252Df1d8b29057d1Afe3062bf5a64D503152BC8"
      abi: DirectLoanFixedOfferRedeploy
    mapping:
      kind: ethereum/events
      apiVersion: 0.0.7
      language: wasm/assemblyscript
      entities:
        - DirectLoanFixedOfferRedeployAdminFeeUpdated
        - DirectLoanFixedOfferRedeployERC20Permit
        - DirectLoanFixedOfferRedeployLoanLiquidated
        - DirectLoanFixedOfferRedeployLoanRenegotiated
        - DirectLoanFixedOfferRedeployLoanRepaid
        - DirectLoanFixedOfferRedeployLoanStarted
        - DirectLoanFixedOfferRedeployMaximumLoanDurationUpdated
        - DirectLoanFixedOfferRedeployOwnershipTransferred
        - DirectLoanFixedOfferRedeployPaused
        - DirectLoanFixedOfferRedeployUnpaused
      abis:
        - name: DirectLoanFixedOfferRedeploy
          file: ./abis/DirectLoanFixedOfferRedeploy.json
      eventHandlers:
        - event: DirectLoanFixedOfferRedeployAdminFeeUpdated(uint16)
          handler: handleDirectLoanFixedOfferRedeployAdminFeeUpdated
        - event: DirectLoanFixedOfferRedeployERC20Permit(indexed address,bool)
          handler: handleDirectLoanFixedOfferRedeployERC20Permit
        - event: DirectLoanFixedOfferRedeployLoanLiquidated(indexed uint32,indexed address,indexed
            address,uint256,uint256,uint256,uint256,address)
          handler: handleDirectLoanFixedOfferRedeployLoanLiquidated
        - event: DirectLoanFixedOfferRedeployLoanRenegotiated(indexed uint32,indexed address,indexed
            address,uint32,uint256,uint256,uint256)
          handler: handleDirectLoanFixedOfferRedeployLoanRenegotiated
        - event: DirectLoanFixedOfferRedeployLoanRepaid(indexed uint32,indexed address,indexed
            address,uint256,uint256,uint256,uint256,uint256,address,address,address)
          handler: handleDirectLoanFixedOfferRedeployLoanRepaid
        - event: DirectLoanFixedOfferRedeployLoanStarted(indexed uint32,indexed address,indexed
            address,(uint256,uint256,uint256,address,uint32,uint16,uint16,address,uint64,address,address),(address,uint16,uint16))
          handler: handleDirectLoanFixedOfferRedeployLoanStarted
        - event: DirectLoanFixedOfferRedeployMaximumLoanDurationUpdated(uint256)
          handler: handleDirectLoanFixedOfferRedeployMaximumLoanDurationUpdated
        - event: DirectLoanFixedOfferRedeployOwnershipTransferred(indexed address,indexed address)
          handler: handleDirectLoanFixedOfferRedeployOwnershipTransferred
        - event: DirectLoanFixedOfferRedeployPaused(address)
          handler: handleDirectLoanFixedOfferRedeployPaused
        - event: DirectLoanFixedOfferRedeployUnpaused(address)
          handler: handleDirectLoanFixedOfferRedeployUnpaused
      file: ./src/direct-loan-fixed-offer-redeploy.ts

Subgraph GraphQL Schema
No response
Additional context
No response

@azf20 Yes

I think this happens, because by default indexEvents is true for the add command, so it will prefix them with the Contract name not to have conflicts with the existing entities if the events match, unless --merge-entities flag is passed. But graph-cli uses the events names from the abi and actually the abi itself gets overwritten.

@dimitrovmaksim we override the ABI itself and rename events? That seems like it would make it impossible to create event handlers?

In the case when there's conflict in evens, e.g. the events are the same in the first and the second contract, yes.


Migrate to Vite

Describe the feature you'd like
As a Wave contributor, I want to use modern tooling for building Wave
Describe alternatives you've considered
Manual setup with Rollup, SWC, etc

Hi Artur! We don't bundle the code; the library is shipped as transpiled TS. Hence, we use only the typescript compile to build the library.
Is there a particular case or situation where Vite is useful? We consider using Vite for storybook, but that's the only use I see.


Support gzip-related compression and decompression function

I am very glad that you have pushed the file compression and decompression to an independent development library, which has been supported (Cascaded, Snappy and LZ4), and the effect is great from the current data.
I have a question. From the point of view of function implementation, there is currently no support for gzip-related functions?
Why is it currently not supported? (Poor performance?, more difficult?)
Do you have plans to support gzip related functions? Gzip is commonly used in actual work, can it support gzip-related functions?

@lixiaolx we’re planning to add gzip/deflate compression and decompression in one of the future releases, please stay tuned!

@lixiaolx we’re planning to add gzip/deflate compression and decompression in one of the future releases, please stay tuned!

OK, I'm very glad that you support gzip related operations, I'm looking forward to it

Just a ping to keep the issue open...
I'd be very interested in seeing a zlib implementation, especially an open
source one.


multiple loads of directory.js on #search

putting a simple alert at the top of directory
show 2 and sometimes 3 loads of directory.js

multi load dans plusieurs page


Yml format

Fixed some problems as per @1ozturkbe request

Didnt mean to do this, just wanted to get access to add a signle commit to ymlFormat. Will try to see if I can figure out how to do it


On rancher upgrade from 2.2.8 to master-head, the ingress controller pods are deployed on etcd and control plane nodes

What kind of request is this (question/bug/enhancement/feature request): bug
Steps to reproduce (least amount of steps as possible):

On rancher v 2.2.8, deploy a cluster - 3 worker, 1 control plane, 1 etcd node - linux nodes.
Upgrade rancher to master-head - latest
Edit node template, add a taint - NoExecute
Scale up the worker node.
"taintSupport": true will be seen on cluster --> View in API

Expected Result:
Ingress Controller should be deployed on the worker node only.
Actual Result
Ingress Controller pods are deployed on all nodes including control plane and etcd nodes.
The bellow Affinity is missing on the workload.
map[key:node-role.kubernetes.io/worker operator:Exists]

Other details that may be helpful:
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): 2.2.8 to master-head
Installation option (single install/HA): single

Verified on an upgrade from v2.2.8 to master-head latest..
Steps:
On rancher v 2.2.8, deploy a cluster - 1 worker, 1 control plane, 1 etcd node - linux nodes.
Upgrade rancher to master-head - latest
Scale up the worker node.
result:
Ingress Controller pods are deployed on worker nodes. But the bellow Affinity is missing on the workload.
map[key:node-role.kubernetes.io/worker operator:Exists]

Hence reopening the issue.

The ingress controller is scheduling on worker nodes because it is missing Tolerations
- Tolerations: [map[effect:NoExecute operator:Exists] map[effect:NoSchedule operator:Exists]]

Verified on an upgrade from v2.2.8 to master-head latest.
Steps:

On rancher v 2.2.8, deploy a cluster - 1 worker, 1 control plane, 1 etcd node - linux nodes.
Upgrade rancher to master-head - latest
Edit cluster, change the k8s version. Save.
Go to System-->Ingress controller --> Edit yaml.

Tolerations:
"tolerations":[{"effect":"NoExecute","operator":"Exists"},{"effect":"NoSchedule","operator":"Exists"}]}}}}

Affinity:
affinity:
        nodeAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
            nodeSelectorTerms:
            - matchExpressions:
              - key: beta.kubernetes.io/os
                operator: NotIn
                values:
                - windows
              - key: node-role.kubernetes.io/worker
                operator: Exists


PyTorch Vesion Demo model file

Hello, I want to run demo.py, but can't find the PyToch model (*.pb) in PyTorch Branch,  follow the link  https://drive.google.com/drive/folders/1N9M8dHIMt6sQdoqZ8Y66EJVQSaBTq9cX, find documentModelPyTorch and   cornerModelPyTorch, so could you tell me how to use it , Thanks

Hey,
You just pass the two model files to demo.py using --documentModel and --cornerModel parameters.


Heiman Fire Sensor warning massage at startup

Issue

When homebridge is booting, the Hue plugin shows me a warning.
Nevertheless, the Fire Sensors are working correctly in HomeKit...
Log Messages

[1/10/2021, 5:41:40 PM] [Hue] Phoscon-GW: /sensors/19: warning: unknown ZHAFire sensor {"config":{"battery":100,"on":true,"pending":[],"reachable":true},"ep":1,"etag":"aa1d88521387b5d2570964642d096c23","lastseen":"2021-01-10T16:26Z","manufacturername":"Heiman","modelid":"SmokeSensor-EF-3.0","name":"Rauchmelder unten","state":{"fire":false,"lastupdated":"2021-01-05T16:57:27.114","lowbattery":false,"tampered":false},"type":"ZHAFire","uniqueid":"84:71:27:ff:fe:16:47:44-01-0500"}
[1/10/2021, 5:41:40 PM] [Hue] Phoscon-GW: /sensors/20: warning: unknown ZHAFire sensor {"config":{"battery":100,"on":true,"pending":[],"reachable":true},"ep":1,"etag":"cfc11c608305cc943295925587529b8c","lastseen":"2021-01-10T16:27Z","manufacturername":"Heiman","modelid":"SmokeSensor-EF-3.0","name":"Rauchmelder oben","state":{"fire":false,"lastupdated":"2021-01-05T17:05:44.497","lowbattery":false,"tampered":false},"swversion":"2019.8.29","type":"ZHAFire","uniqueid":"84:71:27:ff:fe:16:48:57-01-0500"}

Debug Files

Warning can safely be ignored.

Warning can safely be ignored.

In v0.12.15.

In v0.12.15.

Great! Thank you! 👍🏼

Great! Thank you! 👍🏼


Improve VanillaDataLoaderCreator

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (b17fd15) 100.00% compared to head (43c9e49) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #47   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           29        29
  Lines          444       456   +12
  Branches        22        23    +1
=========================================
+ Hits           444       456   +12

Impacted Files
Coverage Δ

src/gtvision/creators/dataloader/__init__.py
100.00% <100.00%> (ø)

src/gtvision/creators/dataloader/vanilla.py
100.00% <100.00%> (ø)

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


Add rancher deployment scripts

One for the deployment of PRs, creating a domain prefix for the services
One to deploy staging, always using the master branch
One to upgrade an individual "Service" in a stack

Coverage remained the same at 98.897% when pulling 2b01a4ae5c6bea410d63ea5f67ba3aa0d9f5b33d on feature/rancher_deployment_scripts into 8dfe25c723c776ec5bec73dd7db82507e44e4369 on master.

 Change deployment mechanism from Azure WebApps to Docker

Coverage remained the same at 98.897% when pulling d8d269b52739a0b747affd25d2aa22836c1e2101 on feature/rancher_deployment_scripts into 3622b2c3bb9553cc91d342e1614d1735241b424e on master.

 All developers able to make code changes and test them using docker.

Coverage remained the same at 98.897% when pulling a8120420acf78b02499db59c78208424bdc7c539 on feature/rancher_deployment_scripts into 3622b2c3bb9553cc91d342e1614d1735241b424e on master.

Rebase please so I can review & approve.

Coverage remained the same at 98.897% when pulling 591128f4b503010d1bfbbd758ff798e22b86119b on feature/rancher_deployment_scripts into 1002f813707071cbff280cc4415a362cbf45a454 on master.


Create a comprehensive example of using Fn context data

Provide a comprehensive how-to on using your Fn context with a function. The how-to should include the following

[x] Using a context (Completed here: https://github.com/fnproject/tutorials/issues/203)

[x] Step by step example of using a context locally
[x] Step by step example of using with Docker Hub
[x] Details of where context data is stored (.fn directory)
[x] Example of creating your own context.yaml file.

[ ] Using context data in a Function (See: https://github.com/fnproject/tutorials/issues/204)

[ ] Step by step example of adding name/value pairs to your context
[ ] Example of of how to access the values from a context object passed to your function

Most of this information is covered someplace in our documentation, but we are currently lacking something that is comprehensive and ties all the steps together. The how-to should set some key/value pairs and then use them in a function.

The first part is complete with this Issue: https://github.com/fnproject/tutorials/issues/203. See this PR: https://github.com/fnproject/tutorials/pull/202 for the merge info.


Import/export buttons support

Added in https://github.com/fregante/webext-options-sync/pull/65, but:

https://github.com/refined-github/refined-github/issues/7688

I think the bug is actually:

https://github.com/fregante/webext-options-sync/blob/9bd5efbc119ce457c955f5adff5c9ffc2d0fc8b1/index.ts#L200


Storing History data

Storing History data was done .
kindly check this out.
when use change the tab message are also change with respective tab url.

I sync the repo instead of merge repo.
unfortunately previous pull request was disappears :(

Looking dope ! left some minor comments. Also i think we should think of a way to store different chat history when clear button is clicked.

when clear button is clicked chat history state set to initial state and then we can store new chats.
I think we can use another storage state called "deletedChatHistory" to store store all deleted chats history.
when user clicked clear button accidently they can access "deletedchathistory" state to restore the data and set it to "chatHistory" state.
here, "deletedChatHistory" acts like a trash storage.

Yep was thinking same, but instead of deletedChatHistory, we can just call ChatHistory, and we may rename the current implementation something like CurrentChat. we also need to keep track of which chat is active, on design -

We are allowing users to click on any of there previous conversations. we indicate blue line on which conversation they are. so probably we can create for something similar
We can use CurrentChat to store current conversation. and all history is stored in ChatHistory. when user selects another conversation, we can commit present chat to ChatHistory and get the previous conversation from ChatHistory to CurrentChat and we should do same when user clears conversation - commit current conversation to ChatHistory and empty CurrentChat

we need to add one more button in our design that enables the user to change the current chat to pervious chat.
there is no button for changing the chat history.

by this design we can use the current chat and its chat message based on url.

chat types and relationships - figma

chat types and relationships - figma

awesome breakdown 👏
From ui side, this is the user flow we are aiming for -

A new user installs extension, he sees empty screen with out history selector.
Once they write first message, we then show the history selector along with current tab host name and timestamp. lets say wikipedia.org
They can now clear the chat with broom icon, while having ability to restore previous conversation by clicking on history selector and pressing on wikipedia.org (10 min ago)
If they proceed to clear and start a new conversation on another website, say iq.wiki the first message should trigger storing tab hostname and timestamp to history.
at this point user will have two entries on history selector 1/ wikipedia.org (20 mins ago) and 2/ iq.wiki (10 mins ago) So when they clear the message they can restore either one, or they can directly go to their first set of conversation by clicking on wikipedia.org on history selector and can again go back to the new chat they are working on, iq.wiki.

Similarly we can allow creating any number of chat sessions. and allow user to move between chats while they are researching something

okay.
I will accomplish that.

Bug
Description
chat are stored in local storage and I pass chatHistory state value to History react component.
chathistory received as initial state value😒
Steps to Reproduce

send chatHistory form useOpenAi to History react component. I just logged chatHistory before sending it. it's like below img

While I logged chatHIstory to History react component

chat image.

I'm trying to pass the chat history and current chat to component chatInput.
just log out chat history and current chat using passing into component file.

you can see two object in an array. This is chat history state logged before passing it into component file.
but bug is!
IN component file I just log the chat history to debug, I can't see second object of an array

can you understand?

Okay, are you passing it via props or directly using it with hooks ? I am assuming you created seperate hooks for each, useChatHistory and useCurrentChat hooks so it makes it easier to access them via any component

change into custom hook but still facing the same error

Task accomplished.
Description
Chat history, current chat and clear chat features are done.
Results Achieved

Awesome 👏 Let me check it out, and then we can proceed to merge

Added some changes, also please merge with main before i pushed some changes so you can work on latest copy. and i think you should run yarn format cuz there are some formatting issues

I'm newbie to contribution. Can you explain how to merge remote and my main branch ^_^

Sure, I'd be happy to help!
To merge the changes from a remote branch into your main branch, you can follow these steps:

you need to add the remote repository as a Git remote by running the command git remote add syncia https://github.com/Royal-lobster/Syncia.git
Then fetch the latest changes from syncia repository by running the command git fetch syncia.
Then, merge the changes from the Syncia/main branch into your local main branch by running the command git merge syncia/main.
Resolve any merge conflicts that may arise during the merge process (if any). After resolving the conflicts, commit the changes using the command git commit. ( if you are using vscode, you can click on git icon to your left side action bar and fix the conflits)

Finally, push the updated main branch to your remote repository by running the command git push origin main.


Unhandled Relocations Result in Bad Analysis Targets

Unhandled relocations have a tendency to create many bad functions and invalid targets. This results in excessive functions that may call themselves and many fall-through conditions.

Fixed in 1.1.1568-dev.


Added conversion support for markdown equations.

I have noticed when you load a block which contains inline equations, for example  ($$A \leftarrow B$$), then it is rendered as a single character (⁍ / \u204d). This is mostly because the inline equation blocks are formatted the following way  ["⁍", [["e","A \leftarrow B"]]] which is currently not interpreted correctly.
This PR adds correct conversion from and to markdown for inline equations. While markdown does not natively support inline equations, I decided to use the same block enclosing notion uses ($$).
Thanks in advance.
Example usage:
from notion.block import BulletedListBlock

newchild = page.children.add_new(BulletedListBlock, title="Some fancy equation: $$y = ax + b$$...")

Thanks for the contribution! If you want to help prevent this from breaking down the road, you might also consider adding some pieces to the smoke_test.py scenarios.

Thanks for the contribution! If you want to help prevent this from breaking down the road, you might also consider adding some pieces to the smoke_test.py scenarios.


Add jest and some simple units tests

I gave unit testing with Cypress a go but it seems quite 'heavy' to use, also doesn't look like it's possible to have the test file inline with the file that's being tested which I think is nice for units tests.
I think the syntax is fairly similar so shouldn't be too much learning overhead. I'll keep this branch as is for now and add more tests if the team is happy with this approach

LGTM


Update index.ts

improvements and considerations:
Improvements:

Error Handling: Consider adding more specific error messages for different failure scenarios. For example, instead of a generic "Server error" in the catch block, you could differentiate between database errors and validation errors.
User Authentication:  Currently, there's no user authentication implemented. You might want to consider adding functionalities for user login, authorization checks for modifying or deleting data, and potentially roles or permissions for different user types.
Searching and Filtering: The current endpoints retrieve all data.  You could add functionalities for searching and filtering data based on specific criteria (e.g., searching for pets by species or breed).
Pagination: Retrieving all data at once might not be efficient for large datasets. Implementing pagination would allow users to retrieve data in smaller chunks.
Relationships: While the code defines separate classes for different entities, it doesn't explicitly model relationships between them. You could consider adding references (e.g., storing pet IDs within adoption requests) or nested structures to represent these relationships.

Additional Considerations:

Security:  Make sure to properly sanitize user input to prevent potential security vulnerabilities like SQL injection or cross-site scripting (XSS).
Scalability: As the user base and data grow, consider using more robust database solutions than in-memory storage.
Documentation: Adding comments and documentation would improve code readability and maintainability.

CHANGES

User Authentication:  It implements user registration, login, and JWT-based authentication for protecting sensitive endpoints.
Error Handling:  It includes more specific error messages for various scenarios (e.g., invalid input, unauthorized access).
Security: It hashes passwords using bcrypt before storing them, preventing hackers from accessing plain text passwords even if there's a data breach.
Pagination: It retrieves data in chunks using page and limit parameters for efficiency.

Here's a breakdown of the improvements related to the mentioned issues:

User endpoint for creating a new user (Admin only): This endpoint checks the user type (req.user.userType) before allowing user creation. Only users with the "Admin" type can create new users.
Authentication middleware (authenticateToken): This middleware intercepts requests to specific endpoints and verifies the presence of a valid JWT token in the authorization header. If the token is missing or invalid, it responds with a 401 (Unauthorized) or 403 (Forbidden) error message, respectively.
Secure endpoint example (secure-data): This endpoint demonstrates how to protect specific routes using the authenticateToken middleware. Only authenticated users can access this endpoint.

Here are some additional points to consider:

Database Security: While hashing passwords is essential, consider using a secure database solution and following best practices for data encryption if storing sensitive information.
Input Validation: The code performs some basic input validation, but you might want to add more granular validation rules on the server-side to prevent unexpected data from entering the system.
Authorization Levels:  Currently, there's a basic check for "Admin" users. You could define more granular roles and permissions to control access to specific functionalities within the platform.

Please before making changes make sure they are working


[SPARK-13826][SQL] Addendum: update documentation for Datasets

What changes were proposed in this pull request?
This patch updates documentations for Datasets. I also updated some internal documentation for exchange/broadcast.
How was this patch tested?
Just documentation/api stability update.

Test build #53508 has started for PR 11814 at commit a2a64c7.

Test build #53509 has started for PR 11814 at commit 675b2b4.

Test build #53508 has finished for PR 11814 at commit a2a64c7.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/53508/
Test FAILed.

Test build #53510 has started for PR 11814 at commit f078796.

Test build #53512 has started for PR 11814 at commit 3b3fcca.

Test build #53509 has finished for PR 11814 at commit 675b2b4.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/53509/
Test PASSed.

Merged build finished. Test PASSed.

Test build #53510 has finished for PR 11814 at commit f078796.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/53510/
Test PASSed.

Test build #53512 has finished for PR 11814 at commit 3b3fcca.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/53512/
Test PASSed.

Merging in master.


Is this code repository for your paper(Topology-preserving Deep Image Segmentation) ?

Hi Hu,
I have read your paper (Topology-preserving Deep Image Segmentation).
I really appreciate your work.
Is this code repository for your paper?
Many thanks!

The original paper only deals with 2D images, while this repository contains both 2D and 2.5D implementations (backbone may be slightly different). And we also plan to release the code for true 3D implementations (the paper is in preparation).
I apologize for the possible confusion. But stay tuned:) All of the related repositories are under construction. You can definitely adopt existing repositories regarding your own data. If there are any questions, feel easy to post them here:)

Thank you for your sharing!!!!
I will try to use this respository for 2D image.  :)


Add CellMeasurer size cache strategy for uniform-yet-unknown row heights (follow-up)

This is a follow-up on #362. In the merged solution, the size cache imposes that both row height and col width are uniform, which might not be what the user wants. In this PR, the cache can be configured upon construction (defaults being uniformWidth: true, uniformHeight: true).

Current coverage is 95.05% (diff: 61.90%)

Merging #363 into master will decrease coverage by 0.27%

@@             master       #363   diff @@
==========================================
  Files            35         35
  Lines          1243       1254    +11
  Methods          99        100     +1
  Messages          0          0
  Branches        260        272    +12
==========================================
+ Hits           1185       1192     +7
- Misses           58         62     +4
  Partials          0          0

Powered by Codecov. Last update b205784...dff3700

Hey, looks like we crossed paths. My bad. 😄
I've got a local branch of this that adds more tests and also updates defaultCellSizeCache to use the new, configurable uniformCellSizeCache~ so I'm going to just roll with that. It's almost ready for release. I'll tag you again here in a few.

OK, great!

On 28 Aug 2016, at 16:43, Brian Vaughn<EMAIL_ADDRESS>wrote:
Hey, looks like we crossed paths. My bad. 😄
I've got a local branch of this that adds more tests and also updates defaultCellSizeCache to use the new, configurable uniformCellSizeCache~ so I'm going to just roll with that. It's almost ready for release. I'll tag you again here in a few.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Okay! Check out release 7.22.0 😄 Hopefully this is more flexible.
Release notes and CellMeasurer docs have been updated.


Added logging for error seen in production.

Codecov Report

Merging #44 into master will decrease coverage by 0.39%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master      #44     +/-   ##
=========================================
- Coverage   72.82%   72.43%   -0.4%
=========================================
  Files           4        4
  Lines         368      370      +2
  Branches       59       60      +1
=========================================
  Hits          268      268
- Misses         55       56      +1
- Partials       45       46      +1

Impacted Files
Coverage Δ

libseshat/src/libseshat.c
67.85% <0%> (-0.99%)
:arrow_down:

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 bd06736...0edb2a2. Read the comment docs.


Where can I modify to monitor all messages, not just keyword messages?

These keywords will not be mentioned in my group, I want to monitor all messages stored in mysql not only keywords.


Help me, Thanks!

How to call it correctly and always report the error of routerlink needs to be used in a router context.

Then, Before you are able to use your defined routes, you need to initialise a router. Because Router is a protocol, multiple implementations (including your own) are possible. SwiftUI Router provides the UINavigationControllerRouter implementation.
Where to instantiate?

@lovedan0928 there's an iOS implementation available using UINavigationController called RouterView which is a drop-in replacement.
Use it like so:
var body: some View {
    RouterView(root: myRoute)
}

MacOS and a SwiftUI NavigationView support are in a PR, to be reviewed by @Obbut in #9 and #15
myRoute is a Route definition such as this: https://github.com/owowagency/swiftui-router#-basic-routing
You can also define a route as a function with variables like so: https://github.com/owowagency/swiftui-router#parameterized-and-custom-routes
These variables can be a Binding as well.


Add option to pull partial playlist.

Checklist

[x] I'm reporting a feature request
[x] I've verified that I'm running youtube-dl version 2020.12.12
[x] I've searched the bugtracker for similar feature requests including closed ones

Description

When pulling large playlist it takes huge time to pull whole playlist and sometimes server get into error. So, please add option to pull only some page of playlist not the whole playlist.

Already supported(support depends on the website, ex: DailyMotion Playlists, VK User Videos, etc...).

@remitamine is this supported on pornhub ? If yes how to use it ?


Don't pass the -s flag when stack is empty

When api version is lower than 2.113.0 the "stack" argument is empty
(https://github.com/cloudfoundry/libbuildpack/blob/master/bratshelper/tests.go#L70).
The UpdateBuildpack shouldn't pass the "-s" flag then because it makes
tests fail with: "Multiple buildpacks named brats_ruby_changing_randomstring_buildpack found."

I merged it again in commit b1cab. Thanks for the addition!

Thank you @dfreilich! (good call with the refactoring)


Code Improvements in Spring Shell Module

Done some code improvements like Pattern Matching for Switch Expressions and Method References.
Replaced string concatenation with .append()
Reformatted the code

Hi @fabapp2,
Am new to opensource projects. I have made some code improvements, could you please review it and let me know your feedback.
Thanks,
Mahi

Hi @fabapp2
Whatever I need to work on this PR that you have assigned to me.
Thanks,
Mahi


[Feature Request]: Change channel id in directline

Issue
Cannot diffirentiate between multiple implemented directline channels.
I have implemented multiple channels that are not supported by Microsoft and to customize the UX i need to differentiate between them.
it would be great if we can customize channel id or add the site name that is defined in the azure portal somewhere
Proposed change
Customizable channel id or add site name to request
Customer Impact
Customize UX

@dandriscoll a custom feature request - can you comment? thanks

Hi @muminasaad this is not possible with today's architecture. Bot Framework has a security model that prevents impersonation or spoofing between channels -- it ensures separation between channels and allows bot code to rely on channel IDs as a basis for other IDs within the system: user IDs, conversation IDs, etc. Changing this would require changes to our security infrastructure.
Instead, you have three ways to separate uses of Direct Line within your code. One of them is natively supported and is designed specifically for your use case:

(Recommended) The Direct Line configuration page allows you to allocate different "sites," with associated keys and configurations. The site ID appears in the recipient.id field in any Activities your bot receives, in the format <bot ID>@<site ID>. Use the site ID to distinguish between uses.
Pass this data in the user ID, which is then available in the from.id field in Activities your bot receives.
Pass this data in the channelData field.

Given the availability of these solutions, we will not be adding the capability to change channel IDs at this time. If you have questions or feedback, don't hesitate to ask.

@dandriscoll Actually the first point you have mentioned is what i am searching, and if you can check the third line of the original request it says
" add the site name that is defined in the azure portal somewhere "
Thank you for mentioning this information it would help alot as it was not mentioned in the documentation and i was not able to find nor rely on it

@dandriscoll Can you provide a way to know the site id from the portal

@dandriscoll  Thank you i found the answer.
for anyone is checking for the answer, the Recipient.Id property will have the following format:
BotHandle@SiteID
the Bot handle is under settings in the WebApp Bot
the Site ID can be parsed from the Token as the following:
Assume you have the following Token ABCD.EFGHJKLMN.OPQRSTUV=-
Split it by "." and the first part of the token is the site ID


Change Go mod spec to 1.22 from 1.22.0

We are in the process of incorporating cedar-go into our product.
And we are hitting a snag. Currently, cedar-go specifies a minimum Go version of 1.22.0 in its go.mod file.
Go 1.22.0 seems to have several security vulnerabilities that have since been fixed in higher Go 1.22 versions.
Is it possible to change the Go version for cedar-go in go.mod to 1.22, instead of 1.22.0?

See #18 for discussion.


Card: Integrate Link component for href/to props

Card: Integrate Link component for href/to props
Updates
This update enhances the Card component to render a Link component if href/to is provided. This allows for Card to use react-router, if needed.
Card.Block has also been enhanced with the new Scrollable props, specificaly scrollableRef and onScroll.
Lastly, the Link component receives a new prop (block), that provides it with the ability to render as display: block.
Bug fixes

Card CSS className has been resolved
Link c-link has been renamed to c-Link

Coverage remained the same at 100.0% when pulling af910fedd834e7341a976121c553e76f122e1552 on card/add-link-component-integration into 8085432b6df6750561617dcb0c3c3dcafcaf72a0 on master.

Coverage remained the same at 100.0% when pulling af910fedd834e7341a976121c553e76f122e1552 on card/add-link-component-integration into 8085432b6df6750561617dcb0c3c3dcafcaf72a0 on master.

Coverage remained the same at 100.0% when pulling af910fedd834e7341a976121c553e76f122e1552 on card/add-link-component-integration into 8085432b6df6750561617dcb0c3c3dcafcaf72a0 on master.


HACS Custom Tesla not working since update 2023.10.0

Since the update of the HA core your custom Tesla HACS isn't working:
Logger: homeassistant.setup
Source: setup.py:215
First occurred: 16:27:06 (1 occurrences)
Last logged: 16:27:06
Setup failed for custom integration tesla_custom: Unable to import component: No module named 'authcaptureproxy'
Traceback (most recent call last):
File "/lsiopy/lib/python3.11/site-packages/homeassistant/setup.py", line 215, in _async_setup_component
component = integration.get_component()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lsiopy/lib/python3.11/site-packages/homeassistant/loader.py", line 818, in get_component
ComponentProtocol, importlib.import_module(self.pkg_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/config/custom_components/tesla_custom/init.py", line 25, in
from teslajsonpy import Controller as TeslaAPI
File "/config/lsiopy/lib/python3.11/site-packages/teslajsonpy/init.py", line 18, in
from teslajsonpy.teslaproxy import TeslaProxy
File "/config/lsiopy/lib/python3.11/site-packages/teslajsonpy/teslaproxy.py", line 17, in
from authcaptureproxy import AuthCaptureProxy, return_timer_countdown_refresh_html
ModuleNotFoundError: No module named 'authcaptureproxy'
Any idea how I/we can fix this?

@alandtse having the same trouble. Can you please elaborate a bit more. I removed and readded it in hacs and restarted but it didn't change anything.

You'll need to review your HA logs as it will talk about the attempts to install dependencies. However, if it fails to install it you'll need to figure out how to install manually. That is in the FAQ.

Just FYI this issue is happening to me. Closing this issue was pretty lame too. I first went to this github to see if someone else opened an issue and did not notice but I had my doubts so ofcourse I look up the same issue and to my surprise the owner closed it. Wow

Got it working now the following way:

Stop HA
Rename (and later delete) "deps" directory
Start HA

HA was rebuilding the deps-directory and it started working again.


Add new version support NS7

Thanks for the pr 🙇🏽  but the v7 is available @ https://github.com/triniwiz/nativescript-plugins


Syntax issue on line 268

This change is

Unfortunately currently we cannot get outside contribution at this point in time.
But thanks for the feedback.


Improved install and reinstall commands

Initial commit. Missing unit/integration tests....

The Install command will perform like reinstall when it not get any parameters.

Example: npm install

Any typings not in tsd.json will be removed with reinstall command

Install command will take --resolve flag by default

I decided to close this PR. I'm adding tests and I'll submit a new PR.


Ctrl+] doesn't  with non-english keyboard while using "az serial-console connect"

The Azure documentation indicates that a user should press Ctrl+] to exit "az serial-console connect"

This command provides access to a text-based console for Linux and Windows virtual machines (VMs) and virtual machine scale set instances. This serial connection connects to the ttys0 serial port of the VM or virtual machine scale set instance, providing access to it independent of the network or operating system state. To exit serial console type Ctrl + ] and then q. To send an NMI/SysRq/Reset type Ctrl + ] and then n/s/r respectively.

Reference:
https://docs.microsoft.com/en-us/cli/azure/serial-console?view=azure-cli-latest#az-serial-console-connect
However this doesn't work with a keyboard that uses a  layout in Spanish or Latin American, I presume there might be a similar problem with any non-english keyboard layout while using the Azure Cloud Shell.
This problem doesn't occur while using  "az serial-console connect" from a local terminal such as MobaXterm.
To replicate the problem just follow these steps:
1. Connect a keyboard in Spanish to the computer and make sure Windows can detect the correct layout/language of the keyboard.

2. Go to https://shell.azure.com using Google Chrome Version 101.0.4951.67 (Official Build) (64-bit)
or Edge Version 101.0.1210.53 (Official build) (64-bit)

3. Connect to a virtual machine's serial console using the command below:

az serial-console connect --name VMNAME --resource-group RGNAME

4. Try to exit the serial console using the short cut "Ctrl+]" using the non-english keyboard layout.

After pressing the keys, the font size of the text will increase but the menu won't appear on screen.

Other alternatives such as Ctrl+Shift+] and Ctrl+AltGr+] doesn't work either.
The only solution to get the serial console menu is to press "Ctrl+5"

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

ID: 2c5e4754-2ac3-e9e4-31c5-c35b36a00e43
Version Independent ID: 3f064b7b-0d91-b877-6bcb-3ec3be114b03
Content: az serial-console
Content Source: latest/docs-ref-autogen/serial-console.yml
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

route to CXP team


🐞 Creating a single GitHub workflow file fails if directory .github/workflows exists already

Use case
Directory .github/workflows exists
File  .github/workflows/pr-merge.yml did not exist
Command
poetry run tbx workflow install pr-merge

Current behavior
Error message
FileExistsError: [Errno 17] File exists: '.github/workflows'

Expected behavior
PTB creates the file as the file does not overwrite an existing file.

See also #297


Babel-jest error when migrating to v4.0.1

When I upgrade from react-scripts 3.4.1 to 4.0.1, I have an error when running yarn start

Interestingly, when I run npm ls babel-jest I get this

The 26.6.0 version is not showing up when running that command so I wonder what dependency is using that
In yarn.lock file it shows 26.6.0

Tried yarn list --pattern babel-jest too

Even I have the same bug. Could you please let me know if you have got any solution for this

I also have this issue with react-scripts 4.0.3

I also have same issue. Could you please help me if you have got any solution for this

I am also facing the same issue. please help through it

Have you tried deleting node_modules and yarn.lock, then re-running yarn install?

You can see this reply.


Give information on the origin of an up-/downloaded object

In the case of downloading an object from a branch (say main), I want to know for data integrity and reproducibility purposes whether the object I got is an actually tracked (i.e. committed) object or a "dirty" staged object, for example pushed by someone else and then not committed.
This is part of a larger idea, to return a stat-like object on uploads/downloads/copies that return statinfo on the result data as well as version info.
Slack discussion: https://lakefs.slack.com/archives/C016726JLJW/p1698679042996799
More context from the SDK wrapper proposal: https://github.com/treeverse/lakeFS/pull/6821#issuecomment-1784068004

@ozkatz do we want to add stats in downloads?


composefs: 1.0.0 -> 1.0.1

Description of changes
Changes since 1.0.0:

mkcomposefs now supports --from-file which reads image descriptions in the format of composefs-info dump output.
composefs-info dump output now shows content and hardlink target
mount.composefs now uses the new mount api on recent kernels, which fixes a regression in escaping commas in upperdir/lowerdir/workdir options.
lcfs_node_set_payload() now accepts NULL to unset
Some performance improvements
Fixed errors in error reporting
Added more manpages

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 261664 run on x86_64-linux 1

3 packages built:

composefs
composefs.dev
composefs.lib


Roll Engine from 569f0d1d6b55 to 485bdf0c828e (1 revision)

https://github.com/flutter/engine/compare/569f0d1d6b55...485bdf0c828e
2021-07-05<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from H_WclqYkW... to C2OiQOT3x... (flutter/engine#27174)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from H_WclqYkWkeR to C2OiQOT3xpZo
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Add eu-central-1 base AMIs to faster-bootstrap

Created a list of the default AMIs for faster-bootstrap, mapped to the eu-central-1 (Frankfurt) region.

I've pushed your change https://github.com/cloudera/director-scripts/commit/e12af75894da025ff8c6136cb7ddd54458102b0f, but removed the change to 5.10 since the repo has since been updated to 5.11. I'm going to close this, but your change was accepted. :-) Thank you!


Can't set output directory for FLV recordings

I use Gradle as a build tool and Selenium Webdriver:
    @Shared
    public BrowserWebDriverContainer chrome = new BrowserWebDriverContainer()
            .withDesiredCapabilities(DesiredCapabilities.chrome())
            .withRecordingMode(RECORD_ALL, new File("./build/"))

But the recording always appeared under ./.tmp-volume-1503438720097/screen.flv.
All is fine when I use maven build tool but something goes wrong when it runs with the Gradle.
How I can change this behavior?

@blacky0x0 sorry for taking so long to respond to this. Did you get anywhere with it?
The .tmp-volume directory is supposed to be temporary; when the tests are complete the video files should be moved in to the folder you specify and the tmp directory should be deleted. If that's not happening, it would be a bug, though.

I'll try to check with other versions of testcontainers and with maven/gradle build tools. I think this bug somehow related with Groovy's or Gradle behavior. In any case I'll provide vanilla examples of code but I little bit later, maybe this weekend.

@blacky0x0 did you manage to find any clues?

Sorry, not yet

@blacky0x0 Can you provide the example project?

@kiview yep, I've created new repo -> https://github.com/blacky0x0/tc-spock
Also I tested with Maven and Gradle build tools without Spock and the flv file is always saved as expected.
So as I understand the problem appears in the last step when gradle tries to save the flv file.

Hi all, I faced with the same issue in my project https://github.com/DanteGrek/Prototype.


Cherry-picks from 0.24.1

Merge pull request #2 from nr17/fix-non-tls-ingress	accee0872	nr17<EMAIL_ADDRESS>Jun 17, 2019 at 12:27
Add support for deprecated annotation	c3be006a7	Nitin Rana<EMAIL_ADDRESS>Jun 15, 2019 at 12:51
fix issues for ingress without tls section	5a0469916	nr17<EMAIL_ADDRESS>Jun 12, 2019 at 22:04

What this PR does / why we need it:
Reinstates the fixes for non-tls ingress and making 0.24.1 compatible with the backend-protocol annotation.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:

@johngmyers

@nr17


⚠ Bofrost.com has degraded performance

In b500f1d, Bofrost.com (https://www.bofrost.com) experienced degraded performance:

HTTP code: 200
Response time: 1119 ms

Resolved: Bofrost.com performance has improved in a8ddf16 after 7 minutes.


Feature Request: support for RGB565 surfaces (and possibly other formats)

Hello,
I am experimenting with this library to implement a simple embedded graphic UI by creating a surface at the frame buffer address. Everything works fine as long as I set up the graphic controller to ARGB8888 and allocate RAM accordingly.
I am now thinking about saving some RAM by allocating a different pixel format frame buffer/surface (say RGB565, or ARGB4444...). Would it be possible to modify the code to support such change? Can you point me to the relevant functions?
Thank you for your work!

Would it be possible to modify the code to support such change?

Yes

Can you point me to the relevant functions?

Please feel free to add your desired image format here: https://github.com/sammycage/plutovg/blob/main/source/plutovg-blend.c.


Double sorting grid:

Hey there! great works!
I'm using
backbone.paginator;backgrid;backgrid-filter" ;"backgrid-paginator"  it works great but i have one small issue when sorting by columnatserver mode` it seems to :
first it fetches the sorted list ok but then it does another fetch of the first page. This result two fetches against server and the 2nd is unsorted.
it seems that the second fetch comes from backgrid-paginator
self.listenTo(col, "backgrid:sorted", function () {
    if (self.goBackFirstOnSort) col.getFirstPage({reset: true});
  });
},

maybe on server mode its better to try fetch the first page on sorting?
any ideas how to over come it ?
Thanks!
Oak

@oak-tree, I think pull request 29 is what you're looking for?
https://github.com/wyuenho/backgrid-paginator/pull/29

hey @foosbar ! yeap! that can work!
u would go father more and ask if its possible to do the request for sort to request the first page as well if
self.goBackFirstOnSort is on
what do you think?

Fixed in #29


[ddclient] OPNsense backend, make sure address is string

Without this, I get the following in flush_status() in poller.py when it tries to dump the state to the file:
"IPv4Address('xx.xx.xx.xx') is not JSON serializable"

            fhandle.seek(0)
            fhandle.truncate()
            data = {}
            for acc_id in self._accounts:
                data[acc_id] = self._accounts[acc_id].state
            fhandle.write(ujson.dumps(data))

I am using custom dyndns2 if that is interesting at all, I am not sure how others have made this work so far without this change...

When using the opnsense backend, my dashboard widget for services running seems to be flaky and show ddclient as stopped, is this something wrong on my end? I can certainly look into that next if someone else can confirm how this is behaving for them

@xconverge thanks! this was certainly intended to be a string.


targetSdkVersion 26 is restrictive

Hi, if I'm not wrong, the consumers of this library should have a targetSdkVersion >= 26? This is pretty restrictive...can anything be done about it?

Why restrictive? You should always target the latest SDK versions.

Ideally yes :), but bumping targetSdkVersion is not as simple as bumping compileSdkVersion, and 26 (Oreo) is still kinda recent.

You don't have much time anymore, so I won't revert this: https://android-developers.googleblog.com/2017/12/improving-app-security-and-performance.html


Lock file maintenance

🚢 Manually merging because Renovate is slow

Codecov Report

Merging #13707 (445ac89) into main (c080f4b) will decrease coverage by 0.10%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main   #13707      +/-   ##
==========================================
- Coverage   38.82%   38.72%   -0.11%
==========================================
  Files        1073     1073
  Lines       73021    73021
  Branches     4977     4854     -123
==========================================
- Hits        28351    28276      -75
- Misses      44628    44700      +72
- Partials       42       45       +3

Impacted Files
Coverage Δ

core/server/data/db/connection.js
62.26% <0.00%> (-32.08%)
:arrow_down:

core/shared/config/loader.js
86.84% <0.00%> (-10.53%)
:arrow_down:

core/frontend/services/routing/registry.js
69.42% <0.00%> (-4.96%)
:arrow_down:

core/server/data/schema/fixtures/utils.js
68.53% <0.00%> (-4.37%)
:arrow_down:

core/server/data/importer/handlers/image.js
42.85% <0.00%> (-4.09%)
:arrow_down:

core/shared/settings-cache/cache.js
65.97% <0.00%> (-3.48%)
:arrow_down:

...ore/server/web/shared/middlewares/url-redirects.js
47.41% <0.00%> (-3.45%)
:arrow_down:

.../server/services/route-settings/settings-loader.js
71.56% <0.00%> (-2.95%)
:arrow_down:

core/server/services/url/UrlService.js
61.98% <0.00%> (-2.34%)
:arrow_down:

core/server/services/slack.js
96.51% <0.00%> (-2.33%)
:arrow_down:

... and 3 more

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 c080f4b...445ac89. Read the comment docs.


error/unable to run - assignment4

when i try to run --all or any other experiments, i get a statement that "File "mtrand.pyx", line991, in mtrand.RandomState.randint
ValueError:high is out of bounts for int32"
and I find no output as well, though folders are created. I think i m missing something grossly. can anyone help.
thanks

You can modify the line there pretty easily. I believe it may have to do with the random seed generation in that file and I think all you need to do is basically replace 232 with 231. It just changes what seeds are generated.

I believe I addressed this for the first assignment... let me see if I can find that change and include it for this one.

I did not address this before, but I opened a PR for it


Bluetooth audio not working in GNOME

Issue description
My bluetooth headphones wont connect in GNOME. The solution described in the Arch wiki works for me, but it would be nice to have a fix included in NixOS.
Steps to reproduce
Attempt to connect to bluetooth headphones and play audio through them in GNOME.
Technical details

system: "x86_64-linux"
host os: Linux 4.19.4, NixOS, 18.09.1420.5d4a1a3897e (Jellyfish)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.1.3
channels(root): "nixos-18.09.1420.5d4a1a3897e"
nixpkgs: /home/matthew/.nix-defexpr

Looks like this was fixed in https://github.com/NixOS/nixpkgs/pull/61746


Not a valid DNS hostname when saving TXT record with underscores.

Versions
NetBox Version: 3.6.6
NetBox DNS Version: 0.21.3
Python Version: 3.12.0
Describe the bug
Trying to add a TXT record for DKIM with the Name 'key1_op16._domainkey' and getting error "Not a valid DNS hostname".
I have the following PLUGINS_CONFIG set.
PLUGINS_CONFIG = {
"netbox_dns": {
"tolerate_underscores_in_hostnames": True,
"tolerate_leading_underscore_types": [
"TXT",
"SRV",
],
"tolerate_non_rfc1035_types": []
}
}
To Reproduce
Steps to reproduce the behavior:

Go to 'Netbox DNS' 'Records' '+'
Fill in the details with the Name field set to 'key1_op16._domainkey'

If I change the Name to 'key1-op16._domainkey' it will save.
Expected result
It appears to be an issue with underscores in TXT records, as I can save other record types with underscore in the name.

Interesting one, thanks ... can you try the following config to narrow it down, please:
PLUGINS_CONFIG = {
    "netbox_dns": {
        "tolerate_underscores_in_hostnames": True,
        "tolerate_leading_underscore_types": [],
        "tolerate_non_rfc1035_types": []
    }
}

If that should work I'm pretty sure I know where to look (and you have a workaround, too :-)).

0.21.4 has just been released with the fix.


Added slack as parameter to kite generate service

Codecov Report

Merging #82 into master will increase coverage by 0.05%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##           master      #82      +/-   ##
==========================================
+ Coverage   37.69%   37.74%   +0.05%
==========================================
  Files          17       17
  Lines         459      461       +2
==========================================
+ Hits          173      174       +1
- Misses        286      287       +1

Impacted Files
Coverage Δ

lib/kite/generate.rb
73.68% <50%> (-0.87%)
:arrow_down:

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 9fed50a...b00d6ba. Read the comment docs.

better we make it more useful by usage: --slack=project42


Deduplicate alerts when populating vmalert configmap

Type
Feature request
Description
Operator creates alert configmaps for vmalert, from prometheusrules and vmrules. Since vmalert does not allow duplicated alerts(ref), it would be good to have the operator to deduplicate the alerts from configmap.
Currently, vmalert fails to start if there is a duplicate alert.
Expectation
Rules with duplicate alerts should get deduplicated, so that vmalert can boot up.

@pmitra43  can you try to run operator from image: victoriametrics/operator:adds-vmalert-rules-dedup
You need to add annotation with non-empty value to the VMAlert spec:
apiVersion: operator.victoriametrics.com/v1beta1
kind: VMAlert
metadata:
  name: example-vmalert-with-dedup
  annotations:
    operator.victoriametrics.com/vmalert-deduplicate-rules: "exist"

added at release https://github.com/VictoriaMetrics/operator/releases/tag/v0.4.0


influxdb sum query wierd spikes and drops

I am using Icinga2 to push performance data into the influx database which is running the latest version (1.1.0) and parse the graph in grafana for visualisation.
I seem to be unable to debug the cause of spikes and drops inside graphs that are made with sum queries, for some reason it happens that sometimes the amount of total data is doubled, so it just doubles the amount of total memory and the next time it is normal again.
I have queried the database manualy in the timeframe the graph shows double data, but unfortunately the query does not.
Do I use the wrong query for sum?
image with the spikes and query
http:///shot.xsnews.nl/stefan/7f11996fb58a6e7d.png
tried manual query but I do not see any double data
http:///shot.xsnews.nl/stefan/ed95701d7e09016f.png
http:///shot.xsnews.nl/stefan/78e8e621f4ccb4be.png

Hi! We try and keep GitHub Issues for  actionable bug reports or feature requests. Please send general questions to the<EMAIL_ADDRESS>mailing list.
Thanks.


[Docs] Add OS and k8s compatibility matrix in README

Earlier BYOH supported only a single version of Ubuntu and k8s. But now we support multiple versions of these.
Here is the list of supported OS and k8s versions.
We want the README to have a section like this section in CAPV.

/assign

@sachinkumarsingh092 can I work on this ?? :))

Sure, go ahead! Thanks for doing this.
/assign @VibhorChinda

/close

Merged #488


How to change the class on element on value change.

Are you requesting a feature, reporting a bug or asking a question?
Question.
What is the current behavior?
What is the expected behavior?
I am trying to add a css class(colored border etc) to the elements when the value is empty in a text box or when the radio buttons are not selected etc and remove the css class when the value is entered/selected . Is there a way that we could use onChange event or OnBlur like we use in jQuery or how do we achieve this using surveyjs. Please suggest.
How would you reproduce the current behavior (if this is a bug)?
Provide the test code and the tested page URL (if applicable)
Tested page URL:
Test code
your_code_here

Specify your

browser:
browser version:
surveyjs platform (angular or react or jquery or knockout or vue): jQuery
surveyjs version:

@gajayreddy9 sorry for the late response. I am going to add "is-empty" class for questions.


electron.js in ES6?

Any way we can write the electron.js in ES6?
I'm guessing its just a matter of having babel compile it, but i'm having trouble reading the task reunners

The current setup does not transpile electron.js with babel. There are some plans to have this working together with webpack, but the unfortunate item about that current setup is that there is no Hot Module Replacement for node processes as of yet (at least not reliable yet). But do remember, node v6 does support almost all ES6 features. The one big feature missing is using import / export, which really isn't too much of a trade off in my opinion. You could try using babel-polyfill or babel-register, but the problem here is that it would bloat your build size and you would need to manually transfer dependencies into a final build. But like I said, if you can live with using require, then everything else is nearly there.

Ok, thats good to know. I can live with require for now. Thanks, for all the good work!

No problem. 😊


Change the color combination of "Permission required" section in swagger files

Is your suggestion related to a missing or misleading document? Please describe.
The section which mentions required permissions for the API endpoint causes poor readability due to the low color contrast. Purple lettering on the black back background doesn't contrast well. This should be fixed in all swagger files if it has been applied.
eg:

https://is.docs.wso2.com/en/5.11.0/develop/scim2-rest-apis/#/Roles Endpoint/patchRole

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Problem with if tag

MyBatis version

org.mybatis.spring.boot
mybatis-spring-boot-starter
1.3.2

Database vendor and version
PostgreSQL 10.5
Test case or example project
<select id="getSongsFromTable" resultMap="songMap">
    SELECT
        *
    FROM
        ${tableName}
    WHERE
        1 = 1
    <if test="song.band != null and song.band != ''">
    AND
        LOWER(BAND) LIKE LOWER('%'|| #{song.band} ||'%')
    </if>
    <if test="song.name != null and song.name.trim() != ''">
    AND
        LOWER(NAME) LIKE LOWER('%'|| #{song.name} ||'%')
    </if>
</select>

Steps to reproduce

In SpringBoot project create POJO class Song with string field band, setter and getter
In mapper add test tag with the field: "song.band != null and song.band != ''"
There is no errors with getter song.getBand() != null and song.getBand() != ''

Expected result
Build without exception
Actual result
Exception
Caused by: org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.builder.BuilderException: Error evaluating expression 'song.band != null and song.band != '''. Cause: org.apache.ibatis.ognl.ExpressionSyntaxException: Malformed OGNL expression: song.band != null and song.band != '' [org.apache.ibatis.ognl.ParseException: Encountered " "band" "band "" at line 1, column 6.
Was expecting one of:
"(" ...
"{" ...
 ...
]

In OGNL, band is an operator.
https://commons.apache.org/proper/commons-ognl/language-guide.html
Using song.getBand() may be the solution.
Closing as it's not a bug.


Fix form subclassing.

Fix form initialization when form has mixins.
I tried to subclass Form with mixin and mixin's __init__ was never called. This PR fixes the issue.
Example of how I use the mixin:
from __future__ import print_function
from wtforms import Form, DateTimeField, TextField, TextAreaField, IntegerField, validators

class ProfileForm(Form):
    birthday  = DateTimeField('Your Birthday', format='%m/%d/%y')
    signature = TextAreaField('Forum Signature')

class AdminMixing(object):
    username = TextField('Username', [validators.Length(max=40)])
    level    = IntegerField('User Level', [validators.NumberRange(min=0, max=10)])

    def __init__(self, *args, **kwargs):
        super(AdminMixing, self).__init__()
        print('called')
        # Some initialization code

class AdminProfileForm(ProfileForm, AdminMixing):
    pass

form = AdminProfileForm()

Print shows that __init__ is not called in the master branch but it is called in this branch.

Is there something wrong with the Pull Request?

As it stands this is an issue with the MRO and not particular to WTForm's BaseForm class. If you're trying to be able to use mixins and define your own classes please be aware of the rules for MRO.
For context:
SO answer for new style classes MRO
Python MRO


Use global composer install when available

To avoid the manual placement of composer into bin/, this pull request proposes a centralised check for the availability of a global composer installation (and fallback to bin/composer.phar).

Nice, I like it! merging!

Thanks for the quick merge, @rhukster :blush: Please have a look at #192, though. Forgot trim in the copy process.


fail to compile on signed vs. unsigned comparison

This is just a suggestion.
Currently the following returns true:
safe<signed>{-1} < safe<unsigned>{1}

Which is quite clever a fix, but maybe instead, this should fail to compile, and therefore force the user to rethink the comparison and do one of the following:

Change the signed-ness of one of the types
Use a named function for comparison.

I went through and more carefully follow the language / procedures of the standard.
The standard considers < (and other operators) binary operators.
In such case, promotion rules are invoked to promote both operands to the same type.
then the types are converted.
depending on the size of the two operands, the promotion may result in an (undetected) error.  This can occur when a negative value is promoted to an unsigned value - which can happen.  On cases like this, errors injected during promotions are caught as errors.  This means that we aren't changing C++/C behavior, we are just trapping the places where it occurs.  This is in the spirit of the library.


Use a custom PAT for release

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

GitHub release
npm package (@latest dist-tag)
v0.5.0

Your semantic-release bot :package::rocket:


qbitninja missing reference to nodeblocksrepository

Appears this is no longer present after this commit:
https://github.com/stratisproject/BlockExplorer/commit/f069b1e385e8411ab9c8d2a9ff052b225f3b94da
QBitNinja seems to still have a reference to it. Does QBitNinja need to get refactored or should it get added back into azureindexer?
Reference is in this source file https://github.com/stratisproject/BlockExplorer/blob/master/QBitNinja/QBitNinja/InitialIndexer.cs
@YakupIpek  @quantumagi @bokobza

I also realized that QBitNinja has some issues after last pull requests. We need to resolve it because we are going to deploy this. Otherwise we will deploy last working commit.

I see that as well.
Does the current deployed version of QBitNinja have any problem?
Why do we need to deploy it?

Currently deployed version doesn't have continuous deployment so it doesn't update itself automatically for latest commits so it works fine. But we will deploy QBitNinja for MainNet and TestNet again for ICO Platform and we would like to set up continuous deployment for it.


Capturing full 4:3 4056x3040 frames to be inferenced on.

Would like to be able to inference and view the full view of the camera in 4:3 to provide a larger view area than a normal 4k image cropped from the centre of the original resolution.
Ability to set video size to the full 12.3MP resolution of the camera and get a 4:3 aspect ratio image out along with being passed to do inferencing on.
i.e. cam_rgb.setResolution(dai.ColorCameraProperties.SensorResolution.THE_12_MP)
and cam_rgb.setvideosize(4056, 3040)

Thanks.  If I'm understanding correctly I think @Erol444 has a reference for how to accomplish this.  I looked but couldn't immediately find it.

Hello @justin-larking , from my understanding of ISP, only 12MP still frames and isp output will have the actual sensor full FOV - so 4056x3040. For some reason, isp is actually 4032x3040, might be something to do with HW limitation (eg width must be multiplies of 32/64).
So I would use isp output from ColorCamera node, and you need to convert the YUV420 to RGB (+ downscale), will write a simple demo for that asap.

Full resolution (4056 width) should work with isp in this example:
https://github.com/luxonis/depthai-experiments/blob/f7542b9/gen2-color-isp-raw/main.py
python3 main.py -res 12mp
But when encoding, e.g JPEG with still output of ColorCamera, the resolution is slightly reduced to a multiple of 32, due to VideoEncoder hardware limitations.

@justin-larking  Full fov NN inferencing demo here:
https://github.com/luxonis/depthai-experiments/tree/full_fov/gen2-full-fov-nn

After a quick mockup of that code:
import cv2
import depthai as dai
import time

# Start defining a pipeline
pipeline = dai.Pipeline()
print("Creating Color Camera...")
cam_rgb = pipeline.createColorCamera()
cam_rgb.setInterleaved(False)
cam_rgb.setResolution(dai.ColorCameraProperties.SensorResolution.THE_12_MP)
cam_rgb.setBoardSocket(dai.CameraBoardSocket.RGB)
cam_rgb.setStillSize(4032, 3040)
cam_rgb.setColorOrder(dai.ColorCameraProperties.ColorOrder.RGB)

controlIn = pipeline.create(dai.node.XLinkIn)

cam_xout = pipeline.createXLinkOut()
cam_xout.setStreamName("still")
cam_xout.input.setBlocking(False)
cam_xout.input.setQueueSize(1)

controlIn.setStreamName('control')

controlIn.out.link(cam_rgb.inputControl)
cam_rgb.still.link(cam_xout.input)

with dai.Device(pipeline) as device:
    still = device.getOutputQueue(name="still", maxSize=1, blocking=False)
    controlQueue = device.getInputQueue('control')

    prev_frame_time = 0
    new_frame_time = 0

    ctrl = dai.CameraControl()
    while True:
        new_frame_time = time.time()
        ctrl.setCaptureStill(True)
        controlQueue.send(ctrl)
        print(ctrl.getCaptureStill())
        frameIn = still.get()
        print(frameIn)
        frame = frameIn.getCvFrame()
        fps = 1/(new_frame_time-prev_frame_time)
        prev_frame_time = new_frame_time
        cv2.putText(frame, str(int(fps)), (900 ,50), cv2.FONT_HERSHEY_SIMPLEX, 2, (255,255,255), 4, 2)
        cv2.imshow("frame", frame)
        if cv2.waitKey(1) == ord("c"):
            print("Saving")
            cv2.imwrite("frame"+str(1)+".jpg", frame)
            print("frame"+str(1)+".jpg")
        if cv2.waitKey(1) == ord('q'):
            break

I have some questions. Is it possible to obtain full fov images but at a lower resolutions, as for full fov sesnor resolution must be set to 12MP but how other than resizing can stills be captured in lower res. I ask as this code runs at 2-3fps, what i'm ultimately trying to achieve is full fov at a video frame rate.

@justin-larking Yes, it's possible to downscale, as for example in the code @Erol444 posted, using .setIspScale(1, 5) for a 1/5 scaling of the isp output, that is (4056, 3040) * 1/5 = (811.2, 608) -> (812, 608)
(actual formula for the scaled size: https://github.com/luxonis/depthai-core/blob/6620089/src/pipeline/node/ColorCamera.cpp#L318)
Also possible to try it with gen2-color-isp-raw: python3 main.py -res 12mp -ds 5
The isp output is a source for preview / video / still, see more details here:
https://docs.luxonis.com/projects/api/en/latest/components/nodes/color_camera/

Ah I see now, I shouldn't have skipped over that tutorial on isp. I'll close the this as its possible and relatively easy to do.


Create and expose a custom CDS view

Tutorial URL: https://developers.sap.com/tutorials/abap-extensibility-custom-cds.html
General remark:
The tutorial is using the Custom CDS Views To Be Deprecated app which doesn't have anymore the option to create a custom CDS View.

Hi @ekc7us ,
thank you for your feedback. We will process your feedback as soon as possible.
Best regards,
Merve

Thank you for your feedback. The issue seems to be resolved, so I am closing the issue.
If you still have questions, feel free to reopen the issue.


Error: Switchboard account parser was not provided with an aggregator account: EsQkrtuJdRnDp6JvAcmRiYGoQbWL668TEZDW8VmrNcm3

When I run docker-compose up --build, I see a few failing transactions (Liquidation is too small to receive collateral) followed by a program crash with the following error log:
liquidator-main_1  | Obligation 2aTLzTGA8fjbAcvYeGvrPXNwTouCCh1F5GGjWqYmasgL is underwater
liquidator-main_1  |               borrowedValue:<PHONE_NUMBER>805.25079802407945016631
liquidator-main_1  |               unhealthyBorrowValue:<PHONE_NUMBER>679.6169569931682102497
liquidator-main_1  |               market address: 4UpD2fh7xH3VP9QQaXtsS1YY3bxzWhtfpks7FatyKvdY
liquidator-main_1  | failed to get wallet balance for SOL to liquidate obligation 2aTLzTGA8fjbAcvYeGvrPXNwTouCCh1F5GGjWqYmasgL in market: 4UpD2fh7xH3VP9QQaXtsS1YY3bxzWhtfpks7FatyKvdY.
liquidator-main_1  |                 Potentially network error or token account does not exist in wallet
liquidator-main_1  | /home/solend/app/node_modules/@switchboard-xyz/switchboard-api/lib/switchboard_module.js:52
liquidator-main_1  |             throw new Error(`Switchboard account parser was not provided with an aggregator account: ${address.toBase58()}`);
liquidator-main_1  |                   ^
liquidator-main_1  | Error: Switchboard account parser was not provided with an aggregator account: EsQkrtuJdRnDp6JvAcmRiYGoQbWL668TEZDW8VmrNcm3
liquidator-main_1  |     at Object.<anonymous> (/home/solend/app/node_modules/@switchboard-xyz/switchboard-api/lib/switchboard_module.js:52:19)
liquidator-main_1  |     at Generator.next (<anonymous>)
liquidator-main_1  |     at fulfilled (/home/solend/app/node_modules/@switchboard-xyz/switchboard-api/lib/switchboard_module.js:5:58)
liquidator-main_1  |     at runMicrotasks (<anonymous>)
liquidator-main_1  |     at processTicksAndRejections (node:internal/process/task_queues:96:5)

@CMEONE Issue fixed in https://github.com/solendprotocol/liquidator/pull/30


🌱 Add kubesec for IPAM

Kubesec is a security risk analysis tool for Kubernetes manifest files and this PR is going to add a github action script to IPAM. All the manifest files is going to be scanned by Kubesec once in a week.
Github action test in Nordix
Test result in Nordix

/lgtm

/cc @kashifest

/approve


Is there anyway to automate the time lapse conversion?

it would be nice if we could convert the time lapse sequence to video on the fly after the movement detection is off

You could achieve this by triggering a command macro to perform the conversion.

Thank u @roberttidey. I was thinking about this but which one would it be? the detection macro? it does not pass the image name commands I believe. I also wanted to thank the team for the software. It's really nice

If you are using the motion detect to control the time lapse then the detect macro would be the one to use. It has a parameter to tell you whether it is the start or end of detect.
Although it does not have a filename it is fairly easy to find the time lapse data. You can also create a dedicated folder for the time lapse images in the /etc/raspimjpeg settings (lapse_path) if you want to make it easier to see the set of image data to process.


Blog Posts

https://www.kubeflow.org/docs/examples/blog-posts/
It seems that we are not pointing to the latest blogs from here. I would suggest a simple link to Kubeflow blog.

This is part of the https://github.com/kubeflow/website/issues/2807 proposal, I will close this for now so we can discuss there.
/close


[IRGen] Make -emit-public-type-metadata-accessors a no-op.

This work-around is no longer needed now that the full fix landed in
https://github.com/apple/swift/pull/16615. The argument is left with a warning
to help with migration between compilers with the work-around and compilers with
the full fix (see also rdar://problem/40502379).
Fixes rdar://problem/40476573.

@swift-ci please smoke test


404 error on downloading Microsoft product GPG keys

I was following the documentation on this page to install Powershell for Ubuntu. But I got a 404 error when trying to download the Microsoft product GPG key.
Steps to reproduce
wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb

Expected behavior
Downloads Microsoft product GPG keys
Actual behavior
wget returns 404 error
Environment data

Looks like at the time there was a major outage for packages.microsoft.com
https://github.com/dotnet/core/issues/6381#issuecomment-862858197

@JAK1047  Thanks for the info. I've verified that the command is now working, so I closed this issue.


Fixed README.md

Original readme had incorrect syntax for running the prometheus-postgreSQL storage adapter docker image.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Enable insertNeighbor when tunneling is disabled

This test was reversed: we need to insertNeighbor when tunneling is disabled
cc @brb / @jrfastab

This change is

test-me-please


change color table to improve soilw comparisons

Tanya requested a change to the soilw color table to allow comparisons to other models.
Before and after sample plots below.
Passed pylint and pytest.

true, we need to watch our colors; in this case, as with visibility, the request was to specifically match the plots from an outside group, to make comparisons easier.  We might need to think about how to handle that type of request down the road.


Missing paths and file-names for DB entities, schema etc.

The shared layout is clearly defined where resides. When the reader progresses to the DB entities and schema, it's not so clear where these should reside within the folder hierarchy. This makes it challenging for beginners to progress.
It would be great if the paths and file names would be added in each of these sections as well.
[Enter feedback here]

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

ID: 3ad06677-5842-c1aa-153f-7993a9660dfa
Version Independent ID: 8daf79df-eac4-358b-e6f0-6def45bd54da
Content: Tutorial: Get started with EF Core in an ASP.NET MVC web app
Content Source: aspnetcore/data/ef-mvc/intro.md
Product: aspnet-core
Technology: aspnetcore-data
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

This is not a beginning tutorial. Where is path and filename missing?

Thanks for the clarification Rick.


Default exception mappers are overridable

This pull request annotates the default exception mappers with @Priority(Integer.MAX_VALUE), which allows for a user to override one of the default exception mappers without having to set the configuration option registerDefaultExceptionMappers to false. Since the configuration option won't  be useful once this pull request is merged, it can be slated for removal at a later point.
As a corollary, we can add additional exception mappers (ExceptionMapper<Foo>) and not fear breaking applications where the user had also defined ExceptionMapper<Foo>

Should we add a @Deprecated on https://github.com/dropwizard/dropwizard/blob/master/dropwizard-core/src/main/java/io/dropwizard/server/AbstractServerFactory.java#L242 ?

Yes I can append a couple commits, one to deprecate, and another to update the documentation.
/cc @scho, as you expressed concern earlier in #1125 and I was curious if you had any concerns about deprecating registerDefaultExceptionMappers

Looks good to me!

Upgrading to Jersey 2.19 #1143 breaks this pull request (it works fine on 2.18). The investigation is on! :sunglasses:

Ok, back from the investigation with some not so good news. I don't normally like to throw in the towel, but this is a doozy.
This implementation doesn't work as Priority annotations do not work on exception mappers (JERSEY-2722).
The suggested workaround, using ExtendedExceptionMapper, is not a 100% solution. I can expand on this if needed, but I was not able to find an alternative either.
Plan of action:

Close this pull request and remove 0.9 milestone
Revert #1125 so that tests don't break for people when moving to 0.9
Roll up #1125 into this pull request so that everything is in one pull request
Wait for Jersey issue to be resolved
Re-open pull request
Celebrate :tada:

Why did this code worked on 2.18 appears to be a total fluke (though it may, in part, be due to JERSEY-2891)! My apologies for any wasted time, hopefully it was informative at least :smile:


Updates for the new Distros which have come out

Updates for Debian and Ubuntu releases.

Fixed, Will teach me for copy / paste


sandboxing support for Path

Would it be possible to get a Path subclass with support for sandboxing paths?

And you don't want to use PyFilesystem? You just want the one feature?
Curious what the use case is and if you might send a PR for this feature...?

PyFilesystem is a great library, but a bit heavy dependency, path.py is a lot smaller.
My use case currently involves some personal projects, scripts that take relative
paths as arguments and takes actions on them, such as deleting them, which can
be dangerous if there is one too many .. or *.
I do not know path.py well enough to make a pull request.
Besides PyFilesystem I have not seen another path manipulation library that has sandboxing.
If you know of one, please let me know.

For the most part, path.py is a lightweight wrapper around stdlib functionality. Ironically, part of the reason it is smaller than PyFilesystem is because it has limited its scope. I just installed PyFilesystem and it's only one package. It has no dependencies or C extensions, so it's only larger than path.py in size and scope, but the installation case is roughly equivalent (vendoring, on the other hand might be more complicated). Over the years, path.py has grown larger to the point that it no longer fits comfortably in a single module, and especially if we start adding functionality like that proposed herein, it will put even more pressure for the tool to split into different modules such as PyFilesystem is organized.
I'm inclined to say that path.py shouldn't attempt to re-implement functionality already in another similar library unless there's a compelling reason to do so. Size of the package isn't a compelling reason. But let's explore anyway.
Since you're not prepared to make a pull request, could you at least write up a description of how path.py would implement this functionality? Describe what the user experience would be. Draft the documentation that explains this proposed feature and answers questions the user might have like, "how does it work," "when does it take effect," "how secure is it (or not)," "who should use it," and other questions, with examples.
If we have a spec to work from and content to serve as documentation, and someone can volunteer an implementation that doesn't degrade the current experience, I can see it being accepted.


BigNumber ^4.1.0 now has own type declaration, overrides @types/

This issue seems to be appearing due to a module pulling in bignumber.js v4.1.0. It looks like GDAX is specifically including v4.0.2 so the dependency may be coming from another module in my project.
The problem I am seeing is that typescript compiler throws an error when bignumber.js v4.1.0 or greater is included in node_modules/.
As of v4.1.0 bignumber.js includes its own type declaration, which does not include the BigNumberStatic, NumberLike etc declarations. This causes a typescript error "bignumber has no exported member 'Numberlike'" as typescript is using the local index.d.ts v4.1.0 in the node_modules/bignumber.js folder rather than the node_modules/@types version v4.0.2 index.d.ts. These types are used in LiveOrderBook, Triggers, BookBuilder.
//node_modules/gdax-trading-toolkit/build/src/lib/types.d.ts
1. import * as BigNumber from 'bignumber.js';
*2*. -> import { NumberLike } from 'bignumber.js';
*3*. -> export declare const big: BigNumber.BigNumberStatic;
*4*. -> export declare const Big: (x: BigNumber.NumberLike) => BigNumber.BigNumber;
5. export declare const ZERO: BigNumber.BigNumber;
6. export declare const ONE: BigNumber.BigNumber;
*7*. -> export declare type Biglike = *NumberLike*;
8. export declare type BigJS = BigNumber.BigNumber;

const big: BigNumber.BigNumberStatic and const Big: (x: BigNumber.NumberLike) => BigNumber.BigNumber never appear to be used anywhere in the code, however Biglike is used in multiple places like LiveOrderBook, Triggers, BookBuilder.
As a temporary fix I have copied the declaration for NumberLike from the old v4.0.1 index.d.ts file so that line 7 now looks like:
export declare type Biglike = number | string | BigNumber.BigNumber;

Fixed by #226