Support for Emoticons Unicode

MySQL’s utf8 charset only partially implements proper UTF-8 encoding. It can only store UTF-8-encoded symbols that consist of one to three bytes; encoded symbols that take up four bytes aren’t supported.
Luckily, MySQL 5.5.3 (released in early 2010) https://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-3.html introduced a new encoding called utf8mb4 which maps to proper UTF-8 and thus fully supports Unicode.
10.9.1 The utf8mb4 Character Set (4-Byte UTF-8 Unicode Encoding) https://dev.mysql.com/doc/refman/5.7/en/charset-unicode-utf8mb4.html

I added the docblock to the public methods.
/// Creates a new `MySQLCharacterSet` from a string. Can return nil if the string is a invalid or unsupported collation.
///
/// - Parameter string: Collation name of desirable character set.
///
/// Currently accepting the followings collations:
/// * latin1_swedish_ci
/// * utf8_general_ci
/// * binary
/// * utf8mb4_unicode_ci
///
/// Example: MySQLCharacterSet(string: "utf8mb4_unicode_ci")
public init?(string: String) {
    switch string {
    case "latin1_swedish_ci": self.raw = 0x0008
    case "utf8_general_ci": self.raw = 0x0021
    case "binary": self.raw = 0x003f
    case "utf8mb4_unicode_ci": self.raw = 0x00e0
    default: return nil
    }
}

/// `MySQLCharacterSet` value.
/// * Collation: latin1_swedish_ci
/// * Character set: latin1
/// * Id: 8
/// * Value: 0x0008
public static var latin1_swedish_ci: MySQLCharacterSet = 0x0008
/// `MySQLCharacterSet` value.
/// * Collation: utf8_general_ci
/// * Character set: utf8
/// * Id: 33
/// * Value: 0x0021
public static var utf8_general_ci: MySQLCharacterSet = 0x0021
/// `MySQLCharacterSet` value.
/// * Collation: binary
/// * Character set: binary
/// * Id: 63
/// * Value: 0x003f
public static var binary: MySQLCharacterSet = 0x003f
/// `MySQLCharacterSet` value.
/// * Collation: utf8mb4_unicode_ci
/// * Character set: utf8mb4
/// * Id: 224
/// * Value: 0x00e0
public static var utf8mb4_unicode_ci: MySQLCharacterSet = 0x00e0

/// See `CustomStringConvertible`.
public var description: String {

thanks!

Hey @mateusfsilva, you just merged a pull request, have a coin!
You now have 1 coins.


update titanic

Do we want the submission.csv checked in?

Do we want the submission.csv checked in?

Probabaly, so we can refer the kaggle score using that submission.


Spanish translation

Hello! I wanted to contribute my grain of sand! 😊
It's my first time here on github so I'm not really sure if the code or PR turned out as it should, I copied the base translation from the translate.py file and started translating from there. I apologize if there are problems.
I will be watching in case there are more changes to translate or fix in the future.

Hello o/
Welcome to Github, hope you'll have a good time =)

I copied the base translation from the translate.py file and started translating from there.

Technically you should've ran the dev build, and let it generate the English.json file in the lang folder, which you would start with. The main reason is that Python source code isn't JSON, and as of right now, your file isn't valid JSON and won't even load properly.
It's not far from being valid though.  Consider this:
# trailing comma after 3
{
    "one": 1,
    "two": 2,
    "three": 3,
}

# no trailing comma after 3
{
    "one": 1,
    "two": 2,
    "three": 3
}

While Python itself allows both syntaxes when defining dictionaries, JSON specification only strictly allows the 2nd case.
Similarly, Python allows breaking up long strings and then letting the compilation phase reduce it to a single "atom" before it's executed - this allows the source code to keep the line length within limits, while still allowing for unrestricted long strings usage. Normally to do this:
# start with the string of choice
long_string = "My very long string that I'd like to break up into smaller pieces"

# add parentheses to move it onto the next line
long_string = (
    "My very long string that I'd like to break up into smaller pieces"
)

# if still too long, divide it into shorter strings and let the compiler concat it back during compilation later
long_string = (
    "My very long string "
    "that I'd like to break up "
    "into smaller pieces"
)

While Python allows this, JSON strictly requires the unchanged form from the starting example. You'll need to remove the new lines, leftover indentation spaces and extra quotes, and finally the parentheses, to make it valid JSON:
long_string = (
    "My very long string "    "that I'd like to break up "    "into smaller pieces"
)
long_string = (
    "My very long string ""that I'd like to break up ""into smaller pieces"
)
long_strings = (
    "My very long string that I'd like to break up into smaller pieces"
)
long_strings = "My very long string that I'd like to break up into smaller pieces"

If you'd be having troubles figuring out if you're doing it right, this site can verify if whatever you give it is valid JSON or not: https://jsonformatter.curiousconcept.com/
And finally, just as a precaution explanation since you're new to Github, to do all of the changes, just modify the branch linked to this PR and the changes should automatically appear here. Do not make another branch with the changes, or open a second PR, because there's no need to. Hopefully you'll be able to figure it out.

Looks definitely better, but there's still a couple of issues:

There's a missing } at the very end of the file. Also remember that each file should end with an empty new line. Both previous and this one already does, but I'm saying this just in case you'd forget to add it after the bracket.
Indentation should be a multiple of 4. The previous version was like that, but this new version uses an indentation that's a multiple of 3. Now sure how or why you've changed this. If you've used some kind of automatic JSON formatter or "fixer", please ensure it's set to 4 spaces of indentation.
The key: value object pairs are missing their dividing space, akin of minified JSON. Previous version also was correct in that regard, but this ones isn't:

"key": "value"  # yes
"key":"value"  # no

Please get those sorted out, if possible.

There's a missing } at the very end of the file. Also remember that each file should end with an empty new line. Both previous and this one already does, but I'm saying this just in case you'd forget to add it after the bracket.

Sorry! I'm not sure about the missing }
Shouldn't the file end up like this?

Huh, weird, looks like it's correct now. Not sure what I was looking at previously, to not see it. My bad.
Seems it works now. Since I'm assuming you haven't really tested the translation, here's some pictures to give you a general idea on how it looks like:

Not sure what happened with the "Login required" bit on the very first pic, but I've launched the application in a special GUI debug mode for that one, and that could've messed up the translation there. During normal run, it seemed to work correctly.
If you'd see anything off on the pictures, you can still correct it by pushing to the PR branch. Otherwise, please let me know that everything's good and I'll merge this =)

Looks good! Thank you very much for all the help!

Thank you for the translation :heart:


Some more hook conversions

As always, better with whitespace hidden...

FWIW in the future smaller PR's for individual files would be less intimidating and more manageable to review

FWIW in the future smaller PR's for individual files would be less intimidating and more manageable to review

@Shakespeared We tested the changes to the billing file locally and reviewed that code. Left a few questions but approve that file so far.

@Shakespeared We tested the changes to the billing file locally and reviewed that code. Left a few questions but approve that file so far.


Add support for custom dev properties

</> tab should have a way of adding (and removing) multiple custom properties
It needs an id and a value.
id should be prefilled with data- (as html custom properties) but editable
value is a string
(feature requested by devs for testing - data-testid)

Hi @zvonimirfras, does this need to be like for each element to change their properties?
I don't get what you are expecting over here

Hi @zvonimirfras, does this need to be like for each element to change their properties? I don't get what you are expecting over here

Hi Kartik (@codingmickey)!
Contextual code tab has code related properties for the selected component. Example:

Talking to some of the users surfaced the need for adding custom properties.
They'd use this to add extra attributes to the DOM elements for things like test-ids (that they could use to write tests).
To close this issue, this needs

UI for adding and removing these properties
they should be stored in the component JSON
exported as attributes in both of the supported frameworks.

Makes sense?
If you want to get into more specifics, feel free to ping me on discord (Zvonimir#9989)
Or just ask here.

Yes got it!! Thanks a lot, @zvonimirfras for the detailed overview. I will start working on this in my free time. Firstly will try to get comfortable with the code base.
Sure! I will ask my doubts curiously if I come across any 👍🏽

Great, @codingmickey! Since this requires some design, and we follow Carbon Design System guidelines, please share a sketch before you start coding, to avoid needing design do-overs. (you can reach out to me privately too, I'm not hard to find)
You can even make it in UI Builder, to go all meta 😛

hi @zvonimirfras sorry for the inactivity I totally forgot about this issue.. does this still need help?


Mobile Homepage

MOBILE REDESIGN
Scope of this project: Redesign the home page for phones

We won't use media queries, responsive CSS, etc. Make a totally
separate mobile site (can still share components with desktop site)
Only port over 1) Surveillance plots 2) Global Sequencing Effort plots

Design mobile page and plots

Current plots are mouse-centric. Need to adapt them for touch
i.e., Hovering over variants in the home page surveillance won't be
possible on a phone
Rearrange plot objects to fit on a screen, only scroll vertically
Rethink how to interact with plots only through touch
Wireframe in Balsamiq, plot mockups might require more powerful tools

Implementation - separate Vega Specs and React Components

Maybe see if LiteMol would work well on a phone?


CAN_NOT_GET_GATEWAY_SERVER

Can't play Audio
{ "name": "AgoraRTCException", "code": "CAN_NOT_GET_GATEWAY_SERVER", "message": "AgoraRTCError CAN_NOT_GET_GATEWAY_SERVER: no active status", "data": { "retry": false } }

The AgoraWebSDK-NG/api says "Fails to get the IP addresses of the Agora servers." for this error code. It seems like a network issue.

The AgoraWebSDK-NG/api says "Fails to get the IP addresses of the Agora servers." for this error code. It seems like a network or transient issue.
Since my account was blocked, I won't investigate SDK issues any more.

https://github.com/callmearta/clubhouse-desktop/tree/150ba375cdb917651c57b993b851aaf501f9fd75

Also i'm using a really old version of Agora web SDK and that's because new version of Agora won't work because of the limitation they put on the user agents for clubhouse ( at least i think so ).
Someone says the newest SDK has limitation. I will try to replace your SDK with old one .
I can Email you a Google Voice  with a registered clubhouse account if you need it.

Hope you solve the problem.
I am not interested in it anymore. Thanks anyway.


ytsearch accuracy

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

Currently ytsearch (all the search methods are probably affected by this) only returns the most relevant youtube video. Which sometimes is completely irrelevant because the query isn't specific enough, or because a completely different thing with a similar name appears because there wasn't anything else to return. It'd be great to return a confidence % on how accurate the search result is.

It returns as much results as you've requested. There is no any kind confidence or accuracy, just results returned by Youtube.


Publish extension on Open-VSX for VScodium

Hey, the extension looks awesome and I'm so glad it's published with an MIT License...
As a user of https://vscodium.com/ I would love to be able to use your extension and install it via https://open-vsx.org/
The recommended way for this is to look at https://github.com/open-vsx/publish-extensions
Thanks in advance and thanks for publishing this tool !

Hey,
I'll take a look at this in my next iteration on the extension.
Meanwhile you can always download the built vsix extension from here


Fix issue with proxied clientlib

Pull Request Test Coverage Report for Build 6404

3 of 4 (75.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.001%) to 56.468%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

bundle/src/main/java/com/adobe/acs/commons/rewriter/impl/VersionedClientlibsTransformerFactory.java
3
4
75.0%

Totals

Change from base Build 6396:
-0.001%

Covered Lines:
16680

Relevant Lines:
29539

💛  - Coveralls

@pcastelog Thanks for the PR. Can you add a changelog entry and a test for this?

@kwin  I think it is very important to get this issue pushed in very quickly. The entire functionality is broken now (for us, mainly on author, since we have no /etc/map entries there).

I added the requested changes

Test for the case of resolving a clientlib with resourceResolver
Changelog


\File::files() do not return files in correct sorting anymore, it is working fine in laravel version 5.4

Laravel Version: 5.5.*
PHP Version: 7.0
Database Driver & Version: any

Description:
I have a menu files seeder and each file is a menu.
Before when I am using laravel 5.4, $menuFiles = \File::files(base_path('database/seeds/menus/')') return files in correct order but now in 5.5,  it is not sorted properly. the files are:
01_dashboard.php
02_branches.php
02_users.php
03_items.php
04_credit_plan_groups.php
04_customers.php
05_suppliers.php
06_transactions.php
08_account_ledgers.php
08_collections.php
08_remittances.php
09_check_stocks.php
09_inventory_report.php
09_inventory_summary.php
10_reorder_items_report.php
10_sales_report.php
11_serial_tracking.php
99_sys_config.php

Currently the workaround I did to fix this is:
$menuFiles = collect(File::files(__dir__.'/menus'))->sortBy(function ($file) {
            return $file->getBasename();
        })->all();

Steps To Reproduce:

This has been fixed in 5.6, but not yet in 5.5. I'll create a Pull Request.

Cool thanks!

The backport to 5.5 was declined. You'll have to use the workaround until you upgrade to 5.6.

Why?
I think they should accept the PR... because some devs will not just upgrade to 5.6


💡[Feature]: Add DNA CLASSIFICATION

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
This feature involves implementing a DNA classification system using machine learning. The objective is to classify DNA sequences as either promoters (sequences that initiate the transcription process) or non-promoters. The dataset consists of 106 DNA sequences with 57 sequential nucleotides, sourced from the UCI Machine Learning Repository. The process includes data preparation, transformation, and the application of various machine learning algorithms to achieve accurate classification.
Use Case

Improving Classification Accuracy: Utilizing advanced machine learning techniques to achieve higher accuracy in DNA sequence classification.
Automating DNA Classification: Automating the process of identifying promoter and non-promoter sequences, which is crucial for genetic research and bioinformatics.
Providing Insights: Offering valuable insights into the effectiveness of different machine learning algorithms for bioinformatics applications.

By implementing this DNA classification system, researchers and practitioners can streamline the analysis of DNA sequences, enabling faster and more accurate genetic studies.
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@pavitraag assigned!


fix: allow zero amount of coin in x/collection Query/Balance

Description

This patch would allow zero amount of coin in x/collection Query/Balance.
Checklist:

[x] I followed the contributing guidelines and code of conduct.
[x] I have added a relevant changelog to CHANGELOG.md
[ ] I have added tests to cover my changes.
[ ] I have updated the documentation accordingly.
[ ] I have updated API documentation client/docs/swagger-ui/swagger.yaml

in test code, newCoin is still used. is it ok?
https://github.com/line/lbm-sdk/blob/main/x/collection/keeper/grpc_query_test.go#L30

in test code, NewCoin is still used. is it ok? https://github.com/line/lbm-sdk/blob/main/x/collection/keeper/grpc_query_test.go#L30

Technically, it would be OK, because the balance would not be zero, but it would be better not to use NewCoins() in the test. I will apply your suggestion. Thank you.


TypeError: '>' not supported between instances of 'NoneType' and 'int'

Hey there, just bringing it to your attention, the recent change to the threads default value is causing errors if the threads param is not specified.  I fixed it on my end by reverting the change to 'None' for the default variable back to 1.
Traceback (most recent call last):   File "/home/kali/tools/CredMaster/credmaster.py", line 713, in <module>     CredMaster(args, pluginargs)   File "/home/kali/tools/CredMaster/credmaster.py", line 54, in __init__     self.Execute(args)   File "/home/kali/tools/CredMaster/credmaster.py", line 207, in Execute     valid, errormsg, pluginargs = validator.validate(pluginargs, args)                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/home/kali/tools/CredMaster/plugins/okta/__init__.py", line 14, in validate     if args.threads == 1 or (args.threads > 1 and 'force' in pluginargs.keys()):                              ^^^^^^^^^^^^^^^^ TypeError: '>' not supported between instances of 'NoneType' and 'int'

Fixed in https://github.com/knavesec/CredMaster/commit/87012c237910b15aa57f5abc370e74b06c24a973
Thanks for the report!


Missing data processing scripts.

Hello,
I am interested in your data pre-processing workflow.
However, all the scripts are missing (gen_textiles.sh,...).
Thanks

Thank you for pointing it out. I updated preprocess.sh with the python call to generate these scripts. Please let me know if it does work.

Thanks!


Generic ERC20 token support

Any timeline on adding custom tokens?
https://github.com/ethereum/EIPs/issues/20

Sorry - didn't realize I had never commented on this. We would absolutely LOVE to have generic interfaces for tokens. I can't promise timeline or anything but know that it is on our todo list and will most likely be the next big featured pushed. Just a matter of finding the time at this point.

Seems this is making progress? With the "Send tokens" option looks like it works, but I'm getting errors about Cannot read property 'getData' of undefined when trying to create a transaction for a custom token. Not sure if this is a bug on my end or not though.

Turns out, if you add a bad token, itll give you errors. Sounds like what is happening here?
To clean out your other tokens:

Open the send token page

right click and say inspect element

find the console tab

scroll all the way down

and copy and paste the following and then hit enter

localStorage.clear();


Improvements

Why do I need TopSnappedStickyLayoutManager?
Isn't the default elavation of 5dp to much? The Toolbar have like 4dp I think and the if you check the Google I/O App they use 2dp for StickyHeaders, maybe you want to set the default also to 2dp?
In the docu you say the RecyclerView should be in a FrameLayout or CoordinatorLayout, why is this? I am using it in fragment->CardView->LL->LL->LL and it seems to work.
Instead of needing to implement StickyHeader which implies adding a new class to my code why not extending the adapter with a callback isThisStickyHeader? I think this would be more practical.

You do not need TopSnappedStickyLayoutManager. It makes scrollToPosition call scrollToPositionWithOffset so I can guarantee the item position that is being scrolled to will be at the top of the list (this is important for UI tests). The default behavior of scrollToPosition only ensures the item is visible, it will not bring it to the top of the list.

Maybe? It's changeable so I'm not too concerned. I don't want to change it until a major release because it would be changing default behavior which some may not expect.

The sticky header view is added to the RecyclerView's parent ViewGroup, so the RecyclerView must have a parent that positions views based on coordinates. CardView is a FrameLayout.

The entire point of this project was to reduce the amount of classes needed to be extended. In most cases, no one has to extend any class unless they want custom LayoutManager behavior (in which case they would have had to extend that class even without the library). This library will never require a custom adapter class to be created.


fix: patch the issue for frozen string on ruby < 3.0 with string interpolation

Description
Although Ruby 2.7.5 is EOL, this change would make it easier for people still working on < 3.0.0 by not having to pin to lower version of opentelemetry-common
Other two string interpolation would work for both > 3 and < 3 (that string is mutable) are:
foobar = "foo%s" % ["bar"]
foobar = sprintf("foo%s","bar")

But not sure if the format is preferred
Fixes part of #1463
Type of change
Please delete options that are not relevant.

[x]  Bug fix (non-breaking change which fixes an issue)
[ ]  New feature (non-breaking change which adds functionality)
[ ]  Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ]  This change requires a documentation update

How Has This Been Tested?
Tested with common, api and propagator jaeger gem using bundle exec rake test
Does This PR Require a Contrib Repo Change?
Answer the following question based on these examples of changes that would require a Contrib Repo Change:

[ ]  Yes. - Link to PR:
[x]  No.

Checklist:

[x]  Followed the style guidelines of this project
[ ]  Changelogs have been updated
[ ]  Unit tests have been added
[ ]  Documentation has been updated

@dazuma @fbogsany @robbkidd could we get your attention again please?  This would remove one major hurdle for our organization to migrate to OTel Ruby and I'd really appreciate any help you can give :)

I'm inclined to merge this if there are not any objections. I'd feel a little better with a ✅ from @fbogsany or @robertlaurin.

@dazuma, it looks like your request for changes is blocking this PR. Do you mind taking a look and resolving if everything looks ok to you?

This changes, added for Ruby under 3.0, was released as v1.2.2 which requires Ruby 3.0 or higher. Is there any plan to port it as v1.1.1, for example, to be also available for Ruby under 3.0?


Be: Sidechain blockchain explorer

Software to use: https://github.com/blockscout/blockscout
Links:

https://docs.blockscout.com/for-developers/information-and-settings/client-settings-parity-geth-ganache#geth-client
https://docs.blockscout.com/for-developers/aws-marketplace/install-from-aws-marketplace

This still needs to be done, bumping. Related: https://github.com/webaverse/app/issues/1445

This guide has been useful: https://docs.komodoplatform.com/qa/blockscout-deployment-guide.html#blockscout-installation
I have ansible scripts backed up from setting it up last time incase it's useful.

@madjin got blockscout running on AWS -- we could point explorer.webaverse.com  and link to it from the website / use its API to get activity histories.

I’ll point to the AWS address. I’m guessing it should be fronted with HTTPS certs?


List all services on error (service not found)

Fixes #2182

Will fix tests. Pls don't review! :)

Failing tests should be fixed 👍
@mcollina @leorossi 🙏

the failing tests are timing out ❤ 🍀:: 👍 !

Thanks, Matteo..🙂🙂


add Index Table's bulkActions' feature

Index Table dont's have a prop to control the bulkActions' checkbox's state.
I hope that after I have done some operations, its state will be restored

@chen-ccy We will do the needful in next update.
Thanks


BUG: Seperating Javascript and styles form index.html

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?

The index.html page is filled with Scripts and CSS, making index.js difficult to ready.
Would like to clean the code in the index.html, separating scripts and css.

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@Kiran-pande-30 please assign this issue to me

@huamanraj , Can u please assign this issue to me.

@huamanraj , Can u please assign this issue to me.

work on this but please make sure any components and pages should not get broken or affected and take care of readability


[Feature] Enhance ctrl-t behaviour

Implement the following ctrl-t behaviour:

If the cursor positioned exactly after a legal dir path, fzf this dir and substitute all the selected items in place the path.
Else, fzf the current dir but sort the list by modification time (recent first as in ls -1t) and list the files/dirs of depth 0 first.

already works for fish shell, but not for bash

I've opened this PR
https://github.com/junegunn/fzf/pull/3918
What do you tihnk?

I haven't had the time to test it out. will check it out and get back to you.
just fyi I am just a regular fzf user.


Content-Length header is misleading

I'm using the curl-client to run SOAP requests from Phpro/SoapClient.
It includes a debug method that brings up request and response headers, so we can inspect what's going on. I also instantiated a PluginClient with a LoggerPlugin, just to be on the safe side. I'm debugging a supposedly missing Content-Length header my server is complaining about.
A request I'm running reports on those two types of logs the header Content-Length: 1150, while the body actually has 1596 chars. After a lot of digging around, I found that those loggers refer to headers inside the RequestInterface object, while the Content-Length header is silently changed inside Http\Client\Curl\Client::createHeaders() - but only passed as cURL options, and not upwards as well.
For the sanity of other developers, this value should also be changed on the request object. I'm not doing a PR as I don't even know if that object is supposed to be modified, or the best way to do it around here.

That's not possible since a request object is immutable, so even if it's modified there is no way other class will know about this :/

I think we can calculate Content-length manually only if it was not already set in request.


Closes: #1

Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py.
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

Hello Sir,
I logged in to my Google Contributors license and accepted the terms.
Can I commit any changes now or still need to do anything?
Thank you
Nenavath Sunil
On Sun, 30 Apr 2023 at 03:35, github-actions[bot] @.***>
wrote:

Stale PRs will be automatically closed to keep this repo clean. If there
is no activity on this PR in the next 7 days, this PR will be closed.
—
Reply to this email directly, view it on GitHub
https://github.com/google/it-cert-automation-practice/pull/26896#issuecomment-1528883014,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASYA4Z6ODCGDC3VUZKTOOULXDWGDPANCNFSM6AAAAAAVLIIME4
.
You are receiving this because you authored the thread.Message ID:
@.***>


intellisense become very slow using 1.24.1

Issue Type: Performance Issue
When I upgrade to v1.24.1, intellisense become very slow and code syntax highlights are also slow than previous version
VS Code version: Code 1.24.1 (24f62626b222e9a8313213fb64b10d741a326288, 2018-06-13T17:41:50.128Z)
OS version: Darwin x64 17.4.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz (4 x 1600)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledvideo_decode: enabledvideo_encode: enabledvpx_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
3, 3, 3

Memory (System)
8.00GB (0.30GB free)

Process Argv
/Applications/Visual Studio Code.app/Contents/MacOS/Electron

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
   13	   123	   869	code main
    0	   106	   871	   gpu-process
    0	    74	   873	   shared-process
    0	   369	  6404	   window (SyncFlowRepo.jsx — just-webui)
    0	    82	  6407	     extensionHost
   95	   311	  6411	       electron_node electronForkStart.js tsserver.js
    0	    49	  6425	         electron_node typingsInstaller.js tsserver.js typesMap.js
    0	    41	  6408	     watcherService
    1	    74	  6588	   shared-process
    0	     0	  6591	   /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    0	     0	  6592	   /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=

Workspace Info
|  Window (SyncFlowRepo.jsx — just-webui)
|    Folder (just-webui): 413 files
|      File types: js(117) scss(73) jsx(49) vm(38) html(26) json(25) css(15)
|                  md(13) tpl(8) woff(6)
|      Conf files: package.json(12) webpack.config.js(1);

Extensions (4)

Extension
Author (truncated)
Version

EditorConfig
Edi
0.12.4

hjson
lak
0.3.0

vscode-language-pack-zh-hans
MS-
1.24.3

js-jsx-snippets
sky
0.0.9

I've seen the same issue. It can be slow, but more often it just doesn't work. I'm working with Javascript (a mix of ES6/ES7/React/Node, no Typescript unless it's hidden somewhere deep in node_modules).
Navigation broke at the same time, and feels closely related. Command-clicking variables and functions, even defined in the same file, often doesn't work. If I right-click and Go to Definition (or press F12), I get No definition found. When it does work, I'll often get a prompt to choose among multiple links which all go to the same definition:

I just downloaded 1.25.0-insider and disabled all extensions, and I still see the same behavior.
I'd be happy to provide more info or open separate issues as needed. Thanks!

I have downgrade to 1.23.1, and the fast intelliSense comes back again :)
Even though I have totally uninstall all extensions and reinstalled 1.24.1, the intelliSense still very slow (some time doesn't work). It seems only 1.23.1 (or earlier version) works on my Mac.

Experienced this problem too. The last update is good, though. For anyone who'd like to download 1.24, here is the link.

@yibn2008

What type of code are you working in? Does a specific action trigger this?
Do you see this in VS Code insiders?
Please share an example project that demonstrates the issue

I want to add a +1 to this. in 1.24.1, my Intellisense in JavaScript dies every ~30 seconds or so. Running TypeScript: Restart TS Server resolves the issue (once it restarts), but it will die again a short while later. Downgrading to 1.23.1 has resolved for now.
I am working in an EmberJS project with nothing that crazy going on, only a few tens of files, so it should be fairly reproducible with not much effort. I have a fair few extensions, so it could be related to that. I have not tested with extensions disabled yet.

@mjbvz I am working on a React and NodeJS project, it's a large project that contains over 200 source files (NodeJS and React with ES6 and jsx support) and more than 80 dependencies. When I type codes like div>xxx>yyy, the emmet hints doesn't appear immediately, but after a few seconds.
I tried to reproduce on some large React/NodeJS open source projects, but the results are not stable. I noticed that the "Code Helper" process will occupy a high CPU (almost 100%) when intellisense doesn't work

Same problem here. Emmet, prettier not working & very high CPU using even after close VS Code it still uses high CPU. It stops after end process from task manager in windows 10.

This may have something to do with VS Code type checking stuff that was previously opened and now closed. Before this version, Code would stop checking files that have been closed. Now it keeps the problems report around even if you didn't want to.
On top of this, the exclude glob doesn't seem to be working.

I have got the reason. This is because of "Auto Rename Tag" extension. After disabling it, now I don't see that problem.

I have this problem too on both Windows and Mac, but only when working with JS/TS projects. My netcore projects seem to work fine. I'd be happy to contribute any debugging data to help debug.

@yibn2008 Are you seeing this in VS Code insiders with all extensions disabled? Do you have an small example project that you can share

I believe I've found the offending extension: https://marketplace.visualstudio.com/items?itemName=rbbit.typescript-hero
Uninstalling this one fixed it for me (I think).

I fixed the performance issue by uninstalling Angular Essentials (ID johnpapa.angular-essentials) extension pack for VS code.
Part of mentioned package is Path Intellisense (ID christian-kohler.path-intellisense) extension. When I tried to install it separately, it also causes the slow down.

Closing as we have not heard back from original issue opener on if this reproduces in VS Code insiders with all extensions disabled

我有个想法：vscode 可以根据不同的项目选择加载不同的插件； go项目加载go相关的插件，web项目加载web相关的插件。  你们觉得怎么样？


Wait for non-busy state on prepare

Appliances need to be in a non-busy state to prepare an image. This implements a check to wait for the appliance to be in the correct state before trying to prepare an image.

e2e ok https://got-testrail.agi.appgate.com/index.php?/plans/view/1056773

re-run e2e before merging

e2e ok https://got-testrail.agi.appgate.com/index.php?/plans/view/1057659


airbyte_source_custom configuration - never-ending drift

Recent PR https://github.com/airbytehq/terraform-provider-airbyte/pull/80 introduced airbyte_source_custom.
We are testing it with AIrbyte 0.50.45 (HELM deployed), provider version 0.4.1.
Terraform definition:
`resource "airbyte_source_custom" "float_api" {
name = "Float API"
definition_id = "0c08da44-45a1-4668-b827-f42cafcf6497"
workspace_id  = local.workspace_id
configuration = jsonencode({
api_key = local.float_api_key
})
}`
Above definition creates custom source correctly, unfortunately it is getting into unresorvable drift state.
`terraform apply -auto-approve --target airbyte_source_custom.float_api && terraform plan --target airbyte_source_custom.float_api
airbyte_workspace.this: Refreshing state... [name=de28cf68-ee55-421f-9bff-0c95f0b01a04]
data.aws_secretsmanager_secret_version.float_api: Reading...
data.aws_secretsmanager_secret_version.float_api: Read complete after 1s [id=airbyte/connector/float-api|AWSCURRENT]
airbyte_source_custom.float_api: Refreshing state... [name=Float API]
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
airbyte_source_custom.float_api will be updated in-place
~ resource "airbyte_source_custom" "float_api" {
~ configuration = (sensitive value)
name          = "Float API"
# (3 unchanged attributes hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
airbyte_source_custom.float_api: Modifying... [name=Float API]
airbyte_source_custom.float_api: Modifications complete after 0s [name=Float API]
Apply complete! Resources: 0 added, 1 changed, 0 destroyed.
airbyte_workspace.this: Refreshing state... [name=de28cf68-ee55-421f-9bff-0c95f0b01a04]
data.aws_secretsmanager_secret_version.float_api: Reading...
data.aws_secretsmanager_secret_version.float_api: Read complete after 0s [id=airbyte/connector/float-api|AWSCURRENT]
airbyte_source_custom.float_api: Refreshing state... [name=Float API]
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
airbyte_source_custom.float_api will be updated in-place
~ resource "airbyte_source_custom" "float_api" {
~ configuration = (sensitive value)
name          = "Float API"
# (3 unchanged attributes hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
`

Looks that is might be an API that returns ***** instead of configuration value

@terencecho is that expected provider behavior?

Does the airbyte API mask api keys when they're returned in the configuration object? If so drift detection/determining of "if we need to update this field" unfortunately won't ever really work with an untyped SourceConfiguration object. We could fix this by writeOnly: true to the SourceConfiguration json schema to disable drift detection on that attribute.

We are facing the same issue and using a lot of custom sources in our connections. @szemek 's workaround works for now, but makes our CI/CD pipeline a bit problematic.
Is there any update? Anyone working on this issue?

Current Status and Solutions
The Airbyte team has identified the root cause and is exploring potential solutions, including enhancements for value-based object comparisons and sorting streams in API responses. In the interim, a temporary workaround involves using the ignore_changes lifecycle argument in Terraform, though this affects CI/CD pipelines. The community is awaiting a permanent fix from the provider team.

Current Status and Solutions
The Airbyte team has identified the root cause and is exploring potential solutions, including enhancements for value-based object comparisons and sorting streams in API responses. In the interim, a temporary workaround involves using the ignore_changes lifecycle argument in Terraform, though this affects CI/CD pipelines. The community is awaiting a permanent fix from the provider team.

@rwask fix for streams is here https://github.com/airbytehq/terraform-provider-airbyte/pull/111

hello @rwask, please do you have some news about a fix for this issue ? 🙏


VSCode settings overwrite first lines of code

VSCode Version: Code 1.11.2 (6eaebe3b9c70406d67c97779468c324a7a95db0e, 2017-04-13T08:03:11.395Z)
OS Version: Windows_NT ia32 6.1.7601
Extensions:

Extension
Author
Version

jquerysnippets
donjayamanne
0.0.1

vscode-html-css
ecmel
0.0.33

format-php
Kasik96
1.1.2

vscode-JS-CSS-HTML-formatter
lonefy
0.2.2

csharp
ms-vscode
1.7.0

vscode-css-peek
pranaygp
1.2.4

Steps to Reproduce:

Resize VSCode with Ctrl+"+" or Ctrl+"-"
Save Ctrl+S

Can you try running code using the --disable-extensions command line flag to see if an extension is the root cause here. If you still see the problem, can you please provide a screenshot of the issue
Thanks

Can you further explain what is wrong? I don't undestand.


Fix persistent loading issue for creating new notes

Summarized Feedback from<EMAIL_ADDRESS>Users are experiencing a persistent loading issue ("spinning wheel of death") when trying to create a new note from the browser, because the plugin is not functioning properly across different sources and methods.

Seems to work now...

Summarized Feedback from<EMAIL_ADDRESS>
Users experience issues with the note creation and highlighting feature, as it sometimes results in a continuous loading symbol, preventing them from creating or highlighting notes without reinstalling the extension.


Get-NSGFlowLogBlockList

When trying to use your example:
$blockList = Get-NSGFlowLogBlockList -CloudBlockBlob $CloudBlockBlob
Method invocation failed because [Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob] does not contain a method named 'DownloadBlockList'.
im able to se that the method DownloadBlockListAsync() is availble but not DownloadBlockList()

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

ID: f1fa6c20-b0a4-a593-ae3f-caa62aedd89c
Version Independent ID: e6cae9b1-e822-894e-11ff-985d305743cc
Content: Read NSG flow logs
Content Source: articles/network-watcher/network-watcher-read-nsg-flow-logs.md
Service: network-watcher
GitHub Login: @KumudD
Microsoft Alias: kumud

@PatLaPoint, Thanks for your feedback. We are looking into this query and will update you as soon as possible.

@PatLaPoint, Appreciate your patience. I have reproduced this scenario and it looks like it needs the author's attention. We are assigning this issue to the respective content author for updating the document accordingly. @KumudD, Could you please provide your insights here?

@SubhashVasarapu-MSFT  Please assign this issue to @damendo . Thanks!

#reassign: @damendo

Updated function as suggested

#please-close


Want to point out that at the moment fvm is hard to use for modular Flutter projects.

Want to point out that at the moment fvm is hard to use for modular Flutter projects.
For example, even in a quite simple case (with not that many modules) like the one below, calling fvm flutter --version inside the project root and client_app would result in different versions being printed since none of the sub-projects have their own .fvm directory. The first one will print a proper project-level flutter version while the second one will print the global default flutter version.
A real-life example of a (somewhat) modular project structure (none of the sub-projects have .fvm directory):

I believe that it won't be hard to make fvm look for the ./fvm/flutter_sdk not only within the current directory but also within some N levels of parent directories.
This would allow for a neat flutter version scoping that, in turn, will make both the issue's case and modular project cases work well.
@leoafarias Do you see any caveats in the algorithm explained above?
Originally posted by @s0nerik in https://github.com/leoafarias/fvm/issues/151#issuecomment-717599482

Thanks a lot! Works like a charm!


Flag to Continue on Success When Password Spraying

If I do a password spray with a file of users and a single password against a host, CME stops on the first success. I'd like for it to keep going. Can there be a flag to let it continue? For example, if I give it:
cme smb <IP_ADDRESS> -u users.txt -p Spring2018
It will check each user in the users.txt file until one is successful, then the script exits. I would like to have something like a --continue-on-success or similar flag where it will keep going through the entire users.txt file.
I am currently using: cme -v
4.0.1dev - Bug Pr0n

Just read this and thought I might share it: "failing Kerberos pre-authentication does not trigger a Logon failure event (4625)" (unless excplicitly enabled) - https://speakerdeck.com/ropnop/fun-with-ldap-kerberos-and-msrpc-in-ad-environments
e.g. you should always password spray using kerberoes instead :)

just merged #248  which should address this.


bsp/u-boot: Fix BOOTCMD for WaRP7

Signed-off-by: Pierre-Jean Texier<EMAIL_ADDRESS>

Hello @texierp; nice to see you around :+1:
What error happens? also do you mind to extend the commit log a little bit to explain it?

It seems the problem comes from #undef CONFIG_BOOTCOMMAND after the inclusion of updatehub-common.h

I will update the commit log

Updated ! :+1:


Nothing happens when i click on"Start league of legends"

Everything seems to be alright but it doesn't impact in the game, any solutions?

What OS? What's your install path? Are you using Garena or the native client?

I have windows 10, I have the last patch and I’m using the native client
Enviado desde Yahoo Mail para iPhone
El martes, octubre 31, 2017, 12:09 p. m., Dustin Blackman<EMAIL_ADDRESS>escribió:
What OS? What's your install path? Are you using Garena or the native client?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Does the build appear in game or it just the game that doesnt start from the app?

Stale, closing. Feel free to ping me if the issue persists and I'll reopen.

They game didn’t start and even if I opone up the game nothing happens
Enviado desde Yahoo Mail para iPhone
El lunes, noviembre 20, 2017, 2:12 p. m., HollowsxD<EMAIL_ADDRESS>escribió:
Does the build appear in game or it just the game that doesnt start from the app?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


HTTPS whitelist based on SNI

I have a transparent proxy interposed between an android device and the internet, such that all traffic runs through the proxy.  I want to sort the traffic such that connections to our servers (i.e. from our app) go through the proxy (i.e., display), while other traffic (from the device) goes through a RawTCPLayer so that they are not presented with the mitmproxy cert which they will reject.
I am currently using examples/tls_passthrough.py from (the unreleased) 0.13.1, and it makes a good stopgap, but it is not sufficient, as it may reject our flows due to errors (of exactly the kind I'd be looking for) and/or accept flows from other (insecure or broken) apps, whose problems do not concern me.
I would like an -H flag (name not important), similar to -I, but inverse, that accepts a list of hostnames to accept for TLS proxying.  In order for this to work, the compare must be done against the SNI field.  The reason for relying on the client request to identify the server is that our servers are cloud based, such that our IP addresses cannot be guaranteed, and the DNS lookup will return CNAMEs, which may change during the course of a session, thus tracking the server side becomes nontrivial.

I believe this is fixed by #893 - thanks again, @dweinstein! :smiley:


Detects Ubuntu Chromium as out of date.

https://chromium.woolyss.com/ tells me that my version is in fact rather new.
Is this some issue with the library not knowing what Chromium is?

Found one online. Indeed it seems Ubuntu modifies the user agent and ua-parser-js then reports it as Chromium instead of Chrome.
Pull request for Chromium to Chrome aliasing incoming.

@Huulivoide What's the actual string? Can you test it on https://faisalman.github.io/ua-parser-js/, maybe we just need to update ua-parser-js.

OK it's Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/69.0.3497.81 Chrome/69.0.3497.81 Safari/537.36 which works according to https://faisalman.github.io/ua-parser-js/ I'm going to update UA parser and publish.
@asday can I confirm you have Chromium listed as a supported browser?

Hrm we're already using the newest version. I suspect this ma be user error - Chromium not specified as supported

I would argue with the idea that this is my error.  I have an up to date widely used browser, and the library is telling me it's out of date.  If it doesn't support Chromium detection, then that's a missing feature, not user error.

Chromium isn't a widely used browser, but this library supports Chromium if
you turn it on. I'm trying to help you by asking you if you turned  it on
per the README: it would be good if you could reply.
On Fri, 26 Oct 2018 at 1:04 am, Asday<EMAIL_ADDRESS>wrote:

I would argue with the idea that this is my error. I have an up to date
widely used browser, and the library is telling me it's out of date. If it
doesn't support Chromium detection, then that's a missing feature, not user
error.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mikemaccana/outdated-browser-rework/issues/49#issuecomment-433244650,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKiMnTokl85CsWjW0ZzSM7juWbSl9QIks5uolGcgaJpZM4XdY2I
.


Best way to force an engine to be loaded by default?

Hi,
My team is building an OpenSSL engine which we want to be used by default for all applications running on a custom Linux distribution. We're currently using OpenSSL 1.1.1. Initially we tried to accomplish this by adding the engine to openssl.cnf, but that didn't work for applications which only use libcrypto, because auto-initialization does not call OPENSSL_init_crypto with OPENSSL_INIT_LOAD_CONFIG. Instead, we found that in order to reliably load our engine for all OpenSSL callers, we had to patch OPENSSL_init_crypto as shown in this Gist. However, we're somewhat concerned about the maintainability of this approach.
My questions are:

Is there a better way to do this in OpenSSL 1.1.1?
Is/will there be a better way to do this with the OpenSSL 3.0 provider model?
If not, is this something that could be considered for upstreaming, possibly as a compile-time option allowing the user to specify which custom engine(s) to load by default?

Thanks!

You can do this via configuration: https://www.openssl.org/docs/man1.1.1/man5/config.html

Configuration is the recommended way to do what you want.  3.0 loads providers in a similar manner -- via configuration.
I doubt we'd consider adding an option to load an engine via a compile time option.  A provider, perhaps.

Thanks. But config files don't work for applications which only use libcrypto and not libssl, unless the application is changed to manually call OPENSSL_init_crypto with the appropriate flags, which we may not have control over. Am I wrong about that? If not, is that changing in 3.0?

3.0 should load the config automatically.

Thanks. But config files don't work for applications which only use libcrypto and not libssl, unless the application is changed to manually call OPENSSL_init_crypto with the appropriate flags, which we may not have control over. Am I wrong about that?

You are correct. Libssl applications will load the config file automatically, but libcrypto ones do not in 1.1.1.

If not, is that changing in 3.0?

Yes. The config file always loads automatically in 3.0.

I tested this on my end and confirms that it works the way we need it to in 3.0. Thanks!


would be great if you could add Devout Aurastone Hammer. Heirloom item witch spellhance can use with Caress. 2.7 speed

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Duplicate of https://github.com/wowsims/wotlk/issues/1373


Standardise ordering of fields

Currently, there are inconsistencies in the order of fields being presented.
For example, in Person class, the email is stored before address but when displaying the information in the UI, address comes before email.

Person class
UI

So I think we should fix this inconsistency by deciding on an order first. Y'all got any suggestions on the order?
@niekis @jugheadjones10 @rexcyrio

Proposed new ordering:

Rank
Name
Unit
Company
Platoon
Phone
Email
Address
Tags


Add social icons

Please, go through these steps before you submit a PR.

[x] My Pod Leader knows I'm working on this Pull Request
[x] I've explained what the Pull Request is adding.
[x] I've explained why this is important.

Hey, @zshawdev I saw your pr, I guess the icons should be links to their respective socials, shouldn't they?


HOSTEDCP-1472: update TestNodePoolPrevRelease tests to use RFC 1123 nodepool name

What this PR does / why we need it: updates TestNodePoolPrevRelease tests to use RFC 1123 nodepool name
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes # HOSTEDCP-1472
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/approve
/lgtm


Atom 1.45.0 Installation Issue

[ ] I have reset Atom to defaults prior to submitting report.
[x ] I have not reset Atom to defaults prior to submitting report.

Description

I've been trying to install many terminal packages(expecting any which one to work) after updating my atom from 1.36 to 1.45 last night, but no terminal package seems to work. I was using atom-ide-terminal earlier and right after updating my atom to 1.45, it showed an incompatibility error, so I went ahead trying various other terminal packages that are available among which, my preferred(platformio-ide-terminal) showed up this error log:

I'm unable to understand where exactly the issue is. Please help. Thanks.
Steps to reproduce

1.Run "apm install platformio-ide-terminal"
Expected behavior:
package to install and work properly
Actual behavior:
gives an error while installation
Reproduces how often:
100%
Versions

> atom --version
Atom    : 1.45.0
Electron: 4.2.7
Chrome  : 69.0.3497.128
Node    : 10.11.0

> apm --version
apm  2.4.3
npm  6.2.0
node 10.2.1 x64
atom 1.45.0
python 2.7.16
git 2.25.1

OS name and version: Kali Linux 4.17.0

A similar issue was #770. However, it was python version related.

[x] I have reset Atom to defaults prior to submitting report.
[ ] I have not reset Atom to defaults prior to submitting report.

Description
Trying to install @2.10.0 on Atom 1.45.0 to no avail.
Steps to reproduce

Run "apm install platformio-ide-terminal"

Expected behavior:
Successful installation.
Actual behavior:
Installation fails.
Reproduces how often:
100% of the time.
Versions

> atom --version
Atom    : 1.45.0
Electron: 4.2.7
Chrome  : 69.0.3497.128
Node    : 10.11.0

> apm --version
apm  2.4.3
npm  6.2.0
node 10.2.1 x64
atom 1.45.0
python 2.7.17
git 2.20.1

OS name and version: Ubuntu 19.10
Platformio-ide-terminal version: 2.10.0
Additional Information
<EMAIL_ADDRESS>install /tmp/apm-install-dir-12034-23212-7fu7sz.xi1zq/node_modules/platformio-ide-terminal/node_modules/node-pty-prebuilt-multiarch
prebuild-install || node scripts/install.js
Aborted (core dumped)
Aborted (core dumped)
gyp: Call to 'node -e "require('nan')"' returned exit status 134 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)
gyp ERR! System Linux 5.3.0-45-generic
gyp ERR! command "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-12034-23212-7fu7sz.xi1zq/node_modules/platformio-ide-terminal/node_modules/node-pty-prebuilt-multiarch
gyp ERR! node -v v10.2.1
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok
Aborted (core dumped)
Aborted (core dumped)
npm WARN enoent ENOENT: no such file or directory, open '/tmp/apm-install-dir-12034-23212-7fu7sz.xi1zq/package.json'
npm WARN apm-install-dir-12034-23212-7fu7sz.xi1zq No description
npm WARN apm-install-dir-12034-23212-7fu7sz.xi1zq No repository field.
npm WARN apm-install-dir-12034-23212-7fu7sz.xi1zq No README data
npm WARN apm-install-dir-12034-23212-7fu7sz.xi1zq No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 134
npm ERR<EMAIL_ADDRESS>install: prebuild-install || node scripts/install.js
npm ERR! Exit status 134
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!


chore: Pin package version for WMG api and pipeline

Reason for Change
The changes in this PR address the following problems:

Versions for WMG api and pipeline are unpinned and sometimes incompatible. This is very risky because transparent changes to the version of the underlying dependencies (on account of packages not being pinned in a consistent manner), can create vicious bugs in local and production environments.
The current local development environment is memory intensive and slow on account of running many docker containers.

Changes

Pin python packages for WMG api and pipeline to mitigate bugs in all environments (particularly production environment) due to transparent version upgrade of dependencies
The above pinning also enables installing packages on the local machine such that the test suite can be run on a developers local machine without having to invoke docker
Add detailed instructions on how to create a python virtual environment that contains all the dependencies necessary to run the test suite on a developer's local machine without docker

Testing steps

Ran unit tests locally

Notes for Reviewer

Can you make an rdev stack off this commit? I think it's prudent to be extra careful with any dependency changes, even though these specific ones seem innocuous.

@atarashansky - Here is a new PR since I needed to change the branch name to contain the suffix rdev: https://github.com/chanzuckerberg/single-cell-data-portal/pull/4992

Closing this PR in favor of a new PR so the rdev can be created. I had to rename the remote branch to contain the suffix rdev which meant I had to create a new PR. Here is the new PR:
https://github.com/chanzuckerberg/single-cell-data-portal/pull/4992


Host a robots.txt file so browsershots.org can be used

Wanted to use browsershots.org to hit the dh2048.badssl.com page and see which (if any) browsers had problems with 2048bit parameters. I get an error on their site about not being able to access badssl.com/robots.txt.
Their FAQ (http://browsershots.org/faq#) states:
Blocked by robots.txt
Browsershots respects the robots.txt standard. If you want, you can explicitly allow Browsershots by adding a section like this to the robots.txt file on your server:
User-agent: Browsershots
Disallow:
Some pages on browsershots.org are also protected, mainly to keep screenshot result pages out of search engines.

https://dh2048.badssl.com/robots.txt now serves the recommended robots.txt, but browsershots.org still refuses it (as well as other badssl.com domains).
Would you mind investigating?

This appears to now be working (at least on dh2048.badssl.com) I'm waiting in the queue to confirm there aren't other issues (besides the lack of TLSv1 support requested in another issue).
Thanks!

I've confirmed this works on browsershots.org. Thanks for doing this!


meaning of 'flow-fwd' , 'flow-bck' , 'flow-bidir 'and  'color-unet'

'flow-fwd' can learn spatial transform,and 'color-unet' learn appearence transform, what about   'flow-bck' , 'flow-bidir '? And what's the different between these models?

Sorry, I missed this message! flow-bck is used to train the appearance transform -- it simply learns a subject-to-atlas spatial transform function. flow-bidir is meant to include the functionality of flow-fwd and flow-bck, but it does not fit on most GPUs.


Generation preview

Is it possible to get previews of an in-progress generation, similar to what is shown in the web ui, using comfyscript? Ideally I'd like some form of stream I can process per-step.

TaskQueue._watch() currently doesn't handle previews. I'll add callbacks for them later.

v0.5.0a1 is released. You can get previews like this:
from PIL import Image

# Prevent displaying previews
queue.watch_display(False, False, False)

with Workflow() as wf:
    model, clip, vae = CheckpointLoaderSimple('v1-5-pruned-emaonly.ckpt')
    conditioning = CLIPTextEncode('beautiful scenery nature glass bottle landscape, , purple galaxy bottle,', clip)
    conditioning2 = CLIPTextEncode('text, watermark', clip)
    latent = EmptyLatentImage(512, 512, 1)
    latent = KSampler(model, 12, 20, 8, 'euler', 'normal', conditioning, conditioning2, latent, 1)
    image = VAEDecode(latent, vae)
    SaveImage(image, 'ComfyUI')

def preview(task: Task, node_id: str, image: Image.Image):
    # 'KSampler.0'
    print(node_id)
wf.task.add_preview_callback(preview)

A stream form (sync/async iter) is also possible. But I'm not sure if it‘s worth the effort, as one can get similar results with a callback and a wait.

There are still some things left to do, like reporting progress and preview together, and fixing Jupyter Notebook display issues.

https://github.com/Chaoses-Ib/ComfyScript/assets/10687655/57d92290-eefb-49b2-80e8-ceefd76425c1
Here are the results of your preview work! Again, I'm really grateful for your work on Comfyscript! Thank you

@madriss-mojo

Is there a way to get the output of other types of nodes that have finished execution. For example if I have several SaveImage or VHS_VideoCombine could we get their output file while the prompt is still in progress ? Either using this or via the ComfyUI API ? Thanks

For SaveImage:
from PIL import Image

with Workflow() as wf:
    model, clip, vae = CheckpointLoaderSimple('v1-5-pruned-emaonly.ckpt')
    conditioning = CLIPTextEncode('beautiful scenery nature glass bottle landscape, , purple galaxy bottle,', clip)
    conditioning2 = CLIPTextEncode('text, watermark', clip)
    latent = EmptyLatentImage(512, 512, 1)
    latent = KSampler(model, 12, 20, 8, 'euler', 'normal', conditioning, conditioning2, latent, 1)
    image = VAEDecode(latent, vae)
    image = SaveImage(image, 'ComfyUI')

# or: await image
image_batch = image.wait()

# Get the first image
# or: await image_batch.get(0)
image: Image.Image = image_batch[0]
display(image)

# Get all images in the batch
images: list[Image.Image] = image_batch.wait()

For VHS_VideoCombine, see https://github.com/Chaoses-Ib/ComfyScript/issues/22#issuecomment-1971187462.

v0.5.0a1 is released. You can get previews like this:
from PIL import Image

# Prevent displaying previews
queue.watch_display(False, False, False)

with Workflow() as wf:
    model, clip, vae = CheckpointLoaderSimple('v1-5-pruned-emaonly.ckpt')
    conditioning = CLIPTextEncode('beautiful scenery nature glass bottle landscape, , purple galaxy bottle,', clip)
    conditioning2 = CLIPTextEncode('text, watermark', clip)
    latent = EmptyLatentImage(512, 512, 1)
    latent = KSampler(model, 12, 20, 8, 'euler', 'normal', conditioning, conditioning2, latent, 1)
    image = VAEDecode(latent, vae)
    SaveImage(image, 'ComfyUI')

def preview(task: Task, node_id: str, image: Image.Image):
    # 'KSampler.0'
    print(node_id)
wf.task.add_preview_callback(preview)

A stream form (sync/async iter) is also possible. But I'm not sure if it‘s worth the effort, as one can get similar results with a callback and a wait.

this code block doesn't make entire sense. Maybe I'm just a bit rusty with python. wf would only be valid within the context of the with block, right?

with block is justing calling wf.__enter__() and wf.__exit__(). And __exit__() for Workflow is just queuing the workflow to the server. So using it after __exit__() is fine.
But you are right, this is not a very intuitive API. Maybe I should move it as an arg of Workflow(), of allow set the callback in the with block.

Hi, I understand this is for runtime mode but I was just wondering if it was possible to get previews in real mode? Thanks in advance for any advice.

For now, you can directly set the hook in real mode:
from comfy_script.runtime import *
load(args=ComfyUIArgs('--preview-method', 'auto'))
from comfy_script.runtime.nodes import *

import comfy.utils

def hook(value, total, preview_image):
    print(value, total, preview_image)
comfy.utils.set_progress_bar_global_hook(hook)

with Workflow() as wf:
    model, clip, vae = CheckpointLoaderSimple('v1-5-pruned-emaonly.ckpt')
    conditioning = CLIPTextEncode('beautiful scenery nature glass bottle landscape, , purple galaxy bottle,', clip)
    conditioning2 = CLIPTextEncode('text, watermark', clip)
    latent = EmptyLatentImage(512, 512, 1)
    latent = KSampler(model, 4, 20, 8, 'euler', 'normal', conditioning, conditioning2, latent, 1)
    image = VAEDecode(latent, vae)
    image = SaveImage(image, 'ComfyUI')
'''
1 20 ('JPEG', <PIL.Image.Image image mode=RGB size=64x64 at 0x27228632CE0>, 512)
2 20 ('JPEG', <PIL.Image.Image image mode=RGB size=64x64 at 0x27228632BC0>, 512)
3 20 ('JPEG', <PIL.Image.Image image mode=RGB size=64x64 at 0x27228633AC0>, 512)
...
18 20 ('JPEG', <PIL.Image.Image image mode=RGB size=64x64 at 0x272286489D0>, 512)
19 20 ('JPEG', <PIL.Image.Image image mode=RGB size=64x64 at 0x27228648D90>, 512)
20 20 ('JPEG', <PIL.Image.Image image mode=RGB size=64x64 at 0x27228728400>, 512)
'''

And if you need node id and prompt id:
import comfy.utils
import main

def hook(value, total, preview_image):
    print(value, total, preview_image)
    print(main.server.last_node_id, main.server.last_prompt_id)
comfy.utils.set_progress_bar_global_hook(hook)

'''
1 20 ('JPEG', <PIL.Image.Image image mode=RGB size=64x64 at 0x27367E566B0>, 512)
KSampler.0 f0761fc9-797e-45cc-a97c-ee4f76806a02
2 20 ('JPEG', <PIL.Image.Image image mode=RGB size=64x64 at 0x27367EB19F0>, 512)
KSampler.0 f0761fc9-797e-45cc-a97c-ee4f76806a02
...
19 20 ('JPEG', <PIL.Image.Image image mode=RGB size=64x64 at 0x27367EB1300>, 512)
KSampler.0 f0761fc9-797e-45cc-a97c-ee4f76806a02
20 20 ('JPEG', <PIL.Image.Image image mode=RGB size=64x64 at 0x27367E564D0>, 512)
KSampler.0 f0761fc9-797e-45cc-a97c-ee4f76806a02
'''

Awesome, thanks for the quick response. I'll try this out.


adb-free without ORDS and APEX

Can you guys have an image or image's tag that has the autonomous database without apex and ords?
We already have this docker container image to install/run ords and apex on the database it connects to:
docker pull container-registry.oracle.com/database/ords-developer:latest
You are probably familiar with the docs here:
ORDS Developer Docker Image
The coupling of the autonomous database and ords and apex is preventing us from embracing this image as our development image. If you guys give us a tag or image with the autonomous database setup, we wouldn't need to come to you every time there is a new apex version.
adb-free is the closest oracle database image to the OCI autonomous database. Being able to develop our applications on this image would improve our development experience. In addition, we currently have to use a different database image and install things that are already included in the autonomous database.

The goal of ADBS container image to provide the experience similar to what you get with cloud service. We are trying offer all components as much we can. You always have a choice to have your own ORDS pointing to ADBS container. Is the issue with ORDS/APEX not getting frequently updated in container image? We are working on another offering of container image with more frequent updates soon.

You always have a choice to have your own ORDS pointing to ADBS container

@spanchum I can point it to ADBS container, but the my ORDS container needs a sys connection to install or update APEX
Can I install or update APEX on ADBS without having SYS access?

Is the issue with ORDS/APEX not getting frequently updated in container image?

@spanchum Yes. We want  to be developing on the latest version of APEX and ORDS

@spanchum  and @aosingh how is this going? What is the name of the new offering and when is it gonna be available?

"We are working on another offering of container image with more frequent updates soon."

@alexesca
Currently, the Developer image offering is waiting to get a Security sign-off. We hope to have it released early next year.