text:
remove packages like core-js from the bundle

Feature request
My bundle is getting really big due to polyfills. Core-js in the bundle takes 58kB even if I use "useBuiltIns": "usage".
The problem is that many packages that I use include core.js polyfills.
What is the expected behavior?
I would like to remove core.js package completelly from the bundle, so it will not be there even if some other libraries are using it. This was I would have a bundle without polyfills and would use polyfill.io so only old browsers would be polyfilled.
What is motivation or use case for adding/changing the behavior?
make bundle size smaller
How should this be implemented in your opinion?
I have no idea...
Are you willing to work on this yourself?
no, I am not that good with webpack

@zsolt-dev webpack don't include core-js, it is do babel-loader, you need setup babel to avoid core-js

@evilebottnawi it does not solve the problem that other packages from NPM are using it, that is why I want to remove it on the webpack level...

You can use resolve.alias to make the dependency empty but beware of runtime of runtime errors... I think the best option is to write a custom Babel plugin (or webpack) or codemod to remove the require statements.

@ooflorent Yes, webpack plugin sounds like a good idea. Is there someone having the skill and the time to write such a plugin?

authors: evilebottnawi ooflorent zsolt-dev


text:
Use checkLocationServicesIsEnabled to check location service without show popup

What I need is show returned value if current location is enabled or not without show popup. Thanks

This plugin only popup show if location service is turned off.

@webyonet  I think it does show even if location is enabled :/

@privateOmega
Simulator may have this problem. Would you test it on a real device?

@webyonet I am using it on a real device. Android 7.1.1. Can you please confirm and modify it?

source: gharchive/issue

authors: pewh privateOmega webyonet

license: mit

license_type: permissive

license_source: bigquery


text:
Can not get room / contact avatar by getProfilePicFull

getProfilePicFull is deprecated by ProfilePic in whatsapp-web.js@1.16.6
<<<<<<< HEAD
    window.Store.getProfilePicFull = window.mR.findModule('profilePicFind')[0].profilePicFind;
=======
    window.Store.ProfilePic = window.mR.findModule('profilePicResync')[0];
>>>>>>> b16e1cdf83c7fd901a6fd198a4d746f639757bd6

It will be resolved after puppet-whatsapp@1.19.1.

repo: wechaty/puppet-whatsapp

license_source: github-api


text:
Personal OA Support (add instant reply mode when OA is not register by organization)

Personal OA only support instant message reply in webhooks
I have add a event and listener in webhooks to reply instantly.
and an Environment tag WECHATY_PUPPET_OA_PERSONAL_MODE to specific running on instant mode.

1 and 2 's potential solution I think they are good
but the 3's, how about we reply a default response under personal-mode ?
Cause the limitation of personal OA, maybe in this mode, we could assume that developers know the bot have to reply and have to reply under 5s(or 4s), or else a default reply will be throw?

Yes, please go ahead to update this PR, and let's merge it first and keep improving it later.
And about 3, I'd like to suggest that:

If timeout in 4s, we just return without any reply
If the bot want to say something to contact but there's already timeout, then our system should emit an Error event so that the developer will be able to know what happened.

@huan based our discuss, I have updated this pr, please check again

Let's merge it and publish as v0.5 so that we can test it in our real environment!

source: gharchive/pull-request

authors: huan qhduan

repo: wechaty/wechaty-puppet-official-account


text:
Rodent Report

Now that we have data again, add a 'rodent report' page. Basically the same forecast figures, but with data points added. Menu to select forecast month to display?

Old version shows direct model-data comparisons each month on Rodent Report, but doesn't show dynamic versions of this comparison (just the prior month). It would be good to add something showing these comparisons over time to the Evaluation page.
(Suggested by a reviewer at MEE)

repo: weecology/portal-forecast-web

license: MIT


text:
docs(CSI-254): update official docs link in Helm templates and README

TL;DR
Added documentation for using Weka CSI Plugin with NFS transport and updated links to official documentation.
What changed?

Added a new document docs/NFS.md detailing the usage of Weka CSI Plugin with NFS transport
Updated README files to include a link to the new NFS documentation
Updated links to the official Weka CSI Plugin documentation, changing "appendix" to "appendices" in the URL
Modified the NOTES.txt file to reflect the updated documentation link

How to test?

Review the new docs/NFS.md file for accuracy and completeness
Verify that the links in the README files and NOTES.txt are correct and functional
Test the Weka CSI Plugin with NFS transport following the instructions in the new documentation

Why make this change?
This change provides users with information on using the Weka CSI Plugin with NFS transport, offering an alternative deployment option without requiring the Weka client on each Kubernetes node. It also ensures that all documentation links are up-to-date and correct, improving the overall user experience and accessibility of information.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#323  👈
#322
#320
#319
#318
#317
#316
#314
#313
#312
#311
#315
#299
#310
dev

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

Join @sergeyberezansky and the rest of your teammates on  Graphite

Merge activity

Sep 12, 6:10 AM EDT: @sergeyberezansky started a stack merge that includes this pull request via Graphite.

repo: weka/csi-wekafs


text:
Add a few more SQL Server types

I tried fetching definitions from my database and generating the models, but a lot of our real-world use cases couldn't be used so I thought I could add some of them.
A few more are still missing, like TIME and DATETIMEOFFSET.
Also not quite certain about NUMERIC and DECIMAL
I could possibly try adding something like this to the integration tests if I can get them running
create table x.tricky_types(
    table1 decimal(2,1),
    table2 decimal,
    table3 numeric,
    table4 numeric(5),
    table5 numeric(5,3),
    table6 TIME,
    table7 NTEXT,
    table8 TEXT,
    table9 REAL,
    table10 FLOAT(2),
    table11 FLOAT,
    table12 CHAR
)

Great work @delsehi
Yeah, the integration tests are a little finicky to get working. Especially the mssql ones. The basic unit test can be ran from just the welds/welds directory with a cargo test. The database specific integration tests need to be ran from a Linux box with docker installed so they can test against a real DB.
The MSSQL tests are even worse. The migration tests can't  be ran in parallel for MSSQL, so they need
cd tests
cd mssql
cargo test -- --test-threads=1

Your types look great, but I have a couple thoughts for you.
For recommended_db_type I thought the recommended MSSQL type for datetimes was DATETIME2. Both DATETIME2 and DATETIME should map just fine to a chrono::Datetime, just want to make the best recommendation as to what type we suggest using in the DB line:448 in your Merge request
You asked about NUMERIC and DECIMAL. I know tiberius will map these to rust_decimal::Decimal. This requires adding  tiberius to your cargo.toml with the feature rust_decimal added. I would suggest going with these.
Really appreciate your help here. Let me know what you think.

repo: weldsorm/welds


text:
Navigate a manuscript or book's structure by "range" (table of contents, index, list of parts within manuscript)

Who it's for
Collections researchers
User story
To evaluate a book for relevant content, users

Look for the first 'Contents' page then scan through the chapters list spread through few pages
Find a relevant chapter and wants to view the chapter
Read few pages to evaluate if it's relevant for their search

Problems to solve
Current implementation has the following limitations.

Need to visually identify the content pages
Require many back and forth to get to the chapter
Need to zoom in/out then paginate to read a few pages
Difficult to navigate to the chapter using image number

The digitised materials often come with structural metadata that we want to expose as a way of navigating to a part.
For example,

Books are marked up with Covers, Table of Contents, Index
Books may also have multiple volumes
Manuscripts may be marked up with 'parts'. These work like chapter headings, but they are actually representative of discrete 'works' bound into one volume.

These 'parts' need to be demarcated and able to be navigated to, either in the viewer, on the /works page, or both.
View from the UV

Multi-volume book: https://wellcomelibrary.org/item/b18031511
Manuscript examples:
https://wellcomelibrary.org/item/b19553146 = https://wellcomecollection.org/works/gftr4sa9
https://wellcomelibrary.org/item/b19241380
TODO

[ ] Data investigation to understand where data sits and how we might render it on screen

No design until we do this.
Implementation
Acceptance criteria
Testing and tracking

Have you talked to Tacey?
Test plan
Will you need to set up additional tracking?
What is the expected life span for tracking?

Measurement
Related KPIs (e.g. breadth of collection accessed, reading time, etc.)
Other considerations
<---Delete as appropriate--->

Impact on URL design
Cardigan documentation

@gestchild and @davidpmccormick to read ticket and ask JPB any questions

Before Heesoo left, she shared a few relevant ideas here with mockups:https://github.com/wellcomecollection/wellcomecollection.org/issues/4589#issuecomment-510952702

@jtweed – are you (or Christy or Ashley) able to provide an exhaustive list of what data we could expect to be able to get out of the METS?
So far, I think we have thumbnails and license information which has been directly added to works in the catalogue api.
We currently also get certain structural information like title page, table of contents, front cover etc. from the IIIF manifest. It's not clear to me whether this information should/could ultimately live directly on a work in the catalogue api, or whether we should continue to fetch it from the IIIF manifest.
We are specifically interested in solving the problem of providing page numbers for books where we currently only provide image numbers.
Also, it would be good to have any information about how manuscript sections are delineated (e.g. as they are in the uv).

Hi @davidpmccormick you should treat the IIIF Presentation API as the source for all data that describes the structure of a digitised item, which will have indeed come from data in the METS files produced during digitisation. We will only add things to the Catalogue API where they are needed for search.
Page numbers are in the IIIF as labels on the canvases, eg in this example:
https://wellcomelibrary.org/iiif/b28083271/manifest
Other sections within the work, eg cover, table of contents, parts of a manuscript will come through as structures that link to a range of canvases, outside of the usual sequence. If it helps there are also an enumerated list of viewing hints in IIIF that will help you to determine if something is paged.
As to how sections are determined and what will be added in what cases, @aray-wellcome may be better placed to answer that.

In order to evaluate this feature with respect to overall search experience, we need to agree what success looks like. Is it

Users use this at all

or is it

User use this, find what they need more quickly and so spend less time on /works pages?

Initital mobile view prototype: Item page mobile view
cc @davidpmccormick

authors: DominiqueMarshall davidpmccormick jennpb jtweed pollecuttn taceybadgerbrook


text:
Doing an empty search from global header adds query= to the url query

I think we did something to avoid it in the search hub's searchbar but it hasn't been done for the headers' search bar. Be nice to not have that parameter if the field is empty.

Moving back as I'm trying to figure out if we actually need this function at all.
current status is that @gestchild and I have gone through it and are asking @taceybadgerbroo here  if it's used as we're thinking it should be?


text:
Fix scibert download

Description
Fixes #177
Checklist

[x] Added link to Github issue or Trello card
[x] Added tests

Codecov Report

Merging #178 (fa215c3) into master (3c9bd57) will increase coverage by 0.40%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #178      +/-   ##
==========================================
+ Coverage   82.13%   82.53%   +0.40%
==========================================
  Files          40       40
  Lines        2032     2033       +1
==========================================
+ Hits         1669     1678       +9
+ Misses        363      355       -8

Impacted Files
Coverage Δ

wellcomeml/ml/bert_classifier.py
92.75% <100.00%> (+5.89%)
:arrow_up:

Continue to review full report at Codecov.

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

authors: codecov-io nsorros

repo: wellcometrust/WellcomeML


text:
[WIP] Feature/generic vectorizer refactor and tfidf

This PR:

Re-factors generic vectoriser to only include a switch between deep-learning and tf-idf
Adds tf-idf vectoriser

Todo:

[ ] Add tests

Another solution could be to name it WellcomeTfidfVectorizer or something that signifies that is is our custom extension and then either inherit and augment or purely maintain the same API with the additional parameters that you are adding i.e lemmatizing etc

Yes, I like that idea - I think I will move on with that one. Instead of inheriting from TransformerMixin it will inherit directly from TFidfVectoriser

Once the Travis CI passes, this is ready to review. I re-factored FrequencyVectorizer to inherit TfidfVectorizer and called it WellcomeTfidf. Also added tests.


text:
Bags API: storage manifests are being returned with mangled encodings

h/t Tom Crane
http://wt-havana:88/Dash/StorageManifest/b10176202:
    "externalDescription": "Wahre Abbildung einer Wunder-Geburt, so im KÃ¶nigreich Castilien zu Gian Anno 1680 den 13. December ... gebohren worden ist :",

whereas the METS http://wt-havana:88/Dash/XmlView/b10176202/b10176202.xml:
... so im Königreich Castilien...

The API isn't specifying an encoding in its headers:
{'Access-Control-Allow-Credentials': 'true',
 'Access-Control-Allow-Headers': 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type',
 'Access-Control-Allow-Methods': 'GET, POST, OPTIONS',
 'Access-Control-Allow-Origin': '*',
 'Connection': 'keep-alive',
 'Content-Length': '1818',
 'Content-Type': 'application/json',
 'Date': 'Wed, 21 Aug 2019 14:01:19 GMT',
 'Via': '1.1 9c88570ae95b464366b83f50692ea5b3.cloudfront.net (CloudFront)',
 'X-Amz-Cf-Id': 'Uw3nPQtmcJyCa9Xx3FdGEBzFDIyXdaVjWuT-ogmte4ZCNfXGYiUm5w==',
 'X-Amz-Cf-Pop': 'LHR61-C1',
 'X-Cache': 'Miss from cloudfront',
 'x-amz-apigw-id': 'exk7bGDYjoEF-Ow=',
 'x-amzn-Remapped-Connection': 'keep-alive',
 'x-amzn-Remapped-Content-Length': '1818',
 'x-amzn-Remapped-Date': 'Wed, 21 Aug 2019 14:01:19 GMT',
 'x-amzn-Remapped-Server': 'nginx',
 'x-amzn-RequestId': '2684da91-c41c-11e9-8d18-4715d46de014'}

and the data it’s returning is UTF-16 encoding, of course:
    "externalDescription": "Wahre Abbildung einer Wunder-Geburt, so im K\u00f6nigreich Castilien zu Gian Anno 1680 den 13. December ... gebohren worden ist :",

Wait, no, it’s returning the correct UTF-8 bytes (K\xc3\xb6nigreich), but for some reason it’s not being interpreted that way:
b'{"@context":"https://api.wellcomecollection.org/context.json","id":"digitised/b10176202","space":{"id":"digitised","type":"Space"},"info":{"externalIdentifier":"b10176202","payloadOxum":"12553804.2","baggingDate":"2019-08-14","sourceOrganization":"Intranda GmbH","externalDescription":"Wahre Abbildung einer Wunder-Geburt, so im K\xc3\xb6nigreich Castilien zu Gian Anno 1680 den 13. December ... gebohren worden ist :","type":"BagInfo"},"manifest":{"checksumAlgorithm":"SHA-256","files":[{"checksum":"5578e8a766b25ecb720976f062cd790c40dd5c9745d70ef9066f1d33b813ce3c","name":"data/b10176202.xml","path":"v1/data/b10176202.xml","size":7937,"type":"File"},{"checksum":"579cfeb98aa96a9718219118f75f495c9d2b70656bd1df1558937e0ddc53b1f8","name":"data/objects/b10176202_0001.jp2","path":"v1/data/objects/b10176202_0001.jp2","size":12545867,"type":"File"}],"type":"BagManifest"},"tagManifest":{"checksumAlgorithm":"SHA-256","files":[{"checksum":"9b9d103a16d74ef202fbba983790a73fcc3681407dbfe0831590bebf0295fbdb","name":"manifest-sha512.txt","path":"v1/manifest-sha512.txt","size":311,"type":"File"},{"checksum":"dea2cba708e813ff697cbff9a4282906160c3be9b8a5d7bf54e9a3c688f8319b","name":"bag-info.txt","path":"v1/bag-info.txt","size":388,"type":"File"},{"checksum":"e91f941be5973ff71f1dccbdd1a32d598881893a7f21be516aca743da38b1689","name":"bagit.txt","path":"v1/bagit.txt","size":55,"type":"File"},{"checksum":"1630c2663ea90173eb85b0c0ee5738eac1ce32e6527589631e6ec72442016389","name":"manifest-sha256.txt","path":"v1/manifest-sha256.txt","size":183,"type":"File"}],"type":"BagManifest"},"location":{"provider":{"id":"aws-s3-ia","type":"Provider"},"bucket":"wellcomecollection-storage-access","path":"digitised/b10176202","type":"Location"},"replicaLocations":[],"createdDate":"2019-08-21T12:37:15.945156Z","version":"v1","type":"Bag"}'

repo: wellcometrust/platform


text:
Reel in tech spread!

A list of some conventions that we have that we should follow and retrospectively bring old ways into the new ways:

/common/model is used for domain modelling, not UI modelling.
...

@wellcometrust/experience-dev do you want to add anything to this and bring it into Q4 as a team goal?

authors: jamesgorrie jennpb


text:
add composed middleware and add helper route to avoid duplication, and buggy, code

A few errors caught us recently by not serving the cached values to our pages.
This helps with that by abstracting it out. I wonder if we should also deal with null cvalues as we've otherwise tightly oupled the templates and external resources.
TODO:

[x] Add query params

@wellcometrust/experience-dev out of WIP

@gestchild would you mind passing another set of eyes on this - it's a relatively big change, and would feel better with 2 reviews (not saying yours isn't valued @davidpmccormick, just don't want to screw this up).


text:
Project Directory differs from Site Root

Currently, the plugin seems not to work if "Project Directory" differs from "Site Root".
example:
Project Directory: "F:\workspace\netbeans-projects\name-of-project\nbproject"
Site Root: "F:\workspace\projects\project-sources"
when:
Project Directory: "F:\workspace\projects\project-sources\nbproject"
Site Root: "F:\workspace\projects\project-sources"
everything works fine...

Hey @MathiasBauer, thanks for reporting that!
Did you use v0.0.6-beta which was just released 2 hours ago?

Yes, i tried v0.0.5-beta and v0.0.6-beta.

Ok, we will do some investigation. Thanks for reporting!

authors: MathiasBauer bennyn

repo: welovecoding/editorconfig-netbeans


text:
报错forward_encoder_chunk() Expected a value of type 'Optional[List[Tensor]]' for argument 'elayers_output_cache' but instead found type 'Tensor'.

I0617 01:39:51.221403     7 websocket_server_main.cc:31] Listening at port 10086
I0617 01:40:32.026695    16 websocket_server.cc:217] {"signal":"start","nbest":1,"continuous_decoding":true}
I0617 01:40:32.026813    16 websocket_server.cc:43] Received speech start signal, start reading speech
I0617 01:40:34.267653    16 websocket_server.cc:96] Received 6848 samples
I0617 01:40:34.605115    16 websocket_server.cc:96] Received 5483 samples
I0617 01:40:34.605576    17 asr_decoder.cc:88] Required 67 get 67
E0617 01:40:34.629177    17 websocket_server.cc:157] forward_encoder_chunk() Expected a value of type 'Optional[List[Tensor]]' for argument 'elayers_output_cache' but instead found type 'Tensor'.
Position: 5
Declaration: forward_encoder_chunk(torch.wenet.transformer.asr_model.ASRModel self, Tensor xs, int offset, int required_cache_size, Tensor? subsampling_cache=None, Tensor[]? elayers_output_cache=None, Tensor[]? conformer_cnn_cache=None) -> ((Tensor, Tensor, Tensor[], Tensor[]))
Exception raised from checkArg at ../aten/src/ATen/core/function_schema_inl.h:184 (most recent call first):
frame #0: c10::Error::Error(c10::SourceLocation, std::__cxx11::basic_string<char, std::char_traits, std::allocator >) + 0x6b (0x7f66d76a775b in /home/wenet/lib/libc10.so)
frame #1: c10::detail::torchCheckFail(char const*, char const*, unsigned int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) + 0xce (0x7f66d76a338e in /home/wenet/lib/libc10.so)
frame #2:  + 0x125ec22 (0x7f66d894ac22 in /home/wenet/lib/libtorch_cpu.so)
frame #3:  + 0x1262fa1 (0x7f66d894efa1 in /home/wenet/lib/libtorch_cpu.so)
frame #4: torch::jit::GraphFunction::operator()(std::vector<c10::IValue, std::allocatorc10::IValue >, std::unordered_map<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, c10::IValue, std::hash<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, c10::IValue> > > const&) + 0x2d (0x7f66db23639d in /home/wenet/lib/libtorch_cpu.so)
frame #5: torch::jit::Method::operator()(std::vector<c10::IValue, std::allocatorc10::IValue >, std::unordered_map<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, c10::IValue, std::hash<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, c10::IValue> > > const&) const + 0x175 (0x7f66db245ab5 in /home/wenet/lib/libtorch_cpu.so)
frame #6:  + 0x168d25 (0x55fc48eaad25 in /home/wenet/websocket_server_main)
frame #7:  + 0xa5035 (0x55fc48de7035 in /home/wenet/websocket_server_main)
frame #8:  + 0xa1e70 (0x55fc48de3e70 in /home/wenet/websocket_server_main)
frame #9:  + 0x55865 (0x55fc48d97865 in /home/wenet/websocket_server_main)
frame #10:  + 0xd6de4 (0x7f66d6e98de4 in /lib/x86_64-linux-gnu/libstdc++.so.6)
frame #11:  + 0x8609 (0x7f66d7652609 in /lib/x86_64-linux-gnu/libpthread.so.0)
frame #12: clone + 0x43 (0x7f66d6b85163 in /lib/x86_64-linux-gnu/libc.so.6)

Please update both the model and code to the latest version.


text:
How to run the code in other driving scenarios?

Hello, I'm also currently doing research on safety reinforcement learning, and your code has great engineering significance. Your project is about merging, and I want to run the code in other traffic scenarios, such as "highway-v0" and "intersection-v0". I've tried setting the environment directly to these, but it didn't run successfully.So, how should I set it up to run in other driving scenarios? Thank you!

Sure, I am currently writing my master thesis. After middle of April, I will check this issue and  post the example code as soon as possiple. :)


text:
请问为什么要用GPL协议呢？

nodejs是MIT
blink是LGPL+BSD
为什么miniblink要用这么一个严苛的GPL3.0呢？

因为现在还不完善，不方便让太多人使用。等版本完善后我会改成MIT的

现在已经改成MIT协议了

authors: intijk weolar


text:
small集成友盟push不能正常使用(application应该怎么用)

[x] 我已阅读并理解 贡献指南，严格遵循其约定。

错误报告
04-23 13:56:36.513 3724-3764/net.wequick.example.small E/accs.RegisterDO:  buildRegister
java.lang.SecurityException: getDeviceId: Neither user 10166 nor current process has android.permission.READ_PHONE_STATE.
at android.os.Parcel.readException(Parcel.java:1665)
at android.os.Parcel.readException(Parcel.java:1618)
at com.android.internal.telephony.IHwTelephony$Stub$Proxy.getUniqueDeviceId(IHwTelephony.java:1383)
at android.telephony.HwTelephonyManagerInner.getUniqueDeviceId(HwTelephonyManagerInner.java:982)
at android.telephony.HwInnerTelephonyManagerImpl.getUniqueDeviceId(HwInnerTelephonyManagerImpl.java:340)
at android.telephony.TelephonyManager.getDeviceId(TelephonyManager.java:842)
at com.taobao.agoo.a.a.c.a(Taobao:95)
at com.taobao.agoo.f.onBindApp(Taobao:141)
at com.taobao.accs.data.d.a(Taobao:272)
at com.taobao.accs.data.d.b(Taobao:143)
at com.taobao.accs.data.d.a(Taobao:32)
at com.taobao.accs.data.e.run(Taobao:62)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:272)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:776)
04-23 13:56:36.514 3724-3835/net.wequick.example.small E/ConnectivityManager.CallbackHandler: callback not found for RELEASED message
你做了什么？
gradlew cleanLib -q
gradlew buildLib -q -Dbundle.arch=armeabi
gradlew buildBundle -q -Dbundle.arch=armeabi
使用友盟最新的依赖
/友盟统计/
compile 'com.umeng.sdk:common:latest.integration'
compile 'com.umeng.sdk:analytics:latest.integration'
/友盟统计/
/友盟push/
//PushSDK必须依赖基础组件库，所以需要加入对应依赖
compile 'com.umeng.sdk:common:1.5.0'

//PushSDK必须依赖utdid库，所以需要加入对应依赖
compile 'com.umeng.sdk:utdid:1.1.5.3'
//PushSDK
compile 'com.umeng.sdk:push:4.1.0'

你期望的结果是什么？
友盟正常注册,统计,push可以正常使用

实际结果是什么？
mPushAgent.register方法应该在主进程和channel进程中都被调用

Small环境

type
name
PP
sdk
aapt
support
file(armeabi)
size

host
app

26
26.0.2
25.1.0

stub
app+stub

26
26.0.2
25.1.0

app
app.main
0x77
26
26.0.2
25.1.0
*_main.so
12 KB

app
app.mine
0x16
26
26.0.2
25.1.0
*_mine.so
7.7 KB

app
app.detail
0x67
26
26.0.2
25.1.0
*_detail.so
11.3 KB

app
app.home
0x70
26
26.0.2
25.1.0
*_home.so
11.2 KB

lib
lib.utils
0x73
26
26.0.2
25.1.0
*_utils.so
2.1 MB

lib
lib.style
0x79
26
26.0.2
25.1.0
*_style.so
28.6 KB

Compile-time
  gradle-small plugin : 1.0.0-alpha2 (project)
            small aar : 1.1.0-beta5 (project)
          gradle core : 2.10
       android plugin : 2.0.0
                   OS : Mac OS X 10.12 (x86_64)

Bundles

type
name
PP
file
size

host
app

app
app.main
0x77
*_main.so (x86)
10.9 KB

app
app.mine
0x16
*_mine.so (x86)
35.5 KB

app
app.detail
0x67
*_detail.so (x86)
6.6 KB

app
app.home
0x70
*_home.so (x86)
10.4 KB

lib
lib.afterutils
0x45
*_afterutils.so (x86)
21.2 KB

lib
lib.analytics
0x76
*_analytics.so (x86)
125.7 KB

lib
lib.utils
0x73
*_utils.so (x86)
46 KB

lib
lib.style
0x79
*_style.so (x86)
44.9 KB

web
web.about

*_about.so (x86)
24.3 KB

Runtime
  Device : Samsung Nexus S
     SDK : Android 7.0
     ABI : armeabi-v7a

android.permission.READ_PHONE_STATE 这个权限要在宿主或者 stub 的 manifest 里声明。

repo: wequick/Small


text:
Treat all operations

Hi,
great plugin.
One correction: you should loop into all packages instead of only getting the first one.
$event_operations = $event->getOperations();
foreach($event_operations as $event_operation) {
}

regards,

Hello CreativeBulma,
Thnak you for your feedback. I would not expect to handle more operations than the one from the PackageEvent itself. Tests I perofrmed show that every package that gets installed/updated/uninstalled will trigger that function.
Underlying question is: What is being found in the other operations? If there is the whole list of other packages that will be updated as well? Handling that situtation would be of the responbility of the package that will get forwarded the event.
Mathias

Can I close issue?

Hi,
sorry about the delay. You're right: "Handling that situtation would be of the responbility of the package that will get forwarded the event."
so you can close the issue.

authors: CreativeBulma mathias-meyer werbfred

repo: werbfred/composer-package-updater


text:
read_csv error

I get the following traceback when trying to read a csv_file:
Traceback (most recent call last):
File "C:\src\OSR\OSR\run.py", line 127, in
pheno_data = read_data(base_dir+'pheno_data_num_id.csv')
File "C:\src\OSR\OSR\run.py", line 41, in read_data
pheno_data = pandas.read_csv(filename,index_col=0,na_values='')
File "C:\src\pandas\pandas\io\parsers.py", line 64, in read_csv
return parser.get_chunk()
File "C:\src\pandas\pandas\io\parsers.py", line 405, in get_chunk
data = _convert_to_ndarrays(data, self.na_values)
File "C:\src\pandas\pandas\io\parsers.py", line 449, in _convert_to_ndarrays
result[c] = _convert_types(values, na_values)
File "C:\src\pandas\pandas\io\parsers.py", line 456, in _convert_types
lib.sanitize_objects(values, na_values)
TypeError: sanitize_objects() takes exactly one argument (2 given)

C extensions need to be rebuilt-- Cython code changed.

Did the trick.  Thanks Wes!

authors: aman-thakral wesm

repo: wesm/pandas


text:
Refactor the Javascript code

At this moment, the Javascript code in RDFShape is a bit hidden in the folder modules/server/src/main/resources/staticviews and it has been evolving from a small set of scripts to something that contains more logic about results visualization.
It would be better to refactor that code using ES6, Typescript or even ScalaJS.

Outdated, we are maintaining JS clients in separated repos now.

repo: weso/rdfshape-api


text:
Update sbt-native-packager to 1.5.2

Updates com.typesafe.sbt:sbt-native-packager from 1.4.1 to 1.5.2.
Release Notes/Changelog
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.typesafe.sbt", artifactId = "sbt-native-packager" } ]

labels: semver-minor

Codecov Report

Merging #11 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #11   +/-   ##
=======================================
  Coverage   78.58%   78.58%
=======================================
  Files          21       21
  Lines        1130     1130
  Branches       18       18
=======================================
  Hits          888      888
  Misses        242      242

Continue to review full report at Codecov.

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

authors: codecov-io scala-steward

repo: weso/shacl-s


text:
Issue with dynamic import: "'index.d.ts' is not a module"

Hello. I have installed the library and dynamically import it when required. However, I receive the following error:
File '/path/to/project/node_modules/scroll-behavior-polyfill/dist/index.d.ts' is not a module.

Since index.d.ts clearly exists at that location, I assume there is something wrong with my TypeScript configuration. I cannot seem to find an option which fixes the issue. Any ideas?
My current tsconfig.json file:
{
    "compilerOptions": {
        "allowSyntheticDefaultImports": true,
        "allowUnreachableCode": false,
        "declaration": false,
        "experimentalDecorators": true,
        "lib": [
            "dom",
            "es2015"
        ],
        "moduleResolution": "node",
        "module": "esnext",
        "target": "es2017",
        "noUnusedLocals": true,
        "noUnusedParameters": true,
        "jsx": "react",
        "jsxFactory": "h"
    },
    "include": [
        "src"
    ],
    "exclude": [
        "node_modules"
    ]
}

Thank you for you assistance.

Hi there. Thanks for reporting this issue. I've fixed it in the latest release (v2.0.11) (by marking the declaration file as a module).

authors: jacobgelman wessberg

repo: wessberg/scroll-behavior-polyfill


text:
Callback

Hello
Sorry to trouble you again.
I am trying to get callback data that orignates from a command.
$test = $this->sendMessage([
    'text' => 'testing' ,
    'reply_markup' => [
            'resize_keyboard' => true,
                    'one_time_keyboard' => true,
                    'inline_keyboard' => [[
                        ['text' => 'summary','callback_data' => "1"],
                        ['text' => 'listvalidators','callback_data' => "2"]
                    ]]
            ]
]);

Once a callback button is clicked.
How do I go about getting that data? Sorry and thank you

Think Ive just sorted it. I noticed it goes to URL/telebot/webhook/bot/
I can grab the info from there. Thank you

When user clicks inline button, Telegram sends CallbackQuery  update. I'm not consulting how to work with Telegram's bot API. Read the docs by yourself.

Thank you for coming back to me.
I didn’t mean to trouble you. I was just trying to work out how to access the callback via your plugin. I have been reading the telegram docs but obviously that doesn’t directly apply back to your plugin ( laravel ).
Thank you though.

On 23 Nov 2021, at 12:45, Dmytro Morozov @.***> wrote:
When user clicks inline button, Telegram sends CallbackQuery https://core.telegram.org/bots/api#callbackquery update. I'm not consulting how to work with Telegram's bot API. Read the docs by yourself.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/westacks/telebot/issues/31#issuecomment-976478931, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMFIMNXCRX6QDIY6PAIBWOTUNOEILANCNFSM5ITJJFKA.

authors: DavidWhicker punyflash

repo: westacks/telebot


text:
🛑 Mumble (US) is down

In af9729e, Mumble (US) (us.keepstar.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Mumble (US) is back up in 3ec7adb after 92 days, 2 hours, 17 minutes.

repo: wfjsw/status-winterco-org


text:
Question: Why not multiple modes?

I don't know if this is the most appropriate way of doing this, but since the project does not have a discussion page, this is the only way that came to mind.
People have stated that the syntax of w-movement is annoying and that it should be changed, however this has been countered with the Vim philosophy: object then verb.
Although a seemingly valid response, why would we just not drop the idea of stickies and prefixes within the project as a whole, and implement those as modes?
The concept is as follows: The plugin user is dropped into the normal mode, where they can enter input mode to issue commands to their shell, or press one of the keys used for prefixing in the current version. Take w for example, to enter window mode, after which they can use hjkl as usual. Esc to return to normal mode.
Would this not be more alike to Vim and thus more welcoming? Is there a technical (perhaps relating to tmux) or philosophical issue preventing the realization of this idea?
I'm asking since I would be interested in coding this up, although I was leaning towards more of a fork or even a complete rewrite, since this would be a major paradigm shift within the project and I have other things that I want to change about the implementation.

On Wed, Aug 10, 2022 at 04:39 surrealoatmeal @.***> wrote:

I don't know if this is the most appropriate way of doing this, but since the
project does not have a discussion page, this is the only way that came to mind.

Yeah, I think this is fine!

Although a seemingly valid response, why would we just not drop the idea of
stickies and prefixes within the project as a whole, and implement those as
modes?
The concept is as follows: The plugin user is dropped into the normal mode,
where they can enter input mode to issue commands to their shell, or press one
of the keys used for prefixing in the current version. Take w for example, to
enter window mode, after which they can use hjkl as usual. Esc to return
to normal mode.
Would this not be more alike to Vim and thus more welcoming? Is there a
technical (perhaps relating to tmux) or philosophical issue preventing the
realization of this idea?

If I understand you correctly, you are saying that you would want something like this (with the current default bindings):
M-m, w, hjkl, q ... etc.
instead of
M-m, w w, hjkl, q ... etc.
And similarly for the session commands with s?

Not really, but close. In the concept, tmux would boot into the normal mode by default, so no M-m to begin with, just w to enter window mode. Then hjkl for navigation, end Esc to quit (I do realize q is the default bind for that, but that is plain confusing for a Vim-like modal scheme, the key to return to normal mode should definitely be Esc.)

Ah ok, now I understand! This is an interesting request. Thank you for submitting this!
I think part of why I didn't immediately get your idea, is that I don't actually use vim, I'm an emacs-guy (although I use modal editing in emacs). This also explains why the default binding might "clash" with the defaults in vim (like q for quit) :)
What you request here, can actually be implemented quite easily with the current design of tmux-modal (off the top of my head). I also believe it fits the overall philosophy of tmux-modal well. I have identified the following "sub-tasks":

Add option to always enter in modal mode (normal mode in your terminology) upon start.
Add option to instead always use the "sticky versions" (e.g. only needing to press w once and then the action command, like m for move).

Fixing these and setting some custom bindings will then be able to achieve this. I will create a new feature branch as soon as I have time (I will soon go on vacation, so it might take a while...).
Regarding the :-command feature, I agree with you that this would probably make more sense if we already had a bunch commands for tmux-modal.  This can also be confusing since tmux itself also has the command command-prompt (Prefix + :).
In fact, this made me realize that we don't have a binding for command-prompt (e.g. : is a good candidate). Also, we might want a binding for kill-session as well (even though tmux doesn't by default). I'm thinking of s D as in "session delete" (c.f. current w D binding).

Thanks for your suggestion. This has now been implemented on master. Please update and try it out!
More specifically, to get the exact behavior as you want, put this in your .tmux.conf:
set -g @modal-keybindings-conf /path/to/my-tmux-modal-keybindings.conf
set -g @modal-on-start on
set -g @modal-always-sticky on

and change the following in your custom keybindings (https://github.com/whame/tmux-modal#custom-keybindings):
# ... as before ...

# Enter modal command mode.
KBD_CMD=Escape

# Exit modal command mode.
KBD_CMD_EXIT=i

# Quit command. This is used to exit command modes that don't require prefix
# (e.g. "w r" used for resizing panes).
KBD_QUIT=Escape

# ... as before ...

authors: surrealoatmeal whame

repo: whame/tmux-modal


text:
Compute Paths in Parallel

The goal of this PR is to resolve #32.
The tasks that need to be done for this are (as listed in the issue):

[x] Adding suitable Future return values from a path trial's search
[x] Thread-safe cancel methods on each of the path-trial's search

[ ] If any of the paths fail during the ItineraryTrial, we should try to cancel all of the ongoing PathTrials. If they in fact returned canceled, then we just ignore whatever else is in the result. Just like today, if any of them actually succeed even if they were cancelled, then we should still treat that like a success for caching purposes.

[x] Kicking off all of the PathTrials during an ItineraryTrial and wait for them to all complete (and cancel, if needed, as described above)
[ ] Today, we have a config parameter that limits how many SearchSessions may be going at one time. Today, this effectively limits how many PathTrials are searching, which in turn limits how much memory the plugin can possibly use, since each of the PathTrials have a limited number of visited nodes during its A* search. This new functionality invalidates that assumption, since each SearchSession may now have multiple searches running in parallel. So, we could instead change the config parameter to something that tracks the maximum number of path algorithms running at one time (we can keep the same name, just change its description). But, we actually still have a problem: this should probably be its own ticket:

We can theoretically lock up all the threads on the system, blocking out all other plugins' asynchronous tasks (assuming the player's max searches config parameter is high enough). This can be fixed by instead having a maximum number of threads that can be used at a time. Since we never have multiple path trials running at once on the same thread, then this also keeps the memory usage under a maximum. So, we should do this instead.

The current new system does not process any of the PathTrials after being canceled, and I have not implemented any new stuff to do with resource limiting, mostly because I have no idea how to actually modify the config system.

Actually, caching doesn't seem to be done in main right now either, so I'll just open for review now.

repo: whimxiqal/journey


text:
image orientation

this doesn't seem to support the image orientation (rotation?) tag in images, at least on windows
so for example, using canon camera, turning the camera to take a vertical image -- the image looks ok within windows and image apps, but when running split on it, the source image is obviously taken as landscape instead of portrait orientation and hence the resulting pieces don't match expectations

Is that a tag in the file metadata? Is there a library we can use to detect this? I don't know if I would be able to test and add this myself, as I don't have a Canon camera, but I would gladly receive a PR implementing it.

I think this is something you have to specify to Pillow -- see this method:
https://pillow.readthedocs.io/en/stable/reference/ImageOps.html#PIL.ImageOps.exif_transpose
The orientation info is stored in exif but Pillow won't adjust automatically, needs to be told to.

authors: somaamos whiplashoo

repo: whiplashoo/split-image


text:
Build Agent: Request "zip on linux"

Hello,
none of the standard azure dev ops deploy jobs work because your agents don't have the zip utility on them. How do I get this on and why do they not include it?
It would seem pretty standard but now I have to spend a long time figuring out how to best do this.

adding @StiviiK / @dariobro

I think this issue is related to our Single Windows VM plan.
We do not install initially an archiver in our Hosted Build Agent yet.
As far as I can see the most tasks use 7Zip directly or as fallback.
We will add 7Zip via Chocolaty in the initial configuration of the VM in our next update.
You may connect to the vm image and install 7Zip via:
choco install 7zip

@ndeeH We should verify that we do not get any licensing issues here. Are we allowed to distribute 7zip in our offering?

Zip/Unzip support added to both plans - see Release Notes
Additional packages should be added in scale set docker images.

authors: mjisaak ndeeH nmeisenzahl


text:
Show proper numebr of line and filename on c/c++ compilatio errors

Example of misleading errors:
$ gwm castle-on-the-grid.cpp
Running: g++ --std=c++17 -fsanitize=address -Wall -Wextra -pthread -g -O0 /tmp/snip.LffS40-output.cpp
/tmp/snip.LffS40-output.cpp: In function ‘int getX(const Vertex&)’:
/tmp/snip.LffS40-output.cpp:26:15: error: ‘asastoi’ is not a member of ‘std’
   26 |   return std::asastoi(vertex.substr(0,pos));
      |               ^~~~~~~
/tmp/snip.LffS40-output.cpp: In member function ‘int snip::BreadthFirstTree<GraphAdjacencyList, VertexType, Tree>::getDistance(const VertexType&)’:
/tmp/snip.LffS40-output.cpp:137:12: error: ‘couadsnt’ was not declared in this scope; did you mean ‘count’?
  137 |     return couadsnt;
      |            ^~~~~~~~
      |            count
/tmp/snip.LffS40-output.cpp: In function ‘int minimumMoves(std::vector<std::__cxx11::basic_string<char> >, int, int, int, int)’:
/tmp/snip.LffS40-output.cpp:152:33: error: ‘makeBreadthdrstTree’ is not a member of ‘snip’; did you mean ‘makeBreadthFirstTree’?
  152 |   auto breadthFirstTree = snip::makeBreadthdrstTree(createGraph(grid, startX, startY, goalX, goalY), createVertex(startX, startY));
      |                                 ^~~~~~~~~~~~~~~~~~~
      |                                 makeBreadthFirstTree

As snip creates a new file, the error doesn't show the proper file name (eg: it is converted to /tmp/snip.LffS40-output.cpp instead of castle-on-the-grid.cpp) and the number of lines also are manged.

After PR #16 , this is the output (it even shows the snippet name if there is an error in the snippet):
$ gwm castle-on-the-grid.cpp
Running: g++ --std=c++17 -fsanitize=address -Wall -Wextra -pthread -g -O0 /tmp/snip.8D4MWH-output.cpp
castle-on-the-grid.cpp: In function ‘int getX(const Vertex&)’:
castle-on-the-grid.cpp:26:15: error: ‘asastoi’ is not a member of ‘std’
   26 |   return std::asastoi(vertex.substr(0,pos));
      |               ^~~~~~~
~/snippets/cpp/bfs.hpp: In member function ‘int snip::BreadthFirstTree<GraphAdjacencyList, VertexType, Tree>::getDistance(const VertexType&)’:
~/snippets/cpp/bfs.hpp:37:12: error: ‘couadsnt’ was not declared in this scope; did you mean ‘count’?
castle-on-the-grid.cpp: In function ‘int minimumMoves(std::vector<std::__cxx11::basic_string<char> >, int, int, int, int)’:
castle-on-the-grid.cpp:104:33: error: ‘makeBreadthdrstTree’ is not a member of ‘snip’; did you mean ‘makeBreadthFirstTree’?
  104 |   auto breadthFirstTree = snip::makeBreadthdrstTree(createGraph(grid, startX, startY, goalX, goalY), createVertex(startX, startY));
      |                                 ^~~~~~~~~~~~~~~~~~~
      |                                 makeBreadthFirstTree

repo: whoan/snip


text:
chore: release master

:robot: I have created a release beep boop
configs: 1.20.0
1.20.0 (2023-06-02)
Features

test release wtf (413704d)

configs-webpack: 1.5.0
1.5.0 (2023-06-02)
Features

test release wtf (413704d)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wholesome-ghoul/allaround-configs/releases/tag/configs-v1.20.0 :sunflower:

:robot: Release is at https://github.com/wholesome-ghoul/allaround-configs/releases/tag/configs-webpack-v1.5.0 :sunflower:

repo: wholesome-ghoul/allaround-configs


text:
Add support for dynamic and unknown UTI types

I get a lot of plain text files with various extensions such as .1 or .inc and currently they only show the icon in QuickLook.  Looking at one such file with mdls I see it has a dynamic type.  But the content type tree includes public.data.  Would it be possible to extend support to ALL filetypes?
$ mdls wget-log.2
...
kMDItemContentType                 = "dyn.ah62d4rv4ge8xe"
kMDItemContentTypeTree             = (
    "dyn.ah62d4rv4ge8xe",
    "public.data",
    "public.item"
)
...

$ mdls function.inc
...
kMDItemContentType                 = "dyn.ah62d4rv4ge80w5xd"
kMDItemContentTypeTree             = (
    "dyn.ah62d4rv4ge80w5xd",
    "public.item",
    "dyn.ah62d4rv4ge80w5xd",
    "public.data"
)
...

Please move all discussion of file types and extensions in here.
#30 #32 #81 #82 #89
Apple's UTI reference documentation.
From what I can tell, it's all the same issue. The kMDItemContentType and kMDItemContentTypeTree data can either be missing or dynamic for some files and this is causing issues.

To add to the set of tested files, here is what happens when you use the LICENSE file in this repo. I also copied it and added .1 to the end of it.
$ mdls LICENSE
...
kMDItemContentType                     = "public.data"
kMDItemContentTypeTree                 = (
    "public.data",
    "public.item"
)
...

$ mdls LICENSE.1
...
kMDItemContentType                     = "dyn.ah62d4rv4ge8xc"
kMDItemContentTypeTree                 = (
    "public.item",
    "dyn.ah62d4rv4ge8xc",
    "public.data"
)
...

Fun with UTIs
Found this to be very helpful in understanding what is happening.
Right now the plugin registers itself at the highest point that makes sense in both the physical and functional hierarchies.
public.data and public.content
There is a good case to be made for changing public.content to public.text but that's not a discussion we need to have here. Let's figure out how we can get this plugin working for more files.

Hi, thanks for your work on this. I want to add +1 for yaml support. Fwiw, that has been implemented here but hasn't been updated in quite awhile

@relikd I found this: PrivateLogs
I have to use sudo when enabling/disabling private logs but it worked.
Here is a log of running qlmanage -p LICENSE.1
This is a copy of the LICENSE file in this repo with a .1 extension added.
This confirms my suspicion that this is due to macOS setting the kMDItemContentType to a "dyn.*" value.

Thanks for the PrivateLogs link.
Yep, I encountered this issue too. Even pre Catalina, in fact even pre Mojave. Just recently I was working on QLOPML on a 10.13 machine.
Had the same issue; macOS would identify files only by the dyn.* type. In my main application I had registered UTIs and file types. But they were not identified as such. What I did is add all dynamic types to my plist.
<key>LSItemContentTypes</key>
<array>
  <string>org.opml.opml</string>
  <string>dyn.ah62d4rv4ge8086drru</string>
</array>

Additionally, I found this blog post very helpful: Analysis of UTIs (had to search a while to find this post again).

If anyone has any details on what the file type list looks like for the "Generic" QuickLook plugin that ships with macOS it might lend a clue. Or possibly, it's just hardcoded as the final fallback. I hope that's not the case.

tl;dr on the dyn.* namespace:
the values are base32 encoded query strings. So the suggestion to add them info.plist is not really viable as it's whack-a-mole on an infinite grid... 😞

Do you happen to know which of them might be the generic QL plugin?
The best I got is /System/Library/QuickLook/Text.qlgenerator, which conforms to:
public.plain-text
public.rtf
com.apple.rtfd
org.oasis-open.opendocument.text
com.apple.property-list
public.xml
public.json

But then I'm not sure why .m files are previewed:
kMDItemContentTypeTree = (
    "public.objective-c-source",
    "public.source-code",
    "public.plain-text",
    "public.text",
    "public.data",
    "public.item",
    "public.content"
)

And why QLstephen fails for e.g., the .in extension:
kMDItemContentTypeTree = (
    "public.item",
    "public.data",
    "dyn.ah62d4rv4ge80w5u"
)

Also, I tried creating a custom dyn.* adopting the public.data UTI without any extension. But that didn't work either. Setting the extension to * or nothing at all, also didn't work.
Somehow the UTI is not recognized as being inherited from public.data although the type tree clearly shows that it is. It also correctly displays the preview if the generator is specified directly:
qlmanage -g ~/Library/QuickLook/QLStephen.qlgenerator -c "_" -p MANIFEST.in
So the problem really is, that macOS can't seem to map dyn.ah62d4rv4ge80w5u (*.in) to public.data. And therefore skips QLStephen because it does not seem to apply to the extension.

I was sent here from #81. I used to have a working qlstephen setup but haven't since Catalina.
I have rebooted my machine, brew cask reinstall qlstephen, and followed the instructions in the README, and I still can't QuickLook on some files like LICENSE, CHANGELOG, or Makefile.

Can you uninstall the brew and try again with https://github.com/whomwah/qlstephen/releases/latest (following the xattr -cr procedure). Maybe something was messed up in the brew installation. I have a working† qlstephen on 10.15.3
† at least working on files w/o extension. Unknown extensions are known to be broken (see discussion above).

Just did this:
$ brew cask uninstall qlstephen
==> Uninstalling Cask qlstephen
==> Backing QuickLook Plugin 'QLStephen.qlgenerator' up to '/usr/local/Caskroom/qlstephen/1.5.1/QLStephen.qlgenerator'.
==> Removing QuickLook Plugin '/Users/philfreo/Library/QuickLook/QLStephen.qlgenerator'.
==> Purging files for version 1.5.1 of Cask qlstephen

$ xattr -cr ~/Library/QuickLook/QLStephen.qlgenerator
$ qlmanage -r
qlmanage: resetting quicklookd
$ qlmanage -r cache
qlmanage: call reset on cache

Then relaunched finder via right-click method.
LICENSE etc still not working. macOS 10.15.3

Okay perhaps this is helpful:
The files I were trying are reporting public.unix-executable when I pass it to mdls
mdls [...]/LICENSE
...
kMDItemContentType                 = "public.unix-executable"
kMDItemContentTypeTree             = (
    "public.item",
    "public.executable",
    "public.data",
    "public.unix-executable"
)
...

seems very strange for a plain text file to be executable. Can you create a new empty file with just "hello world" and save that as LICENSE. Also, try chmod 644 on the file (although I think mds shouldnt read the permissions...)
.yaml should be currently broken. Dont know if this works, but you can follow the instructions in the readme on adding custom types to the config. You can get the *.dyn type like you did with the License file.

The LICENSE I happened to be trying did indeed have executable permissions (654) for some reason. Changing it to 644 solved the issue with that file. Thanks.
But I do have some actual unix executables (e.g. little extension-less shell scripts in a bin/ directory) that I'd like to see working.

I think executable files were never supported by QLStephen. .sh will display, though that might be an apple ql plugin in action, haven't verified. The problem with executable files is to know beforehand if it is human readable. But maybe we could add executables to the list of types and only check the first 4 bytes if they are readable? What do you think @tsdorsey?

I've created PR #94 just in case. If we dont want it or there are unforeseen side effects, just say so and I'll delete my fork ;-)

This might be crazy talk, but I'd be happy if qlstephen showed me a text view of any file for which it can't otherwise distinguish.  (At least the first few kilobytes of larger files.)  Not sure if this is possible.

My current understanding of the issue is that:

QuickLook does not fallback to other UTI in kMDItemContentTypeTree
Instead the kMDItemContentType is used to assign the corresponding QL plugin.
Every file extension has its own dyn.* UTI

Which means, we would need a list of extensions that should be supported by QLStephen.
That implies that QLStephen can potentially override another QL plugin that does a better job in representing a known extension. E.g., there are specialised markdown plugins and I would be pissed if QLStephen would break them for me. Not sure how QuickLook handles plugin precedence.
Some plugins will define "Imported Type UTIs". That basically replaces the "unkown" dyn.* UTIs with a developer set UTI. For example, in my extension I register org.opml.opml for *.opml files. On my system, for opml files, mdls returns that UTI instead of dyn.ah62d4rv4ge8086drru.
kMDItemContentType                     = "org.opml.opml"

So we still don't have a solution ?

So we still don't have a solution ? For now I'm just adding the dyn.foobar entries into the plist

Sorry people, I've read this tread and still didn't understand what you're doing with those "dyn entries"...
For example if I want to preview text of files with "sql" extensions - what should I do ? I open the info.plist file in the qlstephen.qlgenerator(temporary remove extension "qlgenerator" to manage it as a folder and open that file in text editor).
There some lines -
LSItemContentTypes

public.data
public.content

LSTypeIsPackage
Do I need to change something here ?

Ok, so according to the source I references above, I would do the following:

Generate the dyn content, in this case I guess its ?0=6:1=sql.
Though I am not sure if the 6 is correct or if it should be 7. Where numbers are substituted as follows:

0: UTTypeConformsTo
1: public.filename-extension
2: com.apple.ostype
3: public.mime-type
4: com.apple.nspboard-type
5: public.url-scheme
6: public.data
7: public.text
8: public.plain-text
9: public.utf16-plain-text
A: com.apple.traditional-mac-plain-text
B: public.image
C: public.video
D: public.audio
E: public.directory
F: public.folder

Next you put this string into a custom base32 converter. E.g. this website
Input: ?0=6:1=sql
Variant: Custom
Alphabet: abcdefghkmnpqrstuvwxyz0123456789
Padding: – Delete if there is any –

The output should be h62d4rv4ge81g6pq. If you have any trailing = delete it, thats the padding.

Prepend dyn.a and that is your final string.

What you should insert in the Info.plist is dyn.ah62d4rv4ge81g6pq

<key>LSItemContentTypes</key>
<array>
	<string>public.data</string>
	<string>public.content</string>
	<string>public.unix-executable</string>
	<string>dyn.ah62d4rv4ge81g6pq</string>
</array>

PS. You dont need to remove the extension, you can also right-click and 'Show Package Contents'

Wow, thanks so much for such detailed answer !!  It surely helped.
Meanwhile I also tried another method(from internet) for quicklook to work (guess it works also without the qlstephen plugin)
Register a new file extension via the dummy app :

Create completely empty application in AppleScript , save it somewhere as executable application

in its  Info.plist
add these lines to the end (before last 2 closing tags)

<key>UTImportedTypeDeclarations</key>
<array>
    <dict>
        <key>UTTypeIdentifier</key>
        <string>com.idsoftware.wad</string>
        <key>UTTypeTagSpecification</key>
        <dict>
            <key>public.filename-extension</key>
            <array>
                <string>wad</string>
            </array>
        </dict>
        <key>UTTypeConformsTo</key>
        <array>
            <string>public.data</string>
        </array>
        <key>UTTypeDescription</key>
        <string>Doom WAD file</string>
        <key>UTTypeIconFile</key>
        <string>DoomWAD.icns</string>
        <key>UTTypeReferenceURL</key>
        <string>http://en.wikipedia.org/wiki/Doom_WAD</string>
    </dict>
</array>

For the experiment I changed the wad to sql  and  public.data to public.source-code (I tried public.text etc but with public.source-code it finally worked)

Register dummy app via  terminal
lsregister ~/Desktop/MyDummyApp.app

I understand the problem hasn't been fixed yet?

“QLStephen.qlgenerator” cannot be opened because the developer cannot be verified.

Execute  mdls -name kMDItemContentType ~/path/to/file.ext to get the dyn value, add it to the plist

1. Register dummy app via  terminal
   lsregister ~/Desktop/MyDummyApp.app

I am trying this solution on macOS 10.15.7, but I get "zsh: command not found: lsregister".  Any suggestions?

I am trying this solution on macOS 10.15.7, but I get "zsh: command not found: lsregister". Any suggestions?

I guess its in a non-PATH. You can created a symlink or use the full path instead:
lsregister@ -> /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister

So, I've come up with what I think might be a workable solution, though I'm looking for thoughts and feedback on it.
Rather than having to worry about generating dyn.* UTIs, etc., all we really need to do is simply have a way to tell the system that an unknown filename extension (e.g. .map) conforms to public.plain-text. By doing so, we then allow the system’s built-in text quicklook plugin to be used to preview the contents.
The solution I came up with is based on the assumption that only the end-user is going to know what filename extensions they come across and whether those files are text-based or not. It uses 2 different apps:

QLStephen.app: the primary app you interact with. It holds a list of the filename extensions that you've mapped to being treated as text. To map a particular filename extension to be treated as text, we declare that it conforms to “public.plain-text”. By doing so, we then allow the system’s built-in text quicklook plugin to be used to preview the contents. To implement these file mappings on the system, QLStephen.app uses a second application, “QLStephen Dummy.app”, in which the mappings are declared in the UTExportedTypeDeclarations of its Info.plist file. QLStephen.app also adds a Service so that you can right-click/control-click on any file in the Finder, and choose “Quick Look with QLStephen ✅” (yes, this is a bit misleading, I guess). This automatically opens it in QLStephen.app, and if it’s found to be text-based, is added to the list of file extension mappings. Then, after updating the dummy app, you can deselect and then reselect the file in the Finder to preview its contents as text.

QLStephen Dummy.app:  This app is created in the ~/Applications/ folder. As mentioned previously, this is a dummy app that declares the file extension mappings in its ‘UTExportedTypeDeclarations` key in its Info.plist file. After modifying the Info.plist of the installed app, it is codesigned to run locally.

Some notes/known issues:
• Despite having a “Kind” column for you to fill out a file extension’s description, it appears the Finder will always refer to the kind as “Plain Text Document”. (I think declaring the documents in the CFBundleDocumentTypes as well might convince Launch Services to use their descriptions).
• There are some filename extensions that still won’t preview even though they are text-based: .css files and .strings files are 2 examples I’ve encountered.

I have a qlstephen.app branch where I pushed this to in my fork: https://github.com/NSGod/qlstephen/tree/qlstephen.app.
I welcome any feedback.

As another solution, I wrote a Fish script that automatically detect the UTI type of a given file and append the dyn.* type to QLStephen:
function ql
	set type (mdls -name kMDItemContentType $argv[1] | sed -n 's/^kMDItemContentType = \"\(.*\)\"$/\1/p')
	echo $type
	plutil -insert CFBundleDocumentTypes.0.LSItemContentTypes.0 -string $type ~/Library/QuickLook/QLStephen.qlgenerator/Contents/Info.plist
	qlmanage -r
end

Usage for Fish shell:
$ ql <drag a file to the terminal window>

To summarize the current workaround, below are instructions to quick look a given file or file type (*.Rmd in the below example).
This was tested on macOS Big Sur 11.3 Terminal (zsh).

Run the following command on an existing file of interest to find a string that begins with dyn.a...:
$ mdls -name kMDItemContentType ~/path/file.Rmd
kMDItemContentType = "dyn.a..."

Open Info.plist to edit it, at ~/Library/QuickLook/QLStephen.qlgenerator/Contents.
To navigate there, you can right click QLstephen.qlgenerator and "Show Package Contents" or use a code editor to get there

Add the relevant dyn.a... to Info.plist like in the following:
...
<key>LSItemContentTypes</key>
	<array>
		<string>public.data</string>
		<string>public.content</string>
		<string>public.unix-executable</string>
		<string>dyn.a...</string>
	</array>
...

Reset quick look with a) qlmanage -r and b) Relaunch Finder: Apple menu - Force Quit ... - Finder - Relaunch.

To summarize the current workaround, below are instructions to quick look a given file or file type (*.Rmd in the below example).
This was tested on macOS Big Sur 11.3 Terminal (zsh).

Run the following command on an existing file of interest to find a string that begins with dyn.a...:$ mdls -name kMDItemContentType ~/path/file.Rmd
kMDItemContentType = "dyn.a..."

Open Info.plist to edit it, at ~/Library/QuickLook/QLStephen.qlgenerator/Contents.
To navigate there, you can right click QLstephen.qlgenerator and "Show Package Contents" or use a code editor to get there
Add the relevant dyn.a... to Info.plist like in the following:...
<key>LSItemContentTypes</key>
	<array>
		<string>public.data</string>
		<string>public.content</string>
		<string>public.unix-executable</string>
		<string>dyn.a...</string>
	</array>
...

Reset quick look with a) qlmanage -r and b) Relaunch Finder: Apple menu - Force Quit ... - Finder - Relaunch.

Works fine, thanks!
Note: command killall Finder equal to Relaunch Finder.

@NSGod Should be possible to merge those into one app right?

@NSGod Should be possible to merge those into one app right?
@alexchandel: Possibly, though I didn't really like the idea of having an app modify its own Info.plist while it's running (which would probably invalidate its code signature), and then have it re-codesign itself while it's running. I thought it'd be easier to use a dummy stand-in app.

Granted, I can sometimes come up with solutions that tend to be overly complex.

After several evenings I've stumbled upon a fix and would appreciate a confirmation.
First to showcase the problem:
https://github.com/whomwah/qlstephen/compare/master...toy:extensions-problem-showcase?expand=1

Make QLStephen also handle UTI toy.explicit
Add application extensions.app with the goal to define UTIs:

toy.explicit (for .toy-explicit extension) conforming to public.plain-text
toy.a0 (for .toy-a0 extension) conforming to public.plain-text

toy.a1 (for .toy-a1 extension) conforming to toy.a0

toy.a2 (for .toy-a2 extension) conforming to toy.a1

toy.l0 (for .toy-l0 extension) conforming to public.data

toy.l1 (for .toy-l1 extension) conforming to toy.l0

toy.l2 (for .toy-l2 extension) conforming to toy.l1

Add files for each UTI + an unknown one with extension .toy-unknown

To test checkout extensions-problem-showcase and run make && make install, in this state only .toy-a0, .toy-a1, .toy-a2 and .toy-explicit should have preview/thumbnail generated (first 3 by Text.qlgenerator, last by QLStephen because it is explicitly in its list of UTIs).
Fix:
https://github.com/toy/qlstephen/compare/extensions-problem-showcase...toy:extensions-showcase-fix?expand=1
Just change the bundle id so that it starts with com.apple. and suddenly all test files get the preview/tumbnail.
To test checkout extensions-showcase-fix and run make && make install (wait for qlmanage -m to show the list, sometimes repeating make && make install is needed).
If confirmed #135 is the fix unless someone has a better idea

For anyone wanting the bash/zsh version of the fish function posted by @xupefei
ql() {
  set type (mdls -name kMDItemContentType $argv[1] | sed -n 's/^kMDItemContentType = \"\(.*\)\"$/\1/p')
  echo $type
  plutil -insert CFBundleDocumentTypes.0.LSItemContentTypes.0 -string $type ~/Library/QuickLook/QLStephen.qlgenerator/Contents/Info.plist
  qlmanage -r
}

Add it to your ~/.bashrc or ~/.zshrc to have it available when a new shell is opened.

If you're getting a "bad pattern" error in ZSH, here's a different version of @jasonm23's script:
ql() {
  local type=$(mdls -name kMDItemContentType $argv[1] | sed -n 's/^kMDItemContentType = \"\(.*\)\"$/\1/p')
  echo $type
  plutil -insert CFBundleDocumentTypes.0.LSItemContentTypes.0 -string $type ~/Library/QuickLook/QLStephen.qlgenerator/Contents/Info.plist
  qlmanage -r
}

authors: JoeStrout NSGod alexchandel alvarotrigo blackketter colossatr0n jasonm23 jchannon knaaptime llamafilm muyinliu nabastak pavopax philfreo relikd toy tsdorsey xupefei

repo: whomwah/qlstephen


text:
🛑 TVBS新聞網 is down

In 9498e88, TVBS新聞網 (https://www.tvbs.com.tw/) was down:

HTTP code: 404
Response time: 134 ms

Resolved: TVBS新聞網 is back up in 1679a45 after 21 minutes.

repo: whosawhosa/upptime


text:
Bumpversion error on release CI

Description
While releasing whylogs 1.3.21, an error with bumpversion was hit:
https://github.com/whylabs/whylogs/actions/runs/7547519737/job/20547658510#step:7:65
More investigation is required to discover the root cause

[x] I have reviewed the Guidelines for Contributing and the Code of Conduct.

This issue hasn't occurred since the release 1.3.21, so it might have been an intermittent issue.

repo: whylabs/whylogs


text:
ts-node安装失败

pnpm add -g pm2 ts-node typescript tslib

pnpm add -g pm2 ts-node typescript tslib
 WARN  deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
 WARN  deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
 WARN  deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
Already up-to-date                                                        Progress: resolved 198, reused 118, downloaded 0, added 0, done
 WARN  tslib has no binaries
 WARN  Issues with peer dependencies found
.
└─┬ ts-node
└── ✕ missing peer @types/node@""
Peer dependencies that should be installed:
@types/node@""
root@localhost:~ $

咋解决的？

authors: jiuyaozhuce qiurigao

repo: whyour/qinglong


text:
🛑 Girasol 🇫🇷 (fr) is down

In 7f535ed, Girasol 🇫🇷 (fr) (https://holiday-lescala.com/fr/h/maison-girasol/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Girasol 🇫🇷 (fr) is back up in 925b5db after 40 minutes.

repo: whytspace/upptime-holiday-lescala


text:
🛑 Bianya 🇪🇸 (es) is down

In 98e4eba, Bianya 🇪🇸 (es) (https://holiday-lescala.com/es/h/casa-bianya/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Bianya 🇪🇸 (es) is back up in c5f01c3 after 38 minutes.


text:
Unable to verify contract on Avalanche testnet using hardhat-deploy

I am having trouble verifying a contract on the Avalanche testnet. The error I receive is: "contract Lottery failed to submit : "NOTOK" : "Invalid API Key" [object Object]". However, I was able to verify the contract using hardhat-etherscan. Could you please assist me in resolving this issue?

I checked on Goerli and Sepolia, everything is fine, but on Polygon-Mumbai, Chapel, and Fuji there is an error.

I've figured out the issue. It turns out that the API key is taken from the ETHERSCAN_API_KEY environment variable first and then tries to find it in the Hardhat config, which is quite odd. A year ago, it was taken correctly from the config in the first place. This issue can be closed now.

repo: wighawag/hardhat-deploy


text:
Documentation references wrong npm package

What you are doing?
I am trying to install this package.
What do you expect to happen?
I expect to package to download and install correctly while following the installation instructions.
What is actually happening?
The wrong package gets installed. The npm package sequelize-cli-typescript references this repo: https://github.com/douglas-treadwell/sequelize-cli-typescript

Just realized that this is a fork of Hekotoru/sequelize-cli-typescript, which is a fork of douglas-treadwell/sequelize-cli-typescript.
I am assuming those repos are intended to be merged into douglas-treadwell/sequelize-cli-typescript, which is why the documentation references another npm package.
I was able to install this package using:
npm install -g "git+ssh://git@github.com:wildcookie007/sequelize-cli-typescript.git#master"


text:
Docker component socket mode does not work

https://issues.apache.org/jira/browse/CAMEL-1352

@tdiesler FYI - I pushed a fix for this onto the 3.x branch.

repo: wildfly-extras/wildfly-camel


text:
[WFCORE-6199] avoid duplicate module dependencies

https://issues.redhat.com/browse/WFCORE-6199

Core -> Full Integration Build 12142 outcome was UNKNOWN using a merge of 85ae9a5448c93dfd13c269ddd3ebc72084d84f45
Summary: Canceled (Tests passed: 7099, ignored: 107; exit code 143 (Step: Build & test full (Maven)) (new)) Build time: 03:12:48

Core -> Full Integration Build 12143 outcome was UNKNOWN using a merge of 85ae9a5448c93dfd13c269ddd3ebc72084d84f45
Summary: Canceled Build time: 00:00:01

Core -> Full Integration Build 12144 outcome was UNKNOWN using a merge of 85ae9a5448c93dfd13c269ddd3ebc72084d84f45
Summary: Canceled Build time: 00:00:07

Core -> Full Integration Build 12145 outcome was UNKNOWN using a merge of 85ae9a5448c93dfd13c269ddd3ebc72084d84f45
Summary: Canceled Build time: 00:03:27

Core -> Full Integration Build 12165 outcome was FAILURE using a merge of b7f56c51a2cb20658baaccecf926c5703184eb03
Summary: Tests failed: 1 (1 new), passed: 7092, ignored: 135 Build time: 04:03:05
Failed tests
org.wildfly.extension.batch.jberet.JBeretSubsystemParsingTestCase.testRejectingTransformersEAP74: java.lang.RuntimeException: org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact org.wildfly.core:wildfly-threads:jar:15.0.2.Final-redhat-00001 from/to repo0 (http://nexus.wildfly.int/nexus/repository/public/): Connect to nexus.wildfly.int:80 timed out
	at org.jboss.as.model.test.MavenUtil.createMavenGavURL(MavenUtil.java:142)
	at org.jboss.as.model.test.ChildFirstClassLoaderBuilder.addMavenResourceURL(ChildFirstClassLoaderBuilder.java:198)
	at org.jboss.as.subsystem.test.SubsystemTestDelegate$LegacyKernelServiceInitializerImpl.addMavenResourceURL(SubsystemTestDelegate.java:712)
	at org.wildfly.extension.batch.jberet.JBeretSubsystemParsingTestCase.testRejectingTransformers(JBeretSubsystemParsingTestCase.java:187)
	at org.wildfly.extension.batch.jberet.JBeretSubsystemParsingTestCase.testRejectingTransformersEAP74(JBeretSubsystemParsingTestCase.java:179)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact org.wildfly.core:wildfly-threads:jar:15.0.2.Final-redhat-00001 from/to repo0 (http://nexus.wildfly.int/nexus/repository/public/): Connect to nexus.wildfly.int:80 timed out
	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:422)
	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:224)
	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:201)
	at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:260)
	at org.jboss.as.model.test.MavenUtil.createMavenGavURL(MavenUtil.java:140)
	... 34 more
Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact org.wildfly.core:wildfly-threads:jar:15.0.2.Final-redhat-00001 from/to repo0 (http://nexus.wildfly.int/nexus/repository/public/): Connect to nexus.wildfly.int:80 timed out
	at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:52)
	at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:365)
	at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:75)
	at org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:583)
	at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:259)
	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:498)
	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:399)
	... 38 more
Caused by: org.apache.http.conn.ConnectTimeoutException: Connect to nexus.wildfly.int:80 timed out
	at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:123)
	at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)
	at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:326)
	at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:605)
	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:440)
	at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:835)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
	at org.apache.http.impl.client.DecompressingHttpClient.execute(DecompressingHttpClient.java:164)
	at org.eclipse.aether.transport.http.HttpTransporter.execute(HttpTransporter.java:296)
	at org.eclipse.aether.transport.http.HttpTransporter.implGet(HttpTransporter.java:252)
	at org.eclipse.aether.spi.connector.transport.AbstractTransporter.get(AbstractTransporter.java:67)
	at org.eclipse.aether.connector.basic.BasicRepositoryConnector$GetTaskRunner.runTask(BasicRepositoryConnector.java:453)
	at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:360)
	... 43 more

I'm going to backport to 15.0.x.

authors: TomasHofman aogburn wildfly-ci

repo: wildfly/wildfly-core


text:
add management user during wildfly:run

Support management user setup during wildfly:run.
Configuration:
<plugin>
    <groupId>org.wildfly.plugins</groupId>
    <artifactId>wildfly-maven-plugin</artifactId>
    <configuration>
        <add-user>
            <user>admin</user>
            <password>admin</password>
        </add-user>
    </configuration>
</plugin>

This is an alternative to calling
bash target/wildfly-run/wildfly-8.2.0.Final/bin/add-user.sh -u admin -p admin

I talked to the security team and org.jboss.sasl.util.UsernamePasswordHashUtil is likely going away so I'm a bit hesitant to use it in the plugin. However I added the ability to add a user in https://github.com/wildfly/wildfly-maven-plugin/pull/64. The one negative is it does create a new process for each user added, but it's a short lived process and probably something that will not be used all that often.
Please feel free to give feedback on it. I'll try an cut a release today with it so it can be tested.

authors: jamezp rzymek

repo: wildfly/wildfly-maven-plugin


text:
[WFLY-15044] Avoid Nullpointer (EJB)

Fixes https://issues.redhat.com/browse/WFLY-15044

@chengfang Hello Cheng, could you review/approve, please?

repo: wildfly/wildfly


text:
[WFLY-15993] Require a minimum of Java 11

https://issues.redhat.com/browse/WFLY-15993
https://issues.redhat.com/browse/WFLY-15994

Thanks, @jamezp!

authors: bstansberry jamezp


text:
[WFLY-16325] Upgrade smallrye-opentracing 2.1.0

Fixes https://issues.redhat.com/browse/WFLY-16325

Won't fix. Stuck in MP compatibility: The TCK has no version compliant with smallrye-opentracing 2.1.0 transitive contrib dependencies.


text:
26.x [WFLY-16290] DatabaseTimerPersistence adjustCreateAutoTimerStatement …

…should be called in loadSqlProperties
https://issues.redhat.com/browse/WFLY-16397
Port the fix https://github.com/wildfly/wildfly/pull/15456 from main to 26.x

Can someone merge it?


text:
[WFLY-19211] Upgrade ironjacamar to 3.0.9.Final

https://issues.redhat.com/browse/WFLY-19211
Mostly component upgrades related to SE21 compatibility.

More information about the wildfly-bot[bot]

Thanks @tadamski

@tadamski Please take care of resolving the JIRA. JIRA is not working properly right now so I'm unable to resolve it myself.

authors: bstansberry tadamski


text:
Leverage capability API for socket binding dependencies,

Removes usage of recently deprecated fields.

Linux with security manager Build 1898 is now running using a merge of a1fffb9bdd38849b809ae576b1c979d4cba9bd67

Windows Build 2076 is now running using a merge of a1fffb9bdd38849b809ae576b1c979d4cba9bd67

Linux Build 7021 is now running using a merge of a1fffb9bdd38849b809ae576b1c979d4cba9bd67

Linux with security manager Build 1898 outcome was SUCCESS using a merge of a1fffb9bdd38849b809ae576b1c979d4cba9bd67
Summary: Tests passed: 871, ignored: 280 Build time: 0:06:31

Windows Build 2076 outcome was FAILURE using a merge of a1fffb9bdd38849b809ae576b1c979d4cba9bd67
Summary: Tests failed: 1 (1 new), passed: 2943, ignored: 344 Build time: 0:48:19
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.clustering.cluster.ejb.remote.RemoteFailoverTestCase(SYNC-tcp).testConcurrentFailover: <no details avaliable>

Linux Build 7021 outcome was FAILURE using a merge of a1fffb9bdd38849b809ae576b1c979d4cba9bd67
Summary: Tests failed: 2 (2 new), passed: 2939, ignored: 344, muted: 3 Build time: 0:50:38
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.integration.ejb.remote.suspend.EjbRemoteSuspendTestCase.testSuspendedCallRejected: <no details avaliable>

org.jboss.as.test.integration.ejb.transaction.bmt.lazyenlist.LazyTransactionEnlistmentUnitTestCase.test: <no details avaliable>

Windows Build 2077 is now running using a merge of a1fffb9bdd38849b809ae576b1c979d4cba9bd67

Linux Build 7022 is now running using a merge of a1fffb9bdd38849b809ae576b1c979d4cba9bd67

Windows Build 2077 outcome was SUCCESS using a merge of a1fffb9bdd38849b809ae576b1c979d4cba9bd67
Summary: Tests passed: 2944, ignored: 344 Build time: 0:48:39

Linux Build 7022 outcome was FAILURE using a merge of a1fffb9bdd38849b809ae576b1c979d4cba9bd67
Summary: Tests failed: 1 (1 new), passed: 2940, ignored: 344, muted: 3 Build time: 0:51:30
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.integration.ejb.remote.distinctname.defaultname.DefaultDistinctNameTestCase.testRemoteSLSBInvocation: <no details avaliable>

While this works, to be totally correct I think you also need to create a RuntimeCapability which is then referenced from the relevant add handlers and attribute definitions. That way you will also get validation when people are modifying the config in admin-only mode.
An example is in https://github.com/wildfly/wildfly-core/pull/852/files#diff-2f55882885d08bc5c45c73f8bfb55921R97

Closing until fixed.

authors: kabir pferraro wildfly-ci