Bump fluent-plugin-azurestorage-gen2 version

New plugin version includes support for Azure/Entra Workload ID.
Not sure what sort of proof you want but here's the pertinent parts of a test run with a locally built image (potentially sensitive data ped:
2024-08-29 14:17:29 +0000 [info]: init supervisor logger path=nil rotate_age=nil rotate_size=nil
2024-08-29 14:17:29 +0000 [info]: parsing config file is succeeded path="/fluentd/etc/fluentd.conf"
2024-08-29 14:17:30 +0000 [info]: gem 'fluentd' version '1.17.1'
2024-08-29 14:17:30 +0000 [info]: gem 'fluent-plugin-azure-loganalytics' version '0.7.0'
2024-08-29 14:17:30 +0000 [info]: gem 'fluent-plugin-azurestorage-gen2' version '0.3.7'
2024-08-29 14:17:30 +0000 [info]: gem 'fluent-plugin-cloudwatch-logs' version '0.14.3'
2024-08-29 14:17:30 +0000 [info]: gem 'fluent-plugin-concat' version '2.5.0'
2024-08-29 14:17:30 +0000 [info]: gem 'fluent-plugin-datadog' version '0.14.4'
2024-08-29 14:17:30 +0000 [info]: gem 'fluent-plugin-elasticsearch' version '5.4.3'
2024-08-29 14:17:30 +0000 [info]: gem 'fluent-plugin-grafana-loki' version '1.2.20'
2024-08-29 14:17:30 +0000 [info]: gem 'fluent-plugin-kafka' version '0.19.3'
2024-08-29 14:17:30 +0000 [info]: gem 'fluent-plugin-opensearch' version '1.1.4'
2024-08-29 14:17:30 +0000 [info]: gem 'fluent-plugin-prometheus' version '2.2.0'
2024-08-29 14:17:30 +0000 [info]: gem 'fluent-plugin-record-modifier' version '2.2.0'
2024-08-29 14:17:30 +0000 [info]: gem 'fluent-plugin-rewrite-tag-filter' version '2.4.0'
2024-08-29 14:17:30 +0000 [info]: gem 'fluent-plugin-route' version '1.0.0'
2024-08-29 14:17:30 +0000 [info]: gem 'fluent-plugin-s3' version '1.7.2'
2024-08-29 14:17:30 +0000 [info]: gem 'fluent-plugin-sqs' version '3.0.0'
2024-08-29 14:17:34 +0000 [warn]: many chunk keys specified, and it may cause too many chunks on your system.
2024-08-29 14:17:35 +0000 [info]: using configuration file: <ROOT>
[...]
  <label @AZURE>
    <match **>
      @type azurestorage_gen2
      azure_storage_account "<snip>"
      azure_container "<snip>"
      azure_object_key_format "%{path}-%{index}.%{file_extension}"
      azure_use_workload_id "true"
      azure_oauth_tenant_id "<snip>"
      azure_oauth_app_id <snip>
      azure_oauth_refresh_interval 3600
      path "<snip>"
      store_as "json"
      auto_create_container true
      enable_retry true
      format json
      <inject>
        time_key "time"
        tag_key "tag"
        time_type string
        time_format "%Y-%m-%dT%H:%M:%S,%L%z"
        localtime false
        utc true
      </inject>
      <buffer tag, time, <snip>>
        @type "file"
        flush_thread_count 2
        path "/tmp/azure-buffer"
        timekey 1m
        timekey_wait 10s
        timekey_use_utc true
        chunk_limit_size 64MB
        total_limit_size 4GB
        flush_at_shutdown true
        retry_max_times 10
        retry_max_interval 5
        overflow_action drop_oldest_chunk
      </buffer>
      <format>
        @type json
      </format>
    </match>
  </label>
 [...]
2024-08-29 14:17:35 +0000 [info]: starting fluentd-1.17.1 pid=7 ruby="3.3.4"
2024-08-29 14:17:36 +0000 [info]: spawn command to main:  cmdline=["/usr/local/bin/ruby", "-Eascii-8bit:ascii-8bit", "/usr/local/bundle/bin/fluentd", "--config", "/fluentd/etc/fluentd.conf", "--plugin", "/fluentd/plugins", "--under-supervisor"]
[...]
2024-08-29 14:17:48 +0000 [info]: adding match in @AZURE pattern="**" type="azurestorage_gen2"
[...]
2024-08-29 14:17:52 +0000 [info]: #0 starting fluentd worker pid=20 ppid=7 worker=0
2024-08-29 14:17:53 +0000 [info]: #0 azurestorage_gen2: Start getting access token every 3600 seconds.
2024-08-29 14:17:54 +0000 [info]: #0 azurestorage_gen2: Container '<snip>' exists.
2024-08-29 14:17:54 +0000 [info]: #0 [input] listening port port=24224 bind="<IP_ADDRESS>"
2024-08-29 14:17:54 +0000 [info]: #0 fluentd worker is now running worker=0
[...]
2024-08-29 14:17:53.595141281 +0000 fluent.info: {"message":"azurestorage_gen2: Start getting access token every 3600 seconds."}
2024-08-29 14:17:54.110813536 +0000 fluent.info: {"message":"azurestorage_gen2: Container '<snip>' exists."}
2024-08-29 14:17:54.153382887 +0000 fluent.info: {"port":24224,"bind":"<IP_ADDRESS>","message":"[input] listening port port=24224 bind=\"<IP_ADDRESS>\""}
2024-08-29 14:17:54.259700062 +0000 fluent.info: {"worker":0,"message":"fluentd worker is now running worker=0"}

I've noticed that the version doesn't look correct (https://github.com/oleewere/fluent-plugin-azurestorage-gen2/issues/24)?

Thanks for the heads up @matt-carr. Dependabot runs weekly on this repo but I've triggered it to run now as it should pick this up automatically.

wicked, thanks - closing in favour of #345

@stevehipwell I'd be much obliged if you'd trigger another dependabot run, didn't manage to get the upstream PR merged before your scheduled one ;P after this I ought to be out of your hair

@matt-carr does https://github.com/stevehipwell/fluentd-aggregator/pull/349 capture the changes you wanted?


update ogles_gpgpu to v0.2.10

I've tested this package remotely and have excluded all broken builds.
Here is the links to the Travis/AppVeyor with status "All passed":

https://travis-ci.org/headupinclouds/hunter/builds/377929668
https://ci.appveyor.com/project/headupinclouds/hunter-8w0rs

see : https://github.com/ingenue/hunter/pull/249

Testing:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.3893
https://travis-ci.org/ingenue/hunter/builds/378726427?utm_source=github_status&utm_medium=notification

Uploading:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.3895
https://travis-ci.org/ingenue/hunter/builds/378797948?utm_source=github_status&utm_medium=notification

Thanks!

Released: https://github.com/ruslo/hunter/releases/tag/v0.20.74


All “TestJlmRemote” tests failed on Test_openjdk8_hs_sanity.system_x86-64_linux

Describe the bug
All “TestJlmRemote” test cases fail after 30 mins.
To Reproduce
https://ci.adoptopenjdk.net/job/Test_openjdk8_hs_sanity.system_x86-64_linux/467/console
20:20:58  CL1 j> 2020/07/19 19:20:58.315 ServerURL=service:jmx:rmi:///jndi/rmi://localhost:1234/jmxrmi
20:20:58  CL1 j> 2020/07/19 19:20:58.376 Trying to connect using JMXConnectorFactory
20:21:09  CL1 j> 2020/07/19 19:21:08.815 Monitored VM not ready at Jul 19, 2020 7:21:08 PM (attempt 0).
20:21:09  CL1 j> 2020/07/19 19:21:08.815 Wait 10 secs and trying again...
20:21:09  CL1 j> 2020/07/19 19:21:08.815 Trying to connect using JMXConnectorFactory
20:25:49  CL1 j> 2020/07/19 19:25:34.511 Monitored VM not ready at Jul 19, 2020 7:25:34 PM (attempt 1).
20:25:49  CL1 j> 2020/07/19 19:25:34.512 Wait 10 secs and trying again...
20:25:49  CL1 j> 2020/07/19 19:25:34.512 Trying to connect using JMXConnectorFactory
20:25:58  STF 19:25:57.231 - Heartbeat: Process CL1 is still running
20:28:07  CL1 j> 2020/07/19 19:27:51.954 Monitored VM not ready at Jul 19, 2020 7:27:51 PM (attempt 2).
20:28:07  CL1 j> 2020/07/19 19:27:51.955 Wait 10 secs and trying again...
20:28:07  CL1 j> 2020/07/19 19:27:51.955 Trying to connect using JMXConnectorFactory

...

20:48:36  CL1 j> 2020/07/19 19:48:29.385 Monitored VM not ready at Jul 19, 2020 7:48:29 PM (attempt 11).
20:48:36  CL1 j> 2020/07/19 19:48:29.385 Wait 10 secs and trying again...
20:48:36  CL1 j> 2020/07/19 19:48:29.387 Trying to connect using JMXConnectorFactory
20:51:00  CL1 j> 2020/07/19 19:50:46.824 Monitored VM not ready at Jul 19, 2020 7:50:46 PM (attempt 12).
20:51:00  CL1 j> 2020/07/19 19:50:46.827 Wait 10 secs and trying again...
20:51:00  CL1 j> 2020/07/19 19:50:46.827 Trying to connect using JMXConnectorFactory
20:51:00  STF 19:50:57.088 - Heartbeat: Process CL1 is still running
20:51:09  STF 19:51:08.146 - **FAILED** Process LT1 has ended unexpectedly
20:51:09  STF 19:51:08.146 - Monitoring Report Summary:
20:51:09  STF 19:51:08.146 -   o Process CL1 is still running
20:51:09  STF 19:51:08.146 -   o Process LT1 has ended unexpectedly
20:51:09  STF 19:51:08.147 - Killing processes: CL1 LT1
20:51:20  STF 19:51:19.154 -   o Process CL1 killed
20:51:20  STF 19:51:19.154 -   o Process LT1 is not running
20:51:20  **FAILED** at step 3 (Wait for processes to complete). Expected return value=0 Actual=1 at /home/jenkins/workspace/Test_openjdk8_hs_sanity.system_x86-64_linux/openjdk-tests/TKG/../TKG/test_output_15951799453776/TestJlmRemoteMemoryNoAuth_SE80_Linux_0/20200719-192055-TestJlmRemoteMemoryNoAuth/execute.pl line 157.
20:51:20  STF 19:51:19.501 - **FAILED** execute script failed. Expected return value=0 Actual=1

Expected behavior
19:11:18  CL1 j> 2020/07/18 11:11:18.052 ServerURL=service:jmx:rmi:///jndi/rmi://localhost:1234/jmxrmi
19:11:18  CL1 j> 2020/07/18 11:11:18.076 Trying to connect using JMXConnectorFactory
19:11:29  CL1 j> 2020/07/18 11:11:28.303 Monitored VM not ready at Jul 18, 2020 11:11:28 AM (attempt 0).
19:11:29  CL1 j> 2020/07/18 11:11:28.303 Wait 10 secs and trying again...
19:11:29  CL1 j> 2020/07/18 11:11:28.303 Trying to connect using JMXConnectorFactory
19:11:29  CL1 j> 2020/07/18 11:11:28.976 Connection established!
19:11:30  CL1 j> 2020/07/18 11:11:29.758 Starting to write data

Additional context
Similar issue raised in the OpenJ9 repository for jdk14 here: https://github.com/eclipse/openj9/issues/10156
Potentially a network problem on the machine.

I think this is a duplicate of https://github.com/AdoptOpenJDK/openjdk-systemtest/issues/246

Closing as duplicate of https://github.com/AdoptOpenJDK/openjdk-systemtest/issues/246 (now fixed).


fix(lsp): use the same lsp server for filetype if it exists

fix https://github.com/neovim/nvim-lspconfig/issues/2285

I don't know if there is a spec or something to follow, this is just guessing what vscode does.

Helix handles this, so I got curious whats the trick, turns out there is no trick, they never spawn an lsp server in response to a goToDefinition request, which now I think about actually make sense. Why do we have that code in the first place, are there actual use cases ?

If we take a step back, theoretically in response to a gotodefiniton, the lsp server that sent us there should be the one to continue to work

It might be only really solvable at neovim level though

Nvm, helix does the exact same thing https://github.com/helix-editor/helix/blob/bcdb475b71b0fbabce57344ac8d2575c23b1bbe0/helix-view/src/editor.rs#L944

but helix has a sanity check to compare the original lsp that sent us id with the one that we found https://github.com/helix-editor/helix/blob/bcdb475b71b0fbabce57344ac8d2575c23b1bbe0/helix-view/src/editor.rs#L958 and it doesn't spawn a different filetype server in any case
This can only be done inside nvim itself


docs: official documentation site

Description
To create a documentation repository or a web page containing the official documents for the framework.
contributors can work on the issue or to a new feature and also update the docs, and new users can easly understand how it works
Requirements

[ ] A repository or one branch in the same repo with GHPages
[ ] https://github.com/zino-hofmann/graphql-flutter/discussions/1210

I do not want move the web docs on the because your tool that are introducing need some cofiguration a runtime  with js and react component.
If you want include it inside this repository we should use somethings that generate all a compile time from a md file, such as the rust book tool.
However, I'm in mind to open an organisation  to move some of my tools inside the same umbrella , so as said in the discussion when you have the draft we can move your repository in this umbrella.
I'm closing this because we can continue it on the discussion or in the discord channel :)


Generated infrastructure model

DESCRIPTION
This pull request was automatically generated and adds a UML-deployment diagram to your
documentation. Let me know what you think in the comments.
The diagram can be easily edited, extended or updated using text and code, here
Feedback
Infragenie (www.infragenie.eu) is a free-to-use application, currently in early-preview.
Whether you decide on accepting or rejecting this pull request, we would like to invite you to answer a 5min improvement
survey. This will help us to plan future features and improve the application.
Please answer our survey, here.
Thank you.

Sorry for this extra PR; we didn't notice that you have closed the previous one. Can you at least leave a comment about what you think of the application? If you could answer the survey, it would be very helpful for us. The survey is anonymous and no personal data is collected. Thanks.


refactor: project structure

new start of #1084

Failing test due to isNvmToolAvailable being missing.  Also missing on master branch 🤷
https://github.com/search?q=repo%3ACycloneDX%2Fcdxgen isNvmToolAvailable&type=code

Failure is because I've updated package.json to run all **.*.test.js files, instead of a subset

@aryan-rajoria - keen for your help and input on this one 🙏

One of the failing tests is due to isNvmToolAvailable being missing. Also missing on master branch 🤷 https://github.com/search?q=repo%3ACycloneDX%2Fcdxgen isNvmToolAvailable&type=code
UPDATE: Failure is because I've updated package.json to run all **.*.test.js files, instead of a subset

Sorry about that the nvm tests are no longer valid. I will raise a PR to remove them.

@aryan-rajoria - keen for your help and input on this one 🙏

Absolutely, please suggest on what I can help with?

Superseded by #1382


Can read but not write data

Unknown issue for me that only happens if I'm using cifs-documents-provider:
Read Files/Folders = YES
Create Files/Folders = YES (but only 0 byte files can be created)
Rename Files/Folder = YES
Delete Files/Folders = YES
Write/Modify Files = NO! (only happen with cifs-documents-provider. Access any other way is working fine)
I tried with 2 different Samba shares. One shared from Windows, another shared from Debian and both are the same way.
Both of my samba shares I can access from other apps and write files just fine. I can mount them in Windows/Linux/ChromeOS and all behaving properly where I can read and write without problem.
This is only happening to me with cifs-documents-provider but I don't know why. I tested with 2 of my android devices Samsung Galaxy and Google Pixel, Samsung is Android 12 and Pixel is Android 10.
I installed Material FIles ( https://github.com/zhanghai/MaterialFiles ) and it gives me this error when I try to write files through cifs-documents-provider:
error while writing
There was an error writing "file.txt". java.io.IOException: write failed: EBADF (Bad file descriptor)

Material Files also has ability to add network storage so when I add the samba server through Material FIles (Menu -> Add storage -> SMB Server) I can read/write perfectly with Material FIles. Only problem happens if I try to use cifs-documents-provider (Menu -> Add storage -> External storage -> choose CIFS Documents Provider from the side menu and add the share to Material Files).
Any app that I use and I want to open a file from CIFS Documents Provider, the file will open, but cannot write. Here Material Files is just for example of one app. But it happens for all apps.
I don't know why. I'll be happy to try anything if you have suggestions.
Otherwise it's a very good app at least for read-only. But to be able to write will be even better. Thanks.

I have this exact same issue with exactly the same symptoms in similar environment.
Read ok, writes produce 0kb files with error Bad file descriptor, Android 11, SMB share (proto v2 & v3, no v1 support) provided by SAMBA running under Linux with anonymous access & operations from other apps work fine so it's not a permissions issue, it's an issue in cifs-documents-provider.

SAMBA running under Linux with anonymous acces

I'm not sure if the anonymous access mentioned here is consistent with what this app expects. Just for reference, you can uncheck the Anonymous Access box, and try leaving the username and password blank, or use guest as the username.

I unchecked the Anonymous Access box, left the username and password blank, same result (0kb files with error Bad file descriptor).
I used guest as the username, left the password blank, same result ( 0kb files with error Bad file descriptor).
During both these attempts I was able to connect, browse, create directories, but saving files fails with the above error.
Tried transferring a jpg file from Android downloads dir, same result.
Tried saving mp4 from NewPipe, as usr="guest" pwd="", same result, error log is below if it helps (probably won't, identifying info redacted):
## Exception
* __User Action:__ download failed
* __Request:__ https://www.youtube.com/watch?v=xrrPG_VlvIQ [ {type=video format=MPEG-4 quality=480p videoOnly=true} {type=audio format=m4a bitrate=48} ]
* __Content Country:__ ██
* __Content Language:__ en-██
* __App Language:__ en_██
* __Service:__ YouTube
* __Version:__ 0.24.1
* __OS:__ Linux ██████/██████_retail/██████:11/████.██-██-██/dbe8d:user/release-keys 11 - ██
Crash log

java.io.IOException: write failed: EBADF (Bad file descriptor)
 at libcore.io.IoBridge.write(IoBridge.java:540)
 at java.io.FileOutputStream.write(FileOutputStream.java:398)
 at us.shandian.giga.io.FileStreamSAF.write(FileStreamSAF.java:133)
 at us.shandian.giga.get.DownloadRunnable.run(DownloadRunnable.java:120)
Caused by: android.system.ErrnoException: write failed: EBADF (Bad file descriptor)
 at libcore.io.Linux.writeBytes(Native Method)
 at libcore.io.Linux.write(Linux.java:293)
 at libcore.io.ForwardingOs.write(ForwardingOs.java:240)
 at libcore.io.BlockGuardOs.write(BlockGuardOs.java:418)
 at libcore.io.ForwardingOs.write(ForwardingOs.java:240)
 at libcore.io.IoBridge.write(IoBridge.java:535)
 ... 3 more

Target1 share is hosted by Linux system running LibreElec (Kodi).
Retried the above but using a different SMB target hosted by another Linux system employing username & password access control, jpg transfer succeeded but NewPipe mp4 save failed as above.
Downloaded the mp4 via NewPipe ensuring no whitespace or illegal chars in filename (just in case) to Android downloads dir (to ensure full file available before SMB transfer started) then used share function (long press, share) to transfer mp4 file to target1, mp4 transfer failed as above.
Repeated the last test against target2, successfully transferred mp4.
It seems:

Downloading files from remote host via NewPipe with output to either SMB target via CIFS Doc Prov fails (0kb, EBADF).
Transferring local files to SMB target1 fails (0kb, EBADF).
Transferring local files to SMB target2 succeeds.

Either way, I can't use CIFS Doc Prov to save mp4/m4a/etc from remote hosts via NewPipe to any SMB target, which is what I wanted to achieve to spare my phone storage from being worn down by local save then transfer via Total Commander LAN Plugin.

According to the above content, one possibility I can think of is that the smb account has write permission to the directory, so it can create/delete files, but it does not have write permission to the created file, so it cannot modify or truncate the file.
This is indeed a bit strange, because the creator of the file, that is, its owner, should have write permission to the file by default.  To rule out this possibility, check the permission similarities and differences between the files that were written successfully and those that failed.

I just tried test transfer of locally stored xkcd.jpg file from Android via CDP to target1 (failed) & target2 (succeeded), ls -l of file in each target:

-rwxr--r--    1 root     root             0 xkcd.jpg
-rwxrwxrwx+ 1 user users 90874 xkcd.jpg

Further test via SSH in same targets/dirs as xkcd.jpg, using root in target1 & sudoer user in target2, touch test && ls -l test:

-rw-r--r--    1 root     root             0 test
-rwxrwxrwx+ 1 user users 0 test

Also, as above, running ls -l on the dir itself in each target:

drwxr-xr-x   13 root     root          1024 somedir
drwxrwxrwx+ 1 user users      1040 somedir

Octal permissions in the target1:

file: 0644
dir: rwxr-xr-x

Octal permissions in the target2:

file: rwxrwxrwx
dir: rwxrwxrwx

In case it sheds some light, samba.conf in target1 is below:
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue<EMAIL_ADDRESS># Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)

[global]
  server string = LibreELEC
  browseable = yes
  writeable = yes
  printable = no
  deadtime = 30
  mangled names = no
  name resolve order = host bcast
  printcap name = /dev/null
  load printers = no
  enable core files = no
  passdb backend = smbpasswd
  smb encrypt = disabled
  fruit:model = Xserve

  # samba share options
  map to guest = Bad User
  guest account = root
  security = user

  # samba tuning options
  socket options = TCP_NODELAY IPTOS_LOWDELAY
  min receivefile size = 16384
  aio read size = 16384
  aio write size = 16384
  use sendfile = yes

# Using the following configurations as a template allows you to add
# writeable shares of disks and paths under /storage

[Some Dir]
  path = /storage/somedir
  available = yes
  browseable = yes
  public = yes
  writeable = yes
  root preexec = mkdir -p /storage/somedir

Has anyone found a way to transfer files to your SMB through CDP? Or any other way to get around this?
Im basically trying to download files with yt-dlp straight to my SMB drive
@zer0ring im a bit slow so I don't really understand your comment other than you managed to transfer a file with a specific setup, is that correct and if so, how do i replicate it on my phone with CDP?


Setup instructions and easy evaluation scenario

An easy evaluation scenario is added as a seed in the evaluation server. I further added instructions how to start the evaluation server in the readme of the evaluation server

Thanks, the test scenario worked without problems. It is intended that we now have two docker-compose.yml files? The one in the evaluation server directory is only for the example and the oder one for production? Or is the old one now deprecated?


When a query parameter has no value, output is as key=

When a URL query parameter has no value, AWS expects it to be presented as key=. processURL did not add the = sign.
See https://github.com/soto-project/soto-core/issues/523

From a quick look the change looks fine. I'm on holiday just now. Will review properly when I return in 10 days time.


Add dummy Debug instance to authority discovery service.

Useful when added to other structs which are supposed to have a Debug instance. This would save me a newtype wrapper in Polkadot.

bot merge


Implement getPlayerURL

This should be relatively trivial. This IR function handles something related to converting an IRUserDocument into an accessible URL.

Resolved.


application in the GP, the link is incorrect

In the description of the DDG application in the GP, the link is incorrect:
https://github.com/duckduckgo/android
True link:
https://github.com/duckduckgo/Android
GP:
https://play.google.com/store/apps/details?id=com.duckduckgo.mobile.android

I see link with uppercase "A" in the GP. Moreover, both links redirects to the correct repo anyway.

Location RU GP
screen

link open

It looks like an issue with the dot in the end of url - not the address
itself.
--
Piotr Wittchen,
http://wittchen.io
pon., 19 sie 2019, 16:38 użytkownik torerobo<EMAIL_ADDRESS>napisał:

Location RU GP
screen
[image: IMG_20190819_173433_378]
https://user-images.githubusercontent.com/35532898/63274144-f529e000-c2a7-11e9-9d25-9bbb584a6dc3.jpg
link open
[image: IMG_20190819_173436_774]
https://user-images.githubusercontent.com/35532898/63274172-01ae3880-c2a8-11e9-9451-c56e9332e67c.jpg
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/duckduckgo/Android/issues/562?email_source=notifications&email_token=AAFJYF222YJH7ZI6KZI6XJDQFKV5TA5CNFSM4IMW2XLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4TE7QY#issuecomment-522604483,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFJYF3NI6UW2WO6ORFR5CDQFKV5TANCNFSM4IMW2XLA
.

Yes, that's right, the dot is substituted and does not open (I didn’t notice it, so others may not notice it).

Thanks for reporting this, I have updated the link to remove the full-stop so it should work now. Let us know if you continue to see the issue.


Add inspections for method parameters

Related to https://github.com/nette-intellij/intellij-latte/issues/67, #94

It is fixed in Pro plugin: https://plugins.jetbrains.com/plugin/19661-latte-pro here is migration guide from free plugin: https://mesour-intellij-plugins.github.io/latte.html#migration


[Bug] Both the settings window, and the Taskbar Groups themselves are blurry.

The program is very blurry on high DPI displays, can you see if you can fix this?

What DPI are you using? Could you take a printscreen and i'll see what i can do

It might be related to scaling, e.g. I have a HiDPI 1080x1920 display set to 100% scaling and it looks crisp and sharp (Win10 v1709). Laptops tend to default to 120% scaling or somesuch, though, which causes weirdness due to Windows.
I also use XPExplorer HiDPI fix, which has helped with some programs, too.

Sorry for the late reply, I'm on 150% dpi and a 3000x2000 Surface Book 2 Display.

Sorry for the late reply, I'm on 150% dpi and a 3000x2000 Surface Book 2 Display.
Edit: And my default dpi is 200% but thats way too big for me.

Thank you! I will look into scaling support!

@Darthagnon
@tjackenpacken
I made a pull request fixing this specific issue because it was bothering me too much.
See here:
Fixed icon and UI on HiDPi-enabled devices. #255
Please comment the pull request to give it more traction. 😄
Also, here's a beta build of the HDPi version:
TaskbarGroups_HiDpi.zip
Have a great day ! 👋 Also, thank you @tjackenpacken for this amazing applet!!


Decide how to package it

Ideally, this package should be installed with:
pip install pdf-filler

For the most part, this should be straightforward. The one hitch is that there is a dependency on a .jar file built from pdfparser.
How should such a dependency be handled?

From https://python-packaging-user-guide.readthedocs.io/en/latest/current/

Use the bdist_wheel setuptools extension available from the wheel project to create wheels. This is especially beneficial if your project contains binary extensions.


How to call this function

Hi!
I'm new to NSwag and I succesfully generated the Typescript Client from my WebApi assembly.
I'm having a problem trying to call this method for example:
`  getAll(): Observable<Blob | null> {
let url_ = this.baseUrl + "/api/categorias";
url_ = url_.replace(/[?&]$/, "");
    let options_ = {
        method: "get",
        responseType: ResponseContentType.Blob,
        headers: new Headers({
            "Content-Type": "application/json",
            "Accept": "application/json"
        })
    };

    return this.http.request(url_, options_).flatMap((response_) => {
        return this.transformResult(url_, response_, (r) => this.processGetAll(r));
    }).catch((response_: any) => {
        if (response_ instanceof Response) {
            try {
                return this.transformResult(url_, response_, (r) => this.processGetAll(r));
            } catch (e) {
                return <Observable<Blob>><any>Observable.throw(e);
            }
        } else
            return <Observable<Blob>><any>Observable.throw(response_);
    });
}`

When I call it from my component I see that the request is going to the server and returning something with status 200 but I don't know how to use this data since it is in Blob format. This is my console.log:
Blob {size: 2161, type: "application/json"} size : 2161 type : "application/json"
Any help would be great.
Thanks

Can you post the web api action method signature?

Here it is:
[HttpGet]         [Route("", Name = "GetCategories")]         public async Task<IHttpActionResult> GetAll()         {             using (var unitOfWork = new UnitOfWork(this.WippinContext))             {                 return Ok(unitOfWork.Categorias.GetAll());             }         }

See https://github.com/NSwag/NSwag/wiki/WebApiToSwaggerGenerator#specify-the-response-type-of-an-action

Oooh Thank you a lot!!
It's working now!


Migrate FHIR Core to the latest FHIR SDK artifacts

Describe the feature request.
FHIR SDK artifacts with the latest changes from the 'master' branch (including a few extra un-merged PRs) have been published.
We need to upgrade and refactor FHIR Core to utilize them on main.
Additional context
The artifacts have been published under the following signatures

Common - org.smartregister:common:0.1.0-alpha04-preview1-SNAPSHOT
Engine - org.smartregister:engine:0.1.0-beta03-preview10-SNAPSHOT
SDC - org.smartregister:data-capture:1.0.0-preview15-SNAPSHOT
Workflow - org.smartregister:workflow:0.1.0-alpha03-preview1-SNAPSHOT
Knowledge/IG - org.smartregister:knowledge:0.1.0-alpha01-preview2-SNAPSHOT

The un-merged PRs included are:

https://github.com/google/android-fhir/pull/2032
https://github.com/opensrp/android-fhir/pull/1
https://github.com/google/android-fhir/pull/1669
https://github.com/google/android-fhir/pull/2132
https://github.com/opensrp/android-fhir/pull/9

Acceptance criteria

[ ] Migrate common library
[ ] Migrate engine library
[ ] Migrate SDC library

Workflow and Knowledge/IG will probably break the app entirely so can be upgraded at a different point or tracked on a different ticket cc @maimoonak @allan-on @f-odhiambo

We now have newer SDC and Engine artifacts from the latest changes on the SDK:

Engine - org.smartregister:engine:0.1.0-beta04-preview-SNAPSHOT
SDC - org.smartregister:data-capture:1.0.0-preview16-SNAPSHOT

We now have newer SDC and Engine artifacts from the latest changes on the SDK:

Engine - org.smartregister:engine:0.1.0-beta04-preview2-SNAPSHOT
SDC - org.smartregister:data-capture:1.0.0-preview17-SNAPSHOT

We now have newer SDC and Engine artifacts from the latest changes on the SDK:

Engine - org.smartregister:engine:0.1.0-beta04-preview2-SNAPSHOT
SDC - org.smartregister:data-capture:1.0.0-preview17-SNAPSHOT

I have referenced your comment above to a new issue so we can close this issue with the PR tagged.


Interactive graph plotting to move points/lines

Hi there,
Thank you for great works! And I love this library.
I want the user to be able to do things like selection and move up or down points and see the resulting intersection points or region. And its possible to get update data of points by some method.
This is representation of expectation:
Normal

User Selection

Start Selection

Release Selection

User Move (Drag)

Move Up points

Move down points

If the user moves the points, then the axis label will also update according to the moving points. See on image below.

.
This is important feature when user need update value of data according to the points. Thank you for your supporting.

and also how to add grid on left, right and top side, because it only show bottom grid.


Trouble updating a ListView row when the state changes.

Hello,
I'm trying to update the rows on a ListView when the state changes but I don't want to use the Datasource.rowHasChanged method because its NOT the rowData that is changing.
How can I actually force a change in the listview?
Thank you.

@facebook-github-bot stack-overflow

Hey @SudoPlz and thanks for posting this! @charpeni tells me this issue looks like a question that would be best asked on StackOverflow. StackOverflow is amazing for Q&A: it has a reputation system, voting, the ability to mark a question as answered. Because of the reputation system it is likely the community will see and answer your question there. This also helps us use the GitHub bug tracker for bugs only. Will close this as this is really a question that should be asked on SO.


[FEATURE] Break apart Map Detail page into separate pages

Volumes
Camera stuff
World Info
The rest

Added with udk PR


cascaded shadow map

Please check if the PR fulfills these requirements

[ ] The commit message follows our guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
What is the current behavior? (You can also link to an open issue here)
What is the new behavior (if this is a feature change)?
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
Other information:

Codecov Report

Merging #985 (dbc04a1) into dev/0.9 (b0eeae8) will decrease coverage by 0.15%.
The diff coverage is 12.88%.

:exclamation: Current head dbc04a1 differs from pull request most recent head 54849bf. Consider uploading reports for the commit 54849bf to get more accurate results

@@             Coverage Diff             @@
##           dev/0.9     #985      +/-   ##
===========================================
- Coverage    30.08%   29.92%   -0.16%
===========================================
  Files          322      326       +4
  Lines        14339    14488     +149
  Branches      2190     2206      +16
===========================================
+ Hits          4314     4336      +22
- Misses        9521     9638     +117
- Partials       504      514      +10

Impacted Files
Coverage Δ

packages/core/src/shadow/CascadedShadowCaster.ts
9.74% <9.74%> (ø)

packages/core/src/Engine.ts
60.13% <20.00%> (-2.37%)
:arrow_down:

packages/core/src/shadow/ShadowUtils.ts
23.07% <23.07%> (ø)

...ges/core/src/RenderPipeline/BasicRenderPipeline.ts
11.56% <50.00%> (ø)

...ackages/core/src/shadow/enum/ShadowCascadesMode.ts
100.00% <100.00%> (ø)

packages/core/src/shadow/enum/ShadowMode.ts
100.00% <100.00%> (ø)

packages/core/src/shadow/enum/ShadowResolution.ts
100.00% <100.00%> (ø)

packages/core/src/shadow/ShadowMapMaterial.ts
66.66% <0.00%> (+33.33%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


DEV-497

This change is

Coverage decreased (-1.02%) to 83.838% when pulling 36a4f6a1bfdd6b25bdd33b38909a09fabf3b2e6c on DEV-497 into 5d809166d22bd00e25a4bb3e20a6244f6208e84a on master.

SonarQube analysis reported 7 issues

 7 minor

Watch the comments in this conversation to review them.

Coverage increased (+0.2%) to 85.051% when pulling 36a4f6a1bfdd6b25bdd33b38909a09fabf3b2e6c on DEV-497 into 5d809166d22bd00e25a4bb3e20a6244f6208e84a on master.


Security Issue: Access Package Policy requestor information can be enumerated by end users

Problem Description
Currently you can add additional requestor information for an Access Package and let users answer questions or choose answer options from a dropdown menu. However this last one currently shows a bug and could be a potential security risk that may lead to enumeration attacks. There are two ways a user can expose these "backend" values. But first let me explain what these "backend" values are in MS Graph. The value of concern here is "actualValue" of the Answers object:

Method 1:
Steps to reproduce:

Create an Access Package
Create an Access Package Policy and target a user
Add a requestor information item of type Multiple choice and add a new item to the choice list
Insert a value for the frontend and backend like this:

Make sure the language choice is NOT your local language
Now go the the My Access portal and request this access

You will see no choice has been made:

Click the drop down menu, notice because your current browser locale does not match you are exposed to the "backend" value instead

Method 2 (this is can also be classified as a bug):
Steps to reproduce:

Repeat all previous steps but now choose a locale that IS the same as your browser locale. In my case US.

 These questions can be used to map to sensitive information especially with the new Custom Extensions  feature. It would be advisable that these values never get exposed to an end user either by design or as a bug as can bee seen in method 2 to prevent potential enumeration attacks.
Mitigation and improvements
One way to mitigate and improve this situation is to offer a better experience when it comes to adding these values in the Entitlement Management GUI. Here's a mockup I made to demonstrate this;

Here the "Default" value would always have precedence and is required. If the current browser locale is not in the list of the language options then this default value is shown to the user. This way the My Acces Portal always has a fallback option to pick from. Additionally the need for repeating the back end value over and over for every additional locale you add is eliminated and makes its use more neat and organized.
The MS Graph side on the other hand needs no changes as this is already supported by design. The MS Graph endpoint allows you to even make requests with empty localization values.  And MS Graph permission wise they are not exposed to a regular member user its only the My Access Portal that seems to trip up and throw these values out at the user if it doesn't know what to do with the current locale.

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

ID: 52f03984-fb13-e5b4-7033-19375ad86f32
Version Independent ID: 67387f31-273f-1f56-0133-a4c425d6fc49
Content: Request an access package - entitlement management - Microsoft Entra
Content Source: articles/active-directory/governance/entitlement-management-request-access.md
Service: active-directory
Sub-service: compliance
GitHub Login: @OWinfreyATL
Microsoft Alias: owinfrey

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

Hi @brolifen
I want to express my sincere appreciation for your exceptional idea. Its creativity and value have impressed us greatly, and we are truly grateful for your contribution. Please add your ideas in below link, so our production team can review it and update the same.
Ideas · Community (azure.com)

Hi @brolifen I want to express my sincere appreciation for your exceptional idea. Its creativity and value have impressed us greatly, and we are truly grateful for your contribution. Please add your ideas in below link, so our production team can review it and update the same. Ideas · Community (azure.com)

I find this response quiet strange. I highlighted a potential security risk that can lead to an enumeration attack and this issue is closed by sending me to a feedback community?
I find this a very peculiar way of handling such security issues especially when someone takes the time in highlighting a problem and even offers a potential solution for it. A "Thank you for highlighting this issue, the product team has been made aware of this and we will work to resolve it." would have been much better than this reply.

@brolifen
I apologize if the appreciation provided did not meet your expectations or resonate with you. We Thank for your contribution towards the issue raised. Once the production reviewed it only, we can be able to update the document. So, Please add your ideas in below link.
Ideas · Community (azure.com)
It will directly go to the team and issue will be updated live soon.


Fix URI of works with many items

fixes https://github.com/antleaf/nims-mdr-development/issues/604

@anusharanganathan Thank you!


api: Set version v1alpha1

Change the API group to 'k8s' to fit OVN-K org APIs.

/cc @AlonaKaplan

Open issues:
* We need to sort out the name, reflecting it is OVN specific and that it acts as an adapter to generate NADs.

* Convert the design proposal to a PR that is added to this project.

* Take care of the README, splitting thigs like other projects do. E.g. LICENSE and CONTRIBUTION files, removing TODO comments, etc.

Noted.
I prefer to address these topics in a follow up PR(s) if you dont mind :slightly_smiling_face:
This PR scope is the API version and group.
Regarding the readme file, I didnt meant to change it, my bad, I will revert it.


[BEAM-3028] Fixes a bug in DatastoreIO query splitting.

We were returning original query instead of the sub-queries resulting in data duplication when reading.
Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Run mvn clean verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

R: @jkff

Coverage remained the same at 69.587% when pulling 636b56964b750fba025c42e260219b60b085a868 on chamikaramj:query_splitting into b44056fc6fe5b40f9fde09c4488de4692fe23a37 on apache:master.

Wow. Can you add a unit test? Modulo that, LGTM.

Added a unit test. Thanks.

LGTM.

Changes Unknown when pulling c90cd429355377ca510c90be01092b9d3b771d0d on chamikaramj:query_splitting into ** on apache:master**.

Thanks. Will merge after Jenkins tests pass.

Changes Unknown when pulling c90cd429355377ca510c90be01092b9d3b771d0d on chamikaramj:query_splitting into ** on apache:master**.

Changes Unknown when pulling c90cd429355377ca510c90be01092b9d3b771d0d on chamikaramj:query_splitting into ** on apache:master**.


Rename project

As someone pointed out to me, nv might be trademark infringement with Nvidia (which I would prefer to avoid) and might generally cause confusion. Therefore, I'll have to rename the project.
Current ideas:

nixPatch
nixPatch-nvim (currently my fav)
nvNixify (still has nv, unsure)
neoPatch
neoNix (maybe a bit too close to nixvim)
patchVim
patchNvim

Ideas for the default executable:

nvimp (Quite smooth to type)
No good alternative

I'm gonna sleep on this for 1 or 2 days and then decide

I think I'm going for nixPatch-nvim and the executable nvimp.
Ill update the name along with the code next time I have time and don't wanna work on ztest. Although I really should just do it.


Display warning when user is viewing duplicated PMIDs in the case/seg table

To enable curators to identify and eliminate double counting in the case/seg tab:

Provide a visual cue the length of the column for PMIDs that are duplicated
Display warning symbols and hover-over language when duplicate PMIDs are displayed in the Case/Seg tab
The mockup slides are here, with the relevant slides being "feature 1" (slides 7-11) https://docs.google.com/presentation/d/1Y4oi4lP-72xrDK1AzlAxTWwVlV2XKRPzBrl9rToc7lg/edit#slide=id.g1104afc3cf9_0_86

Potential mockup, to be discussed with the VCI proxy group:

I think as of https://github.com/ClinGen/gci-vci-aws/commit/7871db11673e53faa3936157fb0ffe8d6fdf38e2, feature 1 has been implemented. I will add this in my next batch of fixes.

This is now in prod, closing.


blog post, for once

Change-Id: I3534d8b00226c5baad07e44ec845a7bdac59ca5e

Hello Francesc.  Lots of tiny comments are okay?
Mandelbrot fractal -> link to https://en.wikipedia.org/wiki/Mandelbrot_set

Just out of curiosity, would it make sense to use built-in complex type?

It seems to me that each value of i denotes a column, not a row.

It would be nice to add links to articles about the tools :

Pprof: https://blog.golang.org/profiling-go-programs  (this is from 2011, a bit old)
Trace: https://making.pusher.com/go-tool-trace/  (I find it very good)

In createRowWorkers the loop variable i is shadowed by inner loop variable i, which is okay because we're not interested about the shadowed value. Maybe a sentence about this, for unfamiliar readers?

I was pretty certain that the optimal strategy would be to let M workers work independently on 1/Mth of the image, where M is the number of logical CPUs : no channels, no contention, not a big number of goroutines.
I just tested it, it turns out that :

it doesn't outperform createRow
the sweet spot for M is greater than the number of CPUs, ~2x or 4x.

Also it's cool to note that createRow nicely dispatches the load on available resources, while in the "workers" strategies, the developer has the burden of choosing a sensible value for M.

Hey @inkel, are you ok with your commit being contributed to this project?
@googlebot needs to know

@campoy I am!


Improved IPv6 address selection

Will pick the first IPv6 address from the list instead of the last
Will prefer external addresses over link local address
Fixes #74

Hi Adam,
Thank you for pointing to that problem and your pull request. I guess there is just one minor issue here: I the if statement, shouldn't it be !ip6.match(/^fe80::/i)(the "not" was missing) ?

Cheers, no problem. No, it's actually checking the ip6 variable (not iface.address), so the logic is:

If there is no remembered IPv6 address yes, OR
if the remembered IPv6 address is a link local address, THEN
Overwrite the address

You are absolutely right! Was just a little confused ;-)

To be fair, I was too, when I wrote the code ;)

Just published a new version with this fix (v3.30.2) . Thank you so much!

Awesome, thanks!


removed unnecessary argument in add_device

Motivation
Quick bug?
Some of the add_device functions in the utils for spikeinterface contain the recording argument that was removed before (discussed in the closed pull request #377). It seems that some of those were still there.

@h-mayorquin Thanks! Merging on test completion.


⚠ Spryr has degraded performance

In 146787b, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 3107 ms

Resolved: Spryr performance has improved in 00f524e after 15 minutes.


Setup Github CI/CD

https://github.com/features/actions
Doc: https://developer.github.com/actions/

Another option: circleCI


how to insert child element into modaltitle

I tried 2 ways below, but all not work.
format 1:
          modalTitle={
            <ModalTitle
              title="Bottom Modal"
              hasTitleBar
            >

              _**<ModalButton
                text="CLOSE"
                onPress={this.closeDialog}}
              />**_

            </ModalTitle>

          }

format 2:
          modalTitle={
            <ModalTitle
              title="Bottom Modal"
              hasTitleBar
            >

              _**<TouchableOpacity onPress={this.closeDialog}>
              <Text>Close</Text>
            </TouchableOpacity>**_

            </ModalTitle>

          }

at last, I put the close button to modalcontent, and set style: postion:absloute, top:-40, right:20
then It just displayed at  right side of titlebar.
resolved my issue.

@xkungfu
you can pass custom component into modalTitle for example:
modalTitle={
  <View>
    <Text>title</Text>
    <CloseButton  />
  </View>
}


Fix build tags

Remove glide Docker dependencies, make Docker an optional dependency, add build tags for docker and appengine tests.

This will speed up our builds drastically; it's a cute idea, and when glide supports tags, we can add it back in the glide file, but docker is a beast of a (transitive) dependency.


schema: generalize event required keys check

ValidOperationRegistryEventSchema now checks required keys in a more
generic way, making it easy to add more required keys in the future.
fixes #6
Signed-off-by: Gergő Nagy<EMAIL_ADDRESS>

Coverage decreased (-0.1%) to 85.0% when pulling 0b54e7c69631f6e9fe9bdfafcb8eecdb685514e2 on generalize-required-event-keys into ab1ddaea8e59d2518e44592f71d080e7698a1f99 on master.


Increase test coverage

Currently the proxy framework does not have unit tests. Coverage should be raised to 85-90%

Fixed by #19


React on Spot Instance interruption notifications

If Spot Instance is marked for termination , then this termination info will be available in ec2 instance metadata.
More info at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-interruptions.html#spot-instance-termination-notices
Eureka Client should be able to check EC2 instance metadata and publish termination info to Eureka Client metadata. So, the interested parties could react accordinantly.

PR #1132

Closing in favour or PR.

@qiangdavidliu It will be great to have this released sooner than later. Thanks!


Add some kind of support for multiple tileset textures

The same texture size issue already noticed with asset textures also most likely plagues tilesets, only in vertical direction instead of horizontal this time around. This should also be looked into later.

Among the tilesets used in the official episode levels, the only tilesets that cross the now-selected 4096×4096 limit are the Haunted House tilesets (4224 pixels in height) and Town tilesets (4608 pixels). As a result, this is probably not as critical as it first seemed to be. Still has to be fixed later, though.


fix: get correct metafile paths for DigitalExperienceBundle and DigitalExperience

What does this PR do?
Fixes the below two entry points to return the correct metafile paths for DigitalExperienceBundle and DigitalExperience, consumed by DevOps Center.

ComponentSet.getComponentFilenamesByNameAndType
filePathsFromMetadataComponent

What issues does this PR fix or reference?
https://gus.lightning.force.com/lightning/r/ADM_Work__c/a07EE00001M1fPTYAZ/view
Functionality Before
Note: In the case of DigitalExperience, the metafile is a JSON (_meta.json), not an XML.

Method 1 was not returning the metafile path for the DigitalExperience component.
Method 2 was returning an incorrect XML metafile path instead of the proper JSON metafile path for the DigitalExperience component.
Method 2 was returning an incorrect XML metafile path for the DigitalExperienceBundle component.

Functionality After

Methods 1 & 2 return the correct JSON metafile path for the DigitalExperience component.
Method 2 returns the correct metafile path for the DigitalExperienceBundle component.

@shetzel Could you please review this PR as you reviewed the other PR and have better context around DigitalExperienceBundle and DigitalExperience? This is blocking us from integrating with DevOps Center in 244.

@shetzel I've done the suggested changes, please take a look.


Doesnt work on Ubuntu 16.04

Terminal opens to blinking cursor, but never initiates terminal dialogue

Can confirm on macOS as well.

same here on arch linux

This fork works fine for me:
https://github.com/platformio/platformio-atom-ide-terminal

+1 for macOS El Capitan

https://github.com/jeremyramin/terminal-plus/pull/235
https://github.com/jeremyramin/terminal-plus/issues/433

Both https://atom.io/packages/platformio-ide-terminal and https://atom.io/packages/termination are working forks. :)


Non-existent config key: MODEL.BACKBONE.OUT_CHANNELS

🐛 Bug

To Reproduce

from maskrcnn_benchmark.config import cfg
from predictor import COCODemo
import cv2
config_file = "./e2e_mask_rcnn_X_101_32x8d_FPN_1x_caffe2.yaml"
cfg.merge_from_file(config_file)
cfg.merge_from_list(["MODEL.DEVICE", "cpu"])
print(cfg)
coco_demo = COCODemo(
cfg,
min_image_size=800,
confidence_threshold=0.7,
)
def imshow(img):
plt.imshow(img[:, :, [2, 1, 0]])
plt.axis("off")
image = cv2.imread("./00019_48a40bf59425c4cea437dabe659746b0.jpg")
predictions = coco_demo.run_on_opencv_image(image)
cv2.imwrite("test.jpg",predictions)

Expected behavior

Environment

I just load a configuration yaml file

cfg.merge_from_file(config_file)

[environment collection script from PyTorch]

You can get the script and run it with:

PyTorch Version (e.g., 1.0):  torch-nightly             1.0.0.dev20190312
torchvision-nightly       0.2.1

OS (e.g., Linux):   Linux 2de17d7e2498 3.10.0-327

How you installed PyTorch (conda, pip, source):
pip install numpy torchvision_nightly
pip install torch_nightly -f https://download.pytorch.org/whl/nightly/cu90/torch_nightly.html

Build command you used (if compiling from source):

Python version:  py3.6

CUDA/cuDNN version:   9.0

GPU models and configuration:

Any other relevant information:

Additional context

I can't reproduce the bug.
Are you sure that you are using the latest config file from the master branch?
The BACKBONE.OUT_CHANNELS property was removed in a commit 22 days ago:
https://github.com/facebookresearch/maskrcnn-benchmark/commit/b23eee0cb72af70f4e4a72e73537f0884cfd1cff#diff-ab617a9bc705bd16a74589d095e5adbf

thanks.
I found the problem. It is not consistent with the version used at the time of the training and at the time of deployment.

thanks.
I found the problem. It is not consistent with the version used at the time of the training and at the time of deployment.

你好，我也遇到这种情况，请问你是怎么解决的？我是昨天还能用的，今天用demo预测就不行了，而且发现之前能用的相关程序现在都不能用了。。。

I have the same issue when running maskrcnn demo. I have checked the config file, it is updated. Any solution?

thanks.
I found the problem. It is not consistent with the version used at the time of the training and at the time of deployment.

How did you solve this?

Hello @ahong007007,
Can you please elaborate on how did you solve the issue?
Thanking you in anticipation!


Adding video to Youtube Queue

Is there a way to add a video to the chromecast video Queue and not just play it immediately?

The youtube controller curently in pychromecast does not support Queue, for reference see https://github.com/balloob/pychromecast/issues/62.
You might want to checkout this. A WIP, but does work.


Added SPb SkiCam Bot

Can you please put it before @tthemebot to respect the name order?

Can you please put it before @tthemebot to respect the name order?

Done


P110 regression introduced in 7.13

Hi, sorry it took so long for me to catch it.
In 7.13 you added
To align with the latest API updates, the overheated field for plugs has been replaced by three enums: overcurrent_status, overheat_status, and power_protection_status (thanks to @padenot).

P300 doesn't seem to have them
Serde: missing field `overcurrent_status` at line 1 column 726

Ah, this is annoying, but it's not the end of the world.
I was planning to separate the P300 implementation from the P304, as the latter comes with energy monitoring.
Can you please post the device_info_json result for P300?

Don't know about the "first issue" :D
Also there has been mistake in my assumption. P300 is not at fault, its actually P110
{"auto_off_remain_time":0,"auto_off_status":"off","avatar":"plug","default_states":{"state":{},"type":"last_states"},"device_id":"device_on":true,"fw_id":"fw_ver":"1.2.3 Build 230425 Rel.142542","has_set_location_info":false,"hw_id":"hw_ver":"1.0","ip":"","lang":"en_US","latitude":0,"longitude":0,"mac":","model":"P110","nickname":"oem_id":"on_time":13221422,"overheated":false,"power_protection_status":"normal","region":"","rssi":-45,"signal_level":3,"specs":"","ssid":"","time_diff":60,"type":"SMART.TAPOPLUG"}

AFAIK 1.3.1 Build 240621 Rel.162048 is the latest fw version for P110 HW v1 plugs.
Are you able to update to it?

I mean, they're working fine and I wasn't planning on updating them… ever, but if there's no other way then i either stay on old version or update?

You can either stick with the current firmware version and an older version of Tapo that supports it or upgrade the firmware to use the latest version of Tapo.
For what it's worth, I have several plugs around the house running the latest versions, and they work fine. I'm pretty good at staying on top of the breaking changes.

I'm pretty good at keeping up with the breaking changes.

Why then introduce breaking change in a patch xd That should be major :P

Sorry about that. I'm adhering to the model where any release before version 1.0 can potentially include breaking changes.


Support for basic JSON linting

Idea from https://github.com/radiantearth/stac-spec/issues/298
While validating, also lint the files for some basic styling (e.g. indentation).

Implemented

Implemented


prometheus: add alerting rules / routing

I've used https://github.com/kubernetes-monitoring/kubernetes-mixin before and it was a good set of alerts. Those are a good starting point and updated frequently.

[x] We should also add their dashboards.

Alerting? Slack room?

We should deploy alertmanager alongside this: https://github.com/prometheus/alertmanager
Docs: https://prometheus.io/docs/alerting/alertmanager/
@wadearnold let me know if you want to take this. I'm down to pair on it if you want.

We already have some alerts, but they aren't routed anywhere.
https://infra.moov.io/prometheus/alerts
I'm pretty sure those red alerts are GKE specific.

We should add an alert for domain_expiration{} < 45.


fix test for explicitly typed enum on aarch64

Fixes  #893

@bors-servo r+
Thanks!

:pushpin: Commit 7ae2ccd has been approved by emilio

:hourglass: Testing commit 7ae2ccde9c4ac9dc3722872c36e78a75354ca288 with merge 1ac2212dae80b1b5611d88dae3ae0fc06f409d1e...

:sunny: Test successful - status-travis
Approved by: emilio
Pushing 1ac2212dae80b1b5611d88dae3ae0fc06f409d1e to master...


Problem with Bibliography

Hi! We are trying to add our bibliography to our proposal for Assignment 2, but once we add it to the metadata section of our Markdown document it is no longer able to knit. This is the error we keep getting:
pandoc-citeproc: "stdin" (line 8, column 2):
unexpected "a"
expecting "c", "C", "p", "P", "s" or "S"
pandoc: Error running filter /Volumes/RStudio-0.99.491/RStudio.app/Contents/MacOS/pandoc/pandoc-citeproc
Error: pandoc document conversion failed with error 83
Execution halted
Here is a link to the code: https://raw.githubusercontent.com/imiller88/IsabelleandDiegosFinalResearchProject/master/Assignment 2/Assignment2_ResearchProposal.Rmd
Separately, on a more minor note, when we were successfully knitting before our header #Bibliography (at the very end) was not actually knitting as a header but just as "#Bibliography" in regular tiny text.
Thanks in advance for the help!

Also, our Citation.bib document is in the same directory as the Markdown document (/IsabelleandDiegosFinalResearchProject/Assignment2/XXX.xxx)


Should jquery attr also accept boolean?

I'm trying to assign a boolean value to an attribute like so
$('#myElement').attr('aria-visible', true);

This is a common way of setting some of the aria- attributes but since the attr() functions only accept string or number I get a compile error.
Should these functions be updated to also accept boolean?

@xt0rted please send a pull request. I'll review it. @johnnyreilly

Hi @xt0rted,
Because officially jQuery does not support boolean values for attr we wouldn't look to change this in Definitely Typed. We strive to be API compliant where a well defined API exists (as it does with jQuery).
If you'd like to raise a PR with the jQuery API docs and it's taken then we'd certainly look to merge a PR which changed the typings after that.  We've done this in the past on a number of occasions.
Best,
John


Enhance API

Requested endpoints:

Division recent results: /division/{id}/recentresults => returns an array containing recent results (last day?). Entries need team names, logos and the score

Division standings: /division/{id}/standings => returns an array containing the standings table. Entries need position, team name, team logo, wins, losses, map wins.

Division standings team: /division/{division}/standings/{team} => returns the standings info. Entry needs position, team name, team logo, wins, losses, map wins.

Division hero statistics: /division/{id}/herostats => returns an array containing hero participation statistics. Entries need number of picks, number of bans, number of wins.

Role data: /roles/{id} => returns the role name (tank, bruiser, etc)

Sloth hero data: /sloth/{id}/herostats => returns an array containing heroes played statistics. Entries need hero name, times played, wins.

Most of the data is already being calculated somewhere (except sloth hero data), but especially for stats and recent results this only happens in the component that renders the data. This needs to be refactored to happen in the model, so both component and API can access it.

Ha. Free for all then?  Or any particular ways desired for enhancement?  Even just a link to a chat in discord to give context could spruce this one up to be more easily actionable.

I edited the original post with more concrete requests


Inconsistencies Editing Collectives

While working on the https://github.com/opencollective/opencollective-frontend/pull/7229 I realized we have some inconsistencies on our collective settings. Particularly how we handle validations seems inconsistent. Here are some things I've noticed;

Creating an event until the user hits save they are not told that the event name is mandatory. We either need to add validation on this field (preventing the unnecessary call to API and showing the error on the spot below the field) and/or add some indication in the field label that the field is mandatory.

Adding a new tier seems a bit painful again as the user isn't aware what fields are required. Firstly if the user just tries to create a tier with just the amount; it passes through but the tier isn't actually created. Also if the user only enters the name of the tier then there's an error indicating the amount is needed. So basically the user has the figure out that both fields are required. My suggestion is that we just show some simple validation on the form itself such that if the user do not enter the name or amount an error is shown below the field without the need for the API call in this case.

Creating an event until the user hits save they are not told that the event name is mandatory. We either need to add validation on this field (preventing the unnecessary call to API and showing the error on the spot below the field) and/or add some indication in the field label that the field is mandatory.

The default pattern for new developments is:

Show (optional) on optional fields
Everything else is considered mandatory
Never disable the submit button
Validate when clicking on "submit" and show the errors inline, below the concerned field(s)

Overall, it's cool if we can add some frontend validations easily but I would love to see a full rewrite of this form. There's a lof of hacky code in there (things like this https://github.com/opencollective/opencollective-frontend/blob/fix/no-payment-blocker/components/edit-collective/index.js#L87), technical debt (#4830) and it's not using the latest design system & best practices (Formik, validations, etc.).

Adding a new tier seems a bit painful again as the user isn't aware what fields are required. Firstly if the user just tries to create a tier with just the amount; it passes through but the tier isn't actually created. Also if the user only enters the name of the tier then there's an error indicating the amount is needed. So basically the user has the figure out that both fields are required. My suggestion is that we just show some simple validation on the form itself such that if the user do not enter the name or amount an error is shown below the field without the need for the API call in this case.

I would not invest in this one, we have a great re-design for this page in https://github.com/opencollective/opencollective/issues/3438. I will argue to include it in the upcoming sprints.

I would break the 2 problems mentioned there in separate issues, I see the link but they're 2 separate things.

I would not invest in this one, we have a great re-design for this page in #3438. I will argue to include it in the upcoming sprints.

Thanks for the input. I am closing this since the re-design I think should solve these issues. 👍🏽


fix: allow hashing for non-complex coefficients

Description
Include description of feature this PR introduces or a bug that it fixes. Include the following information:

Context: why is it needed? In case of bug, what was the cause for the bug?
Concise description of the implemented solution.
If any dependencies are added, list them and justify why they are needed.

Please verify that you have completed the following steps

[X] I have self-reviewed my code.
[ ] I have included test cases validating introduced feature/fix.
[ ] I have updated documentation.

Codecov Report
Base: 94.04% // Head: 94.05% // Increases project coverage by +0.00% :tada:

Coverage data is based on head (79bf026) compared to base (f06543d).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #69   +/-   ##
=======================================
  Coverage   94.04%   94.05%
=======================================
  Files          46       46
  Lines        3042     3044    +2
=======================================
+ Hits         2861     2863    +2
  Misses        181      181

Impacted Files
Coverage Δ

...rc/orquestra/quantum/operators/_pauli_operators.py
96.37% <100.00%> (+0.02%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


No Analytics for event if deleted from dashboard.

What App Center service does this affect?
Analytics React Native.
Describe the bug
There is an Event (say "Audio Played").
We are getting its analytics in Appcenter Dashboard.
If we DELETE EVENT HISTORY, I don't know why but future events with the same event name is not being tracked.
To Reproduce
Steps to reproduce the behavior:

Add some Analytics key point in your app.
Receive some data from it.
Come to the dashboard and delete event history.
Error: Dashboard not showing that particular Event.

Hello,
This is an expected behavior.
Deleting an event can be a long operation so while our backend is processing the request, we artificially "hide" the event from our API responses for an hour.
Future events emitted after the deletion completed will show up in our portal (and be returned by our API) within an hour.

Ohh, I got that thanks. I was confused that tracking is not happening.


Getting Javascript error when selecting the option first time.

TypeError: b.data is null
...$element.on("change.select2",function(){b.data.current(function(a){b.trigger("se...

Can you create a jsbin that reproduces this?


[3/5] Properly enable conda execution after data model decoupling

Describe your changes and why you are making these changes
This PR adds changes to properly enable conda execution after data model decoupling. Specifically, we added an AqueductCondaEngine{} that captures conda env name and applies to all function operators when using conda. This config will trigger the job manager to use conda environments to run function operator.
Related issue number (if any)
ENG-2470
Loom demo (if any)
Checklist before requesting a review

[ ] I have created a descriptive PR title. The PR title should complete the sentence "This PR...".
[ ] I have performed a self-review of my code.
[ ] I have included a small demo of the changes. For the UI, this would be a screenshot or a Loom video.
[ ] If this is a new feature, I have added unit tests and integration tests.
[ ] I have run the integration tests locally and they are passing.
[ ] I have run the linter script locally (See python3 scripts/run_linters.py -h for usage).
[ ] All features on the UI continue to work correctly.
[ ] Added one of the following CI labels:

run_integration_test: Runs integration tests
skip_integration_test: Skips integration tests (Should be used when changes are ONLY documentation/UI)

I will update these naming after merging to conda_refactor branch to minimize merge conflicst for @hsubbaraj-spiral


PHP version compatibility

Hi Rokas,
I'm working on a php v5.3 codebase. I'm downloaded Sage v1.5.4 and required it and I'm getting this error
 Parse error: syntax error, unexpected '=' in phar:///var/www/docroot/lib/sage.phar/Sage.php on line 354
I checked the file, and I'm suspecting it could be the array destructure that is only available in php v7.1.
Do you know what I can do about it?

I'm working on a php v5.3 codebase

I love that, good luck to you, brave soul :D
PHPStorm loves to zap the old array format into new despite my efforts to prevent it, I tried to find all usages of the new array initializer, I hope I did not miss any, let me know if the latest release works:
https://github.com/php-sage/sage/releases/tag/v1.5.5

I'm sorry it took so long for me to notice the issue, hope you get help from sage, I wish I had a 5.3 environment to test it on...

Actually found a way to test it and fixed what was still broken, here you go, heartfelt thanks for the issue!
https://github.com/php-sage/sage/releases/tag/v1.5.6


Creating WebspaceContext class

Refactoring fir Webspace context class which we can pass about and avoid passing $webspace, $userId, $segment, etc, etc everywhere.

@dantleech What about this PR? Any chance to merge it without too much work? Or would we have to change to much?

This PR doesn't seem to have anything to do with its title. We should dicuss this again.


Feature request - Sandwich

A simple sandwich recipe of bread, cheese, and any cooked meat. Probably should have it disable this recipe if one of the popular sandwich mods is installed.

That gives three uses for cheese now!


wireguard-go: remove from tree

This is very disappointing to submit.
This .nix was accepted into nixpkgs in very poor state, and it took some
efforts to even clean it up to be acceptable. During the process, the
original submitter (and maintainer) was nowhere to be found and did not
participate.
Since then, the maintainer of the package has failed to update it, to
the point where the current version in the tree no longer works properly
with the tools. (We intentionally made some breaking changes while we
were shaking out bugs from the first ever darwin release.) But
probably the maintainer of the package isn't really aware of that.
In otherwords, this seems unmaintained. And for a project that's still
based on snapshots, it seems important to have active interested
maintainers who are using this stuff, following the project, and bumping
releases accordingly.
Therefore, I think the choices at hand are: find a new maintainer for
this, or just remove it. I hope you'll do the former; maybe it will come
down to the latter, which is what this commit does.

CC: @Mic92 @kirelagin

As an update in activities, I've now emailed @kirelagin in order to direct his attention toward this PR.


Is possible use TextInputMask only as text?

Hello,
In my react native app I have inputs and texts that needs currency format. This component works fantastic with Inputs, but there is a way to use formatter function on Text tag, or use TextInputMask only as Text tag (I mean disable editing, remove underscore line and so on)?

Hi, yes.
Look at this DOCUMENTATION
(I need to improve this doc =P)


Server ACL Hotel California's a server to a room forever.

The Server Access Control List room state event and functionality announced by #1383 instructs all servers in a room to broadcast events to a banned server without allowing it to ever unsubscribe from such broadcasts.
In the case where a target host is banned via a m.room.server_acl but the host still has at least one user joined to the room, PDU's will continue to be sent to the banned target by remaining servers. That itself is specified and acceptable functionality, but a problem arises when the target server wishes to unsubscribe from the room: there is no mechanism to do so.
This is problematic for both the adversarial target server and the honest remaining room servers.

The target is effectively spammed with messages for all time, even after its clients try to leave or the server chooses to withdraw them upon being banned.
The remaining room servers expend effort to broadcast to the banned servers for all time or until an operator of a room withdraws all users from the banned server by other means.

Remember, these messages are not just limited to that room's events: calculations for where to broadcast presence updates, etc, may be burdened by this room's introduction of the banned servers.
Suggested solutions

The application of the ACL can be extended to outgoing units and not just incoming. This is a hard and coarse solution. As an aside, I'm not entirely clear on why the original specified behavior of #1383 did not achieve this.

The /send_leave endpoint is removed from the list of endpoints which check for an ACL. This allows for the banned target to unsubscribe its users from the room as its only possible action. Note, to prevent a banned server from spamming events through this endpoint any transition which is not membership=join -> membership=leave should be hard-failed immediately at the endpoint; perhaps among additional similar measures TBD.

@turt2live Why is this not a bug, wart, or some undesired behavior label?

Because this reads to me like a suggestion for something which needs considerable consideration. As things progress, the labels may change.


chore(deps): upgrade configuration

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-configuration-k8s-26-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 3676

Questions ?
Please refer to the Backport tool documentation


Publish to npm

I need to use this module in a project that don't have bower on its buildchain, but uses npm instead. I think with little effort the module can be ready for publish.

I published to npm here - https://www.npmjs.com/package/venn.js
I haven't tested running this code in node, but in theory the file 'src/export.js' should be adding to module.exports if there is no window present. Let me know if it this works =).

Thanks! I'll let you know if something goes wrong.


Clarification on description

Reading the meta-data descriptions several points come up, and need perhaps clarification:

Overview:

Start/End Date: Why is that limited to yyyy-mm-dd and not full yyyy-mm-ddTHH:MM:SS

Cable

CableCoordinates: This is redundant with the "Channel XYZ" coordinates. It should be unique where such information is stored to avoid confusion. Here it also not specified how the coordinates should be sorted (XYZ, YXZ, Lat/Long,....)
Connector_Coordinates: Maybe Channel Number is an easier and more unique descriptor?
Fibre_Mode: Perhaps a boolean is better? : Is_Single_Mode
Refraction_Index: I am not a native speaker, but "refractive index" sounds more correct to me :-)
Fibre Geometry is redundant with "winding angle"
Winding angle: Clarify that 0 deg equals a straight cable
Fiber start location: It says that it should be a float, but I guess you mean a list of floats? what coordinate system?
Comments: I like to have this field available! Should perhaps be available for a main sections?

Acquisition

SamplingRate: Should that be stored sampling rate?
InterrogatorRate: Maybe more specific would be InterrogationRate?
PRR: I wonder if there is any useful application to keep InterrogationRate and PRR
PulseWidth: This may be not applicable for chirp-pulse interrogators (like ASN) Perhaps worthwhile to check with them
GaugeLength: It says "between a pair of PULSES", but it should be "pair of CHANNELS" right?
ChannelSpacing: Some interrogators allow storing of spatially downsampled data. If this meta data is storing all possible information from the interrogator, then this should be stored here as well. But I feel the native units should be rather stored in the interrogator field, to avoid confusion
Decimation: Clarify if this is spatial or temporal (Redundant anyway with native/stored sampling Rate)
TimeFilter: Nice to have this as a separate field, but a more general "Applied_Pre-Processing" field may be better?

Channel

Clarify if this should be a list of objects or a single object with lists (I prefer the latter)
Distance along fiber: Clarify if this is optical, cable, or geodetic distance (optical should perhaps be covered in the fibre/cable section? Geodetic distance is redundant if coordinates are given)
Elevation: perhaps be consistent and call this Z-Coordinate?
Depth: To avoid confusion I strongly suggest to only allow one Z-coordinate direction. Since this is for IRIS, I suggest to stick to that system with positive up!
Strike/Dip: This is redundant information and can be obtained programatically from the coordinates
Direction of Pulse: Is there any case where this is not increasing? It says it is in units of degrees, that needs more clarification

This issue continued at https://github.com/FDSN/DAS-metadata/issues/7


One test case is passed but in another one starting two indices are interchanged

Challenge Return Largest Numbers in Arrays has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

function largestOfFour(arr) {
  // You can do this!
  var final=[];
  var max=0;
 // var k=0;
  for(var i=0;i<arr.length;i++)
    {
      for (var j=0;j<arr[i].length;j++)
        {
            if(arr[i][j]>max)
              {
                max=arr[i][j];

              }
        }
      final[i]=max;
    }
  return final;
}

largestOfFour([[4, 5, 1, 3], [13, 27, 18, 26], [32, 35, 37, 39], [1000, 1001, 857, 1]]);

Have you followed https://github.com/FreeCodeCamp/freecodecamp/wiki/FreeCodeCamp-Get-Help

Alternatively please reach out to:
JavaScript Chat Room.

Ok,Thank you
On Thu, Jul 21, 2016 at 5:10 PM, Mrugesh Mohapatra<EMAIL_ADDRESS>
wrote:

Alternatively please reach out to:
JavaScript Chat Room https://gitter.im/FreeCodeCamp/HelpJavaScript.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/9828#issuecomment-234229317,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARwbalzYUFwfyQPOy1yYbFwvr8qBSibpks5qX1qzgaJpZM4JRjuO
.

Thank you for the reply
but the result after testing the test case is
//Returns [5,27,39,1001]
the first two indices are interchanged
This was the issue with this problem.
On Thu, Jul 21, 2016 at 8:17 PM, Eric Leung<EMAIL_ADDRESS>wrote:

@srinivasu619 https://github.com/srinivasu619 thanks for the issue but
if you get stuck or have questions with a challenge in the future, please
first ask questions to the Help Room https://gitter.im/FreeCodeCamp/Help
or JavaScript Help Room https://gitter.im/FreeCodeCamp/HelpJavaScript.
Hint: look at what happens when a max number from an inner array is less
than one in the first inner array.
When I run your code for the second test, I get this
largestOfFour([[13, 27, 18, 26], [4, 5, 1, 3], [32, 35, 37, 39], [1000, 1001, 857, 1]]);// Returns [27, 27, 39, 1001]// But should return [27, 5, 39, 1001]
Happy coding!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/9828#issuecomment-234276193,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARwbaqeySq9MqGjSEM_FihGQoD1xdsZAks5qX4aBgaJpZM4JRjuO
.

I got the problem thankyou for the hint.
On Thu, Jul 21, 2016 at 8:17 PM, Eric Leung<EMAIL_ADDRESS>wrote:

@srinivasu619 https://github.com/srinivasu619 thanks for the issue but
if you get stuck or have questions with a challenge in the future, please
first ask questions to the Help Room https://gitter.im/FreeCodeCamp/Help
or JavaScript Help Room https://gitter.im/FreeCodeCamp/HelpJavaScript.
Hint: look at what happens when a max number from an inner array is less
than one in the first inner array.
When I run your code for the second test, I get this
largestOfFour([[13, 27, 18, 26], [4, 5, 1, 3], [32, 35, 37, 39], [1000, 1001, 857, 1]]);// Returns [27, 27, 39, 1001]// But should return [27, 5, 39, 1001]
Happy coding!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/9828#issuecomment-234276193,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARwbaqeySq9MqGjSEM_FihGQoD1xdsZAks5qX4aBgaJpZM4JRjuO
.


Governance. Lock. Wrong fiat calculations

Description
Lock shows 4000$ for 1000 DOT, while price is 4,31$

Environment
https://github.com/novasamatech/nova-spektr/commit/8c3d5c00a061602ad4de3705c567bf3fda656256

Status verification: ✅


Incorrect HTML5 routing

Disconnected from server main.9032bcab.js:1:35540
LTR0 main.9032bcab.js:1:4278000
Loading failed for the <script> with source "http://localhost:1699/controller/static/js/main.9032bcab.js". search:1:1

Only one separate controller possible. Even with GUI workaround, if you search from one it will close the other.


[sender] reset buffers on forks and reset the companion thread if dead or nil

We want to reset the MessageBuffer if we appear to be in a recent fork, since the contained messages belong to the parent process.
On top of that, when using the original multi-threaded Sender, this PR is re-spawning the companion thread if it seems to be dead for whatever reasons. It should automatically help when someone is using the multi-threaded mode in an app or framework using forks.
For some reasons, I had to remove the use of UDPSocket.new.tap since it was causing the interpreter to crash as soon as there was re-creation of a thread in fork childs.
This is a follow-up of and is replacing #199.

One extra thing that occurred to me is that some of the changes to the Sender classes are probably not thread-safe.
Since the intention seems to be that one Sender instance is used for a given ruby app, with all threads using it, I think we'll need to take an extra pass at the code while considering "what if this is happening concurrently".

One extra thing that occurred to me is that some of the changes to the Sender classes are probably not thread-safe.
Since the intention seems to be that one Sender instance is used for a given ruby app, with all threads using it, I think we'll need to take an extra pass at the code while considering "what if this is happening concurrently".

Yes entirely true, that's exactly what I'm doing right now by adding a mutex, mainly around the message queue. 👍

Addressed by #205


Update HOWTO.md

Add a minimal Requirements section that notes the dependency on packer and provides a link for info on installing packer.

I copied this to the new repo so presumably this request can be closed.


fatal: invalid reference: master

It seems the branch name has been changed from master to something else.
How can this be installed with vim-plug?

Hi, @avahe-kellenberger. I don't use Plug so I don't know what you should being doing. Have you tried to no specify any branch? This is how I configure the coloscheme with Packer: https://github.com/lourenci/dotfiles/blob/bd13912314ea72112abc3886020e6174ffdfd134/vim/.vim/lua/plugins.lua#L76

I think I've renamed the main branch. Have you tried to remove the colorscheme, packer you plugin and tried to add it again?


CB-5293. Periscope access for totalHosts in CM (2.18)

Enables Periscope to retrieve getTotalHosts from a CM cluster. Previous it was Ambari-only, but this patch adds another level of abstraction which makes the call transparent for the caller and supports both cluster managers.
No tests added, but recommendations are welcome.

closing in favor of https://github.com/hortonworks/cloudbreak/pull/7351


Google and FB login fails on tns-android 4.0.1

I have:
nativescript-social-login: 4.0.1
nativescript-cli: 4.0.1
tns-android: 4.0.1
Build was successful, however when I try to call loginWithFacebook or loginWithGoogle it doesn't work. In case of Google, it shows the "Choose account" popup, but after choosing account nothing happens. Where as facebook dont even show any dialog.

Added logger and got the following
JS: --  doGoogleLogin --
JS: [nativescript-social-login]: (): Provider: google
JS: [nativescript-social-login]: (): Will use Google sign in...
JS: [nativescript-social-login]: (loginWithGoogle()): Starting activity for result...
JS: [nativescript-social-login]: (onActivityResult()): Cancelled
JS: [nativescript-social-login]: (onActivityResult()): result. provider = google
JS: [nativescript-social-login]: (onActivityResult()): result. code = 1
JS: [nativescript-social-login]: (onActivityResult()): Calling Callback function with Results
JS: result =>  {"provider":"google","code":1}
It is expected to return the account details like ID email etc. but got only "code":1
JS: --  doFacebookLogin --
JS: [nativescript-social-login]: (): Provider: facebook
JS: [nativescript-social-login]: (): Will use Facebook SDK...
JS: [nativescript-social-login]: (loginWithFacebook()): Starting activity for result...
JS: [nativescript-social-login]: (loginWithFacebook()): [ERROR] runOnUiThread(): TypeError: Cannot read property 'logInWithReadPermissions' of undefined
FB login is erroring out

This issue was because of a name change in the AppId. Fixed it by changing the AppId in Google and Facebook App Settings page.

I have exactly the same issue - loginWithGoogle responds with just the provider, no other info. I've checked the mobile app's SHA1 fingerprint and it's identical in Firebase. The App ID (i.e. the Project Number) from Firebase Console is correct in the google-services.json of the mobile app. The package-name is also identical in both places. But I still don't get the login-result.
I'm not yet trying Facebook.
@ssajith, could you please give us more detail of exactly what you did to fix the issue? Thanks!

Could you please try to delete the contents of the platforms folder and build again.

Did that, no change. Cleaned out node_modules and tried again, no change. And the facebook connector does not even come up - the call to loginWithFacebook crashes the app.
Not sure if this is the place for this other (related?) issue: trying to debug the app crashes it - stopping the debugger at the call to loginWithGoogle or loginWithFacebook crashes the app. Going past the call to its return, in the case of loginWithGoogle, returns OK but with no info.
Any thoughts appreciated!

This issue was because of a name change in the AppId. Fixed it by changing the AppId in Google and Facebook App Settings page.
@ssajith Is it related to a change made by you or something that google changed?


Add verify and verify_m functions

Changes

Added verify() and verify_m() functions to verify passwords against hashes, similar to the verify() method in the argon2-cffi library.

Hm, I guess GitHub actions broke. I will check in later.


Support for publisher filter along the keyword search

Is your feature request related to a problem? Please describe.
For example, if the user want to search for the Maui packages published by Microsoft, there is no provision to do that.
As of now, user has to search with Maui (relevant) keyword or visit Microsoft (publisher) profile page and look manually by traversing multiple pages.
Describe the solution you'd like
Either enable the search option in the publisher profile page or add publisher filter in global search page.
Additional context
I hope the description is self explanatory.

@egvijayanand , thanks for the proposal!
As a stop gap, to filter by package owner you can use the following query pattern:

Hi @skofman1, thanks for the feedback.
Yes, combining the search query term and the owner: pattern does produce the intended result.
Is there any area in documentation where I can such hidden power filters like these. If so, please share the link.

Here it is: https://docs.microsoft.com/en-gb/nuget/consume-packages/finding-and-choosing-packages#search-syntax

Hi @skofman1, thanks for the link.

Closing since it appears the question has been answered.


Integrated MODE7 teletext mode

Got the agon_ttxt code integrated into the new code bas. It gives you MODE7 with most of the peculiarities of MODE7 on the BBC micro. Works with text windows (VDU 28). Only the stock British charset is supported, not the other SAA500x charsets.

Getting the following warning in the Arduino IDE when compiling:
In file included from /home/dean/Dev/github/agon-vdp/video/video.ino:61:
/home/dean/Dev/github/agon-vdp/video/agon_ttxt.h:91:11: warning: unknown escape sequence: '\`'
       c = '\`';
           ^~~~
/home/dean/Dev/github/agon-vdp/video/agon_ttxt.h:93:10: warning: unknown escape sequence: '\`'
     case '\`':
          ^~~~`

Other than that, compiles and works just fine. Thank you!
Will need to QA along with a few more changes that Steve's made.

@lennart-benschop If I do the following, I'm unable to switch to Mode 7 until after a reset of the Agon:
MODE 7
MODE 2
MODE 7

The third mode change fails.

Are you sure you enable PSRAM? MODE7 is one of the things that really needs it. Here I can switch back and forth between MODE 7 and MODE 2 without problems.

Great work. Even flashing and double height text are implemented. Much appreciated.

Added an uninit() method to de-allocate buffers allocated by init(). So now even when PSRAM is enabled, you can switch back and forth between MODE7 and MODE2 without problems.

Are you sure you enable PSRAM? MODE7 is one of the things that really needs it. Here I can switch back and forth between MODE 7 and MODE 2 without problems.

I'm pretty sure I do - will check tomorrow when testing.

Are you sure you enable PSRAM? MODE7 is one of the things that really needs it. Here I can switch back and forth between MODE 7 and MODE 2 without problems.

I'm pretty sure I do - will check tomorrow when testing.

Looks like it was disabled for some reason - good spot.

Merged with main branch - thank you again @lennart-benschop


datagen.fit() not working properly

I have a question about  using fit() on ImageDataGenerator.
I  run MNIST testing successfully with Dense layers , in batches.
Following code works perfectly( Validation Accuracy 98.5%).
# load

    (X_train, y_train), (X_test, y_test) = mnist.load_data()
    # separate data into train and validation
    from sklearn.model_selection import train_test_split
    # Split the data
    valid_per = 0.15
    X_train, X_valid, y_train, y_valid = train_test_split(X_train, y_train, test_size=valid_per, shuffle= True)

    N1 = X_train.shape[0] # training size
    N2 = X_test.shape[0] # test size
    N3 = X_valid.shape[0] # valid size
    h = X_train.shape[1]
    w = X_train.shape[2]

    num_pixels = h*w
    # reshape N1 samples to num_pixels
    #x_train = X_train.reshape(N1, num_pixels).astype('float32') # shape is now (51000,784)
    #x_test = X_test.reshape(N2, num_pixels).astype('float32') # shape is now (9000,784)

    y_train = np_utils.to_categorical(y_train) #(51000,10): 10000 lables for 10 classes
    y_valid = np_utils.to_categorical(y_valid) #(9000,10): 9000 labels for 10 classes
    y_test = np_utils.to_categorical(y_test) # (10000,10): 10000 lables for 10 classes

    num_classes = y_test.shape[1]

    def baseline_model():
    # create model
     model = Sequential()
     # flatten input to (N1,w*h) as fit_generator expects (N1,w*h), but dont' have x,y as inputs(so cant reshape)
     model.add(Flatten(input_shape=(h,w,1)))
     model.add(Dense(num_pixels, input_dim=num_pixels, kernel_initializer='normal', activation='relu'))
     # Define output layer with softmax function
     model.add(Dense(num_classes, kernel_initializer='normal', activation='softmax'))
     model.compile(loss='categorical_crossentropy', optimizer='adam', metrics=['accuracy'])
     return model

    model = baseline_model()
    model.summary()

    batch_size = 200
    epochs = 20
    steps_per_epoch_tr = int(N1/ batch_size) # 51000/200
    steps_per_epoch_val = int(N3/batch_size)

    # reshape to be [samples][width][height][ channel] for ImageData Gnerator->datagen.flow
    x_t = X_train.reshape(N1, w, h, 1).astype('float32')
    x_v = X_valid.reshape(N3, w, h, 1).astype('float32')

    # define data preparation
    #datagen = ImageDataGenerator(rescale=1./255,featurewise_center= True,featurewise_std_normalization=True,width_shift_range=0.1,height_shift_range=0.1) # scales x_t
    datagen = ImageDataGenerator(rescale=1./255,width_shift_range=0.1,height_shift_range=0.1) # scales x_t
    #datagen.fit(x_t)
    #datagen.fit(x_v)
    train_gen = datagen.flow(x_t, y_train, batch_size=batch_size)
    valid_gen = datagen.flow(x_v,y_valid, batch_size=batch_size)

    model.fit_generator(train_gen,steps_per_epoch = steps_per_epoch_tr,validation_data = valid_gen,
     validation_steps = steps_per_epoch_val,epochs=epochs)

now, if i comment out line 53, and un-comment line 52,  54 and 55, I get validation accuracy of  1%.
so, this gives poor accuracy:
datagen = ImageDataGenerator(rescale=1./255,featurewise_center= True,featurewise_std_normalization=True,width_shift_range=0.1,height_shift_range=0.1) # scales x_t
   ##datagen = ImageDataGenerator(rescale=1./255,width_shift_range=0.1,height_shift_range=0.1) # scales x_t
   datagen.fit(x_t)
   datagen.fit(x_v)

If I un-comment line 52, but keep lines 54,55 commented out, accuracy is again 98.5%,
 datagen = ImageDataGenerator(rescale=1./255,featurewise_center= True,featurewise_std_normalization=True,width_shift_range=0.1,height_shift_range=0.1) # scales x_t
    ##datagen = ImageDataGenerator(rescale=1./255,width_shift_range=0.1,height_shift_range=0.1) # scales x_t
    #datagen.fit(x_t)
    #datagen.fit(x_v)

but as per Keras documentation, we need lines 54 and 55 if we use  featurewise_center.
So,Why is datagen.fit() not working properly.

Don't use rescale and feature normalization at the same time.
It works in the first case, because if you don't call fit, featurewise_center / std_norm will be ignored. You'll just get a warning instead and the parameters are ignored. If you call fit, you'll rescale and normalize at the same time.

HI nwittstruck,
thanks for the reply.  So, with featurewise normalization, are you saying that scaling is not needed? does that mean featurewise scaling  would also limit image intensities between [0,1] as would be done by scaling by 255?


feat(docs): Update README.md

Summary
Changes

[x] Added logo to the top
[x] Aligned header elements to the center

This change will make it look symmetrical and aligned in a proper format.

Screenshot

Can you share a screenshot?

Sure @mrkev

Sure @mrkev , Summary updated! We do have other options to look for i.e., we can place the gif after the introductory content. I would like to know your thoughts on this.
Thanks 👍

@iamdarshshah I think keeping the gif there is ok— it's a quick way of seeing what draft is and we should open with it.
The logo looks a little big though. I know it's a current design trend to have the big, centered logo, but this always felt weird. I did a little research and I think it's probably because other Facebook JS projects don't even show their logo on their readme: react-native, react, relay.
It's a cool logo though, so I'm down to try it out. Can we try putting it inline before the title (ie, "[logo] Draft.js")? That'd be my first option, though I'm open to see how it looks on top but maybe like around 50% smaller (:

I think keeping the gif there is ok— it's a quick way of seeing what draft is and we should open with it.

Okay, agreed! @mrkev 👍

Can we try putting it inline before the title (ie, "[logo] Draft.js")?

Already did that, but the text was not aligning center vertically. Also, that was not looking as we are expecting it to look. Thus, my suggestion for this is to create an SVG that includes [logo] text aligned side-by-side and we can update it as docs logo. Would like to know your thoughts on this?
Regarding reducing image size by 50%, then it will look like this:

I like this size much better. Lmk when the commit is updated and I'll import it (:

Thanks @mrkev 👍 , commit is Updated. You can now review it :)


Game Title
Ready or Not
Game Website
https://voidinteractive.net/
Anti-Cheat Software
Other
Status of the Anti-Cheat
❔ Unconfirmed
Proof of Mention
N/A

I think it works on Proton including online?

This game does have multiplayer, but no versus mode, and no anti-cheat. If in the future it does get versus, and it comes with anti-cheat, please reopen this issue!


Update index - Copy (10).md

OPS Build status updates of commit a58f127:
:clock10: Full build: average full build time is 10 min(s) 45 sec(s) [calculated from last 13 build(s)]

Note: This is a FULL build due to the 'master-312' branch being a new branch in Open Publishing service and is still building. No action is required on your part. For more detailed info, please click here.

OPS Build status updates of commit a58f127:
:warning: Validation status: warnings

File
Status
Preview URL
Details
Dependent Files

realtimeinsighttest/1/index - Copy (10).md
:warning:Warning
View
Details

realtimeinsighttest/1/index - Copy (10).md

[Warning] File 1/index - Copy (10).md contains invalid character(s): '/' ' ' ' ' ' ' '(' ')'. File names can only include letters, numbers, and hyphens.

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


 onClick handler cannot differentiate mouse events from keyboard events

Problem
In #933, I added keyboard event to the onClick event handler, and onClick handler is now a polymorphic event handler that handles two types of events: mouse event and keyboard event. This allow users to trigger navigation on a Link component using the keyboard, which is the accessibility best practice.
However, the onClick function arguments do not tell whether the event is a mouse event or a keyboard event. It is now impossible for the handler to apply logic specific to the mouse event case, such as accessing mouse-event specific properties (e.g. event.clientX). Feature detection on the event object might work, but would be very ugly.
I also did the following attempts but no access:

event instanceof SyntheticMouseEvent: doesn't work probably because SytheticMouseEvent is just an abstract flow interface and is not an actual class.
event instanceof MouseEvent: flow complains about checking SynethicEvent against a native DOM event class.

Possible Solutions
Here are a list of solutions I can think of:
A. better polymorphic onClick signature
({|
  +eventType: 'mouse',
  +event: SyntheticMouseEvent<>
|} | {|
  +eventType: 'keyboard',
  +event: SyntheticKeyboardEvent<>
|}) => void

B. separate the keyboard case to a new onPress prop
C. separate the keyboard case to a new onPress prop, and also add onClickOrPress prop (which will do what onClick does today)

but we also have onKeyDown for handling all keyboard events

Moved internally