rust-analyzer debug feature fails in vscode

Hello,
Scenario: Unsuccessfull debug from vscode file
   Given a developer who uses vscode
   When he clicks debug at the top of main function generated by rust-analyzer
   Then debug fails with "Failed to parse: Failed to parse feature: Could not read path:" even if the absolute path is set as input

From my first investigation, it seems cucumber is trying to merge path from its own crate location, instead of the testing crate path.
If I create a launch.json debug configuration, then I don't have any problem: the test is running as expected.
Thank you in advance for your help.

@Alphapage I'm not VSCode user, so didn't hit such problem.
Could you specify which command is run when "Debug" is clicked?

Sorry, but it seems to be related to : https://github.com/rust-lang/rust-analyzer/issues/10408
Working config from launch.json:
{
            "type": "lldb",
            "request": "launch",
            "name": "Debug integration test 'cucumber'",
            "cargo": {
                "args": [
                    "test",
                    "--no-run",
                    "--test=cucumber",
                    "--package=dev"
                ],
                "filter": {
                    "name": "cucumber",
                    "kind": "test"
                }
            },
            "args": [],
            "cwd": "${workspaceFolder}"
        }

Rust-analyzer debug lens config:
{
  "type": "lldb",
  "request": "launch",
  "name": "run cucumber",
  "program": "/Users/desktop/dev/target/debug/deps/cucumber-5d6945f264a7a24d",
  "args": [],
  "cwd": "/Users/desktop/dev",
  "sourceMap": {},
  "sourceLanguages": [
    "rust"
  ],
  "env": {
    "RUST_BACKTRACE": "short",
    "COMMAND_MODE": "unix2003",
    "HOME": "/Users/desktop",
    "HOMEBREW_CELLAR": "/opt/homebrew/Cellar",
    "HOMEBREW_PREFIX": "/opt/homebrew",
    "HOMEBREW_REPOSITORY": "/opt/homebrew",
    "INFOPATH": "/opt/homebrew/share/info:",
    "LOGNAME": "desktop",
    "LaunchInstanceID": "821CDDA6-A04D-4480-B374-91A3ED30BC08",
    "MANPATH": "/opt/homebrew/share/man::",
    "MallocNanoZone": "0",
    "OLDPWD": "/",
    "ORIGINAL_XDG_CURRENT_DESKTOP": "undefined",
    "PATH": "/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/desktop/.cargo/bin:/Users/desktop/dev/bin",
    "PWD": "/",
    "SECURITYSESSIONID": "186a3",
    "SHELL": "/bin/zsh",
    "SHLVL": "0",
    "SSH_AUTH_SOCK": "/private/tmp/com.apple.launchd.MeZJWHAoqG/Listeners",
    "TMPDIR": "/var/folders/3v/j9vt6qc502b5ht2p8w_9c76m0000gn/T/",
    "USER": "desktop",
    "VSCODE_AMD_ENTRYPOINT": "vs/workbench/api/node/extensionHostProcess",
    "VSCODE_CODE_CACHE_PATH": "/Users/desktop/Library/Application Support/Code/CachedData/f1b07bd25dfad64b0167beb15359ae573aecd2cc",
    "VSCODE_CRASH_REPORTER_PROCESS_TYPE": "extensionHost",
    "VSCODE_CWD": "/",
    "VSCODE_HANDLES_UNCAUGHT_ERRORS": "true",
    "VSCODE_IPC_HOOK": "/Users/desktop/Library/Application Support/Code/1.83-main.sock",
    "VSCODE_NLS_CONFIG": "{\"locale\":\"en-gb\",\"osLocale\":\"en-fr\",\"availableLanguages\":{},\"_languagePackSupport\":true}",
    "VSCODE_PID": "544",
    "XPC_FLAGS": "0x0",
    "XPC_SERVICE_NAME": "application.com.microsoft.VSCode.41679192.41679198",
    "_": "/Applications/Visual Studio Code.app/Contents/MacOS/Electron",
    "__CFBundleIdentifier": "com.microsoft.VSCode",
    "__CF_USER_TEXT_ENCODING": "0x1F5:0x0:0x0",
    "ELECTRON_RUN_AS_NODE": "1"
  }
}


Make readme describe github access token usage correctly

It's possible that I'm missing something here, but I think the correct environemnt variable for the github access token is GITHUB_ACCESS_TOKEN, not PRONTO_GITHUB_ACCESS_TOKEN.  I've updated the readme accordingly.

Oops.  Using an old version of pronto.   Closing PR.


Match always updates all the encrypted files in git

Issue Description
Openssl encryption operation change the hash of file. When I run match command with development type, the git commit diff contains changes of all certs and profiles. Is it possible to push only updated files?
Environment
✅ fastlane environment ✅
Stack

Key
Value

OS
10.11.5

Ruby
2.3.1

Bundler?
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.0

Git
git version 2.8.4 (Apple Git-73)

Installation Source
/usr/local/rvm/rubies/ruby-2.3.1/bin/fastlane

Host
Mac OS X 10.11.5 (15F34)

Ruby Lib Dir
/usr/local/rvm/rubies/ruby-2.3.1/lib

OpenSSL Version
OpenSSL 1.0.2h  3 May 2016

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

credentials_manager
0.16.2
✅ Up-To-Date

fastlane_core
0.53.0
✅ Up-To-Date

spaceship
0.36.2
✅ Up-To-Date

deliver
1.14.5
✅ Up-To-Date

snapshot
1.16.2
✅ Up-To-Date

frameit
3.0.0
✅ Up-To-Date

pem
1.3.2
✅ Up-To-Date

cert
1.4.3
✅ Up-To-Date

sigh
1.11.2
✅ Up-To-Date

produce
1.2.1
✅ Up-To-Date

gym
1.11.3
✅ Up-To-Date

pilot
1.11.1
✅ Up-To-Date

scan
0.13.1
✅ Up-To-Date

supply
0.7.1
✅ Up-To-Date

screengrab
0.5.5
✅ Up-To-Date

fastlane
1.106.2
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded*
Loaded gems

Gem
Version

did_you_mean
1.0.0

executable-hooks
1.3.2

bundler-unload
1.0.2

rubygems-bundler
1.4.4

bundler
1.13.5

io-console
0.4.5

highline
1.7.8

commander
4.4.0

terminal-table
1.4.5

json
1.8.3

multipart-post
2.0.0

faraday
0.9.2

faraday_middleware
0.10.0

dotenv
2.1.1

net-ssh
3.2.0

net-sftp
2.1.2

plist
3.1.0

rubyzip
1.1.7

security
0.1.3

krausefx-shenzhen
0.14.10

slack-notifier
1.5.1

i18n
0.7.0

thread_safe
0.3.5

tzinfo
1.2.2

minitest
5.8.3

activesupport
<IP_ADDRESS>

colored
1.2

claide
1.0.1

xcodeproj
1.3.3

rouge
1.11.1

xcpretty
0.2.4

terminal-notifier
1.7.1

addressable
2.3.8

xcode-install
2.0.7

word_wrap
1.0.0

multi_json
1.12.1

babosa
1.0.2

excon
0.54.0

gh_inspector
1.0.2

credentials_manager
0.16.2

fastlane_core
0.53.0

multi_xml
0.5.5

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20160826

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
1.6.8

mini_magick
4.5.1

xcpretty-travis-formatter
0.0.4

uber
0.0.15

representable
2.3.0

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

hurley
0.2

little-plugger
1.1.4

logging
2.1.0

jwt
1.5.6

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
<IP_ADDRESS>

google-api-client
0.9.19

generated on: 2016-10-26

Hi @AlexTatarinchik Thanks for your question. Right now this isn't possible but I'll mark this as a feature request. Hope you have a great weekend.

This is currently not the case, as OpenSSL will encrypt the file every time, with a different hash. Why is this a problem?

Before adding of coma separated input for app_identifier, I had a big bash script with more than 300 match calls for every bundleID and type(adhoc, development, appstore). The git history was grown in size. The repo cloning time was grown. Every match call was re-encrypting all repository items. I think that is good approach to see in git commit only the real file changes.
Thank you for coma separated input update.

@AlexTatarinchik Thanks for following up. This is interesting, how long is your run taking at this point? 👍


otl.gg/team - New stats

All average stats will need to be adjusted for overtime periods.
Damage related:

[x] - Players - Add total damage, average damage per game, and average damage per death

CTF related:

[x] - Show Home Maps for all modes.
[x] - Season Records - Split into TA and CTF records.
[x] - Players - Total and average captures, pickups, carrier kills, returns, in addition to existing stats
[x] - Players - Separate section for TA & CTF stats

Fixed by 5ecd9e0f1d221d1d496ac78b4aa71b699979c33f.


Features: add command should explain that multiple fields can be added at the same time

Agreed. Also linked to a bug that i just saw:
"To view a comprehensive list of multi-valued fields and their prefixes, go to the start of the Features section."

Btw should we wrap the message around a info box?

I feel no need, currently it looks neat, putting too many info boxes in the section may cause some visual confusion.


update password and name inputs

Resolves #328  & #339

Add show and hide password
Remove paste button
Single line when create account/wallet rename account/wallet

The colour of the show icon isn't black. Kindly have a look at the mockups on Figma for the correct colour. It is already defined in the decredmaterial package as "Gray"

When the show icon is clicked, it should be changed to the hide icon as in the screenshot below


Add support for matter cli in EFR32 example apps

Problem
Matter cli only runs on the shell example app for EFR32 platform
Change overview
Create a platform source_set for shell support on efr32.
Pull the shell task to platform wide file.
Shell main loob is notified on uart rx activity instead of the busy wait to read a line used in the shell example app.
Testing
build examples with chip_build_libshell argument to true
e.g:gn gen out/debug --args='efr32_board="BRD4186A" chip_build_libshell=true'
Test that matter cli is available on the serial port

Fast tracking platform changes pushed by a platform maintainer.


How to test core by different environments?

This depends on #56 .
If I use the polyfill pattern, I don't have to do anything special. By nodejs, I can test from console. By browsers I can test with karma after I browserified the same polyfill core.
If I use different cores by different environments, then I have to create environment specific builds of the code and I have to browserify those.

This belongs to o3 deployment.


hpctraceviewer crashes on Cori when enlarging the window

Java version:
Java(TM) SE Runtime Environment (build pxa6470_27sr4fp15-20171116_01(SR4 FP15))
IBM J9 VM (build 2.7, JRE 1.7.0 Linux amd64-64 Compressed References 20171011_366929 (JIT enabled, AOT enabled)
J9VM - R27_Java727_SR4_20171011_1720_B366929
JIT  - tr.r13.java_20171011_366929
GC   - R27_Java727_SR4_20171011_1720_B366929_CMPRSS
J9CL - 20171011_366929)
JCL - 20171109_01 based on Oracle jdk7u161-b13

Call stack of the crash:
java.lang.NullPointerException
        at org.eclipse.swt.graphics.GC.drawImage(GC.java:789)
        at org.eclipse.swt.graphics.GC.drawImage(GC.java:769)
        at edu.rice.cs.hpc.traceviewer.depth.DepthViewPaint.drawPainting(DepthViewPaint.java:97)
        at edu.rice.cs.hpc.traceviewer.painter.BaseViewPaint.endPainting(BaseViewPaint.java:312)
        at edu.rice.cs.hpc.traceviewer.painter.BaseViewPaint.executePaint(BaseViewPaint.java:247)
        at edu.rice.cs.hpc.traceviewer.painter.BaseViewPaint.paint(BaseViewPaint.java:197)
        at edu.rice.cs.hpc.traceviewer.painter.BaseViewPaint.run(BaseViewPaint.java:89)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Additional error message:
java: cairo-surface.c:956: cairo_surface_destroy: Assertion `(_cairo_atomic_int_get (&(&surface->ref_count)->ref_count) > 0)' failed.
JVMDUMP039I Processing dump event "abort", detail "" at 2018/05/26 04:44:11 - please wait.
JVMDUMP032I JVM requested System dump using '/global/u2/l/laksono/svn/hpctoolkit-tests/applications/AMG2006/test/core.20180526.044411.6911.0001.dmp' in response to an event
JVMPORT030W /proc/sys/kernel/core_pattern setting "|/usr/lib/systemd/systemd-coredump %P %u %g %s %t %e" specifies that the core dump is to be piped to an external program.  Attempting to rename either core or core.7073.

JVMDUMP012E Error in System dump: The core file created by child process with pid = 7073 was not found. Expected to find core file with name "/global/u2/l/laksono/svn/hpctoolkit-tests/applications/AMG2006/test/core.7073"
JVMDUMP032I JVM requested Java dump using '/global/u2/l/laksono/svn/hpctoolkit-tests/applications/AMG2006/test/javacore.20180526.044411.6911.0002.txt' in response to an event
JVMDUMP010I Java dump written to /global/u2/l/laksono/svn/hpctoolkit-tests/applications/AMG2006/test/javacore.20180526.044411.6911.0002.txt
JVMDUMP032I JVM requested Snap dump using '/global/u2/l/laksono/svn/hpctoolkit-tests/applications/AMG2006/test/Snap.20180526.044411.6911.0003.trc' in response to an event
JVMDUMP010I Snap dump written to /global/u2/l/laksono/svn/hpctoolkit-tests/applications/AMG2006/test/Snap.20180526.044411.6911.0003.trc
JVMDUMP007I JVM Requesting JIT dump using '/global/u2/l/laksono/svn/hpctoolkit-tests/applications/AMG2006/test/jitdump.20180526.044411.6911.0004.dmp'

#JITDUMP:  vmThread=0000000000557C00 Recursive crash occurred. Aborting JIT dump.JVMDUMP010I JIT dump written to /global/u2/l/laksono/svn/hpctoolkit-tests/applications/AMG2006/test/jitdump.20180526.044411.6911.0004.dmp
JVMDUMP013I Processed dump event "abort", detail "".

This repository has moved to GitLab, please continue this issue there.


refactor/chore: address compilation warnings

Tried to avoid changing types as much as possible and use casts instead, but as far as I know it's better to avoid using unsigned int, since its size may vary between architechtures and operative systems, and instead use fixed size types, like size_t or uintX_t.

Amazing work, does this clean all the warnings that we had in the engine?

Thank you very much! Not all of them, only the compilation ones, which as you can see in the changes were mostly about unchecked size changes. If we run a code analysis we'll still have some, like usage of C-style casts, for instance.


CDPH CA - Missing Specimen and Result Data

## Problem statement
Received an email from Jocelyn San Nicolas at CDPH CA on 11/8/2022:
Some of the CDC SimpleReport ELRs are not populating the Specimen and Result dates for labs, those are missing from the Laboratory tab for the incidence, but the lab entry is filled out correctly in the Filing Cabinet. Below are 10 that Imperial has found so far & there may be more. Do you have any insight on this?
What you need to know
Imperial county
CDC ReportStream-SimpleReport (CDPH000085)
Incident IDs provided in the last email but also including accession #s. Hope this helps, thank you
Accession #: 8c378dd2-c7e9-4f03-9495-a19b8ae061f3
Incident ID:  156331222
`046fc1fb-53dc-41de-a670-512443f194fc
156331088
0f315703-ed17-4793-9e1e-b7f0cafc9596
156331138
6b591640-85ad-4671-9c3d-228c1063836e
156331155
3be736d7-543f-4b6a-84b6-b39343f4c06d
156331147
73f4af7f-f394-4b9a-9e94-200f150fee56
156331107
9a165087-e0a2-44ea-a031-118cbacd3fc9
156331162
e499c10f-bcfb-454c-95e7-b0e02c436c4f
156331167
?
156331182
5a90659c-fbe6-4b68-83bf-b5b1ad62ce6e
156331233
To do
Assign to an Engineer

@BerniXiongA6 let's add a Sprint 56 to this ticket.

This appears to be an internal issue to CA. For the messages being sent to CA we are populating the following date/time fields in the HL7 message for the listed accession numbers above. MSH-7 (date/time of message), ORC-15 (order effective date/time), OBR-7 (observation date/time), OBR-8 (observation end date/time), OBR-22 (results rpt date/time), OBX-14 (date/time of observation), OBX-19 (date/time of analysis), SPM-17 Specimen collection date/time), SPM-18 (specimen received date/time). All the above date time stamps are being sent with format yyyymmddhhmmss+/-zzzz (offset).

@GilmoreA6
Emailed the user to let them now that we are sending all those values over to them and to please check their internal system.  Also, advised them to reach out to us if they'd like to schedule a call to discuss further.

User provided an update that states:
"Hello,
I am following up on this request and the possible mismatch with the time in MSH 7. Accession numbers were provided on 12/1 as requested. Can you please send an update to this inquiry.
Thank you!
Jocelyn

Hi Jocelyn,
Thank you for your email.  We are still waiting on the CalConnectintegration team to provide us with the filenames per the accession numbers.
Best regards,
Sharon
The ReportStream Support Team
Contact us at<EMAIL_ADDRESS>Support hours:  8:00 am through 9:00 pm Eastern time
Monday-Friday, excluding US public holidays
From: CDPH CalREDIEELR<EMAIL_ADDRESS>Sent: Thursday, December 8, 2022 7:11 PM
To: Report Stream (CDC<EMAIL_ADDRESS>SimpleReport Support (CDC<EMAIL_ADDRESS>Kerry, Laura (CDC/DDPHSS/OD/HITSSU<EMAIL_ADDRESS>King, Laura (CDC/DDPHSS/OD/HITSSU) (CTR<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Green, Brick (CDC/DDPHSS/OD/HITSSU) (CTR<EMAIL_ADDRESS>Cc: CalConnect Integration@CDPH <EMAIL_ADDRESS>Subject: RE: Possible mismatch with Universal Time and Local Time.
Hello,
I am following up on this request and the possible mismatch with the time in MSH 7. Accession numbers were provided on 12/1 as requested. Can you please send an update to this inquiry.
Thank you!
Jocelyn
From: Report Stream (CDC<EMAIL_ADDRESS>Sent: Thursday, December 1, 2022 12:11 PM
To: CDPH CalREDIEELR<EMAIL_ADDRESS>SimpleReport Support (CDC<EMAIL_ADDRESS>Kerry, Laura (CDC/DDPHSS/OD/HITSSU<EMAIL_ADDRESS>King, Laura (CDC/DDPHSS/OD/HITSSU) (CTR<EMAIL_ADDRESS><EMAIL_ADDRESS>Green, Brick (CDC/DDPHSS/OD/HITSSU) (CTR<EMAIL_ADDRESS>Subject: Re: Possible mismatch with Universal Time and Local Time.
Please find attached the accession numbers. The ReportStream Support Team Contact us at reportstream@ cdc. gov Support hours: 8: 00 am through 9: 00 pm Eastern time Monday-Friday, excluding US public holidays From: CDPH CalREDIEELR <CalREDIEELR@ cdph. ca. gov>
Please find attached the accession numbers.
The ReportStream Support Team
Contact us at<EMAIL_ADDRESS>Support hours:  8:00 am through 9:00 pm Eastern time
Monday-Friday, excluding US public holidays
From: CDPH CalREDIEELR<EMAIL_ADDRESS>Sent: Thursday, December 1, 2022 3:03 PM
To: Report Stream (CDC<EMAIL_ADDRESS>SimpleReport Support (CDC<EMAIL_ADDRESS>Kerry, Laura (CDC/DDPHSS/OD/HITSSU<EMAIL_ADDRESS>King, Laura (CDC/DDPHSS/OD/HITSSU) (CTR<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Green, Brick (CDC/DDPHSS/OD/HITSSU) (CTR<EMAIL_ADDRESS>Subject: RE: Possible mismatch with Universal Time and Local Time.
Hello,
Thank you for looking into this. I’m unsure of how this became an issue about duplicates? This ticket was originally opened in efforts to address the ‘future’ time in MSH 7. Looping back in the CalConnect team<EMAIL_ADDRESS>Do you have any specific accession numbers that you can provide for investigating this issue?
-Jocelyn
From: Report Stream (CDC<EMAIL_ADDRESS>Sent: Thursday, December 1, 2022 11:53 AM
To: SimpleReport Support (CDC<EMAIL_ADDRESS>CDPH CalREDIEELR<EMAIL_ADDRESS>Kerry, Laura (CDC/DDPHSS/OD/HITSSU<EMAIL_ADDRESS>King, Laura (CDC/DDPHSS/OD/HITSSU) (CTR<EMAIL_ADDRESS><EMAIL_ADDRESS>Green, Brick (CDC/DDPHSS/OD/HITSSU) (CTR<EMAIL_ADDRESS>Cc: Meesey, Jill@CDPH <EMAIL_ADDRESS>Subject: Re: Possible mismatch with Universal Time and Local Time.
Hello, The engineering team has reviewed this issue and found no duplicates being sent with the accession numbers provided. The second part of this review will require the filenames of those accession numbers in question. This will help us.
Hello,
The engineering team has reviewed this issue and found no duplicates being sent with the accession numbers provided.  The second part of this review will require the filenames of those accession numbers in question.  This will help us further confirm whether we did or did not send duplicates.
Best regards,
Sharon
The ReportStream Support Team
Contact us at<EMAIL_ADDRESS>Support hours:  8:00 am through 9:00 pm Eastern time
Monday-Friday, excluding US public holidays

Hi @GilmoreA6, please find below the updated information from CalConnection:
For the incident reported, the CR Incident ID is 158049013
accession number: cc2bd7ec-825b-4d78-8dcf-ea435734b04e
file name: CR_202211241839cc2bd7ec825b4d788dcfea435734b04e.hl72022-11-24-18-39-27-641.xml
However, we have reason to believe that this issue affects many other labs submitted through Simple Report.  Unfortunately it is a little difficult for our team to grab the files since they are not integrated with other system; we see the downstream impact of the lack of Date Specimen Collected imported into CalREDIE in our system.
Please let us know if you need any other information.
Best,
Dani

@sliu1000 I was under the impression that the issue was missing timestamps in the data and that's what we had investigated. It appears that with this most recent information the issue is that they are receiving future timestamps, which is absolutely true since we send it as UTC. We have an option where we can convert the timestamps into their local time which sounds like what they want us to do. Can you forward me the email chain so I can respond and verify that is what they want?

sent email to RS, CalConnect & CalRedie:
Hi all,
Apologies for the delay as two separate issues got crossed. In regards to the timezone issues. We were sending results with a UTC timezone and the proper UTC offset (+0000). Since it looks like this was causing issues when the UTC time was rolling over into the next day I have made a change on our side that will send all timestamps as PACIFIC time and appropriate offset (UTC-0800). Please let us know if this resolves the issue. If needed we can also send in PACIFIC time without the offsets.
Thank you,
James


ObjectiveC bridge problems

We have an old objectivec project that is using AudioKit. After the 4.0 update, we started having problems when calling Swift methods from objc part of the project.
No visible @interface for 'AKMixer' declares the selector 'detach'
AKMixer does not override this method and AKNode version is not accessible. Adding another @objc for the method at AKNode level solved the problem.
No visible @interface for 'AKMixer' declares the selector 'connect:'
Old connect is deprecated in favor of connect:to:bus:, yet Xcode does not mark connect as deprecated. Also, new method is unreachable from objc. Added two methods at AKMixer level which seems to solve the problem for me right now.
  @objc open func connect(input: AKNode?, bus: Int) {
    input?.connect(to: self, bus: bus)
  }

  @objc open func connect(input: AKNode?) {
    input?.connect(to: self, bus: nextInput.bus)
  }

No visible @interface for 'AKAudioPlayer' declares the selector 'replaceWithFile:error:'
Method is not reachable.
No visible @interface for 'AKAudioPlayer' declares the selector 'playFrom:to:'
Method is not reachable.
Error:(338, 37) property 'duration' not found on object of type 'AKAudioFile *'
I know this is defined at AVAudioFile extension. Code completion can see duration, but on compile this error appears. Adding same duration definition to AKAudioFile class solved the problem.
More errors appear as soon as I solve another...
Property 'avAudioNode' not found on object of type 'AKMixer *'
No visible @interface for 'AKAudioPlayer' declares the selector 'initWithFile:looping:error:completionHandler:'
It looks like a new init is written which includes a block alias AKCallback, which is not accessible from objc. No deprecated error for old method. New method does not like void blocks and is not reachable.
I had to return back to last version 3 of AudioKit. Looks like new Swift4 version is not really compatible with objectivec.
I tried these also: Deleting derived data folder does not solve any of these. Errors start to appear again on first build. Tried deleting all framework files and re-compiling, did not work. Same errors are appearing either using via Cocoapods or adding AudioKit project + framework by hand.
PS: These are the ones we are currently seeing. Do not know if there are more in other classes as we are only using just a small part of the whole package.

Did you get the 4.0.1 update? It addressed a lot of the objecitve-C issues.

Oh, I did not... I will look into the update and write if any errors appear.

Re-open with any new info, or make a pull request with necessary @objc declarations.  Thanks!

Do you have any code/comment style requirements?


Remove argument array in websocket

Noticed a small issue while testing websocket that the object being sent over the wire is wrapped in a redundant array.
This is due to the generated js for ...args syntax.
Since we are not using anywhere else for multiple arguments, remove the unnecessary argument array.

LGTM

lgtm


🧑💻➕🔨: Replace custom pre-commit hook

Description
We had our own pre-commit script, trying to stash everything not added to index away, run checks and see if there are unchanged things .. doing quite some git magic that did not work with new files. Replace with the existing pre-commit command.
This branch is based on #107, only merge after #107 is merged.
Checklist

[ ] added release notes to Unreleased section in CHANGELOG.md, if user facing change

References

replace pre-commit hook introduced in #98 with established software

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Codecov Report

Merging #108 (55b80d1) into main (b2b51bd) will increase coverage by 0.49%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #108      +/-   ##
==========================================
+ Coverage   58.66%   59.16%   +0.49%
==========================================
  Files          89       89
  Lines        4234     4234
==========================================
+ Hits         2484     2505      +21
+ Misses       1338     1323      -15
+ Partials      412      406       -6

Flag
Coverage Δ

integration
59.16% <100.00%> (+0.49%)
:arrow_up:

unittests
33.14% <100.00%> (+1.72%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/api/api_implementation.go
97.32% <100.00%> (ø)

pkg/api/object.go
100.00% <100.00%> (ø)

pkg/apis/lbaas/v1/frontend_genclient.go
69.84% <0.00%> (+4.76%)
:arrow_up:

pkg/apis/lbaas/v1/backend_genclient.go
69.35% <0.00%> (+4.83%)
:arrow_up:

pkg/apis/lbaas/v1/bind_genclient.go
73.77% <0.00%> (+4.91%)
:arrow_up:

pkg/apis/lbaas/v1/server_genclient.go
72.41% <0.00%> (+5.17%)
:arrow_up:

pkg/apis/clouddns/v1/record_genclient.go
70.00% <0.00%> (+6.00%)
:arrow_up:

pkg/apis/lbaas/v1/loadbalancer_genclient.go
10.34% <0.00%> (+10.34%)
:arrow_up:

pkg/apis/core/v1/resource_genclient.go
60.86% <0.00%> (+13.04%)
:arrow_up:

Continue to review full report at Codecov.

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


Alternative to Nunjucks?

One issue I've encountered frequently with Nunjucks is that because it is designed to work with HTML templating, it by default really wants to add HTML-escaped characters to anything it templates.
For example:
- role: system
  content: |
    You are a helpful assistant which suggests users healthy snacks to purchase

- role: user
  content: '{{ request }}'

For the 'request' variable, nunjucks will HTML escape any characters that are deemed sensitive. Just a couple of examples:

'<' becomes '&lt'
'>' becomes '&gt'
'"' becomes '&quot'

Given the general sensitivity of LLMs, I'd like to ensure prompts in general are as close to natural language as possible. I have noticed greater quality outputs the more natural language is used.
We can use the 'safe' keyword in some circumstances but not all. For example trying to use 'safe' in the above example could result in a malformed YAML file.
Trying to think of perhaps a specific templating alternative for YAML..

The pattern that I've been using is {{ varname | dump | safe}}, which will quote the string accordingly.
- role: user
  content: {{ request | dump | safe }}

Maybe this needs to be more prominent in the examples?

@typpo Not sure if I understood what you're suggesting, but the issue is not just for YAML (I'm not using YAML anywhere and I still hit the "escaping" issue). IMO the tool shouldn't change the prompt in any way as LLMs are quite sensitive to such alterations.

The above answer applies to any prompt template (yaml, json, or plaintext).  But in #101 I have disabled nunjucks autoescaping, which should largely solve this problem.  Will be in the next release!

Perfect!


Fail to launch browser without write permission

Scenario
Currently there is a scenario where if the sandbox does not have write permissions it causes an exception when "launching" the browser, as it tries to create a temporary folder for "user data"

I think this is intended behavior. Let's have a better error message though.


--sub options don't work with auto-profiles.lua

I have a custom style set in an .ass file to override subtitle styling by using the following option.
sub-ass-styles=C:\Program Files\mpv\styles\640x480.ass
This file needs to be set to the same resolution as the video otherwise the subtitles scale wrong.
Currently I have two files with two of the most common resolutions. Manually changing the config to load the file works fine but I wanted to automate this using the auto-profiles.lua.
[640x480]
profile-desc=cond:(p["video-params/w"]==640 and p["video-params/h"]==480)
sub-ass-styles=C:\Program Files\mpv\styles\640x480.ass
osd-playing-msg="640x480"
The script works as intended by recognizing the set resolution. But somehow none of the --sub options seems to work when using auto-profiles.

Probably because the sub-* options aren't settable on runtime.
Not all options can.
Can you open an issue about this in mpv itself?
On Wed, 8 Jul 2020 at 22:57, Columbo199X<EMAIL_ADDRESS>wrote:

I have a custom style set in an .ass file to override subtitle styling by
using the following option.
sub-ass-styles=C:\Program Files\mpv\styles\640x480.ass
This file needs to be set to the same resolution as the video otherwise
the subtitles scale wrong.
Currently I have two files with two of the most common resolutions.
Manually changing the config to load the file works fine but I wanted to
automate this using the auto-profiles.lua.
[640x480]
profile-desc=cond:(p["video-params/w"]==640 and p["video-params/h"]==480)
sub-ass-styles=C:\Program Files\mpv\styles\640x480.ass
osd-playing-msg="640x480"
The script works as intended by recognizing the set resolution. But
somehow none of the --sub options seems to work when using auto-profiles.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/wiiaboo/mpv-scripts/issues/5, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA3H5LKNBOAHLHSDXBHUGLR2TTTVANCNFSM4OU7UAFA
.

Can you open an issue about this in mpv itself?

I will do that. Thanks for the quick response.


Fix whatever I broke.

I broke a bunch of stuff between commit d211bcab35376bca126fcec27a6ba22b2221501e and e1fae76c2b32a813b0c52b31cef50e5398607bd0 that now need to be fixed in the examples.
Tiny is working, so use that as a starting point/guide while you work on your examples. Big changes include:
No more NPNC type, now it's NamedChunk. However, the npnc constructors still work (their types have been changed to NamedChunk); they should probably be deprecated if possible and switched over to using nc instead. Another note: NamedChunks are not instances of NounPhrase (nor should they be), so that will likely break a lot of things that weren't done "right" (ie. using phrase t where t is a NamedChunk will no longer work, you'll need to use phrase $ t ^. term or the new fterm phrase t (in Concepts/Documentation) instead.
CINP is now CI, and commonINP is commonIdea. A few other things were renamed, so please check the commit log. If you have trouble, I'll be around first thing so we can hammer it out.
As always, check off your example when you're done fixing it, and the last person done please close this issue.

[x] tiny
[ ] glassbr
[ ] gamephys
[x] swhs
[x] nopcm
[x] ssp

The NamedChunk parts should be fixed - but I have some doubts about fterm.  I've left notes in other commits.  I think this needs discussion before lots of changes are done-then-redone.

NoPCM already seems clear.

SWHS updated as of eeccb6c3cc16c0645e81be3405bea12115c99917

A new issue should be opened for the design issue relating to these changes.


drivers: stepper: api: rename enable_constant_velocity_mode to run

rename enable_constant_velocity_mode to run in following files:

include/zephyr/drivers/stepper.h
include/zephyr/drivers/stepper/stepper_fake.h
doc/hardware/peripherals/stepper.rst
doc/releases/migration-guide-4.1.rst
drivers/stepper/adi_tmc/adi_tmc5041_stepper_controller.c
drivers/stepper/fake_stepper_controller.c
drivers/stepper/gpio_stepper_controller.c
drivers/stepper/stepper_shell.c
tests/drivers/stepper/shell/src/main.c

Will eventually approve if you don't feel like changing again, as it's probably borderline nitpicking :) just let me know :)

I like borderline nitpicking :-) waiting for https://github.com/zephyrproject-rtos/zephyr/pull/82283 to get merged, will then rebase and force push :)

sorry guys, the CI should pass now


Slide callback?

Is there anyway to detect via callback when Blaze has moved to the next slide, either via user action or when it's set to auto-play through them?
This would be really useful for lazily loading images or dynamically loading in content.

Right now there are no callbacks when slider is moved, but I suggest using intersection observer for dynamic content loading and a simple loading=“lazy” attribute for natively lazy loading images

Thanks; the observer API is the way forward in this case.


failed to decrypt rmb response in the dashboard

with both rmb clients (ts,go) connections from specific twin (ops wallet) to specific node (1,10,...) failed.
ashraf/hanafy suspect that the pk of the caller twin was corrupted at sometime and called the node, which cached this pk and it will never invalidate it, so after the pk fixed again the node still encrypt the response with the corrupted pk. and so we can't decrypt the response in the client side.

reproduce and validate that it is the invalid cache
could the pk change? should we invalidate?

debugging this we faced two other issues:

some nodes gives an error send on closed channel when calling from sdk v0.16.0 works fine with v0.15.18
there is a conflict in the dep go-subkey between the sdk repo and the chain client. Using v1 and v2.

I will open separate issues for both problems

https://github.com/threefoldtech/tfgrid-sdk-go/issues/1291
https://github.com/threefoldtech/tfgrid-sdk-go/issues/1290


Fix typos and main Dialyzer warnings

Hi, many thanks for your great work.
I would like to contribute some minor changes to remove dialyzer errors in our client related to your library.
Thanks in advance

Thank you! I will do a review and if it looks good, then the PR will get merged! Thank you for your efforts!


antd provide no interface to clear an input?

What problem does this feature solve?
better user experience
What does the proposed API look like?
embeded in nz-input

Ref https://ant.design/components/input-cn/#components-input-demo-allowClear.


imgix org transfer

Hey @soffes, just wanted to open an issue for tracking this on my end. 👋

Going to transfer to you since I don't have permission to transfer to imgix.

Done!

Hmm, it doesn't seem to have actually transferred, unfortunately. It might be easier to just add me as an admin collaborator, and then I can directly transfer it to the imgix org.

Says you need to approve it. Guessing you got an email.

Oh, oops. Sorry about that, all set. I'm so lost now that I don't have Mailbox anymore. 😞


Fix formatting/add style guide

Just like HospitalRun/hospitalrun-frontend there should be formatting/style guide used via jscs and existing code should be reformatted to follow that guide.

Closing because 6139df857153fbaafdcb707b097f7856aed655e5 added this.


Traffic api split not setting the traffic

This issue is a: (mark with an x)

[x] bug report -> please search issues before submitting
[ ] documentation issue or request
[x] regression (a behavior that used to work and stopped in a new release)

Issue description
When I set the traffic split via the 'az containerapp ingress traffic set' cli command to --traffic-weight $OLD_BACKEND_RELEASE_NAME=0 latest=100 the traffic is not routed to any release anymore.
Steps to reproduct

Deploy first app with multi revision mode
Deploy a new revision with traffic split (to prevent traffic from getting routed to the new revision
traffic:
- latestRevision: true
weight: 0
- revisionName: $OLD_BACKEND_RELEASE_NAME
weight: 100
Set traffic split to --traffic-weight $OLD_BACKEND_RELEASE_NAME=0 latest=100
The revision works fine and the portal shows that all traffic should be routed to a revision but the traffic from the top container app fqdn does not end up there and times out.

Expected behavior
I would expect the traffic split api to work.
Actual behavior [What actually happened.]
The revision fqdn works fine but the container app fqdn not even though the traffic split should route 100 of traffic to that revision.

Can we get an update re: if this is working? @denniszielke

I rebuild the environment and retried the same process. I still get the same result. The revision url is working as expected while the fqdn of the container app is not responding. The traffic split claims that 100% of the traffic is routed to the latest revision.

Resolved offline


Fix typo

MySql -> MySQL

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

@changeworld - thanks for this correction.
#sign-off


Some file types are not reporting mime types

Hello,
We have been running tests with the latest version of the component and found that some file types are not reporting a mime type. For example, when uploading an mp4 file we get:
"fileBlob": {
    "filename": "test.mp4",
    "handle": "handleId",
    "mimetype": "video/mp4",
    "originalPath": "test.mp4",
    "size": 1905864,
    "source": "local_file_system",
    "url": "https://domain.com/handleId",
    "uploadId": "uploadId",
    "originalFile": {
        "name": "test.mp4",
        "type": "video/mp4",
        "size": 1905864
    },
    "status": "Stored",
    "key": "keyId_test.mp4",
    "container": "containerId"
}

While we get this one with an mkv file:
"fileBlob": {
    "filename": "test.mkv",
    "handle": "handleId",
    "originalPath": "/test.mkv",
    "size": 821777,
    "source": "local_file_system",
    "url": "https://domain.com/handleId",
    "uploadId": "uploadId",
    "originalFile": {
        "name": "test.mkv",
        "type": "",
        "size": 821777
    },
    "status": "Stored",
    "key": "keyId_ test.mkv",
    "container": "containerId"
}

As shown on the second example, the mimetype field is missing and the type field value is empty. The component is configured to accept both .mp4 and .mkv file types. We have found this behavior happens with .vtt and .mkv file extensions, but there may be others.
This behavior seems to be consistent on all 3.x versions. Versions 2.x work as expected.
Thanks

Please report that issue in core lib https://github.com/filestack/filestack-js


Add Kubeflow extnesion settings

Kubeflow users should be able to use azure databricks operator

@magencio has started work on a DSL for this in the Kubeflow project and we plan to leverage the operator :-)


components: Add options to customize FreeRTOS behaviour.

These options are:
- SUPPORT_STATIC_ALLOCATION
- ENABLE_STATIC_TASK_CLEAN_UP_HOOK
- TIMER_TASK_PRIORITY
- TIMER_TASK_STACK_DEPTH
- TIMER_QUEUE_LENGTH

This looks good to me. There's one typo, and I'd like to reduce the minimum configurable stack size so that it can be the set the same as currently, but I can make these changes when I cherry-pick the commit.
Thanks! :)

@projectgus thanks :-)

Merged in 01ad387. Thanks again!


Enable osx builds

Checklist

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

The osx builds are failing because rpcgen is not found on macOS.
@evonreis, is macOS a (desired) supported platform for DTT?

Yes.


DLL load failed while importing _typeconv

Using anaconda 4.8.2 and python 3.8.2 on a new Windows 10 Pro version 1909 (build 18363.836) installation.
'pip install numba' reports numba (0.49.0) and its requirements are installed.
Here's the command prompt and result:
(BSMapSynth-env) D:\Downloads\Utilities\BeatMapSynthesizer-master>python beatmapsynth.py "Music/Ehrling---Sthlm-Sunset.mp3" "Sthlm Sunset" segmented_HMM
Traceback (most recent call last):
File "E:\anaconda3\envs\BSMapSynth-env\lib\site-packages\numba\core\typeconv\typeconv.py", line 4, in
from numba.core.typeconv import _typeconv
ImportError: DLL load failed while importing _typeconv: The specified module could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "beatmapsynth.py", line 4, in
import librosa
File "E:\anaconda3\envs\BSMapSynth-env\lib\site-packages\librosa_init_.py", line 12, in
from . import core
File "E:\anaconda3\envs\BSMapSynth-env\lib\site-packages\librosa\core_init_.py", line 125, in
from .time_frequency import *  # pylint: disable=wildcard-import
File "E:\anaconda3\envs\BSMapSynth-env\lib\site-packages\librosa\core\time_frequency.py", line 11, in
from ..util.exceptions import ParameterError
File "E:\anaconda3\envs\BSMapSynth-env\lib\site-packages\librosa\util_init_.py", line 77, in
from .utils import *  # pylint: disable=wildcard-import
File "E:\anaconda3\envs\BSMapSynth-env\lib\site-packages\librosa\util\utils.py", line 10, in
import numba
File "E:\anaconda3\envs\BSMapSynth-env\lib\site-packages\numba_init_.py", line 20, in
from numba.misc.special import (
File "E:\anaconda3\envs\BSMapSynth-env\lib\site-packages\numba\misc\special.py", line 3, in
from numba.core.typing.typeof import typeof
File "E:\anaconda3\envs\BSMapSynth-env\lib\site-packages\numba\core\typing_init_.py", line 1, in
from .context import BaseContext, Context
File "E:\anaconda3\envs\BSMapSynth-env\lib\site-packages\numba\core\typing\context.py", line 11, in
from numba.core.typeconv import Conversion, rules
File "E:\anaconda3\envs\BSMapSynth-env\lib\site-packages\numba\core\typeconv\rules.py", line 2, in
from .typeconv import TypeManager, TypeCastingRules
File "E:\anaconda3\envs\BSMapSynth-env\lib\site-packages\numba\core\typeconv\typeconv.py", line 17, in
raise ImportError(msg % (url, reportme, str(e), sys.executable))
ImportError: Numba could not be imported.
If you are seeing this message and are undertaking Numba development work, you may need to re-run:
python setup.py build_ext --inplace
(Also, please check the development set up guide http://numba.pydata.org/numba-doc/latest/developer/contributing.html.)
If you are not working on Numba development:
Please report the error message and traceback, along with a minimal reproducer
at: https://github.com/numba/numba/issues/new
If more help is needed please feel free to speak to the Numba core developers
directly at: https://gitter.im/numba/numba
Thanks in advance for your help in improving Numba!
The original error was: 'DLL load failed while importing _typeconv: The specified module could not be found.'
If possible please include the following in your error report:
sys.executable: E:\anaconda3\envs\BSMapSynth-env\python.exe
(BSMapSynth-env) D:\Downloads\Utilities\BeatMapSynthesizer-master>

Usually that error comes from a mismatch between your Python version and the module version. But numba v0.49.0 and Python 3.8.2 should be compatible. I would try doing a pip install numba==0.49.1 or modifying the "Windows_environment.yml" file to change the version of numba to 0.49.1. You could also try changing the Python verison Conda is using to 3.8.3 rather than 3.8.2.
As a last-ditch alternative, I was able to run it outside of a Conda env using Python 3.8.3. Attached is my requirements.txt that I generated by doing pip freeze > requirements.txt
requirements.txt

Updating the environment with numba 0.49.1 fixed it.
Thank you.


Theme Editor: Not working

The night owl is not working and also it has white theme

Download the new version 1.0.2 and check if the bug is fixed!

Ok fine
On Sun, 30 Jul, 2023, 6:33 pm SEBASTIAN JN, @.***>
wrote:

Download the new version 1.0.2 and check if the bug is fixed!
—
Reply to this email directly, view it on GitHub
https://github.com/sebastianjnuwu/acode-plugins/issues/3#issuecomment-1657131446,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5EOIH2CNNIMPNG2I7YG5ALXSZJ3TANCNFSM6AAAAAA247CLHI
.
You are receiving this because you authored the thread.Message ID:
@.***>

Thank you very much it is working fine
On Sun, 30 Jul, 2023, 6:53 pm Sonu Shah, @.***> wrote:

Ok fine
On Sun, 30 Jul, 2023, 6:33 pm SEBASTIAN JN, @.***>
wrote:

Download the new version 1.0.2 and check if the bug is fixed!
—
Reply to this email directly, view it on GitHub
https://github.com/sebastianjnuwu/acode-plugins/issues/3#issuecomment-1657131446,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5EOIH2CNNIMPNG2I7YG5ALXSZJ3TANCNFSM6AAAAAA247CLHI
.
You are receiving this because you authored the thread.Message ID:
@.***>


regex in group filter

Hi,
It seems that regex not working or I don't know how to use it...
I have: -g="'LIVE: .*'" in command line, but there are 0 results.
Could someone advise how to use regex in groups properly ?

Hi there, include your complete command line (sanitized, any username / password removed) and describe what it is that you're attempting to match on and I'll take a look when I can.

python ./m3u-epg-editor.py -m="http://**.*********.****.***/get.php?username=****************&password=**********&type=m3u_plus&output=ts" -g="'LIVE: .*'" --sortchannels --no_epg --no_tvg_id --http_for_images --log_enabled -d="./output" -f="output_file"
There are many groups named LIVE: ******* or SERIES: ********** or MOVIES: ************* and I would like to get rid of all except LIVE: ******* groups. I'm on Windows if it matters...

ah ok, I understand. I'm out for the day today but I'll take a look asap.

Something like this should work:
python ./m3u-epg-editor.py -m="http://**.*********.****.***/get.php?username=****************&password=**********&type=m3u_plus&output=ts" -g="'(?i)^LIVE:.+'" -ne -nt -hi -l -d="./output" -f="output_file"
Here's an explanation for the '(?i)^LIVE:.+' regular expression:

(?i) specifies that case insensitive matching is enabled
^LIVE: specifies that those strings that have the substring "LIVE:" at the start will be matched
.+ specifies that any characters to the end of the string are permitted following a successful match

Give that a whirl.

It works!! Thank you so much!!

Great. To be fair this issue did highlight an issue with this feature: this only currently works as expected when (?i) is included in the regex to force it to work in a case-insensitive manner. That is not really intuitive self explanatory behaviour and it's not reasonable to expect people to guess this is how it works so I'm going to take a look at improving this so that this is not needed and so that it's easier to get it working.


Add css style to scrollbar

Add style to the scrollbar matching with the theme.
Can I work on this issue??

Hello @Kunal0007 really sorry for the late reply. Do you still want to work on this?

Hello @Kunal0007 really sorry for the late reply. Do you still want to work on this?

Yes

Hello @Kunal0007 really sorry for the late reply. Do you still want to work on this?

Yes

Assigned to you!
Note: Please make a PR to the development branch NOT in the main branch and test your changes on all the pages before making a PR.


Cardaclysm

Please add support for the following game:
Game Name: Cardaclysm (https://store.steampowered.com/app/1252710/Cardaclysm/)
Methods: The game already has lighting support but it is for SteelSeries GameSense. However I can't find any instructions on how to enable support for this game.

I have created https://github.com/gyorokpeter/SteelSeriesServer that can be used as a workaround.


ENErrorDomain Error 11 on iOS 13.6

Avoid duplicates

[ ] Bug is not mentioned in the FAQ
[ ] Bug is not already reported in another issue

Describe the bug

Expected behaviour

Steps to reproduce the issue

Technical details

iOS Version:
Device:

Possible Fix

Additional context

This is a duplicate of #972. Could you kindly post your iOS Version, Error Number, and iPhone model as a comment there?


Support a (slightly) newer device for flashing

As Nexus 6Ps are harder to get and have gone up in price, we should support flashing a Pixel 1 or 2.

@kurtisnelson
I am currently working on a nanoscope port for Pixel and Linux based emulator on most recent android_9.0.0_r35 AOSP branch. Currently, I believe the most challenging part of getting it to work with Pixel devices is the broken prorietary drivers Google releases (i.e. baseband functionaility is broken for all Android Pie releases for pixel device). Porting nanoscope to newer devices shouldn't be too challenging as ART's main functionaility is relatively stable.
If you can build a stock AOSP pie image from source for Pixel (sailfish) and make it work on the pixel device, I can help you integrate nanoscope into the device.


[Snyk] Upgrade inquirer from 8.0.0 to 8.2.5

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade inquirer from 8.0.0 to 8.2.5.
As this is a private repository, Snyk-bot does not have access. Therefore, this PR has been created automatically, but appears to have been created by a real user.
:sparkles: Snyk has automatically assigned this pull request, set who gets assigned.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 13 versions ahead of your current version.
The recommended version was released 21 days ago, on 2022-10-24.

Release notes

Package name: inquirer

8.2.5 -<EMAIL_ADDRESS>

8.2.4 - 2022-04-28

8.2.3 - 2022-04-26

8.2.2 - 2022-03-24

8.2.1 - 2022-03-09

8.2.0 - 2021-10-05

8.1.5 - 2021-09-15

8.1.4 - 2021-09-15

8.1.3 - 2021-09-13

8.1.2 - 2021-07-14

8.1.1 - 2021-06-15

8.1.0 - 2021-05-21

8.0.1 - 2021-05-21

8.0.0 - 2021-02-25

    from inquirer GitHub release notes

Commit messages

Package name: inquirer

7a2ade6 Publish
42e9f91 Fix coverage reporting?
d53072c Legacy fix default clearing on input (#1177)
b41b898 Clean branch to make it work with v8 (last common.js release branch)
83b8075 Publish
647564a fix: breakLines regression versus paginated content (#1108)
9baee32 Publish
0b4f655 Dependency bumps
4f8ebd4 Support negative float numbers (#1103)
b8c2aa0 fix: port breakLines to wrap-ansi (#1106)
2b368de Mention `inquirer-press-to-continue` prompt in README (#1105)
aad7190 Mention inquirer-tree-prompt in README (#1104)
1393048 Add inquirer-interrupted-prompt into readme (#1100)
3ac0cfc Add README.md for @ inquirer/select
b13f6c4 Add README.md for @ inquirer/editor
b6a556d Unify new packages format and their homepage to point at their own READMEs
eebf45a Update date with copyright notice
d261ba5 Document @ inquirer/rawlist
d2a9d44 Document @ inquirer/checkbox
84f4810 Add rawlist prompt on new framework
f1a4113 Fix: Editor prompt keeps the content after validation failure
971ad3e Publish
6cf2340 Bump dependencies
0a2b6c1 fix rawlist bugs (#1094)

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
👩💻 Set who automatically gets assigned
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Codecov Report

Merging #7 (f692ebd) into main (09e4e63) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #7   +/-   ##
=======================================
  Coverage   64.17%   64.17%
=======================================
  Files          20       20
  Lines        3224     3224
  Branches      198      198
=======================================
  Hits         2069     2069
  Misses       1144     1144
  Partials       11       11

Flag
Coverage Δ

unittests
64.17% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


plugins not work ...

Can't use method return value in write context in /var/www/Baun/vendor/bauncms/framework/src/Baun.php on line 58

To resolve this issue, set your php-version to 5.5 or higher. There are some php-features used, which are only available from php 5.5+  (empty() with arbitrary expressions).

all unix distribution use php 5.4+ , mb correctly, make work on 5.3/5.4

Had the same issue on a server. Fixed it in a fork and created a pull-request to the braun-framework:
https://github.com/BaunCMS/Framework/pull/2

Thanks. I've pushed this fix in Framework v1.2.2.


BluetoothManager does not remove closed devices

The BluetoothManager closeDevice(String mac) { ... } removes the closed device from the bluetooth managers device list.
Calling close() on the BluetoothManager closes the device but does not remove it from the device list.
Trying to reconnect to a previously connected device will result in the BluetoothManager finding a closed device and the BluetoothSerialDevice to throw IllegalArgumentException since requireNotClosed() will fail.

Thanks for reporting, I will investigate.

https://github.com/harry1453/android-bluetooth-serial/releases/v1.1.1 please check, this should work as you expect.


Can no longer right click in command bar/palette

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.82.2 (user setup)
OS Version: Windows_NT x64 10.0.19045

Pressing ctrl-p or ctrl-shift-p to open the command palette / file bar causes it to close when you press right mouse button to open the context menu (e.g. to copy/paste something into the bar).
Would expect the bar to remain open to allow me to use the mouse for copy/pasting.
Believe issue started with latest version of VSCode, but I normally use the keyboard for copy/pasting into command bar.
Have tried launching VSC with extensions disabled and issue persists.

related/possible duplicate https://github.com/microsoft/vscode/issues/153267

/duplicate https://github.com/microsoft/vscode/issues/153267

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


Ignore all JetBrains apps for PC Style Home / End / PageUp / PageDown

JetBrains has many IDE apps that are quite popular, not just IntelliJ, PhpStorm, RubyMine defined here. Could you please ignore the prefix com.jetbrains? That should cover all of them. Thanks!
Reference: https://www.jetbrains.com/products.html

Thank you for feedback.
I've added com.jetbrains to ignore apps.
https://github.com/tekezo/Karabiner/commit/fda65bda5dd47a740775cb940763f97f45b4ab12
There is a limitation that we have to list "IntelliJ, PhpStorm,... others" at the moment.
I'll improve these rules in the next release or next next release.

I'm really sorry, after testing .57 and thinking about it, I think my understanding of how block works was wrong. And I believe the original code may have the wrong behavior as well.
What users would expect: if "Use PC Style Home/End/PageUp/PageDown" is enabled, these keys still send their original keycode in all com.jetbrains. apps. For example: Home sends Control+A, but still sends Home when in WebStorm.

I see.
I've updated behavior at v10.6.58.
Please confirm the latest beta version.

Thanks, confirmed working for home / end (at least in JetBrains WebStorm).


Maximum call stack exceeded in Select.js

Code in src/lib/interactive.js can crash with the "Maximum call stack exceeded" exception
Test:
test('Crash emulation', function(done) {
    var select = new MultiStream.Select()
    tcp.createServer(function (socket) {
      select.handle(socket)
    }).listen(8012)

    var socket = tcp.connect({port:8012}, function tcpConnectionOpen() {
      lpm.write(socket, PROTOCOLID+'\n')
      var i=0;
      while(i++<100000) {
        lpm.write(socket, 'ls\n')
      }
    })
  })

A ES6 generator is probably the best replacement for the current logic. Or at least that recursive call need to be wrapped into process.nextTick().

@diasdavid Any plans to support native ES6 promises and eventually switch to promise-based logic? Or should I just patch the current logic using nextTick()?

We will be continuing use the callback pattern as the base, a promise API can be built on top, but breaking completely the current API is out of the table.
On using process.nextTick(), that is fine, as long as we don't browser compatibility (certainly there is a shim for that functionality somewhere)

No longer applies with the new version coming with https://github.com/multiformats/js-multistream/pull/19 :)


Keep na arch alive 2

Description
This fixed the problem that for the Hybridmapper, using the Python bindings it can happen that the architecture object is deleted by the garbage collector, loosing the reference for the mapper. Now it is kept alive using the keep_alive functionality of PyBind.
Checklist:

[x] The pull request only contains commits that are related to it.
[x] I have added appropriate tests and documentation.
[ ] I have made sure that all CI jobs on GitHub pass.
[ ] The pull request introduces no new warnings and follows the project's style guidelines.

I'm not sure. Clion tells me that mqt-core has a newer version (which is true). But when I commit the exter link to mqt-core, it modifies the .pre_commit. Not sure why, but for this PR it also doesn't really matter.

I'm not sure. Clion tells me that mqt-core has a newer version (which is true). But when I commit the exter link to mqt-core, it modifies the .pre_commit. Not sure why, but for this PR it also doesn't really matter.

The best thing to do in cases like these is to simply not commit the submodule change.
If you want to make sure that you are running the same submodule version as on main, you can do
git submodule update --init --recursive


style(ast_tools): reformat macro

Fix indentation in macro definition.

#7884  👈 (View in Graphite)
main

How to use the Graphite Merge Queue
Add either label to this PR to merge it via the merge queue:

0-merge - adds this PR to the back of the merge queue
hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

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

Merge activity

Dec 14, 8:48 AM EST: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.


use cloudflare worker to proxy requests to github and cache distribution binaries

This PR allows Wrangler installs to access Wrangler binaries via a caching proxy instead of hitting github directly (and possibly getting rate-limited).

Could the worker code live in this repo as well?

@xtuc I think storing the worker code within this repo could be potentially awkard; i would suggest we have a monorepo for these worker snippets elsewhere.

@gabbifish that's right, maybe just in the cloudflare org.

This gets the binaries of dependencies (e.g) rust-wasm)
On Thu, Oct 24, 2019 at 8:03 AM Avery Harnish<EMAIL_ADDRESS>wrote:

@EverlastingBugstopper commented on this pull request.
In src/install/mod.rs
https://github.com/cloudflare/wrangler/pull/797#discussion_r338627672:

@@ -151,7 +151,7 @@ fn prebuilt_url(tool_name: &str, owner: &str, version: &str) -> Option {
};

     let url = format!(

       "https://github.com/{0}/{1}/releases/download/v{2}/{1}-v{2}-{3}.tar.gz",

       "https://workers.cloudflare.com/get-binary/{0}/{1}/v{2}/{3}.tar.gz",

wait.. what's the difference between this and the get-npm-wrangler-binary
endpoint?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cloudflare/wrangler/pull/797?email_source=notifications&email_token=AB4YZSJYPL2JHRGBFSQRF4TQQG2MFA5CNFSM4JD2DTAKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCJDRGCA#pullrequestreview-306647816,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB4YZSKF46VWKPEFBN3MXQLQQG2MFANCNFSM4JD2DTAA
.

Ah makes sense.

@EverlastingBugstopper i'm already on that- think we'll get a pingdom set up


GCE is adding IPs to the proxy pool - need firewall update

From GCE email today:
If you use HTTP(S) Load Balancing or SSL Proxy:

Current behavior: Proxied traffic from the load balancer and the health check probes to your load balanced instances have source IP addresses in the range <IP_ADDRESS>/22.
Action required: We are introducing an additional range <IP_ADDRESS>/16 for this purpose. You need to update your firewall rule to allow traffic from this new range (<IP_ADDRESS>/16) in addition to the current range (<IP_ADDRESS>/22).

We have until Jan 31, 2018 - 1 year.

The firewall api is invoked via the cloudprovider library, which lives upstream and takes an IPNet map for source ranges (https://github.com/kubernetes/kubernetes/blob/master/pkg/cloudprovider/providers/gce/gce.go#L1562). All we need to do is pass in another IP, currently we get the source ip from here: https://github.com/kubernetes/ingress/blob/master/controllers/gce/firewalls/firewalls.go#L30, we should probably make that a list.
Actually the firewall pools doesn't have unittests, we started off not needing it, so we should probably add some while we're at it. It already has fakes: https://github.com/kubernetes/ingress/blob/master/controllers/gce/firewalls/fakes.go
I'll take this after I finish up some docs I'm writing, if no one else gets to it.

This IP range is duplicated in test/e2e/ingress_utils#L84.
Can we move this slice of ranges to kubernetes/cloudprovider/providers/gce and consume from the ingress repo?  Will have to update the docs separately...

That sounds sane.  PR me.
On Feb 23, 2017 4:50 PM, "Nick Sardo"<EMAIL_ADDRESS>wrote:

This IP range is duplicated in test/e2e/ingress_utils#L84
https://github.com/kubernetes/kubernetes/blob/master/test/e2e/ingress_utils.go#L84
.
Can we move this slice of ranges to kubernetes/cloudprovider/providers/gce
and consume from the ingress repo? Will have to update the docs
separately...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/ingress/issues/197#issuecomment-282170061,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFVgVCreGWFgQvZyofFxN6nd0VIedZjxks5rfilWgaJpZM4LzYVW
.

The new range has been added to the controller, but the firewall sync logic should update the rule if one or both of the source ranges are missing.


Add EmptyTypeAnnotation

I also noticed that there was missing test coverage for builtin types,
so I added a test for that, which includes the newly added type as well
as the other existing types.

Current coverage is 94.51% (diff: 100%)

No coverage report found for master at c300230.

Powered by Codecov. Last update c300230...6a9e586


Newsletter module

Could you kindly create a newsletter module for OrchardCore?

Hi @DotCat1985 could you please set the default thought about this module, you can start a new PR
I can help you at any stage to make this module shine

If possible, I'd like a module with the following features:
-single and double opt-in privacy checkbox for GDPR compliance
-record single and double opt-in privacy checkbox for GDPR compliance on database
-HTML composer to build responsive newsletters
-newsletter delivery with SMTP server (configured by OrchardCore.Email module)
-subscribers import from file
-subscribers export to file
-message targeting by list

We could start with the minimal require that it should be in news letter then we can improve it or let this task to anyone who want a special customization


typo: widow vs. window

@philippbosch thank you! I really appreciate your PR
Can you please run the build and commit the again?

✅


MELT Dockerfile

The MELT Dockerfile indicates that I need to use sv-base:latest, but it doesn't seem to be registered on dockerhub.
Which image should I use?

The sv_base_docker in dockers.json should work. Currently that would be us.gcr.io/broad-dsde-methods/gatk-sv/sv-base:2024-01-24-v0.28.4-beta-9debd6d7


Add integration tests to CircleCI

Subtasks:

[ ] Integration tests to use CircleCI key
[ ] Refactor current integration tests to use unicode in name/wherever else possible
[x] Get prod key for testing ?

Testing key added to circle as "API_KEY" environment var


box plot labels not showing right in some cases

With the patient_data.csv file the x-labels are not showing correctly. Just integers are shown.

Also bargrid() labels have issues.


Issue 125 - Embed the project template

Added an 'openshift-project-template.json' file that contains the
template to apply on the OpenShift project.
Since there's no need anymore to look-up a 'pipelinetemplate.json'
file in the GitHub repo, all references to this argument in the code
(method parameters, etc.) could be removed.
In CatapultIT, the name of the OpenShift project is overriden with
a unique name to avoid collision with existing projects.
Fixes #125

@ALRubinger for your reviewing pleasure ;)
mvn clean verify -Pit stills fails on the last module, catapult-tests, for reasons that I'll need to clarify later.

@ALRubinger also, once the PR is approved and merged, we can clean the appstore since we won't need the openshift-template-file element anymore.

Doing PR review in integration branch: https://github.com/redhat-kontinuity/catapult/tree/125

@xcoulon So the failures I'm seeing now in "tests" module are that we're going right to the console and aren't asked to log in.  Except for the first time.  The first time, we have to log in.  After that, it just takes us to the overview page:
INFO: Current URL Before Login: https://<IP_ADDRESS>:8443/console/project/kitchensink-html5-mobile/overview

I haven't yet figured out why that might be.  Each test run is using a new process of phantomjs which has a clear cookie store and should be representing itself to the console as a new user.

35bd30f2573e4fdc47df4b85b11e24c180d88fc1
59aef0e1137c7b5d50714ca28a0090fe9b531171
e0480baeaaf8885093f1eb6de66a8e4bdcc831db
e6c5e07fbf3eacf61b1715d8d455f02e7f8434c5


Valid dependency package name reported as invalid

The following package.json file is marked as invalid:
{
  "name": "tmp",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "dSebastien<EMAIL_ADDRESS>(https://www.dsebastien.net)",
  "license": "ISC",
  "dependencies": {
    "@reactivex/rxjs": "5.0.0-alpha.7"
  }
}

output of pjv package.json:
{ valid: false,
  errors: [ 'Invalid dependency package name: @reactivex/rxjs' ] }

As per the official doc, the package name is valid: A name can be optionally prefixed by a scope, e.g. @myorg/mypackage. See npm-scope for more detail.
Reference: https://docs.npmjs.com/files/package.json


[Do not merge yet] Rename rustc-guide to rustc-dev-guide

This is in preparation for https://github.com/rust-lang/rustc-guide/issues/470
Needs to be merged after we actually rename the guide.
Have used this to rename:
git grep -l 'rustc-guide' | xargs sed -i 's/rustc-guide/rustc-dev-guide/g'
git grep -l 'rustc guide' | xargs sed -i 's/rustc guide/rustc dev guide/g'

I believe that the badges will need to be updated.


URLs prefixed with ~ are not working

When I try to use URLs prefixed with ~ I get the following error:
 ERROR  Failed to compile with 1 errors              12:11:00 PM

This dependency was not found:

* assets/logo.png in ./~/vue-loader/lib/template-compiler.js?{"id":"data-v-7ca92acd"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/App.vue

To install it, you can run: npm install --save assets/logo.png

I'm using same line of code as the documentation:
<img src="~assets/logo.png">

http://vuejs-templates.github.io/webpack/static.html

Docs must be out of date. Try the @ instead of tilda.

With tilda doesn't give an error but I get a 404
<img<EMAIL_ADDRESS>

Adding a tilde is only necessary in css, not html.

tildes are not necessary for urls in templates. They are a special syntax used by css-loader.

same here. When using @ or remove tild got 404

The alias works like @/assets in CSS, it would be ~@/assets
Please ask further questions on forum.vuejs.org

https://github.com/vuejs/vue-loader/issues/193#issuecomment-294504754

Furthermore, tildes are only useful in CSS.


[QUESTION] How to prevent request to form.io API (api.form.io/form)?

Hi,
I am using the <form-builder/> directive in my application and would like to store the produced form  schema in my own back-end database. However, when loading the application, the form builder sends a request to the form.io API (api.form.io/form). How can I prevent the form builder from sending this request?
This is currently how I have embedded the directive:
<form-builder form="vm.formSchema"/>
where formSchema refers to a property in my controller that holds the form schema object. I have experimented with the various scope attributes of the directive (e.g. src, url, options.noSource), but I can't seem to understand how to do it correctly without any documentation of these attributes.
Hope someone can help me with this, thanks :)

It should not be sending requests to the API if you just set just the form JSON, so this would require further investigation. Is it possible to create a JSFiddle showing the issue and that would expedite our investigation?

Actually, I can refer to the example provided in this repository's README: https://codepen.io/travist/pen/xVyMjo
Maybe I am just not getting something, but it appears that the same behavior occur here. The <form-builder/> directive are only provided the form attribute, but still, I can see that there is a request being sent. In fact, there seem to be two requests being sent; one returns 401 and one returning 204:

Maybe you could check if the same happens for you?

We will add this item to our planning to discuss and maybe prioritize resolution. Stay tuned.

We believe this is just our "Existing Resources" that is querying to determine what resource fields should be added. If you want to remove this feature, it will require a change from the community to add an option to disable it. We need it for the Form.io platform.

Could you elaborate a little on what you mean by "Existing Resources" and "what resource fields should be added". What does the request do exactly?
Also, do you know if this is also the case with the form builder provided by the formio.js repository?
The reason I am asking is that I have a case where I need my application to run in an isolated environment, and would therefore like it not to do any external requests.

When the form builder is embedded into your application (and also point to the Form.io project endpoint), it fetches the list of resources and their fields to add a new section called "Existing Resource Fields". You can see this in our commercial portal @ https://portal.form.io. This would just need to be turned off, but we do not have it as configurable. The good news is that this portion is open source, so please feel free to add that configuration for the open source implementations and we will accept it in the next builds.

Aha, I think I understand what you are saying now. Thank you for the explanation :)
The reason why I would like to prevent the request is that I don't actually have a Form.io project endpoint, and therefore the request is not necessary. In other words, I am only using the form builder as a local generator of form schemas.
Just as a final follow-up question on this:
As you say, the form builder can point to a Form.io project endpoint, but is there any way of specifying that no project endpoint should be used? Or is this also not configurable?

You can see here the options to disable this functionality: https://github.com/formio/formio.js/blob/master/src/WebformBuilder.js#L311-L313


Microsoft.Bot.Builder.Integration.AspNet.Core in 4.6.0-preview1 throwing ArgumentNullException

Version
4.6.0-preview1 (Both Microsoft.Bot.Builder and Microsoft.Bot.Builder.Integration.AspNet.Core)
Describe the bug
When request lands on service, ArgumentNullException is thrown & results in 500 response.
To Reproduce
Reproduction Repo (adapted echo bot)
Expected behavior
Request goes to registered activity handler
Screenshots
System.ArgumentNullException: Value cannot be null.
Parameter name: activity
   at Microsoft.Bot.Builder.BotFrameworkAdapter.ProcessActivityAsync(String authHeader, Activity activity, BotCallbackHandler callback, CancellationToken cancellationToken) in D:\a\1\s\libraries\Microsoft.Bot.Builder\BotFrameworkAdapter.cs:line 296
   at Microsoft.Bot.Builder.Integration.AspNet.Core.Handlers.BotMessageHandler.ProcessMessageRequestAsync(HttpRequest request, IAdapterIntegration adapter, BotCallbackHandler botCallbackHandler, CancellationToken cancellationToken) in D:\a\1\s\libraries\integration\Microsoft.Bot.Builder.Integration.AspNet.Core\BotMessageHandler.cs:line 42
   at Microsoft.Bot.Builder.Integration.AspNet.Core.Handlers.BotMessageHandlerBase.HandleAsync(HttpContext httpContext) in D:\a\1\s\libraries\integration\Microsoft.Bot.Builder.Integration.AspNet.Core\BotMessageHandlerBase.cs:line 61
   at Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
      Request finished in 9.8179ms 500
Microsoft.AspNetCore.Hosting.Internal.WebHost:Information: Request finished in 9.8179ms 500

Additional context
Issue was not present in MyGet version 4.6.0-preview-191002-1
[bug]

This is a regression from https://github.com/microsoft/botbuilder-dotnet/commit/77e91acc250f88a41549199ab543e2931cb898e4#diff-11fda0f4e57fe29d77b11a003ef770b7R21
Adding memoryStream.Position = 0; fixes the issue.

Thanks for the quick turnaround on this one!


Using XGBClassifier as a mother class

If you are using python package, please provide

The python version and distribution : Python 3.5.3 with anaconda

Steps to reproduce

Simple class inheriting from XGBClassifier :

from xgboost.sklearn import XGBClassifier

class XGB(XGBClassifier):

    def __init__(self,learning_rate=0.5, max_depth=3,colsample_bytree=0.5,n_estimators=300,
                 frac=None,k_neighbors=None,m_neighbors=None,out_step=None):

        if k_neighbors:
            self.balancingStrategy = 'smote'
            self.k_neighbors = k_neighbors
            self.m_neighbors = m_neighbors
            self.out_step = out_step
        elif frac :
            self.balancingStrategy = 'normal'
            self.frac = frac
        else:
            self.balancingStrategy = 'false'

        super(XGB,self).__init__(seed=500,
                            learning_rate = learning_rate,
                            max_depth = max_depth,
                            colsample_bytree = colsample_bytree,
                            n_estimators = n_estimators)

A simple code to test it :

xgb4 = XGB(learning_rate = 0.1, max_depth = 3, colsample_bytree = 1, n_estimators = 1000)

xgb4.fit(predictor.trainData,predictor.trainLabel) #methods inherited from XGBClassifier

An error appears :

File "<ipython-input-9-47344b7fbc76>", line 1, in <module>
    runfile('/Users/celsloaner/Project/SPUDS/code/testSpark.py', wdir='/Users/celsloaner/Project/SPUDS/code')

  File "/anaconda/envs/SPUDS/lib/python3.5/site-packages/spyder/utils/site/sitecustomize.py", line 880, in runfile
    execfile(filename, namespace)

  File "/anaconda/envs/SPUDS/lib/python3.5/site-packages/spyder/utils/site/sitecustomize.py", line 102, in execfile
    exec(compile(f.read(), filename, 'exec'), namespace)

  File "/Users/celsloaner/Project/SPUDS/code/testSpark.py", line 50, in <module>
    xgb4.fit(predictor.trainData,predictor.trainLabel)

  File "/anaconda/envs/SPUDS/lib/python3.5/site-packages/xgboost/sklearn.py", line 396, in fit
    xgb_options = self.get_xgb_params()

  File "/anaconda/envs/SPUDS/lib/python3.5/site-packages/xgboost/sklearn.py", line 177, in get_xgb_params
    xgb_params = self.get_params()

  File "/anaconda/envs/SPUDS/lib/python3.5/site-packages/xgboost/sklearn.py", line 169, in get_params
    if params['missing'] is np.nan:

KeyError: 'missing'

What have you tried?

I used XGBClassifier directly with the same configuration, without any problem
Look at the source code of XGBClassifier and BaseClassifier (sklearn)
Tried to use
XGBClassifier.__init__(self,seed=500,                           learning_rate = learning_rate,                           max_depth = max_depth,                          colsample_bytree = colsample_bytree,                           n_estimators = n_estimators)
instead but didn't work
ask for help !

Do you have any idea where this bug can come from ?
Thank you,
Amal

Hi, you will need to add 'missing' and 'objective' to your init method, otherwise sklearns  get_params method wont return them which leads to your error. Here is a minimal example:
from xgboost import XGBClassifier
from sklearn import datasets
from sklearn.metrics import accuracy_score

class MyClassifier(XGBClassifier):

    def __init__(self, my_parameter=10, objective='binary:logistic', missing=None):
        self.my_parameter = 10
        super(MyClassifier, self).__init__()

X,y = datasets.make_classification()

clf = MyClassifier()
print clf.get_params()
y_pred = clf.fit(X,y).predict(X)
print accuracy_score(y, y_pred)

>> {'objective': 'binary:logistic', 'my_parameter': 10, 'missing': None}
>> 1.0

You can find more infos about how to write your own estimators in sklearn here: http://scikit-learn.org/stable/developers/contributing.html#rolling-your-own-estimator


Auto Docker Installation

It would be cool to add a feature to automatically install docker!

Thanks for using this project,
Sure, I'll add this

In new release, docker installation added ✅
thanks to you.
Reference: 24f0adfa750a1e7130588f338510d431627da613


JPEG vs SVG

Drawing this huge svg is slow. Maybe use jpeg for floor pictures.

I tested this and JPEG was also very slow.

This may be slow because of the d3 library or even because nextjs resource-fetching overheads, if there are any.


[Bug Report] the table fixed div(el-table__fixed) cover x-scrollbar of the table when no table data

Element UI version
2.4.11
OS/Browsers version
all os / chrome 70
Vue version
2.5.16
Reproduction Link
https://jsfiddle.net/helloimjw/sofjrLpu/
Steps to reproduce

create a el-table with 10 columns
make the first column and second column to be fixed
make mouse focus on scroll bar of the fixed columns bottom
can not drag the scroll bar

What is Expected?
when no table data, the scroll bar of table fixed div bottom don't be covered
What is actually happening?
the table fixed div is covering the scroll bar of table fixed div bottom , I can't drag the scroll bar

same as #12666

Duplicate of #12666


Streamline the development experience

Objective
Developers wishing to get started with this project should have an easy path to get up and running.  Any resources necessary should be public and readily available.
Acceptance Criteria

Documentation is updated for a simple local development process
Example docker images are available for use
The initial development process is vetted by a few folks within NR and all DTK team members

Notes

No easy way to get kube builder set up
Running K8s within Docker could use some notes

I think https://github.com/newrelic/newrelic-kubernetes-operator/pull/39 that I opened addresses most of these points

I believe this has been resolved.


Added solution for PROBLEM NO. 1029 and PROBLEM NO. 724

Description of Change

References

Checklist

[x] Added detailed description of changes.
[x] Relevant documentation/comments is changed or added.
[x] Added file name matches File name guidelines.
[x] PR title follows semantic commit guidelines.

Thanks for the PR 🙂...I'll review it later and come back to you if there is need for improvement.


memoryError installing qiskit

Informations

Qiskit version 0.10.0:
**Python version 3.5.2 **:
**Operating system Ubuntu 16.04 LTS **:

What is the current behavior?
'pip install qiskit' fails part way through installation with a 'memoryError' exception.
andy@sm:~$ pip install qiskit
Collecting qiskit
  Using cached https://files.pythonhosted.org/packages/80/e6/8b0b5a0e75d0a05060ce16a6e986051e9ee60c3ff58ff1088c983fc9aaea/qiskit-0.10.1.tar.gz
Collecting qiskit_terra==0.8.0 (from qiskit)
  Using cached https://files.pythonhosted.org/packages/4e/41/2717ba8f8f636c7e78a8c1cb60ad84847a53bdbd5e0a4b06573b45542c35/qiskit_terra-0.8.0-cp35-cp35m-manylinux1_x86_64.whl
Collecting qiskit-aer==0.2.0 (from qiskit)
  Using cached https://files.pythonhosted.org/packages/e7/00/53441f06312a44c78b8d99ab84bb5e065a8455a3fc39642318d9c5a6f65b/qiskit_aer-0.2.0-cp35-cp35m-manylinux1_x86_64.whl
Collecting qiskit-ibmq-provider==0.2.2 (from qiskit)
  Using cached https://files.pythonhosted.org/packages/5f/46/5d950ad9ca8db2029104438967c6a29f66645a23fd8e8764e7df01f1dbcf/qiskit-ibmq-provider-0.2.2.tar.gz
Collecting qiskit-ignis==0.1.1 (from qiskit)
  Using cached https://files.pythonhosted.org/packages/6e/4e/77230b3a51a864fd54c2ef7b6a0d417063cf4b18943ce8fcd45e15f74f3e/qiskit_ignis-0.1.1-py3-none-any.whl
Collecting qiskit-aqua==0.5.0 (from qiskit)
  Using cached https://files.pythonhosted.org/packages/36/ec/7f265fb26b19e68deefc879e4642ca0618f5551d7b5765049562ad9824e5/qiskit_aqua-0.5.0-py3-none-any.whl
Collecting qiskit-chemistry==0.5.0 (from qiskit)
  Using cached https://files.pythonhosted.org/packages/41/35/6b10aa3ea2fbe1b64cb0c3b2eaecb23cff044b574b151e8adc9ab9fbfe9a/qiskit_chemistry-0.5.0-py3-none-any.whl
Collecting psutil>=5 (from qiskit_terra==0.8.0->qiskit)
  Using cached https://files.pythonhosted.org/packages/c6/c1/beed5e4eaa1345901b595048fab1c85aee647ea0fc02d9e8bf9aceb81078/psutil-5.6.2.tar.gz
Collecting marshmallow<3,>=2.17.0 (from qiskit_terra==0.8.0->qiskit)
  Using cached https://files.pythonhosted.org/packages/bc/b4/f54f8533aad0645431bfda2cc3d20913a305779c80f8cb71229e8b615c5b/marshmallow-2.19.2-py2.py3-none-any.whl
Collecting marshmallow-polyfield<4,>=3.2 (from qiskit_terra==0.8.0->qiskit)
  Using cached https://files.pythonhosted.org/packages/fa/ba/6406b8cce3e42b2838d234310c3605627083bbb8f71dcc312c616480fe92/marshmallow_polyfield-3.2-py2.py3-none-any.whl
Collecting pylatexenc>=1.4 (from qiskit_terra==0.8.0->qiskit)
  Using cached https://files.pythonhosted.org/packages/54/ea/8e394f28d532f86241c77ecb8701e51973151059528de028a18c35249e8d/pylatexenc-1.4.tar.gz
Collecting sympy>=1.3 (from qiskit_terra==0.8.0->qiskit)
  Using cached https://files.pythonhosted.org/packages/21/21/f4105795ca7f35c541d82c5b06be684dd2f5cb4f508fb487cd7aea4de776/sympy-1.4-py2.py3-none-any.whl
Collecting networkx>=2.2 (from qiskit_terra==0.8.0->qiskit)
  Using cached https://files.pythonhosted.org/packages/85/08/f20aef11d4c343b557e5de6b9548761811eb16e438cee3d32b1c66c8566b/networkx-2.3.zip
Collecting ply>=3.10 (from qiskit_terra==0.8.0->qiskit)
  Using cached https://files.pythonhosted.org/packages/a3/58/35da89ee790598a0700ea49b2a66594140f44dec458c07e8e3d4979137fc/ply-3.11-py2.py3-none-any.whl
Collecting scipy>=1.0 (from qiskit_terra==0.8.0->qiskit)
  Using cached https://files.pythonhosted.org/packages/f0/30/526bee2ce18c066f9ff13ba89603f6c2b96c9fd406b57a21a7ba14bf5679/scipy-1.2.1-cp35-cp35m-manylinux1_x86_64.whl
Collecting pillow>=4.2.1 (from qiskit_terra==0.8.0->qiskit)
  Using cached https://files.pythonhosted.org/packages/de/62/6358ccd27b9e340affaa29e3e678b5d93a4b17f6bd7533fd6e6e87930b12/Pillow-6.0.0-cp35-cp35m-manylinux1_x86_64.whl
Collecting numpy>=1.13 (from qiskit_terra==0.8.0->qiskit)
  Using cached https://files.pythonhosted.org/packages/f6/f3/cc6c6745347c1e997cc3e58390584a250b8e22b6dfc45414a7d69a3df016/numpy-1.16.3-cp35-cp35m-manylinux1_x86_64.whl
Collecting jsonschema<2.7,>=2.6 (from qiskit_terra==0.8.0->qiskit)
  Using cached https://files.pythonhosted.org/packages/77/de/47e35a97b2b05c2fadbec67d44cfcdcd09b8086951b331d82de90d2912da/jsonschema-2.6.0-py2.py3-none-any.whl
Collecting requests>=2.19 (from qiskit-ibmq-provider==0.2.2->qiskit)
  Using cached https://files.pythonhosted.org/packages/7d/e3/20f3d364d6c8e5d2353c72a67778eb189176f08e873c9900e10c0287b84b/requests-2.21.0-py2.py3-none-any.whl
Collecting requests-ntlm>=1.1.0 (from qiskit-ibmq-provider==0.2.2->qiskit)
  Using cached https://files.pythonhosted.org/packages/03/4b/8b9a1afde8072c4d5710d9fa91433d504325821b038e00237dc8d6d833dc/requests_ntlm-1.1.0-py2.py3-none-any.whl
Collecting websockets<8,>=7 (from qiskit-ibmq-provider==0.2.2->qiskit)
  Using cached https://files.pythonhosted.org/packages/f5/e2/569b96cf3cd4e7e4aad036282c6fc61124de70ca976fb0cf86c2a89633a3/websockets-7.0-cp35-cp35m-manylinux1_x86_64.whl
Collecting pyeda; sys_platform != "win32" (from qiskit-aqua==0.5.0->qiskit)
  Using cached https://files.pythonhosted.org/packages/01/29/b6ce038a75409239db8762b4744c8b53eb62e0b6240ece1c2969a7250206/pyeda-0.28.0.tar.gz
Collecting scikit-learn>=0.20.0 (from qiskit-aqua==0.5.0->qiskit)
  Using cached https://files.pythonhosted.org/packages/3c/0b/fe1f5e349f9a31e47a30b834be4f668c4bf100c79cf564284fb04f14f381/scikit_learn-0.21.1-cp35-cp35m-manylinux1_x86_64.whl
Collecting fastdtw (from qiskit-aqua==0.5.0->qiskit)
  Downloading https://files.pythonhosted.org/packages/fa/ef/a4cf2d72518b5fccd30284ba4d431fdb6266f72e75702ff05fd7c00b0b63/fastdtw-0.3.2.tar.gz (118kB)
    100% |████████████████████████████████| 122kB 4.2MB/s
Collecting torch; sys_platform != "win32" (from qiskit-aqua==0.5.0->qiskit)
  Downloading https://files.pythonhosted.org/packages/56/9b/a241f6e3d1df013e65e0b03b17e46bd9517036cd9ba9d8cb9384df396e3b/torch-1.1.0-cp35-cp35m-manylinux1_x86_64.whl (676.9MB)
    99% |████████████████████████████████| 676.9MB 38.8MB/s eta 0:00:01Exception:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 209, in main
    status = self.run(options, args)
  File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 328, in run
    wb.build(autobuilding=True)
  File "/usr/lib/python3/dist-packages/pip/wheel.py", line 748, in build
    self.requirement_set.prepare_files(self.finder)
  File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 360, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 577, in _prepare_file
    session=self.session, hashes=hashes)
  File "/usr/lib/python3/dist-packages/pip/download.py", line 810, in unpack_url
    hashes=hashes
  File "/usr/lib/python3/dist-packages/pip/download.py", line 649, in unpack_http_url
    hashes)
  File "/usr/lib/python3/dist-packages/pip/download.py", line 871, in _download_http_url
    _download_url(resp, link, content_file, hashes)
  File "/usr/lib/python3/dist-packages/pip/download.py", line 595, in _download_url
    hashes.check_against_chunks(downloaded_chunks)
  File "/usr/lib/python3/dist-packages/pip/utils/hashes.py", line 46, in check_against_chunks
    for chunk in chunks:
  File "/usr/lib/python3/dist-packages/pip/download.py", line 563, in written_chunks
    for chunk in chunks:
  File "/usr/lib/python3/dist-packages/pip/utils/ui.py", line 139, in iter
    for x in it:
  File "/usr/lib/python3/dist-packages/pip/download.py", line 552, in resp_read
    decode_content=False):
  File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/response.py", line 344, in stream
    data = self.read(amt=amt, decode_content=decode_content)
  File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/response.py", line 301, in read
    data = self._fp.read(amt)
  File "/usr/share/python-wheels/CacheControl-0.11.5-py2.py3-none-any.whl/cachecontrol/filewrapper.py", line 54, in read
    self.__callback(self.__buf.getvalue())
  File "/usr/share/python-wheels/CacheControl-0.11.5-py2.py3-none-any.whl/cachecontrol/controller.py", line 224, in cache_response
    self.serializer.dumps(request, response, body=body),
  File "/usr/share/python-wheels/CacheControl-0.11.5-py2.py3-none-any.whl/cachecontrol/serialize.py", line 80, in dumps
    data, separators=(",", ":"), sort_keys=True,
  File "/usr/lib/python3.5/json/__init__.py", line 237, in dumps
    **kw).encode(obj)
  File "/usr/lib/python3.5/json/encoder.py", line 198, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/python3.5/json/encoder.py", line 256, in iterencode
    return _iterencode(o, 0)
MemoryError
You are using pip version 8.1.1, however version 19.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

Steps to reproduce the problem
alias python=python3
alias pip=pip3

pip install qiskit

What is the expected behavior?
qiskit installed correctly with no fatal errors
Suggested solutions

This technically isn't directly an issue with qiskit., but one of aqua's dependencies torch. I also had this problem on one of my small test VMs. Torch pulls down a huge wheel and requires a ton of ram (which is likely why you got a MemoryError there, because it consumed all your free memory) to install. But, we really shouldn't force installing torch because of all these problems.
The plan is to make torch optional, and not try to install it by default. I've had a patch up to do this for a few days: https://github.com/Qiskit/qiskit-aqua/pull/523 once that merges there will be a point release to include that change.


just fixing a typo

New Pull Request Checklist
Please mark the points which you did / accept.

[ ] I read the Step Development Guideline
[ ] I have a test for my Step, which can be run with bitrise run test (in the step's repository)
[ ] I did run bitrise run audit-this-step (in the step's repository - note, if you don't have this workflow in your bitrise.yml, you can copy it from the step template.)
[x] I read and accept the Abandoned Step policy

Hi @razanbilwani  !
Nice catch. 👍
But I can't approve your fix in this repo because it would fix the typo only in the v1.0.0 release.
Could you please make a new PR in the step's repository so I can approve it there? After that, the next release will contain your fix.
https://github.com/bitrise-steplib/steps-post-jira-comment-with-build-details


question: can I read DMs with Goinsta?

I want to accept DM requests and auto reply to them. is there an API for that? did not find any in wiki

@hadifarnoud I don't recall working on a dm request endpoint. I'll look into it!

@hadifarnoud Just added this. You can now do it like this
inbox := insta.Inbox

// This will populate inbox.Pending, which is the same as inbox.Conversations, but only contains pending DMs
inbox.SyncPending()
c := inbox.Pending[0]
c.Approve()
c.Send("Hi!")

awesome! thank you


bug: Icon and text not rendered in line in button element on FF

Type: bug
Ionic Version: 2.x
Platform: all
Icon and text are not rendered in line in a list on FF 46. No problem in Edge Browser.
Example is the actual conference app in Firefox.
The sidemenu is an item button list with the icon positioned left.
This is how it looks like in FF:

... and (correct) in Edge:

Placing the icon on the right side (item-right) the problem goes away.
Tests with actual beta7

Duplicate of https://github.com/driftyco/ionic/issues/5622


Selection of multiple elements

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Summary 💡
Make it possible to select multiple elements at the same time.
Examples 🌈

Motivation 🔦
Say I want to delete a whole section, it would be faster to delete multiple elements all at once.
However, what I find curious is that this feature is not making unanimity among all UI builders:

Not possible with:

https://www.uiflow.com/
https://webflow.com/
https://plasmic.app/
https://bubble.io/

Possible with:

https://framer.com/
https://appsmith.com/

i did find myself trying to do this a few times :D

Would it be possible to drag a multiple selection? It could have multiple top level elements with different parents, what happens when you drop that somewhere?

Adding to Jan's point, the type of actions user would want to do after selecting multiple components:

Delete all of them
Drag them to a different position on the page
Horizontal resize
Vertical resize
Copy and paste
Cut and paste
Group them in a single container

Initially I think we can just support 1, 2 and see if others are requested by the community.

Would it be possible to drag a multiple selection? It could have multiple top level elements with different parents, what happens when you drop that somewhere?

sounds like a nightmare :D maybe let's avoid that?

Adding to Jan's point, the type of actions user would want to do after selecting multiple components:

Delete all of them
Drag them to a different position on the page
Horizontal resize
Vertical resize
Copy and paste
Cut and paste
Group them in a single container

Initially I think we can just support 1, 2 and see if others are requested by the community.

won't be easy so it's better to take it slow like that, i think the first step would be to explore deleting multiple elements at least


⚠Important⚠Join discord channel of Petme

Join discord channel of PetMe for any queries: https://discord.com/invite/Jmc97prqjb

Hello I am Olivia a contributor from GSSoC, I want to know if it’s possible to bring in new features aside from improving current features.

@oputaolivia yes its possible , you can raise an issue regarding the new feature that you want to improve

Thank you
I already raised one issue concerning user Authentication

completed

Hello to Maintains and Everyone Who is reading,
Can you tell me what kind of new features you want in this project or any updates ???
Which things should i update ??

Hey everyone! I am a UI/UX designer looking to contribute to my first open-source project. Is there anything I could do to help?
Also, I can't accept the Discord invite for some reason


Don't comment MR if already commented

It would be nice to check if comment had already been sent before sending the same one.
Thanks for your work though.

Maybe you're facing the same issue #63

Maybe you're facing the same issue #63

Exactly. Thank you very much, sorry for bothering.


fix: Improve the refresh deletions

Overview
Deletes records that have been removed at the data source

Codecov Report
Attention: Patch coverage is 84.61538% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 81.14%. Comparing base (cdffa5b) to head (eae040c).
Report is 2 commits behind head on main.

Files
Patch %
Lines

refresh.go
77.77%
1 Missing and 1 partial :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #4      +/-   ##
==========================================
- Coverage   81.27%   81.14%   -0.14%
==========================================
  Files          12       12
  Lines         518      525       +7
==========================================
+ Hits          421      426       +5
- Misses         72       74       +2
  Partials       25       25

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Provide option to disable logging

LightCycles.java currently logs its search for the LightCycle binder class.
While this might be valuable to debug some issues I feel like we should provide an option to turn this logging off completely to not add extra noise to logs of applications using LightCycle.

It uses Log.d(TAG, )
https://github.com/soundcloud/lightcycle/blob/master/lightcycle-api/src/main/java/com/soundcloud/lightcycle/LightCycles.java#L42
Are you sure the tag has not been enabled for logging in the app?


Fixing images that are not rendering properly in GH web preview

This is now working, see https://github.com/orgs/community/discussions/83692. Therefore, closing this PR.


Vuex ???

Does it have a support for Vuex and how do you implement it, Im running into errors when Im trying to implment it ????

Hey, it should be working, but I have yet to try it. Can you describe the issues you are facing?

It doesn't work the normal way. However this was how I got it to work:
Use Vuex:
Vue.use(Vuex)
import your store:
const store = require('./path/to/store.js');
And the just before creating your Vue instance:
Vue.prototype.$store = store
This makes your Vuex store available anywhere usin this.$store in your components.
Hope this helps.

I just tested this with the latest version, and it seems like the workaround is no longer necessary.