fos streaming limit user 4 with more not work

i hav test fos streaming  i cant use 5 or mor client user in that panel the fos streaming not work
cant acces in the panel .5 user conected work fine   when the 6 user is conected the fos panel is blocked not work  the the 6 user cant conected

Hi Spektatorbord,
Soon i will update the code.

its really not work more than 4 or 5 conection he blocked the  the admin panel not work
the listen port server 8000 not work,the apache server work but nginx 8000 listen port is block,,,but the 4 or 5 conection work abaut 30 miut and after go anything in block crash,,you restart the server to rapir that,,,when you reconect the 4 client or 5 client user,,that 4 or 5 conection work fine but you cant use admin panel you cant conect another user the port 8000 not acept conections,,,,that is  a litle problem for the best iptv panel at the momet please repair that thanky so mutch team fos streaming

wow i hav test the fos treaming with 4 core processor and  16 giga ram   the same problem fos streaming not work with mor 5 user conected on the server...dont6 work panel control dont work nathing,cant conect the 6 user ,
the conlusion when the 5st user conected on the fost streaming ,the panel control blocked,not work the port 8000 not work the apasche port80 work but fos streaming is blocke ,,in the same moment  the 5 work stream fine but the fos panel is blocket to receiver another operation.,.....its bug its simply bug...can you repair,,thanky

this is all down the php-fpm and the nginx workers
On 14 February 2017 at 12:17, spektatorbord<EMAIL_ADDRESS>wrote:

wow i hav test the fos treaming with 4 core processor and 16 giga ram the
same problem fos streaming not work with mor 5 user conected on the
server...dont6 work panel control dont work nathing,cant conect the 6 user ,
the conlusion when the 5st user conected on the fost streaming ,the panel
control blocked,not work the port 8000 not work the apasche port80 work but
fos streaming is blocke ,,in the same moment the 5 work stream fine but the
fos panel is blocket to receiver another operation.,.....its bug its simply
bug...can you repair,,thanky
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/zgelici/FOS-Streaming-v1/issues/68#issuecomment-279692587,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGjAQabrWgGfjGBaK5vIFtBOH_TnvzhTks5rcZtWgaJpZM4L_T2h
.

now what can we do?the fos striming not work with mor 5 conection user ,the user panel  not work,
is limit>?

A patch shall be uploaded when the lead developer gets online the patch has
been done and tested already
On 14 Feb 2017 14:48, "spektatorbord"<EMAIL_ADDRESS>wrote:

now what can we do?the fos striming not work with mor 5 conection user
,the user panel not work,
is limit>?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/zgelici/FOS-Streaming-v1/issues/68#issuecomment-279726866,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGjAQf2f_JSN-TV_Iu-WjGG76SB7wiJ3ks5rcb6ggaJpZM4L_T2h
.

link?

sorry what is the logic,,,,iptv admin panel to restream  5 user
sorry you create a panel iptv server limited,,in 2 years fos streaming life work with 5 user?

It's a bug within last release it's not affecting all users
On 14 Feb 2017 15:28, "spektatorbord"<EMAIL_ADDRESS>wrote:

sorry what is the logic,,,,iptv admin panel to restream 5 user
sorry you create a panel iptv server limited,,in 2 years fos streaming
life work with 5 user?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/zgelici/FOS-Streaming-v1/issues/68#issuecomment-279738966,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGjAQc7HfOQ66tsj1tnU3RSpBXZxg289ks5rccgPgaJpZM4L_T2h
.

i havent installl 30 google servers to test it,,the all server with fos panel old and v1   not work with mor 5 user ,,,the panel blocked .the port 8000 go in crasch,,,

Hello sentest,
do you have the patch?

Sent you the files earlier
On 14 Feb 2017 21:11, "zgelici"<EMAIL_ADDRESS>wrote:

Hello sentest,
do you have the patch?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/zgelici/FOS-Streaming-v1/issues/68#issuecomment-279837276,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGjAQcWfijIQFWymA7lyUmNtb15hHyPmks5rchiZgaJpZM4L_T2h
.

Can you resent it?
did you sent it from skype?

i did indeed
On 14 February 2017 at 21:16, zgelici<EMAIL_ADDRESS>wrote:

Can you resent it?
did you sent it from skype?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/zgelici/FOS-Streaming-v1/issues/68#issuecomment-279838351,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGjAQWPWNTDPM4HAEoo7K9LEWGHvfsWjks5rchmXgaJpZM4L_T2h
.

Can you sent me an message. i dont know your Skype username.

@sentest Thanks
@spektatorbordI: didnt test it:
Can you follow the next commands:

go to the fos-streaming path
git pull
php fix_conf_files.php

i dont know what is that git pull not work
fosstreaming havent problem to work with 5 user+

idont understand that procedur
go to the fos-streaming path
git pull
php fix_conf_files.php

where is the path
?


selections_for_mark incorrect URL creation

This endpoint fails to make a successful call to our API as it sends the request to the following URLs:

/selections_for_market/{fixture_id}/{market_type_id}/top_price_only - When top price has been requested
/selections_for_market/{fixture_id}/{market_type_id} - When top price hasn't been requested (also the default URL).

This is wrong and instead it should be true or false as follows:

/selections_for_market/{fixture_id}/{market_type_id}/true
/selections_for_market/{fixture_id}/{market_type_id}/false

Fixed as branch fix-issue-31 was merged into master.


Support web GCM encrypted payloads

Per https://developers.google.com/web/updates/2016/03/web-push-encryption?hl=en

Google wrote a golang library for this: https://github.com/GoogleChrome/push-encryption-go/tree/master/webpush


Changing subscription plan

Whilst implementing functionality for users to be able to change their subscription plan/quantity, we came across the following scenario:

A user has a yearly subscription and wants to downgrade into a monthly subscription (this should happen at the end of their current cycle since they agreed to pay for a year)
Using swapNextCycle, their subscription attribute next_plan is set for a monthly subscription and a new order item is scheduled for the end of their cycle.
This same user now wants to increase their subscription count (eg. from 1 to 2) which should happen immediately since this is considered an upgrade.

Problem: If we use the current functionality, a new cycle will start when upgrading their subscription count. This will cause the scheduled order item containing the next_plan to be removed.
When should the plan downgrade happen?

I know this is a pretty specific use case, but we wanted to see if maybe anybody else had come across this scenario and if there was a possible fix for this.
I will submit a PR if I find a possible and suitable implementation.

Hi @ignaciocunado ,
Thanks for sharing this. The use case makes sense. People change their minds all the time, especially subscription customers ;).

Problem: If we use the current functionality, a new cycle will start when upgrading their subscription count. This will cause the scheduled order item containing the next_plan to be removed.

We're you able to confirm the behavior you're describing? The next_plan is actually stored on the Subscription model, not on the scheduled OrderItem. If possible, could you provide a failing test?

/** @test */
    public function swapPlanThenCount()
    {
        $user = $this->getUserWithZeroBalance();
        $subscription = $this->getSubscriptionForUser($user);

        // Swap to new plan
        $subscription = $subscription->swapNextCycle('weekly-20-1')->fresh();
        $this->assertEquals('monthly-10-1', $subscription->plan);
        $this->assertEquals('weekly-20-1', $subscription->next_plan);
        $cycle_should_have_started_at = now()->subWeeks(2);
        $cycle_should_end_at = $cycle_should_have_started_at->copy()->addMonth();
        $new_order_item = $subscription->scheduledOrderItem;
        $this->assertCarbon($cycle_should_end_at, $new_order_item->process_at, 1); // based on previous plan's cycle
        $this->assertEquals(2200, $new_order_item->total);
        $this->assertEquals(200, $new_order_item->tax);
        $this->assertEquals('Twice as expensive monthly subscription', $new_order_item->description);
        Event::assertNotDispatched(SubscriptionPlanSwapped::class);

        // Increase subscription count
        $subscription = $subscription->incrementQuantity(1, false)->fresh();
        $this->assertEquals(2, $subscription->quantity);
        $new_order_item = $subscription->scheduledOrderItem;
        $this->assertNotNull($subscription->next_plan);
        $this->assertEquals($subscription->plan, 'monthly-10-1'); // Plan has not been updated
        $this->assertEquals(4400, $new_order_item->total); // Plan not updated on the scheduled order item (twice as before as quantity is doubled). First assertion that fails
        $this->assertEquals(400, $new_order_item->tax); // Same here
        $this->assertEquals('Twice as expensive monthly subscription', $new_order_item->description);
    }

This test shows that when updating the plan at the end of the cycle and then using incrementQuantity, a new orderItem is scheduled and processed with the same plan and the new quantity. Even though the next_plan attribute on the subscription model remains set, there are no scheduled order items for this new plan, so I guess it will never be changed?

So I guess that there are (at least) two options here with the current functionality.

If a function like restartCycleWithModifications is called which schedules a new order item at now() is called and the subscription object has the next_plan attribute set (meaning the plan should change for the next cycle), then we change the plan on this order item (immediately). This has flaws as a user could terminate a yearly subscription before the end of the cycle and get their money back (set next plan to a weekly subscription, change quantity and then cancel at the end of the week).
If a function like restartCycleWithModifications is called which schedules a new order item at now() is called and the subscription object has the next_plan attribute set (meaning the plan should change for the next cycle), then we change the plan for the next order item. This is also kind of bad. Say a user has a yearly subscription ending in February, and have set it to downgrade to a monthly one which will take effect in February. In January the user decides to increment their subscription quantity by 1. Then they would need to wait a whole other year to swap to a monthly subscription as the cycle restarts.

Again, pretty specific scenarios but they can happen.


adding datatype conversions is not java friendly

The typeMap in trait ModelConverter is not java friendly.  Need to expose a simple add method to avoid having to use the scala classes to add a value to a simple map

fixed in 1.5.x-M1


All in one docker ljnrepo/annotto 1.2.6 is not working as expected

Bug description
We retrieve and run the latest ljnrepo/annotto image as specified:
docker run --rm -d --name annotto -p 3000:3000 ljnrepo/annotto:latest

We can log in through http://localhost:3000/ and we get the following home listing existing projects:

Accessing any project by clicking on its name or on the related Annotate link yields to a never ending loader view with a An error occured notification.
To Reproduce
Steps to reproduce the behavior:

Go to http://localhost:3000
Sign in to the admin account, click on Sign In
Click on DEMO Zone and Text : CV - Extraction (for instance, or any another project link to project/id/)
See error

Expected behavior
We don't know yet what should happen here :wink:
Screenshots
N/A see previous sections
Desktop (please complete the following information):

OS: GNU/Linux Debian 11
Browser: Firefox 112.0b4 and chrome 110.0.5481.177 among others tested
Version: N/A

Additional context
No particular suspicious logs from docker logs...
Did I miss something (at keycloak level or something)?

@r3n4ud
There is indeed something missing in the configuration file. KEYCLOAK_ADMIN_CLI_SECRET was missing so Keycloak can make call to master realm to fetch all users correctly.
Next build will contain the correct token.

Tested today, seems to work as expected.
Thanks!


[FR] Rename RecognizeIdDocuments for RecognizeIdentityDocuments

After feedback from architects and in agreement with v-team and service team, we decided to rename RecognizeIdDocuments for RecognizeIdentityDocuments.
This change affects: src, tests, samples, and documentation.
Fixes: https://github.com/Azure/azure-sdk-for-net/issues/20686

/azp run net - formrecognizer - tests


fix: remove outdated note about image pull secret

Related issue
NA

Proposed Changes
This PR removes a note for a bug which was fixed last year: https://github.com/kyverno/kyverno/issues/4536.

Checklist

[x] I have read the contributing guidelines.
[x] I have inspected the website preview for accuracy.
[x] I have signed off my issue.

/cherry-pick release-1-12-0

@vishal-chdhry, would you please kindly manually cherry pick this to the release-1-12-0 branch as we have a slightly different directory structure with main?


Emojis not supported 😣

This is definitely doable if I can find a way to make it friendly with mono spacing


mbp400

Adds jsonPointer.ignoreDifferences for /spec/plugins to prevent argoCD reporting out of sync.
Sets default storageClass in values-development.yaml to gp2

FWIW in the future you need to remember to git pull before creating the branch to do a br. The commits here are already merged in main upstream I think?


Readme.md wget url and app in docker-compose

Hi. the wget command in readme.md is pulling html content, not the raw content.
The build command for app in docker-compose.yml is not needed. It is causing errors

Thanks for reporting!


Detox is not working with modals

🐛 Bug Report
When I add a "Card" inside a "Modal", Detox hangs. It is waiting something behind, probably an animation.
To Reproduce
when I set "visible" to true, detox stops working.
<Modal
            visible={visible}
            onBackdropPress={onDismiss}>
            <Card>
                <View testID={"dialog-container"}>
                            <Button
                                accessibilityLabel={"mybutton"}
                                onPress={onPress}>
                                mybutton
                            </Button>
</View></Card></Modal>

Expected behavior
No infinite animations when opening modals.
UI Kitten and Eva version

Package
Version

@eva-design/eva
2.0.0

@ui-kitten/components
5.0.0

Environment information
System:
    OS: macOS 10.15.6
    CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
  Binaries:
    Node: 14.4.0 - /usr/local/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.14.7 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.7, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
  IDEs:
    Android Studio: 4.0 AI-193.69<IP_ADDRESS>26763
    Xcode: 11.7/11E801a - /usr/bin/xcodebuild
  npmPackages:
    react: 16.13.1 => 16.13.1
    react-native: 0.63.2 => 0.63.2
  npmGlobalPackages:
    react-native-cli: 2.0.1

Seems to be a Detox issue according to the discussion in the issue you mentioned.


Test / Fix distributed trace across multiple AWS lambdas

Description
As a reference, the Python Agent team has a write up on what they needed to do to address this problem within the Python agent.
This topic came up as part of customer escalation, who was having some challenges with New Relic when using AWS API Gateway configured in HTTP mode which executes a lambda. For this customer, there are actually a chain of API Gateway (HTTP) → Lambda → API Gateway (HTTP) → Lambda calls. When manually testing this use case to understand the behavior within New Relic, it was found that each lambda had their own trace_id’s even though the expected HTTP headers were being forwarded to the second lambda.
Acceptance Criteria
If both entities have the same trace_id and the service map for the distributed trace shows both lambdas, you are done and no changes are needed.
If both entities have different trace_id’s and the service map for the distributed trace only shows the lambda that you are viewing from, then there is an issue with propagating the trace_id between the lambdas that needs to be debugged and fixed.
Design Consideration/Limitations
N/A
Dependencies
In order to run the test, it does take a bit of setup within AWS.

Set up the “backend” API Gateway and Lambda

Create a lambda in Ruby that will return the contents of the incoming event as JSON as part of the response (backend lambda)
Create an API Gateway in HTTP mode (not REST) that will forward the request to the lambda you just created
Test for basic functionality
Update the lambda to use the appropriate New Relic lambda layer
Test and ensure the lambda entity is defined in New Relic as well as the distributed trace being available

Set up the “frontend” API Gateway and Lambda

Create a lambda in Ruby that will make an HTTP request to the “backend” API Gateway URL. The response should include the event for the “frontend” lambda as well as the results reported by the “backend” call
Create an API Gateway in HTTP mode (not REST) that will forward the request to the lambda you just created
Test for basic functionality
Update the lambda to use the appropriate New Relic lambda layer
Test and ensure the lambda entity is defined in New Relic as well as the distributed trace being available

With the above defined and working, run curl commands to generate several test distributed traces. For the same external request, are both entities using the same trace_id or are they generating different trace_ids?
Additional context
See NR-265378 for Python example code and output

Addressed with https://github.com/newrelic/newrelic-ruby-agent/pull/2811


minor fixes

on post submit and setting scroll to top when user click submit and shows a message

Thanks, the settings thing is a good idea. But we can't change Telescope.config.postStatuses like this, the idea is that statuses should be only defined once in the app.
Also, when internationalizing any string make sure you use a key (so i18n.t('settings_saved'), not i18n.t('Settings Saved'), and then add the translation to i18n.en.json.

You're welcome.
i will work on more on the settings. i didn't know where the i18n.json is located that's why, but i know i should have used a key string for the i18n.
and for the Status i don't but if it should be defined once, so the field should be omitted for all user since i see it as an number input field.
it should be a hidden field. omit:true
The the pending post issue was solved but the still when you click a pending post
it doesn't show post page, just a blank page.

Please add the settings code so it will be easier to get to the top of the page after saving it
thanks

OK, I'll add it :)

Thanks :dancer:


Having a problem .

The compiles version of my app throws me this error.
GET http://localhost:8000/images/imagenDePrueba.png 404 (Not Found)
My project structure is
build
-css
-images
node_modules
src
-images
-js
-scss
-base
gulpfile.js
index.html
package-lock.json
package.json
.gitignore

Is that file present in the src/images folder?
Is an optimized version copied to the build/images folder when you run Gulp?
Do you get any image errors when running Gulp?
Is there a reason you want to access it directly from the BrowserSync web server?

Actually, I already have that file in src/images. And yes, an optimized version is copied to build/images folder. I don't get any error when running Gulp. So in _base/base.scss I have an image with resolve(imagename) but the output is images/imagename.png. So in the browser the route localhost:8000/images/myimage.png doesn't exists but if I manually set the path /build/images/myimage.png it works!

The configuration is correct in that you should not be referencing the build folder in output code since the content of that folder would be copied to a server somewhere. However, browsersync is using the root folder so index.html has to reference build. Any resolve() paths in the CSS therefore fail.
The solution is to copy/construct HTML files in the build folder and then set baseDir : './build/' in the syncConfig setting. But you're then moving beyond the CSS-only scope of this demonstration.
I hope that helps.


Navbar actions

In navbar, we have some buttons. we need to make them functional. Some of them may be just a javascript which will scroll to the appropriate section on the same page.

done


App Does not start on Pixel 6 Pro with Android 14

Description
Hi,
I upgraded to 1.6.3 from an unknown, quite old Version using F-Droid. Now the app won't start. All I get is a black screen with your logo. I forcefully killed the app an restarted, didn't help. I restarted the phone, didn't help. Please let me know if I could pass you any logs for debugging.
Best
Amie
Android version
No response
Reproduction steps
No response
Screenshots & Settings backup
No response
App debug info
No response

B
lol, my shortest reply ever!

Huh, that's interesting. I can't reproduce this locally, even when testing with versions as old as 1.4.9 (around that time you had another issue here).
B is pretty early during app initialization before most of my code is even run.  From my understanding and research of this problem, if you want to keep your data your best bet is probably to wait for the next release, which will be built with a new flutter version.
In case other people experience similar issues, please report them here so I may be able to narrow the issue down further (please report: old version, new version, installation source, and settings if available).

Thanks, mate!
I'll observe F-Droid closely and can't wait for the new release.
Keep up the great work!
Thanks a mill
Amie

@amie42 sorry that took do long. The F-Droid build should be ready.

Closing this since no new reports came in.


Correctly show application version +/ execution of command with version option

This PR is part of a series of CLI bug fixes/enhancements intended to be released prior to Spectre.Console V1.0
They should be individually reviewed and merged (and then the open ones rebased) in the following order, given they have been successively branched from each other (Rationale: earlier changes, particularly to CommandExecutor, are relied upon later). Separate PRs should aid the reviewer.

https://github.com/spectreconsole/spectre.console/pull/1660
https://github.com/spectreconsole/spectre.console/pull/1663 (this one)
https://github.com/spectreconsole/spectre.console/pull/1664

fixes #1216

[X] I have read the Contribution Guidelines
[X] I have commented on the issue above and discussed the intended changes
[ ] A maintainer has signed off on the changes and the issue was assigned to me
[X] All newly added code is adequately covered by tests
[X] All existing tests are still running without errors
[X] The documentation was modified to reflect the changes OR no documentation changes are required.

Changes

Displays the application version (if configured) when a version flag is the first command line argument, even if a default command has been set.
When a command with a version option in the settings is set as the application default command, then execute this command instead of displaying the explicitly set Application Version.

Please upvote :+1: this pull request if you are interested in it.

Fully implemented and ready for review
Important: Please see the comment at the top of the issue description ahead of merging.

Fully implemented and ready for review
Important: Please see the comment at the top of the issue description ahead of merging.

Fully implemented and ready for review
Important: Please see the comment at the top of the issue description ahead of merging.


fix: Attempt to read property "email_thread" on null

deleted all rows from notification_settings see http://localhost:8080/account/notifications

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 80.696%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1183

Relevant Lines:
1466

💛  - Coveralls

There is no option that the user has no notification entry: https://github.com/lonnieezell/forum-example/blob/develop/app/Models/UserModel.php#L26
Your database data were probably created earlier than this code. Please, seed your database one more time.
We are at such an early stage that I do not want to create code that will not be required.

@michalsn You are right. Thank you!

@datamweb Also thank you for trying to fix it.


fix: default context to /

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Feat: Added BookMarked Blogs Section and SearchBlog Feature

Description:
This PR adds the Bookmarked section that displays all blogs bookmarked by the user. Additionally, it makes the search bar functional, allowing users to filter blogs on the blogs page based on their search input from the header's search bar.
Changes Made:
Bookmark Section:

Retrieved bookmarked blogs from user.reactions.
Matched the keys of user.reactions with each blog in the blogs array.
Filtered and mapped the blogs accordingly.
Used a solid icon to indicate bookmarked blogs instead of the regular bookmark icon.

SearchBar:

Implemented a global variable using the Context API to store the search input in real-time.
Utilized this variable on the blogs page to filter and display blogs based on the search query.

Issue Addressed:
Closes #1021
Video:
https://github.com/user-attachments/assets/e4e3bd14-821b-43e1-b9af-4564092c12ab
Additional Context:
N/A

@mdazfar2 kindly review


This app installs wherever without asking for a location

This app installs wherever without asking for a install location or any confirmation if it is to be installed at all = pure malware behaviour.
Steps to Reproduce
Try to install the app.
Expected Behavior
It should ask for a install location.
Actual Behavior
It doesn't.
Suggested Solutions
It should ask for a install location.
System Configuration
App | 0.33.2
Daemon (lbrynet) | 0.37.5
Platform | Windows (Windows-10-10.0.17134)

Thanks for your feedback, we have this filed under https://github.com/lbryio/lbry-desktop/issues/446


fix: csrf config for excluding router

Description

csrf middleware should skip router entirely on match exclude config

close https://github.com/litestar-org/litestar/issues/3688

Hey @trim21, thanks for your contribution! For a bugfix, please add a test that triggers the bug you are fixing. This prevents regression, clearly indicates the change in behaviour, and makes it easier to reproduce.

Is new commits fine?

Is new commits fine?

Yes. We squash merge PRs anyway, so commit as you like :)

Looks good to me!  We can merge after the comments are addressed.
@all-contributors add @trim21 for code and tests

done

does litestar have a release cycle? when this PR may be release?

does litestar have a release cycle? when this PR may be release?

We make a minor release roughly about once a month, and patch releases as needed.
A minor release will happen within the next few days, so this will be included there

does litestar have a release cycle? when this PR may be release?

We make a minor release roughly about once a month, and patch releases as needed. A minor release will happen within the next few days, so this will be included there

thanks


Downloading PDF file gives you f.txt file 🐛

Describe the bug
Instead of a PDF file you will be offered by Google Chrome a txt file with the name "f"
To Reproduce
Steps to reproduce the behavior:

Go to Artemis POM Lectures
Click on Lecture 1 Attachment with the slides
Try to save file to disk
See error

Expected behavior
A PDF file with the correct name and the .pdf file extension
Environment

 - OS: [Win10 Home]
 - Browser [chrome]
 - Version [73]

Good catch, the browser displays f.txt instead of the correct file name. This also happens in other browsers, e.g. Safari and on macOS

This is due the header Content-Disposition set by the server, that has value inline;filename=f.txt. I think we can safely drop the filename=f.txt, it shouldn't be necessary: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition


Fix nonsensical docs for type property

Type property docs incorrectly read as if the type property can somehow be used to remove data

Thanks @phillmac


pythonPackages.pygal: fix build by forcing pytest_3

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

cc @dotlambda

Alternatively, we can use pytest_3. But we'll also have to overhaul WebOb's dependencies to prevent multiple versions of pytest in the closure.
Furthermore, would you mind getting rid of buildInputs in favor of nativeBuildInputs and checkInputs?

I don't really see the connection to WebOb, but I can see that WebOb appears to have pytest in its propagatedBuildInputs, which seems wrong.

I don't really see the connection to WebOb

If you use pytest_3 for pygal, you'll get
Found duplicated packages in closure for dependency 'pytest':
  pytest 3.10.1 (/nix/store/b7z68j94dfmfcyl371pqr6ggdsrggwk0-python3.7-pytest-3.10.1/lib/python3.7/site-packages)
  pytest 4.2.1 (/nix/store/jky420fbml8s6b563zzfci3wicni0f5b-python3.7-pytest-4.2.1/lib/python3.7/site-packages)

which is due to WebOb.

Not if I can help it...

@dotlambda ok, I've fixed up WebOb & routes to accommodate the switch of pygal to pytest_3. I had to create a pytestrunner_pytest_3 to go with it though.
There are still downstream rebuilds that don't build, but only those that were already broken.
Noting that there are so many rebuilds, should this be targeted at staging instead of master?

Added a staging rebase of this https://github.com/NixOS/nixpkgs/pull/60888

No need to open new PR's when rebasing.

It's not so much the rebase that caused it, it's that I was re-pointing it to staging rather than master. If there's a way to re-target a PR, I'd love to know.

top right next to the PR title press edit, a branch selector pops up.

:astonished: you've changed my life.


Possible dependency conflict issue

Copied from DM w/ Alex:
OK so here's the deal the other day I was upgrading the Cosmos had and there were OK the hub has upstream dependencies, the liquidity module and the hub router. And the liquidity module failed with 45.8 set on the hub
so, basically, given that cw has a bunch of downstream users, I think that for v0.29.0 it is way safest to ship as a package like:
* v3.2.0 or v4.0.0
* sdk v0.45.8
* tendermint v0.34.21

Then, we should be really clear that either cw v3.2.0 or v4.0.0 require a migration.  Here's my specific concern-- lots of chains, and their modules also import ibc-go.  I do not claim to understand every complexity of every piece of the stack perfectly, but instead, I'd say that the guidance for upgrading to v0.29.0 should be like:
"to upgrade to cosmwasm v0.29.0, your chain and its various modules should use at minimum:

cosmos-sdk v0.45.8
tendermint v0.34.21
ibc-go v3.2.0 (or if we choose v4, then v4)
"

Because I am pretty sure that everything will go far more smoothly that way.
Please feel free to contact me if you want more info on that and... I hate to be so direct-- I am not currently in possession of a "why" although I will say that it may have something to do with -- check test_helpers.go and note how we changed some things there for 45.7+.
This is mainly about downstream safety.

Thanks for providing some context!
Let's keep this issue open for some time for others to report issues or comment on this.
Personally, I would prefer to have some chains run ibc-go v3.2 on production before upgrading the dependency.
But ibc-go v3.2 and v3.0 are api compatible, which makes it easy for the chains to decide. The upgrade would be in go.mod #937 and not require touching code.

I am also waiting on wasmd to upgrade to ibc v3.2.0. Since they fixed some issues there (although minor). Is the concern here that v3.2 is not tested out enough?

Personally I feel safer & happier * such with ibc v4.0.0
Suggested solution:
write a v4.0.0 patch for wasmd v0.28.0 because seems v0.29.0 will take a hot minute.

ibc-go v3.2 is in main now. I will close this now. Let's move discussion about v4 to #940


Update FAQ

Motivation and context
Added a couple of questions in FAQ page.
How has this been tested?
N/A
Checklist

[x] I submit my changes into the develop branch
[ ] I have added description of my changes into CHANGELOG file
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues (read github docs)
[ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[ ] I have updated the license header for each file (see an example below)

# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT

Pull Request Test Coverage Report for Build 6227

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 65.129%

Totals

Change from base Build 6224:
0.0%

Covered Lines:
11036

Relevant Lines:
16532

💛  - Coveralls


[Doc] compile instructions

Hi M, Great tool by the way saved me a lot of time this is awesome!
I was wondering how do you compress back the source code back to its executable after modifying some h5p configurations.
Originally posted by @lsiban in https://github.com/MM-Lehmann/pptx2h5p/issues/3#issuecomment-904433811

I am using pyinstaller (with the --onefile option) to do that.


[Error] running sample.py

Hello! i want to run sample.py and it throws me this error

Any help?

Fixed it, please pull


pt_br language is missing

Hey man, nice work!!
I have a problem when I'm trying to use the pt_br (brazilian portuguese) language, in suneditor-react/misc/getLanguage.js was missing the case option.
case 'pt_br': return require('suneditor/src/lang/pt_br');
But it still doesn't work, do you have some idea?
And investigating other files, I saw that in suneditor-react/dist/main.js there's not indicating to pt_br language.
Thanks, you're helping me a lot.

Hi, @setesolutions
Thank you : )
It seems that the "suneditor-react" package is not yet updated to the new version.
I'll update and send pull request.

Thank you my good friend!

Hello my friend, any new about this subject?
I would love to implement, your component is perfect
Hug!

Hi friend!
Thank you so much!
The update is almost over.
I'll let you know right away.


getting rid of '' token in the output.

Thank you very much for the tutorials. Helping a lot! In the tutorial of Attention is All You Need
(tutorial 6), when tried to translate a sentence that comprises tokens not present in the dictionary, the sentence is being translated but  token is coming in the output (as shown in attached image) for those input tokens. How to solve this issue? Is there any work-around?

It is defined that only tokens which appears at least two times should be included in the vocabulary.
I guess the token 'seilbrücke' only appears once in the training set and therefore is not in the vocabulary.
It will be then replaced by . So the input is already  instead of 'seilbrücke' and the model predicts "correctly"  as the last word.
You could change:  min_freq = 1
SRC.build_vocab(train_data, min_freq = 1)
TRG.build_vocab(train_data, min_freq = 1)

when building the vocabulary and try if the model can predict the right word.

Thanks for your reply.


Logo

The ISPA-DRC members logo ISPA-DRC membres list :
SITE WEB DES OPERATEURS .docx

The logo of uni-limited is missing. I found it on the web, but you need to confirm if it's correct.


Change zone chooser component in VM creation

Change zone selector in VM creation to allow seeing details. It should provide a user with information about existing zones.
Add a "select" button for zones (as for Installation source) in VM creation that opens a list with characteristics of each. It might be a table or cards.
Each zone should contain zone description, location, other information

Zone should include Geographical information which can be used for groupping, like:
Russia, USA or [Russia, Tomsk], [Russia, Novosibirsk], so zones can be groupped on the page with such geographical tagging.

Also, Zone should allow setting purpose of it. Like [[Tomsk, Russia], General]

Support Country, Town, CustomPurpose hierarchy.

If there is only one zone, then hide zone chooser when VM is created and just .


Lock background scroll

A common feature of modals or drawers is to lock the background scroll when the drawer is open, usually by hiding the overflow on the body.
This might be a nice feature to be able to toggle on with a prop. Thoughts?

lockBackgroundScroll is now available in props to use.
Thank you for your notice


how to combine collectd to use ?

How to combine collectd to use  in facette?
Can you give me a sample?
Thanks.

Hi @shaowin16 ,
Since the 0.4 version, providers are now configured through the API (either programmatically or via the web UI).
Using the following snippet, you should have a pretty basic setup compatible with a common collectd configuration:
curl -s -H 'Content-Type: application/json' http://<facette-instance>/api/v1/providers/ -d '
{
  "name": "collectd",
  "description": null,
  "created": "2017-06-14T06:09:19Z",
  "modified": "2017-06-14T06:09:19Z",
  "connector": "rrd",
  "settings": {
    "path": "/var/lib/collectd",
    "pattern": "rrd/(?P<source>[^/]+)/(?P<metric>.+)\\.rrd"
  },
  "filters": [
    {"action": "sieve", "target": "metric", "pattern": "/average$", "into": ""},
    {"action": "rewrite", "target": "metric", "pattern": "/average$", "into": ""},
    {"action": "rewrite", "target": "metric", "pattern": "/value$", "into": ""},
    {"action": "rewrite", "target": "metric", "pattern": "/", "into": "."},
    {"action": "rewrite", "target": "metric", "pattern": "^cpu\\.percent-", "into": "cpu.percent."},
    {"action": "rewrite", "target": "metric", "pattern": "^df-(.+)\\.(?:df_)?(.+)-(.+)", "into": "df.$1.$2.$3"},
    {"action": "rewrite", "target": "metric", "pattern": "^interface-(.+).if_(.+)\\.", "into": "net.$1.$2."},
    {"action": "rewrite", "target": "metric", "pattern": "^load\\.load\\.", "into": "load."},
    {"action": "rewrite", "target": "metric", "pattern": "^memory\\.memory-", "into": "memory."}
  ],
  "refresh_interval": 0,
  "priority": 0,
  "enabled": true
}
'

Once executed, you should see a new provider named collectd at the following address: http://facette-instance/admin/providers/.
If you want to understand the various data in the above payload, you can take a look at:
https://docs.facette.io/latest/api/providers/#rrdtool
https://docs.facette.io/latest/api/providers/#provider-filters
Let me know if it answers to your question.
Regards,
Vincent


Improve code formatting, import extension imports and cleanup.

Some general improvements:

Use 2 spaces instead of 4, to be consistent with Velocity. I personally use 2 spaces (and 2 space indent) for my kotlin projects and I think it's very readable. .editorconfig will probably need more entries, default formatting of kotlin in IntelliJ changes too often...
IMO imports of extensions should reflect on which type they are applied of the velocity API, instead of putting everything in one package. This is will also make it less likely to create conflicts.
org.velocitypowered.api.kt.ext.on (meaningless) vs org.velocitypowered.api.kt.event.on
Added kotlinx-coroutines-jdk8 library, this adds support for coroutines to CompletableFuture.
org.velocitypowered.api.kt could also be renamed to org.velocitypowered.api.kotlin, thoughts? IMO shorter is better here.
Remove .idea directory, this prevented me from importing the project properly in IntelliJ, this makes it also consistent with Velocity.

Why using 2 spaces instead of 4? this violates the kotlin codestyle conventions.

Why using 2 spaces instead of 4? this violates the kotlin codestyle conventions.

To be consistent with Velocity.


CI: Fix build error on Windows

Try to fix the following error:
Failed to download gem files: <bundle package --no-install> (stdout: Fetching gem metadata from https://rubygems.org/...........
Fetching https://github.com/fluent/fluentd
, stderr: Warning: the running version of Bundler (2.2.9) is older than the version that created the lockfile (2.2.32). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.32`.
nokogiri-1.13.1-x64-mingw32 requires ruby version < 3.1.dev, >= 2.6, which is
incompatible with the current version, ruby 2.5.9p229

Signed-off-by: Takuro Ashie<EMAIL_ADDRESS>

Hmm, another error is occurred. What's this?
git archive HEAD --prefix td-agent-4.3.0/ --output D:/a/fluent-package-builder/fluent-package-builder/td-agent/td-agent-4.3.0.tar.gz
tar xvf D:/a/fluent-package-builder/fluent-package-builder/td-agent/td-agent-4.3.0.tar.gz
tar: Cannot connect to D: resolve failed
rake aborted!
Command failed with status (128): [tar xvf D:/a/fluent-package-builder/fluent...]
D:/a/fluent-package-builder/fluent-package-builder/td-agent/Rakefile:1205:in `block in build_archive'
D:/a/fluent-package-builder/fluent-package-builder/td-agent/Rakefile:1201:in `build_archive'
D:/a/fluent-package-builder/fluent-package-builder/td-agent/Rakefile:1108:in `block in define_archive_task'
D:/a/fluent-package-builder/fluent-package-builder/td-agent/Rakefile:1481:in `block (2 levels) in define'
Tasks: TOP => msi:dockerbuild => td-agent-4.3.0.tar.gz

Building cmetrics failed:
https://github.com/fluent/fluent-package-builder/runs/4897918349?check_suite_focus=true
2022-01-21T15:15:40.3940937Z Running 'configure' for cmetrics 0.2.2... *** extconf.rb failed ***
2022-01-21T15:15:40.3941586Z Could not create Makefile due to some reason, probably lack of necessary
2022-01-21T15:15:40.3942013Z libraries and/or headers.  Check the mkmf.log file for more details.  You may
2022-01-21T15:15:40.3942395Z need configuration options.
2022-01-21T15:15:40.3942632Z
2022-01-21T15:15:40.3942827Z
2022-01-21T15:15:40.3943086Z Provided configuration options:
2022-01-21T15:15:40.3943407Z         --with-opt-dir
2022-01-21T15:15:40.3943717Z         --without-opt-dir
2022-01-21T15:15:40.3944017Z         --with-opt-include
2022-01-21T15:15:40.3944470Z         --without-opt-include=${opt-dir}/include
2022-01-21T15:15:40.3944948Z         --with-opt-lib
2022-01-21T15:15:40.3945274Z         --without-opt-lib=${opt-dir}/lib
2022-01-21T15:15:40.3945610Z         --with-make-prog
2022-01-21T15:15:40.3945908Z         --without-make-prog
2022-01-21T15:15:40.3946199Z         --srcdir=.
2022-01-21T15:15:40.3946442Z         --curdir
2022-01-21T15:15:40.3947088Z         --ruby=C:/opt/td-agent/bin/$(RUBY_BASE_NAME)
2022-01-21T15:15:40.3947482Z C:/opt/td-agent/lib/ruby/gems/2.7.0/gems/mini_portile2-2.7.1/lib/mini_portile2/m
2022-01-21T15:15:40.3948011Z ini_portile.rb:429:in
2022-01-21T15:15:40.3948361Z `spawn': Permission denied - cmake (Errno::EACCES)
2022-01-21T15:15:40.3948760Z from
2022-01-21T15:15:40.3949025Z C:/opt/td-agent/lib/ruby/gems/2.7.0/gems/mini_portile2-2.7.1/lib/mini_portile2/m
2022-01-21T15:15:40.3949497Z ini_portile.rb:429:in
2022-01-21T15:15:40.3949727Z `block in execute'
2022-01-21T15:15:40.3950055Z from
2022-01-21T15:15:40.3950327Z C:/opt/td-agent/lib/ruby/gems/2.7.0/gems/mini_portile2-2.7.1/lib/mini_portile2/m

@cosmo0920 Could you resolve this?

Hmm..., Let me check it.

I couldn't get succeeded to start Dockerized Windows package building environment.

We got a green for Windows CI task!!!!
Could you review my changes, @ashie?

Thanks!

Thanks! I'll merge this after passing CI.

🚀


Run setup when creating extension

Closes #32.

This looks good. I'll take a look at the tests. They have had issues ever since we made pg_partman an optional dependency.

Looks like CI is installing pg_partman into the pgrx managed postgres 15.3, but tests are now running on 15.4, which looks like was released today.

Looks like CI is installing pg_partman into the pgrx managed postgres 15.3, but tests are now running on 15.4, which looks like was released today.

hopefully fix that problem over in https://github.com/tembo-io/pgmq/pull/39

Rebased into main and tried to add a test. The toolchain is a bit new for me, so maybe I messed up :)

This is going to be trickier than I expected :(

pgmq_meta its not currently owned by pgmq, but it should be. I'll have to think how we can handle that, it might be combination of a migration and the init?
there's two Rust client API, pgmq::PGMQueue and PGMQueueExt. PGMQueueExt is has a subset of features of the other, but can be run without the extension. PGMQueue still needs to create pgmq_meta, so some of the tests are probably failing for that reason. That part would go somewhere near here: https://github.com/tembo-io/pgmq/blob/326d512c7cd8c16e8553d8dd10af38ac22972a54/core/src/lib.rs#L237
looks like one test is failing due to pg_partman extension not being created, thats a bug not related to this PR that slipped through. CREATE EXTENSION pg_partman just needs to happen somewhere before here https://github.com/tembo-io/pgmq/blob/326d512c7cd8c16e8553d8dd10af38ac22972a54/tests/integration_tests.rs#L101 I can patch that

pgmq_meta its not currently owned by pgmq, but it should be. I'll have to think how we can handle that, it might be combination of a migration and the init?
I don't really follow this. In my manual tests, it seemed to be owned by the extension (the tables associated to the queues, though, weren't). The only case I see where this happens, is if the table was created manually (for example, by a previous version of the extension) and the extension is installed again. I can try to investigate further, though.

I don't really follow this. In my manual tests, it seemed to be owned by the extension (the queue tables, though, weren't). The only case I see where this would happen is if the pgmq_meta table was created manually (for example, by a previous version of the extension) and the extension was installed again. I can try to investigate further, though.

An extension may only use CREATE ... IF NOT EXISTS to skip object creation if the conflicting object is one that it already owns.

I think I ran into this once before and I did not had much luck using IF NOT EXISTS in the extension SQL if its in the schema that is owned by the extension. The desired behavior we want is for folks running create extension pgmq for the first time, pgmq_meta is created automatically. Users who already have pgmq installed, they should run ALTER EXTENSION pgmq UPDATE TO '<new-version>', and that would not break anything for them. So typing this out, maybe this just means the extension_sql! should just remove the if not exists part?

Additionally, I think you probably want to drop all tables related to the extension if the extension is dropped. We'd need the tables to belong to the extension so this is done automatically.

Additionally, I think you probably want to drop all tables related to the extension if the extension is dropped. We'd need all the tables to belong to the extension so this is done automatically. Unless there's other way.

Agreed. It'll be quite a bit more scope if we want to handle all of that right now. Alternatively, we could put a fix into list_queues() directly so it doesn't crash, and handle all of the object ownership in another body of work.

I will give a stab to the "complete solution" in the weekend, maybe I can make it work. If not, I agree on reducing scope.

I will give a stab to the "complete solution" in the weekend, maybe I can make it work. If not, I agree on reducing scope.

Sounds good, and I appreciate the help! You can DM me in Slack if you want, https://join.slack.com/t/tembocommunity/shared_invite/zt-20dtnhcmo-pLNV7_Aobi50TdTLpfQ~EQ


Bug: running system legacy OS glibc <2.12

Hi,
On legacy systems we can't update or install anything, we can't run the software:
# ldd log4j2-scan
./log4j2-scan: /lib64/libpthread.so.0: version `GLIBC_2.12' not found (required by ./log4j2-scan)
./log4j2-scan: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./log4j2-scan)

It is possible to compile with glibc 2.11?

@jonas-tb Would you use existing java binary and JAR version instead?

Doesn't have java app, does that guarantee that we wouldn't have anything to scan this CVE? Correct?

@jonas-tb If you can't run java at all, it is safe.

but...consider java and log4j hidden within docker containers, snaps, or other items... or java installed outside of your shell $PATH.  Personal home directories may cause unwanted exposures.

Also note, if the toolkit in use can produce static binaries, the library dependencies would disappear.  That would make the tool download a bit bigger but much more portable.

Exactly, if it were possible to compile with static libraries it would solve!

I will try https://www.graalvm.org/reference-manual/native-image/StaticImages/

@jonas-tb Would you test v2.1.0 release? This image is built using -H:+StaticExecutableWithDynamicLibC option.

I tried it with versions 2.1.0 and 2.1.1 and the error continues. Realized it still shows lib dynamics.
### Release v2.1.1
vagrant@sles11-sp3:~> md5sum log4j2-scan
b84941c6770c3aa80dc7a22e6686e0e1  log4j2-scan
vagrant@sles11-sp3:~> file log4j2-scan
log4j2-scan: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for GNU/Linux 2.6.32, dynamically linked (uses shared libs), not stripped

### Release v2.1.0
vagrant@sles11-sp3:~/2.1.0> md5sum log4j2-scan
e37893776d47845fc4c3857dd43cb66d  log4j2-scan
vagrant@sles11-sp3:~/2.1.0> file log4j2-scan
log4j2-scan: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for GNU/Linux 2.6.32, dynamically linked (uses shared libs), not stripped

@jonas-tb  Would you test v2.4.0 release? already tested at #170


[BUG] Heading in header component should not be a

Best practice is to use one unique h1 per page that describes what that page is about, normally the same as the page title. That h1 preferably starts just above the main content. This way it can also be used by user as a way to skip to the main content of the page.
Headings create an outline for the page, similar to a term paper outline or table of contents. The h1 describes the page as a whole (and should be similar /same as the page ). A page should typically have only one h1.(https://webaim.org/techniques/semanticstructure)
In my opinion the Heading should be changed to a h2.

Tickets 114, 157, 178, 149 linked - let team Kai know when you are working on these so they can make adjustments when required


Notebooks UX - action buttons hover background

Testing #101325
Notebook cells have a background color on hover, the language selector button has a background color on hover but the action buttons do not have a background color on hover. I think we should be consistent and provide a background color on hover for the action buttons.

See https://github.com/microsoft/vscode/issues/101371#issuecomment-651919422, since we follow the status bar model we didn't intend on providing a bg color for the button. We could add one for the status bar.

The status bar has one, I agree that the toolbar shouldn't, matching other toolbars.


Update create-sso-office-add-ins-aspnet.md

Fixed note format

Docs Build status updates of commit a5708aa:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/develop/create-sso-office-add-ins-aspnet.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


No host specified in URI file:///

Luckily, it is fine with exception. It works still ok, but
"No host specified in URI file:///" meaning not clear to me,
Because I tried to http://
It happens only when the first app startups after build,
after then hot reloading is fine.
    // This is how http calls are done in flutter:
    HttpClient http = new HttpClient();
    try {
      // Use darts Uri builder
      var uri = new Uri.http('dog.ceo', '/api/breeds/image/random');
      var request = await http.getUrl(uri);
      var response = await request.close();
      var responseBody = await response.transform(UTF8.decoder).join();
      var json = JSON.decode(responseBody);
      // The dog.ceo API returns a JSON object with a property
      // called 'message', which actually is the URL.
      var url = json['message'];
      imageUrl = url;
    } catch (exception) {
      print(exception);
    }

exception message is
I/flutter ( 3671): ══╡ EXCEPTION CAUGHT BY SERVICES ╞══════════════════════════════════════════════════════════════════
I/flutter ( 3671): The following ArgumentError was thrown resolving an image codec:
I/flutter ( 3671): Invalid argument(s): No host specified in URI file:///
I/flutter ( 3671):
I/flutter ( 3671): When the exception was thrown, this was the stack:
I/flutter ( 3671): #0      _HttpClient._openUrl (dart:_http/http_impl.dart:2093:9)
I/flutter ( 3671): #1      _HttpClient.getUrl (dart:_http/http_impl.dart:2028:48)
I/flutter ( 3671): #2      NetworkImage._loadAsync (package:flutter/src/painting/image_provider.dart:440:57)
I/flutter ( 3671): <asynchronous suspension>
I/flutter ( 3671): #3      NetworkImage.load (package:flutter/src/painting/image_provider.dart:425:14)
I/flutter ( 3671): #4      ImageProvider.resolve.<anonymous closure>.<anonymous closure> (package:flutter/src/painting/image_provider.dart:265:86)
I/flutter ( 3671): #5      ImageCache.putIfAbsent (package:flutter/src/painting/image_cache.dart:82:22)
I/flutter ( 3671): #6      ImageProvider.resolve.<anonymous closure>
...
...
...
I/flutter ( 3671): #154    _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5)
I/flutter ( 3671): #155    _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:165:12)
I/flutter ( 3671): (elided one frame from package dart:async)
I/flutter ( 3671):
I/flutter ( 3671): Image provider: NetworkImage("", scale: 1.0)
I/flutter ( 3671): Image key: NetworkImage("", scale: 1.0)

Have you tried
var uri = new Uri.http('dog.ceo', '/api/breeds/image/random');
print(uri);

if this leads to the expected URI?

You need to use the debug icon

It looks you used the run icon instead. This one doesn't start the debugger.

It was caused from
- image: new NetworkImage(renderUrl ?? ''),
When argument is null..
I think it is adequate exception :)
Thank you for your kind response!

How do you solve this anomaly, I also encountered

i get the same error too...
flutter: Invalid argument(s): No host specified in URI file:///
How did you solve this issue?

Has this issue been resolved or not?? Please help getting the same error

This is because the app tries to get renderUrl asynchronously. Before the render Url is fetched back, it is null.
NetworkImage(renderUrl ?? '') then tries to use empty string as the url and result in the exception.
I am not sure if this is the best solution, but this seems to work:
  Widget get dogImage {
    return renderUrl == null ?
      Container() :
      Container(
        width: 100.0,
        height: 100.0,
        decoration: BoxDecoration(
          shape: BoxShape.circle,
          image: DecorationImage(
            fit: BoxFit.cover,
            image: NetworkImage(renderUrl),
          ),
        ),
      );
  }

I am very new to dart and flutter, so perhaps there are better ways to do this.

Anyone who has solved the above challenge....please share

I decided to check if the image url was empty before putting it in the widget:
CircleAvatar(
backgroundColor: Colors.grey,
backgroundImage: _urlImage.isNotEmpty
? NetworkImage(_urlImagem)
: null,
),

try adding 'https://' to the uri it worked for me

hello world
thank you for your comment thats help to resolve the situation that how to know if the image is loaded or not hope that help
I use a StatefulWidget
need a editing depend on your AffichScreen
situation :
-i have an url that i enter
-if url is correct affich the image if not affich an icon
-if empty affich a Text()
-precacheImage check if the url is correct if not give an error and change _loadingimage(bool) to false to affich the icon eror
bool _loadingimage;
ImageProvider _image;
Image _imagescreen;
@override
void initState() {
_loadingimage = true;
_imageUrlfocusNode.addListener(_updateImageUrl);
super.initState();
}
@override
void dispose() {
_imageUrlfocusNode.removeListener(_updateImageUrl);
_quantityfocusNode.dispose();
_imageUrlConroller.dispose();
_imageUrlfocusNode.dispose();
super.dispose();
}
void _updateImageUrl() {
setState(() {
_image = NetworkImage(_imageUrlConroller.text);
});
if (!_imageUrlfocusNode.hasFocus) {
if (_imageUrlConroller.text.isNotEmpty) {
setState(() {
loadimage();
});
}
}
}
void loadimage() {
_loadingimage = true;
precacheImage(_image, context, onError: (e, stackTrace) {
// log.fine('Image ${widget.url} failed to load with error $e.');
print('error $e');
setState(() {
_loadingimage = false;
print(_loadingimage);
});
});
if (_loadingimage == true) {
_imagescreen = Image.network(
_imageUrlConroller.text,
fit: BoxFit.fill,
);
}
}
Container(
width: 100,
height: 100,
margin: EdgeInsets.only(top: 13, right: 11),
decoration: BoxDecoration(
border: Border.all(
width: 1,
color: Colors.grey,
),
),
child:_imageUrlConroller.text.isEmpty
? Text('enter an url')
: !_loadingimage
? Container(
child: Icon(Icons.add_a_photo),
)
: Container(
child: _imagescreen,
),
),
see you

hello world
thank you for your comment thats help to resolve the situation that how to know if the image is loaded or not hope that help
I use a StatefulWidget
need a editing depend on your AffichScreen
situation :
-i have an url that i enter
-if url is correct affich the image if not affich an icon
-if empty affich a Text()
-precacheImage check if the url is correct if not give an error and change _loadingimage(bool) to false to affich the icon eror
bool _loadingimage;
ImageProvider _image;
Image _imagescreen;
@override
void initState() {
_loadingimage = true;
_imageUrlfocusNode.addListener(_updateImageUrl);
super.initState();
}
@override
void dispose() {
_imageUrlfocusNode.removeListener(_updateImageUrl);
_quantityfocusNode.dispose();
_imageUrlConroller.dispose();
_imageUrlfocusNode.dispose();
super.dispose();
}
void _updateImageUrl() {
setState(() {
_image = NetworkImage(_imageUrlConroller.text);
});
if (!_imageUrlfocusNode.hasFocus) {
if (_imageUrlConroller.text.isNotEmpty) {
setState(() {
loadimage();
});
}
}
}
void loadimage() {
_loadingimage = true;
precacheImage(_image, context, onError: (e, stackTrace) {
// log.fine('Image ${widget.url} failed to load with error $e.');
print('error $e');
setState(() {
_loadingimage = false;
print(_loadingimage);
});
});
if (_loadingimage == true) {
_imagescreen = Image.network(
_imageUrlConroller.text,
fit: BoxFit.fill,
);
}
}
Container(
width: 100,
height: 100,
margin: EdgeInsets.only(top: 13, right: 11),
decoration: BoxDecoration(
border: Border.all(
width: 1,
color: Colors.grey,
),
),
child:_imageUrlConroller.text.isEmpty
? Text('enter an url')
: !_loadingimage
? Container(
child: Icon(Icons.add_a_photo),
)
: Container(
child: _imagescreen,
),
),
see you

try adding 'https://' to the uri it worked for me

saved life :heart:

Anyone who has solved the above challenge....please share

Check your API URL and ensure you add or append 'http://' to it as the initials.....example is http://....api_url....

try adding 'https://' to the uri it worked for me

saved life ❤

Yes, this solution worked for me. Thanks.

I also faced the same issue but solved it.

Add https:// before your uri
Hope this works.


Video preview not working in Sanity v3

Not getting preview of video anymore :(

I'm also having this issue

Yes, same for me. That's all the errors I'm experimenting right now.

Just released a a quickfix for the videoplayer and preview: 1.0.2


[bug]: Cannot convert undefined value to object

Description
When I tried to import WalletConnect to my exisiting RN project, it reported this error when I implement <Web3Modal/> in my code. I thought it conflicted with my other installed libraries or frameworks, but when I created a new expo project and installed WalletConnect, I got the same error. I've tried expo 49 ~ 51, but none of versions work.

AppKit SDK version
"@web3modal/ethers-react-native": "^2.0.0",
Output of npx react-native info
OS: macOS 14.5
CPU: (10) arm64 Apple M2 Pro
Memory: 370.58 MB / 32.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 20.11.1
path: ~/.nvm/versions/node/v20.11.1/bin/node
Yarn:
version: 1.22.19
path: /usr/local/bin/yarn
npm:
version: 10.2.4
path: ~/.nvm/versions/node/v20.11.1/bin/npm
Watchman:
version: 2<IP_ADDRESS>
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.15.2
path: /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.5
- iOS 17.5
- macOS 14.5
- tvOS 17.5
- visionOS 1.2
- watchOS 10.5
Android SDK: Not Found
IDEs:
Android Studio: 2022.2 AI-222.4459.24.2221.9971841
Xcode:
version: 15.4/15F31d
path: /usr/bin/xcodebuild
Languages:
Java:
version: 11.0.20
path: /opt/homebrew/opt/openjdk@11/bin/javac
Ruby:
version: 2.6.10
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.73.6
wanted: 0.73.6
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: Not found
newArchEnabled: Not found
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
Expo Version (if applies)
50.0.0
Steps to reproduce
expo init my-new-project
--blank
cd my-new-project
npx expo install @web3modal/ethers-react-native ethers
npx expo install @react-native-async-storage/async-storage react-native-get-random-values react-native-svg react-native-modal @react-native-community/netinfo @walletconnect/react-native-compat expo-application
App.js:
import { StatusBar } from "expo-status-bar";
import { StyleSheet, Text, View } from "react-native";
import "@walletconnect/react-native-compat";
import {
createWeb3Modal,
defaultConfig,
Web3Modal,
} from "@web3modal/ethers-react-native";
// 1. Get projectId from https://cloud.walletconnect.com
const projectId = "--------------";
// 2. Create config
const metadata = {
name: "AppKit RN",
description: "AppKit RN Example",
url: "https://walletconnect.com",
icons: ["https://avatars.githubusercontent.com/u/37784886"],
redirect: {
native: "YOUR_APP_SCHEME://",
},
};
const config = defaultConfig({ metadata });
// 3. Define your chains
const mainnet = {
chainId: 1,
name: "Ethereum",
currency: "ETH",
explorerUrl: "https://etherscan.io",
rpcUrl: "https://cloudflare-eth.com",
};
const polygon = {
chainId: 137,
name: "Polygon",
currency: "MATIC",
explorerUrl: "https://polygonscan.com",
rpcUrl: "https://polygon-rpc.com",
};
const chains = [mainnet, polygon];
// 4. Create modal
createWeb3Modal({
projectId,
chains,
config,
enableAnalytics: true, // Optional - defaults to your Cloud configuration
});
export default function App() {
return (

Open up App.js to start working on your app!

);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: "#fff",
alignItems: "center",
justifyContent: "center",
},
});
Snack, code example, screenshot, or link to a repository
package.json:
{
"name": "my-new-project_2",
"version": "1.0.0",
"main": "expo/AppEntry.js",
"scripts": {
"start": "expo start --dev-client",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web"
},
"dependencies": {
"@react-native-async-storage/async-storage": "1.21.0",
"@react-native-community/netinfo": "11.1.0",
"@walletconnect/ethereum-provider": "^2.14.0",
"@walletconnect/react-native-compat": "^2.14.0",
"@web3modal/ethers-react-native": "^2.0.0",
"ethers": "^6.13.1",
"expo": "^50.0.0",
"expo-application": "~5.8.4",
"expo-status-bar": "~1.11.1",
"react": "18.2.0",
"react-native": "0.73.6",
"react-native-get-random-values": "~1.8.0",
"react-native-modal": "^13.0.1",
"react-native-svg": "14.1.0"
},
"devDependencies": {
"@babel/core": "^7.20.0"
},
"private": true
}

Hey @GaryJC 👋  thanks for reporting. I'll look into it

It's a conflict between valtio versions. Can you add "valtio": "1.10.5" as a dependency in your package.json and install the deps again?

Hey @ignaciosantise, thanks for replaying. It actually worked!
I've found a way to solve it either:
must installing npx expo install @walletconnect/modal-react-native first
then installing npx expo install @web3modal/ethers-react-native ethers, and npx expo install @react-native-async-storage/async-storage react-native-get-random-values react-native-svg react-native-modal @react-native-community/netinfo @walletconnect/react-native-compat expo-application.
The key point is installing the @walletconnect/modal-react-native before installing other relevant packages. I don't know why the order is important but it worked.
Anyway, your answer is definitely more simple and straightforward. Thanks again!

Hey @ignaciosantise, thanks for replaying. It actually worked!
I've found a way to solve it either:
must installing npx expo install @walletconnect/modal-react-native first
then installing npx expo install @web3modal/ethers-react-native ethers, and npx expo install @react-native-async-storage/async-storage react-native-get-random-values react-native-svg react-native-modal @react-native-community/netinfo @walletconnect/react-native-compat expo-application.
The key point is installing the @walletconnect/modal-react-native before installing other relevant packages. I don't know why the order is important but it worked.
Anyway, your answer is definitely more simple and straightforward. Thanks again!

Great 🤝 I'll release a new version soon that bumps valtio to 1.11.2 to avoid conflict with versions.


Should limit the size of logs of tf_operator container

I have a kubeflow deployment, after 4 months of usage, the  tf_operator containers used about 40GB of disk for logs storage. I know the logs can be directed to stderr to save disk space. But can we limit the size of the overall logs?

@372046933 do you not have any type of log rotation mechanism running on your cluster?
@richardsliu Do we have ksonnet parameters that control the log verbosity?
If I did the math right; 40GB in Month works out to ~300MB per day. Does that seem right?
We log a lot of stuff related to each job so amount of logs will increase with the number of jobs. So that could explain it.

@richardsliu Is there more work to do here or should we close this out?

I would keep this open but maybe lower its priority.

/assign @zabbasi

Moving out of 0.5.

We recompiled TFjob-operator and changed the log level.


adding in quorumengineering namespace to docker

adding in quorumengineering as the new namespace and pegasyseng as the secondary in prep for sunsetting pegasyseng in 2020

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Сan I run accessories with virtual hostname?

Can i run accessories with a virtual hostname?  for example:
hostname: postgres_container

Sorry, very late to answering this, but yes you can do this be specifying accessory options which are passed to the docker run command:
So something like:
accessories:
  busybox:
    service: custom-busybox
    image: registry:4443/busybox:1.36.0
    cmd: sh -c 'echo "Starting busybox..."; trap exit term; while true; do sleep 1; done'
    options:
      hostname: foo
    roles:
      - web

That starts the container with:
$ docker run --name custom-busybox --detach --restart unless-stopped --log-opt max-size="10m" --env-file .kamal/env/accessories/custom-busybox.env --label service="custom-busybox" --hostname "foo" registry:4443/busybox:1.36.0 sh -c 'echo "Starting busybox..."; trap exit term; while true; do sleep 1; done'

If you start that accessory and then on the host run this, you'll see:
$ docker exec -it custom-busybox hostname
foo


Enhancement when customize target is empty

Make sure if customized target is empty only default customized target will run in jenkins job. Otherwise it will run the whole test set.
Signed-off-by: Sophia Guo<EMAIL_ADDRESS>

Problematic build : https://ci.adoptopenjdk.net/view/work in progress/job/Grinder_Sandbox/545/
Fix: https://ci.adoptopenjdk.net/view/work in progress/job/Grinder_Sandbox/549/


Added description for Reinforcement Learning

Described the similarity of Reinforcement Learning with Supervised and Unsupervised Learning.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Looks good to me, and congratulations on your first Pull Request!  🎉🎉🎉
We look forward to future contributions!


Solving the issue with the navbar during navigation with other changes on landing page

Is your feature request related to a problem? Please describe.
The navbar shows the home tab active even on the service section.  And have some minute problems on the landing page like on service buttons the link in the text, not the button, and some more. Also the positioning of the image.
Describe the solution you'd like
I will correct the navigation and other problems on the landing page.

@shivshankar9 @aakankshabhende Please assign this issue to me.

@shivshankar9 @aakankshabhende Please check PR : #186


Fix SecRemoteRules regression test not to depend on a specific error message

what
Simplify the Include remote rules - failed download (Abort) test expected parser error because it's not always the same in different curl/OS versions.
why
This was detected after an update of the GitHub runner images to macOS 14.6 released yesterday:
Current runner version: '2.317.0'
Operating System
  macOS
  14.6
  23G80
Runner Image
  Image: macos-14-arm64
  Version: 20240805.3

Builds that were assigned a macOS runner image with this version would fail when running the test/test-cases/regression/config-secremoterules.json regression tests.
The test configuration depends on a specific error message from curl/OS (HTTP response code said error), which seems to have changed (Failure when receiving data from the peer).
This PR simplifies the test configuration and look just for Failed to download, which is the prefix added by the libModSecurity parser when logging the parser error.

airween@, notice that the macOS builds triggered by the creation of the PR were assigned a macOS 14.5 runner, so them passing do not prove that the change fixes the issue.
Current runner version: '2.317.0'
Operating System
  macOS
  14.5
  23F79
Runner Image
  Image: macos-14-arm64
  Version: 20240728.1

You should retrigger them until you see that they're run on a macOS 14.6 runner.


CI Dockerfile for ngraph-onnx testing using iGPU

A while back I changed CI flow to use docker image built in separate job and pished to repository, instead of building one each time CI is run. I'd need to modify CI to include new images.
There's important thing to consider if You want to enable CI on iGPU device as a step in a larger CI pipeline. Should iGPU and CPU tests run on different nodes? Example iGPU on NUC with Intel Iris Pro and CPU on SKX or BDW server. Or is it fine to run both CPU and iGPU tests on NUC?
We need to either change CI flow to run different images on different nodes or have more NUCs dedicated to CI.


Issue in creating new routes/route domains with Declarative Onboarding

So a snippet of my declaration currently looks like:
"GW-VLAN81":{
"class":"Route",
"gw": "<IP_ADDRESS>%2",
"network": "<IP_ADDRESS>%2/0"
},
And I get the following error:
{
"id": "2db4286e-6c95-4d60-8c2d-0bff7908e1a8",
"selfLink": "https://localhost/mgmt/shared/declarative-onboarding/task/2db4286e-6c95-4d60-8c2d-0bff7908e1a8",
"code": 422,
"status": "ERROR",
"message": "invalid config - rolled back",
"errors": [
"transaction failed:01070712:3: Cannot create static route: <IP_ADDRESS>%2/0 gw <IP_ADDRESS>%2 on interface  in rd2 - netlink error: 101 (Network is unreachable)",
"transaction failed:01070712:3: Cannot create static route: <IP_ADDRESS>%2/0 gw <IP_ADDRESS>%2 on interface  in rd2 - netlink error: 101 (Network is unreachable)"
],
"result": {
"class": "Result",
"code": 422,
"status": "ERROR",
"dryRun": false,
"message": "invalid config - rolled back",
"errors": [
"transaction failed:01070712:3: Cannot create static route: <IP_ADDRESS>%2/0 gw <IP_ADDRESS>%2 on interface  in rd2 - netlink error: 101 (Network is unreachable)",
"transaction failed:01070712:3: Cannot create static route: <IP_ADDRESS>%2/0 gw <IP_ADDRESS>%2 on interface  in rd2 - netlink error: 101 (Network is unreachable)"
]
},
Able to run the following command successfully within tmsh:
vlanID=81           # VLAN ID
rdID=2               # Route Domain ID
rdGWIP=<IP_ADDRESS>   # Route Domain Gateway IP
#ACTIVE: Create a gateway with route domain on active unit only
tmsh create net route GW-VLAN$vlanID
description "Route domain gateway for VLAN$vlanID"
network default%$rdID
gw $rdGWIP%$rdID
Any information/guidance would be much appreciated.
Thanks,
-Chris Mac.

Referencing F5 Support Case #C3663598

After variable substitution, it looks like your tmsh command is effectively:
tmsh create net route GW-VLAN81 network default%2 gw <IP_ADDRESS>%2

However, the DO snippet you provided would be equivalent to:
tmsh create net route GW-VLAN81 network <IP_ADDRESS>%2/0 gw <IP_ADDRESS>%2

Does this second command work for you on tmsh?


fix: import maps does not work on local files

When you specify a local file as an import map, Lume raises an error even when the specified file is a valid import map.
$ lume --serve -- --import-map=./import_map.json
Error: Unable to load the import map file
- mapFile: ./import_map.json
    at getImportMap (https://deno.land/x/lume@v1.4.1/ci.ts:53:13)
    at async getArgs (https://deno.land/x/lume@v1.4.1/ci.ts:95:33)
    at async main (https://deno.land/x/lume@v1.4.1/ci.ts:103:32)
    at async (https://deno.land/x/lume@v1.4.1/cli.ts:150:5)

Caused by TypeError: Invalid URL
    at Object.opSync (deno:core/01_core.js:149:12)
    at opUrlParse (deno:ext/url/00_url.js:47:27)
    at new URL (deno:ext/url/00_url.js:320:20)
    at new Request (deno:ext/fetch/23_request.js:241:27)
    at (deno:ext/fetch/26_fetch.js:396:29)
    at fetch (deno:ext/fetch/26_fetch.js:392:12)
    at getImportMap (https://deno.land/x/lume@v1.4.1/ci.ts:48:33)
    at getArgs (https://deno.land/x/lume@v1.4.1/ci.ts:95:39)
    at main (https://deno.land/x/lume@v1.4.1/ci.ts:103:38)

This PR resolves this.

Nice!
Just one comment: maybe it's better to use toFileUrl function of the std library<EMAIL_ADDRESS>It looks more stronger and it can handle paths on Windows environment.

Wow, that's handy. I'll update the code later.

Updated!
I have no windows environment so I couldn't test it on windows. On macOS it works properly.

Perfect. Thank you!


[Compute] BREAKING CHANGE: Select a valid username if the default username is invalid

Description

Resolve https://github.com/Azure/azure-cli/issues/14265
Before
When --admin-username is not provided in az vm create, the default is to get the current username of the logged in account of OS. Azure has a banned list of usernames. If the current username is invalid, the command will fail.
After
Azure CLI will select a valid username if the default one if invalid.
Testing Guide

Set your system's username as root, run az vm create without --admin-username.
History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

Compute

@Drewm3
Could you help confirm the correctness of this list? It is a list of magic string literals in Azure CLI's source code.
This is a list of reserved names that cannot be used as admin username of VM.
# A list of reserved names that cannot be used as admin username of VM.
disallowed_user_names = [
        "administrator", "admin", "user", "user1", "test", "user2",
        "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm",
        "admin2", "aspnet", "backup", "console", "guest",
        "owner", "root", "server", "sql", "support", "support_388945a0",
        "sys", "test2", "test3", "user4", "user5"]

since this is a breaking change, just want to know why it's necessary.

since this is a breaking change, just want to know why it's necessary.

It is not a breaking change like typical ones. It will not break successful use case. It make command not fail. I don't think users expect commands to fail. Let me delete this term.

The reserved name list is confirmed by service people in internal email.


Add R_RISCV_SET_ULEB128 and R_RISCV_SUB_ULEB128.

Sorry for re-createing the pull request, because I deleted my fork of the previous pull request (https://github.com/riscv/riscv-elf-psabi-doc/pull/124).
Since the number 58 is occupied by R_RISCV_IRELATIVE. So I update relocation numbers of  R_RISCV_SET_ULEB128  and R_RISCV_SUB_ULEB128.

Latest version of this patch:
https://sourceware.org/pipermail/binutils/2020-January/109672.html
There is two issue left in last PR:

From @jim-wilson

The assumption that the uleb128 address size can only decrease with relaxation is true only if both addresses are in the same section. If we are subtracting a text section address from a data section address, then that value could increase due to alignment padding between sections/segments. So I think these relocs should only be allowed when the symbols are in the same section. I think the binutils patch should be fixed to enforce this.

@kuanlinchentw I am not family with binutils code especially for linker part, did you have handle this on your latest patch?

From @MaskRay

Apologies for making a comment without reading all previous discussions. I am a bit concerned about a relocation type without a clear width. See http://sourceware.org/PR4029 for an example that oscillating .uleb128 caused a bug. I don't really read through Alan Modra's workaround but I think it is about overaligning the label immediately preceding Type Tables. It works before type tables are accessed by adding a negative offset to TTBase.

@MaskRay I think that issue is happens on assemble time, it seems like not related to linker time, and I think it's hard to describe that clear width, or maybe we could add note that and mention this should not shirk the size after relaxation?

The assumption that the uleb128 address size can only decrease with relaxation is true only if both addresses are in the same section. If we are subtracting a text section address from a data section address, then that value could increase due to alignment padding between sections/segments. So I think these relocs should only be allowed when the symbols are in the same section. I think the binutils patch should be fixed to enforce this.

A uleb128 subtraction expression is only allowed both addresses in the same section currently.

Apologies for making a comment without reading all previous discussions. I am a bit concerned about a relocation type without a clear width. See http://sourceware.org/PR4029 for an example that oscillating .uleb128 caused a bug. I don't really read through Alan Modra's workaround but I think it is about overaligning the label immediately preceding Type Tables. It works before type tables are accessed by adding a negative offset to TTBase.

The linker relaxation for uleb128 should not shrink even the value could be represented with shorter length, it should pad with 0x80 to keep the same length just as before the relaxation.

The linker relaxation for uleb128 should not shrink even the value could be represented with shorter length, it should pad with 0x80 to keep the same length just as before the relaxation.

@kuanlinchentw could you write this down into the document?
https://github.com/riscv/riscv-elf-psabi-doc/blob/master/riscv-elf.md#code-relax


Turn _sample_x() into valid overrides

This is only type annotations changes; no runtime changes, so I'll just merge this.


Center table

Please make sure these boxes are checked before submitting your PR, thank you!

[ ] Make sure you follow Element's contributing guide (中文 | English | Español).
[ ] Make sure you are merging your commits to dev branch.
[ ] Add some descriptions and refer relative issues for you PR.

This actually cannot center the <table>.


Trouble getting bootstrap glyphicons to work

I'm attempting to use the standard bootstrap glyphicons in my app but it appears that the fonts aren't being used, although the files are generated and I'm not seeing errors.
Here are my loaders:
        loaders: [
            { test: /\.css$/, loader: "style!css" },
            { test: /\.(jsx|js)$/, loaders: ['jsx'] },
            { test: /\.styl$/, loader: 'style-loader!css-loader!stylus-loader' },
            {
                test: /\.(otf|eot|svg|ttf|woff)/,
                loader: 'url-loader?limit=8192'
            }
        ]

Here are a few lines from the generated bundles.js that point to the processed files:
module.exports = __webpack_require__.p + "7ad17c6085dee9a33787bac28fb23d46.eot"
...
module.exports = __webpack_require__.p + "e49d52e74b7689a0727def99da31f3eb.ttf"
...
module.exports = __webpack_require__.p + "68ed1dac06bf0409c18ae7bc62889170.woff"
...
module.exports = "module.exports = __webpack_public_path__ + \"ff423a4251cf2986555523dfe315c42b.svg\""

I see the following in the webpack-dev-server output:
                                Asset     Size  Chunks             Chunk Names
 7ad17c6085dee9a33787bac28fb23d46.eot    20335          [emitted]
68ed1dac06bf0409c18ae7bc62889170.woff    23320          [emitted]
 e49d52e74b7689a0727def99da31f3eb.ttf    41280          [emitted]
 ff423a4251cf2986555523dfe315c42b.svg    62926          [emitted]
                            bundle.js  2143250       0  [emitted]  main
chunk    {0} bundle.js (main) 2024166 [rendered]

I'm using the unminified bootstrap.css and requiring that in my app. Any guidance you can give me for troubleshooting this?
Thanks!
-Tom

Any luck on this?

I'm also having this issue.

I also have this issue, any luck?

Also having the same issue. Any path to success?

Make sure you don't have two loaders processing the same file, that was the issue in my case

Actually, I think my problem is a bit different. I am loading bootstrap sass and webpack is blowing up trying to resolve the font file references. Thanks @clauderic but I think I need to poke around elsewhere....

You can always skip the loaders entirely by using the absolute path to the fonts in your css, something along the lines of url('/fonts/font.ttf'), in which case webpack will not try to parse the font files at all

@clauderic Yeah, that is sort of my plan. I don't want all of the bootstrap component partials anyway, so I am creating my own sass file which brings in the core and cherry picking the bootstrap components I want. In doing so I can easily leave out the import of the glyphicons partial and make my own. So problem solved! Thanks for the quick reply.

I had this issue too, my problem was I had the svg-loader loader and also the .svg url loader.
Here is a working bootstrap webpack with working glyphicons.
'use strict';

var webpack = require('webpack');

module.exports = {
    context: __dirname + '/app',
    entry: './main.js',
    output: {
        path: __dirname + '/client',
        filename: 'bundle.js'
    },
    module: {
        preLoaders: [
            {test: /\.js$/, exclude: /node_modules/, loader: 'jshint-loader'}
        ],
        loaders: [
            {test: /bootstrap\/js\//, loader: 'imports?jQuery=jquery' },
            {test: /\.less$/, loader: 'style-loader!css-loader!less-loader'},
            {test: /\.css$/, loader: 'style-loader!css-loader'},
            {test: /\.woff(2)?(\?v=\d+\.\d+\.\d+)?$/, loader: "url?limit=10000&mimetype=application/font-woff" },
            {test: /\.ttf(\?v=\d+\.\d+\.\d+)?$/, loader: "url?limit=10000&mimetype=application/octet-stream" },
            {test: /\.eot(\?v=\d+\.\d+\.\d+)?$/, loader: "file" },
            {test: /\.svg(\?v=\d+\.\d+\.\d+)?$/, loader: "url?limit=10000&mimetype=image/svg+xml" }
        ]
    }
};

Then in your JavaScript:
require('bootstrap/less/bootstrap.less');

Thanks @llambda, I did not try your solution as I am cherry picking the sass modules I need. But, thanks for chiming in!

Any news about this question?

You have to require the bootstrap.less, not the bootstrap.css, otherwise you won't get the fonts loaded.

I was having the same issue and then I realized that if my fonts are in the root of my project it works. My app compiles to a folder called "build", which is where the fonts are being output to.
I'm new to this whole webpack thing. Is there a way I can get the project to see the fonts in the "build" folder?

The solution that worked for me:
Check your "publicPath" attribute in webpack.config.js.
for instance:
entry: path.resolve(__dirname, 'app/index.js'),
output: {
path: path.resolve(__dirname, 'build'),
filename: 'bundle.js',
publicPath: 'build/'
}

@SkateFreak Thanks! That worked perfectly!

@tombray Safe to close?

Looks safe, the @llambda hint worked here

@SkateFreak You saved my day :)

@clauderic Your answer was perfect for me. keep up the good work

@clauderic
unfortunately this did not work for me:
loaders: [
{
test: /.woff($|?)|.woff2($|?)|.ttf($|?)|.eot($|?)|.svg($|?)/,
loader: 'url-loader'
}
]
but changing it to this did solve it for me:
loaders: [
{
test: /.woff$|.woff2$|.ttf$|.eot$|.svg$/,
loader: 'url-loader'
}
]
so basically, the difference was removing the following from each file type:
|?)
and then i also had to remove all the left parenthesis
Can someone please help me understand why that lucky experimentation worked?

I faced a similar problem tonight and wrote up my solution. Just in case it can help anyone here:
https://gist.github.com/thejohnfreeman/563337119e20d090ea2d22bee9b05a6b

I'm experiencing a problem with fonts NOT loading with webpack-dev-server only vs. using webpack build is fine. In both cases the fonts are "found" and processed. For build they are written to disk correctly and are served up to browser just fine. But for webpack-dev-server, even though it says the fonts are emitted I get a 404 on the fonts in Chrome, Firefox, and IE for the fonts.
I'm using Webpack 2.2.1 and webpack-dev-server 2.3.  Also using file-loader directly for fonts and url-loader only for images with specific regex's for each font. A ttf example below.
Any help would be appreciated.
Thanks.
webpack-dev-server-output
  ../fonts/glyphicons-halflings-regular.eot    20.1 kB          [emitted]
  ../fonts/glyphicons-halflings-regular.svg     109 kB          [emitted]
 ../fonts/glyphicons-halflings-regular.woff    23.4 kB          [emitted]
../fonts/glyphicons-halflings-regular.woff2      18 kB          [emitted]

webpack.config.js

    devServer: {
       contentBase: 'apps/' + appName,   // points to root of app
       https: false
    },
.
.
.
{
	test: /\.ttf$/,
	use: 'file-loader?name=[name].[ext]&outputPath=../fonts/&publicPath=/dist/fonts/&mimetype=application/octet-stream'
}

@jimbarrett33 I was facing the same problem you have mentioned and using the solution provided by @SkateFreak at https://github.com/webpack/webpack/issues/597#issuecomment-141787044 helped me resolve the problem
Before specifying the output.publicPath option this is what I was seeing

After adding that option the expected output as below:

I am using webpack 2.4.1 and webpack-dev-server 2.4.4
example_application/webpack.config.js
Before
var path = require("path");

module.exports = {
  entry: {
    app: [
      "./src/index.js"
    ]
  },

  output: {
    path: path.resolve(__dirname + "/dist"),
    filename: '[name].js',
  },

  module: {
    rules: [
      {
        test: /\.(css|scss)$/,
        use: [
          'style-loader',
          'css-loader'
        ]
      },
      {
        test: /\.html$/,
        exclude: /node_modules/,
        loader: 'file-loader?name=[name].[ext]'
      },
      {
        test: /\.elm$/,
        exclude: [ /elm-stuff/, /node_modules/ ],
        loader: 'elm-webpack-loader?verbose=true&warn=true'
      },
      {
        test: /\.woff(2)?(\?v=[0-9]\.[0-9]\.[0-9])?$/,
        loader: 'url-loader?limit=10000&mimetype=application/font-woff'
      },
      {
        test: /\.(ttf|eot|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
        loader: 'file-loader'
      }
    ],

    noParse: /\.elm$/
  },

  devServer: {
    inline: true,
    stats: { colors: true },
    historyApiFallback: true
  }
};

After
....

module.exports = {
  ....

  output: {
    path: path.resolve(__dirname + "/dist"),
    filename: '[name].js',
    publicPath: "/"  // <-------------------------- added this
 }

...
...

I also found various other links on web which mentioned about this problem and solutions suggested were to modify loader configuration and changing output file location etc. But I think that was not the problem in my case i.e. for development purpose. To get to the root cause of the problem I tried to inquire into why 404 is being returned when the logs show that the chunks are emitted.

I tried to find out where the emitted resources are generated and this took me looking for where the hell these emitted chunks are stored on my dev machine file-system. But I couldn't find them. Tried to go through webpack docs and also searched on web for knowing about the default location on file-system webpack generates files to. Unfortunately no luck.
Then I shifted my focus from webpack to webpack-dev-server because at the end it is webpack-dev-server which is serving the resources and hence I started my finding in direction of where does webpack-dev-server generates the processed files and I found following SO posts wherein I discovered that  webpack-dev-server uses webpack-dev-middleware under the hood, which internally uses a in-memory file system and the processed and emitted files are stored on and served from this in-memory file system.
http://stackoverflow.com/questions/33318457/bundle-js-file-output-and-webpack-dev-server
http://stackoverflow.com/questions/31967771/where-do-the-webpack-output-files-from-the-react-hot-loader-go
http://stackoverflow.com/questions/41309796/isnt-webpack-dev-server-generating-bundle-js-in-memory
I digged into the webpack-dev-middleware source code and found that it uses memory-fs which is a simple in-memory filesystem and Holds data in a javascript object.
And here is how webpack-dev-server uses webpackDevMiddleware
// middleware for serving webpack bundle
this.middleware = webpackDevMiddleware(compiler, options);

Then I tried to find out from where those options are coming (in execution sequence ):
processOptions(wpOpt); -- webpack/webpack-dev-server/../bin/webpack-dev-server.js#L430
function processOptions(wpOpt) { -- webpack/webpack-dev-server/../bin/webpack-dev-server.js#L196

in  processOptions(wpOpt) function
 	if(!options.publicPath) {
		options.publicPath = firstWpOpt.output && firstWpOpt.output.publicPath || "";
		if(!/^(https?:)?\/\//.test(options.publicPath) && options.publicPath[0] !== "/")
			options.publicPath = `/${options.publicPath}`;
	}

As can be seen  we can specify webpack-dev-server specific publicPath  option probably in object shown below in and defined in our webpack.config.js .
  devServer: {
    inline: true,
    stats: { colors: true },
    historyApiFallback: true
  }

But if that is not specified webpack-dev-server falls back to webpack's output.publicPath option. Again if it is not found set in case of development mode then it is set as an empty string "".
And this option is then further passed to the Server initialization.

server = new Server(compiler, options); -- webpack/webpack-dev-server/../bin/webpack-dev-server.js
function Server(compiler, options) { -- webpack/webpack-dev-server/../lib/Server.js#L21
Knowing the internal workings re-reading the documentation of webpack's output.publicPath option  here is making sense now.

P.S I am very much new to this webpack, NodeJS, modules and related-stuff. I am first-time using webpack while trying to follow a Elm-Lang tutorial and while doing that encountered problem of fonts not getting loaded and hence my journey of finding a solution to it and understanding this whole thing. If any of the above information or understanding of mine I have shared has any mistakes please be kind enough to rectify those and informing me know about those.
Thanks for taking the time to read through this.

@jiggneshhgohel Thanks for sharing your thought process, mate!

@jiggneshhgohel : thanks a lot for the detailed information. I had the same question on StackOverflow and your answer is right to the point.
Please copy/paste my answer over there if you wish (and remove the top part, and maybe copy/paste your info from GitHub over there?), so that I can accept it, I will then delete mine as I had no contribution to the solution.

@wsw70 I don't think it would be worth to copy all the details from here to answer your question on Stackoverflow. I think you have summarized it well and I am up-voting the answer :-)
Thanks.

@SkateFreak Thanks your sharing.  It Fixed my path issue.  But after I modify it to new value publicPath:'newValue' .  The npm webServer hot-reload is not working...Anyone have some idea?


feat: add support for SINTERCARD command

resolve #2289

Thanks

@vmihailenco Thanks for reviewing, when would be the next release? I'm actually in much need of this feature in next version.:smiley:

@boatrainlsz I will tag v9.0.0-rc.2

@boatrainlsz I will tag v9.0.0-rc.2

much appreciated


ROS ISO - Hosts unable to reach each other within environment.

RancherOS Version: (ros os version)
1.4 ( https://storage.googleapis.com/ros-images/rancheros-mud-2.iso)
Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.)
vSphere
Created independent ROS instance with listed ISO running 1.6 rancher.
Created separate ROS host with 4 OUD, all OUD on same  user-defined network. (system-docker network create --subnet=<IP_ADDRESS>/16 dind)
Added 2 OUD to default environment.
Added 2 OUD to second environment.
Hosts/Containers are unable to reach each other inside the same environments.

Hosts were able to reach other. I just pulled the trigger on this too early.


Add support for a compile database file not at the root of a workspace

Introduce a new command-line flag (--compile-db-search-path) to sourcekit-lsp, which can be used to specify which subdirectories in a workspace should be searched for a clangd-style compile database (compile_commands.json or compile_flags.txt). Originally, I was going to add a clangd-like --compile-commands-dir flag, but upon further investigation decided this wasn't a good approach, as sourcekit-lsp supports multiple workspaces and clangd does not. In a world with multiple workspaces it does not make sense to specify a single absolute path to a compile-database, so instead I opted for a set of relative search paths, which apply to all databases managed by a particular instance of sourcekit-lsp.

I would like to think about the naming of the command line option a little bit more. I’m not unconditionally happy with it but don’t have any better ideas either, so maybe it’s fine. @bnbarham Maybe you’ve got an opinion here as well.

No particularly strong ones. compile-commands-search-path maybe?

No particularly strong ones. compile-commands-search-path maybe?

This confused me when I was looking into this. I was used to "compile_commands.json", but the term "compile database" is more accurate (and what is used in the sourcekit-lsp code itself), since you could use "compile_flags.txt" as well. If we were being 100% pedantic (and we are all Swift developers, no? 😜) it would be something like "clang-style-compile-database-search-path", but even that may not be 100% correct. I think the current form is a good balance between being specific and being correct and not being too wordy, and the help text is pretty explicit which helps.

No particularly strong ones. compile-commands-search-path maybe?

I think compilation-db-search-path  is better because it also handles compile_flags.txt. For the lack of better ideas, let’s leave it for now.

Updated comments, and squash-force0pushed... do you guys not use GitHub's "squash and merge"?

Updated comments, and squash-force0pushed... do you guys not use GitHub's "squash and merge"?

I prefer not to squash and merge for the reasons outlined here: https://github.com/apple/swift-syntax/blob/main/CONTRIBUTING.md#authoring-commits

@swift-ci Please test

@swift-ci Please test Windows

Thanks for working with me on this @ahoppen!

Thanks for your contribution!


Active/inactive attendee statistics for last X days for dashboard, team, event

@JoshOldenburg maybe tack onto #511

All time for event, last two weeks for the other two