Private DNS Resolver with ExpressRoute VNG problem

[Enter feedback here]
On the documentation for ExpressRoute Virtual Network Gateways, there is a note that Private DNS Resolver should not be put in the vNet with the gateway.
Linking an Azure DNS private resolver to the virtual network where the ExpressRoute virtual network gateway is deployed may cause management connectivity issues and is not recommended.
https://learn.microsoft.com/en-us/azure/expressroute/expressroute-about-virtual-network-gateways#gwsub
The architecture on this document is showing the Private DNS Resolver in the hub vNet with the ExpressRoute. There is an inconsistency in the two recommendations.

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

ID: 6ce03940-eeb4-98b6-4624-1615715beec4
Version Independent ID: 6ce03940-eeb4-98b6-4624-1615715beec4
Content: Azure DNS Private Resolver - Azure Example Scenarios
Content Source: docs/example-scenario/networking/azure-dns-private-resolver.yml
Service: architecture-center
Sub-service: example-scenario
GitHub Login: @moorthyannadurai
Microsoft Alias: moannadu

@cchapin2020
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

Made changes to the Article to accommodate the new ER gw recommendation. Awaiting for the review & approval for the Pull Request..

@moorthyannadurai - can you link to that PR? Is it merged? Can this be closed now?

Thank you for your feedback.  We have created internal ticket 196640 to track and investigate this issue.

#please-close


fix: VerificationScene button Problem

@RaniaZeid  resolve conflicts and merge.

build this version and make sure it runs correctly, if so then squash and merge


Add integration tests

The existing functional tests are unit / regression tests. They cannot
be expected to cover situations which we haven’t even considered before
(e.g. https://github.com/typesafehub/migration-manager/issues/147). This
commit adds a new set of integration tests which consist of different
versions of large codebases that have been previously checked with a
stable version of MiMa, so we know what results to expect.

Very, very neat. Excellent Stefan!

I asked travis to rebuild on top of the latest merged changes, but LGTM otherwise - thanks a lot!


Nuget Installer/Retore not working behind proxy

Hi guys,
I'm trying to run a private VSTS build agent behind a proxy, and I'm getting the following error in Nuget Installer and also in Nuget restore tasks:
Error: connect ECONNREFUSED <IP_ADDRESS>:443
The issue #869 described the same problem, and was closed. But I'm still experiencing the same problem.
I've configured a .proxy file for the agent, as described here. After that, the Get Sources task worked, but the Nuget tasks don't. The documentation highlights that the proxy will only work for the agent infrastructure. So I tried to configure a nuget.config file, with proxy information and put it besides the nuget.exe in tools directory in the agent folder, but I got the same error again.
Have this issue been fixed? Are there any workarounds?

Hi, I've successfully make it run after I created a system environment variable "http_proxy".
Is this the recommended solution?

Assuming you set that variable on the NuGet build step, it would be passed to nuget.exe which would use it.  However, I'm curious how your agent talks back to the mothership without you configuring it to use your corporate proxy as defined here.
If you follow these instructions you shouldn't need to do http_proxy.

@keithrob What if proxy is only required to access external websites, like nuget.org?
TFS server, on the other hand, is accessible without proxy in the intranet.
What is the recommended way to set proxy creds for the task?
Setting VSTS_HTTP_PROXY, VSTS_HTTP_PROXY_USERNAME and VSTS_HTTP_PROXY_PASSWORD variables?

@RoadTrain ,
Can you try setting a build step specific variable, http_proxy or https_proxy, for the tool installer?
Keith

@igorguga Did you just add "http_proxy" variable in the environment variable? I was getting "ERR:tunneling socket could not be established, statusCode=407" before setting the environment variable. After setting http_proxy, I get this error "ERR:tunneling socket could not be established, cause=getaddrinfo ENOTFOUND 8080 8080:80"
The proxy looks fine as the Get source task completes successfully and it fails in NuGet Tool Installer task.
Any clue what's missing here?

I am having the same issue as @amritathakur. Anyone managed to resolve this?


wpewebkit: 2.26.4: Add patch to do not detect the stopped animations

Patch to solve issue discussed here https://github.com/Igalia/meta-webkit/issues/143
Signed-off-by: Fabio Berton<EMAIL_ADDRESS>

Thanks!


Added ability to search for resources.

This should close #20, I figure it's a little more flexible than the field filtering of DjangoFilterBackend, which requires exact matches.  I added support for the basic 'name' fields on each model, but we can add more, if it makes sense.

Using REST Framework’s SearchFilter, added support for searching for
resources.
Added docs explaining how to search and the fields on each resources
that are searchable.
Added basic tests for using the search param.

Wow, nice work @msgerbush ! Thanks for this - I'm going to look over it on Monday properly then I'll merge + ship :)

@msgerbush will this require a migration?

Nope, no migration!

💃

@msgerbush deployed! It works really well

@phalt, great!  Thanks and glad to hear it's working well 😄


pciutils: fixup musl support

Motivation for this change
fix build on musl
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

I didn't actually know about pkgsMusl ones. I have to admit. I'll fix that.

We now found a slightly nicer way now, so I used that instead.  Thanks.


How to set ttl.

How can i set "ttl" "time to live" on index (so all results older than 60s would get removed from search for example https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-ttl-field.html)
i tried to use custom settings part:
"## Custom settings to apply when creating the index (optional)
elasticsearch.index.settings="{'_ttl' : { 'enabled' : true, 'default' : '60s' }"
But results are still searchable even after hour. is there need for another setting or have i set it with some kind of annotation? Currently have only one annotation
"@IndexType(name = "searchResult")
public class SearchResult extends Index { ..."
Or maybe is missing specification for timestamp (also some kind of annotation?)
Tnx for help.

Hello,
The ttl  must be define on Mapping  and not on Setting configuration
https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-put-mapping.html
So you can add via this like annotation.
@IndexMapping(value = "{ searchResult : { "_ttl" : { "enabled" : true } } }")

Tnx very much, had to escape " but it worked!

Hello again, above code work well but i got to special situation. I reindex whole search every 4 hours
SearchResult searchResult = new SearchResult();
...
searchResult.index();
Always using same ids. I also have 12 ttl by annotation.
Expected : items that are not reindexed by "searchResult.index();" will expire after 12h others wil stay.
Reality : All items get deleted after 12h, even if they are reindexed  3 times.
Is there any way to update ttl while reindexing ?


YakYak does not support outgoing calls.

When you make an outgoing call, yakyak thinks you are calling yourself. For example, if I call someone, yakyak says, Incoming call from "me" obviously, I don't want to put my name.

https://github.com/yakyak/yakyak/issues/286

@arnriu This is not the issue i was having. i think you read the title, but not the actual message. I'll admit though, the title is confusing.
I will update it soon.


Warning: Text content did not match. Server: "heroTitle1" Client: "Get your DApp"

🐛 Bug Report
A clear and concise description of what the bug is.
To Reproduce
A minimal reproducible example.
A codesandbox example or similar
or at least steps to reproduce the behavior:
Repo reference:
https://github.com/MakeWeb3/MakeWeb3.io

open console
warning exists

https://github.com/i18next/next-i18next/assets/135591894/137ef952-3281-459d-92d3-50f711d517cb

Expected behavior
A clear and concise description of what you expected to happen.
// Paste the expected results here

Your Environment

runtime version: i.e. node v16
i18next version: i.e. "^23.0.2",
os: Mac, Windows, Linux
any other relevant information

Instead of import { useTranslation } from 'react-i18next'
-> import { useTranslation } from 'next-i18next'
https://github.com/i18next/next-i18next#usetranslation

Thanks!


How can I handle the event closeOnClickOutSide

How can I handle the event closeOnClickOutSide?

@AndreyKachanov
hi , closeOnClickOutSide is a prop that if set to true closes(collapse) the sidebar when the outside is clicked, it does not emit any events though ... but you can use @update:collapsed(isCollapsed) event to listen to collapsed value to detect when a menu is collapsed or you can set a watcher on collapsed value, here are some examples with composition api :
<template>
  <VueAwesomeSideBar
      v-model:miniMenu="miniMenu"
      v-model:collapsed="collapsed"
      @update:collapsed="handelCollapse"
      :menu="testMenu"
      vueRouterEnabel
    ></VueAwesomeSideBar>
</template>

<script setup>
import { ref, watch } from 'vue'

const collapsed = ref(false)
const miniMenu = ref(false)

// method 1
function handelCollapse(value){
if(!value){
  console.log("menu is closed")
}
}

//method 2
watch(collapsed , (newValue, prevValue) => {
if(!newValue){
  console.log("menu is closed")
}
})

const testMenu = [
  {
    name: 'Getting Started',
    icon: { text: 'home' , class: 'material-icons-outlined' },
    }
   ]
  </script>

does this solve your problem ?

@AndreyKachanov hi , closeOnClickOutSide is a prop that if set to true closes(collapse) the sidebar when the outside is clicked, it does not emit any events though ... but you can use @update:collapsed(isCollapsed) event to listen to collapsed value to detect when a menu is collapsed or you can set a watcher on collapsed value, here are some examples with composition api :
<template>
  <VueAwesomeSideBar
      v-model:miniMenu="miniMenu"
      v-model:collapsed="collapsed"
      @update:collapsed="handelCollapse"
      :menu="testMenu"
      vueRouterEnabel
    ></VueAwesomeSideBar>
</template>

<script setup>
import { ref, watch } from 'vue'

const collapsed = ref(false)
const miniMenu = ref(false)

// method 1
function handelCollapse(value){
if(!value){
  console.log("menu is closed")
}
}

//method 2
watch(collapsed , (newValue, prevValue) => {
if(!newValue){
  console.log("menu is closed")
}
})

const testMenu = [
  {
    name: 'Getting Started',
    icon: { text: 'home' , class: 'material-icons-outlined' },
    }
   ]
  </script>

does this solve your problem ?

No, I want to set variable collapsed=true after clicking "closeOnClickOutSide", but I don't understand how to do it right

I have button with @click="collapsed = !collapsed". But if i click "closeOnClickOutSide", variable collapsed not  does not switch to true

I solved the problem, thanks.
        handelCollapse(value) {
            if (value === true) {
                this.collapsed = true;
            }
        }


Compatibility with Docker?

It seems that Docusaurus builds (npm run build) fail when this plugin is a dependency and the build is executed in Docker.
This is my Dockerfile used to compile Docusaurus:
FROM node:alpine as builder
USER node
COPY --chown=node:node . /home/node/app
WORKDIR /home/node/app
RUN npm install && npm run build

FROM nginx:alpine
COPY --from=builder /home/node/app/build /usr/share/nginx/html

Extract of the output of the build:
#9 113.7 ./docs/test.md
#9 113.7 Error<EMAIL_ADDRESS>with kwargs {"input":"/tmp/remark-mermaid-HkEIAA/input","output":"/tmp/remark-mermaid-HkEIAA/output.svg"} failed with error code: 1
#9 113.7  @ ./.docusaurus/registry.js 1:2724-2803 1:2562-2662
#9 113.7<EMAIL_ADDRESS>#9 113.7  @ ./.docusaurus/routes.js
#9 113.7<EMAIL_ADDRESS>
The issue can be reproduced as well when trying to execute the unit tests of this repo inside Docker:
docker run -v `pwd`:`pwd` -w `pwd` node:10.17 /bin/bash -c 'npm install && npm run test'

Is there any part of the code that is not compatible with Docker?
Thanks in advance

Hi @inacho,
#6 will hopefully fix this issue


subsys: net: automatic resize net buf for mcumgr

if any of mcumgr backend is enabled then the size of user_data
available in every network buffer must be set at last to the Size
of mcumgr buffer user data. This patch force this via Kconfig.
Signed-off-by: Andrzej Puzdrowski<EMAIL_ADDRESS>

"How big is the mcumgr requirement?"
It defaults to 7, and therefore was causing a compiler error when mcumgr was enabled without further configuration.
NET_BUF_POOL_DEFINE(pkt_pool, CONFIG_MCUMGR_BUF_COUNT, CONFIG_MCUMGR_BUF_SIZE,
		    CONFIG_MCUMGR_BUF_USER_DATA_SIZE, NULL);

#define NET_BUF_POOL_DEFINE(_name, _count, _size, _ud_size, _destroy)        \
	BUILD_ASSERT(_ud_size <= CONFIG_NET_BUF_USER_DATA_SIZE);             \
	NET_BUF_POOL_FIXED_DEFINE(_name, _count, _size, _destroy)

config MCUMGR_BUF_USER_DATA_SIZE
	int
	prompt "Size of mcumgr buffer user data"
	default 7
	help
	  The size, in bytes, of user data to allocate for each mcumgr buffer.
	  Different mcumgr transports impose different requirements for this
	  setting.  A value of 7 is sufficient for UART, shell, and bluetooth.

Codecov Report

Merging #8209 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #8209      +/-   ##
==========================================
- Coverage   64.53%   64.53%   -0.01%
==========================================
  Files         420      420
  Lines       40101    40101
  Branches     6762     6762
==========================================
- Hits        25881    25879       -2
- Misses      11103    11104       +1
- Partials     3117     3118       +1

Impacted Files
Coverage Δ

boards/posix/native_posix/timer_model.c
98.21% <0%> (-1.79%)
:arrow_down:

samples/philosophers/src/main.c
96.87% <0%> (-1.57%)
: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 265f502...7663250. Read the comment docs.

Ok, I took a look at the mcumgr code, and it seems the value 7 comes from sizeof(bt_addr_le_t). Wouldn't it be saner to just store a reference to the bt_conn object using bt_conn_ref()? That would then fit within the default 4 bytes.

@jhedberg  - don't feel i have enough knowledge to do changes you requested right now.
If you want fell free to replace my patch.
@ccollins476ad - any thoughts on that?

@nvlsianpu I opened PR #8217 with a proposed fix

@nvlsianpu @jhedberg can we close this now?

@nvlsianpu @jhedberg can we close this now?

@carlescufi I think so, assuming everyone is happy with my #8217

replaced by #8217


feat(proto, conductor)!: changes for Forma migration

Summary
Makes the changes detailed here to support migration of Forma to Mainnet.
Background
Migrating Forma to mainnet necessitates introducing stop and start logic into the Conductor. This makes the proto and Conductor changes necessary for that. In addition to this, this will allow for future needs to stop and start EVMs on our networks.
The shutdown and restart logic for the Conductor should be as follows:

Firm Only Mode: Once the stop height is reached for the firm block stream, the firm block at this height is executed (and commitment state updated) before restarting the internal conductor, prompting the rollup for a new GenesisInfo with new start/stop heights (and potentially chain IDs).
Soft and Firm Mode: Once the stop height is reached for the soft block stream, no more soft blocks are executed (including the one at the stop height). The firm block is still executed for this height, and then Conductor restarts.
Soft Only Mode: Once the stop height is reached for the soft block stream, no more soft blocks are executed (including the one at the stop height). Conductor is then restarted.

Changes

Changed sequencer_genesis_block_height to sequencer_start_block_height in GenesisInfo (in the execution API).
Added sequencer_stop_block_height, rollup_start_block_height, sequencer_chain_id, and celestia_chain_id to GenesisInfo.
Changed sequencer to rollup height calculation to start from rollup_start_block_height in GenesisInfo, so that Conductor doesn't start from rollup height 1 again after restarting.
Removed sequencer and celestia chain ID environment vars from Conductor, and changed chain ID checks to rely on obtaining these from the initialized executor state.
Added restart logic for when the stop height is reached.

Testing

Added restart logic to check_for_restart_ok unit test.
Added blackbox tests to ensure conductor correctly restarts in each mode, and continues to execute at the correct height after fetching updated genesis info and commitment state.

Changelogs
Changelogs updated
Breaking Changelist

Proto changes are not technically breaking, since fields were only added, but the old genesis info shape will be rejected since it cannot be converted into the domain type and does not contain a stop height or chain IDs.

Related Issues
closes #1841

Opening this for review despite failing status checks so that review isn't blocking on Geth changes. Once a Geth image can be pulled, we'll be able to run the smoke tests.

Note on the PR: the document https://github.com/astriaorg/astria/pull/1843 is private. Please put all relevant information into this PR without referring to an outside, private document.


question about the package

I am quite interested in your book Applied Quantitative Finance for Equity Derivatives - Third Edition. How many Julia snippets are provided in this book?

Right now, very little: the vectorized Brownian-bridge algorithm. So this git repo has much more, and will have much more (although I will focus on the core bits).
The github repo will evolve to make the link with the book clearer (instead of updating the book, I will update the documentation on github).
Otherwise, I have the idea of writing a specific book on Julia for Quantitative Finance, much more programmer's oriented, but that's not even started.


Missing a way to install

Either a Makefile or a script to install sequestrum would be nice.

Solved by #3.


SSL tend to crash device when running in config mode

Consider blocking SSL when running in config mode, the memory is too low so the device tends to crash.

Consider skipping ssl targets when in config mode. The webserver consumes quite a lot of RAM.


request not authorized

Please provide us with the following information:

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

If I run the example, I get
azure.common.AzureHttpError: This request is not authorized to perform this operation. ErrorCode: AuthorizationFailure
<?xml version="1.0" encoding="utf-8"?>
<Error>AuthorizationFailure<Message>This request is not authorized to perform this operation.
RequestId:ae1b306b-e01c-004c-645d-fb3536000000
Time:2019-04-25T11:55:55.8180602Z</Message></Error>

@jw3126 You probably are not giving the right key when initializing the blob service.

You are probably right :)


SDHC : Could not enable SPI clock on nucleo_f091rc

I'm trying to write logs to an SD card that's on my nucleo_f091rc board using the SDHC driver, however when I run my program it crashes.
I switched to subsys/fs/fat_fs sample to see if I can run it with my current setup, when I try to run it I get the following error :
[0.000000 0.000000] ***** Booting Zephyr OS build zephyr-v2.0.0-1-gd1bfa605c14e *****
[0.006859 0.006859] [00:00:00.000,000] <err> spi_ll_stm32: Could not enable SPI clock
[0.012961 0.006102] [00:00:00.005,000] <inf> spi_ll_stm32: CS control inhibited (no GPIO device)
[5.025380 5.012419] FATAL: ***** HARD FAULT *****

My nucleo_f091rc.overlay file :
&spi2 {
           status = "okay";
           cs-gpios = <&gpiob 12 0>;
        sdhc0: sdhc@0 {
                compatible = "zephyr,mmc-spi-slot";
                reg = <0>;
                status = "okay";
                label = "SDHC0";
                spi-max-frequency = <24000000>;
        };
};

My prj.conf file :
CONFIG_SPI=y
CONFIG_SPI_2=y
CONFIG_DISK_ACCESS=y
CONFIG_DISK_ACCESS_SDHC=y
CONFIG_DISK_ACCESS_SPI_SDHC=y
CONFIG_DISK_SDHC_VOLUME_NAME="SD"
CONFIG_LOG=y
CONFIG_FILE_SYSTEM=y
CONFIG_FAT_FILESYSTEM_ELM=y
CONFIG_PRINTK=y

# Serial configuration
CONFIG_SERIAL=y
CONFIG_UART_CONSOLE=n

# RTT configuration
CONFIG_HAS_SEGGER_RTT=y
CONFIG_USE_SEGGER_RTT=y
CONFIG_RTT_CONSOLE=y

To Reproduce
Steps to reproduce the behavior:

Load the fat_fs sample
Enable SPI2

Expected behavior
List all of the directories that on the SD card filesystem
Impact
Blocker
Environment :

OS: Linux, Kubuntu 18.04.3 LTS
Toolchain: Zephyr SDK
Zephyr version used: 2.0.0 relase

Things that I have tried:

Changing SPI ports
Changing SPI pins
Changing the wires on my board
Configure the GPIO pin to active low before running the program

@Almog2610 the SPI clock init issue is really strange.
Do you have a way to test more basic SPI use case?

@Almog2610, thanks for reporting the issue.
Good news is that https://github.com/zephyrproject-rtos/zephyr/pull/20354 should fix the reported "Could not enable SPI clock" error.
Bad news is that clock init issue was happening on SPI_1 and this is likely not linked with your hard fault.
EDIT: If HARD FAULT is still present, please raise a dedicated issue so we don't mix up.


Can we publish web components on GitLab

Hi Team,
Is there any chance to publish web components  to Gitlab instead of NPM?

You can host your web components projects on either github, gitlab, or anything else you prefer. Gitlab is not really a publishing platform in the way that npm is.
These kind of questions are generally better asked on Slack, you can find an invite link here: https://open-wc.org/discover/slack/


super in underlined text makes the underline change size and position

Description
When using super in underlined text the line underneath the text becomes thinner and moves up above the normal underline.
This is not an ideal reading experience when 1st has an inconsistent line underneath the st portion when one would expect it to continue in the same style/format as the number before it.
example code:
#underline[1#super[st], 2#super[nd], and 3#super[rd]]
result:

version:
typst 0.3.0 (4b17c3f5) a.k.a. the latest git commit as of time of writing
Reproduction URL
No response
Operating system
Linux
Typst version

[X] I am using the latest version of Typst

This seems to be a problem in general when either stroke or offset are set to auto and the underline content has text with different font sizes.
For example, the following code produces the following output:
#underline[text #box(height: 10mm, fill: red)[box]]

#underline[
  small
  #text(size: 32pt)[big]
  small
]

The problem is, how to select the underline width and offset with different font sizes? Do we select the biggest stroke in the text? What about the offset? Do we select the smaller one?
Note: as a workaround, the offset and stroke can be set explicitly.
#underline(stroke: 0.5pt, offset: 1.5pt)[
  1#super[st], 2#super[nd], and 3#super[rd]
]


Zero-byte file throws HTTP 403 "Content Length not set"

Reproduce:
Try to check a zero byte (empty) file with VaaS Rust SDK. Instead of the expected clean verdict, the following is returned:
ERROR gdata_cloud_scanner::error: Failed to scan files: Server answered with status code: `400 Bad Request` `{"message":"Bad request: Content-Length not set"}`

Not sure, if the error is Rust specific, but we should add a test-case for all SDKs, which test the empty file case.

I've added tests to all SDKs in the no-content-branch. The error has to be fixed on the server side and then the SDKs can be checked again.

I created a PR to the backed project, which fixes the empty file response and also moved the empty file from the unknown to the clean state in the database.
The server changes need to be merged into stating and then into production to take effect. The database change should take effect, as soon as the caches are cleared.

I've checked that rust, python and dotnet work, but the following languages have broken certificate checks and do not use the imported staging cert, so they are untested: java, php, typescript. We will have to check that if the server code is merged into master.

Code is merged into master :)


Error loading image from docker engine: error during connect: (Windows 10 Pro)

Hi.
I use it in windows 10.
$ img2lambda -i lambda-tesseract-ocr_tesseract:latest -r ap-northeast-1 -o
./output
2019/10/16 10:24:00 Parsing the docker image docker-daemon:lambda-tesseract-ocr_tesseract:latest
2019/10/16 10:24:00 Error loading image from docker engine: error during connect: Get https://%2F%2F.%2Fpipe%2Fdocker_engine/v1.22/images/get?names=lambda-tesseract-ocr_tesseract%3Alatest: dial tcp: lookup //./pipe/docker_engine: no such host

Docker TLS check is enabled

And the environment variable sets the value.
$ echo %DOCKER_HOST%
tcp://localhost:2375

How can I verify the validity of the tcp://localhost:2375 ?
thanks.

$ img2lambda -v
img2lambda version 1.0.0 (b884494)

$ set DOCKER_HOST=tcp://localhost:2375 && img2lambda -i lambda-tesseract-ocr_tesseract:latest -r ap-northeast-1 -o ./output

2019/10/16 12:30:48 Parsing the image docker-daemon:lambda-tesseract-ocr_tesseract:latest
2019/10/16 12:30:48 Error loading image from docker engine: error during connect: Get https://%2F%2F.%2Fpipe%2Fdocker_engine/v1.22/images/get?names=lambda-tesseract-ocr_tesseract%3Alatest: dial tcp: lookup //./pipe/docker_engine: no such host

more one

Somehow it started to move.

VS Code did not read the updated DOCKER_HOST.
After restarting VS Code, there was no problem.


README.md rewordings

Just a few minor fixes and rewordings.

I've also fixed the instructions for building the C example.


I have face this issues when run, how can I fix it ?

Unable to resolve module fs from /Users/macminim1/Desktop/ProjectS2022React/Project/tweetomatic/node_modules/twitter-api-v2/dist/v1/client.v1.write.js: fs could not be found within the project or in these directories:
node_modules
../../../../node_modules
If you are sure the module exists, try these steps:

Clear watchman watches: watchman watch-del-all
Delete node_modules and run yarn install
Reset Metro's cache: yarn start --reset-cache
Remove the cache: rm -rf /tmp/metro-*
  25 | const globals_1 = require("../globals");
  26 | const client_v1_read_1 = __importDefault(require("./client.v1.read"));
> 27 | const fs = __importStar(require("fs"));
     |                                  ^
  28 | const media_helpers_v1_1 = require("./media-helpers.v1");
  29 | const helpers_1 = require("../helpers");
  30 | const UPLOAD_ENDPOINT = 'media/upload.json';

RCTFatal
__28-[RCTCxxBridge handleError:]_block_invoke
_dispatch_call_block_and_release
_dispatch_client_callout
_dispatch_main_queue_callback_4CF
CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE
__CFRunLoopRun
CFRunLoopRunSpecific
RunCurrentEventLoopInMode
ReceiveNextEventCommon
_BlockUntilNextEventMatchingListInModeWithFilter
_DPSNextEvent
-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]
-[NSApplication run]
NSApplicationMain
main
start

Hi,
A few days ago you've opened an issue from an import error for the events module.
I've told you this library only targets Node.js ; but you try to use it on React Native on iOS, if I understand the stack trace well.
Now you open another issue for the module fs: "fs could not be found"
Both events module and fs module are from Node internals.
Unfortunately, I cannot help you with it, as your framework forbid to use them.


Add setup requirements to fix downstream issues with version number

Checklist

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

If a downstream package depends on this package and executes pip check it fails as the version cannot be determined without setuptools-scm. This PR updates the requirements.

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

@conda-forge-admin, please rerender


Load each stop_tokens token group into a Tensor

Evaluation of stop_tokens fails when is a jagged array, because a jagged array cannot be converted to a Tensor. Thus all token groups must be the same length. This precludes stop_tokens being passed as, for example, [[187,187],[535]] which are both representations of \n\n.
A jagged array is an array of arrays, a vector of vectors or a list of lists where each member of the outer list is another list which may be of a different length to any or all of its siblings. Another example of a jagged array is [[1], [2,3], [4,5,6]]
This change makes any usage of stop_tokens with a 1-dimensional list incompatible. LMK if maintaining compatibility is desired, and I'll make the requisite changes.

@HughPH The change is just to check if the list is one-dimensional and if so add an extra layer right? I think it's a good idea to add.

Yes, but the caveat would be un-typing the parameter again.


Resolves bitcartcc#121 Get rid of namedtuples in tor extension

I also changed TorService class into dataclass but I am not sure if that's what you wanted
#121

Hi! Thank you for your PR! Please format tor.py file with black+isort, to pass our formatting guidelines, CI is failing on that:
https://app.circleci.com/pipelines/github/bitcartcc/bitcart/573/workflows/1fd4c082-fa4e-44b3-9c96-cfe04966ab67/jobs/1534
See https://github.com/bitcartcc/bitcart/wiki/Coding-Guidelines#coding-guidelines-for-python-code

I formatted the tor.py file and set the TorService class as it was originaly

Thank you very much for your PR! Merged! Sorry, I messed up the merge a bit, but you're now in our contributors list!
https://github.com/bitcartcc/bitcart/blob/master/README.md#contributors-

It was a pleasure! Your comments on my commits were very helpful and instructing.


how to set connect_timeout_ms outside of Bootstrap？

Expected behavior
since connect_timeout_ms is set in the Bootstrap, so different cluster server should have different Bootstrap instance. But Bootstrap instantiation is time consuming.
could you please upgrade netty to make connect_timeout_ms to be set out side of Bootstrap？
so that I can make Bootstrap single instance.
Actual behavior
if a module has to connect to two cluster servers, and has different connect timeout for different cluster,
I can only create two bootstrap since connect_timeout is set on Bootstrap.
creating Bootstrap is time consuming, so I want to create single instance of Bootstrap for all servers.
Steps to reproduce
no
Minimal yet complete reproducer code (or URL to code)
no
Netty version
4.1.30.Final
JVM version (e.g. java -version)
OS version (e.g. uname -a)

Creating a Bootstrap is cheap... why you think it’s time consuming?

Am 29.12.2018 um 15:40 schrieb Wenwei Hu<EMAIL_ADDRESS>Expected behavior
since connect_timeout_ms is set in the Bootstrap, so different cluster server should have different Bootstrap instance. But Bootstrap instantiation is time consuming.
could you please upgrade netty to make connect_timeout_ms to be set out side of Bootstrap？
so that I can make Bootstrap single instance.
Actual behavior
if a module has to connect to two cluster servers, and has different connect timeout for different cluster,
I can only create two bootstrap since connect_timeout is set on Bootstrap.
creating Bootstrap is time consuming, so I want to create single instance of Bootstrap for all servers.
Steps to reproduce
no
Minimal yet complete reproducer code (or URL to code)
no
Netty version
4.1.30.Final
JVM version (e.g. java -version)
OS version (e.g. uname -a)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Creating a Bootstrap need to create io threads, this is time consuming on real time.
If we can creating single bootstrap instance at start time, it will be more faster.
To do this, it just need to add connect_timeout_ms parameter for Bootstrap.connect function.

That’s not correct you can reuse the same EventLoopGroup across different Bootstrap instances. That’s one of the reasons why it’s cheap to create new instances

Am 30.12.2018 um 05:10 schrieb Wenwei Hu<EMAIL_ADDRESS>Creating a Bootstrap need to create io threads, this is time consuming on real time.
If we can creating single bootstrap instance at start time, it will be more faster.
To do this, it just need to add connect_timeout_ms parameter for Bootstrap.connect function.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


Prevent users from starting youtube video by clicking on it?

Hey, is it possible to prevent users from starting youtube video by clicking on the video itself? I'm trying to write something similar to video-sync and I'd like to make starting and pausing the video possible only by websockets.
Thanks in advance, and great repo! :)

You could probably add pointer-events: none; to the player?
See also: https://github.com/CookPete/react-player/issues/218


nixos/nginx: support h2c

Motivation for this change
haproxy 1.9 supports interfacing with backends over plain HTTP/2 (without TLS), nginx also supports this feature but the service definition forces use of TLS to enable HTTP/2.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Commit message should have the nixos/nginx: prefix but otherwise this looks good :)

Oops yeah sorry about that, fixed

Hi, this commit breaks vhosts that serve content on port 80 and don't auto-redirect to port 443, including Let's Encrypt ACME auto-renewal. Please see #57324.

With this PR error worked no https sites.


ARC-788 error handling for the push queue (SQS)

In this PR:

Metrics emission from processPush function was removed
Added push queue error handler & tests

Great work, @KAbakumovAtl ! In general it looks good to me, the only sensible comment I have is about the notions that you are using. I see that you've used 3 different words: failure, error and non-retryable. I'd suggest to stick to a single one and rename everything else to use it. My personal perefence is "retryable/non-retryable" cause I think it is pretty explicit and describes the behaviour of the system best.

[ ] consider unifying the used notions describing "retryable/non-retryable" errors

I fixed what I could. Ready for re-review


Bugfix/#25 filter option is not working correctly

Related Issues
Closes #25
Short Description and Why It's Useful
I have fixed an issue related to scrolling on iOS devices by adding a new helper windowHelper. This helper was created for dynamic window height calculation (especially for iOS devices). Now you shouldn't have any problems when filters are open. Also, I have added disableBodyScroll to the mobileFilters container to preventing double scrolling.
Screenshots of Visual Changes before/after (If There Are Any)
Before
https://user-images.githubusercontent.com/57936972/88162872-2de9dc00-cc12-11ea-86e1-85fe9faa00d9.gif
After

Contribution and Currently Important Rules Acceptance

[x] I read and followed contribution rules

@Fifciu I have created a new PR with all the advice from the previous one.


cudaCheckError() failed on any gpu apart from gpu:0

I am experiencing a strange issue (similar to  #9489) on both a 4 GPUs and a 2 GPUs machine.
Basically I have a tensorflow model that trains and performs very well on one GPU, I now want to distribute the training phase by using multiple GPUs at once. I followed the CIFAR10 example to parallelize the model but keep getting errors a few iterations into the training process. I get
"cudaCheckError() failed : invalid resource handle
2017-06-21 19:50:28.168726: E tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:639] failed to record completion event; therefore, failed to create inter-stream dependency"

most times but I have also seen shape errors on reshape tensors (while the graph is already running) and segmentation errors.
I have been playing around with configurations and so far I have noticed that the crash only happens if gpu:1 is being called. I tried using only gpu:1 and encountered the same problem. On the other end, the same script using with tf.device('gpu:0') and only this gpu works fine.
What I tried.
I reinstalled tensorflow from sources, set up and tested another machine with more GPUs to no avail.
test_out.txt
other errors that have occurred :
iter: 1 / 70000, total loss: 2.5591 / 2.5591, rpn_loss_cls: 0.6961, rpn_loss_box: 0.0025, loss_cls: 1.8603, loss_box: 0.0003, lr: 0.001000 speed: 4.586s / iter iter: 2 / 70000, total loss: 1.3976 / 1.3976, rpn_loss_cls: 0.6869, rpn_loss_box: 0.0078, loss_cls: 0.7021, loss_box: 0.0007, lr: 0.001000 speed: 2.638s / iter iter: 3 / 70000, total loss: 1.0764 / 1.0764, rpn_loss_cls: 0.6849, rpn_loss_box: 0.0251, loss_cls: 0.2764, loss_box: 0.0900, lr: 0.001000 speed: 1.999s / iter iter: 4 / 70000, total loss: 0.9941 / 0.9941, rpn_loss_cls: 0.6804, rpn_loss_box: 0.0118, loss_cls: 0.2407, loss_box: 0.0611, lr: 0.001000 speed: 1.673s / iter cudaCheckError() failed : invalid resource handle 2017-06-22 10:07:47.528133: F tensorflow/stream_executor/cuda/cuda_driver.cc:312] Check failed: CUDA_SUCCESS == cuCtxSetCurrent(cuda_context->context()) (0 vs. 4) ./experiments/scripts/faster_rcnn_end2end.sh: line 58: 30171 Aborted                 (core dumped) python ./tools/train_net.py --device ${DEV} --number_of_devices ${NUM_DEVICES} --weights data/pretrain_model/VGG_imagenet.npy --imdb ${TRAIN_IMDB} --iters ${ITERS} --cfg experiments/cfgs/faster_rcnn_end2end.yml --network VGGnet_train ${EXTRA_ARGS}
2017-06-22 10:10:04.886367: W tensorflow/core/common_runtime/bfc_allocator.cc:217] Allocator (GPU_1_bfc) ran out of memory trying to allocate 3.51GiB. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory is available. cudaCheckError() failed : invalid resource handle 2017-06-22 10:10:06.489802: E tensorflow/stream_executor/cuda/cuda_event.cc:49] Error polling for event status: failed to query event: CUDA_ERROR_DEINITIALIZED 2017-06-22 10:10:06.489835: F tensorflow/core/common_runtime/gpu/gpu_event_mgr.cc:203] Unexpected Event status: 1
`2017-06-22 10:10:58.935801: W tensorflow/core/common_runtime/bfc_allocator.cc:217] Allocator (GPU_1_bfc) ran out of memory trying to allocate 3.51GiB. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory is available.
iter: 1 / 70000, total loss: 2.8609 / 2.8609, rpn_loss_cls: 0.6944, rpn_loss_box: 0.0092, loss_cls: 2.1569, loss_box: 0.0004, lr: 0.001000
speed: 4.461s / iter
iter: 2 / 70000, total loss: 1.4497 / 1.4497, rpn_loss_cls: 0.6778, rpn_loss_box: 0.0152, loss_cls: 0.7555, loss_box: 0.0012, lr: 0.001000
speed: 2.556s / iter
iter: 3 / 70000, total loss: 1.5660 / 1.5660, rpn_loss_cls: 0.7197, rpn_loss_box: 0.0325, loss_cls: 0.6074, loss_box: 0.2063, lr: 0.001000
speed: 1.921s / iter
2017-06-22 10:11:03.655654: W tensorflow/core/framework/op_kernel.cc:1165] Invalid argument: Input to reshape is a tensor with 178500 values, but the requested shape has<PHONE_NUMBER>90
[[Node: tower_1/Reshape = Reshape[T=DT_FLOAT, Tshape=DT_INT32, _device="/job:localhost/replica:0/task:0/gpu:1"](tower_1/transpose, tower_1/Reshape/shape)]]
2017-06-22 10:11:03.655654: W tensorflow/core/framework/op_kernel.cc:1165] Invalid argument: Input to reshape is a tensor with 178500 values, but the requested shape has<PHONE_NUMBER>90
[[Node: tower_1/Reshape = Reshape[T=DT_FLOAT, Tshape=DT_INT32, _device="/job:localhost/replica:0/task:0/gpu:1"](tower_1/transpose, tower_1/Reshape/shape)]]
2017-06-22 10:11:03.655687: W tensorflow/core/framework/op_kernel.cc:1165] Invalid argument: Input to reshape is a tensor with 178500 values, but the requested shape has<PHONE_NUMBER>90
[[Node: tower_1/Reshape = Reshape[T=DT_FLOAT, Tshape=DT_INT32, _device="/job:localhost/replica:0/task:0/gpu:1"](tower_1/transpose, tower_1/Reshape/shape)]]
2017-06-22 10:11:03.655692: W tensorflow/core/framework/op_kernel.cc:1165] Invalid argument: Input to reshape is a tensor with 178500 values, but the requested shape has<PHONE_NUMBER>90
[[Node: tower_1/Reshape = Reshape[T=DT_FLOAT, Tshape=DT_INT32, _device="/job:localhost/replica:0/task:0/gpu:1"](tower_1/transpose, tower_1/Reshape/shape)]]
Traceback (most recent call last):
File "./tools/train_net.py", line 100, in
max_iters=args.max_iters)
File "/home/SERILOCAL/a.larreche/Faster-RCNN_TF/tools/../lib/fast_rcnn/train.py", line 375, in train_net
sw.train_model(sess, max_iters)
File "/home/SERILOCAL/a.larreche/Faster-RCNN_TF/tools/../lib/fast_rcnn/train.py", line 281, in train_model
run_metadata=run_metadata)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 896, in run
run_metadata_ptr)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1108, in _run
feed_dict_tensor, options, run_metadata)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1261, in _do_run
options, run_metadata)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1280, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Input to reshape is a tensor with 178500 values, but the requested shape has<PHONE_NUMBER>90
[[Node: tower_1/Reshape = Reshape[T=DT_FLOAT, Tshape=DT_INT32, _device="/job:localhost/replica:0/task:0/gpu:1"](tower_1/transpose, tower_1/Reshape/shape)]]
Caused by op u'tower_1/Reshape', defined at:
File "./tools/train_net.py", line 100, in
max_iters=args.max_iters)
File "/home/SERILOCAL/a.larreche/Faster-RCNN_TF/tools/../lib/fast_rcnn/train.py", line 375, in train_net
sw.train_model(sess, max_iters)
File "/home/SERILOCAL/a.larreche/Faster-RCNN_TF/tools/../lib/fast_rcnn/train.py", line 208, in train_model
cross_entropy_t, loss_box_t, rpn_cross_entropy_t, rpn_loss_box_t = self.tower_loss(i)
File "/home/SERILOCAL/a.larreche/Faster-RCNN_TF/tools/../lib/fast_rcnn/train.py", line 148, in tower_loss
outputs_roi_data, outputs_cls_score, outputs_bbox_pred = self.net.inference(gpu_id)
File "/home/SERILOCAL/a.larreche/Faster-RCNN_TF/tools/../lib/networks/VGGnet_train.py", line 89, in inference
.reshape_layer(2, name='rpn_cls_score_reshape'.format(i))
File "/home/SERILOCAL/a.larreche/Faster-RCNN_TF/tools/../lib/networks/network.py", line 26, in layer_decorated
layer_output = op(self, layer_input, args, **kwargs)
File "/home/SERILOCAL/a.larreche/Faster-RCNN_TF/tools/../lib/networks/network.py", line 217, in reshape_layer
int(d),tf.cast(tf.cast(input_shape[1],tf.float32)(tf.cast(input_shape[3],tf.float32)/tf.cast(d,tf.float32)),tf.int32),input_shape[2]]),[0,2,3,1],name=name))
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gen_array_ops.py", line 2472, in reshape
name=name)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 767, in apply_op
op_def=op_def)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 2528, in create_op
original_op=self._default_original_op, op_def=op_def)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 1203, in init
self._traceback = self._graph._extract_stack()  # pylint: disable=protected-access
InvalidArgumentError (see above for traceback): Input to reshape is a tensor with 178500 values, but the requested shape has<PHONE_NUMBER>90
[[Node: tower_1/Reshape = Reshape[T=DT_FLOAT, Tshape=DT_INT32, _device="/job:localhost/replica:0/task:0/gpu:1"](tower_1/transpose, tower_1/Reshape/shape)]]
`

I apologize but I am having a hard time understanding what the problem is, where the problem is, and what version it affects. Please resubmit and pay attention to the issue template (https://github.com/tensorflow/tensorflow/issues/new) . Please provide all the information it asks. Thank you.

Hi @tatatodd , sorry if my issue is confusing, I wrote it after quite a long few days of hitting that problem so I might have been a bit unclear.
### System information
2 machines have been tested with this code and raised similar issues :

64Gb RAM/ Intel i7 6800K CPu / 2 x Geforce GTX 1080 / Ubuntu 16.04 64 bits

64Gb RAM/ Intel(R) Core(TM) i7-6850K CPU / 4 x Geforce GTX 1080ti / Ubuntu 16.04 64 bits

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
Yes, I have written a large part of the code, some of it comes from external sources as well.

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Ubuntu 16.04 64 bits

TensorFlow installed from (source or binary):
tried from pip version and from sources. Problem remained on both.

TensorFlow version (use command below):
('v1.2.0-1126-gb7acb6a', '1.2.0') and ('v1.1.0-rc0-61-g1ec6ed5', '1.1.0')

Bazel version (if compiling from source):
Build label: 0.5.1

CUDA/cuDNN version:
CUDA : 8.0
cuDNN : tested both 5.1 / 6.0

GPU model and memory:
GTX 1080 and GTX 1080ti

Exact command to reproduce:
difficult to provide as this stems from my code.

Describe the problem
The problem arose while I was trying to make my training process take advantage of the multi GPU systems I have. Initially, my model was running on GPU 0 with no problems even after 500k iterations. I used the CIFAR10 example to build the model on each GPU but was met with the error : "cudaCheckError() failed : invalid resource handle".
After more testing I realized that even if I ran the training on a single GPU, as long as that GPU was not GPU 0, it would crash eventually with a similar error.
The errors I have observed are not always consistent, but they always appear when GPU 1 ( or any GPU other than 0) is being used.
After more testing I have narrowed down the part of the code that seems to cause the crash to the line :
tf.reshape(tf.py_func(proposal_layer_py,[input[0],input[1],input[2], cfg_key, _feat_stride, anchor_scales], [tf.float32]),[-1,5],name =name)
I have put every other operation of the graph on different GPUs without problems but when I do not force this one to be computed on GPU 0 it seems to cause the crash.
Source code / logs
included in the previous message.
I hope this clarifies my problem. If you need more, I could try to build a very lightweight model that demonstrates the same issue. I have not done so yet.

@Vargeel yes, please try to create a minimal example that demonstrates your issue.  Otherwise it's hard to speculate as to what might be going wrong.  Thanks!

This issue is automatically closed due to lack of activity. Please re-open if this is still an issue for you. Thanks!

I  have the same problem.

"cudaCheckError() failed : invalid resource handle

System information

Ubuntu 14.04
Tensorflow 0.12 (installed from pip)
cuda 8.0
cudnn 5.1/6.0(tested all)
Tesla P4 *4

When I run with tf.device('/gpu:0')  inside the program , it is ok. If I use  GPU 1 2 3..., get the error.
You can try it:
when run program,CUDA_VISIBLE_DEVICES=1 python demo.py , it means  assign GPU1.
In the code alway is tf.device('/gpu:0').
refer:
https://stackoverflow.com/questions/40726039/tensorflow-cuda-visible-devices-doesnt-seem-to-work
https://stackoverflow.com/questions/35951487/tensorflow-only-works-with-gpu-0/35959188#35959188

I'm copying a section from the logs reported by @vargeel above, which I think may be important.
A difficulty is that when things start going wrong within a GPU execution, it can easily result in secondary errors that distract attention from the primary cause.  In this case it may be that the original problem is running out of memory on the GPU.   A similar problem was noticed in #9489.
2017-06-22 10:10:04.886367: W tensorflow/core/common_runtime/bfc_allocator.cc:217] Allocator (GPU_1_bfc) ran out of memory trying to allocate 3.51GiB. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory is available. cudaCheckError() failed : invalid resource handle 2017-06-22 10:10:06.489802: E tensorflow/stream_executor/cuda/cuda_event.cc:49] Error polling for event status: failed to query event: CUDA_ERROR_DEINITIALIZED 2017-06-22 10:10:06.489835: F tensorflow/core/common_runtime/gpu/gpu_event_mgr.cc:203] Unexpected Event status: 1

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue? Please update the label and/or status accordingly.

I know this is an old thread but I just wanted to say I was also having issues similar to this post, but using Tensorflow 2.  I was trying to use GPU 1 while training on another GPU (tweaking hyperparameters...).  I was a dum-dum and saw in the tutorials that you could specify GPU placement with "with tf.device('/gpu:0'):".
Don't assume that GPU 1+ follows this same pattern!!
In my case, putting "with tf.device('/gpu:1'):" didn't work, and tensorflow gracefully fell back to just using GPU 0 as default (with no warning that I saw).  I was able to finally diagnose this using "tf.debugging.set_log_device_placement(True)" at the top of my code.  Since I was running something else on GPU 0, when the other code defaulted to GPU 0, it ran out of memory and was manifested as this weird error message mentioned by the OP.
Correctly specifying the physical device solved all of my problems.  It's a rookie mistake, but I hope this helps other rookies not make the same error.
Cheers


element.timepicker is not a function

TypeError: element.timepicker is not a function
at Object.link (timepickerdirective.js:63)
at angular.js:1385
at angular.js:10514
at invokeLinkFn (angular.js:10520)
at nodeLinkFn (angular.js:9909)
at compositeLinkFn (angular.js:9149)
at compositeLinkFn (angular.js:9152)
at nodeLinkFn (angular.js:9903)
at compositeLinkFn (angular.js:9149)
at compositeLinkFn (angular.js:9152) ""

Did you try to include the jquery dependency?
<script type="text/javascript" src="bower_components/jquery-timepicker-jt/jquery.timepicker.min.js"></script>

Also don't forget to add jquery-timepicker itself.

yeah its working now thanks frabnt  and timmipetit


Allow to omit the begin parameter of %TypedArray%.prototype.subarray

Fixes #31174

 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.:x: magic-akari sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Thanks!


DWI pipeline -- RuntimeWarning

/home/oesteban/.miniconda3/envs/fmriprep/lib/python3.11/site-packages/dipy/denoise/noise_estimate.py:252: RuntimeWarning: divide by zero encountered in divide
  s = sum_m2 / (2 * K * sigma**2)
/home/oesteban/.miniconda3/envs/fmriprep/lib/python3.11/site-packages/dipy/denoise/noise_estimate.py:252: RuntimeWarning: invalid value encountered in divide
  s = sum_m2 / (2 * K * sigma**2)

My guess is that is probably due to background voxels that get included in the mask.

Yes, this is some sort of note to self to look into the calling function.


Updated dependency on blpapi-node.

Closes #79

lgtm - awaiting on TravisCI to merge.

Looking at the CI failure...

I don't understand how my change could have made the test fail. I cannot reproduce the failure locally either (tried it with nodejs 0.10). It could be an intermittent failure unrelated with this change.

TravisCI is happy now.  Going to go ahead with this and keep an eye out for the testing failures.


replaced broken link

https://github.com/MicrosoftDocs/windows-itpro-docs/issues/8809

Dear @JohanFreelancer9,
kindly do the copy editor review for this PR.
Dear @e0i, for your information
Thank you


An option to mark duplicates

Probably I'm facing a very individual case here, but I have the need to actually split polygons on tile edges but also have to avoid duplicates when I call querySourceFeatures with mapbox-gl-js.
So for me it would be nice to have an option to mark them with a flag in their properties (e.g.  "duplicate":true) to filter them later on when making the query. Maybe it is not a big thing to keep one "as is" and write the flag only to any further duplicate that gets created while splitting?!

Hmm, I'll have to think about how I could do this. It's tricky because clipping doesn't happen until after splitting, so the "central" tile of a polygon might turn out to be in a hole in it, causing that polygon not to appear at all in the tile that is supposedly its primary appearance.
I think the best thing you could do at the moment would be to give each feature a unique ID and then check the results from querySourceFeatures to see if you got two features back with the same ID.

 But maybe a customized querySourceFeatures let me do that as well...


fix(sequencing): imporve e2e flow test assertion messages

#2580  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


[CEF 2171] Alt+Space and Alt+(letter) menu access do not work

ALT+F4
ALT+SPACEBAR
ALT+F,E,V,etc... (menu shortcuts)

@peterflynn I pinged Marshall about this yesterday and he marked it "nextRelease" today so it should be making its way into trunk soon and then into the other builds.

It looks like no progress has been made on the two open questions above though.  @JeffryBooher do you have any insight on those issues that might be able to help Marshall out?

@peterflynn I looked at the MSDN documentation to WM_KEYDOWN / WM_SYSKEYDOWN and what he's doing is fine -- he shouldn't need to set any of the other bits and, AFAIK, the ALT key always generates the same scan code so he shouldn't need to call MapVirtualKeyEx so I don't think he needs to do anything extra.  @RaymondLim any thoughts on the ALT key scan code?

@JeffryBooher Not sure why he has to reconstruct the lparam with the scan code instead of directly using event.nativeKeyCode. I can't find the actual patch to review. The patch listed there is the wrong one. My concern is that the extended key bit (bit 24 in http://msdn.microsoft.com/en-us/library/windows/desktop/ms646286(v=vs.85).aspx) is not set to lparam and it may cause altGr shortcuts not working for non-US keyboard layout users.

@RaymondLim Do you want to add those comments to the CEF bug thread so Marshall gets your feedback?  The patch is attached to the comment thread there: if you look at message #5 you'll see an attachment "1387_trunk_r1852.patch" with a "Download" link -- I downloaded it and it matches the snippet in the comment (so I don't see any wrong patch listed anywhere).

@RaymondLim here is the patch.  BTW: I wondered the same thing about reconstructing the event data -- it seems that CEF should be able to pass us the native event data but maybe it's getting stripped in Blink somehow.
Index: libcef/browser/browser_host_impl_win.cc
===================================================================
--- libcef/browser/browser_host_impl_win.cc	(revision 1852)
+++ libcef/browser/browser_host_impl_win.cc	(working copy)
@@ -738,6 +738,37 @@
   if (event.os_event) {
     const MSG& msg = event.os_event->native_event();
     DefWindowProc(msg.hwnd, msg.message, msg.wParam, msg.lParam);
+  } else {
+    MSG msg = {};
+
+    msg.hwnd = PlatformGetWindowHandle();
+    if (!msg.hwnd)
+      return;
+
+    switch (event.type) {
+      case blink::WebInputEvent::RawKeyDown:
+        msg.message = event.isSystemKey ? WM_SYSKEYDOWN : WM_KEYDOWN;
+        break;
+      case blink::WebInputEvent::KeyUp:
+        msg.message = event.isSystemKey ? WM_SYSKEYUP : WM_KEYUP;
+        break;
+      case blink::WebInputEvent::Char:
+        msg.message = event.isSystemKey ? WM_SYSCHAR: WM_CHAR;
+        break;
+      default:
+        NOTREACHED();
+        return;
+    }
+
+    msg.wParam = event.windowsKeyCode;
+
+    UINT scan_code = ::MapVirtualKeyW(event.windowsKeyCode, MAPVK_VK_TO_VSC);
+    msg.lParam = (scan_code << 16) |  // key scan code
+                                  1;  // key repeat count
+    if (event.modifiers & content::NativeWebKeyboardEvent::AltKey)
+      msg.lParam |= (1 << 29);
+
+    DefWindowProc(msg.hwnd, msg.message, msg.wParam, msg.lParam);
   }
 }

This is now fixed in CEF trunk, so the next time we integrate a new CEF version (> 2171) we should see the fix.

Is supporting Alt+(letter) combinations still within the scope of the project? There are a few issues remaining:

There is no underlining of the letter used in the combination. Holding down the all key should underline the letter in each menu item that will open that menu/item.

Alt-F opens neither File nor Find. (The remaining items work as expected, Alt-E opening the Edit menu, Alt-V opening the View menu, etc.) Traditional resolution of this conflict would be Alt-F for Find and Alt-N for Find.

Each item in the menu should have an underlined letter indicating which letter to press to select that item. Alt-F-N for New, Alt-F-O for Open, etc.

I see you've been very thorough with Ctrl key combinations. Thanks for that. Having the Alt+(letter) combinations has the added advantage of easily allowing new users open and view menus for shortcut options. I hope you'll continue supporting them.


Add support for secure token storage

Token storage change in latest release of gh
This is a message from the GitHub CLI team, maintainers of gh, writing to inform you that the most recent release of gh contains changes which may affect your extension. The latest release introduces the feature of storing authentication tokens in the system keyring (encrypted storage) instead of in a plain text file.
The keyrings that are supported are:

Keychain on macOS

GNOME Keyring on Linux (Secret Service dbus interface)

Wincred on Windows

This has huge security benefits for the users of our tool and was one of our oldest outstanding issues. Unfortunately this change has the potential to break extensions that rely on utilizing the users authentication token to work.
In order to have continued compatibility with gh there are some actions you, as an extension author, need to take. These actions will depend on the implementation of your extension.
Extensions built in Go using go-gh:

Upgrade your go-gh version to v1.2.1, the latest version.

This can be done using go get<EMAIL_ADDRESS>

Verify that in your extension retrieval of the user authentication token is done using the  auth.TokenForHost function.

If you were previously accessing the authentication token using any other method it will no longer work.
Automatic resolution of the authentication token when using the API clients will continue to work without changes.

All other extensions:

Verify that in your extension retrieval of the user authentication token is done by shelling out to the gh auth token command.

If you were previously accessing the authentication token using the gh config get command, reading the configuration file directly, or any other methods it will no longer work.

As of right now storing the authentication token in the system keyring is an opt-in feature, but in the near future it will be required and at that point if the changes above are not made then your extension will be broken for all users. If you have any questions/concerns about this change please feel free to open a discussion in the gh repo.
Thanks,
The GitHub CLI Team

This extension doesn't use cli/go-gh, though maybe it should. This predated the project (or perhaps the necessary bits) and ref'd cli/cli itself, so maybe it's a good time to switch over.
Alternatively, now that all this functionality was folded into the CLI I should just read-only this project.


Core library does not include init in root path

There is clearly a hierarchy in this package, for example "google.cloud.storage" is a particular package that includes the google.cloud core library. But there is no upstream "google" library, and so there is no associated google/__init__.py file created, which can lead to a painful debugging situation where simple code like "import google.cloud.storage" fails.
In depth:
This is a corner case -- but allowing for that: the wheel packages for Google Cloud Python are setup to use subfolders, which is relatively unique in Python packaging. So these packages are all underneath the "google/" folder. Unfortunately, there is no root package -- because the Google Cloud Core is not actually a root package, it too is a subfolder.
The consequence is that there is no google/__init__.py and there is no package that would own that file as a distributable wheel. This has some unfortunate side effects when attempting to do an import google.cloud.storage or similar when using Spark.
The workaround is simply to touch that file when packaging dependencies.

@Downchuck It seems you are having an issue with namespace packages in your install.
The real problem is that google is a namespace that many other packages outside of our purview own. And if each of those packages tried to over-write google/__init__.py, bad things would happen.
There should not be a google/__init__.py file, but there should be .pth files, e.g.
$ ls -1 site-packages/*pth
site-packages/googleapis_common_protos-1.5.3-py3.6-nspkg.pth
site-packages/google_auth-1.1.1-py2.7-nspkg.pth
site-packages/google_cloud_core-0.27.1-py3.6-nspkg.pth
site-packages/google_cloud_storage-1.4.0-py3.6-nspkg.pth
site-packages/google_resumable_media-0.3.0-py3.6-nspkg.pth
site-packages/protobuf-3.4.0-py3.6-nspkg.pth
site-packages/pytest-cov.pth

@Downchuck I am going to pre-emptively close since the namespace packages are:

Our only choice
An officially documented (and PEP-accepted) part of Python packaging
Working "as intended"

If you'd like to share some stacktraces, we are happy to help troubleshoot within your environment. (I'm not familiar with what sort of Python interpreters are used for large Spark jobs.)

Has PEP closed out the concept of a root package?

See also: https://github.com/pypa/setuptools/issues/912

Has PEP closed out the concept of a root package?

I'm sorry I don't understand what you mean.

I get that it'd need a root package if a root init.py file is going to be created. That's why I'm saying, there ought to be a root package in the dependency chain, even if it's just a single file. This is more an issue of "pain" than it is of anything else. Going with the idea that "With google-cloud-python we try to make authentication as painless as possible" is a worthwhile goal.
You can see in that thread you posted the pits of suffering us poor developers fall into, when backed into the corner of otherwise elegant solutions.
Here's what I'm doing, so I can use Spark's addPyFile
python -m pip wheel --wheel-dir ./google-cloud-storage google-cloud-storage
cd google-cloud-storage
for x in *.whl; do unzip -d all -o -u $x; done;
cd all
touch google/__init__.py
touch google/cloud/__init__.py
zip -r ../google-cloud-storage-py27-none-any.all.zip .

That's not a big deal, but it meant a lot of pain, to figure out that I needed to touch a couple of files.
This is in contrast with every other package I've worked with in this system, where that step wasn't needed.

There is no need for a "root package". (I'm not sure what you mean when you say "root package".)

that I needed to touch a couple of files

But you don't need to touch any files, you need an interpreter that supports namespace packages (i.e. can parse .pth files). This shouldn't be an issue, as namespace packages have been around since 2012.

It's likely that Spark's addPyFile is only intended for simple modules / self-contained .zip files. Passing in a wheel seems to subvert this usage (i.e. a wheel file assumes it will be installed by pip, which is what will add the .pth files).
Can you point to some documentation for addPyFile?

addPyFile implementation is here, which appears to be the best documentation as well:
https://github.com/apache/spark/blob/7c7266208a3be984ac1ce53747dc0c3640f4ecac/python/pyspark/context.py#L846
It was written some time ago, before namespace packages and wheels existed.  It could be changed to do so, which would be a feature request for the Spark project.  Otherwise, we'd have to package the entire transitive closure of google-cloud-python as an .egg or .pyz (or .par).

[addPyFile] was written some time ago, before namespace packages and wheels existed.

Namespace packages have existed much longer than that:  they have been present since setuptools 0.5a9, released in June 2005.

Some other related docs, such as zipimport; potentially addressed in a later PEP in Python 3, like importlib:
https://docs.python.org/2/library/zipimport.html
https://docs.python.org/3/library/importlib.html
When I say root package, I mean a python package that represents the root namespace "google" so that only one package is writing to that init file. It seems that the cloud core would write an init to "google/cloud/" for example. So google core would write to "google/".
Regardless of outcome, I hope this conversation helps if someone else hits the same issue I did. It took some time to figure out.

When I say root package, I mean a python package that represents the root namespace "google" so that only one package is writing to that init file. It seems that the cloud core would write an init to "google/cloud/" for example. So google core would write to "google/".

That's not quite how namespace packages work. google-cloud-core puts code in google.cloud, so there is nothing to place in the google namespace package (other than the google.cloud subpackage).
As @duggelz notes, your best bet is to probably package up all of the files in a self-contained zip. You'll be better off doing this by installing into a virtualenv and then zipping what's installed. (Due to the lack of an obvious way to get Spark to support namespace packages, you will still need to touch the __init__.py files as a workaround).
$ virtualenv venv
$ venv/bin/pip install google-cloud-storage
$ touch venv/lib/python3.6/site-packages/google/__init__.py
$ touch venv/lib/python3.6/site-packages/google/cloud/__init__.py
$ zip -r all_of_it.zip venv/lib/python3.6/site-packages/

(i.e. I'm suggesting you use something other than the wheel for your zip).
Sorry for the pain this has caused you.

@Downchuck I am having a similar experience as you (linked above), and it turns out the root cause is pip and how it is installed. Debian uses dist-packages instead of site-packages as its package folder. For some reason, the Google packages don't seem to recognize this directory without having the __init__.py file.
Are you using Debian? You can see whether you are using dist-packages or site-packages by calling
pip --version

and checking which of the two is reported by the URI in the response.
I'm still trying to figure it out, and I would love to see the details from your pip install/setup.

@zafields This is not really an accurate description of the issue. The problem is mixing a system installed pip with a non-system installed Python. I recommend you use get-pip with a built Python or you just use the system installed python (which is also the 4 years old 2.7.6 on the 3 years old OS Ubuntu 14.04).

@dhermes That sounds like a really interesting option. Can you demonstrate how to download use get-pip.py script securely, as opposed to running a script from the internet? Does it have a hash? I didn't see one listed at https://packaging.python.org/tutorials/installing-packages/

You can just download it locally (e.g. from https://github.com/pypa/get-pip or from the URL) and then manually include that file (rather than downloading) when building your Docker image.


chore: bdd-ghfjxy-import-1585106564 to 0.0.1

chore: Promote bdd-ghfjxy-import-1585106564 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Cooper segment diagram

🚀 Deployed on https://655572663639bf1d2162dc94--cozy-fox-0defec.netlify.app


Multi-line f-string for vs code configuration file contents

Not exactly related to what this PR is addressing, but a somewhat larger discussion: should we consider keeping all of these config files in a single source somewhere? As it stands we have three "official" locations:

This repo
https://github.com/raspberrypi/pico-examples/tree/master/ide/vscode
https://github.com/raspberrypi/pico-setup-windows/tree/master/packages/pico-examples/ide/vscode

Users are certainly confused about which set is the latest and greatest one, so it would make sense to have just one location.
I think the pico-examples repo might be a good candidate, because that would work for people using our installer or generator, and also for people DIY'ing their toolchain. I can set up the installer to pull from the pico-examples repo. Maybe we can set up the generator to do the same, or include it in releases.

I have been wondering about converting this part of the generator to use some sort of template which the generator then fills in the fields. Those templates could be anywhere.
Jinja was one templating library that has been suggested.

Not exactly related to what this PR is addressing, but a somewhat larger discussion: should we consider keeping all of these config files in a single source somewhere?

That sounds like an excellent question. Ping @P33M @kilograham @ghollingworth


Installing addon with ember-cli 0.2.3 causes 'ember generate' error

Starting a new project with ember-cli v0.2.3 and installing the emberfire add-on will produce this output:
$ ember install emberfire
version: 0.2.3
Could not find watchman, falling back to NodeWatcher for file system events.
Visit http://www.ember-cli.com/#watchman for more info.
Installed packages for tooling via npm.
installing
  identical app/adapters/application.js
Installing browser packages via Bower...
  cached git://github.com/firebase/firebase-bower.git#2.2.3
Installed browser packages via Bower.

EmberFire has been installed. Please configure your firebase URL in config/environment.js

installing
The `ember generate` command requires an entity name to be specified. For more details, use `ember help`.

Thanks for the heads up.
I think this could be a bug in ember-cli. We are overriding normalizeEntityName in our blueprint which has been sufficient up until now.
Also, when you re-run ember g emberfire you do not see the warning anymore.
The base prototype method which shows that warning seems only to be called on addon install and not when running ember generate


Add build root image for OpenShift ci-operator

This PR adds a Dockerfile based on Fedora 36 for use with the OpenShift CI workflow.
The file name follows Dockerfile.<something> convention as per the standard recommendation.

/lgtm


weather.current.sky_text languages

Is it possible to change the sky_text language output?
I was thinking that maybe is a feature of the API the library is utilizing and could be a great improvement if not yet implemented.
As for now I am translating to italian the result with "googletrans":
from googletrans import Translator
...
translator = Translator()
translator.translate(weather.current.sky_text, dest="it", src="en").text

A built in way to get directly the translated words would be much better

Is it possible to change the sky_text language output?
I was thinking that maybe is a feature of the API the library is utilizing and could be a great improvement if not yet implemented.
As for now I am translating to italian the result with "googletrans":
from googletrans import Translator
...
translator = Translator()
translator.translate(weather.current.sky_text, dest="it", src="en").text

A built in way to get directly the translated words would be much better

Not work for me :(

Not work for me :(

At least explain what the problem is...
If it's something due to googletrans package you should open an issue on that repo

@Magnarks that kind of problem should work by reinstalling googletrans with pip install googletrans==4.0.0-rc1
feel free to read this stackoverflow post: https://stackoverflow.com/questions/52455774/googletrans-stopped-working-with-error-nonetype-object-has-no-attribute-group

Not work for me :(

At least explain what the problem is...
If it's something due to googletrans package you should open an issue on that repo

@Magnarks that kind of problem should work by reinstalling googletrans with pip install googletrans==4.0.0-rc1
feel free to read this stackoverflow post: https://stackoverflow.com/questions/52455774/googletrans-stopped-working-with-error-nonetype-object-has-no-attribute-group

Ok i try install again googletrans but i have the same problem, is this
Traceback (most recent call last):
File "c:\Users\diego\Documents\Python\AsistentedeVoz.py", line 188, in
bucle.run_until_complete(Clima())
File "C:\Users\diego\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 642, in run_until_complete
return future.result()
File "c:\Users\diego\Documents\Python\AsistentedeVoz.py", line 100, in Clima
traducir.translate(text=clima.current.sky_text, dest="es", src="en").text
File "C:\Users\diego\AppData\Local\Programs\Python\Python39\lib\site-packages\googletrans\client.py", line 222, in translate
translated_parts = list(map(lambda part: TranslatedPart(part[0], part[1] if len(part) >= 2 else []), parsed[1][0][0][5]))
TypeError: 'NoneType' object is not iterable
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x000001767953A1F0>
Unclosed connector
connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x0000017678EF0760>, 186910.015)]']
connector: <aiohttp.connector.TCPConnector object at 0x000001767953A460>

It may be related to this issue: https://github.com/ssut/py-googletrans/issues/278
This is something you should ask in the relative GitHub repo! You'll have replies from people that work on that package and you would help them to make it better.


GLES3 not working on android emulator + workaround

Godot version
9b9bb418cb1137e69b5131ec9fa7b41c0396db28
System information
Android12 emulator, GLES3
Issue description
Using Godot 4 on an Android emulator with the GLES3 renderer results in a black screen and no crash / erros.
I managed to resolve the issue with the following change:
--- a/drivers/gles3/storage/texture_storage.cpp
+++ b/drivers/gles3/storage/texture_storage.cpp
@@ -1599,9 +1599,9 @@ void TextureStorage::_update_render_target(RenderTarget *rt) {

        Config *config = Config::get_singleton();

-       rt->color_internal_format = rt->is_transparent ? GL_RGBA8 : GL_RGB10_A2;
+       rt->color_internal_format = rt->is_transparent ? GL_RGBA8 : GL_RGBA8;
        rt->color_format = GL_RGBA;
-       rt->color_type = rt->is_transparent ? GL_UNSIGNED_BYTE : GL_UNSIGNED_INT_2_10_10_10_REV;
+       rt->color_type = rt->is_transparent ? GL_UNSIGNED_BYTE : GL_UNSIGNED_BYTE;
        rt->image_format = Image::FORMAT_RGBA8;

Which effectively disables the RGB10_A2 internal format for render targets and uses RGBA8 instead.
These 2 format changes fix rendering on my android emulator.
Im not sure what RGB10_A2 is used for (HDR?), but my workaround does not seem like the best solution.
Perhaps someone who knows a little bit more about the code here could suggest a different solution.
Steps to reproduce
Run any godot project on android emulator using GLES3 renderer.
Might be relevant:
my host machine is an M1 macbook pro
Minimal reproduction project
N/A

It sounds like your emulator doesn't fully support OpenGL ES 3.0. Being able to render to a GL_RGB10_A2 render target is a core requirement for a device to claim OpenGL ES 3.0 support.

I absolutely agree, but I was wondering if I'm missing something else and the format is not really the issue...
I looked for a way to check if a format is supported but like you said, it is assumed to work on all gles3 devices.
The framebuffer is even claimed to be complete and no command results in any glError in this method..
Some questions that come to mind:
Is there anything else you think that might cause this issue?
Does changing the format has any other effect?
Why is 10_A2 used here? Is it for HDR?
For reference, I'm using the standard emulator in Android studio.

Is there anything else you think that might cause this issue?
Does changing the format has any other effect?

I can't think of anything else that would be responsible that would also go away when switching to an RGBA8 buffer.

Why is 10_A2 used here? Is it for HDR?
It's used to reduce banding in 3D. 8bits is really low precision for 3D rendering. Using 10 bits helps a lot

I played with it a bit more and found out another way to "solve" the issue without disabling RGB10_A2:
in rasterizer_gles3.cpp :: _blit_render_target_to_screen
+++ b/drivers/gles3/rasterizer_gles3.cpp
@@ -305,7 +305,9 @@ void RasterizerGLES3::_blit_render_target_to_screen(RID p_render_target, Display
                glBindFramebuffer(GL_READ_FRAMEBUFFER, read_fbo);
                glFramebufferTextureLayer(GL_READ_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, rt->color, 0, p_layer);
        } else {
-               glBindFramebuffer(GL_READ_FRAMEBUFFER, rt->fbo);
+    glGenFramebuffers(1, &read_fbo);
+    glBindFramebuffer(GL_READ_FRAMEBUFFER, read_fbo);
+    glFramebufferTexture2D(GL_READ_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, rt->color,  0);
        }

this basically creates a temporary fbo with only the color attachment right before blitting to the screen (similar to what happens in XR with view_count > 1)
I have no idea why this works and the regular fbo does not, the only difference between them is that rt->fbo has a depth buffer attached as well.
Any ideas?

Fixed by #74945.


Create docker image for Taiko

Create a docker image with

Node js 8+
Gauge
Gauge js plugin
Taiko pre-requiresites for headless chrome

https://hub.docker.com/r/getgauge/taiko/ has been created.
Example js-taiko project Dockerfile.


[DOC] command line for setup virtual environment is wrong in the 4.1 documentation

python3 -m .venv  # create a virtualenv
correct is:
python3 -m venv .venv  # create a virtualenv

@TLuesebrinck Well spotted! Can I ask you to create a PR against the release/4.1.x branch?

Sorry, I'm not that familiar with github. I checked the PR option ,but I do not know what I have to do in detail.

Von: Fabian Braun @.>
Gesendet: Mittwoch, 3. Januar 2024 22:45
An: django-cms/django-cms @.>
Cc: TLuesebrinck @.>; Mention @.>
Betreff: Re: [django-cms/django-cms] [DOC] command line for setup virtual environment is wrong in the 4.1 documentation (Issue #7733)
@TLuesebrinckhttps://github.com/TLuesebrinck Well spotted! Can I ask you to create a PR against the release/4.1.x branch?
—
Reply to this email directly, view it on GitHubhttps://github.com/django-cms/django-cms/issues/7733#issuecomment-1876011703, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWMV5NWPW6QRNVTASAYCKSLYMXGO5AVCNFSM6AAAAABBLV2SJCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZWGAYTCNZQGM.
You are receiving this because you were mentioned.Message ID: @.***>

No worries, I can do it for you.

Fixed in #7735


'hugo help' command undocumented in --help output

The final line printed by hugo help is:

Use "hugo [command] --help" for more information about a command.

(hugo --help prints the same, BTW.)
Typing hugo help new (for example) works fine.
Typing hugo new --help also works. (That's natural, since hugo --help recommends it.)
The command hugo help is undocumented, in the sense that help isn't included in the list of Available Commands printed by hugo --help.
Generally speaking, new users can feel "lost in a thicket" of new syntax. To help promote Hugo to new users, IMO hugo help should be included as an Available Command.
Some of the discussion in this Cobra PR seems relevant.

This appears to be the opposite situation, but I agree help should be in the Available Commands list as it is an available command.
I'm looking for the right place to make this change right now, but I think I need to understand Cobra better.

The second option (adding to Cobra "the ability to include help in the Available Commands list") seems more useful in the long run (of course)—especially for other Cobra users.

If the only subcommand is Help [BTW, this case is irrelevant to Hugo], then don't display Available Commands at all. Otherwise, [Help] should be included in the list.

This seems like the ideal behavior for Cobra, and fits exactly with the Unix tool philosophy, as well as the subcommand philosophy.

Part of the first comment above can be rephrased as follows:
"If other subcommands join Help, then Help should be included in the list of Available Commands."
The location of Steve Francia's above two comments (i.e., in the Cobra repository) also seems to imply he prefers the second option (implementing this in Cobra).

@traveller42 the second option (adding to Cobra "the ability to include help in the Available Commands list") seems more useful in the long run (of course)—especially for other Cobra users.

If the only subcommand is Help [BTW, this case is irrelevant to Hugo], then don't display Available Commands at all. Otherwise, [Help] should be included in the list.

This seems like the ideal behavior for Cobra, and fits exactly with the Unix tool philosophy, as well as the subcommand philosophy.

Part of the first comment above can be rephrased as follows:
"If other subcommands join Help, then Help should be included in the list of Available Commands."
The location of Steve Francia's above two comments (i.e., in the Cobra repository) also seems to imply he prefers the second option (implementing this in Cobra).

Fixed in https://github.com/spf13/cobra/pull/394

@bep sorry for bothering you, but https://github.com/spf13/hugo/commit/b7a672fd22794ea7c32a958739c6b12aba5dadf8 didn't actually fix this issue. govendor didn't update it correctly.
As you can see revision time is 2017-02-23, but fix is merged on 1st March.
I tried to make PR and update it by myself, but govendor always updates vendor.json to commit of newest PR to cobra, so I didn't figure out, how to use it :(


Datepicker allow custom locale

Please allow to set month and date names.
date-locale.ts only contains the english names.
A simple property binding would be enough

+1! I need that too

@mbeckenbach , @imichelakos we have added support for date locale use DateLocale service and customise it, refer API Docs


notifications without shelling out

Hi there, awesome tool.
I saw that you check for local tools like notify-send and osascript to produce notifications. There is actually already a crate for that :D
This is what it would look like.
cheers

@hoodie Hey, thanks for the pull request!
I've seen that crate, but I was under impression that it does not support Mac, the description says Send Desktop Notifications on linux and bsd.
Hm..By some reason the PR breaks the build.

Tests pass locally for me.
Looks like notify-rust uses dbus

@hoodie  The version with notify-rust shows only title without message:

sorry, I didn't check the CI on this PR - I just added the required config to the .travis.yml

@hoodie  Thank you!)


Fix readme links (demo/realtime-txt2img)

Hello, This is a very cool project!
I was reading the README for demo/realtime-txt2img and noticed that it needed a correction regarding the link, so I fixed it.
Would appreciate it if you could take a look and let me know your thoughts.
Thank you!

Thank you for the correction!


refactor: update stride handling and function documentation for blas/ext/base/dapxsumpw

Description

What is the purpose of this pull request?

This pull request:

update stride handling when for when stride is equal to zero.
update function documentation.
update test case for when stride equal to zero.

Related Issues

Does this pull request have any related issues?

No.
Questions

Any questions for reviewers of this pull request?

No.
Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.
Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines.

@stdlib-js/reviewers

@headlessNode Was closing this PR intentional? As in, was this PR a mistake?


Simplify travis

Simplify travis

@lowks just discovered your fork. Didn't know Travis guys made Elixir one of supported languages, without Erlang workaround. Thanks! Merged to master


1.0.0-pre BannerAds not showing on iOS with real adUnitIDs

While BannerAds are shown when using test unit ids, they are not shown when using real ad units.
iOS Admob status: ["GADMobileAds": <GADAdapterStatus: 0x280717ed0; state = Ready>]
<Google> Invalid Request. Too many recently failed requests for ad unit ID: ca-app-pub-XXX/YYY. You must wait a few seconds before making another ad request.

Can you please listen to events using the controller and print the error? Learn more
You can see the error codes here

BannerAdController controller = BannerAdController();
 @override
  void initState() {
    print('AD INITED');
    controller.onEvent.listen((e) {
      final event = e.keys.first;
      switch (event) {
        case BannerAdEvent.loading:
          print('loading');
          break;
        case BannerAdEvent.loaded:
          print('loaded');
          break;
        case BannerAdEvent.loadFailed:
          final errorCode = e.values.first;
          print('loadFailed $errorCode');
          break;
        default:
          break;
      }
    });
    super.initState();
  }

iOS Admob status: ["GADMobileAds": <GADAdapterStatus: 0x2806aaca0; state = Ready>]
flutter: AD INITED
flutter: AD INITED
flutter: AD INITED
flutter: loading
flutter: loading
flutter: loading
flutter: loadFailed #-1: Timeout achieved

The ad took more than 30 seconds to load and a timeout error was thrown. You can try increasing the timeout using the timeout property in the Banner Ad Constructor

I did not provide MobileAds.setTestDeviceIds(), but now since I've done that, BannerAds on iOS are loading instantly. But why didn't they work without the testId? Or is this intended behaviour?

But why didn't they work without the testId?

Usually this happens when:

your account is too new: it needs to be approved before you can receive any ads using your unit id. You'll receive an email when your account gets approved or not;
your unit id was recently created: it can take up to 24 hours (it's normally 2-3 hours) to start receiving ads

Although the BannerAd is showing, I still get the Timeout achieved warning

This is a known issue and will be fixed in the next version. See https://github.com/bdlukaa/native_admob_flutter/issues/19

Ah ok, thx for clarification (y)
Great package btw... keep up the good work ;-)

Thank you very much :)
Can this be closed?

Sure! 👍


Data for 2014 in normalised_prescribing is double what expected

Having run some searches in prescribing_normalised yesterday, all 2014 data seems to be double what expected.  Looking at number of rows, this also seems to be the case.  Has the 2014 data been duplicated?

Well spotted.  This is because we were originally promised republished data going back to 2015, but we were actually given data going back to 2014.  The data in the view comes from taking the pre-ODD data from the original prescribing table (but only for months when we don't have post-ODD data) and the post-ODD data from the new prescribing table.
PR incoming.

PS it's great to have you back @richiecroker!

Should be fixed.
PS @richiecroker for issues like this where a query's returning something unexpected, it's helpful to include the SQL in the issue, so that we can verify that a fix has worked.

Thanks @inglesp - it's nice to be back (however part time it is!)
For info, this was the SQL I used:
select month, count(*) as count_rows
from hscic.normalised_prescribing
group by month
order by month


[SPARK-50546][SQL] Add subquery cast support to collation type coercion

What changes were proposed in this pull request?
Adding proper support for implicit casting of subqueries in collation type coercion. Currently I only added support for Project and Aggregate plans in subquery expression, but we might need to add more later.
Why are the changes needed?
Since SubqueryExpression is a special type of expression it is not possible to just cast it into a different type, and this was causing a runtime error. Instead we need to go inside of its plan and cast the plan outputs.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Added new unit tests.
Was this patch authored or co-authored using generative AI tooling?
No.

@stevomitric @mihailom-db please take a look

@MaxGekk can you also take a look?

+1, LGTM. Merging to master.
Thank you, @stefankandic and @mihailom-db for review.