Spaceship login on linux server fail

Question Checklist

[yes] Updated fastlane to the latest version
[yes] I read the Contribution Guidelines
[yes] I read docs.fastlane.tools
[yes] I searched for existing GitHub issues

Question Subject

Spaceship::Portal.login(account, password)
Spaceship.login(account,password)

Question Description

I am trying to login spaceship on a server using a ruby script, which is called by another php when my website is visited. When the ruby script is called, I do receive a 2FA code on my phone, but there is no way for me to input it... I did a try catch and this is what i got:
["/usr/local/lib/ruby/gems/2.6.0/gems/highline-1.7.10/lib/highline.rb:868:in `get_line'", "/usr/local/lib/ruby/gems/2.6.0/gems/highline-1.7.10/lib/highline.rb:891:in `get_response'", "/usr/local/lib/ruby/gems/2.6.0/gems/highline-1.7.10/lib/highline.rb:264:in `ask'", "/usr/local/lib/ruby/2.6.0/forwardable.rb:230:in `ask'", "/usr/local/lib/ruby/gems/2.6.0/gems/fastlane-2.133.0/spaceship/lib/spaceship/two_step_or_factor_client.rb:196:in `ask_for_2fa_code'", "/usr/local/lib/ruby/gems/2.6.0/gems/fastlane-2.133.0/spaceship/lib/spaceship/two_step_or_factor_client.rb:145:in `handle_two_factor'", "/usr/local/lib/ruby/gems/2.6.0/gems/fastlane-2.133.0/spaceship/lib/spaceship/two_step_or_factor_client.rb:20:in `handle_two_step_or_factor'", "/usr/local/lib/ruby/gems/2.6.0/gems/fastlane-2.133.0/spaceship/lib/spaceship/client.rb:494:in `send_shared_login_request'", "/usr/local/lib/ruby/gems/2.6.0/gems/fastlane-2.133.0/spaceship/lib/spaceship/portal/portal_client.rb:28:in `send_login_request'", "/usr/local/lib/ruby/gems/2.6.0/gems/fastlane-2.133.0/spaceship/lib/spaceship/client.rb:770:in `do_login'", "/usr/local/lib/ruby/gems/2.6.0/gems/fastlane-2.133.0/spaceship/lib/spaceship/client.rb:384:in `login'", "/usr/local/lib/ruby/gems/2.6.0/gems/fastlane-2.133.0/spaceship/lib/spaceship/client.rb:346:in `login'", "/usr/local/lib/ruby/gems/2.6.0/gems/fastlane-2.133.0/spaceship/lib/spaceship/portal/spaceship.rb:25:in `login'", "/www/wwwroot/ssltest.dra7.cn/updateProfile.rb:20:in `<main>'"]

Although I am relatively new to using fastlane/ruby and stuff, but I am fairly sure that this is an issue with 2FA login, where I don't have a way to input the code. My script also works perfectly fine on a mac, and even on my server's terminal (where I have a way to input the code when fastlane asks for login). I have already tried setting FASTLANE_SESSION using spaceauth (maybe I did it wrong) and it did'nt work either. I am not using any fastfile/appfile, I am just trying to login to the Apple Developer Portal and then update my provisioning profiles, where I am just stuck at the login because I cannot input the 2FA code. Please help!!
✅ fastlane environment ✅
Stack
| Key | Value |
| fastlane | 2.133.0 |
| OS | Linux iZj6cfq59j2auoo2i8v5krZ 4.19.43-13.2.al7.x86_64 #1 SMP Tue Jun 18 23:05:54 CST 2019 x86_64 x86_64 x86_64 GNU/Linux |
| Ruby | 2.6.4 |
| Bundler? | false |
| Git | git version <IP_ADDRESS> |
| Installation Source | /usr/local/bin/fastlane |
| Host | \S
Kernel \r on an \m Linux iZj6cfq59j2auoo2i8v5krZ 4.19.43-13.2.al7.x86_64 #1 SMP Tue Jun 18 23:05:54CST 2019 x86_64 x86_64 x86_64 GNU/Linux (4.19.43-13.2.al7.x86_64) |
| Ruby Lib Dir | /usr/local/lib |
| OpenSSL Version | OpenSSL 1.0.2k  26 Jan 2017 |
| Is contained | false |
| Is homebrew | false |
| Is installed via Fabric.app | false |
System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.133.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.3.1

slack-notifier
2.3.2

atomos
0.1.3

CFPropertyList
3.0.1

claide
1.0.3

colored2
3.1.2

nanaimo
0.2.6

xcodeproj
1.12.0

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

unicode-display_width
1.6.0

terminal-table
1.8.0

plist
3.5.0

public_suffix
2.0.5

addressable
2.7.0

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.7.0

tty-cursor
0.7.0

tty-spinner
0.9.1

babosa
1.0.3

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

excon
0.67.0

faraday
0.15.4

faraday_middleware
0.13.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.7

gh_inspector
1.1.3

mini_magick
4.9.5

multi_xml
0.6.0

rubyzip
1.3.0

security
0.1.3

xcpretty-travis-formatter
1.0.0

dotenv
2.7.5

bundler
1.17.3

naturally
2.2.0

simctl
1.6.6

jwt
2.1.0

google-cloud-env
1.2.1

google-cloud-core
1.3.1

memoist
0.16.0

multi_json
1.13.1

os
1.0.1

signet
0.11.0

googleauth
0.6.7

digest-crc
0.4.1

google-cloud-storage
1.16.0

emoji_regex
1.0.1

json
2.2.0

httpclient
2.8.3

mime-types-data
3.2019.0904

mime-types
3.3

retriable
3.1.2

declarative-option
0.1.0

declarative
0.0.10

uber
0.1.0

representable
3.0.4

google-api-client
0.23.9

forwardable
1.2.0

logger
1.4.1

stringio
0.0.2

ipaddr
1.2.2

openssl
2.1.2

ostruct
0.1.0

strscan
1.0.0

date
2.0.0

fileutils
1.3.0

etc
1.0.1

io-console
0.4.8

zlib
1.0.0

rexml
3.2.2

psych
3.1.0

mutex_m
0.1.0

Please show the full output you are getting from that code.
You should be able to check the fastlane code for these two functions to figure out how to exactly use them.

I will post the output when I can get a hand on it. I’m wondering is there is anyway for me to make fastlane (or the script) wait and let me input the code (perhaps that is not fastlane related)?

That is exactly how fastlane itself uses spaceship, but how you implement that depends totally on your code and use case.


Not able to run java project from both VSCode and Command Line

I am doing Gauge/Java for the first time. Installed Gauge, Installed VSCode, Installed VSCode Plugin. I installed JDK as well version (jdk-11.0.7).
I tried to run from both VSCode and command line but Gauge is not doing anything at all. Below is the log from gauge's log file.  This should be less than 'runner_connection_timeout' config value.
15-10-2020 17:53:01.116 [java] [DEBUG] run 'gauge config runner_connection_timeout' and verify that it is < 1433
15-10-2020 17:53:01.156 [java] [DEBUG] starting gRPC server...
15-10-2020 17:53:01.689 [java] [DEBUG] started gRPC server on port 57715
15-10-2020 17:53:01.689 [Gauge] [DEBUG] Attempting to connect to grpc server at port: 57715
15-10-2020 17:53:01.864 [Gauge] [DEBUG] Successfully made the connection with runner with port: 57715
15-10-2020 17:53:01.864 [Gauge] [DEBUG] Validation started.
15-10-2020 17:53:02.165 [java] [DEBUG] Scanning packages for steps

Attached is the screenshot from command line and vscode showing it does not do anything.
Gauge version: 1.1.4
Commit Hash: c982558
Plugins
html-report (4.0.12)
java (0.7.12)
json-report (0.3.5)
screenshot (0.0.1)
xml-report (0.2.3)
Gauge Java.docx

@manavghaigit Looking at the logs and the screenshot it seems like the scanning is taking too much time (or may be not finishing at all) for some reasons. Could you please give us a sample project to replicate it? I'm not able to replicate it on my machine with a sample project.

@BugDiver  It’s a default project created using “gauge init java”

@BugDiver Request to please advise on what else could be the problem? This is a base project created using "gauge init java"

From the screenshots it looks like the gauge plugin is initialised as the IDE is working.
It could be the JDK that was installed or the way Java is launched. Can you try installing a higher version of the JAVA JDK and make sure the right JDK path is set on the PATH environment variable?

@zabil I currently have "jdk-11.0.7" installed on my machines. Is there any specific version you would like to recommend?

I ran it on a new machine today and only through CMD but still got the same issue. I currently have "jdk-11.0.7" installed on my machines. Is there any specific version you would like to recommend?

 I did come across this when I tried to replicate the issue on virtualbox. This happened because the windows firewall was blocking access to the java process and the runner was timing out. I was able to get over this by increasing the timeout with the following command. And giving access to the firewall to accept connections(it pops up a box).
gauge config runner_connection_timeout 300000000

One thing i would like to mention, after installing JDK it did not automatically add JDK bin folder path to PATH variable in System Variables so i had to add it manually. Not sure if it matters.

This shouldn't matter. I tested this by installing JDK 14 using the following command, this uses chocolatey. Chocolatey was installed by default on the Official Microsoft VM images.
choco install openjdk14

Please try these options.

@zabil Yes i am running it on VDI. I tried your recommendation of increasing timeout but its stopping at the same stage. You mentioned about opening access to java process in firewall. Can you please shed some light on how to do it?
21-10-2020 12:33:47.773 [java] [DEBUG] starting gRPC server...
21-10-2020 12:33:48.090 [java] [DEBUG] started gRPC server on port 60382
21-10-2020 12:33:48.090 [Gauge] [DEBUG] Attempting to connect to grpc server at port: 60382
21-10-2020 12:33:48.550 [Gauge] [DEBUG] Successfully made the connection with runner with port: 60382
21-10-2020 12:33:48.550 [Gauge] [DEBUG] Validation started.
21-10-2020 12:33:49.194 [java] [DEBUG] Scanning packages for steps

I tried your recommendation of increasing timeout but its stopping at the same stage. You mentioned about opening access to java process in firewall. Can you please shed some light on how to do it?

I don't have access to VDI. You might have to google that.
My guess is the are a few issues here with the Java set up

The java version mismatches
Firewall access settings.

These are tricky especially in virtual machine environments where the environment settings are secure by default. Gauge uses grpc to communicate and this will require tweaking the firewall settings for it to work correctly. Unfortunately this is beyond the scope of fixing it in Gauge. I am closing this issue and this has to do with configuration. But please feel free to discuss it further.

@zabil Firewall access settings.
These are tricky especially in virtual machine environments where the environment settings are secure by default. Gauge uses grpc to communicate and this will require tweaking the firewall settings for it to work correctly.
I can work with my network team to look at firewall settings. But they will need to know what is needed here. Can you please through more light on whats needs to be looked into firewall settings so they can proceed accordingly?

Can you try setting JAVA_HOME env variable in User Environment Variables to JDK 11? Your debug logs seem to indicate that java home is not set?  But the java.exe is getting picked up because PATH contains C:\Program Files\Java\jdk-11.0.7\bin

@zabil So JAVA_HOME was a problem and it started working the moment i created this in environment variable. I suggest to mention it as part of the documentation. It took me three days to solve a simple problem.
Everything seems to be working fine but i am getting this below message in VSCode. can you please advise? This is the project i created using "Gauge init java"
Gauge could not initialize. Install 'vscjava.vscode-java-pack' extension for code insights. For more information seeProblems, check logs.Troubleshooting

vscjava.vscode-java-pack is the ID of vscode's Java language support extension. You should.install it so that you get Java's intellisense on vscode.
See: https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-pack
Gauge extension prompts you to do this.

@sriv @zabil I have already installed vscjava.vscode-java-pack from Extensions in VSCode but i still keep getting this message. I tried uninstalling/reinstalling it but the problem persists. Also i am not getting debug scenaio/spec option in spec file.

What do the logs say now?

@sriv I uninstalled/reinstalled again and restarted VSCode and the error has stopped coming up. However i am getting another issue.
I have all my selenium jar files in Gauge's libs folder and i have define reference to all the jar in .classpath file and properly saved the file.

Is this the right way of storing and defining external jars in Gauge?

The problem is every time i reopen folder or vscode, all the selenium jars references gets removed automatically from .classpath file and i am not able to figure out what is causing it. Below is the structure of the .classpath file which it reverts  back to.

-------------------------------------------------------------------------------------------------------------------------------

So JAVA_HOME was a problem and it started working the moment i created this in environment variable. I suggest to mention it as part of the documentation. It took me three days to solve a simple problem.

It's already documented here https://docs.gauge.org/troubleshooting.html?os=linux&language=javascript&ide=vscode#gauge-could-not-initialize-for-more-information-see-problems

Is this the right way of storing and defining external jars in Gauge?

Yes, but rarely used. Most users use Gauge and Selenium with a build tool like maven which manages the dependencies. You can initialise a maven project using the command gauge init java_maven_selenium

The problem is every time i reopen folder or vscode, all the selenium jars references gets removed automatically from .classpath file and i am not able to figure out what is causing it. Below is the structure of the .classpath file which it reverts back to.

This is an issue that will be fixed soon https://github.com/getgauge/gauge-vscode/issues/385 as a workaround please try using gauge+selenium+maven
For more help please reach out at https://spectrum.chat/gauge

@manavghaigit as an alternative, you can copy the jar to the libs directory in the project root.
Or if you have any directory, you can specify GAUGE_ADDITIONAL_LIBS to point to the custom jar.


(SpecterWallet) Inject config via constructor

Description
This PR refactors the SpecterWallet class to have the config defined and explicitly passed via its constructor instead of having config values called directly from global state (yamlConfig).
The global state is instead used to create the config that gets injected explicitly at SpecterWallet instantiation.

@vindard in regards to isRebalanceNeeded static method, I think we have two options, pass the config or make it non-static (I can't see other place where it is neeed)

@vindard in regards to isRebalanceNeeded static method, I think we have two options, pass the config or make it non-static (I can't see other place where it is neeed)

@bodymindarts and I had chatted about that. He said that those static methods may be in flux in other branches so we should leave one for now until the other branches land.

@vindard in regards to isRebalanceNeeded static method, I think we have two options, pass the config or make it non-static (I can't see other place where it is neeed)

@dolcalmi is right. Its only needed in 1 place and not where I thought I saw it before. Probably correct to make it an instance method in this case. When I searched the code base on our zoom call I confused it with the FtxDealerWallet.isRebalanceNeeded method which has the same name.

@dolcalmi is right. Its only needed in 1 place and not where I thought I saw it before. Probably correct to make it an instance method in this case. When I searched the code base on our zoom call I confused it with the FtxDealerWallet.isRebalanceNeeded method which has the same name.

Ok yea I just checked through again and I think it could be that we were looking at an older version of the codebase before I refactored this branch to the latest tip.
Based on a read-through of that SpecterWallet class I agree that making it an instance method makes sense, and there are two other static methods in there that we should probably tackle as well since we're in here already.
@nicolasburtey left this comment about those static methods in there when they were first made. I wouldn't mind if he weighed in to make sure there aren't any unforeseen gotchas from converting these methods to instance methods. Specifically we're looking at:

listWallets()
createWallet()
isRebalanceNeeded(...)

Adding this reference to where we make non-empty strings no longer valid onChainWallet values for the https://github.com/GaloyMoney/galoy/pull/344/commits/7187ea636f271014d7c87ce6e02e2009f84ee57d changes here.

Rebased to new tip of main to resolve merge conflict.
Re-linking this comment dropped from the PR.


In One-to-One model, how to redirect to a Contact record when I access an Account record.

Hi.
In NPSP v3.175 environment, I selected One-to-One model.
In my old environment (Contacts & Organizations's version is 2.1.4), creating a Contact creates an Account with the surname and first name reversed. And when I visited an Account record, I was redirected to a Contact record.
I want this redirect to be performed even in the latest NPSP environment. Is there a setting method?

Hi @shinchit
Unfortunately we don't provide support via GitHub issues. Would you mind posting this in the Power of Us Hub? We can reply to your post there and direct you to relevant resources?
If you are working with a nonprofit or educational institution you can login to the Power of Us Hub with your production login. Let me know if you do not have access.

Hi @jamesbsfdc .
Thank you for your reply.
I understand.
I'll try to access Power of Us Hub.


Load cell instead of potentiometers?

What do you think about using strain sensors instead of potentiometers? I think in such case stewart platform may work similar to IBM eraser mouse (aka trackpoint) only with 6 DOF.

Interesting concept! I toyed with several ideas, and the trouble with most of them was either price or construction.
Where would you obtain suitable strain gauges and how would you construct the device?

I think base and top, with necessary cutouts, could be made by PCBway or JLCPSB.  To measure force, stick-on strain gauges, two per leg, in Half-bridge configuration II (based on https://www.transducertechniques.com/wheatstone-bridge.aspx) connected to 3 HX711  (2ch each, 80sps max) amplifiers.  Both can be purchased from Ali or Amazon although I do not know how well they would work in this configuration.  Aluminum standoffs from Aliexpress (https://www.aliexpress.us/item/3256803251548057.html) can be used for legs.

Yes the potential of being able to make such a device out of a single 3D print and some Sparkfun load cell amplifiers would make it very accessible. Indeed a challenge is not to make it more expensive than an actual 3dconexxion device.

I agree.  I like the simplicity and low cost of potentiometers.


Radar block model isn't compiling

Might be a problem with my build.py run. It didn't give me any errors, but when I get in game I got this when placing a radar block:

F11, open in new window
What are the errors?

Ah ok, got it - my mwmbuilder process was no longer running from build.py because I needed to copy .build/build-template.ini to .build/build.ini and change the program locations to match my own.
Adding a note about that to the Readme in my branch, will PR.


The SamlAssertionSigning Cryptographic key is not documented

In the example published here: https://docs.microsoft.com/en-us/azure/active-directory-b2c/saml-service-provider?tabs=windows&pivots=b2c-custom-policy#enable-your-policy-to-connect-with-a-saml-application
we talk about the SamlAssertionSigning CryptographicKey but this key is not documented in the metadata section of the SAML Token Issuer. This is really important since if you want to configure AAD B2C as a SAML IdP for a federated domain on AAD, you MUST sign the assertions to comply to the requirements (https://docs.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-fed-saml-idp#saml-protocol-requirements).
We should also specify that the Assertions will be signed if and only if the application SAML Metadata reports the WantAssertionsSigned=true. This is already specified in the example linked above, but it would be useful to have the reference also on the SAML Token Issuer docs.
regards,
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a1dc3380-4008-5664-a884-0f9159365093
Version Independent ID: 7e437d44-65bc-877b-e020-be21192ea4fd
Content: Define a technical profile for a SAML issuer in a custom policy - Azure AD B2C
Content Source: articles/active-directory-b2c/saml-issuer-technical-profile.md
Service: active-directory
Sub-service: b2c
GitHub Login: @kengaderdus
Microsoft Alias: kengaderdus

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

@fume
Thank you for your feedback and patience. We're addressing this issue, and will comment back once we've it done.

Dear fume, thanks for the feedback. I'm updating the article with the relevant information. A new version will publish later today, and this GitHub issue will be closed automatically (before the doc is published). If you have any questions or need further information, please open new GitHub issue.


Module not found: Can't resolve 'classnames'

./node_modules/react-headless-pagination/dist/react-headless-pagination.esm.js:2:0 Module not found: Can't resolve 'classnames'
maybe it should be add into dependencies

Will be fixed in 0.2.0


[GKE] Node pool k8s version does not change with the cluster k8s version during cluster create

What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):
From Rancher, navigate to GKE cluster create.
Select a k8s version lower than the default (1.17.17-gke.2800).
Create cluster.
Result:
Googleapi: Error 400: Node version "1.17.17-gke.2800" must not have a greater minor version than master version "1.16.15-gke.14800"., badRequest

Other details that may be helpful:
This is because the node pool k8s version does not change when the cluster k8s version changes. This is not a problem when the k8s version of the cluster is higher than the k8s version of the node pool. But this can easily allow the user to create a cluster with a node pool with a higher k8s version than the cluster.
To get around this, the user has to remove the node pool and create a new one in the form.
As stated by this issue, https://github.com/rancher/rancher/issues/32102, we are not allowing the user to change the node pool k8s version during cluster creation.
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): v2.5-41f173a-head
Installation option (single install/HA): Single Install

If the user selects a cluster k8s version greater than 1.17, the node pool version changes to Upgrade Node Group Version from 1.17.17-gke.2800 to 1.18.15-gke.1502. The node pool k8s version remains 1.17.17-gke.2800.

This bug fix is verified with v2.5-head version 41f173a and master-head version 1c3629f
The node pool k8s versions change with the cluster k8s version. The GKE cluster is provisioned with the same k8s version for cluster and node pool.


Check if nb newer than generated doc

After clean metadata - leave timestamp.
Add metadata info about generation.
Maybe some kind of diff.

After cleaning notebook - leave timestamp.


Empty Preview Pane in Intellij

Probably we should never show an empty preview pane in Intellij.
See this conversation: https://twitter.com/jlengrand/status/1480820656178708481
Rather than showing an empty preview pane, we could display a nice message explaining what is wrong (functions marked with @Preview should have zero parameters, text cursor is not within a function marked as @Preview, etc).  Maybe link out to some documentation about the purpose of the @Preview function and how it is intended to be used.
Whatever we do, we should probably show something, because just showing an empty pane looks kinda like it's broken or buggy.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Improvements to SW logic

Don't generate manifest for development SW
Add formating to offline notice section
Add fallback to image strategy

PTAL


docs: add JSDoc descriptions

PR Checklist

[x] Addresses an existing open issue: fixes #22
[x] That issue was marked as status: accepting prs
[x] Steps in CONTRIBUTING.md were taken

Overview
"Informativity" is a word!

@all-contributors please add @joshuakgoldberg for doc.

🤖 Beep boop! This comment was added automatically by all-contributors-auto-action.
Not all contributions can be detected from Git & GitHub alone. Please comment any missing contribution types this bot missed.
...and of course, thank you for contributing! 💙


backend/local: Ignore ENOTTY for fsync on Mac

What does this PR change? What problem does it solve?
Catches ENOTTY as an error from fsync to ignore, on the Mac.
Was the change previously discussed in an issue or on the forum?
Fixes #4016, I hope. Will add a changelog entry if it does.
Checklist

[x] I have read the contribution guidelines.
[x] I have enabled maintainer edits.
[ ] I have added tests for all code changes.
[ ] I have added documentation for relevant changes (in the manual).
[ ] There's a new file in changelog/unreleased/ that describes the changes for our users (see template).
[x] I have run gofmt on the code in all commits.
[x] All commit messages are formatted in the same style as the other commits in the repo.
[ ] I'm done! This pull request is ready for review.

this PR works on my machine(s) with OSX Ventura and fixes the addressed problem.

Added the changelog entry.

I've slightly tweaked the wording in the changelog.

Good. Wasn't my best writing ever.


Considering in memory

For optimal performance, it would still sometimes make sense to keep small data in memory.
We can discuss that. If we implement it right, we should not have issues.

Maybe try using one global DBContext / DuckDB Connection and see if duckdb/polars do what we want

I would suggest a global dict that holds the key (table name) and the pyarrow table in memory.


How to Convert T2 Model to Tflite

if i try to convert T2 model to TFLITE
it throws error.
I tried also tried TFlite converter with SELECT_TF_OPS but it failed saying inputs are Dynamic
( as both inputs and input_lengths have None as dim).
any work done on this ?

Some of the operators in the model are not supported by the standard TensorFlow Lite runtime. If those are native TensorFlow operators, you might be able to use the extended runtime by passing --enable_select_tf_ops, or by setting target_ops=TFLITE_BUILTINS,SELECT_TF_OPS when calling tf.lite.TFLiteConverter(). Otherwise, if you have a custom implementation for them you can disable this error with --allow_custom_ops, or by setting allow_custom_ops=True when calling tf.lite.TFLiteConverter(). Here is a list of builtin operators you are using: ADD, CAST, CONCATENATION, CONV_2D, DIV, EXPAND_DIMS, FILL, FLOOR, FULLY_CONNECTED, GATHER, GREATER_EQUAL, LESS, LOGICAL_AND, LOGICAL_NOT, LOGICAL_OR, LOGISTIC, MAXIMUM, MINIMUM, MUL, PACK, RANGE, REDUCE_ANY, REDUCE_MAX, RESHAPE, SELECT, SHAPE, SOFTMAX, SPLIT, SQUEEZE, STRIDED_SLICE, SUM, TANH, TILE, TRANSPOSE. Here is a list of operators for which you will need custom implementations: All, BatchMatMul, Enter, Exit, LoopCond, Merge, RandomUniform, ReverseSequence, Round, Switch, TensorArrayGatherV3, TensorArrayReadV3, TensorArrayScatterV3, TensorArraySizeV3, TensorArrayV3, TensorArrayWriteV3.

What is Tflite and what are changes ?

I try do it but fail,because tensorlite doesn't  support some operators such as LSTM


tfdml_plugin.dll not found

tensorflow.python.framework.errors_impl.NotFoundError: C:\ProgramData\Miniconda3\envs\tfdml_plugin\lib\site-packages\tensorflow-plugins\tfdml_plugin.dll not found
when i install,run any code, like import tensorflow as tf,it is error ,not found tfdml_plugin.dll .  but,the file is right in the path.
how can i do ?

N卡，A卡都一样，系统win11

I have this issue too.
Windows 10, Version 22H2 Build 19045.2251
Radeon RX570 GPU with newest drivers.

I could fix the issue by installing tensorflow-cpu==2.10 with the --user flag.

The same bug as mine, I'll try to build TensorFlow-directml-plugin tomorrow, anyway today is too late.

Yes, we recently found that TF 2.11 is not backward compatible with plugins built for earlier versions. Since pluggable devices are still experimental, this is to be expected. In the future, we'll hard lock the version of TF until pluggable devices are in a more stable state.
We will soon be releasing a new version of tensorflow-directml-plugin that addresses the problem. In the meantime, please manually install tensorflow-cpu==2.10 to get rid of the problem.

I still have this error. I installed tensorflow-cpu==2.10.0 with the flag --user and without this flag but I still have this error: tfdml_plugin.dll not found.

Try uninstalling all of Keras and Tensorflow libs (including Tensorboard). Then reinstall tensorflow-directml-plugin.
Worked for me.

That worked thx
But i getting other error when training AI:
No OpKernel was registered to support Op 'CudnnRNN' used by {{node CudnnRNN}} with these attrs: [seed=0, dropout=0, T=DT_FLOAT, input_mode="linear_input", direction="unidirectional", rnn_mode="gru", seed2=0, is_training=true]
Registered devices: [CPU, GPU]
Registered kernels:
  <no registered kernels>

	 [[CudnnRNN]]
	 [[model/gru/PartitionedCall]] [Op:__inference_train_function_5775]

Re. CudnnRNN, sounds similar to this issue I commented on https://github.com/microsoft/tensorflow-directml-plugin/issues/364


Unable to pass boundingBoxes prop

Hi Team,
Could you please add support for boundingBoxes similar to boundingBox/ignoredBox (https://github.com/codeceptjs/codeceptjs-resemblehelper/issues/12)
await visual.seeVisualDiffForElement(selector, `test.png`, {
            prepareBaseImage: false,
            tolerance: 1,
            needsSameDimension: false,
            boundingBoxes: null
        });

We have released the latest version (1.9.7) of the library yesterday. I would ask to check against the latest version and let us know.

Closed as there's no response from the user.


Easily adding objects/structures to test world

First of all, thanks for taking over this project and moving it to the Screepers group. I was bummed that Integration testing didn't work out of the box a few months ago, so I am happy to have it back!
Anyways, my question is asking if there is an easy, out-of-the-box way to add Game Objects and Structures to the test world to set up realistic, repeatable scenarios.
From the samples, you can add a structure (a Spawn in this case) by directly executing a database update:
db['rooms.objects'].insert({
  room, type: 'spawn', x, y, user: user._id, name: spawnName,
  store : { energy: C.SPAWN_ENERGY_START },
  storeCapacityResource: { energy: C.SPAWN_ENERGY_CAPACITY },
  hits: C.SPAWN_HITS, hitsMax: C.SPAWN_HITS, spawning: null, notifyWhenAttacked: true
})

Not all of these fields are technically required (simply adding type, room, x,y, and user will add a Spawn Structure with no storage), but all of these fields are required to create a Spawn structure that behaves exactly like a Spawn Structure on live.

Is there a set of convenience methods on any of the Screeps projects to add structures/creeps as they exist on live?
If not, do you think this project would be a reasonable place to put such wrappers? That way they could be updated whenever the Screeps version is updated.
I am willing to put up a PR with these methods, if you guys think this would be a good place for them.

When I wrote it, I was thinking about placing these kind of methods in src/world.js.
As a start, you have addRoomObject() which is quite generic but still more abstract than manipulating database directly. You can see some examples in world.tests.js but I don't think I ever used it for owned creeps or structures.
If needed, it should be fairly easy (but quite time consuming) to implement more specific methods on top of it. The file grew up quite fast though, it may be better to split these functions into another one.
I leave it to @pyrodogg for final decision.

Thanks for the reply, I agree addRoomObject() is the better base abstraction on which to start.
I don't mind implementing the specific methods. As it is I am already slated to write them for my own project because I feel it is necessary to write readable tests. Adding them to src/world.js or src/roomObjects.js etc sounds fine.
Just let me know your or @pyrodogg's preference.

Its been on my mind to add more convenience functions for mocking room scenarios. Also, documentation and examples for how to use them.
Putting it in something like src/roomObject.js sounds good to start. If needed later, it could be broken up in even more detail.

Sounds good! I'll give it a try this weekend and open a PR with a first attempt.

I don't mind implementing the specific methods. As it is I am already slated to write them for my own project because I feel it is necessary to write readable tests.

@brisberg if you manage to write readable tests using the mock server, I think it would be great if you published some examples of that, like I did with unit tests, using Jest. I can't really picture how these tests would look like and what's the benefit of using them, instead of unit tests. I'd love to see some concrete examples.

@eduter Good idea, I'll definitely publish what I come up with. Just looked over your jest integration and it looks really good! I'll definitely make use of it for my unit testing.
I am hoping that the tests will be broad enough that they give confidence that your AI can accomplish a very broad tasks.
Hopefully these tests are mostly AI independent, so that you do not need to update them often, even with drastic changes to the AI. You can also set performance limits (CPU usage, Energy harvested / tick, number of ticks to distribute, etc) and ensure that your changes do not reduce efficiency in other aspects.
Also Combat Scenarios would be very useful. See if your squads of units can defeat other squads of units, base can defend a drain attack, etc. These kinds of multi-tick engagements would be very difficult to Unit test effectively.


add tweetProjectOfTheDay

Will, add more project ideas as needed, maybe FSS links, not sure how much of the char limit will be used for this, maybe add another function for that before posting??

@spences10 This PR has some conflicts with the version of bot.js you have implemented the new snippet of code. Can you please do the same using the latest bot.js file?

Ok, I'll take the master branch and re-apply my changes, yes? If so close this PR
Thanks :+1: :nerd_face:

When trying to run the latest version in my c9 IDE I get the following error:

I thought it was because I needed to add the "use strict"; // added for use on c9 but still doesn't seem to want to work for me, any Ideas @amandeepmittal


Feature Request: Write Current Song Info to .txt File

OS: Windows 10 x64
Idea Descriptions: I'm currently a streamer who's been using Spotify for a long time now, and I've been using a tool called Snip to gather the song info (title, artist, album, and album art [last one is unnecessary]) to put it on stream in the corner.  It gathers the info from Spotify and simply updates it any time Spotify changes tracks, which updates the stream text nearly instantly.  I just switched paid services to GPM, so there's no way currently for me to show the current track without it looking really bad.
I know this capability probably won't help too many people, but I'm completely new to Javascript and only have experience in Java (and only 2 courses of that in college).  If it helps, I'll gladly toss a couple bucks your way to support the project.
Thanks!

See https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/2216
If you have a rudimentary understanding of Java though you might be better off implementing it yourself as a separate Java tool.  We have a PlaybackAPI so that people can read this information 👍
https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/blob/master/docs/PlaybackAPI_WebSocket.md


Support rotated and flipped tiles in Tilemaps.

Summary
The ability to rotate and flip tiles in Tilemaps would greatly simplify tilesheet creation and reduce texture sizes, especially for top-down maps.
Modification points:

Tile.cs

Add enums RotateDirs { Up, Right, Down, Left } and FlipMode { None, Horizontal, Vertical }
Add properties for above enums

TilemapRenderer.cs

Modify Draw() to respect tile rotation and flipmode

TilemapEditorCamViewState.cs

Rotate tile brush border according to current brush rotation and flip

EditTilemapAction.cs

Rotate/flip added tiles.

Add editor action to change current flip and rotate values.

Interesting idea! Solid implementation outline too.
Some quick thoughts on the impact:

Changes to per-tile logic and data can have a big impact due to number of tiles. As a benchmark, I used the scenario of a 1024x1024 tilemap during development of the plugin, multiplied by 3 for a multi-layered setup. Point is: There may be a really huge number of tiles.
Tile is currently 4 + 4 + 2+ 1 = 11 bytes big and should be optimized for size. The two rotation enums could fit into a single byte, which is pretty good. Still, it's not free.
In the same vein, there will be additional cost for added logic in generating drawcalls. We'll never see quite that many tiles at once due to culling, and it's just a very tiny cost, but it's not nothing.

I guess I'm just trying to say, we should make sure the feature would be put to good use when implemented, especially since everyone will pay for it regardless of whether it is used. Would be interested in everyone's thoughts on this!

What are the main use cases / examples, e.g. when would you need or want to rotate or flip a tile?
How many tiles in a tileset will typically be rotated or flipped?
Would it be viable for the user to just add rotated or flipped variants of tiles they need to the tileset manually?
How big would the overlap with the existing AutoTiling feature be? Could this be useful to achieve the same effect at "zero impact"?

Thank you for the insight!

What are the main use cases / examples, e.g. when would you need or want to rotate or flip a tile?

Right now, it is most useful only on completely top-down maps where the camera is looking straight down the z-axis.

How many tiles in a tileset will typically be rotated or flipped?

An example from http://www.cr31.co.uk/stagecast/wang/3corn.html state that an 3-edge Wang tile set would be reduced from 81 tiles to 24, if rotations are supported.

Would it be viable for the user to just add rotated or flipped variants of tiles they need to the tileset manually?

After doing some thinking and testing, this is actually the best approach. Texture space is cheap, performance hits is not.

How big would the overlap with the existing AutoTiling feature be? Could this be useful to achieve the same effect at "zero impact"?

I did not consider this. I guess a lot of AutoTiling code would be changed also.

From the above, I guess it's better to create an editor plugin that generates the full tileset from an initial set of tiles. This way, impact is virtually nil.


Alternative to FormBuilderLocalizations or just don't use FormBuilderValidators

Assuming I'm not wanting to use the error text wording, or use my own way of dealing with i18n in Flutter, what support is there for using FormBuilderValidators, but my own delegate for all the error messages etc? What's the best/easiest way to plug in my own delegate into the FormBuilderValidators?
Is this possible, or would it be easier to use my own set of Validators with error txt etc... ??

I'm afraid that's gonna cost you a bit in terms of lines of code. form_builder_validators will allow you to write your own error message instead of the default.
You'll however have to do this for every validator you use:
....
validator: FormBuilderValidators.compose([
    FormBuilderValidators.required(context, errorText: <YourCustomLocalizations>.of(context).requiredErrorText)),
    FormBuilderValidators.numeric(context, errorText: <YourCustomLocalizations>.of(context).numericErrorText),
    FormBuilderValidators.max(context, 70, errorText: <YourCustomLocalizations>.of(context).maxErrorText)),
])

No that's actually perfect and exactly what I'm looking for. I don't use the code-generator way of i18n support in my apps, and having a way to just inject my i18n strings is perfect :-)
PS - your readme examples on the websites are all wrong and don't compile without several code updates (e.g. not null safe etc, field names have changed etc)


Use latest dependency check version available

Update to latest dependency check version currently available:
https://github.com/jeremylong/DependencyCheck/releases/tag/v8.3.1
in regards to https://github.com/dependency-check/dependency-check-gradle/issues/342

i would have published this already - there is an issue with the build. See #339.

superseded by https://github.com/dependency-check/dependency-check-gradle/pull/345


Advanced integration

Is it possible to use this repo for advanced integration like this: https://github.com/paypal/paypal-checkout/blob/master/docs/button.md#advanced-integration ?
I don't see the finely grained control in docs.

Hey @furyscript,
No it's not possible at the moment I'm afraid. I've been planning to tackle the advanced integration for this component but haven't had the time, nor came up with a solution I actually liked.
You're more than welcome to fork and add your own advanced integration if you like!
Thanks.


Factor out a proto_helper crate to generate proto stubs

meow @krzesi-mir

fyi @tblaette @feuerste @catevita

I could not find other points than those Kamil pointed out, just ping if you need some review after your changes

@nnmm would this PR be relevant to the current work with protos?

No, I don't think you can use this to generate Python stubs.


head script InnerHTML encoded like html escape

I have some issue about nuxt.config.js write head.script
I need write some code in head script , like define a object .
so I find how to setting on vue-meta ( use innerHTML )
https://github.com/declandewet/vue-meta#script-object
in my html , I got my code like it escape html .
maybe for some security reason  .
but , I can't find some information can disable it .
( vue-meta just use single quote in innerHTML )
Would someone know this and give me a reference , thanks.

Hi @ausir0726,
Have you tried to do it with an app.html document?
Nuxt.js Documentation

@alexchopin  I think modify app.html will be work .
but I just don't want modify template .
because vue-meta already provide innerHTML attribute .
It just escaped html . ( but vue-meta doesn't )
just want find some way to resolve this escape situation .

I tried write template app.html file
it works for me  .
but if possible let me know how to write innerHTML in nuxt.config.js without escape .
thanks !

@ausir0726, I tried with:
 script: [
   {
     innerHTML: `
     var a = 'abc';
     console.log(a);
     `
   }
 ],
 __dangerouslyDisableSanitizers: ['script']

and it works fine.

sorry @alexchopin  waste for your time .
I also find the answer after your response
Where should I put the inline script? #226
add this reference for some one landing this page .


Nuget.org doesn't work

I installed Visual Studio 2022
Nuget.org is not on list as a default.
I tried to add it, but I get error 404 Not Found when I search anything.

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

ID: ef71b45e-0bb6-6e61-3b42-8e8f150db9fb
Version Independent ID: 129fb470-7186-059a-fbe8-29b1caf96bf9
Content: Quickstart: Install and use a NuGet package in Visual Studio (Windows only)
Content Source: docs/quickstart/install-and-use-a-package-in-visual-studio.md
Service: nuget
GitHub Login: @JonDouglas
Microsoft Alias: jodou

If this does happen, this is a product issue.


Default resolve condition "node" for preload causes incompatible node versions of modules to be loaded when nodeIntegration is disabled

Describe the bug
Preload should not have "node" set as a resolve condition by default, as there's no way to disable it because vite's mergeConfig will merge arrays.
My preload uses the uuid module. Because of this condition, it bundles the node version module instead of the browser version, which breaks because it requires the crypto module and I have node integration disabled.
Electron-Vite Version
1.0.24
Electron Version
22
Vite Version
4.1.1
Validations

[X] Follow the Code of Conduct.
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

@shayded-exe I'm also thinking about this. You can externalize it first(sandbox needs to be disabled).

Disabling sandbox isn't and option for me.

The next version will remove this condition for preload.

@alex8088 That doesn't overwrite the value though. Vite's mergeConfig concats the arrays.
See here:
https://github.com/vitejs/vite/blob/main/packages/vite/src/node/utils.ts#L1038

new ver 1.0.25 is out!

Thank you! 😃


Packages failing test case

Motivation

Test plan

See included automated tests.

https://github.com/sorbet/sorbet/pull/4405 instead


iterative_train_test_split assumes dataframe when numpy array is allowable

The issue here is that iterative_train_test_split is defined as
def iterative_train_test_split(
    X: np.ndarray,
    y: np.ndarray,
    ...
)

but somehow expects X and y to have a loc(...) method, which they do not. This results in the following exception:
Traceback (most recent call last):
  File "mlc_bugreport.py", line 10, in <module>
    X_train, X_test, y_train, y_test = iterative_train_test_split(X, y, test_size = 0.1, random_state=42)
  File ".../iterative_stratification.py", line 110, in iterative_train_test_split
    X_train, y_train = X.loc[train_indexes], y.loc[train_indexes]
AttributeError: 'numpy.ndarray' object has no attribute 'loc'

As already said in #286 , removing the access method seems to be enough to fix the issue.
Reproduction:
scikit-multilearn-ng v0.0.6 installed
from sklearn.datasets import load_iris
from sklearn.preprocessing import LabelBinarizer
from skmultilearn.model_selection import iterative_train_test_split
from skmultilearn.problem_transform import BinaryRelevance
from sklearn.svm import SVC

dataset = load_iris()
X = dataset.data
y = LabelBinarizer().fit(dataset.target).transform(dataset.target)
X_train, X_test, y_train, y_test = iterative_train_test_split(X, y, test_size = 0.1, random_state=42)
classifier = BinaryRelevance(
    classifier = SVC(),
    require_dense = [False, True]
)
classifier.fit(X_train, y_train)
predictions = classifier.predict(X_test)

Hello @andreplima!
The issue has been fixed, and now the fix is present in the new v0.0.7 release. So all you have to do is to update the package with:
pip install scikit-multilearn-ng==0.0.7

I tried to run your code, and it works:

Thanks for opening the issue! Just note that this is the wrong repo for scikit-multilearn-ng, here is the correct one: https://github.com/scikit-multilearn-ng/scikit-multilearn-ng
If the issue somehow persists or if you get others issues, please let me know!


Extract Value From URI

Add utility function to extract a value from a URI given a key.

Thanks @joseph-kaile!


FR: Provide an efficient way to resolve icon out of composition

Here's currently the hacky way we use to load fonts into bitmaps on Android:
// TODO: This is a huge hack to get access to compose resources outside of composition and may break at any moment
//    Relies on compose 1.7.0 asset resource handling logic internals

val resourceUri = Res.getUri("font/fontawesome_font_v6.ttf")

val String.assetPath: String
    get() = Uri.parse(this)
        .path
        .orEmpty()
        .removePrefix("/android_asset/")

private val font = Font(path = resourceUri, assets)

fun FontResourceIcon(font: Font, context: Context, icon: Char, color: Color = Color.White): Bitmap {
    return FontIconBitmap(icon, context, color, StaticIconFont(arrayOf(font), "liga"))
}

This is very fragile, cumbersome, unsafe and non-performant and also uses internal library APIs with the need to suppress the error.
There should be a way to take a compose resource identifier for a font and return an icon bitmap out of the box.
Our use-case is that we draw font icons in notifications depending on the icon name which comes from the database, for example in the status bar we draw an icon the user chose, which requires passing either Android's Bitmap, Icon or Drawable to the NotificationCompat's constructor. We also do this in a non-suspending context on main thread - the Service event loop.
And ideal solution would be to have:
fun FontIconBitmap(name: String, font: FontResource, context: Context, tint: Color? = null): Bitmap

P.S. For the issue in TODO we may need to file a bug on YouTrack because I searched and haven't found any.

This is a limitation of the compose resources library, unless the other Font functions, the one from compose resources is annotated with Composable.
Something like this should work:
@OptIn(ExperimentalResourceApi::class)
public fun createStaticIconFont(
    context: Context,
    fontResource: FontResource,
    fontFeatureSettings: String? = null
): IconFont {
    val environment = getSystemResourceEnvironment()
    val bytes = runBlocking {
        getFontResourceBytes(environment, fontResource)
    }
    val file = context.cacheDir.resolve(bytes.contentHashCode().toString())
    if (!file.exists()) {
        file.writeBytes(bytes)
    }
    return StaticIconFont(
        fonts = arrayOf(Font(file = file)),
        featureSettings = fontFeatureSettings
    )
}

I used the same kind of workaround for variable fonts on Android. This is not perfect because it requires copying the font from the assets to the cache, but at least it doesn't depends on the internal logic of the resources library.

That function will definitely not work for us, not only it does I/O on the main thread, but also I do not see any point in creating a separate file for the font when the exact same file is already in the assets directory. Our problem is that the StaticIconFont constructor is internal and that the logic for resolving the font from system assets is exposed to client code.

As I said this far from being perfect, but this is the only workaround I found to avoid relying on internal logic. It would be way better if I could just create a typeface from a byte array like I do on Skiko, but unfortunately Android doesn't seem to support that. I'll try to look more deeply into better alternatives to do this but I can't promise any result.

https://youtrack.jetbrains.com/issue/CMP-5917/

I agree with the JetBrains team member that answered your issue, compose multiplatform resources are not designed to be used outside of compose, and my library is not supposed to either.
FontIconBitmap was originally only for usage in AndroidX Glance where everything happens in a composable, and I didn't think about the fact that someone would need to create a FontIcon outside the composition.
I think I'll just add 2 non composable functions createStaticIconFont and createVariableIconFont that will simply take one or multiple Font as parameters (plus the common ones like fontFeatureSettings). This will fix the part of your issue regarding the visibility of StaticIconFont.

The problem is that I do not understand how my use case could be achieved without that. I added a comment on YT explaining the situation. Do you have any solutions in mind?

Well it's not a perfect solution since it won't support the Res.font.font_name format, but the idea I proposed earlier would work :

2 non composable functions createStaticIconFont and createVariableIconFont that will simply take one or multiple Font as parameters (plus the common ones like fontFeatureSettings).

This would transform your very first example to:
val fontPath = Res.getUri("font/fontawesome_font_v6.ttf").removePrefix("/android_asset/")
val iconFont = createStaticIconFont(Font(path = fontPath, assets), "liga")

fun FontResourceIcon(font: Font, context: Context, icon: Char, color: Color = Color.White): Bitmap {
    return FontIconBitmap(icon, context, color, iconFont)
}

This would obviously be better if the compose resources library had a way to get resource path from a resource ID, outside of composition.
However I understand the point of view of the JetBrains devs, compose resources is a compose multiplatform library, there is no reason to add things that would make it work outside of composition. The best solution for that would be an actual KMP resources library that supports every target of Kotlin, unlike compose multiplatform which only supports a subset of those targets.

Yes your solution would work perfectly, when that is done we can close the issue. On the topic of responsibilities, I believe there is no such thing as "compose only resources". Like in our case, resources can be shared by a lot of places in the code, but duplicating them has a lot more impact than duplicating code. Here, we would for example need an entire separate library (like iconics to render icons via xml) and a full duplicate of the font file. Not acceptable for us given that the font constitutes 15% of the apk size.


Segmentation fault when accesing void object of numpy module

Segmentation fault and Spyder crash when accessing void object of numpy module (loaded from matlab file) in spyder  variable explorer
import numpy as np

B = np.load('example.npy', allow_pickle=True )[()]

python 3.6.8
numpy 1.17.3
IPython 7.9.0
I am including example file here
https://www7.zippyshare.com/v/ZvMh1rkg/file.html

@impact27, could you take a look at this one? It looks like a problem in our comms.

Fatal Python error: Segmentation fault

Thread 0x0000700015914000 (most recent call first):
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/threading.py", line 300 in wait
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/threading.py", line 552 in wait
  File "/Users/quentinpeter/pyscripts/jupyter_client/jupyter_client/channels.py", line 158 in run
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/threading.py", line 917 in _bootstrap_inner
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/threading.py", line 885 in _bootstrap

Thread 0x0000700014e8b000 (most recent call first):
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/selectors.py", line 558 in select
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/asyncio/base_events.py", line 1739 in _run_once
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/asyncio/base_events.py", line 539 in run_forever
  File "/Users/quentinpeter/Library/Python/3.7/lib/python/site-packages/tornado/platform/asyncio.py", line 148 in start
  File "/Users/quentinpeter/pyscripts/jupyter_client/jupyter_client/threaded.py", line 188 in run
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/threading.py", line 917 in _bootstrap_inner
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/threading.py", line 885 in _bootstrap

Thread 0x0000700014882000 (most recent call first):
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/threading.py", line 296 in wait
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/threading.py", line 552 in wait
  File "/Users/quentinpeter/Library/Python/3.7/lib/python/site-packages/IPython/core/history.py", line 829 in run
  File "/Users/quentinpeter/Library/Python/3.7/lib/python/site-packages/IPython/core/history.py", line 58 in needs_sqlite
  File "</Users/quentinpeter/Library/Python/3.7/lib/python/site-packages/decorator.py:decorator-gen-24>", line 2 in run
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/threading.py", line 917 in _bootstrap_inner
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/threading.py", line 885 in _bootstrap

Thread 0x0000700014279000 (most recent call first):
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/threading.py", line 300 in wait
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/threading.py", line 552 in wait
  File "/Users/quentinpeter/pyscripts/jupyter_client/jupyter_client/channels.py", line 158 in run
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/threading.py", line 917 in _bootstrap_inner
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/threading.py", line 885 in _bootstrap

Thread 0x00007000127e1000 (most recent call first):
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/selectors.py", line 558 in select
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/asyncio/base_events.py", line 1739 in _run_once
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/asyncio/base_events.py", line 539 in run_forever
  File "/Users/quentinpeter/Library/Python/3.7/lib/python/site-packages/tornado/platform/asyncio.py", line 148 in start
  File "/Users/quentinpeter/pyscripts/jupyter_client/jupyter_client/threaded.py", line 188 in run
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/threading.py", line 917 in _bootstrap_inner
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/threading.py", line 885 in _bootstrap

Thread 0x000070000c7bd000 (most recent call first):
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/threading.py", line 296 in wait
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/threading.py", line 552 in wait
  File "/Users/quentinpeter/Library/Python/3.7/lib/python/site-packages/IPython/core/history.py", line 829 in run
  File "/Users/quentinpeter/Library/Python/3.7/lib/python/site-packages/IPython/core/history.py", line 58 in needs_sqlite
  File "</Users/quentinpeter/Library/Python/3.7/lib/python/site-packages/decorator.py:decorator-gen-24>", line 2 in run
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/threading.py", line 917 in _bootstrap_inner
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/threading.py", line 885 in _bootstrap

Thread 0x0000700015411000 (most recent call first):
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/pydoc.py", line 2270 in serve_until_quit
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/pydoc.py", line 2299 in run
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/threading.py", line 917 in _bootstrap_inner
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/threading.py", line 885 in _bootstrap

Current thread 0x000000011c26adc0 (most recent call first):
  File "/Users/quentinpeter/Library/Python/3.7/lib/python/site-packages/numpy/core/arrayprint.py", line 1337 in _void_scalar_repr
  File "/Users/quentinpeter/pyscripts/spyder/spyder/plugins/variableexplorer/widgets/collectionsdelegate.py", line 292 in setEditorData
  File "/Users/quentinpeter/pyscripts/spyder/spyder/plugins/variableexplorer/widgets/collectionseditor.py", line 769 in mouseDoubleClickEvent
  File "/Users/quentinpeter/pyscripts/spyder/spyder/app/mainwindow.py", line 3562 in run_spyder
  File "/Users/quentinpeter/pyscripts/spyder/spyder/app/mainwindow.py", line 3663 in main
  File "/Users/quentinpeter/pyscripts/spyder/spyder/app/start.py", line 218 in main
  File "/Applications/Spyder.app/Contents/MacOS/Spyder", line 4 in <module>

Doesn't look like it. Maybe it might be a numpy bug?
It looks like numpy tries to PyArray_Item_INCREF the NULL pointer.

This is a numpy / cloudpickle error. To reproduce:

Open a python interpreter

>>> import numpy as np
>>> import cloudpickle
>>> B = np.load('example.npy', allow_pickle=True )[()]
>>> cloudpickle.dumps(B)

Open a new python interperter
set bin_str to the output of the first interpeter

>>> import cloudpickle
>>> cloudpickle.loads(bin_str)

The process then crashes

Ok, thanks for digging into this one @impact27! Is there any way to avoid de-serializing this, so we can avoid the crash in our side?

This is a numpy error

What's the error exactly?

I can get the same crash with just one interpreter:
import pickle
import numpy as np
B = np.load('example.npy', allow_pickle=True )[()]
data = pickle.dumps(B)
del B
print(pickle.loads(data))

Probably pickle saves a pointer but not the underlying data. The code doesn't crash when de-serializing this, only when trying to access the data (repr(value)).
We could:

Disallow the numpy.void datatype ()
Do it in another process and expect that this process might crash?

#10617 should fix this

@impact27 I am including (one of) original source mat file, I also included it in the numpy issue;
import scipy.io  as sio
B = sio.loadmat('example.mat')['atlas']
temp = B[0][0]

spyder still  crashes when I am  trying to access temp variable but I have problem to reproduce pickle behavior
B = np.load('example.npy', allow_pickle=True )[()]
data = pickle.dumps(B)
del B
print(pickle.loads(data))

gives normal output


ionviewdidload is fired every time the page is pushed

Short description of the problem:
i don't know if this is the expected behavior but in the docs it is said that
ionViewDidLoad : Runs when the page has loaded. This event only happens once per page being created. If a page leaves but is cached, then this event will not fire again on a subsequent viewing. The ionViewDidLoad event is good place to put your setup code for the page.
but if i push a page for the first time the event is fired thats normal but if i pop back and push the page again the event is fired again.
is this normal?
What behavior are you expecting?
maybe my page is not cached for some reason so the event is fired like it's the first time.
Steps to reproduce:

setup a new project
create two pages
push one to another pop back and push again.

ionic 2 rc1

yes, it is normal. When you pop() a page is it removed, so next time you push it, it is a difference instance, so ionviewdidload is fired again.

What is the best way to handle code that should only run the first time the page is loaded? I am using the conference app style menu which uses nav.setRoot and this lifecycle hook is firing every time. It seems like ionViewDidLoad() does not act as expected with this behavior as I would think the norm is to push/pop/set root to navigate around the app


Broaden install targets to include VS15 Preview

While currently still in a fairly early preview stage, preview 4 to be exact, VS15 is already quite polished and offers some extra niceties for TypeScript projects including opening a folder as a solution. This change allows the extension to be discovered and installed into any version of VS15. Thank you.

@frhagn any chance of merging this?

Hi @aluanhaddad,
thanks for contributing and for being active in the community!
I'll merge this for now since VS 15 is in preview, but in the long run I'm thinking of splitting Typewriter up in separate versions for each version of Visual Studio.. It's hard to keep all the dependencies up to date while keeping support for previous versions of Visual Studio.

@frhagn Thank you for merging this. Your reasons for wanting separate versions for each version of Visual Studio are very understandable.
PS. Thanks for this TypeWriter, I love it. I have a different use case than many, in that I do not generate from classes -> classes but rather from classes + interfaces -> interfaces and make heavy use of external modules. This plugin gives me the control I need to generate the imports for dependencies very easily

@aluanhaddad, I had to revert the change since publishing to the Visual Studio Gallery doesn't work when targeting VS15.

That's a shame, I know it worked for preview for on a different extension, but they changed a lot in preview 5. Anyway, thanks for giving it a go 👍


Roll Engine from 612acf349e36 to baecbd4382e9 (2 revisions)

https://github.com/flutter/engine/compare/612acf349e36...baecbd4382e9
2020-10-01<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from sDtTSnOFx... to GEYgsTBRM... (flutter/engine#21533)
2020-10-01<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from aO19K7Ut2... to U2Cd8uL4-... (flutter/engine#21529)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from sDtTSnOFx2Wk to GEYgsTBRMM7g
fuchsia/sdk/core/mac-amd64 from aO19K7Ut2ohA to U2Cd8uL4-2Rl
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.


Include a generated Wasm File for tree-sitter-web

Build outputs shouldn't be vendored in the repository.

Okay, can you put them in a release or somewhere that has a URL endpoint that can be referenced?

If only there was some sort of build tool that can handle building heterogenous software environments...

If only there was some sort of build tool that can handle building heterogenous software environments...

that's not a fetchable URL endpoint? I don't understand

Come on man :/ I'm just trying to make the software world a better place. I already built it a year ago and put it in my own repo, but I can't setup a webhook to rebuild it every time you make a change. So mine is always out of date.
The whole point of wasm is that it runs client side, but people can't build the project client side.
So I'd like a not-out-of-date URL that a frontend can pull from.

If we started cutting releases the wasm grammar could be uploaded to the github releases API.
To do that we'd have to figure out a version number scheme.
I'd suggest something like:
${tree-sitter.major}.${tree-sitter.minor}.${patch}

major.minor would indicate tree-sitter compatibility & patch would be an incrementing counter indicating the release of tree-sitter-nix.

major.minor would indicate tree-sitter compatibility & patch would be an incrementing counter indicating the release of tree-sitter-nix.

That would work perfectly for me!

Thanks for your contribution @jeff-hykin.
This would be better reported as an issue, or pushed with an updated implementation.
In it's current state it will not be merged, and it serves no one to keep it open.

This would be better reported as an issue

Understandible, I can do that


[docker] azk build does not support url in COPY or ADD in Dockerfile

e.g.:
FROM azukiapp/ubuntu

ADD http://azk.io/install.sh /install_azk.sh
RUN chmod +x /install_azk.sh
CMD ["/install_azk.sh"]

Lacked improvements in the regular expression that checks if URL, and it was resolved in the pull request #343.


Problem on edit

When I try to edit an item a white page appears and I get the following error in the browser console.

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

@seeronline, may you explain what the file is?

Deleted a comment with file

ORM: tortoise-orm v0.21.6
Framework: FastAPI v0.112.1
class Image(Model):
    id = fields.IntField(primary_key=True)
    name = fields.CharField(max_length=500, unique=True)
    image_url = fields.CharField(max_length=500)

@register(CeremonyImage)
class ImageAdmin(TortoiseModelAdmin):
    list_display = ("id", "name", "image_url")
    list_display_links = ("id", "name", "image_url")
    list_filter = ("id", "name", "image_url")
    search_fields = ("id", "name", "image_url")

Does my code have any problems?

 It works for me with your model and admin
 I used example fastapi_tortoiseorm (added your model with admin)
tortoise orm 0.21.6
FastAPI 0.112.1

Sorry, but in order to keep the models simple I dropped date field from the sample of the first post. With a field of type DateField,  you can reproduce the bug.
class Image(Model):
    id = fields.IntField(primary_key=True)
    name = fields.CharField(max_length=500, unique=True)
    image_url = fields.CharField(max_length=500)
    date = fields.DateField()

@register(Image)
class ImageAdmin(TortoiseModelAdmin):
    list_display = ("id", "name", "image_url", "date")
    list_display_links = ("id", "name", "image_url", "date")
    list_filter = ("id", "name", "image_url", "date")
    search_fields = ("id", "name", "image_url", "date")

Reproduced I will provide a fix soon

@mosynaq fixed here https://github.com/vsdudakov/fastadmin/releases/tag/0.2.13


[NCL-4690] Add support for invoking Gradle analyze plugin

This is a backported change from NCL-4585.
All Submissions:

[ ] Have you added a note in the CHANGELOG.md for your change?
[ ] Have you added unit tests for your change?

Notes for reviewer below.
Besides backporting the Gradle analyze plugin, it does a few things more. Some more information:

This changes how adjust providers are selected. From being hardcoded in the Repour configuration file switches to selecting it based on the buildType key sent in the /adjust call body.

This means that if the key is missing, it will fail. Do all adjust calls have it specified?

I'm unsure how adjust_result is populated for other build type than gradle. I used a returned value that sets it specifically: https://github.com/goldmann/repour/blob/NCL-4690-gradle-support/repour/adjust/adjust.py#L229-L230 Others just rely on it being passed and populated in the process provider, but  the adjust_result passed here: https://github.com/project-ncl/repour/blob/194e2cfea1d123b35b12f264178389ca0a626997/repour/adjust/process_provider.py#L25-L26 is never used. Later in the code the result is manually prepared: https://github.com/project-ncl/repour/blob/194e2cfea1d123b35b12f264178389ca0a626997/repour/adjust/process_provider.py#L50-L54 I have no idea how it can work, tbh and I did not touch this part of the code.

I'll fix the test in another commit. LGTM! I think the best way is to start playing with it and adjust (pun intended!) as required for 1.7 and 2.0.

@thescouser89 OK, thanks for the merge!


qtbase: drop patch for qt5.5

0001-Add-a-function-for-QPA-plugins-to-explicitly-destroy.patch, does not apply on qt5.5

Thanks for the patch. I need to wait testing/applying a bit.
That's because I am still using qt 5.4 for with meta-fsl arm. meta-fsl arm
is very special for vivante egl visual ID hack. There was another hack
applied in qtbase mainline (!). Hope somebody stands up for meta-fsl-arm
soon as I don't have time to do so currently.
Andreas

Maybe it's better to copy the branch names from meta-qt.
branch fido stays on qt5.4
master goes to 5.5
I am working on qt5.5 on the raspberry pi 2 on my fork

On Wed, Sep 2, 2015 at 9:21 AM, Yannick Kiekens<EMAIL_ADDRESS>wrote:

Maybe it's better to copy the branch names from meta-qt.
branch fido stays on qt5.4
master goes to 5.5

Yes agreed but but this takes a bit of time to test.

I am working on qt5.5 on the raspberry pi 2 on my fork

Raspi2 is also one of my targets. Note that parts of this layer will not
work as long as we have no X11 and/or Wayland EGL support for RasPi(2).
Have no logs available but kdeclarative (and all depending on it) and
khelpcenter fail with sometimes misleading error messages (libepoxy
conflicts).
Andreas

On Wed, Sep 2, 2015 at 9:43 AM, Andreas Müller
<EMAIL_ADDRESS>wrote:

On Wed, Sep 2, 2015 at 9:21 AM, Yannick Kiekens<EMAIL_ADDRESS>wrote:

Maybe it's better to copy the branch names from meta-qt.
branch fido stays on qt5.4
master goes to 5.5

Yes agreed but but this takes a bit of time to test.

I am working on qt5.5 on the raspberry pi 2 on my fork

Raspi2 is also one of my targets. Note that parts of this layer will not
work as long as we have no X11 and/or Wayland EGL support for RasPi(2). Have
no logs available but kdeclarative (and all depending on it) and khelpcenter
fail with sometimes misleading error messages (libepoxy conflicts).
Andreas

May I add signed-off to your commits?
Andreas

Shure, no problem

1st patch landed in [1]
2nd had to be rebased - see [2]

[1] https://github.com/schnitzeltony/meta-qt5-extra/commit/45dba19684e3a88671063dd17f12f89dbe33ce1e
[2] https://github.com/schnitzeltony/meta-qt5-extra/commit/1c718f0c9c1d73a61a9474c37ba053dcb2655eea


Cannot download Minecraft Launcher

Made factory reset for my Steam Deck. Wanted to install launchers and found out that Minecraft Launcher is missing. Using Beta steamOs

@arspaper I removed Minecraft as the Decky Team no longer wanted it installed for the decky plug in.

Damn, that's unfortunate


backend: Replace gin with oapi-codegen and echo

ToDo:
Fix Github Auth by changing login init logic in frontend (similar to OIDC).

[ ] Finalize a Docs generation tool. list of tools, Option1
[x] Change paginate responses to include total count.
[ ] Fix frontend not sending default values in API payload, eg: false bool values are not sent in update/add channel endpoint
[ ] Add Authorisation to oapi yaml spec.

fixes #435


[libbacktrace] The port does not support windows builds

Describe the pull request
The port does not support windows builds

What does your PR fix?

Which triplets are supported/not supported? Have you updated the CI baseline?

all

Does your PR follow the maintainer guide?

Yes
If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/

@JackBoosY done

Thanks, this LGTM!

@ras0219-msft could you please explain what exactly does "supports": "!windows" mean here? Does it mean the build will fail if I use MinGW or Clang on Windows?
UPD: wtf?
As of October 2020, libbacktrace supports ELF, PE/COFF, Mach-O, and XCOFF executables with DWARF debugging information. In other words, it supports GNU/Linux, *BSD, macOS, Windows, and AIX.

@ras0219-msft could you please explain what exactly does "supports": "!windows" mean here? Does it mean the build will fail if I use MinGW or Clang on Windows?
UPD: wtf?
As of October 2020, libbacktrace supports ELF, PE/COFF, Mach-O, and XCOFF executables with DWARF debugging information.
In other words, it supports GNU/Linux, *BSD, macOS, Windows, and AIX.

Yes, see the title: doesn't support Windows builds.
We didn't try the mingW / clang build on Windows yet.

In our CI, all of the windows builds were failing:
libbacktrace:arm64-windows=fail
libbacktrace:arm-uwp=fail
libbacktrace:x64-uwp=fail
libbacktrace:x64-windows=fail
libbacktrace:x64-windows-static=fail
libbacktrace:x64-windows-static-md=fail
libbacktrace:x86-windows=fail

I'd love to reenable this if we receive a PR that fixes them!

So, in order to at least try to build with mingw I would have to create an overlay port with just this field removed? That sounds not very convenient.

So, in order to at least try to build with mingw I would have to create an overlay port with just this field removed? That sounds not very convenient.

You can try vcpkg install --allow-unsupported .... From the tool's help for the install command:
  --allow-unsupported             Instead of erroring on an unsupported port, continue with a
                                  warning.


build out the remaining api for the initial design

This adds the 3 additional api methods: optional_timeout, just_timeoutandjust_optional_timeout.  These methods each provide special behavior in addition to the base timeout` logic.
optional_timeout allows passing nil as the seconds value to
disable any timeout.  This is a thin wrapper to timeout that
saves the developer a manual if secs.nil? conditional.
just_timeout does the same logic as timeout except that it
only interrupts the block and never raises an exception.  Its
signature is different: you pass the block as the value of the
:do key in hash args.  You can optionally pass an :on_timeout
block to run custom logic when timeouts occur.
just_optional_timeout combines the signature and behavior of
just_timeout with the nil seconds behavior of optional_timeout.
It behaves as you would expect.
Note: I chose to not stub the nested api calls and instead layer
on (ie repeat) the tests of the nested calls.  I chose this to
not only actually test the intended behavior of each method,
but also to not bind the tests to the implementation.
This completes the initial design implementation.
@jcredding ready for review.

@jcredding let me know what you think about the tests.  It's unfortunately a fair amount of repetition.  I'm torn: I like the thoroughness but don't like the duplication.  I don't mind the "system" nature of these tests in lieu of actual system tests.
I'm not super passionate about them - I'll switch to stubbing the nested calls if you prefer.

@kellyredding - I'm good with this :boom: It's definitely thoroughness vs duplication. In something this small and focused I don't mind the "systemy" tests and actual kind of prefer them. I think the negatives are really minimized when its a lib like this. It doesn't really hurt the test suite speed and the duplication is still focused enough that its not like tests in a seemingly unrelated area are erroring.


add python tree alogrithms

Added balanced binary tree check algorithm
added level order traversal for a binary tree algorithm

Please update the README files also.

Please update the README files also.
Hi Aniket:

Updated. Let me know if you need any further changes. Thanks!

Tree Algorithms should be 4-level heading in README.md. Also, update the Python/README.md also.
Add comments regarding the programs at the start too.

Tree Algorithms should be 4-level heading in README.md. Also, update the Python/README.md.
Add comments regarding the programs at the start too.

Updated.

Tree Algorithms should be 4-level heading in README.md. Also, update the Python/README.md.
Add comments regarding the programs at the start too.

Updated.

You have not updated README.md in Python directory. It's mentioned in CONTRIBUTING.md

Tree Algorithms should be 4-level heading in README.md. Also, update the Python/README.md.
Add comments regarding the programs at the start too.

Updated.

You have not updated README.md in Python directory. It's mentioned in CONTRIBUTING.md

Check now.


Problem: Sentry is not integrated on Truflation API

We need to integrate Sentry here for monitoring
<EMAIL_ADDRESS>

@williamrusdyputra Can you please check why it fails: https://github.com/truflation/api-adapter/actions/runs/11141400108

@georgeciubotaru
https://github.com/truflation/api-adapter/pull/12
this PR will fix the dependency installation, please review if there is any missing step

@williamrusdyputra Still fails

@georgeciubotaru found out the problem is because I didn't realize the ApiAdapter is being used on minertoken and nuon, I will update the code

I think its finally succeeded

I will close this issue as its deployed


plib: fix CVE-2012-4552

patch source: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694810#10

Travis failure is unrelated (#12031)

Pushed to master and 15.09.


pytest task done.

Coverage increased (+1.1%) to 37.931% when pulling 3ba8f09a1c813092517b05d4644d924befe20124 on andy-ifeanyi:tdd_tuts into d5fd52c818b07dcac4abe7eb852a216c80b6fde2 on keeppythonweird:master.


issue #95 - restore parse5 typings for ASTAttribute

Make sure you check the following:

[ ] you are making a pull request for the develop branch
[ ] unless trivial, a corresponding issue exists for this PR (reference it)
[ ] if this PR fixes the issue, then include fix #
[ ] you've ran gulp test and it passes the lint
[ ] tests don't fail (except tests in 'failing.spec.ts')

Note: Requests to pull into master from a fork will be rejected.

I'll merge this, but I suspect I'll rework all of those classes in the new few weeks. (I'm away next week btw).


Allow vi modelines compatibility

Is there a good reason vi modelines like # vi:et:ts=2 arent supported?
Since I dont need anything fancy, just setting tabs I settled on this line some years ago after testing support in multiple editors, the basic idea being that anything that supports the vim modelines will support vi too.
using # vim:et:ts=2 works by the way.

No. No good reason. Good catch and thanks for taking the time to reach out.
I'll work this into the next update.

I have made the following local fix to vimmodelines.py to get around this:
__modeline_RX = re.compile('(?:vim|vi)(?:\d*):\s*(?:set)?\s*(.*)$')

Sounds easy enough. Maybe add |ex too.
http://vimdoc.sourceforge.net/htmldoc/options.html#auto-setting

Addressed in release 1.0.5


Add Prometheus NATS exporter

Signed-off-by: Mikhail Naletov<EMAIL_ADDRESS>
What this PR does / why we need it: useful exporter for prometheus for NATS users

/assign @linki

Anyone?


Better management of folded folders

Hello,
Thanks for this amazing extension :star_struck:
On pull request I often add some changes while reviewing code from junior developers. My process is to:

Fix the code
Commit and push the fix
Click on viewed the validated files

On large pull requests, the view on the left then reloads and re-open all previously toggled files :cry: Would it be possible to:

Keep the toggle state upon reload unless the viewed state changed
On first load, have folders on which all the sub files have been viewed folded by default

Thanks a lot 🙏

Keep the toggle state upon reload unless the viewed state changed

When you say toggle are you referring to the expand/collapse state of the tree node?

On large pull requests, the view on the left then reloads and re-open all previously toggled files

I'm not able to reproduce this. Are you talking about the expand/collapse state of the tree node? Can you share a screen shot?


backport: chia 370, 371

replaces https://github.com/dashpay/bls-signatures/pull/67

@PastaPastaPasta ping


Write publisher never completes.

I am trying the following code with combine on a DBPool.
let cancellable = dbPool.writePublisher(updates: { (db) -> Int  in
    let league = League(id: "123", name: "foo", alias: "foo")
    try league.insert(db)
    return try League.fetchCount(db)
})
.sink(receiveCompletion: { error in
    print("copletion")
}, receiveValue: { count in
    print ("\(count)")
})

however the sink or any other calls inserted in the chain are never called when the publisher completes.

Hello @scottandrew, and thanks for trying GRDBCombine!
The write publisher tests pass, so something is different in your setup and we need to find out what.
Would you please perform a few checks?

Do you use the latest Xcode 11 beta 6, and the latest GRDBCombine v0.4.0?
Where do you notice the issue, on macOS, iOS, simulator or device?
Do you retain the cancellable until the write completes?
Did you trace what is happening with the debugging  method handleEvents?

Sorry my fault. This is Xcode 11 beta 6 and the latest GRDBCombine.  I am seeing this on a MacOS 10.15 beta 6 in.a small command line app. The only event handleRequests get is receiveRequest. The apps complete code is below.
struct League: Codable, FetchableRecord, PersistableRecord {
enum CodingKeys: String, CodingKey {
case id
case name
case alias
}
let id: String
let name: String
let alias: String

}
let cancellable = dbPool.writePublisher(updates: { (db) -> Int  in
let league = League(id: "123", name: "foo", alias: "foo")
try league.insert(db)
return try League.fetchCount(db)
})
.sink(receiveCompletion: { error in
print("copletion")
}, receiveValue: { count in
print ("(count)")
done = true
})
while (!done) {}
This originally came up because I was flat mapping to the publisher after a json was decoded to write to the disc.

Ha, this is a deadlock. Just there:

while (!done) {}

The write publisher is documented to complete on the main thread by default. But it can't, because the main thread is busy waiting for the done flag.
So... As a general rule, be synchronous if you can, because it's just so much simpler! Do you really need Combine in a command line app?
// Synchronous database access
let count = try dbPool.write { db in
    let league = League(id: "123", name: "foo", alias: "foo")
    try league.insert(db)
    return try League.fetchCount(db)
}
// Just use count already
print(count)

If you must use asynchronous APIs, then... use another technique. There is no one-size-fits-all solution, so I'll let you find the best solution that matches your real app.

ah. got it.

I super glad I could help you making a super app which makes people happy 👍


Make sequence field in AmqpMessageBody readonly like the other ctor assigned fields

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

Build failure was unrelated to these changes; I restarted the leg that timed out.

If there are any perf benefits here, it would be great to see a micro-benchmark.

@christothes:  Just to clarify - does that indicate concern about taking the change if there's no impact?   From a consistency of pattern standpoint, I think there's merit to this.

@christothes I did not look at this from a perf perspective. I noticed that _data and _value are readonly while _segment is not while it could be. Since there was no explicit reason mentioned why it shouldn't be read-only I aligned it with the other fields. That's it.
https://github.com/Azure/azure-sdk-for-net/blob/969cb74b10e3137026e94d2764514cc429cc2345/sdk/core/Azure.Core.Amqp/src/AmqpMessageBody.cs#L20-L26
I'm OK if you plan not to take this. It took my only a few min to contribute, including this comment. Yet, I'm not planning to spend more time on this, like writing and running a benchmark, than I already have by sending in this change. Thanks for your patience with me.


Don't go blind... use DARK MODE!

Would LOVE to get a DARK MODE theme option for your brilliant application!  Thanks in advanced!

Duplicate of #8


Figure out what data to store for requests and responses

Obviously headers. Duh.
Statistical measured criterion benchmarked metrics for analysis, study, and pretty graphs. (time taken, etc.)
Should include body? Like if some dipshit does a 1TB http get that returns chunked response, do I have to store all that? Have a max limit?
Also, how to handle compressed data? Need to handle all the encodings.
Parse HTML? Parse JSON? Parse XML? Syntax highlighting?

Metadata (headers) only for now. Express makes it difficult to get raw body data out. Considering if I should switch back to native node HTTP versus Express. Express does make it easy to res.sendFile, which I really would like as a feature.

Reponse size
Request-response time

Figure out task is done. Added implementation tasks.


A way of opening a file from the integrated terminal into a specific editor in VS Code

This was originally posted on StackOverflow.

Following this similar question, it's possible to open a specific file from the integrated terminal via:
code -r <filename>

However, what if, in order to be more organized, I wished to open certain files in certain editors? This would be very useful for quickly creating certain types of boilerplate setups...
I'm guessing it could be something like this?
code -r --editor 1 <filename>

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


parse_options.sh not found

Thank you very much for your work!
I want to  run the python script bin/sedit_inference.py. In the Prepare data stage, I  execute the command ./run.sh --stage 0 --stop_stage 5 according to readme.md, an error occurs on line 129 of mlm.sh.
parse_options.sh not found.

sorry for the late response.
in this case, you don't have kaldi installed and please refer to this link: https://espnet.github.io/espnet/installation.html#step-2-installation-espnet
a quick fix would be running:
bash ci/install_kaldi.sh
I think I should update the docker image to make sure kaldi is installed inside....


Mark elements within a link as highlink_density.

If an element is wrapped in a link, it should be considered to have a high link density.

Thanks for putting in the effort on this @megatron-me-uk. Can you add a comment or even some unit tests showing why this change will improve text extraction accuracy?

I rethought this design and am not sure if it would help (unless we had specific cases where this code can improve text extraction). High-link density is a heuristic that reveals if a bunch of text is spammy and thus not part of the full-text. Not sure in which scenario the entire article would be wrapped up in the same


CFN: Write an event logger

When deploying a cloudformation stack with aws cloudformation deploy we don't get the events.  IN TeamCity or some other automated system we need to raise an error code if the stack failed.
Impliment an event monitor with CLI interface.
User a waiter to get events from the deploy stage until the stack completes.

This is not nessesary.  gostacks does this just fine.


to_pytorch prefetching

Description
TBD

#653 did not really enable prefetching. Prefetch was only implemented for map(), so the example gave me a false impression that the prefetching was working, but it was not.
Reopening to implement a proper prefetching for pytorch.


jittering issue with safari

https://user-images.githubusercontent.com/65016628/173596465-f173280c-1705-44b9-a04b-2767450b2a82.mp4
i've been experiencing this weird sizing issue on safari, where the window will jitter between fullscreen and half-screen windows.

closing, #711


4.2 support

Would we need just SW or both SW and HW to support 4.2?

@mck1117 poke? :)

wow Martin prefers 4.2
Simon confirms that 4.2 does have a thicker ceramic, bosch thinned it on the 4.9 for faster response

additional resistor for each LSU type.
22k (existing) = LSU 4.9
6.8k = LSU 4.2
47k = LSU ADV

@dron0gus need your help. let's plan happy 4.2 in July please :)


Suggestion: Way to "Bind" ICollection with SourceCache/SourceList

Hello Roland,
first of all, DynamicData is great!
I currently have the need for maintaining a list (its actually internal settings representation) but also using a SourceCache for propagating changes and data to the rest of the application. Think of it as a settings service in an application.
It would be great to have a builtin way to reflect add and remove changes to a list, like .Bind()
With best regards,
Stefan

If I understand correctly then that should be easy as the code already does all that behind the scenes

Exactly. Actually its very similar to Bind, but no IObservableCollection.

Exactly. The main consideration would be thread safety

Does .ToCollection() suit your purposes?

Not really. Actually I need to maintain a second list besides the SourceCache, which has initial values and the reference should not change.

Ok. Should be able to do it soon.

Great! Have a nice weekend.

I have introduced clone methods to achieve this.
var collection = new Collection<Person>();
var source = new SourceCache<Person, string>(p => p.Name);
var cloner = _source.Connect().Clone(_collection) .Subscribe();

You will have to take control of thread safety your self since you could be consuming the collection at the same time as the cloner.
I have also made changes to the nuget package and moved some specific dot net 4.5 features to a new package. Dynamic data is now in 2 packages.
DynamicData (4.4 beta)
DynamicData.Plinq (4.4 beta)
If you are targeting dotNet 4.5 you should install  the Plinq package

@StefanDoubleU let me know whether this new method works

Hey Roland,
almost great. But what about initial values in the collection. With the provided example, The  SourceCache and the cloned collection differs by the initial values.
var collection = new Collection<string> { "start value 1" , "start value 2" } ;
var source = new SourceCache<string, string>(p => p);
source.AddOrUpdate(collection);

var cloner = source
	.Connect()
	.Clone(collection)
	.Subscribe();

source.AddOrUpdate("some added string");
source.AddOrUpdate("new string");

source.Items.Dump();
collection.Dump();

Result:
String[] (4 items)
start value 1
start value 2
some added string
new string

Collection<String> (6 items)
start value 1
start value 2
start value 1
start value 2
some added string
new string

Maybe a solution could be an overload with an IEqualityComparer for Clone().
Not quite sure... Any idea?

@StefanDoubleU I had forgotten about this! Not entirely sure what the best soluton is as dynamic data is based entirely on the SourceCace / SourceList being the golden data source.
I'll have a think


RESX sort option to sort thesame way as in the UI

I really like the way resources are sorted in the UI: split by first underscore(s?) and sort by left part, right part.
Could we have an option to sort the RESX the same way please [maybe a checkbox "group by ResourcePrefix] :
BaseResource
BaseResource_One
BaseResource_Two
BaseResource_...
BaseResourceWithSuffix
BaseResourceWithSuffix_One
BaseResourceWithSuffix_Two
BaseResourceWithSuffix...

What exactly do you mean by "resources are sorted in the UI"?
Your sample is a simple alphabetical sort, no special treatment of underscores...

Hmm, you're right, that's the alphabetical sort. Looking at the RESX confused me, made me think underscore sorted after letters...
But then... what's the sort in the RESX file? In settings I tried both "Sort using OrdinalIgnoreCase" (my original setting) and "Sort using InvariantCultureIgnoreCase" and it's sorting letters before underscores:
BaseResource
BaseResourceWithSuffix
BaseResourceWithSuffix_One
BaseResourceWithSuffix_Two
BaseResourceWithSuffix...
BaseResource_One
BaseResource_Two
BaseResource_...
Any ideas?
Tx.

So you tried two out of three, now guess what the correct setting is? :smirk:
UI is always using CurrentCulture(IgnoreCase).


Always log warning/errors

Thanks @joseph-kaile! A couple of changes I'd like to see here:

It should log the warnings even if there are no errors. Currently all the logging is wrapped in if (result.errors), so it'll only happen if there's at least one error.
The logging should happen before the loadErrorCallback is invoked. I think that will help minimize confusion, especially if the callback fixes something. We could end up reporting an error that has already been fixed.
There's very similar code to this in RasterOverlayCollection.cpp. It should also be changed to log warnings and errors before invoking the loadErrorCallback.

Thanks @joseph-kaile!


use parent child pom mode instead of submodule

This change is

@birdstorm @Novemser @ilovesoup PTAL

I suggest we first merge the remaining PRs left in client side and then migrant to parent/child mode.

Please resolve conflict.
Move README from core to root and add instruction of how to build for new structure.
Please make sure project is buildable and pass tests.
Please address the comments.
For other parts, LGTM.

fix #93

[ ] archived tikv-java-client
[ ] pass all tests
[ ] check readme and add build method

DAG Test
Result: Tests run: 6841  Tests succeeded: 3774  Tests failed: 8  Tests skipped: 3059
Index Test
Result: Tests run: 1228  Tests succeeded: 691  Tests failed: 206  Tests skipped: 331

Result: Tests run: 21  Tests succeeded: 21  Tests failed: 0  Tests skipped: 0


is it possible to filter by Action?

If say Im manipulating state, but would like to only react to specific actions in other parts of the app.
maybe add the Action type somehow to stateChanged

I'll add that to the list of potential future enhancements. Thanks for the suggestion.