Update free-programming-books-id.md

What does this PR do?
Add Resource(s) | Remove Resource(s) | Add info | Improve Repo
For resources
Description
Why is this valuable (or not)
How do we know it's really free?
For book lists, is it a book?
Checklist:

[ ] Not a duplicate
[ ] Included author(s) if appropriate
[ ] Lists are in alphabetical order
[ ] Needed indications added (PDF, access notes, under construction)

most of the links on that page are dead. If there is a particular book(s) that you want to add, list it individually post a working link.

i want to ask. why i can't pull request using github web? the button is disabled (greyed out), why? . anyone can help me? btw sorry for my bad english

Maybe because it's already a pull request?


Use the same aws-sdk-go version mentionned in the go.mod file to generate code

Issue #321
Description of changes:

Add getSDKVersion function to extract the aws-sdk-go version to use
Remove --depth=1 flag from the git pull command to allow easier switches between versions/tags
Use git checkout instead of git pull

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Note to reviewers: Users will need to remove the old cache, because git checkout doesn't work as expected after a git clone --depth=1 .
I'm thinking about adding some logic to handle this specific case. Ideally delete the cache if number of commits is 1...

++


Move Coverage reporting to latest env

Requiring php-coveralls results in a full update of all dependencies instead of composer installing the versions mentioned in the composer.lock

@Koopzington This will slow down the tests a lot as generating the code coverage and looking up the latest versions both takes additional time and should be spitted over different build jobs

uhm... what would slow the tests down? It's not like i added some new feature, i merely moved the execution to the environment where it's supposed to be.
Build execution times haven't increased either compared to the one before this one:
https://travis-ci.org/zendframework/zend-cache/builds/159688399
https://travis-ci.org/zendframework/zend-cache/builds/152799417

@Koopzington Oh you are right - installing the latest dependencies only takes some seconds more than installing from lock. the biggest overhead comes from code coverage (~2mins more) but we have to do it at least once


Various coverage improvements

Pull Request Test Coverage Report for Build #3

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+5.5%) to 88.608%

Totals

Change from base Build #2:
5.5%

Covered Lines:
210

Relevant Lines:
237

💛  - Coveralls


Usage with GL

Hello, wgpu can't compile on my ubuntu machine for some reason, so I need to use OpenGL backend. Can you please provide some guidance on how to do that?

I figured it out using https://crates.io/crates/egui_render_glow - even though it states it's merged into egui_backend, I couldn't figure it out without it

haven't published the latest version of egui_backend crate yet.
Multiple crate are a pain, so i am just putting all backends (glfw/winit/sdl2 as well as wgpu/opengl) in the same crate behind feature gates. will soon merge it after i properly check hidpi support on all of them on linux + windows.


xfail the tpch spark 3.1.0 tests that fail

Some spark 3.1.0 tests I didn't catch running manually because needed standalone cluster and input files specified to run these.
followup issue: https://github.com/NVIDIA/spark-rapids/issues/586 to fix correctly.
Signed-off-by: Thomas Graves<EMAIL_ADDRESS>

build


Inline YouTube video is not playing in Picture-in-Picture mode even after setting allowsPictureInPictureMediaPlayback and playsinline  properties to true

What happened?
I have enabled background modes in capabilities and set player configuration properties 'playsinline' and 'allowsPictureInPictureMediaPlayback' to true. However, when the app goes into the background, the video is not playing in Picture-in-Picture mode, and the app stops playing the video completely.
Picture-in-Picture mode is working properly when the app is playing the video in fullscreen mode. Please have a look at the code and the attached screenshot.
It seems that setting 'allowsPictureInPictureMediaPlayback' to true or false is not making any difference in the way the library plays the video.
please have a look at the code and attachement.
If there are any missing settings in the configuration or if any other settings are needed in the code, please let me know. Additionally, if Picture-in-Picture (PIP) is not possible even after setting above properties to true, please inform me as well.
Thank you for the great library.
@main
class AppDelegate: UIResponder, UIApplicationDelegate {

    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
        do {
            try AVAudioSession.sharedInstance().setCategory(.playback)
            try AVAudioSession.sharedInstance().setActive(true, options: [])
        } catch {
            print("Setting category to AVAudioSessionCategoryPlayback failed.")
        }
        return true
    }
}

override func viewDidLoad() {
        super.viewDidLoad()
        let configuration = YouTubePlayer.Configuration(
            // Define which fullscreen mode should be used (system or web)
            allowsPictureInPictureMediaPlayback : true,
            fullscreenMode: .system,
            // Custom action to perform when a URL gets opened
            // Enable auto play
            autoPlay: true,
            // Hide controls
            showControls: true,
            // Enable loop
            loopEnabled: true,
            playInline: true

        )
        let source = YouTubePlayer.Source.video(id: "tlfmyWpI9yA")
        let player = YouTubePlayer.init(source: source, configuration: configuration)
        let hostingView = YouTubePlayerHostingView.init(player: player)
        ytPlayerView.addSubview(hostingView)

        hostingView.snp.makeConstraints { make in
            make.edges.equalTo(ytPlayerView)
        }
        player.play()
    }

What are the steps to reproduce?
Enable Background modes for Picture-in-Picture (PIP) playback, set 'playsinline' and 'allowsPictureInPictureMediaPlayback' to true, start playing the video, then go to background mode.
What is the expected behavior?
As per your comments regarding Picture-in-Picture issues, after enabling Picture-in-Picture mode and setting 'playsinline' and 'allowsPictureInPictureMediaPlayback' properties, the app should automatically play the video in Picture-in-Picture mode when it goes into the background.

hi!
was the problem solved?
if yes, tell me how?
Best regards


destination.labels is ignored in weighted rule

Weighted route rules allow using IstioService object as a way of specifying the destination (https://istio.io/docs/reference/config/traffic-rules/routing-rules.html#destinationweight). IstioService object has the notion of labels, name/namespace, etc. However, the weighted route rule (DestinationWeight object) also has the notion of labels as a separate field. Fortunately, no one has discovered the discrepancy yet. We should fix this by either ignoring the labels in the IstioService object (if so, who is using the labels there?), or by removing the top level labels field from the DestinationWeight object, and asking users to do
metadata:
  name: my-rule
  namespace: default
spec:
  destination:
    name: reviews
  route:
  - destination:
        labels:
         version: v2
    weight: 25
  - destination:
       labels:
        version: v1
    weight: 75

While the above format adds another nesting layer, the advantage is that users can now do cross namespace routing easily.
cc @frankbu @ijsnellf @GregHanson @kyessenov
( @ijsnellf / @GregHanson can one of you take up this issue?)

Deprecating labels in destination weight would be nice (although a bit verbose).
I think the code does check for this case, or least it's documented here: https://github.com/istio/api/blob/master/proxy/v1/config/route_rule.proto#L157

At one point during the design we had two different proto messages for the source and destination fields, because destinations don't use labels. We simplified to use IstioService for both and added the doc: "When used for a RouteRule destination, labels MUST be empty."

Issue moved to istio/istio #1361 via ZenHub

Issue moved to istio/istio #1362 via ZenHub


[QUERY] Test LogAnalyticsClient.QueryWorkspaceAsync

Library name and version
Azure.Monitor.Query 1.2.0
Query/Question
We want to migrate to Azure.Monitor query and need to adapt unit tests. We use logAnalyticsClient.QueryWorkspaceAsync(workspaceId, query2, new QueryTimeRange(TimeSpan.FromDays(7)));
We have read the documentation about the MonitorQueryModelFactory and how it is designed but we miss a concrete example for it as it feels uncomfortable to create the whole nested object of the QueryResults.
Even in the unit tests provided in the your repo no concrete example uses this to mock and test.
Another topic is that the responses and exceptions that can occurs are not well documented. What we can except from the QueryWorkspaceAsync API. Does it throw exceptions in certain cases? When it switches the Success to Error?
We have setup the following mock and ILogAnalyticsClientFactory provides a LogsQueryClient
var logsQueryClient = Mock.Of<LogsQueryClient>();
        Mock.Get(logsQueryClient)
            .Setup(o => o.QueryWorkspaceAsync(It.IsAny<string>(), It.IsAny<string>(), It.IsAny<QueryTimeRange>(), null, default))
            .Returns(Task.FromResult(BuildResponseWithResult()));
var logAnalyticsClientFactory = Mock.Of<ILogAnalyticsClientFactory>();
        Mock.Get(logAnalyticsClientFactory).Setup(x => x.GetClientProvider())
            .Returns(logsQueryClient);

private static Azure.Response<LogsQueryResult> BuildResponseWithResult()
    {
        LogsTableColumn logsTableColumn0 = MonitorQueryModelFactory.LogsTableColumn("Test", LogsColumnType.String);
        LogsTableColumn[] logsTableColumns = new LogsTableColumn[]
           {
                logsTableColumn0
           };
        LogsTableRow[] rowArray = new LogsTableRow[]{
            MonitorQueryModelFactory.LogsTableRow(logsTableColumns, new object[] { "\"PRMStatus\")" })
            };
        LogsTable logsTable = MonitorQueryModelFactory.LogsTable("tester", logsTableColumns.AsEnumerable(), rowArray.AsEnumerable());
       var queryResult = MonitorQueryModelFactory.LogsQueryResult(new List<LogsTable>() { logsTable }, new BinaryData("{}"), new BinaryData("{}"), new BinaryData("{}"));
        return Azure.Response.FromValue(queryResult, Mock.Of<Response>());
    }

Before it was much easier to test  with the QueryResultBuilder

Environment
No response

Thank you for reporting the issue. Tagging and routing to the person best able to assist you.


Sort auto-generated config by offense count (in descending order)

This puts the most important offenses at the top of the file so that developers can address them first.
On the other hand, if a developer has little time, they can address rare offenses at the end of the file quickly.

Currently the issues are sorted alphabetically, right?

Correct. And when I look for issues to deal with, I jump through the entire file back and forth :)

The problem with your idea is that often the offences with the biggest count are not the most important, so I'm not sure that ordering offences by count would brings a lot of benefits.
I also wonder if we shouldn't make this ordering configurable - another sensible order I can think of would be to list warnings first.
@jonas054 What do you think?

@vassilevsky If you have a lot of offenses in .rubocop_todo.yml that you don't intend to fix in the near future, and that are getting in your way, you could move them to a separate file. Then you put
inherit_from:
  - .rubocop_todo_later.yml
  - .rubocop_todo.yml

in .rubocop.yml and manage the .rubocop_todo_later.yml file by hand. Configuration for offenses that you never want to fix should go directly in in .rubocop.yml, by the way.
Adding more command line options and logic would make the automatic config feature too complicated, IMO. We have it to help people who can't fix all the offenses right now, but there's a limit to how much focus we should put on not fixing problems.

I'd much prefer having all the configuration in one single .rubocop.yml file. I always rename .rubocop_todo.yml to .rubocop.yml right after generation and work from there.
I'm not insisting on this change in any way. Alphabetical rules also have their benefits.

Let's keep the current behaviour.

Ha, I came here to suggest sorting from lowest to highest :smile:.
(The reason I was thinking lowest-to-highest is that it feels like it's in the spirit of the --auto-gen-config feature. When introducing rubocop to a codebase with many violations, you'll have quite a long todo file, and the suggested workflow is to work thru the list, enabling cops and following their suggestions. To me, it makes sense to quickly work my way through the easiest fixes that allow me to re-enable some cops quickly, and work my way up to the bigger problems. Alphabetical is cool, but kind of arbitrary.
It's fine either way though of course :smile:)


Remove sun specific exception

Description
Some exceptions used are implementation details of the most used JDK, and not defined in the JDK specification.
Changes

Change sun not implemented exceptions to JDK standard defined exceptions.

I suspect this is a case of .NET developers wishing Java had a NotImplementedException with the same scope and purpose as the .NET one!


Fix double underscore

For some uploaded targets, they have a double underscore in their name

Was hackily fixed with the hack in commit (b7e25f3)[https://github.com/Matisse-Consortium/p2obp/commit/b7e25f33d3d183a336c0e1d81438bb0366d18420]


Retreive information for single user

I want to retrieve information for a single user based on a name (not a substring) or an id - is this possible?

You can find users by ids
RubyStackoverflow.users_by_ids([ids], options = {})
For example
response = RubyStackoverflow.users_by_ids(['1363236'])
response.data.first.display_name


How can I convert other Stable Diffusion models for this program?

How can I convert other Stable Diffusion models to work with this program?

what model did you want specifically? just can't do any dreambooth ones, as only unet conversion was made available.

Something to create more realistic, non-anime pictures, eg.:
https://civitai.com/models/86/openjourney
https://civitai.com/models/4384/dreamshaper
https://civitai.com/models/4201/realistic-vision-v13
https://civitai.com/models/3666/protogen-x34-photorealism-official-release
https://civitai.com/models/3867/protogen-x58-rebuilt-scifianime-official-release
https://civitai.com/models/4443/stablydiffuseds-aesthetic-mix
https://civitai.com/models/1540/unstableinkdream

These links are safetensors, how to convert to, or run with ncnn

what model did you want specifically? just can't do any dreambooth ones, as only unet conversion was made available.

Could you convert this model, please? https://huggingface.co/justinpinkney/miniSD/blob/main/miniSD.ckpt


Remove rosettacode tests

These were added pre-6.c as a way to ensure that changes to Raku didn't break the examples on rosettacode - but this isn't the right repository for that sort of test. Only 2 tests were ever added anyway.
They got grandfathered into the spec in the Christmas release of 2015
t/spec/rosettacode/greatest_element_of_a_list.t ................... ok
t/spec/rosettacode/sierpinski_triangle.t .......................... ok

What harm doesn't do to have them in there? The general idea of not breaking the examples published at one of the greatest sources of code snippets appeals to me as a good one.
And if not in roast where then? Though quick thinking brings an idea of a dedicated module which would be tested with Blin once in a while.

Harm? If it's not spec, it doesn't belong.
Not breaking the examples is a good goal, but it's not the goal of roast.
Ingy had some work in this direction (https://github.com/ingydotnet/rosettacode-pm).

I don't have a horse in this race, it doesn't much matter to me if the existing Rosettacode tests stay in roast or not. I can see the argument either way.
Just as a point of reference, github user SqrtNegInf (not me) does a daily test run of the entire[*] Rosettacode Raku corpus on a current build of master. See: https://github.com/SqrtNegInf/Rosettacode-Perl6-Smoke
It isn't under direct community control, but he is pretty proactive about finding and reporting bugs that appear, so removing the tests from roast won't mean it doesn't get tested.
[*] ok, entire may be a stretch... more like about 90-95%; everything that can be run hands off and programmatically compared to expected output.

@thundergnat Thanks for pointing at @SqrtNegInf project. I asked if he can turn his project into a testable module we can then test with Blin.


showing - if you add hyphen(-) in your text.

Before Changes

Trying to add hyphen

Showing this

After Changes

Trying to add hyphen

Working fine

please assign this issue to me.
I am ready to make a PR request.


brams: re-enable ramb36e1 inference

Signed-off-by: Alessandro Comodi<EMAIL_ADDRESS>This is to re-enable RAMB36E1 inference in yosys.
The change is going to be merged in the wip/disable-primitives branch, so to avoid conflicts when using update_tools

Merging. Travis CI failed on the same tests as the previous run on this branch, because of the RAM32x1D is disabled, hence unrelated to the re-enabling of RAMB36E1.


[Cost Optimization Workbook] Advisor Workbook Enhancement Request

Enhance the report export functions to include all reported items on a single exportable report.
Allow the ability to add columns (Azure Tags) to show back and or charge back.
Bring Cost Management Budgets to the dashboard visually by Sub and or RG. this will help identify problem costs that are exhausting customer set budget/s

@arthurclares FYI

@TamerMaher Thank you for submitting this feedback. Please find our feedback inline

Enhance the report export functions to include all reported items on a single exportable report.
This is unfortunetly not possible with workbooks today, you have to export each query at a time
Allow the ability to add columns (Azure Tags) to show back and or charge back.
We already have tags filters which show the selected tag in the queries. We cannot add the tags column for every tag as this will cause lots of duplication in the records
Bring Cost Management Budgets to the dashboard visually by Sub and or RG. this will help identify problem costs that are exhausting customer set budget/s
You already can do this from the cost management portal with granular scoping, adding this into the workbook won't add ay additional value


Only set -fobjc-arc for valid languages on djinni_support_lib

-fobjc-arc is set as a PUBLIC compile option on djinni_support_lib,
meaning it also gets set for any targets that consume Djinni. However
the Swift compiler doesn't understand this option and will throw an
error if it is present. Any targets that contain Swift code and consume
Djinni, even if indirectly, will thus fail to build.
This change causes the -fobjc-arc option to only be set when the
language used for that compilation matches CXX, OBJC, or OBJCXX. CXX is
present because in CMake versions prior to 3.16 or if OBJC/OBJCXX is
not enabled, .m and .mm files are treated as CXX.

Thanks for your effort! This repo is no longer supported by Dropbox and about to be archived. Since CMAKE was community-submitted and not something I was set up to test, I can't validate if this is the right approach for all users. So I'm not going to try to merge it at the last minute, but I'll leave it open for reference by anyone who encounters the same problem.


Add vsdox by undertale

Song Name
vsdox
Artist Name
undertale
Source
Youtube
Youtube Link
PTXm9zJMf7AkJsNh
Direct File Link
No response
Song ID
587069
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 5904109

reject
invalid YouTube link


While auto reconnecting the library will try to send again previous successfully written characteristics

Hi guys!
(Feel free to categorise this issue as question and I will forward it to StackOverflow if you believe that is more a question than an issue but I wanted to stay sure).
For now what I observed is when I establish a connection, pretty much like this:
connectionObservable = rxBleDevice.establishConnection(context, false)
          .takeUntil(disconnectionTrigger)
          .doOnUnsubscribe(this::onUnsubscribeConnection)
          .compose(new ConnectionSharingAdapter())
          .retryWhen(this::onShouldRetryOperation);

      connectionObservable.subscribe(this::onConnectionSuccess, this::onConnectionFailure);

And later on when I write a characteristic (triggered by the user at some point of time after establishing the connection, just like clicking on a button, I don't care about the result of the operation):
connectionObservable
          .observeOn(Schedulers.computation())
          .flatMap(
              connection -> connection.writeCharacteristic(command.getCommandUuid(), command.getData())
          )
          .doOnNext(bytes ->Log.d(TAG, "Command written successfully! Command: " + command))
          .subscribe();

The behaviour that I'm facing is that if for whatever reason I change the BT adapter state (from on to off and the again to on), those previous commands that I sent successfully in a response to a user behaviour will again be fired (i.e if I sent 10 write operations, will again send those 10 operations).
Is this behaviour expected?

Hello,
This behaviour is expected. You have posted an approximated version of the code. Depending on how have you implemented the onConnectionSuccess() and reacting to the button clicks the previously sent operations will be sent again or not.
For instance if you have used a ReplaySubject it will reemit all onNext() on the next subscription that may have happened after retryWhen(). Too less info for me to tell. Either way it's connected strictly to how you use rxJava, not the library as every operation is executed only one time.
Best Regards

Hi @DariuszAniszewski thanks for your quick answer as always!
I'm going to create then a question in StackOverflow (I'll update this comment with the link when is posted, for helping other newbies in RxJava).
Thanks a lot!!! :)

No problem, but real credits should go to @dariuszseweryn  :)


CI for Node

Game
✕ Initializes with two players (3 ms)
✓ Initializes with an empty board
✕ Starts the game with a random player (1 ms)
turn
✓ Inserts an 'X' into the top center
✓ Inserts an 'X' into the top left (1 ms)
nextPlayer
✕ Sets the current player to be whoever it is not (6 ms)
hasWinner
✓ Wins if any row is filled (1 ms)
✓ Wins if any column is filled
✓ Wins if down-left diagonal is filled
✓ Wins if up-right diagonal is filled (1 ms)


Avatar is not working, showing broken images

Laravel Version: 5.4.#
Voyager Version: 0.11.#
PHP Version: 7.1
Database Driver & Version:

Description:

I've just installed Voyager. And all images do not work.
Steps To Reproduce:
I updated .env file:
APP_URL=http://localhost:8000 and tried to change APP_URL run this php artisan storage:link but still not working.

I ran into the same problem. What I had to do was go and delete the symlink in public/storage and make it again and it worked fine I have had to do that a few times. Next time it happens again ill pay more attention to see why it happens. Hope that works for you.

I had the same problem. I have to change the APP_URL and clear config cache(php artisan config:cache). It works for me

I tried to delete the symlink in public/storage and make it again, change the APP_URL, bu it still does not work

Based on the problem I have, which is similar. I think the issue is on the server config maybe something with file permissions. what are you using to run the laravel project? Vagrant? Docker? Everything installed locally?  Maybe try putting it on a server see if you get the same issue. For me it works locally all the time. But after I do a git pull on the server where I host the site it stops working and I have to delete and re link the file.

@jccpdev, with your issue, do you have the symlink committed to git?  linux symlinks are specific to the environment they were created, so you shouldn't have them committed to source control,

@fletch3555 that is probably my problem, I will try that out tonight.

Suppose you are using la.adminlte.app as your ServerName in your httpd-vhosts.conf file like I do, then remember change the value of APP_URL from http://localhost to http://la.adminlte.app in your .env file. The real avatar path is actually public\storage\users\default.png.

APP_URL must point to your real host:
@Baumgarten2 = laravel.local for you NOT localhost:8000.
@wipflash @jccpdev find your real APP.URL
I have had the same problem using valet: it point do <project.name>.dev in my case...
Hope this is usefull

@Baumgarten2, I'm assuming your issue was resolved by one of the above comments.  If not, please let me know and we can get this reopened.

try to use
APP_URL=http://<IP_ADDRESS>:8000
instead of
APP_URL=http://localhost:8888

i have the some problem.changed APP_URL form http://localhost:8888 to http://<IP_ADDRESS>:8000 in .env file work for me

That is basically what our README says, yes.

I have solved this issue on MAMP server.
changed the .env file as
APP_URL=http://localhost:8888/voyager
(voyager is my app name)

Am having the same problem. am using laravel valet. My url is https://myAppName.app
The application is opening but the images are not showing

I found my solution. I was including '/public' when calling my images. like so {{ asset('/public/storage/'.$post->image) }}
instead of;
{{ asset('/storage/'.$post->image) }}

delete storage short-link in public directory if it exists.

remake a new link with artisan command (php artisan storage:link)

confirm that the APP_URL={your domain}

php artisan config:cache

re-run the server

It worked for me.


Non-preloaded external SWF(Lite) loading

Requires https://github.com/openfl/lime/pull/850
This enables the HTML5 target to load a library.dat that's not "embedded" in the DefaultAssetLibrary and default Preloader.

The Travis build errors are caused by openfl code depending on required changes to lime:
/home/travis/build/openfl/openfl/openfl/display/BitmapData.hx:1409: characters 5-12 : Dynamic -> Void should be Null<Void -> Void>
/home/travis/build/openfl/openfl/openfl/display/BitmapData.hx:1409: characters 5-12 : Dynamic -> Void should be Void -> Void
/home/travis/build/openfl/openfl/openfl/display/BitmapData.hx:1409: characters 5-12 : For optional function argument 'onerror'
/home/travis/build/openfl/openfl/openfl/Assets.hx:901: characters 55-69 : lime.AssetLibrary has no field getAsset
/home/travis/build/openfl/openfl/openfl/Assets.hx:908: characters 56-71 : lime.AssetLibrary has no field loadAsset
/home/travis/build/openfl/openfl/openfl/display/Loader.hx:140: characters 25-56 : Class<lime.AssetLibrary> has no field loadFromString
/home/travis/build/openfl/openfl/openfl/_internal/swf/SWFLiteLibrary.hx:110: lines 110-155 : Field loadFromManifest is declared 'override' but doesn't override any field
/home/travis/build/openfl/openfl/openfl/Assets.hx:899: lines 899-903 : Field getAsset is declared 'override' but doesn't override any field
/home/travis/build/openfl/openfl/openfl/Assets.hx:906: lines 906-910 : Field loadAsset is declared 'override' but doesn't override any field

I used this as a reference when revising preloading in Lime to support this feature. I'm closing this, but please let me know if you see areas we can still improve :smile:


Release CSV v2.1.2

Dependencies
Issues of this new version should be done before resolving this issue.
Checklist

[x] Upgrade the application's version.
[x] Add a new version in changelog.
[x] Create a release on the repository.

Done.


fix(just): fix regenerate-grub just script

It doesn't account for UEFI vs BIOS systems, so fix that.

Umm, reopen please

Or merge it haha

Umm, reopen please

head repo is deleted, I'm not able to reopen or merge it, but I could take your changes and commit them manually

Umm, reopen please

head repo is deleted, I'm not able to reopen or merge it, but I could take your changes and commit them manually

Sounds good

Merged as https://github.com/ublue-os/config/commit/4b0bddda8e9e5b8796ec0c0a9fc867c0b564a7bc


Use PHPStan strict rules

Two rules excluded: missing type hints and empty() usage

Weird, but the build is broken. Can you double check your changes?

This is the reason https://github.com/phpstan/phpstan/releases/tag/0.10.5 :)


Add image from  2021-05-28

https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_armhf-2021-05-28/

Done in https://github.com/carlosperate/rpi-os-custom-image/commit/ffca60af12fa15222bed3dbad2fdb6c42380ab99.


Allow for larger preset property values, do not override

Signed-off-by: Jim Carroll<EMAIL_ADDRESS>(cherry picked from commit 7a6c4f31cd82b5cf6d3703e0041edf4eb057152e)
Signed-off-by: Jim Carroll<EMAIL_ADDRESS>

@fcrisciani PTAL

Cherry-pick for 17.06 of;
https://github.com/docker/libnetwork/pull/2124 Allow for larger preset property values, do not override


feat: Move packages to protocol-kit

What it solves ?
Resolves https://github.com/safe-global/safe-core-sdk/issues/350
How this PR solve it
Move packages inside protocol-kit

safe-core-sdk-utils
safe-web3-lib
safe-ethers-lib

Good job! :)


kubernetes.rb parser fails if ports are nil - Check for nil ports spec in kubernetes container_def

If the ports spec from v1beta3 is empty the kubernetes parser will fail with a method does not exist error:
[NoMethodError]: undefined method `collect' for nil:NilClass
Only ext_management_system table is populated and all other pods/containers are not processed.
To fix this I added the following to vmdb/app/models/ems_refresh/parsers/kubernetes.rb
  unless ports.nil?
    new_result[:container_port_configs] = ports.collect do |port_entry|
      parse_container_port_config(port_entry, pod_id, container_def["name"])
    end
  end

@screeley44 This looks good...Can you make a PR and in the commit body say Fixes #1902?  Thanks!


Another language

Hi,
I love your project and I love NLP.
Can I translate leon packages to another language like Persian?
I love contributing to this project.
Are you merge that?
Ahmad

 ✨ Languages support

Hello @ahmadrezash,
Thanks for willing to contribute! For the moment I do not merge translations but French and English. However, I added you to the list of translators, so once we'll focus on more languages support then we can translate Leon to Persian language.
What do you think?

Hi,
I can't understand what you mean.
My native language is Persian and I can translate "answer" and "question"
and ... file very well to Persian.
I can start now and finish that soon.
It is in your priority?
I will be so happy for doing that, as the start of contribute :)
Ahmadreza Sharifianzade, computer science student @ SBU
On Tue, Jul 9, 2019, 4:57 AM Louis Grenard<EMAIL_ADDRESS>wrote:

Hello @ahmadrezash https://github.com/ahmadrezash,
Thanks for willing to contribute! For the moment I do not merge
translations but French and English. However, I added you to the list of
translators, so once we'll focus on more languages support then we can
translate Leon to Persian language.
What do you think?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/leon-ai/leon/issues/123?email_source=notifications&email_token=AFBXCESNXKPIKZZWGSUQFT3P6PLNJA5CNFSM4H62M5PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZOXE5I#issuecomment-509440629,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFBXCEWR7XQ7XNVX46QA25LP6PLNJANCNFSM4H62M5PA
.

We will focus on translations later but not now 😉

Ok
That's fine.
But now.
I'm python developer, assign me a task in Leon development, please.
New feature for old packages or new package or...
Tnx
Ahmadreza Sharifianzade, computer science student @ SBU
On Tue, Jul 9, 2019, 6:00 PM Louis Grenard<EMAIL_ADDRESS>wrote:

We will focus on translations later but not now 😉
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/leon-ai/leon/issues/123?email_source=notifications&email_token=AFBXCER7OGQDPZ3RF3OXKK3P6SHGPA5CNFSM4H62M5PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZQIQJA#issuecomment-509642788,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFBXCEVWSFDC5AO52L2BMGLP6SHGPANCNFSM4H62M5PA
.

Alright! Feel free to pick up a Leon module that is in the backlog of the roadmap.


Cannot create admin user

Hi,
Apologies in advance if I've missed something obvious!  I've been following the wiki guide to getting Scumblr on Ubuntu 14.04 and can get each step done up to Create an Admin User.  The error I'm getting is:
~/Scumblr$ ../.rbenv/versions/2.0.0-p481/bin/rails c
-bash: ../.rbenv/versions/2.0.0-p481/bin/rails: No such file or directory
Sure enough, /home/user/.rbenv/versions/2.0.0-p481/bin doesn't have a rails file.  I do however have a rails file in /home/user/Scumblr/bin.  I'm surprised as Rails was installed before Scumblr and running rails -v shows Rails 4.0.9
What am I doing wrong?
Thanks!

Hey @subbax,
It looks like some changes were made to the wiki that aren't entirely accurate. Can you do the following:

Make sure your rbenv shims folder is in your PATH? (It's probably ~/.rbenv/shims)
From the directory where you installed scumblr run:

bundle exec rails c

See if that helps

Hi @ahoernecke,
That worked like a charm!
Thanks so much for the quick response.  I'm up and running now.


[🔬Proof of Concept] Library and CLI tool Publishing

To test how a go-project can have both Library and CLI and be go get-ed to be used in another app and also as a CLI tool.
How To

Create a separate repo with init go code
Create a Library
Create a corresponding CLI
Publish and try go get and go install (for CLI)
Add a client package that can be imported. cmd/... shouldn't be importable (?)
Follow this comment https://github.com/TanmoySG/wunderDB/issues/34#issuecomment-1387186446

Repo for POC https://github.com/TanmoySG/go-lib-cli-poc

https://github.com/TanmoySG/wdbcli
https://github.com/TanmoySG/wdbcli/blob/main/.goreleaser.yaml
https://github.com/TanmoySG/wdbcli/blob/main/.github/workflows/release.yml

Working Fine


Admin Router: Prevent forwarding dcos-* cookies to upstreams

High Level Description
This PR introduces removing dcos-* cookies for upstream requests.
For technical motivation - please check the linked Jira issue
For technical implementation details - please check the description of the function util.clear_dcos_cookies in lib/util.lua file
Related Issues

https://jira.mesosphere.com/browse/DCOS-12015 Admin Router: remove auth cookie after translating it into Authorization header

Related PRs:
This PR needs https://github.com/dcos/dcos/pull/1802 and its EE counterpart to land first as the generic tests syntax has changed and the documentation needs to be updated. Current master still has the old/outdated docs that do not contain any generic-tests related text.
EE PR: https://github.com/mesosphere/dcos-enterprise/pull/1298

@mesosphere-mergebot label ready for review

@mhrabovcin @gpaul please have a look

Thanks, Pawel.

as the generic tests syntax has changed and the documentation needs to be updated

Can you please treat the docs change as an independent task and -- with that -- push this PR towards a reviewable state?
I wonder why we do not hook in directly into this code path. Note that the goal is to get rid of specifically the dcos-acs-auth-cookie. We do not care too much about the info cookie.
If the cookie filter stays implemented outside of the auth module I wonder if we should still trigger the filter logic conditionally from within the code I have pointed towards so that we don't unnecessarily inspect the cookies twice. Was there no easy way with having just one cookie jar? Thanks for clarification, I think addressing these points helps reviewers understanding the choices you have made.

Can you please treat the docs change as an independent task and -- with that -- push this PR towards a reviewable state?

https://jira.mesosphere.com/browse/DCOS_OSS-1548
I scheduled it for this/next sprint

I wonder why we do not hook in directly into this code path.

Few reasons:
a) because this code is not always called. Please note that util.clear_dcos_cookies  is i.e. called here:

https://github.com/dcos/dcos/pull/1827/files#diff-04b4f1568a453a99cae518ab0e07d0baR102
https://github.com/dcos/dcos/pull/1827/files#diff-04b4f1568a453a99cae518ab0e07d0baR113
https://github.com/mesosphere/dcos-enterprise/pull/1298/files#diff-c9d8d4dcd20678c47adb4a2804bf2e28R18
https://github.com/mesosphere/dcos-enterprise/pull/1298/files#diff-c9d8d4dcd20678c47adb4a2804bf2e28R81
https://github.com/mesosphere/dcos-enterprise/pull/1298/files#diff-c9d8d4dcd20678c47adb4a2804bf2e28R157

I suppose there will be more places like that in the future. We want to be thorough and never let the cookie through, hence a separate function.
b) because we should rethink how we circulate JWT token in the system, esp. considering the fact that we currently have no way to revoke it (apart from re-keying all JWTs, but this is a different thing). Lots of DC/OS services receive token either via an HTTP header or through a cookie. Compromising one of such service would mean compromising DC/OS security in general.
This is a part of the bigger effort, that started during Admin Router refactoring and is tracked in     DCOS-17924 Admin Router: JWT should not be forwarded to services that do not need.
One day I would really like to have AR pass JWT only to components that need it and nowhere else :)

Note that the goal is to get rid of specifically the dcos-acs-auth-cookie. We do not care too much about the info cookie.

One of the goals of this PR is to hide dcos-acs-auth-cookie cookie from upstreams so that they can not start relying on it, even acidentally. The question is whether dcos-acs-info-cookie is an interface that we support and other services can rely upon. I think it is not (please correct me if I am wrong), hence the filtering. This is not written in stone, and as soon as there is a use case for this cookie, I will be more than happy to re-enable it, but let's cross this bridge.... :)

If the cookie filter stays implemented outside of the auth module I wonder if we should still trigger the filter logic conditionally from within the code I have pointed towards so that we don't unnecessarily inspect the cookies twice. Was there no easy way to having just one cookie jar?

I gave it a deeper thought. There are few reasons:

the Cookie header parser is IMO pretty efficient: https://github.com/cloudflare/lua-resty-cookie/blob/master/lib/resty/cookie.lua#L62-L91 My guess is that it's O(n) but would have to formally analyse it to be sure
in theory, we can share it but remember that we already need to support overlaying EE on top of Open which makes the code a bit "non-direct" already. I would like to avoid making it even more complex without strong technical reason (e.g. unacceptable increase of CPU usage) but at for now, considering that Lua code is JITed, I do not think it is worth it.
fun fact: we would have been able to use ngx.var.cookie_dcos_acs_auth_cookie variable if it wasn't for the hyphens: http://lists.w3.org/Archives/Public/ietf-http-wg/2016JulSep/0015.html and https://github.com/openresty/lua-nginx-module/issues/19#issuecomment-111686154 My guess is that NGINX parser is much more effiicent than any Lua, JITed or not.

Thanks for the clarification, I think addressing these points helps reviewers understanding the choices you have made.

nw, I hope that I managed to clarify all the points.

Few reasons:
a) because this code is not always called. Please note that util.clear_dcos_cookies is i.e. called here:

(a) is concise and convinces me! I was not really able to parse the relation to my question from the remaining point(s?), but that is also not required anymore.

Merged in Train 208, please close.

@cdaw Train 208 is still open/unmerged :)

sorry about that ... i thought we merged it ...


Create a Saas Connector from a Template [#814]

Purpose
Rather than making five or so separate API requests, it would be useful to be able to create all the resources for a SaasConnector in a single request.
Adds an endpoint to be able to create all the resources for a SaaS Connector in one place.
This also starts the creation of a registry for SaaS Connectors that other parts of the application can eventually use as a source of truth.  This registry defines templates that we use to create the necessary resources.
Changes

Starts creating a registry for SaaSConnectors. This file describes the templates for SaasConnectors which consist of a config file, a dataset file, and an icon.  Some icons are added here, but icon management will be explored further in a followup ticket.
Adds a single endpoint that creates a saas connector from a template.

Creates a saas ConnectionConfig with a saas config attached without saving.
The saas_config replaces every instance of instance_fides_key with the instance_key specified by the user.
We then use this ConnectionConfig/SaasConfig to validate the supplied secrets.
The ConnectionConfig is then saved.
We create a separate DatasetConfig that links to the ConnectionConfig we just created.  Every instance of instance_fides_key is also replaced in this json.
The endpoint currently returns the finished dataset only, but we can modify the response to be whatever we need.

Out of scope

Updating connectors on server startup https://github.com/ethyca/fidesops/issues/1098
Icon management (Unticketed; I think @galvana's idea was to use the templates as the source of truth for icons too)
Other changes in the codebase to use the registry as the source of truth for saas connectors

available connectors
available datasets

Checklist

[x] Update CHANGELOG.md file

[x] Merge in main so the most recent CHANGELOG.md file is being appended to
[x] Add description within the Unreleased section in an appropriate category. Add a new category from the list at the top of the file if the needed one isn't already there.
[x] Add a link to this PR at the end of the description with the PR number as the text. example: #1

[x] Applicable documentation updated (guides, quickstart, postman collections, tutorial, fidesdemo, database diagram.
If docs updated (select one):

[ ] documentation complete, or draft/outline provided (tag docs-team to complete/review on this branch)
[ ] documentation issue created (tag docs-team to complete issue separately)

[x] Good unit test/integration test coverage
[ ] This PR contains a DB migration. If checked, the reviewer should confirm with the author that the down_revision correctly references the previous migration before merging
[ ] The Run Unsafe PR Checks label has been applied, and checks have passed, if this PR touches any external services

Ticket
Fixes #814

forgot to run unsafe checks, I assume these will fail, I'll need to update the instance_fides_key as part of the tests

Remaining failing hubspot test is unrelated to this work.  It was noticed in the fideslang work https://github.com/ethyca/fidesops/runs/7792050618?check_suite_focus=true, trying a fix now.

Also heads up that https://github.com/ethyca/fidesops/pull/1059 might be merged first, which includes a postman collection change.

@pattisdr Manually tested and it looks good. I was able to confirm the dataset returned for the new endpoint.
Also, I think the response error is specific enough when one of the required secrets fields isn't present. e.g.
{
    "detail": [
        {
            "loc": [
                "api_key"
            ],
            "msg": "field required",
            "type": "value_error.missing"
        },
        {
            "loc": [
                "__root__"
            ],
            "msg": "mailchimp_schema must be supplied all of: [domain, username, api_key].",
            "type": "value_error"
        }
    ]
}

ok great, getting the branch up to date, thanks for the review @eastandwestwind

Hubspot failing test is a pre-existing issue, and has been discussed here- https://github.com/ethyca/fidesops/pull/890#issuecomment-1212195334
Going ahead and merging this ticket

It also seems like some of the failure is related to fideslang, in that some of the data categories changed on the hubspot dataset, which causes more fields to be returned under various policies.


Allow disabling of introspection via config

Hi @mai00cmi, thanks for the development! 👍
Just a tiny addition: maybe adding this new config value to config.json.example would also be helpful.


Segmentation fault if installed without --no-use-wheel

$ uname -srmo
Linux 4.4.5-1-ARCH x86_64 GNU/Linux
$ python --version
Python 2.7.10
$ pip freeze | grep MarkupSafe
MarkupSafe==0.23
$ dmesg | grep speedups
[175322.987206] python[793]: segfault at 7f34348b8240 ip 00007f34336b6d59 sp 00007f34299e1230 error 4 in _speedups.so[7f34336b6000+2000]
[175417.738383] python[924]: segfault at 7ff104a45d80 ip 00007fef49281d59 sp 00007fef3f5acf20 error 4 in _speedups.so[7fef49281000+2000]

I can't replicate this issue based on the information provided.  If you are still having this issue, please post more information.


Electron installation issue

My entire project is setup on linux distro. Previously it was working fine. Recently i moved entire file structure to disk mounted with widows file system now i am accessing project from there into linux. But after installing dependencies and running command $npm start into project root folder i am getting
Permission denied issue. below mentioned is the error details.
<EMAIL_ADDRESS>start /media/chanakya/B4CCD876CCD83478/Backup/KaliLinux/Projects/Imran/Node-UI/MobiMe_extremely_small
electron .

sh: 1: electron: Permission denied
npm ERR! Linux 4.0.0-kali1-686-pae
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v0.12.7
npm ERR! npm v2.14.2
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>start: electron .
npm ERR! Exit status 126
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script 'electron .'.
npm ERR! This is most likely a problem with the electron-quick-start package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! electron .
npm ERR! You can get their info via:
npm ERR! npm owner ls electron-quick-start
npm ERR! There is likely additional logging output above.
I appreciate any help in this regards.
Options i have tried:

Setting executable permission to installation folder.
Removing previously installed node modules and installing them again.

What are the permissions currently set on the electron executable?

0777

When I do npm install electron --save-dev on Ubuntu-Mate 16.04 I get similar errors.
Both node.js and npm is installed without any problems using sudo aptitude install npm nodejs. So both are available on the system.
Node.js is located in /usr/bin/nodejs and can be executed. So it is not a matter of a bad symlink.
npm-debug.log attached as requested following a support request: npm-debug.log.zip.

@jns4u try doing a fresh install of your dependencies:
rm -rf node_modules && npm install

sorry for late comment, fresh installation workout, removed all old branches and stages


Tags per resource

[Enter feedback here]
The docs state that there is a limit of 50 tags per resource except Azure Automation Accounts which is limited to 15 tags.  I believe CDN is also limited to 15 tags.  Would appreciate clarification and the docs to be updated as needed.

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

ID: 55b4c3f6-7ea3-9b94-cd8c-cbe37dc31656
Version Independent ID: 0310805b-ff71-85bf-3f74-ca4caa6a46ce
Content: Tag resources, resource groups, and subscriptions for logical organization - Azure Resource Manager
Content Source: articles/azure-resource-manager/management/tag-resources.md
Service: azure-resource-manager
Sub-service: management
GitHub Login: @tfitzmac
Microsoft Alias: tomfitz

@bdschaap Thank you for your feedback, we will review it and get back to you at the earliest.

@bdschaap - thanks for this feedback. I am seeing the same problem of CDN only supporting 15 tags. I will update the article with that information.


Add hideTop check in Category Side Menue

Description
Categories which are marked as "Hide in Top Navigation" are still appearing in the catagory side Menu on mobile view.

Questions
Answers

BC breaks?
no

Tests pass?
yes

Related tickets?
no

How to test?
Set the "Hide in Top Navigation" mark on a category and reload. It disappears in the Desktop Menue but is still visible on mobile.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/#/issues/SW-17476.
Please use this issue to track the state of your pull request.

Thanks @Gugiman
The config option works as intended and we won't change this behaviour.


Change type of bot.commands to be a Set

According to https://github.com/Rapptz/discord.py/blob/6f3b8072d6d069e5df04af62e93f673b576ab4c0/discord/ext/commands/core.py#L1077-L1080, the values are converted to a Set.

Can you remove the import of ValuesView so flake8 passes?


Support Boba token as the fee token

Changes:

Rewrite the logic of calculating the gas limit for l2geth
Rewriting this whole logic makes sure that the l1SecurityFee is correctly calculated in the gas usage and tx.GasLimit() is larger or equal to the tx.GasUsed(). Also, a precaution for the situation of the l1SecurityFee is too large to cause that the gas limit is larger than the block gas limit is added.

In order to add l1SecurityFee to the gas usage, the code in api.go and state_transition.go are modified. When users call eth_estimateGas, the DoEstimateGas function in api.go calls TransitionDb function in state_transition.go by using the binary search to find an executable gas limit. In state_transition.go, we calculate the gas usage for the l1SecurityFee if the gas price is provided. However, there are situations that gas price is not provided, which means that the returned gas limit doesn't consider the l1SecurityFee. To solve this problem, the code of overriding the gas price is added in DoEstimateGas function to secure that the gas limit covers the l1SecurityFee. This introduces a new problem for the local testing environment. We allow 0 gas price in the local testing environment. If you are trying to send all ETH from your wallet to another wallet using the zero gas price without the gas limit, the DoEstimateGas function will fail. This is caused by overriding the gas price, so the total ETH cost is larger than the actual ETH amount in your wallet. In the production environment, only gas oracle owner can use the zero gas price and we allow this configuration in DoEstimateGas, so this is not a problem for the production environment.

There are two different cases that the gas limit might be too low and returns errors. The first one is that the gas limit is below IntrinsicGas + l1SecurityFee / l2GasPrice. In this case, the tx can't pass the verifyFee function in sync_service.go and returns intrinsic gas too low and we don't charge the tx fee for this. Another one is to override the estimated gas value from eth_estimateGas by giving a smaller value. Since users are confident with this value, we revert the tx and charge the tx fee. Also, this protects us from the DOS attack.

Add Boba as the fee token in l2geth
The gas usages for the Boba fee token and ETH fee token are the same. The transaction fee for the Boba fee token is to multiple priceRatio = ETHPrice / BobaPrice and the gas usage.

Add Boba_GasPriceOracle.sol contract to collect fees and configure settings for using the boba as the fee token
Users can select the fee token in this contract by calling useBobaAsFeeToken and UseETHAsFeeToken. The default option is to use ETH as the fee token

IMPORTANT
The l2 gas price and l1 base price should be calculated carefully. If we go with the l2GasPrice=1GWEI, the minimum Boba amount for using the Boba as the fee token is around 11 Boba. This is caused by how the gas limit is estimated. In api.go, it estimates the gas from the middle of the block gas limit and uses the binary search to find a good gas limit. The minimum Boba for the block.GasLimit / 2 is gasLimit * gasPrice * priceRatio = 11_000_000 / 2 * 10^9 * 2000 / 10^18 = 11 BOBA. The ideal l2 gas price should be 0.1 GWEI, so the minimum Boba for users to use the Boba as the fee token is 1.1 BOBA
TODO:

[x] Add boba fee cost in tx.Receipt() and tests for it
[x] Should calculate the gas usage for different gas price
[x] Add gas usage tests in l2geth
[x] Add precaution tests for the situation that the l1SecurityFee is too large to break the gas limit
[x] Add tests for configuring the fee tokens in Boba_GasPriceOracle.sol

Codecov Report

Merging #22 (d2f8770) into develop (d2d14b4) will increase coverage by 37.46%.
The diff coverage is 33.33%.

@@             Coverage Diff              @@
##           develop      #22       +/-   ##
============================================
+ Coverage    46.03%   83.50%   +37.46%
============================================
  Files           91       37       -54
  Lines         3669     1194     -2475
  Branches       699      172      -527
============================================
- Hits          1689      997      -692
+ Misses        1980      197     -1783

Flag
Coverage Δ

boba-contracts
?

contracts
83.50% <33.33%> (-3.22%)
:arrow_down:

core-utils
?

data-transport-layer
?

message-relayer
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

packages/contracts/contracts/L1/token/BOBA.sol
0.00% <0.00%> (ø)

...ontracts/contracts/standards/L2GovernanceERC20.sol
0.00% <0.00%> (ø)

...ts/contracts/L2/predeploys/Boba_GasPriceOracle.sol
66.66% <66.66%> (ø)

...ckages/boba/contracts/contracts/ERC721Registry.sol

...ontracts/contracts/standards/L2GovernanceERC20.sol

packages/core-utils/src/common/test-utils.ts

...ages/boba/contracts/contracts/BobaFixedSavings.sol

...ontracts/DAO/governance/GovernorBravoDelegator.sol

...kages/data-transport-layer/src/utils/validation.ts

packages/core-utils/src/coders/sequencer-batch.ts

... and 50 more

Continue to review full report at Codecov.

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

If I understand this right, the way Boba can be used as a fee token is that you first register your decision on a predeploy contract?

Two of the Turing tests are broken (local network). Possibly related to zero-gas-price logic which is used by the Turing cache to determine whether or not a call is allowed to block the calling thread.

Stableswap at AWS Lambda
should correctly swap X in for Y out:
Error: cannot estimate gas; transaction may fail or may require manual gas limit (error={"reason":"processing response error","code":"SERVER_ERROR","body":"{"jsonrpc":"2.0","id":132,"error":{"code":-32000,"message":"execution reverted: TURING: Missing cache entry"}}\n","error":{"code":-32000},"requestBody":"{"method":"eth_estimateGas","params":[{"gas":"0x2dc6c0","from":"0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266","to":"0xc9a43158891282a2b1475592d5719c001986aaec","data":"0x94e6c7cb0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000003c68747470733a2f2f6939697a6e6d6f3333652e657865637574652d6170692e75732d656173742d312e616d617a6f6e6177732e636f6d2f737761707900000000"}],"id":132,"jsonrpc":"2.0"}","requestMethod":"POST","url":"http://localhost:8545"}, method="estimateGas", transaction={"from":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","gasLimit":{"type":"BigNumber","hex":"0x2dc6c0"},"to":"0xC9a43158891282A2B1475592D5719c001986Aaec","data":"0x94e6c7cb0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000003c68747470733a2f2f6939697a6e6d6f3333652e657865637574652d6170692e75732d656173742d312e616d617a6f6e6177732e636f6d2f737761707900000000","accessList":null}, code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.5.3)

Pull Bitcoin - USD quote
should get the current Bitcoin - USD price:
Error: cannot estimate gas; transaction may fail or may require manual gas limit (error={"reason":"processing response error","code":"SERVER_ERROR","body":"{"jsonrpc":"2.0","id":117,"error":{"code":-32000,"message":"execution reverted: TURING: Missing cache entry"}}\n","error":{"code":-32000},"requestBody":"{"method":"eth_estimateGas","params":[{"gas":"0x2dc6c0","from":"0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266","to":"0x4b6ab5f819a515382b0deb6935d793817bb4af28","data":"0x5d57384a000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000003c68747470733a2f2f6939697a6e6d6f3333652e657865637574652d6170692e75732d656173742d312e616d617a6f6e6177732e636f6d2f71756f74650000000000000000000000000000000000000000000000000000000000000000000000074254432f55534400000000000000000000000000000000000000000000000000"}],"id":117,"jsonrpc":"2.0"}","requestMethod":"POST","url":"http://localhost:8545"}, method="estimateGas", transaction={"from":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","gasLimit":{"type":"BigNumber","hex":"0x2dc6c0"},"to":"0x4b6aB5F819A515382B0dEB6935D793817bB4af28","data":"0x5d57384a000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000003c68747470733a2f2f6939697a6e6d6f3333652e657865637574652d6170692e75732d656173742d312e616d617a6f6e6177732e636f6d2f71756f74650000000000000000000000000000000000000000000000000000000000000000000000074254432f55534400000000000000000000000000000000000000000000000000","accessList":null}, code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.5.3)


Send message to the Device

Hi @tananaev
I would like to develop the solution to make Traccar capable of send messages/commands to the devices via TCP and release it.
I read that at least Enfora devices and others receive messages via TCP. Dou yo know something about it? Any suggestions to yield the solution?
Thank you.

I developed a hack (not a pretty one)m to send messages to Enfora and Cellocator modems. I sent you an email with them, starting from line 375 in the file.


Move :core:data fake repositories to :core:data-test

Now that these fake implementations are no longer used in the production source code (only in tests), we can safely extract them out of this module. Hopefully, we'll later be able to use Kotlin testFixtures for that.
References:

#709
#875

Thanks for this @SimonMarquis !

@JoseAlcerreca @dturner this PR is ready to be merged 🙇


Introduce filter_spec field to Rendition

First step of #2881

It is possible for new renditions to be generated at any time during deployment so if one is made after/during the migrations are run, but before the server is restarted, it will not have the filter_spec field set.

@kaedroho Hmm, true. But isn't that equally true of any migration - i.e. immediately after running a migration there's likely to be an active webserver process running the old version of the code, so there's a chance of it doing something that wrongly assumes the old database state?
Is it just a concern here because populating filter_spec takes a non-negligible amount of time - if so, perhaps we can mitigate that by doing a second pass over the renditions table in fill_filter_spec_forward (i.e. a for rendition in Renditions.objects.filter(filter_spec__isnull=True) loop to pick up any new renditions that were added in the meantime)? (Or do transactions muck that idea up?)

But isn't that equally true of any migration

Not really. For a schema migration, the worst that could happen is the app crashes when adding a new object.

Perhaps a solution to this could be to set that field's default value to a blank string? The database should then reject any renditions created with the old version of the code as it wouldn't be aware that it needs that field (assuming defaults are set by django and not the database)

Done in 4cae9e6c7efb10eba517d45de8d830b44e46545f - yep, that seems to do the trick. Tested by running the migration (resulting in a NOT NULL column with no default at the DB level) and then switching branches back to master - attempting to create a rendition then fails with an integrity error, as intended.

Code changes look good to me. Going to give this a quick test on RCA, then I'll merge if it all goes well.

Some timings for the data migration on RCA (34551 images):
Forwards: Applying rca.0043_auto_20160912_1118... OK (5.758s)
Backwards: Unapplying rca.0043_auto_20160912_1118... OK (110.125s)
This is running locally. On the production servers we have network lag which can make the migrations run much longer if there are a lot of roundtrips to the database (I recently ran one that took 25 times longer than expected).

Except for two comments above, LGTM!

Reverse migration now fixed in 73e5a9af7477d4e237ab357c56703f1b79c93404 to perform one update query per filter, rather than per rendition. Ready for re-review!
Note that when testing the reverse migration, you'll need to manually run UPDATE wagtailimages_renditions SET filter_id=null first in order to get representative results - the foreign key field won't get de-populated until we remove it outright in 1.8, so running it now would be a no-operation.

Thanks @kaedroho! Now merged in 796cb2ee01d6a6880ee60f5ee77ae96e7e7d5a98 + parents.


LMDB installed perfectly but its not showing up in working

Hi @zimmerle ,
For persistant collections, we recompiled modsecurity with lmdb flag after installing lmdb,
and the installation worked perfectly fine and lmdb showed up in the installed packages after
running the
./configure --with-lmdb script
However lmdb is not working. Its not showing up in logs, nor are there any errors anywhere. Is there
any way to verify the installation .
Also for SMDB installation , given the fact that every worker process has its own memory which they sync up with smdb at intervals, if any ip is blocked (say I set IP.BLOCKED=1 and deny it after checking this BLOCKED flag) , why does it even after hours altogether(considering that all process are in sync by then) let some of the requests from that blocked IP to go through ??
OS Version : CentOS Linux 7
Nginx Version : 1.16.1
Modsecurity version : 3.03
Mandatory dependencies

libInjection                                  ....v3.9.2-30-gbf234eb
SecLang tests                                 ....e6b03e4

Optional dependencies

GeoIP/MaxMind                                 ....found

(GeoIP) v1.5.0
-lGeoIP  , -I/usr/include/

LibCURL                                       ....found v7.29.0
-lcurl  ,  -DWITH_CURL
YAJL                                          ....found v2.0.4
-lyajl  , -DWITH_YAJL
+ LMDB                                          ....found v0.9.22
-llmdb  , -DWITH_LMDB
LibXML2                                       ....found v2.9.1
-lxml2 -lz -lm -ldl, -I/usr/include/libxml2 -DWITH_LIBXML2

thanks @airween for the lmdb reader gist.  I found using it deadlocks after initial run, I had to change the  order of cursor/dbi/txn/env close.  I am using LMDB 0.9.24: (July 24, 2019).
this works for me without deadlocks -
https://gist.github.com/mmelo-yottaa/8504a5bfc1d97c00c9015dae88159333.
For the curious, this was the deadlock:
NGINX+MODSEC:
Program received signal SIGINT, Interrupt.
__pthread_mutex_lock_full (mutex=0x7ffff7ff3040) at ../nptl/pthread_mutex_lock.c:311
311          assume_other_futex_waiters |= FUTEX_WAITERS;
(gdb) bt
#0  __pthread_mutex_lock_full (mutex=0x7ffff7ff3040) at ../nptl/pthread_mutex_lock.c:311
#1  0x00007ffff5ca703c in mdb_txn_renew0 (txn=0x730130) at mdb.c:2749
#2  0x00007ffff5ca7733 in mdb_txn_begin (env=0x72ef10, parent=0x0, flags=524288, ret=0x7fffffffbf70) at mdb.c:2907
#3  0x00007ffff74a5355 in modsecurity::collection::backend::LMDB::resolveMultiMatches (this=0x72eef0, var="<IP_ADDRESS>_d9b252bcadfb7e5c254cd1395e8f7c230b1ae3c6::::PREVIOUS_RBL_CHECK", l=0x7fffffffc420, ke=...)
at collection/backend/lmdb.cc:482
#4  0x00007ffff74a1ecd in modsecurity::collection::Collection::resolveMultiMatches (this=0x72eef0, var="PREVIOUS_RBL_CHECK", compartment="<IP_ADDRESS>_d9b252bcadfb7e5c254cd1395e8f7c230b1ae3c6", compartment2="", l=l@entry=0x7fffffffc420,
ke=...) at ../headers/modsecurity/collection/collection.h:177
#5  0x00007ffff7403d89 in modsecurity::variables::Ip_DictElement::evaluate (this=0x87bcb0, t=0x1814c80, rule=, l=0x7fffffffc420) at ../src/variables/ip.h:46
#6  0x00007ffff745e8e3 in modsecurity::Rule::evaluate (this=0x87c9f0, trans=0x1814c80, ruleMessage=std::shared_ptr (count 1, weak 0) 0x758a70) at rule.cc:697
#7  0x00007ffff74577bf in modsecurity::Rules::evaluate (this=0x750410, phase=phase@entry=3, t=t@entry=0x1814c80) at rules.cc:257
#8  0x00007ffff74450e1 in modsecurity::Transaction::processRequestBody (this=) at transaction.cc:876
#9  0x00000000004cb7a2 in ngx_http_modsecurity_pre_access_handler (r=0x181bbd0) at /opt/ModSecurity-nginx/src/ngx_http_modsecurity_pre_access.c:202
#10 0x000000000045429c in ngx_http_core_generic_phase (r=0x181bbd0, ph=0x17e0920) at src/http/ngx_http_core_module.c:880
#11 0x000000000045423b in ngx_http_core_run_phases (r=0x181bbd0) at src/http/ngx_http_core_module.c:858
#12 0x00000000004541a9 in ngx_http_handler (r=0x181bbd0) at src/http/ngx_http_core_module.c:841
#13 0x000000000046194a in ngx_http_process_request (r=0x181bbd0) at src/http/ngx_http_request.c:1954
#14 0x00000000004606ce in ngx_http_process_request_headers (rev=0x17e20d0) at src/http/ngx_http_request.c:1379
#15 0x000000000045fc46 in ngx_http_process_request_line (rev=0x17e20d0) at src/http/ngx_http_request.c:1050
#16 0x000000000045f3a1 in ngx_http_wait_request_handler (rev=0x17e20d0) at src/http/ngx_http_request.c:499
#17 0x000000000044ed0c in ngx_epoll_process_events (cycle=0x7238c0, timer=60000, flags=1) at src/event/modules/ngx_epoll_module.c:902
#18 0x000000000043fc4e in ngx_process_events_and_timers (cycle=0x7238c0) at src/event/ngx_event.c:242
#19 0x000000000044b993 in ngx_single_process_cycle (cycle=0x7238c0) at src/os/unix/ngx_process_cycle.c:310
#20 0x000000000040c94c in main (argc=1, argv=0x7fffffffe108) at src/core/nginx.c:379
LMDBREAD:
__pthread_mutex_lock_full (mutex=0x7ffff7ff7040) at ../nptl/pthread_mutex_lock.c:311
311          assume_other_futex_waiters |= FUTEX_WAITERS;
(gdb) bt
#0  __pthread_mutex_lock_full (mutex=0x7ffff7ff7040) at ../nptl/pthread_mutex_lock.c:311
#1  0x00007ffff7bc203c in mdb_txn_renew0 (txn=0x603250) at mdb.c:2749
#2  0x00007ffff7bc2733 in mdb_txn_begin (env=0x602010, parent=0x0, flags=524288, ret=0x7fffffffdf88) at mdb.c:2907
#3  0x0000000000400a85 in main (argc=2, argv=0x7fffffffe0b8) at lmdbread.c:45

thanks @airween for the lmdb reader gist. I found using it deadlocks after initial run, I had to change the order of cursor/dbi/txn/env close. I am using LMDB 0.9.24: (July 24, 2019).

oh, I just created that small tool to read the filled collection database while I used libmodsecurity's regression test. Thank you for your notification.
Anyway, @defanator also has a fix to avoid the deadlock.

@airween isn't this utility which is part of lmdb main packaging already doing the job of dumping database contents?

@airween isn't this utility which is part of lmdb main packaging already doing the job of dumping database contents?

Perhaps it is. I've never tested yet.


fix updated node version as per given in the url.

Proposed changes
updated node version as per URL
ref: #28427

run buildall


Mentioned Azure RBAC for key vault

Mentioned Azure RBAC for key vault for more granular control over individual keys, secrets, and certificates.

https://docs.microsoft.com/en-us/azure/key-vault/general/rbac-guide?tabs=azure-cli

cc: @msmbaldwin
GitHub Issue: https://github.com/MicrosoftDocs/azure-docs/issues/88281

@JamesTran-MSFT : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@msmbaldwin @JamesTran-MSFT - it looks like there have been changes to the live article that are causing this PR merge conflicts. I can usually resolve these, but in this case, it looks like the entire IMPORTANT call out has been removed from the live article. Can you resolve these conflicts and sign off again? Thanks.
#hold-off

We've completely rewritten this portion of the article and have included this line: "With the RBAC permission model, permission management is limited to 'Owner' and 'User Access Administrator' roles, which allows separation of duties between roles for security operations and general administrative operations." #please-close


updated to support directive on type

Added code to wrap all fields with auth when an @auth directive is present on a type.  added 3 new test cases

Closes #24

Nice, I'll have a look tonight! :)

Yes, I can do that

i have updated the docs and a new example.  Let me know if you see anything else.


Unity-856 - AttachmentHands stuck in loop when resetting the script

Summary
fix attachment hand delete loop when resetting the script and an editor error when there is no leap provider in the scene
Contributor Tasks
These tasks are for the merge request creator to tick off when creating a merge request.

[ ] Pair review with a member of the QA team.
[ ] Add any release testing considerations to the MR for the next release.
[x] Check any relevant CHANGELOG files have been updated.
[x] Ensure documentation requirements are met e.g., public API is commented.
[x] Consider any licensing/other legal implications for this MR e.g. notices required by any new libraries.
[x] Add any relevant labels such as breaking to this MR.
[ ] If this MR closes a Jira issue, make sure the fix version on the JIRA issue is set to the correct one.

Reviewer Tasks
Add any instructions or tasks for the reviewer such as specific test considerations before this can be merged.
Use emojis in review threads to communicate intent and help contributors.

[ ] Code reviewed.
[ ] Non-code assets e.g. Unity assets/scenes reviewed.
[ ] Documentation has been reviewed. Includes checking documentation requirements are met and not missing e.g., public API is commented.
[ ] Checked and agree with release testing considerations added to MR for the next release.

Closes JIRA Issue
If this MR closes any JIRA issues list them below in the form Closes PROJECT-#
Closes UNITY-856

@Greg-UL tests I ran:

Attachment Hands example scene works as expected
single attachment points can be deleted: on the AttachmentHands component, untick any one of the attachment points

result: there is a pop up warning message and confirming the deletion leads to the toggle being unticked in the inspector and the corresponding gameObject disappearing from the scene

script can be reset: in the attachment hands example scene, reset the AttachmentHands script (right click on AttachmentHands component -> Reset)

result 1: all attachment hand axes gameobjects disappear from the scene.
result 2: on the AttachmentHands component: only palm and wrist are ticked and the leapProvider is set correctly
result 3: in the hierarchy under 'attachment Hand (Left)', there are only two gameObjects (Palm and Wrist)

script works without using the prefab: in a new scene, add a new empty gameObject and add the AttachmentHands.cs as a component

result 1: only palm and wrist are ticked
result 2: in the hierarchy under 'attachment Hand (Left)', there are only two gameObjects (Palm and Wrist)
result 3: no errors in the console
tick another attachment point on the AttachmentHands component - this appears as a gameobject in the hierarchy under 'Attachment Hand (Left)'

@JuliaRonnebergerUL that looks good. I found that deleting one of the middle points of a finger would then delete the tip of the finger on one hand and not the other - I don't suppose you could check that.
For tests that use the script without the prefab does that mean that we only bring up a tracked palm and wrist when no other joints are enabled on the attachment hands? Could I add this to say capsule hands and then enable different joints using the attachment hands script?

I found that deleting one of the middle points of a finger would then delete the tip of the finger on one hand and not the other - I don't suppose you could check that.

I've never seen that happening before and I can also not reproduce it now. If you see that again, maybe we should create a separate ticket for it?

For tests that use the script without the prefab does that mean that we only bring up a tracked palm and wrist when no other joints are enabled on the attachment hands? Could I add this to say capsule hands and then enable different joints using the attachment hands script?

No, the attachment hands just follow all the tracking data from the service provider (same as the capsule hands). When you just add the script (/or reset the script), it uses its default which only toggles the attachment points for the palm and for the wrist on and all other attachment points off. So that means that by default you only have those two gameobjects in the hierarchy where you can then attach other objects to. But you can always still toggle the other attachment points on and off.
You could use an attachment hand to kind of build a capsule hand though, eg. by adding small spheres to all the attachment points and then you could toggle those on and off to create a sphere hand that uses only some of the joints.

I'll raise that if I see it again.
I'm happy with the testing on this thanks.

What happens on the removal of the attachment script after multiple attachment points have been created and assigned game objects?

I just tested this and the created attachment points and the assigned gameObjects stay where they were when deleting the script. I am not sure if this is the expected behavior here or if we would expect them all to be deleted with the script?

I'm not sure what the desired functionality is here either. I feel like it should remove the items if their use is only relevant to the scrip, but that's just my opinion.

@Greg-UL  I think it makes more sense to never delete the objects, in a normal scenario, the user will have created these objects and then attached them... the only reason I can think you'd want to delete them is if you were using our example prefab as a base and didn't want the X/Y/Z meshes that we have by default


R — The first number is not getting the hljs-number class

Describe the issue
When the number is next to the <- operator, it doesn't get highlighted. It isn't getting the hljs-number class.

Which language seems to have the issue?
R.
Are you using highlight or highlightAuto?
highlight
...
Sample Code to Reproduce
import hljs from 'highlight.js/lib/core'
import r from 'highlight.js/lib/languages/r'
import 'highlight.js/styles/agate.css'

hljs.registerLanguage('r', r)

export default function RCode({ content }: { content: string }) {
  const highlightedCode = hljs
    .highlight(content, { language: 'r' })
    .value
  return

}

The content prop is coming from an MDX file. I'm using Next.js (React) and next-mdx-remote/rsc, using the compileMDX function.
Expected behavior
All numbers should be highlighted and have the hljs-number class.

Please provide actual R source, not just a graphic.

Closing for inactivity.  Please response and we can reopen whenever.


Task 10: moderate-import-existing-docker-plugin completed.

Task 10: moderate-import-existing-docker-plugin completed.

Task 06: easy-csr-with-existing-private-key completed.Also add one line to .gitignore file.

Could you separate your task into different branches?

HI saeid,
yes sure.Done.
On Thu, Jun 16, 2022 at 2:29 AM Saeid Bostandoust @.***>
wrote:

Could you separate your task into different branches?
—
Reply to this email directly, view it on GitHub
https://github.com/ssbostan/terraform-awesome/pull/90#issuecomment-1156986492,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD45SDRHBRNVLYJEH2L5GWLVPJG2HANCNFSM5YXONMHA
.
You are receiving this because you authored the thread.Message ID:
@.***>


How to decode futures-rich stack traces?

I'm writing an application using tokio.  My stack traces are mostly filled with generic functions from the futures crate like MyApp_<futures::sync::oneshot::Receiver<T> as futures::future::Future>::poll::h5c46c2194c2bbdbf and MyApp_<futures::future::and_then::AndThen<A, B, F> as futures::future::Future>::poll::h4bb286e1fd66ba15.  Panic messages usually have a couple of meaningful function names, so I can usually figure out what's going on.  But stack traces from my profiler are almost 100% filled with futures functions like that.  Try as I might, I can't figure out how to relate these to my code.  I think the biggest problem is that most of my futures are closures, and the closures all get inlined into their callers, where their callers are usually methods like Future::map or Future::AndThen.
I can't be the only person experiencing this problem.  How do other people profile their futures-based code?

While I agree this is a concern, I don't think it's super actionable for this library. Something like the tracing crate might be a good fit here.


Vertical views on mobile have offset bullet (ios)

Love this plugin.
I second all the enhancement requests. Would also be cool to incorporate with the recipe grabber plugin for automatic formatting :)
Only issue so far is vertical views on mobile have offset bullet. They look fine in landscape.

Yeah, so this is something I have noticed from time to time and am not quite sure how to fix...
When this has happened to me, if I rotate the screen to landscape and then back they look normal – is this also the case for you? It seems like any "major enough" refresh of the display is enough to fix it.

One thing I noticed, that I'm sure is related: the behavior around what part of the list item is selected on "tap" seems to differ between mobile apps and desktop
Here's the same recipe running in both:

Desktop
Mobile


Blank Creature Bug

Whenever I click on some creature, the tab goes blank, it doesn't show anything, and there is no buttons to go back.
List of Creatures whos bugged:

Rune Dragon
Earth Warrior
Harpire Bug Swarm
Sea Snake

I have to re-enable the program to get it back to working state again.

Thanks for raising this, I have submitted a PR which will hopefully be reviewed by the RuneLite team soon.
I will close this issue once it's been approved and confirm that it's resolved.
To see details, see PR https://github.com/LeeOkeefe/slayer-assistant-plugin/pull/32


2017 Bolt EV Premier doesn't work with most branches

It seems to only work with dev-c3-ff-kd
2017 Bolt EV Premier
Driver Confidence II package

Turns out my panda was broke


Update Star Wars example schema to mimic real database API

A back-end implementation with a real database wouldn't have direct access to the full dataset.
See facebook/relay#67

@dschafer @steveluscher

Awesome thanks!


Viewportscale on HighDPI-Devices wrong

Viewportscale on HighDPI-Devices wrong
Description

When using a custom PerspectiveCamera on HighDPI-Devices the Viewportscale seems to be wrong, the camera viewport is scaled down to 1/4 of the canvas.
To reproduce this issue just drag the PerspectiveCamera object in the Project Explorer and check the option "Use camera"

Version

0.98.12 Build 2020-07-25T14:15:20.001Z

Platform

Web Version [X]
Windows [X]
Mac [x ]

Hello
Thanks a lot for reporting. The device pixel ratio seems to be ignored inside of the editor.I


[requires.io] dependency update on master branch

This change is

[Current coverage][cc-pull] is 97.24%

Merging [#57][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master        #57   diff @@
==========================================
  Files            13         13
  Lines           796        796
  Methods           0          0
  Messages          0          0
  Branches         42         42
==========================================
  Hits            774        774
  Misses           17         17
  Partials          5          5

Powered by Codecov. Last updated by [cbcf7ab...d5d244d][cc-compare]
[cc-base-branch]: https://codecov.io/gh/fusionapp/fusion-index/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/fusionapp/fusion-index/compare/cbcf7ab798aa9a644939218b82d22b28359b4621...d5d244dbc1fb0e9f7a0b6882973c6b6145009d5d
[cc-pull]: https://codecov.io/gh/fusionapp/fusion-index/pull/57?src=pr

Reviewed 1 of 1 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Date.month crash with dates in the distant future

If you manage to get an invalid date like Date.fromTime<PHONE_NUMBER>0000000, everything works until you try something like notADate |> Date.month |> toString |> Html.text. Then you get the runtime Error Uncaught TypeError: Cannot read property 'substring' of undefined It's the same for Date.dayOfWeek.
This seems unlikely, but you can reach that pretty quick when extrapolating Dates. Not sure if this can be fixed with the Date.month function. Maybe the problem could be solved if Date.fromTime would behave like Date.fromString and yield a Result or a Maybe.
Can be reproduced with the following on http://elm-lang.org/examples/hello-html

import Html
import Date
main =
let
notAMonth = Date.fromTime<PHONE_NUMBER>0000000 |> Date.month
in
notAMonth |> toString |> Html.text

Just managed to reproduce the crash using Date.fromTime<PHONE_NUMBER>0000000 |> Date.month in repl

Tracking in #816


kustomize doesn't append nameSuffix patch properly (regression)

https://github.com/kubernetes-sigs/kustomize/issues/2896

fixed


rustfmt producing invalid code

rustfmt 0.8.4 and current HEAD will format this:
                assert!(Syscheck::new(&mut vec![String::from("one"), String::from("two")]).is_err());

To this code, which can't be compiled:
                assert!(
                    Syscheck::new(&mut vec![String::from("one"), String::from("two")]).is_err(),
                );

We're using the config at https://github.com/rust-lang-nursery/rustfmt/blob/master/rfc-rustfmt.toml

I think this is fixed on the current master. It may exceed max width, but will not produce invalid code.

I installed current master (272b0b6f) via Cargo and it did not fix the issue though.

Unfortunately I could not reproduce the issue with my environment. Are you sure you are using the rustfmt from the current master? rustfmt --version should give something like 0.8.4-nightly (272b0b6 2017-06-12). Either way, I added commit to #1654 and it should fix this issue.

Closing since this if fixed on the current master.

True! Thank you.


Support for table copies

Supporting incremental insert/update/deletes will take quite a bit of work.  However, another less difficult enhancement will make cstore_fdw 300% more useful right now, which would be support for bulk inserts, specifically:
 INSERT INTO cstore_table SELECT columns FROM regular_table;

As a shortcut, you could internally route this through the existing COPY code on the receiving end.  It would be deadly slow for single-row inserts, but then people doing single-row inserts into a cstore are mistaken anyway.

Merged into master. Closing.


⚠ Bofrost.lu has degraded performance

In c79a8ee, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2644 ms

Resolved: Bofrost.lu performance has improved in b213e57 after 9 minutes.


fix: debug mode now shows sessionId

Why does this PR exist?
Closes #2772
At the bottom of the plugin Settings, a user can toggle the permission to record the session for debugging purposes. This was not showing the sessionId when turned ON!
What does this pull request do?

Shows a console warning when the user toggles ON session recording won't work (i.e. in the development environment) - will work on production, alpha & beta.
Polishes the UI when the session recording is ON

Doubts & further considerations

🤔 📈 Not sure if the Session Replay(s) take time to process - as I could not find them on the dashboard
Upgrading our @sentry/react package. Although for replay to work we are covering the minimum requirements of the SDK to be >7.27.0 (we are on "@sentry/react": "^7.53.1")
Enriching our replay config: https://docs.sentry.io/platforms/javascript/session-replay/configuration/
Migrating to the latest Sentry SDK: https://docs.sentry.io/platforms/javascript/migration/v7-to-v8/

Testing this change

Run yarn build
Set up the plugin to import through the manifest.json - this should have set the environment to production
Open the plugin, go to Settings
Scroll to the bottom & enable the "Grand permission to record..." ---> see a sessionId appear

Before
After

Unsure of the sampling rates that we set when initialising Sentry as these are controlled by environment variables that get included in the pipeline (docs):

tracesSampleRate: process.env.SAMPLING
profilesSampleRate: process.env.PROFILE_RATE
replaysSessionSampleRate: process.env.REPLAY_RATE

The Sentry -> Replays dashboard has entries. Tried to manually test locally, by setting all values to 1.0, but to no avail.
I have that this still works, but we should look to migrate and improve error handling as part of the DX epic.

Thank you!! 🎉


[FLINK-1723] [ml] [WIP] Add cross validation for model evaluation

Cross validation (CV) [1] is a standard tool to estimate the test error for a model. As such it is a crucial tool for every machine learning library.
This builds upon the ongoing work on the evaluation framework for FlinkML.
As such, the current version supports calculating the score of Predictors only, however the end goal is to be able to have CV for Estimators as well to cover the unsupervised learning case.
We are using some code from the Apache Spark project, mostly simple routines for probabilistic sampling of datasets and generation of KFold CV data.
More and better tests need to be added to the implementation, and the current sampling approaches probably will not work if used within an iteration.

No news?

Closing since flink-ml is effectively frozen.


reimplement non-conflicting fix for #53

I really need this fix, so here is a reimplementation of #74 that doesn't conflict. All credit goes to @stephen though.

Super annoying that 6 months out this two line fix hasn't been merged in. Any chance this can be merged?

@mikecx The project seems abandoned to me. Have you found a decent alternative?

@denisftw Agreed, definitely looks dead. We're on the CatchRelease branch now but possibly looking to move to React Portal Popover as Portals are supposed to be used for this sort of thing.


docs: readme

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

1.1.0
GitHub release

Your semantic-release bot :package::rocket:


update InvalidContentType error message to include newly-acceptable types

Versions
0.15.0
Additional context
0.15.0 ships with an expanded list of allowable content types, but the error returned for still-invalid types reports that "only 'application/protobuf' is supported".

This was resolved in #121
previously the error was hardcoded "invalid content-type - only 'application/protobuf' is supported"
now the error uses a list of supported content types "unsupported content-type, valid types are: " + strings.Join(GetSupportedContentTypes()"


Use cmake for C/C++ build in run_tests.py

switch C/C++ build in run_tests.py to use cmake instead of Makefile.
cleanup the portability tests we have
some small run_tests.py cleanups as well

This PR allows further simplifications to our Makefile (when we don't need to build tests with it, we can simplify it a lot. Cmake should be enough to give use test coverage for our non-bazel build).

Running adhoc full portability test: sponge/53b2451b-eacd-4fae-a587-15017693eef8

The adhoc portability test is green
https://source.cloud.google.com/results/invocations/53b2451b-eacd-4fae-a587-15017693eef8/targets;collapsed=/github%2Fgrpc%2Frun_tests%2Fcpp_linux_noexcept_native/tests
(except the "stranded_event_test" failure in one of the configurations and that's a known flake - e.g. here: https://github.com/grpc/grpc/issues/23730)

@gnossen  @veblush this PR seems ready to go - please review.


Since early morning 12:th of June The absolute total values are not increasing.

The following entities  are constant since this morning:
RCT power Storage  ...:
Grid Energy Consumption total
Grid Energy Production total
Generator A Energy production total
Generator B Energy production total
Battery Used Energy
Battery Stored Energy
Apart from the total values, day values also seem constant.
I have now restarted home assistant with logs enabled I will add the logs later.
Version of the custom_component
0.10.0
Version RCT
Control software version : 2.3.5661
BMS version: 5597
Example of constant total values
Screenshots of constant total values
Describe the bug
Total and daily increasing values are not updated.
After restart of home Assistant with log enabled according to
logger:
  default: info
  logs:
    custom_components.rct_power: debug

The values are increasing again.
Debug log

There are no logs entrys regarding  rct_power yet. I will update this or add  to this thread tomorrow.

After restart of of Home Assistant with enabled debug loging the error is gone.
Looking in the official RCT power app today (13:th of June) on Generator B  and adding the bar values together the total energy has increased. Looking on generator B daily energy production in the official app seems ok.
Thus it seems that the official  RCT app was working.
A very large (372MB) DEBUG filtered home assistant log file can be found here rct_debug.txt
I will keep observing but i suggest that we  close the issue for now.


Refactor CSS code

Right now, the CSS code is written in a JS file. Create new relevant CSS files and write them there.

Can you assign this to me?

Yeah, go ahead!

can i work on this?


Casting Utility for Actors.vim is missing

I just installed actor_framework_2024_for_2020-<IP_ADDRESS>.vip (from @niACS repo).
It seems that Casting Utility For Actors.vim is missing - originally located in <vi.lib>\ActorFramework\Actor\
Existing project has broken Do.vi for (quite) every messages:

When creating a new message for an actor, I get a broken Do.vi:

LabVIEW 2023 64-bits

Oops, irrelevant package. My bad.
This said, I do not see any trace of the malleable VI in actor_framework_2024_for_2020-<IP_ADDRESS>.vip:

I revert my VM to a previous snapshot (no traces of previously tested packages), and then installed v<IP_ADDRESS> and I still have the same issue regarding missing Casting Utility for Actors.vim.

I do not see this malleable VI in ni/actor-framework original repo.
This may explain why it does not appear in @niACS's fork ?

This issue got fixed on a separate branch. The VI Package that contains the fix is <IP_ADDRESS>. The AF version on this VI Package contains additional functionality to the shipping example from LV2024Q3 AF.

Hi, I tested it on friday, and seems to be okay for me - no more missing VIM.
Opening an existing AF project with the new package installed (<IP_ADDRESS>) I get some dialog looking for some Trace VIs missing. Ignoring them, the project can be loaded, run and build as executable. So not a big deal, but perhaps another (small) issue.

Hi, I tested it on friday, and seems to be okay - works for me, no more missing VIM.
Opening an existing AF project with the new package installed (<IP_ADDRESS> in cleanup branch) I get some dialog looking for some Trace VIs missing. Ignoring them, the project can be loaded, run and build as executable. So not a big deal, but perhaps another (small) issue.

Can you please create an issue with the details?


License of the posts

Thanks for the informative posts. FWIW, you might want to edit the LICENCE.md and personalize it, at the moment it is the file from the original harmony repo

@mattip it's MIT -- I will update it later :)
Thanks for pointing out 😃


Add waitConfirmations function to listen acks

Problem to solve
No response
Solution
cf https://github.com/archethic-foundation/libjs/pull/26/files

= version 1.0.18


Cannot see arrow indicators on nodes

Hello
The arrow indicators for collapsing and expanding the org tree are not appearing for me. Here is an an example of the code.
 OrgChartItem item1 = new OrgChartItem(1, "Root item", "Root Level");
        OrgChartItem item2 = new OrgChartItem(2, "Item 2", "Level 1");
        OrgChartItem item3 = new OrgChartItem(3, "Item 3", "Level 1");
        item1.setChildren(Arrays.asList(item2, item3));

        OrgChart orgChart = new OrgChart(item1);
        orgChart.setChartTitle("A Title");
        orgChart.setChartNodeContent("title");
        orgChart.setChartExportButton(true);
        orgChart.setChartDraggable(true);
        orgChart.setChartExpandCollapse(true);

        add(orgChart);

Any idea why this is not working? I am using vaadin 21 with version 4.2.1 or the org chart.
thanks!

Hi @dcmlx,
I was facing the same issue. Turns out Font Awesome (which was used for the arrows) wasn't working properly in my project setup. Hope this helps!

Hello @dcmlx, sorry for the delay on this. @Charlie28000 is correct, this has to do with the fact that is using FontAwesome to draw the arrows but the dependency is not included in the addon itself. If you take a look at the test module in the repository, you can see that we are adding a css for font-awesome that is then imported in OrgchartDemoView. Also, you need to add the dependency for FontAwesome in your pom.xml (if you're not already using it).
I did a little Vaadin 21 test project with your example and it works okay. What I did:

Add the FontAwesome dependency to the pom.xml:

<dependency>
      <groupId>org.webjars</groupId>
      <artifactId>font-awesome</artifactId>
      <version>4.7.0</version>
  </dependency>

Copy font-awesome.css from the test module and add it to the project in \src\main\resources\META-INF\resources\frontend\styles\orgchart\font-awesome.css
Then add the @CssImport annotation like:

@CssImport("./styles/orgchart/font-awesome.css")
public class MainView extends VerticalLayout {

    public MainView() {
        OrgChartItem item1 = new OrgChartItem(1, "Root item", "Root Level");
        OrgChartItem item2 = new OrgChartItem(2, "Item 2", "Level 1");
        OrgChartItem item3 = new OrgChartItem(3, "Item 3", "Level 1");
        OrgChartItem item4 = new OrgChartItem(4, "Item 4", "Level 2");
        OrgChartItem item5 = new OrgChartItem(5, "Item 5", "Level 2");
        item1.setChildren(Arrays.asList(item2, item3));
        item3.setChildren(Arrays.asList(item4, item5));

        OrgChart orgChart = new OrgChart(item1);
        orgChart.setChartTitle("A Title");
        orgChart.setChartNodeContent("title");
        orgChart.setChartExportButton(true);
        orgChart.setChartDraggable(true);
        orgChart.setChartExpandCollapse(true);

        add(orgChart);
    }
}

Hope this helps.


Proofread README file with multiple fixes

Corrected typo, grammatical, punctuations at multiple places in the file: Improved readability, language coherence to benefit the prospective readers.

[x] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[x] Each commit in the pull request should have a meaningful subject line and body.
[x] If you're unsure, you can format the pull request title like [CAMEL-XXX] Fixes bug in camel-file component, where you replace CAMEL-XXX with the appropriate JIRA issue.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Run mvn clean install -Psourcecheck in your module with source check enabled to make sure basic checks pass and there are no checkstyle violations. A more thorough check will be performed on your pull request automatically.
Below are the contribution guidelines:
https://github.com/apache/camel/blob/master/CONTRIBUTING.md

@oscerd, requesting your review, merge of this PR into the master.