Make e2e run on prow (was: jenkins stuck for a week - who has perms?)

Jenkins seems stuck processing https://github.com/kubernetes-incubator/service-catalog/pull/2177#issuecomment-403530453 for the last week. No newer PRs have been handled.
https://service-catalog-jenkins.appspot.com/job/service-catalog-master-testing/
Is @kibbles-n-bytes the only person with permissions? Is the only solution here moving towards prow?

Closing - We don't use jenkins anymore.

Thanks for clarifying. Do you happen to know if they were explicitly turned off or if I should be investigating when they stopped running and why?

Only run by jenkins and not yet running in prow. Never made the transition.

I don't think that Jenkins instance exists anymore... 🤦♀

maybe a new issue for @jeremyrickard ?

AI for a Campbell in October 1, 2018 sig meeting? I haven't watched it.

@jberkhahn
I think this is better served by having a discussion in the weekly
meeting about whether anybody still cares about running these tests at
all, and opening a new issue without the baggage this one has.
/close
On 8/6/19 9:29 AM, fejta-bot wrote:

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with |/remove-lifecycle rotten|.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with |/close|.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_fejta&d=DwMCaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=gSVznMk4DixLVQ8USuNSH0RuT_4psswDPWAf-45M48c&m=zM3j1dPpuq5E0WkZWiRhhMxEVIz4y2wJ8gYsnxRHXT8&s=ISDAh1FCYRistebjX_gYboildPOU4pF9JLD0o8-oF6E&e=.
/lifecycle rotten
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_kubernetes-2Dsigs_service-2Dcatalog_issues_2184-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DADFYGAPGQO4BDUOVQAZ5GL3QDGRFPA5CNFSM4FJAKXGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3VWVAY-23issuecomment-2D518744707&d=DwMCaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=gSVznMk4DixLVQ8USuNSH0RuT_4psswDPWAf-45M48c&m=zM3j1dPpuq5E0WkZWiRhhMxEVIz4y2wJ8gYsnxRHXT8&s=shy1ebUmE0bHeLd6SMHAb1ydWTce2A9ohTBTBk6-MyM&e=,
or mute the thread
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ADFYGAKXPXZJ7YVYIYSE233QDGRFPANCNFSM4FJAKXGA&d=DwMCaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=gSVznMk4DixLVQ8USuNSH0RuT_4psswDPWAf-45M48c&m=zM3j1dPpuq5E0WkZWiRhhMxEVIz4y2wJ8gYsnxRHXT8&s=nbk3SyRC-gb3gNYHnIzDOKGqyVSwQ14hJCYnS3bOgMU&e=.


Report test concurrency

The report tests currently take a lot of time, these tests should be parallelizable. This might improve the total test time a lot

I think a large percentage of the time is taken up in disk I/O since it reads and writes each report multiple times. Additionally, it performs each analysis three times, one for each report type.

The files aren't that big. You are right that analysis is performed three times which could be optimized, using fixtures might help here! That would improve test duration by 3X.
The report tests could/should also be separate from the analysis test, which now kind of happens at the same time. This would also limit the need for disk IO.
However, if you profile an execution you see that most of the time is spent doing symbolic execution and analysis. The analysis runs for each separate contracts could be ran in parallel ( which should speed up the tests even more, maybe 10 times)

I'll pick this up

So, I slimmed down the entire test duration to about 60 seconds. This could be less if we decide to exclude rubixi.sol from the testcases. @b-mueller any reason that rubixi needs to be tested? Does it include a special edgecase? Otherwise I think we should exclude it from run all tests, so developers won't have to wait an entire minute to see if their code is working.
Also @joshuata, I indeed could easily build this using fixtures thanks for the tip!

@b-mueller any reason that rubixi needs to be tested?

No, it can be removed.

@JoranHonig @b-mueller I would not focus too much on testing time, the more tests we do in CI/CD flow, the better it is. It is assumed that developers have to run all tests only when they are about to commit they changes into codebase, and at that moment we should focus on as intense testing as possible, not on whether it take 1 min more or less.

I agree that more tests is good, but the Rubixi contract takes particularly long to analyze and doesn't contain any issues not found in other contracts. I think in that case the additonal 30 seconds aren't worth it.

Because analysis will be ran concurrently rubixi would only cause an additional 15 seconds (I don't know if that would be worth it). @birdofpreyru You are right that more extensive testing is better before allowing a merge or something like that. However, if the tests can be built to test some functionality in less time then that should be preferable imo. Because this allows developers to be more active in running and changing the testbase.
If the testsuite becomes a behemoth that takes a lot of time to run (60 seconds is not that much, but this might increase in the future), I think developers might shy away from actively using the testsuite during development.


Support three different multi-param syntaxes

As discussed here
When params have multiple values, you can now choose the style used to build a param string. There are three styles available:
by default, a repeating param:
:a [1 2 3] => "a=1&a=2&a=3"

with :multi-param-style :array, a repeating param with array suffix (PHP-style):
:a [1 2 3] => "a[]=1&a[]=2&a[]=3"

with :multi-param-style :indexed, a repeating param with array suffix and index (Rails-style):
:a [1 2 3] => "a[0]=1&a[1]=2&a[2]=3"

/cc @dakrone @clyfe @ygliuvt @joegallo
Happy to submit another PR for the 2.x branch.

Hmm, I don't seem to have included the tests in the commit. I added a new batch to cover the three styles. Let me sort this out.

Yay for git lost+found! 😬
@dakrone ready for review again 👍

Great, thanks.
Sorry, updating the docs slipped my mind. Thanks a lot for adding this and doing the doc updates :thumbsup:

@joshuaknox @dakrone Would it help if I prepare a PR for the 2.x branch?

I don't have the full context, but here's my thoughts:

The 2.x branch should probably receive at least the revert, which is awkward for semver but good for correctness.

Current master (3.x) appears to be in a much better state than https://github.com/dakrone/clj-http#towards-a-300-release suggests - the only tests that remain commented are about the (removed) core/add-client-params!.

3.x's switch to non-deprecated HttpClient methods is a pretty big win - the reason I dropped by is actually because of an SNI issue, captured in #202.

At a cursory glance, I'd consider current master to be fully production-ready.  If that's not true, I'd love to know how I could help.

Released 2.3.0 and 3.3.0 with these changes, thanks!


Fixes #15499: Fix the OpenMetadata(Client) constructor bug - ApiClient null check. (re-commit)

Describe your changes:
Fixes #15499
The previous PR #15500 has been merged, but it has not yet been reflected in the official release.(I found it confirmed in v1.4.0) Additionally, the previous PR had a bug where the null check for apiClient was insufficient. I am submitting code to fix this issue as well.

Type of change:

[x] Bug fix
[ ] Improvement
[ ] New feature
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation

Checklist:

[x] I have read the CONTRIBUTING document.
[x] My PR title is Fixes <issue-number>: <short explanation>
[x] I have commented on my code, particularly in hard-to-understand areas.
[x] For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

Thanks for the contribution @oringnam

@oringnam can you fix the checkstyle run mvn spotless:apply

@harshach I ran mvn spotless:apply and have committed the changes with the cleaned-up style.


iOS - Pay with SORA Card (ApplePay)

As a SORA Card owner I want to seamlessly pay in fiat with my crypto through my mobile phone with ApplePay so that I can easily close the gap between the TradFi and DeFi worlds.
Aha! Link: https://soramitsucoltd.aha.io/features/SORANEO-675

hey is this still relevant or not and when are we planning such implementation?
let's move the task status as a feature


DG sequence diagrams using :Model instead of :ModelManager

Not sure if this needs to be changed.
Not sure if interfaces can be used in sequence diagrams

I think its okay, similar to how you can use interfaces in object diagrams


Generic expressions in class body are highlighted incorrectly

The attached image demonstrates the problem. When an expression in the class body has generic type parameters, it is highlighted incorrectly. The top two lines have the correct highlighting.

cheers!


kube cpu memory rule&gather

:tada: This PR is included in version 1.4.0 :tada:
The release is available on:

GitHub release
v1.4.0

Your semantic-release bot :package::rocket:


API_LIST: add external CTD as a resource for team-specific / ARA endp…

…oints
minor change, but making a PR for documentation purposes / in case we want to wait on ingesting this API. Related to #558

minor change, but making a PR for documentation purposes / in case we want to wait on ingesting this API

Since the various issues around CTD processing appear to be enhancements and/or relatively minor bug fixes, I think this PR can move forward...


Implement package cleanup

Implement package cleanup for Linux.

Used in https://github.com/microsoft/lisa/pull/3094


Changing subject of items backed up to Gmail

I would love to be able to change the Subject in SMS Backup+ settings to anything, with variables available. Also customize the body text that is sent to Gmail?
Why? I am using SMS Backup+ for my workflow in Inbox by Gmail and would like to have both the current SMS and Calls for a given contact put together in one thread - how can I achieve it /is there a way /workaround for this in SMS Backup+?
Customizing texts, with variables available, would make it a great tool for calls/SMS follow-up.
(Anyhow a great tool, love it, thank you for your work and making it, made a "large donation" a moment ago.)

I think this is out of scope. It's more of an email thing. Also, there's https://github.com/jberkel/sms-backup-plus#faq-general-can-you-add-feature-x - too many features become unmaintaintable
I would contact Google. If you really want it it, you could download all your messages (maybe with https://github.com/gaubert/gmvault), edit them, then reupload them? Or you might have better luck with a Gmail competitor - maybe an open-source one like https://github.com/Foundry376/Mailspring or https://github.com/nextcloud/mail
I'd like this feature too, but would you be OK with me closing it?

I'd certainly like to see this, too, seeing it is an extension on my request in #849.

I need to contact you via email


Is the AggregateAnalzyer thread safe?

Can the same instance of the AggregateAnalzyer be used on different threads? Is this recommended? Or should each thread create its own instance of the AggregateAnalzyer?

The opennlp itself is not designed to share the same tool between multiple threads.
Unfortunately I have to talk in theory, because never tested on more than one thread. From what I know of the code, the model can be shared in multiple threads, and theoretically, you can use a "trick".
So you create one analyzer per thread, but all instances share the same model instance.
eg:
var sentModel = new SentenceDetector.SentenceModel(@"c:\...\en-sent.bin");

var aggThread1 = new AggregateAnalyzer {
    new SentenceDetector.SentenceDetectorAnalyzer(new SentenceDetectorME(sentModel))
};

var aggThread2 = new AggregateAnalyzer {
    new SentenceDetector.SentenceDetectorAnalyzer(new SentenceDetectorME(sentModel))
};

but remember, it's good to test because I never tested it :stuck_out_tongue:

Thanks, Knuppe. I will experiment and see what happens.
Sharing the model might be ideal, because the expensive part is actually loading the model.

What you can do when loading is expensive is to make a wcf windows service that hosts the analyzer and expose it through soap. This way you just make a connection with the service and let it return what you need. I do this in a project because of the same issue.
But I don't know what kind of program you are making so I don't know if this is an option for you

@pburrows, did you managed to evolve with the tests? I would like to know! :grimacing:

Hey @knuppe , sorry I never saw your question. I tried creating it on demand, and it is fast and is not running into any threading issues. I am loading en-sent, en-token, and en-pos-maxent and not running into any issues.


[Feature Proposal] Implement Wizards for safe mods

https://wiki.bananahackers.net/Customizations
also show the wiki link on the wizards, so people can check it out to learn or recover if the wizard fails.
at best it would make sense to use "custom ROM" for the tweaks that support it.

[ ] Disable Keyboard input Toasters (https://wiki.bananahackers.net/Customizations/Disable-Toasters)

[ ] Activate Mod
[ ] Revert Change / deactivate mod

[ ] SIM & Internet tweaks (https://wiki.bananahackers.net/customizations/sim-internet-tweaks)

[ ] Activate Mod
[ ] Revert Change / deactivate mod

[ ] Fix keypad speed (https://wiki.bananahackers.net/en/Customizations/fix-keypad-speed)

[ ] Activate Mod
[ ] Revert Change / deactivate mod

[ ] Editing the Homescreen App Carousel (https://wiki.bananahackers.net/en/Customizations/editing-homescreen-app-carousel)

could be really nice if you could drag and drop sort from the existing apps
[ ] Activate Mod
[ ] Revert Change / deactivate mod

[ ] Edit startup sound (https://wiki.bananahackers.net/en/Customizations/startup-sound)

[ ] Optional: kaiware could automatically convert the drag/dropped file to the right format
[ ] Activate Mod
[ ] Revert Change / deactivate mod

@Simon-Laux Add this:

[ ] Make certain apps removable(including pre-installed ones) BH Wiki page


Add 2hash.ru

This PR is:

[x] Adding a new domain
[ ] Updating existing domain size
[ ] Changing domain name
[ ] Removing existing domain from list
[ ] Website code changes (512kb.club site)
[ ] Other not listed

[x] I used the uncompressed size of the site
[x] I have included a link to the GTMetrix report
[x] The domain is in the correct alphabetical order
[x] This site is not a ultra lightweight site
[x] The following information is filled identical to the data file

I confirm that I have read the FAQ section, particularly the two red items around minimal pages and inappropriate content and I attest that this site is neither of these things.

[x] Check to confirm

- domain: 2hash.ru
  url: https://2hash.ru/
  size: 1.8
  last_checked: 2022-07-16

GTMetrix Report: https://gtmetrix.com/reports/2hash.ru/ocpdQGmj/

Please make the size 1.82 exactly like what the report has


Warning: Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.

Describe the bug
index.js:1 Warning: Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.

Move data fetching code or side effects to componentDidUpdate.
If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state

Please update the following components: BootstrapTable, BootstrapTableContainer, DataProvider, PaginationDataProvider, PaginationHandler

Is there any news on this? I'm also receiving this warning.

+1

Duplicates #1530.

+1


The URL path in the tag is missing

Checklist

[x] I have read the tutorials and know the correct effect of the functional design.
[x] There are no similar reports on existing issues (including closed ones).
[x] I found the bug on the latest code of the master branch.

Describe the bug

To Reproduce
Steps to reproduce the behavior:

Expected behavior
My project repository name ("Cc360428.github.io"), I set it in _config.yaml,
url: "https://cc360428.github.io" and baseurl: "/" ;
In tags, the display is normal, but if you select the article URL in it, the url will be missing. If I don't set the baseurl, all the displays will show errors, and there will be more blogs.

Screenshots

Environment

Command
Version

ruby -v
2.6.3p62

gem -v
3.0.3

bundle -v
2.3.13

bundle exec jekyll -v

bundle info jekyll-theme-chirpy

Desktop

Smartphone

Additional context

I checked your repo, and I don't think you're following the tutorials.😂


Fixing collectives locking problem

Fixes #
Proposed Changes

Adds call to ignore_while_checking in all_to_all and all_reduce

Any background context you want to provide?
I forgot to test if it fixed the problem in Phylanx which provided the motivation for the fix, before I committed it last time. We used the wrong ignore function.

Fixes problem #4255 was supposed to fix

Thanks @folshost!


Timeout after receiving Client Hello from the CS:GO Game Coordinator

After receiving the Client Hello from the CS:GO Game Coordinator, Titan is not sending any reports or commends on Windows.
This bug requires futher investigation.

This looks like a problem with the Steam Services, as SteamDB Game Tracking could also not connect to the GC. Closing this issue, but keeping a eye on it.


Fix LIMIT and OFFSET for H2 and HSQLDB with AR 4.2

This actually fixes this feature for H2 and HSQLDB  for older versions of AR as well.  When only OFFSET was set, the result was wrong.

Argh!  PR for master instead of 1-3-stable...closing.


provide instructions on how to deploy this

Hi,
it would be really nice if you could provide some description how to parse the markdown-files into something static (as your demo-pages)

@Finkregh - the site uses jekyll and fully compiled pages are under the _site directory.
Here is more on how to install and run jekyll on your local machine if you want to customize the layouts - http://jekyllrb.com/


Build give ContributionForm and payment flow

Acceptance Criteria

[ ] It should create a mostly unstyled but functional payment form
[ ] It should use related mutations

createOrder signature needs to look like this:


Arrays cannot be synchronized on

Under TeaVM 0.6.0-dev-751, the following code will throw a "$o.$monitor is undefined" error within jl_Object_monitorEnterSync:
int[] x = new int[0];
synchronized(x) { }

I believe this was caused by fe68bf700b21ce8cb2667296fbb35d25cf94831e - as arrays are no longer using jl_Object's constructor, they do not initialize $monitor to null, and so the if ($o.$monitor.$owner === null) check fails, meaning the monitor is never actually initialised.

Thanks for making this detailed report!
In case you need a workaround, I would guess you can make a wrapper class for the array and synchronize on instances of the wrapper.
Let us know what you are doing with TeaVM sometime.

So I had a look into fixing this and ran into a little bit of difficulty. While setting $monitor = null technically fixes this, it breaks when minification is enabled - the field in the generated classes is remapped, but not in the runtime.
This makes perfect sense, but also complicates things. Just wondering if anyone can think of an alternative fix. I've just disabled minification as a bodge for the time being

Let us know what you are doing with TeaVM sometime.

@ScraM-Team I'm afraid it's nothing especially serious. Effectively trying to emulate a fantasy console running on the web.

Hopefully Alexey can comment on your fix ideas.
Thanks for telling us about your project.  When you are ready for some testers post in the forum.

Amazing, thank you very much!

BTW, I just published 0.6.0-dev-764 version, which includes fix for this issue. This means you can build your project against this version without any patches.


Extend native Silk.NET.OpenGL struct types.

Remove types from Nusantara.OpenGL namespace and replace it with existing type from Silk.NET.OpenGL namespace.
Make extension methods that will make these types OOP-like.
If possible, auto-generate the methods from Silk.NET T4 text templates and document every parameter and the possible errors as exception tags.
This will make the method unmanaged, thus faster.

Seems like we still need to store the GL API on the types.
Instead of replacing, remove every wrapper method's parameter checking and document every method instead.
Have a way to throw errors as exceptions via GL.GetError


major issue with 2.3.0

This version has caused my project to show the following error in the console

We believe that this has to due with the most recent version of lavasfy. hopefully there will be a fix for this

Yeah same,

I had the same issue. The tracks seems to be instances of UnresolvedTrack. I used the resolve() method and it worked

Where did you use that method in your code?

I did something like this. You can find everything in the documentation
const search = await node.load("url")

if(search.loadType == "TRACK_LOADED"){
    let track = search[0]; // track will be `UnresolvedTrack | LavalinkTrack`
    if (track.resolve) track = await track.resolve(); // if it is an `UnresolvedTrack` (if it has the `resolve` method) resolve it
    // track will be either `undefined` | `LavalinkTrack`
}

I did something like this. You can find everything in the documentation
const search = await node.load("url")

if(search.loadType == "TRACK_LOADED"){
    let track = search[0]; // track will be `UnresolvedTrack` | `LavalinkTrack`
    if (track.resolve) track = await track.resolve(); // if it is an `UnresolvedTrack` (if it has the `resolve` method) resolve it
    // track will be either `undefined` | `LavalinkTrack`
}

i tried to add this in my code, but when my bot shows that no results were found after trying to play a spotify link, the console shows "undefined" and im not sure what to do. it still doesnt play spotify after using 2.3.0

I did something like this. You can find everything in the documentation
const search = await node.load("url")

if(search.loadType == "TRACK_LOADED"){
    let track = search[0]; // track will be `UnresolvedTrack` | `LavalinkTrack`
    if (track.resolve) track = await track.resolve(); // if it is an `UnresolvedTrack` (if it has the `resolve` method) resolve it
    // track will be either `undefined` | `LavalinkTrack`
}

i tried to add this in my code, but when my bot shows that no results were found after trying to play a spotify link, the console shows "undefined" and im not sure what to do. it still doesnt play spotify after using 2.3.0

I actually added the unresolved thing to my bot based on the code with TrackUtils.buildUnresolved and it actually worked.

ahh yeah, forgot... I already got that issue fixed. It was the lavalink.jar itself, which was outdated

oh well when i said before that i fixed the issue, i actually didnt so im back to square 1 with still having to use version 2.2.1

if you are still facing the problem, try to use autoResolve option in the LavasfyClient constructor. Node#load will automatically convert it to a lavalink track object, so you don't need to convert it to lavalink track anymore


Add support for locale generation using Claude.ai

fixes #2
This pull request introduces support for Anthropic's Claude AI service alongside the existing OpenAI integration. Users can now configure their preferred AI service via environment variables. The changes include:

New Clients: Added AnthropicClient and OpenAiClient clients under the I18nAi::Clients namespace.
Configuration: Users can specify the AI service to use by setting the AI_SERVICE environment variable (anthropic for Claude, default to OpenAI).
Middleware Update: The middleware now initializes the appropriate client based on the AI_SERVICE environment variable.
Tests: Added RSpec tests for the new clients to ensure they behave as expected.

How to Test

Set the AI_SERVICE environment variable to anthropic and provide the ANTHROPIC_API_KEY.
Run the application and verify that translations are generated using Claude.
Set the AI_SERVICE environment variable to openai and provide the OPENAI_ACCESS_TOKEN.
Run the application and verify that translations are generated using OpenAI.
Run the test suite using bundle exec rspec to ensure all tests pass.

hi @wilburhimself great work on the PR! we can finally select different AI services ❤
would request one last change on my part, as far as configuring the client, i am voting for configuration similar to carrierware.
where we can do something like this for i18n-ai:
I18nAi.configure do |config|
  config.ai_settings = {
    provider: "openai"
    model: "gpt-4o-mini",
    access_token: ENV["OPENAI_ACCESS_TOKEN"]
  }
  config.generate_locales = [:es]
end

# this would allow us to the use anthropic
I18nAi.configure do |config|
  config.ai_settings = {
    service: "anthropic",
    model: "claude-3-haiku-20240307",
    access_token: ENV["ANTHROPIC_ACCESS_TOKEN"]
  }
  config.generate_locales = [:es]
end

# and also in the future, gemini:
I18nAi.configure do |config|
  config.ai_settings = {
    service: "gemini",
    api_key: ENV["GOOGLE_API_KEY"]
  }
  config.generate_locales = [:es]
end

this would give us a lot of flexibility as far as model selection and also potentially other settings.
thank you 🙇

@westoque great idea! I implemented this, can you take a look?

@westoque Thanks for the review! I updated with the changes ...

@wilburhimself thank you so much. merged.


Provide a way to collect all unknowns from a residual response, especially unknowns from a partial entity store

Category
User level API changes
Describe the feature you'd like to request
After partial evaluation, if the result is a partial response, there should be a way to collect all the unknowns in the expression. This is especially useful when you need to know which entities to load after evaluating using a partial entity store.
It is not quite as easy as simply exposing the unknowns method because there may be other (non-entity) unknowns as well, but we only want the ones corresponding to entities from the partial entity store. Ideally, there would be some kind of metadata field on unknowns that we could use to annotate where unknowns come from (e.g. from a failed lookup in a partial entity store, an attribute which is expensive to load/compute, somewhere else, etc.)
Finally, the current way of storing entities as unknowns essentially serializes the entity uids as strings, which means stringifying them and reparsing them, which feels a little hacky. It would be nice if we could store the (already parsed) entity uid data as the unknown rather than converting it to a string and back.
Describe alternatives you've considered
Unsure what the alternatives would be
Additional context
From https://github.com/cedar-policy/cedar/issues/312#issuecomment-1726718167
Is this something that you'd be interested in working on?

[ ] 👋 I may be able to implement this feature request
[ ] ⚠ This feature might incur a breaking change

Closing in favor of #321 which is the same thing I believe


Picture taken on emulator on android R (API 30) not showing

Hello. Great library. Today however I'm trying to run it on an emulator on API 30 but the picture taken is not displaying.
Pictures chosen from gallery still work perfectly. I don't have a device with API 30 to test on so I'm not sure if this is an emulator glitch.
Thanks! Keep up the awesome work.

Same issue occurred on emulator API 30 version. Any solution for that?

me too please review the issue it's important

I have the same problem.........it showing no error either.

android R (API 30)  when taking picture then in onActivityResult showing result code 0 (CANCELLED CODE) but for success the code is -1, And on other version its working fine. someone please help why this is happening?

same problem here

I think the developers are not focusing on this project. It is most likely a dead project.

@Amimul1234
i think that too , btw i use that
https://www.androidhive.info/2019/02/android-choosing-image-camera-gallery-crop-functionality/

@kamelelrifai uCrop have the same issue with Android R api 30 , but android q below works fine

okay thank you for mentioned that ❤

I think the main problem is permission related. If you take a picture from the camera then this happens. But if you access from storage then this does not happen. I think camera permission causes problems.

please check this

Hey!
I start a new project to handover this library
https://github.com/CanHub/Android-Image-Cropper
The ideia is that we keep improving because this project don’t have updates since 2018
Hope I can count with your help.
Open to contribute, next pieces of work will be Android 11 permissions, refactor into Kotlin and ActivityContract


MissingCookiesWarning and InstagramLoginRedirectError when using session id

Describe the bug
As the title
C:\Users\User\Anaconda3\lib\site-packages\instascrape\core\_static_scraper.py:136: MissingCookiesWarning: Request header does not contain cookies! It's recommended you pass at least a valid sessionid otherwise Instagram will likely redirect you to their login page.
  MissingCookiesWarning
Traceback (most recent call last):
  File "postscraper.py", line 5, in <module>
    from instascrape import Profile, scrape_posts
  File "C:\Users\User\Anaconda3\lib\site-packages\instascrape\__init__.py", line 9, in <module>
    google.scrape()
  File "C:\Users\User\Anaconda3\lib\site-packages\instascrape\core\_static_scraper.py", line 144, in scrape
    return_data = self._get_json_from_source(self.source, headers=headers, session=session)
  File "C:\Users\User\Anaconda3\lib\site-packages\instascrape\core\_static_scraper.py", line 265, in _get_json_from_source
    self._validate_scrape(json_dict)
  File "C:\Users\User\Anaconda3\lib\site-packages\instascrape\core\_static_scraper.py", line 301, in _validate_scrape
    raise InstagramLoginRedirectError
instascrape.exceptions.exceptions.InstagramLoginRedirectError: Instagram is redirecting you to the login page instead of the page you are trying to scrape. This could be occuring because you made too many requests too quickly or are not logged into Instagram on your machine. Try passing a valid session ID to the scrape method as a cookie to bypass the login requirement

To Reproduce
from selenium import webdriver
from instascrape import Profile, scrape_posts

webdriver = webdriver.Chrome("C:/usr/local/bin/chromedriver.exe")
SESSIONID = 'xxxxxxxxxxxxxxxxxxx'

headers = {"user-agent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Mobile Safari/537.36 Edg/87.0.664.57",
           "cookie": f"sessionid={SESSIONID};"}
profile = Profile("google")
profile.scrape(headers=headers)

posts = profile.get_posts(webdriver=webdriver, login_first=True)
scraped_posts, unscraped_posts = scrape_posts(posts, headers=headers, pause=10, silent=False
)

OS: Windows 10
Browser chrome
Version 88.0.4324.150 (Official Build) (64-bit)

Additional context
I got the session id as described in http://valvepress.com/how-to-get-instagram-session-cookie/.
Just trying some code got from the posts, don't know why it's not working.

I can reproduce this problem.
I simplified the issue case:
SESSIONID = ' xxx '
headers = {"user-agent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Mobile Safari/537.36 Edg/87.0.664.57",
"cookie": f"sessionid={SESSIONID};"}
user = Profile("google")
user.scrape(headers=headers)

If I try to run this code on a Windows 10 machine with Google Chrome logged in Instagram, it works as expected (even if I get a MissingCookies Warning)
If I run the same code on an Ubuntu machine without graphical inteface (so no Chrome logged in), I get the same error:
Traceback (most recent call last):
  File "main.py", line 235, in instagram_profile
    profile.scrape(headers=headers)
  File "/opt/hostedtoolcache/Python/3.8.7/x64/lib/python3.8/site-packages/instascrape/core/_static_scraper.py", line 144, in scrape
    return_data = self._get_json_from_source(self.source, headers=headers, session=session)
  File "/opt/hostedtoolcache/Python/3.8.7/x64/lib/python3.8/site-packages/instascrape/core/_static_scraper.py", line 265, in _get_json_from_source
    self._validate_scrape(json_dict)
  File "/opt/hostedtoolcache/Python/3.8.7/x64/lib/python3.8/site-packages/instascrape/core/_static_scraper.py", line 301, in _validate_scrape
    raise InstagramLoginRedirectError
instascrape.exceptions.exceptions.InstagramLoginRedirectError: Instagram is redirecting you to the login page instead of the page you are trying to scrape. This could be occuring because you made too many requests too quickly or are not logged into Instagram on your machine. Try passing a valid session ID to the scrape method as a cookie to bypass the login requirement

I suspect that Instagram checks not only cookies, but IPs

Getting a similar error
    profile = Profile(url_path)
    # header
    session_id = os.environ['INSTAGRAM_SESSIONID']
    headers = {
        "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36",
        "cookie": f"sessionid={session_id};"
        }
    print(headers)
    # call scrape
    profile.scrape(headers=headers)

Output

(venv) C:\Users\Me\Desktop\Personal\App\GitHub\App>python app\instagram_statistics.py
https://www.instagram.com/google/
{'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36', 'cookie': 'sessionid=######################;'}
C:\Users\Me\Desktop\Personal\App\GitHub\App\lib\site-packages\instascrape\core\_static_scraper.py:136: MissingCookiesWarning: Request header does
not contain cookies! It's recommended you pass at least a valid sessionid otherwise Instagram will likely redirect you to their login page.
  MissingCookiesWarning
Traceback (most recent call last):
  File "app\instagram_statistics.py", line 48, in <module>
    print(get_instagram_statistics('google'))
  File "app\instagram_statistics.py", line 35, in get_instagram_statistics
    post.scrape()
  File "C:\Users\Me\Desktop\Personal\App\GitHub\App\lib\site-packages\instascrape\scrapers\post.py", line 80, in scrape
    webdriver=webdriver
  File "C:\Users\Me\Desktop\Personal\App\GitHub\App\lib\site-packages\instascrape\core\_static_scraper.py", line 144, in scrape
    return_data = self._get_json_from_source(self.source, headers=headers, session=session)
  File "C:\Users\Me\Desktop\Personal\App\GitHub\App\lib\site-packages\instascrape\core\_static_scraper.py", line 265, in _get_json_from_source
    self._validate_scrape(json_dict)
  File "C:\Users\Me\Desktop\Personal\App\GitHub\App\lib\site-packages\instascrape\core\_static_scraper.py", line 301, in _validate_scrape
    raise InstagramLoginRedirectError
instascrape.exceptions.exceptions.InstagramLoginRedirectError: Instagram is redirecting you to the login page instead of the page you are trying to scrape. This could be occuring because you made too many requests too quickly or are not logged into Instagram on your machine. Try passing a valid session ID to the scrape method as a cookie to bypass the login requirement

I redacted personal information and replaced it with vague synonyms.

guys i have the same issue, can anyone tell me how can i retrieve the session id ?

Hi guys.
This way working on me. But, since Instagrm decided only logged users can open their site, its getting hard and hard. I found problem after a few requests, their mark as spam and we should verify account again.
It is happening to you all? Have you solution for this ?
Confirm it's You to Login
We noticed unusual activity from your account so we've logged you out. Follow the next steps within 29 days so we can try to get you back into your account before it's disabled.

I've been combing through this code, and I think I've officially gone mad.  https://github.com/chris-greening/instascrape/blob/master/instascrape/core/_static_scraper.py
        if webdriver is None:
            try:
                if "sessionid" not in headers["cookie"]:
                    warnings.warn(
                        "Session ID not in cookies! It's recommended you pass a valid sessionid otherwise Instagram will likely redirect you to their login page.",
                        MissingSessionIDWarning
                    )
            except KeyError:
                warnings.warn(
                    "Request header does not contain cookies! It's recommended you pass at least a valid sessionid otherwise Instagram will likely redirect you to their login page.",
                    MissingCookiesWarning
                    )

My code includes:  profile.scrape(headers=headers, webdriver=driver)
Headers is:
    session_id = os.environ['INSTAGRAM_SESSIONID']
    headers = {
        "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36",
        "cookie": f"sessionid={session_id};"
        }

And webdriver is:
    chrome_options = webdriver.ChromeOptions()
    chrome_loc = os.environ.get("GOOGLE_CHROME_BIN")
    print(chrome_loc)
    chrome_options.add_argument("--window-size=1920,1080")
    chrome_options.add_argument("--headless")
    chrome_options.add_argument("--disable-gpu")
    chrome_options.add_argument("--disable-dev-shm-usage")
    chrome_options.add_argument("--no-sandbox")
    chrome_options.add_argument("user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36")
    exec_path = os.environ.get("CHROMEDRIVER_PATH")
    exec_path = os.environ.get("CHROMEDRIVER_PATH") + "\chromedriver.exe"
    print(exec_path)
    driver = webdriver.Chrome(executable_path=exec_path, options=chrome_options)

If I print driver in my code I get:
<selenium.webdriver.chrome.webdriver.WebDriver (session="##########redacting#############")>
and if I print header:
{'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36', 'cookie': 'sessionid=##########redacting#############;'}
Seriously, how is this code getting to MissingCookiesWarning?  It makes no sense.  To start, webdriver is not None, but still it makes it into the if statement.  Next, 'cookie' is a key in headers, but still, it moves to except KeyError.  How is this code getting to MissingCookiesWarning?


Template 10 Validation Error HRESULT E_FAIL has been returned from a call to a COM component.

I'm really stumped on how to fix this issue.
When my project is built my designer gives me this error

I've tried emulating the sample project but it isn't using the validation library from NuGet. I'm wondering if it's a problem with the NuGet package.
My Xaml looks like this
xmlns:validate="using:Template10.Controls.Validation"
 <validate:ControlWrapper PropertyName="CustCode">                 <TextBox x:Name="CustCodeTextBox" Text="{x:Bind ViewModel.Customer.CustCode, Mode=TwoWay}" Header="Customer Code" Margin="0,25,0,0" /> </validate:ControlWrapper>
As soon as I remove the <validate:ControlWrapper> the exception immediately goes away.

Don't x:bind the property... Reference the samples source https://github.com/Windows-XAML/Template10.Validation/blob/master/Sample/Views
Part of the problem is that x:bind,  next how are you setting the context for the control wrapper to understand CustCode?

I'm setting the page context to my viewmodel as such
xmlns:vm="using:OnlineOrderManager.ViewModels.Customers"
<Page.DataContext>
    <vm:AddCustomerViewModel x:Name="ViewModel" />
</Page.DataContext>

So bind to the TextBox this way instead of your present...

<validate:ControlWrapper PropertyName="CustCode">

</validate:ControlWrapper>

I know its redundant but this is very specific to validation.  Customer being your class object that contains the properties to be validated.  Which is how (I am pretty sure) you have it right now.
I missed it the first time I started using the validation library as well... Its very subtle but binding the context for the Grid to your Customer Property of the viewmodel  tells the control wrapper the IProperty<T> which is this case has a ValidatableModelBase as its base class

standby updating this...


fix: show only intercom icon on mobile version

https://autoricardo.atlassian.net/browse/CAR-8372

mobile/desktop hiding behavior works perfectly fine (tested in the listings PR)
The position of the icon is not nicely centered. the icon looks to have a larger distance to the right than to the left:

There is also some (existing) issues with vertical center that I'd tackle while you're at it. the text seems to have a larger distance from the top than to the bottom:

mobile/desktop hiding behavior works perfectly fine (tested in the listings PR)
The position of the icon is not nicely centered. the icon looks to have a larger distance to the right than to the left:

There is also some (existing) issues with vertical center that I'd tackle while you're at it. the text seems to have a larger distance from the top than to the bottom:

Thanks, will fix that 👍

The mobile version looks fine now, but is it only me or does the desktop have more space on the left


fix: move FEStateOptions into class, circumvent NSDMI compiler bug

Resolves #276
For consistency with other parts of the source code and per @samuelpmishLLNL's suggestion, the FEStateOptions is now FiniteElementState::Options.

LGTM


[3.x] Update the size of the scrollbar for the editor on touchscreen devices

Add a theme usability setting which updates the touch area of UI elements (e.g: scrollbar) for the editor on touchscreen devices.
This PR updates the scroll dimension to improve the scrolling experience on touchscreen.

main version

Could we keep the scrollbars visually thin, but increase their draggable area? It'd probably look better.

Does this work in 3.x even though https://github.com/godotengine/godot/pull/71686 wasn't backported?

I think this doesn't rely on my changes in the end, as a line stylebox is used for the thick bar. Neither does the 4.0 version.

Does there need to be an upper limit at all for this? The hint range for stylebox line is 1-100 but does it need to be capped at 100, why not let the user make it any size?


Sharing to web shows weird workspace name

Describe what happened:
When sharing a folder with web the name of the workspace seems to be "/"

What was your system configuration?
Product and Version [VS/VSCode]: 1.43
OS Version[macOS/Windows]: macOS
Live Share Extension Version: 1.0.1847
Target Platform or Language [e.g. Node.js]:
Steps to Reproduce / Scenario:

Open a multi-root workspace
Share it
Open it in web

=> 🐛 you see / as folder name, it should probably be the name of the workspace

Ah good catch! When you join a Live Share session from the desktop, we dynamically create a workspace file and set its name to be the same as the host’s workspace. However, when you join from the web, we don’t currently create the workspace file, and so this bug is likely a fallout of that distinction.
@rodrigovaras Any thoughts on how we might be able to fix this for the web guest scenario?

let me take look and see where this can be fixed, thanks for reporting it.

This is now resolved as part of the support for VS Code for Web. Thanks!


Detecting cells without cytoplasm in cytoplasm mode

I noticed that when running in cytoplasm mode, if there are cells that only have a nuclear stain, and not the cytoplasm stain, they aren't detected. Do you recommend running CellPose separately in nuclear mode to capture these missing cells?


Strict mode check should accept a location as str

coverage: 98.818% (+0.004%) from 98.814%
when pulling aa140948ca2899c32888294edf8bed61b3b4035b on bugfix/strict-mode-allowed
into 5aecbb53dd50e4173b4733e2f4dd4948e02b1c1a on main.


python37Packages.deprecation: 2.0.6 -> 2.0.7

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-deprecation/versions.
meta.description for python37Packages.deprecation is: '"A library to handle automated deprecations"'.
meta.homepage for python37Packages.deprecation is: '"https://deprecation.readthedocs.io/"

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2.0.7 with grep in /nix/store/x5jqhzkmg7avp2svvllg1fngw5klk7n8-python3.7-deprecation-2.0.7

directory tree listing: https://gist.github.com/03007af4713d9cf7cebd95bad2a91dd1

du listing: https://gist.github.com/251da3bb78cc17a00bb590d6f3dff35a

Rebuild report (if merged into master) (click to expand)

11 total rebuild path(s)
3 package rebuild(s)
3 x86_64-linux rebuild(s)
3 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
3 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
conan
python27Packages.deprecation
python37Packages.deprecation

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/x5jqhzkmg7avp2svvllg1fngw5klk7n8-python3.7-deprecation-2.0.7 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A python37Packages.deprecation https://github.com/r-ryantm/nixpkgs/archive/132cf01b49bf27a6f451ce77f6af49ae907f589f.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/x5jqhzkmg7avp2svvllg1fngw5klk7n8-python3.7-deprecation-2.0.7
ls -la /nix/store/x5jqhzkmg7avp2svvllg1fngw5klk7n8-python3.7-deprecation-2.0.7/bin

Built and tested :+1:
Thanks


Fix swappiness

closes #1473
without this, is vm.swappiness is not turned off, then it allows containers to
use unlimited (up to host max) anonymous swap space on the host. this behavior
is not what we want, particularly for getting tests to pass on everybody's dev
environment, but we don't really want this behavior in any case.
see https://github.com/fsouza/go-dockerclient/pull/776 for 'why fsouza needed to be updated' - this will affect https://github.com/fnproject/fn/pull/1477 as well (it is easy to update, just change pid limit to a pointer, so I'm not sure order matters).
pretty small and straightforward change though

I merged #1477 already. So you need to rebase on master and change the value to a pointer  in api/agent/drivers/docker/cookie.go. (Just noticed I never approved this PR, sorry)

thanks!


Add "OneSequenceRecognizer.resolvePointer". Fix DragGestureRecognizer crash on multiple pointers

Description
This PR fixes some edge cases when DragGestureRecognizer interacts with multiple pointers.
It also changes drag_test.dart so that all GestureRecognizer.dispose calls are guarded by addTearDown.
New method resolvePointer
To fix this, a new API OneSequenceRecognizer.resolvePointer is introduced. Here is why this new API is necessary:
Currently OneSequenceRecognizer provides the following ways to control arena entries:

startTrackingPointer(pointer) adds one pointer to the arena.
resolve(GestureDisposition.rejected) removes all pointers from the arena.

In other words, there is no way to remove one pointer from the arena.
But it is needed for DragGestureRecognizer. Consider the following scenario:

Pointer 1 down
Pointer 2 down
Pointer 1 up
Pointer 2 might go up, or might move away.

Expect: If pointer 2 goes up, the drag is canceled. If pointer 2 moves away, the drag is accepted.
This can not be done with the current tools:

If we don't remove pointer 1 from the arena, then arena 1 will sweep, and this drag gesture might be incorrectly considered as a viable candidate in the sweep and get accepted, violating the expectation when pointer 2 goes up.
If we do remove pointer 1 from the arena, since we currently have to remove all pointers at once, then pointer 2 will be removed as well, violating the expectation when pointer 2 moves away.

I've also considered embedding this functionality into other methods, mostly stopTrackingPoitner. The problem is gestures that stop tracking pointer do not always want to give up the arena. For example, TapGestureRecognizer stops tracking when the pointer is no longer down, but it does not declare either victory or defeat of the arena, instead waits until itself to be the last member and wins via sweeping.
As a conclusion, we need a new API that can resolve a single pointer. Theoretically we only need to resolve to rejection in this case, but there is no reason not to provide both rejection and acceptance.
Related Issues

Fixes https://github.com/flutter/flutter/issues/37466

Tests
I added the following tests:
On multiple pointers:

DragGestureRecognizer is canceled when all pointers are canceled (FIFO)
DragGestureRecognizer is canceled when all pointers are canceled (FILO)
DragGestureRecognizer is accepted when the first pointer is accepted
canceled pointers (due to up) do not prevent later pointers getting accepted
canceled pointers (due to buttons) do not prevent later pointers getting accepted

Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (Please read Handling breaking changes). Replace this with a link to the e-mail where you asked for input on this proposed change.
[x] No, this is not a breaking change.

This should also have fixed https://github.com/flutter/flutter/issues/36350


TEST ADD USER

@all-contributors please add @fareez2 for audio

@all-contributors please add @fareez2 for audio


Added Homework1 - Logical Data Model

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
What did you learn from the changes you have made?
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
How were these changes tested?
A reference to a related issue in your repository (if applicable)
Checklist

[ ] I can confirm that my changes are working as intended

https://github.com/benjso/sql/pull/1

Is the "INNER JOIN" default in query  or being used explicitly? Thanks!


|~Menu bar WiFi icon|

Can you help me again, menu bar wifi icon is not showing any network but, when I go to do it from settings it is showing there.

You could try HeliPort app instead of using native macOS menu bar icon. See if it works for you

is not working. by the way thnq, it's not a major issue.


wallet service fails to start with default servers

The Issue
A user is having trouble connecting with lbryumx2/4, and the sdk does not try the other ones properly. It even says connected successfully, but it never syncs the account.
Bad:
2019-06-17 17:21:06,312 INFO     lbrynet.extras.daemon.Daemon:404: Platform: {
  "processor": "x86_64",
  "python_version": "3.7.1",
  "platform": "Linux-4.15.0-51-generic-x86_64-with-debian-stretch-sid",
  "os_release": "4.15.0-51-generic",
  "os_system": "Linux",
  "lbrynet_version": "0.37.4",
  "torba_version": "0.5.4a0",
  "build": "release",
  "distro": {
    "id": "ubuntu",
    "version": "16.04",
    "version_parts": {
      "major": "16",
      "minor": "04",
      "build_number": ""
    },
    "like": "debian",
    "codename": "xenial"
  },
  "desktop": "Unity"
}
2019-06-17 17:21:08,160 INFO     lbrynet.extras.daemon.Daemon:412: lbrynet API listening on TCP <IP_ADDRESS>:5279
2019-06-17 17:21:08,162 INFO     lbrynet.extras.daemon.Daemon:418: lbrynet media server listening on TCP <IP_ADDRESS>:5280
2019-06-17 17:21:09,610 INFO     lbrynet.extras.daemon.Components:78: Loading databases
2019-06-17 17:21:09,611 INFO     torba.client.basedatabase:189: connecting to database: /home/amyr/.local/share/lbry/lbrynet/lbrynet.sqlite
2019-06-17 17:21:09,612 INFO     lbrynet.extras.daemon.Components:566: detecting external ip
2019-06-17 17:21:09,877 INFO     lbrynet.extras.daemon.exchange_rate_manager:212: Starting exchange rate manager
2019-06-17 17:21:09,999 INFO     lbrynet.extras.daemon.Components:500: found upnp gateway: Huawei Technologies Co., Ltd. HG532e
2019-06-17 17:21:10,005 INFO     lbrynet.extras.daemon.Components:511: got external ip from UPnP: <IP_ADDRESS>
2019-06-17 17:21:10,005 INFO     lbrynet.extras.daemon.Components:525: add UPnP port mappings
2019-06-17 17:21:10,028 INFO     lbrynet.extras.daemon.Components:532: set up redirects: {'TCP': 3333, 'UDP': 4444}
2019-06-17 17:21:10,859 INFO     torba.client.basenetwork:108: Successfully connected to SPV wallet server: lbryumx2.lbry.com:50001
2019-06-17 17:21:11,167 INFO     lbrynet.extras.daemon.Components:194: remote height: 585872, local height: 585872
2019-06-17 17:21:11,757 INFO     lbrynet.extras.daemon.Components:266: Starting torba wallet
2019-06-17 17:21:11,831 INFO     lbrynet.extras.daemon.Components:345: start the dht
2019-06-17 17:21:11,832 INFO     lbrynet.extras.daemon.Components:370: Started the dht
2019-06-17 17:21:11,833 INFO     torba.client.basedatabase:189: connecting to database: /home/amyr/.local/share/lbry/lbryum/lbc_mainnet/blockchain.db
2019-06-17 17:21:11,840 INFO     lbrynet.dht.node:118: DHT node listening on UDP <IP_ADDRESS>:4444
2019-06-17 17:21:12,371 INFO     torba.client.basenetwork:108: Successfully connected to SPV wallet server: lbryumx4.lbry.com:50001

With lbryumx1 in place in config:
2019-06-17 15:27:11,931 INFO     lbrynet.extras.daemon.Daemon:404: Platform: {
  "processor": "x86_64",
  "python_version": "3.7.1",
  "platform": "Linux-4.15.0-51-generic-x86_64-with-debian-stretch-sid",
  "os_release": "4.15.0-51-generic",
  "os_system": "Linux",
  "lbrynet_version": "0.37.4",
  "torba_version": "0.5.4a0",
  "build": "release",
  "distro": {
    "id": "ubuntu",
    "version": "16.04",
    "version_parts": {
      "major": "16",
      "minor": "04",
      "build_number": ""
    },
    "like": "debian",
    "codename": "xenial"
  },
  "desktop": "Unity"
}
2019-06-17 15:27:13,291 INFO     lbrynet.extras.daemon.Daemon:412: lbrynet API listening on TCP <IP_ADDRESS>:5279
2019-06-17 15:27:13,293 INFO     lbrynet.extras.daemon.Daemon:418: lbrynet media server listening on TCP <IP_ADDRESS>:5280
2019-06-17 15:27:14,230 INFO     lbrynet.extras.daemon.exchange_rate_manager:212: Starting exchange rate manager
2019-06-17 15:27:14,230 INFO     lbrynet.extras.daemon.Components:78: Loading databases
2019-06-17 15:27:14,231 INFO     torba.client.basedatabase:189: connecting to database: /home/amyr/.local/share/lbry/lbrynet/lbrynet.sqlite
2019-06-17 15:27:14,232 INFO     lbrynet.extras.daemon.Components:566: detecting external ip
2019-06-17 15:27:14,568 INFO     lbrynet.extras.daemon.Components:500: found upnp gateway: Huawei Technologies Co., Ltd. HG532e
2019-06-17 15:27:14,574 INFO     lbrynet.extras.daemon.Components:511: got external ip from UPnP: <IP_ADDRESS>
2019-06-17 15:27:14,575 INFO     lbrynet.extras.daemon.Components:525: add UPnP port mappings
2019-06-17 15:27:14,612 INFO     lbrynet.extras.daemon.Components:532: set up redirects: {'TCP': 3333, 'UDP': 4444}
2019-06-17 15:27:15,151 INFO     torba.client.basenetwork:108: Successfully connected to SPV wallet server: lbryumx1.lbry.com:50001
2019-06-17 15:27:15,358 INFO     lbrynet.extras.daemon.Components:194: remote height: 585829, local height: 585829
2019-06-17 15:27:15,741 INFO     lbrynet.extras.daemon.Components:266: Starting torba wallet
2019-06-17 15:27:15,844 INFO     lbrynet.extras.daemon.Components:345: start the dht
2019-06-17 15:27:15,846 INFO     lbrynet.extras.daemon.Components:370: Started the dht
2019-06-17 15:27:15,852 INFO     torba.client.basedatabase:189: connecting to database: /home/amyr/.local/share/lbry/lbryum/lbc_mainnet/blockchain.db
2019-06-17 15:27:15,861 INFO     lbrynet.dht.node:118: DHT node listening on UDP <IP_ADDRESS>:4444
2019-06-17 15:27:16,583 INFO     torba.client.basenetwork:108: Successfully connected to SPV wallet server: lbryumx1.lbry.com:50001
2019-06-17 15:27:16,584 INFO     torba.client.baseledger:247: Subscribing and updating accounts.
2019-06-17 15:27:19,027 INFO     lbrynet.wallet.ledger:82: Loaded account bFNn5EEeeTALCNkhqLe6tymPuyKudytGEf with 19.99800408 LBC, 91 receiving addresses (gap: 20), 41 change addresses (gap: 6), 1 channels, 0 certificates and 6 claims.
2019-06-17 15:27:19,027 INFO     lbrynet.extras.daemon.Components:457: start blob server
2019-06-17 15:27:19,028 INFO     lbrynet.extras.daemon.Components:393: Started blob announcer
2019-06-17 15:27:19,028 INFO     lbrynet.extras.daemon.Components:432: Starting the file manager
2019-06-17 15:27:19,030 INFO     lbrynet.blob_exchange.server:124: Blob server listening on TCP <IP_ADDRESS>:3333
2019-06-17 15:27:19,049 INFO     lbrynet.stream.stream_manager:147: Initializing 13 files
2019-06-17 15:27:19,084 INFO     lbrynet.stream.stream_manager:162: Started stream manager with 13 files
2019-06-17 15:27:19,085 INFO     lbrynet.extras.daemon.Components:438: Done setting up file manager
2019-06-17 15:27:21,121 INFO     lbrynet.dht.protocol.routing_table:289: join buckets 1
2019-06-17 15:27:28,812 INFO     lbrynet.dht.node:158: Joined DHT, 15 peers known in 3 buckets
2019-06-17 15:27:51,643 INFO     lbrynet.extras.daemon.Daemon:690: Shutting down lbrynet daemon
2019-06-17 15:27:51,645 INFO     lbrynet.stream.stream_manager:213: finished stopping the stream manager
2019-06-17 15:27:51,646 INFO     lbrynet.blob_exchange.server:134: Stopped blob server
2019-06-17 15:27:51,646 INFO     lbrynet.extras.daemon.Components:397: Stopped blob announcer
2019-06-17 15:27:51,648 INFO     lbrynet.dht.node:111: Stopped DHT node
2019-06-17 15:27:51,651 INFO     lbrynet.extras.daemon.exchange_rate_manager:217: Stopping exchange rate manager
Task exception was never retrieved
future: <Task finished coro=<MarketFeed._update_price() done, defined at lbrynet/extras/daemon/exchange_rate_manager.py:78> exception=JSONDecodeError('Expecting value: line 1 column 1 (char 0)')>
Traceback (most recent call last):
  File "lbrynet/extras/daemon/exchange_rate_manager.py", line 82, in _update_price
  File "lbrynet/extras/daemon/exchange_rate_manager.py", line 108, in _handle_response
  File "json/__init__.py", line 348, in loads
  File "json/decoder.py", line 337, in decode
  File "json/decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

System Configuration

LBRY Daemon version:
LBRY App version:
LBRY Installation ID:
Operating system:

Anything Else

Screenshots

Here's an example where it fails to connect to x4 and then doesn't try any other servers. I think this is a high priority.
2019-06-19 05:24:34,611 ERROR    torba.client.basenetwork:89: Connecting to lbryumx4.lbry.com:50001 raised an exception:
Traceback (most recent call last):
  File "/data/user/0/io.lbry.browser/files/app/crystax_python/site-packages/torba/client/basenetwork.py", line 81, in __probe
    await client.create_connection(timeout)
  File "/data/user/0/io.lbry.browser/files/app/crystax_python/site-packages/torba/client/basenetwork.py", line 42, in create_connection
    await asyncio.wait_for(connector.create_connection(), timeout=timeout)
  File "/data/user/0/io.lbry.browser/files/app/crystax_python/stdlib.zip/asyncio/tasks.py", line 416, in wait_for
    return fut.result()
  File "/data/user/0/io.lbry.browser/files/app/crystax_python/site-packages/torba/rpc/session.py", line 60, in create_connection
    self.session_factory, self.host, self.port, **self.kwargs)
  File "/data/user/0/io.lbry.browser/files/app/crystax_python/stdlib.zip/asyncio/base_events.py", line 948, in create_connection
    raise exceptions[0]
  File "/data/user/0/io.lbry.browser/files/app/crystax_python/stdlib.zip/asyncio/base_events.py", line 935, in create_connection
    await self.sock_connect(sock, address)
  File "/data/user/0/io.lbry.browser/files/app/crystax_python/stdlib.zip/asyncio/selector_events.py", line 475, in sock_connect
    return await fut
  File "/data/user/0/io.lbry.browser/files/app/crystax_python/stdlib.zip/asyncio/selector_events.py", line 505, in _sock_connect_cb
    raise OSError(err, f'Connect call failed {address}')
OSError: [Errno 113] Connect call failed ('<IP_ADDRESS>', 50001)
2019-06-19 05:24:34,684 ERROR    torba.client.basenetwork:89: Connecting to lbryumx4.lbry.com:50001 raised an exception:
Traceback (most recent call last):
  File "/data/user/0/io.lbry.browser/files/app/crystax_python/site-packages/torba/client/basenetwork.py", line 81, in __probe
    await client.create_connection(timeout)
  File "/data/user/0/io.lbry.browser/files/app/crystax_python/site-packages/torba/client/basenetwork.py", line 42, in create_connection
    await asyncio.wait_for(connector.create_connection(), timeout=timeout)
  File "/data/user/0/io.lbry.browser/files/app/crystax_python/stdlib.zip/asyncio/tasks.py", line 416, in wait_for
    return fut.result()
  File "/data/user/0/io.lbry.browser/files/app/crystax_python/site-packages/torba/rpc/session.py", line 60, in create_connection
    self.session_factory, self.host, self.port, **self.kwargs)
  File "/data/user/0/io.lbry.browser/files/app/crystax_python/stdlib.zip/asyncio/base_events.py", line 948, in create_connection
    raise exceptions[0]
  File "/data/user/0/io.lbry.browser/files/app/crystax_python/stdlib.zip/asyncio/base_events.py", line 935, in create_connection
    await self.sock_connect(sock, address)
  File "/data/user/0/io.lbry.browser/files/app/crystax_python/stdlib.zip/asyncio/selector_events.py", line 475, in sock_connect
    return await fut
  File "/data/user/0/io.lbry.browser/files/app/crystax_python/stdlib.zip/asyncio/selector_events.py", line 505, in _sock_connect_cb
    raise OSError(err, f'Connect call failed {address}')
OSError: [Errno 113] Connect call failed ('<IP_ADDRESS>', 50001)
2019-06-19 05:24:35,098 INFO     lbrynet.extras.daemon.Daemon:815: Get version info: {"processor": "", "python_version": "3.7.1", "platform": "Android 9 (API 28)", "os_release": "4.14.83-15930013", "os_system": "android", "lbrynet_version": "0.37.4", "torba_version": "0.5.4a0", "build": "release"}
2019-06-19 05:24:35,714 ERROR    torba.client.basenetwork:89: Connecting to lbryumx4.lbry.com:50001 raised an exception:
Traceback (most recent call last):
  File "/data/user/0/io.lbry.browser/files/app/crystax_python/site-packages/torba/client/basenetwork.py", line 81, in __probe
    await client.create_connection(timeout)
  File "/data/user/0/io.lbry.browser/files/app/crystax_python/site-packages/torba/client/basenetwork.py", line 42, in create_connection
    await asyncio.wait_for(connector.create_connection(), timeout=timeout)
  File "/data/user/0/io.lbry.browser/files/app/crystax_python/stdlib.zip/asyncio/tasks.py", line 416, in wait_for
    return fut.result()
  File "/data/user/0/io.lbry.browser/files/app/crystax_python/site-packages/torba/rpc/session.py", line 60, in create_connection
    self.session_factory, self.host, self.port, **self.kwargs)
  File "/data/user/0/io.lbry.browser/files/app/crystax_python/stdlib.zip/asyncio/base_events.py", line 948, in create_connection
    raise exceptions[0]
  File "/data/user/0/io.lbry.browser/files/app/crystax_python/stdlib.zip/asyncio/base_events.py", line 935, in create_connection
    await self.sock_connect(sock, address)
  File "/data/user/0/io.lbry.browser/files/app/crystax_python/stdlib.zip/asyncio/selector_events.py", line 475, in sock_connect
    return await fut
  File "/data/user/0/io.lbry.browser/files/app/crystax_python/stdlib.zip/asyncio/selector_events.py", line 505, in _sock_connect_cb
    raise OSError(err, f'Connect call failed {address}')
OSError: [Errno 113] Connect call failed ('<IP_ADDRESS>', 50001)```

Another user ran into something similar, notice no accounts are synced even though it connects:
2019-06-20 20:28:32,652 INFO     torba.client.basedatabase:189: connecting to database: /Users/georgedangil/Library/Application Support/LBRY/lbrynet.sqlite
2019-06-20 20:28:32,652 INFO     lbrynet.extras.daemon.exchange_rate_manager:212: Starting exchange rate manager
2019-06-20 20:28:32,671 INFO     lbrynet.extras.daemon.Daemon:815: Get version info: {"processor": "i386", "python_version": "3.7.3", "platform": "Darwin-18.6.0-x86_64-i386-64bit", "os_release": "18.6.0", "os_system": "Darwin", "lbrynet_version": "0.37.5", "torba_version": "0.5.4a0", "build": "release"}
2019-06-20 20:28:33,724 INFO     torba.client.basenetwork:108: Successfully connected to SPV wallet server: lbryumx2.lbry.com:50001
2019-06-20 20:28:36,207 INFO     lbrynet.extras.daemon.Components:194: remote height: 587380, local height: 0
2019-06-20 20:28:47,715 WARNING  lbrynet.extras.daemon.Components:502: upnp discovery failed: M-SEARCH for <IP_ADDRESS>:1900 timed out
2019-06-20 20:28:47,716 WARNING  lbrynet.extras.daemon.Components:516: unable to get external ip from UPnP, checking lbry.com fallback
2019-06-20 20:28:50,089 ERROR    lbrynet.extras.daemon.Components:581: failed to setup upnp
2019-06-20 20:33:36,572 ERROR    lbrynet.extras.daemon.Components:232: failed to fetch headers from s3:
2019-06-20 20:33:36,575 INFO     lbrynet.extras.daemon.Components:266: Starting torba wallet
2019-06-20 20:33:36,576 INFO     lbrynet.wallet.manager:153: Wallet at /Users/georgedangil/.lbryum/wallets/default_wallet is empty, generating a default account.
2019-06-20 20:33:36,728 INFO     lbrynet.extras.daemon.Components:345: start the dht
2019-06-20 20:33:36,729 INFO     lbrynet.extras.daemon.Components:370: Started the dht
2019-06-20 20:33:36,730 INFO     torba.client.basedatabase:189: connecting to database: /Users/georgedangil/.lbryum/lbc_mainnet/blockchain.db
2019-06-20 20:33:36,731 INFO     lbrynet.dht.node:118: DHT node listening on UDP <IP_ADDRESS>:4444
2019-06-20 20:33:39,100 INFO     torba.client.basenetwork:108: Successfully connected to SPV wallet server: lbryumx4.lbry.com:50001
2019-06-20 20:33:39,101 INFO     torba.client.baseledger:247: Subscribing and updating accounts.
2019-06-20 20:33:43,410 INFO     lbrynet.dht.protocol.routing_table:289: join buckets 2
2019-06-20 20:33:43,411 INFO     lbrynet.dht.protocol.routing_table:289: join buckets 1
2019-06-20 20:33:51,525 INFO     lbrynet.dht.node:158: Joined DHT, 13 peers known in 3 buckets```

Believe this is fixed in 0.38


Different LSP servers for different projects

I have pyright defined as my Python LSP, but I want to use pylsp instead on some projects.
Pyright is currently installed using mason-lspconfig.
How can I make this work?

The second option resembles what I want, but it means that I need to add a .nvim.lua file to every Python project, right?
Is there a way to have logic like "if there's no .nvim.lua, automatically use pyright"? Or to enable pyright by default but disable it from a local .nvim.lua before setting up pylsp?


F-Droid description: also mention EteSync

Hey, I'm the lead dev of EteSync. I would love to add EteSync to the list of supported apps on the F-Droid (and Google Play?) description if fine by you.
Here's the ticket on f-droid: https://gitlab.com/fdroid/fdroiddata/-/merge_requests/7666
Thanks!

Just following up on this. @dmfs, would that be OK?

Hey @dmfs, just following up.

Sorry, I missed that. Fine by me. I just gave it a :+1: .

Great, thanks!


Stencil

Here's a bit of hacking I did to start reducing network chatter. This uses a cached "stencil" (a set of ranges with hover data) for each text document and returns undefined quickly if the given position is not in the stencil. This adds a blocking call to the first DefinitionAndHover request to every document.
Remaining tasks:

[x] Add limit to stencil cache
[x] Update tests (if failing), add tests (if uncovered)
[ ] Update combined providers to not make search requests for documents with LSIF data

That third task must be completed in order for network chatter to be reduced.

I added stencil checks in refs and doc highlights. Does that complete the task "Update combined providers to not make search requests for documents with LSIF data"?


Add provider pre-fetching documentation

Clearly document that implicit fetching is slower when using providers, and explain prefetching. Added to crypto.pod and migration_guide.pod links to it.
Add a link to EVP_default_properties_enable_fips() in crypto.pod.

Checklist

[x] documentation is added or updated
[ ] tests are added or updated

Added a bit more to the migration guide..

Shouldn't this also be documented, or linked, in the EVP_sha256 etc man pages?
Yes, all of them.

Shouldn't this also be documented, or linked, in the EVP_sha256 etc man pages? Yes, all of them.

Linking would be the reasonable choice...  and yeah, a small NOTES section where the performance issue is mentioned, with a link to the documentation made here, that wouldn't be a bad idea.

Would this kind of thing be sufficient (before I go adding it all over the place)?
=head1 NOTES

Applications should be aware of the performance implications of
using this function multiple times and should consider using
L<EVP_MD_fetch(3)> instead.
See L<crypto(7)/Performance> for further information.

Suggestions in bold:

Applications should be aware of the negative performance implications of
calling this function multiple times and should consider using
L<EVP_MD_fetch(3)> instead.

ChatGPT notwithstanding, maybe "Developers should be aware" as applications aren't sentient yet.

Thanks for the suggestions..

links added..

Side note: we might want to make a similar documentation change to discuss SSL_CTX and how it is used to cache prefetched algorithms. Therefore you should avoid using a single SSL_CTX per connection.

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

Merged.


🍒 Cherry pick PR #10239 to staging 🍒

🍒 Cherry pick https://github.com/Expensify/App/pull/10239 to staging 🍒

This pull request has merge conflicts and can not be automatically merged. :disappointed:
Please manually resolve the conflicts, push your changes, and then request another reviewer to review and merge.
Important: There may be conflicts that GitHub is not able to detect, so please carefully review this pull request before approving.

🚀 Cherry-picked to staging by @roryabraham in version: 1.1.88-6 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Cherry-picked to staging by @roryabraham in version: 1.1.88-6 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.


Working on 4489 : 34880 keyboard (3x3 )

Hi, i try to works on the 4489 : 34880 keyboard .
An 3x3 keyboard with 3 knobs
This one ->
https://www.amazon.fr/dp/B0BY2W7MGN/ref=sbl_dpx_fr-pc-accessories-keyboards_B0C37H1G8C_0
The first probleme was an "busy error"
Error: Resource busy
So i find a solution, i use the set_auto_detach_kernel_driver function that "free" the keyboard .  Doc
debug!("Auto detach kernel driver from kernel");
handle.set_auto_detach_kernel_driver(true);
debug!("Claim the device");
handle.claim_interface(intf.number())?;
debug!("interface is claimed");

So now, it pass, but it crash just after when i want to send the first data
        debug!("New keyboard, sending first info");
        keyboard.buf[0] = 0x03;
        keyboard.send([0, 0, 0, 0, 0, 0, 0, 0])?; // <- crash !
        debug!("First info are send");

I am a bad developper and i don't know rust.
Secondly, i don't have window machine, so i will negotiate with my girlfriend to install wireshark on her computer to get this keyboard data ! (That's more difficult than rust !)
So if anyone can help, in any case or by giving me the wireshard dump, it help a lot  !

Can you provide any details about the crash?

Sure, i add some "debug"
sudo RUST_BACKTRACE=1 RUST_LOG=debug ./target/debug/ch57x-keyboard-tool --vendor-id 4489 --product-id 34880 upload < ~/Documents/dot-stuff/small-keyboard/3x3-keyboard-mapping.yaml
[2023-09-26T06:42:03Z DEBUG ch57x_keyboard_tool] Find Device function
[2023-09-26T06:42:03Z DEBUG ch57x_keyboard_tool] Bus 006 Device 003 ID 05c6:f000
[2023-09-26T06:42:03Z DEBUG ch57x_keyboard_tool] Bus 006 Device 002 ID 05e3:0626
[2023-09-26T06:42:03Z DEBUG ch57x_keyboard_tool] Bus 006 Device 001 ID 1d6b:0003
[2023-09-26T06:42:03Z DEBUG ch57x_keyboard_tool] Bus 005 Device 004 ID 2357:0604
[2023-09-26T06:42:03Z DEBUG ch57x_keyboard_tool] Bus 005 Device 005 ID 046d:085e
[2023-09-26T06:42:03Z DEBUG ch57x_keyboard_tool] Bus 005 Device 003 ID 05e3:0610
[2023-09-26T06:42:03Z DEBUG ch57x_keyboard_tool] Bus 005 Device 002 ID 046d:c07e
[2023-09-26T06:42:03Z DEBUG ch57x_keyboard_tool] Bus 005 Device 001 ID 1d6b:0002
[2023-09-26T06:42:03Z DEBUG ch57x_keyboard_tool] Bus 004 Device 001 ID 1d6b:0003
[2023-09-26T06:42:03Z DEBUG ch57x_keyboard_tool] Bus 003 Device 003 ID 0b05:18f3
[2023-09-26T06:42:03Z DEBUG ch57x_keyboard_tool] Bus 003 Device 004 ID 1189:8840
[2023-09-26T06:42:03Z DEBUG ch57x_keyboard_tool] USB Device found !
[2023-09-26T06:42:03Z DEBUG ch57x_keyboard_tool] Bus 003 Device 001 ID 1d6b:0002
[2023-09-26T06:42:03Z DEBUG ch57x_keyboard_tool] Bus 002 Device 001 ID 1d6b:0003
[2023-09-26T06:42:03Z DEBUG ch57x_keyboard_tool] Bus 001 Device 005 ID 3297:1969
[2023-09-26T06:42:03Z DEBUG ch57x_keyboard_tool] Bus 001 Device 004 ID 0fd9:006d
[2023-09-26T06:42:03Z DEBUG ch57x_keyboard_tool] Bus 001 Device 003 ID 0951:16a4
[2023-09-26T06:42:03Z DEBUG ch57x_keyboard_tool] Bus 001 Device 002 ID 1a40:0101
[2023-09-26T06:42:03Z DEBUG ch57x_keyboard_tool] Bus 001 Device 001 ID 1d6b:0002
[2023-09-26T06:42:03Z DEBUG ch57x_keyboard_tool] Find USB devices
[2023-09-26T06:42:03Z DEBUG ch57x_keyboard_tool] Open the device
[2023-09-26T06:42:03Z DEBUG ch57x_keyboard_tool] Device is open
[2023-09-26T06:42:03Z DEBUG ch57x_keyboard_tool] Auto detach kernel driver from kernel
[2023-09-26T06:42:03Z DEBUG ch57x_keyboard_tool] Claim the device
[2023-09-26T06:42:04Z DEBUG ch57x_keyboard_tool] interface is claimed
[2023-09-26T06:42:04Z DEBUG ch57x_keyboard_tool] init keyboard
[2023-09-26T06:42:04Z DEBUG ch57x_keyboard_tool::keyboard] New keyboard, sending first info
[2023-09-26T06:42:04Z DEBUG ch57x_keyboard_tool::keyboard] send: [03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00]
[2023-09-26T06:42:04Z DEBUG ch57x_keyboard_tool::keyboard] Written buff in keyboard :
Error: init keyboard

Caused by:
    Invalid parameter

ok , i try to tests with the last version of code.
i know the bug is at line 92 of the keyboard file.
`let written = self.handle.write_interrupt(self.endpoint, &self.buf, DEFAULT_TIMEOUT)?;```
But i am too noob in rust to get the error message.
perhaps, it pass in the next line ( ensure!(written == self.buf.len(), "not all data written"); ) , but i can't get the "not all data written" and got only the Error: init keyboard...
my output (with more debug! ) :
sudo RUST_BACKTRACE=1 RUST_LOG=debug ./target/debug/ch57x-keyboard-tool --vendor-id 4489 --product-id 34880 upload < ~/Documents/dot-stuff/small-keyboard/3x3-keyboard-mapping.yaml
[sudo] Mot de passe de zobi8225 :
[2023-10-23T18:38:30Z DEBUG ch57x_keyboard_tool] [main.rs] Upload
[2023-10-23T18:38:30Z DEBUG ch57x_keyboard_tool] [main.rs] Open Keyboard
[2023-10-23T18:38:30Z DEBUG ch57x_keyboard_tool] [main.rs] find device
[2023-10-23T18:38:30Z DEBUG ch57x_keyboard_tool] Bus 006 Device 003 ID 046d:085e
[2023-10-23T18:38:30Z DEBUG ch57x_keyboard_tool] Bus 006 Device 002 ID 05e3:0626
[2023-10-23T18:38:30Z DEBUG ch57x_keyboard_tool] Bus 006 Device 001 ID 1d6b:0003
[2023-10-23T18:38:30Z DEBUG ch57x_keyboard_tool] Bus 005 Device 004 ID 2357:0604
[2023-10-23T18:38:30Z DEBUG ch57x_keyboard_tool] Bus 005 Device 003 ID 05e3:0610
[2023-10-23T18:38:30Z DEBUG ch57x_keyboard_tool] Bus 005 Device 002 ID 046d:c07e
[2023-10-23T18:38:30Z DEBUG ch57x_keyboard_tool] Bus 005 Device 001 ID 1d6b:0002
[2023-10-23T18:38:30Z DEBUG ch57x_keyboard_tool] Bus 004 Device 001 ID 1d6b:0003
[2023-10-23T18:38:30Z DEBUG ch57x_keyboard_tool] Bus 003 Device 002 ID 0b05:18f3
[2023-10-23T18:38:30Z DEBUG ch57x_keyboard_tool] Bus 003 Device 004 ID 1189:8840
[2023-10-23T18:38:30Z DEBUG ch57x_keyboard_tool] Bus 003 Device 001 ID 1d6b:0002
[2023-10-23T18:38:30Z DEBUG ch57x_keyboard_tool] Bus 002 Device 001 ID 1d6b:0003
[2023-10-23T18:38:30Z DEBUG ch57x_keyboard_tool] Bus 001 Device 005 ID 3297:1969
[2023-10-23T18:38:30Z DEBUG ch57x_keyboard_tool] Bus 001 Device 004 ID 0fd9:006d
[2023-10-23T18:38:30Z DEBUG ch57x_keyboard_tool] Bus 001 Device 003 ID 0951:16a4
[2023-10-23T18:38:30Z DEBUG ch57x_keyboard_tool] Bus 001 Device 002 ID 1a40:0101
[2023-10-23T18:38:30Z DEBUG ch57x_keyboard_tool] Bus 001 Device 001 ID 1d6b:0002
[2023-10-23T18:38:30Z DEBUG ch57x_keyboard_tool] [main.rs] Open the device
[2023-10-23T18:38:30Z DEBUG ch57x_keyboard_tool] [main.rs] Create a new Keyboard
[2023-10-23T18:38:30Z DEBUG ch57x_keyboard_tool::keyboard] [Keyboard.rs] Init new keyboard
[2023-10-23T18:38:30Z DEBUG ch57x_keyboard_tool::keyboard] [Keyboard.rs] send [0, 0, 0, 0...]
[2023-10-23T18:38:30Z DEBUG ch57x_keyboard_tool::keyboard] Endpoint: 130
[2023-10-23T18:38:30Z DEBUG ch57x_keyboard_tool::keyboard] Buf send: [03, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00]
Error: init keyboard

Caused by:
    Invalid parameter


git@github.com:Ranchero-Software/NetNewsWire.git

I'm closing this since it looks like it was opened on accident.


This might be updated to get data from the backend or be more complex as needed, but this is a good thing to have done already when we reach this point.


Infinite loading screen

I'm getting this bug where the game is just stuck on the loading screen with prepatcher installed. I press launch, and the game opens the debug log and gets stuck. I waited 15 minutes, and it doesn't enter the main menu.
Here is the player.log with -verbose command enabled.
https://pastebin.com/TCuRE4Cc
many thanks.

Update:
I narrowed the issue down to RimForge. As soon as I removed the mod from the modlist, the game ran fine with prepatcher enabled.

Yeah, right now when Prepatcher encounters an error during very early loading it just goes to the error console. I should probably change that

I pushed a fix to Steam 66e01b


chore(CONTRIBUTING): update guide to use master instead of `develop…

…` branch
We've decided to have a single branch that is now master, no longer develop

CI should be happy since https://github.com/embark-framework/embark/commit/af1bc90accb208a0970dff8febbd34b221716746 has landed
Can we retrigger CI?


Fix focal point data being localized

When working with an instance where USE_L10N is True, focal point data over 1000 is being localized to "1 000" for example, leading to focal-point-chooser.js making math operation resulting in 0. The focal area is then not displayed correctly.
Fixed that by using unlocalize filter.

Thanks @SebCorbin!
Could you add a test for this, please? Looks like there's a similar one here that can be used as a reference: https://github.com/wagtail/wagtail/blob/14f3d4607f01300a402ccf1ae93ba031c879fe21/wagtail/images/tests/test_admin_views.py#L1263-L1272

Merged in https://github.com/wagtail/wagtail/commit/966f2df4ce681242315f63c1e50a19a0f409d0e4 - thanks!


Custom Mutations can throw errors due to double-resolution of data

Let's say I have a custom mutation setup, like so:
keystone.createList('Post', {
  fields: {
    title: { type: Text },
    publishedAt: { type: DateTime },
  },
  mutations: [
    {
      schema: 'relatedPosts(related_to: ID!): [Post]',
      resolver: async (obj, args, context, info, { query }) => {
        // ... Some logic to determine the related items
        const relatedIds = /* ... */;

        const { allPosts } = await query(
          `
            query getPosts($where: PostWhereInput!) {
              allPosts(where: $where) {
                id
                title
              }
            }
          `,
          { variables: { where: { id_in: relatedIds } } }
        );

        return allPosts;
      }
    }
  ],
});

This works fine; the client gets an array of Post items, each with { id, title}.
However, if we modify that query to also fetch the publishedAt, we get an error:
keystone.createList('Post', {
  fields: {
    title: { type: Text },
    publishedAt: { type: DateTime },
  },
  mutations: [
    {
      schema: 'relatedPosts(related_to: ID!): [Post]',
      resolver: async (obj, args, context, info, { query }) => {
        // ... Some logic to determine the related items
        const relatedIds = /* ... */;

        const { allPosts } = await query(
          `
            query getPosts($where: PostWhereInput!) {
              allPosts(where: $where) {
                id
                title
                publishedAt
              }
            }
          `,
          { variables: { where: { id_in: relatedIds } } }
        );

        return allPosts;
      }
    }
  ],
});

Error:
Cannot call function `.toISOString()` of undefined

🤯
Turns out this is because the data we are returning from allPosts looks like this:
[
  { id: "...", title: "...", publishedAt: "2019-08-09T02:40:25.964Z" },
  { id: "...", title: "...", publishedAt: "2019-03-01T02:30:25.964Z" },
  { id: "...", title: "...", publishedAt: "2019-07-09T02:50:25.964Z" },
  { id: "...", title: "...", publishedAt: "2019-01-09T02:43:25.964Z" },
]

And we're returning that from our resolver. But GraphQL isn't done with the data yet! It sees the field publishedAt, and says "A-ha! I know that field, and I know it has a resolver (from the DateTime field type), so I'm going to execute that resolver, and pass in the data "2019-08-09T02:40:25.964Z"".
The DateTime field resolver looks like this:
  get gqlOutputFieldResolvers() {
    return { [`${this.path}`]: item => item[this.path] && item[this.path].toISOString() };
  }

Which tries to execute: "2019-08-09T02:40:25.964Z".toISOString(), and hence the error.
The same problem arises for Relationships, etc.
I have no idea how to work around this :/

@jesstelford here is a diff of what I tried and things worked like it should, do not see any errors or exception thrown at any time for this.
https://github.com/keystonejs/keystone-5/compare/master...gautamsi:issue%231473?expand=1
I only had to change the de-structuring properly. I tried two scenario.
 const { data: { allPosts } } = await query(.

@jesstelford is this still an issue?

@jesstelford  is this still relevant?
this feature is replaced in #1532.

Yep, still an issue even with keystone.extendGraphQLSchema() :(


Updating test for full automated test

Change Log:

test for arm64

Problem:

Solution:

Issue Tracking: #

redo


README / and /framework

Context
We need to add the relevant social buttons to the readme and link them:

npm (only root)
github (only framework)
slack
linkedin

Remove the slack section from the readme once the button has been added.

Hi @Idrinth. I would like to take this issue.

Hi @Idrinth. I would like to take this issue.

thanks, go right ahead!


feat: start sitemap

:tada: This PR is included in version 1.0.0-next.1 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Could not compile used unit SvgTypes

Please add to your installation guide the need to add library path to the following folders
1- Source folder
2- svg folder
I spent 2 days trying to figure out how to solve the problem of could not compile use unit SVGTypes

Done!


Adding DragonBoard support to SPI Display sample

Hi @apdutta, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

looks good


Readme has incorrect package name

In the readme Installation instructions it says:

npm i plugin-payload-cloud-storage
yarn add plugin-payload-cloud-storage

The repo is payload-plugin-cloud-storage not plugin-payload-cloud-storage.

Another issue in the readme:
In the example code for the adapter:
endpointUrL should be endpointUrl. The uppercase L appears to be a mistake.


Typescript + SSR after build throws error: "loadable: SSR requires @loadable/babel, please install it"

I've scoped down my project into the following: https://github.com/krishnaglick/prod-build-test
Running the server with yarn start works fine, but if I build and run (yarn serve) then the error shows up. Any insight would be appreciated as to why things are working correctly within typescript, but not built-javascript.

having same issue

Hello @krishnaglick, thanks for the report. Unfortunately I am not very good with Typescript stuff. Maybe @theKashey has an idea?

Just chiming in again, still encountering the issue.
If I run the app in the typescript it works fine. The issue arises when I try to boostrap the transpiled code.

👀

In my razzle setup, i only use LoadablePlugin in web target, not node target:
if (!isServer) {
      const filename = path.resolve(__dirname, 'build')
      appConfig.plugins = [
        ...appConfig.plugins,
        new LoadableWebpackPlugin({
          outputAsset: false,
          writeToDisk: { filename },
        }),
      ]
    }

This is copy and pasted from the razzle example. You might try out this.

We're doing server-side rendering so I don't think that'll help us.
Is there some logic in the plugin that prevents functionality if you're taking actions within a dist folder or something? I really am at my wits end as to why this code will function fine through typescript but not javascript.

I have the same issue. I tried to combine TypeScript and Babel loaders (as showed here - https://github.com/smooth-code/loadable-components/issues/173), but I'm still getting the same error. Does anyone succeeded in launch SSR in TypeScript?

@mciastek Are you having issues running the app with Typescript + Babel, or Transpiled Typescript to Javascript, and babel?

I have issue both with only babel-loader (babel-typescript preset) and with ts-loader + babel-loader.

If you look at my sample repo, the app should be running fine with
typescript.
It's post-transpile that's the issue. Looking through it might help ya
On Wed, Mar 27, 2019, 1:20 PM Mirosław Ciastek<EMAIL_ADDRESS>wrote:

I have issue both with only babel-loader (babel-typescript preset) and
with ts-loader + babel-loader.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/smooth-code/loadable-components/issues/263#issuecomment-477264104,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEvNDutsTjPA5LjgmC7k6xMgUuPOgNV_ks5va6hLgaJpZM4boou_
.

@krishnaglick I launched you demo app and indeed SSR in TypeScript doesn't work with loadable-components.
@theKashey have you succeeded in running SSR written in TypeScript with loadable-components? I tried to use you solution, so compile code with ts-loader and then transpile it with babel-loader, but it didn't work. I still get the same error "loadable: SSR requires @loadable/babel, please install it".

I was able to get this issue solved by setting JSX within my server's tsconfig build to preserve, and targeting esnext. I'm going to close this now but pings are welcome if someone gets stuck along a similar vein.

Hi guys, I am using razzle for SSR using typescript and facing similar issue. would like to check how did you manage to hook tsconfig.json file separately for server and for client. Mine project has one and I keep it on root of a project. Please suggest.

I managed to solve the issue. The problem was my wrapper for loadable function. In order to fix this issue I needed to add Magic Comment.

@mciastek - I tried using magic comments and they don't work for me. Here is my code -
`
import loadable from '@loadable/component';
const loadHomePg = /* #LOADABLE */ () => import('containers/HomePage');
export const HomePage = loadable(loadHomePg);
`

You don't use the good comment, see https://www.smooth-code.com/open-source/loadable-components/docs/babel-plugin/

I have the same issue while wrap @loadable-component as a function call, like so:
// Loadable component
import React from 'react'
import loadable from '@loadable/component'

export default loader => loadable(loader, { fallback: <p> Loading...</p> })

and call it from routes definition:
// routes.js
import Loadable from 'components/Loadable'

const Index = Loadable(() => import('@/pages/Index'))

after remove this wrap and import @loadbale/component directly, errors was gone:
// routes.js
import loadable from '@loadbale/component'

const Index = loadable(() => import('@/pages/Index'))

Hope to be helpful :)

I was facing the same issue. I added typescript support on top of server-side-rendering example. hope it helps someone. Server Side Rendering with TS


Custom blockstate support

I have a texturepack where i have a different texture for each noteblock blockstate, is it possible to add atlas support for that (or if there already is support for that how do i use it)?
ps: awesome project

There's no support for this currently but it can be added!

that would be nice (even if its just for noteblocks and mushroom blocks cuz they have the most custom model data)


Bumping up dependencies

Bumping up dependencies to ensure that it works with Raspberry PI and Pimoroni Enviro mini board

Thank you for the contribution.
I can release a new minor version as soon as the checks pass.
If you have example of how you use the crate I would love to see it.

Thank you once again for your contribution!
I will fix the MSRV before releasing

Super, thank you. The project is here https://github.com/dawid-nowak/all_in_one_enviro_mini_rs. Your library greatly helped to make it much better looking :)

Great to hear that and thank you for sharing your project.
I was keen to see how you're using the crate.
Btw is there are reason you manually go over the pixel and drawing them on the display here?
You could use the canvas.draw(disp) directly iirc
https://github.com/dawid-nowak/all_in_one_enviro_mini_rs/blob/bf87fdee6c7631dadbed096911100356e1fd7664/src/display.rs#L100-L102

Yeah, draw uses target.draw_iter(pixels_iter) which turned out to be much slower than disp.fill_contiguous(&bb, pixels_iter)

Hmm... Ok, that's great to know, I can make some tests and benchmark the result to improve the speed. I opened  #13 for this.
Thanks!

I don't think it is the problem with canvas but more with a display driver which implements DrawTarget trait.  For example, this driver only implements draw_iter which only updates the buffer and one still needs to flush the buffer to send the data to the display.
Happy to chat on discord dawid.nowak if you want to discuss further.


LIVY-359. Cache livy logs as config driven

Changes Made:

Added logs cacheing as config driven.
Fixed adding driver process logs livy logs for local and client mode in interactive mode.

Codecov Report

Merging #14 into master will decrease coverage by <.01%.
The diff coverage is 78.26%.

@@             Coverage Diff              @@
##             master      #14      +/-   ##
============================================
- Coverage     70.48%   70.47%   -0.01%
  Complexity      730      730
============================================
  Files            96       96
  Lines          5177     5179       +2
  Branches        781      781
============================================
+ Hits           3649     3650       +1
  Misses         1007     1007
- Partials        521      522       +1

Impacted Files
Coverage Δ
Complexity Δ

...ain/scala/org/apache/livy/utils/SparkProcApp.scala
38.88% <100%> (ø)
5 <1> (ø)
:arrow_down:

...n/scala/org/apache/livy/utils/LivySparkUtils.scala
69.86% <100%> (ø)
0 <0> (ø)
:arrow_down:

...la/org/apache/livy/utils/SparkProcessBuilder.scala
57.77% <100%> (ø)
12 <0> (ø)
:arrow_down:

...rver/src/main/scala/org/apache/livy/LivyConf.scala
94.4% <100%> (+0.04%)
16 <0> (ø)
:arrow_down:

...e/livy/server/interactive/InteractiveSession.scala
62.93% <33.33%> (-0.88%)
42 <1> (ø)

...la/org/apache/livy/utils/LineBufferedProcess.scala
73.33% <66.66%> (ø)
7 <1> (ø)
:arrow_down:

...ala/org/apache/livy/utils/LineBufferedStream.scala
82.5% <84.61%> (+4.12%)
5 <2> (ø)
:arrow_down:

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 624bb07...53f3d09. Read the comment docs.

LGTM. Merging to master.


Add Jonathan's portfolio

Codecov Report

Merging #19 (0415edf) into master (6bfe375) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #19   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

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 6bfe375...0415edf. Read the comment docs.


Angel Valant Pixart Homework

Completeness 5/5
Comfort 4.5/5
After meeting for office hours was able to fix my homework so that it worked properly.

👍


connect ETIMEDOUT <IP_ADDRESS>:443

Describe the bug
 ⛔ ERRORS
   ERROR:
   {"message":"request to https://api.openai.com/v1/chat/completions failed, reason: connect ETIMEDOUT <IP_ADDRESS>:443","type":"system","errno":"ETIMEDOUT","code":"ETIMEDOUT"}

To Reproduce
Input some sentences normally, start the trump character and use OpenAI as model provider.
Expected behavior
The API can been successfully called on Apipost tools

Screenshots

Additional context

@cxp-13 seems like your API quota limit for Open ai api has been exceeded.
try recharging this to make it work https://platform.openai.com/


RapidPro chatbot channel - 500 from IoGT when RapidPro sends message

Currently, we are using "IntegerField" for rapidpro_message_id in the Message model, it can only hold numbers between this range -2,147,483,647 to 2,147,483,647.
An error is raised when we try to put a value outside this range.
Use "BigIntegerField" instead which has a lot more range -9223372036854775808 to +9223372036854775807. And this is the default in newer versions of Django for primary keys.

The message IDs that RapidPro sends back to IoGT are much larger than can fit in the IoGT database. The solution is to migrate the message ID field from IntegerField to BigIntegerField.