uninitialized constant ROM::Memory::Types::Int

Describe the bug
When I run the example code from https://rom-rb.org/learn/core/5.2/associations/, I get an error:
test.rb:6:in `block in <class:Users>': uninitialized constant ROM::Memory::Types::Int (NameError)

    attribute :id, Types::Int
                        ^^^^^
	from /Users/wilson/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/rom-core-5.3.1/lib/rom/schema/dsl.rb:184:in `instance_exec'
	from /Users/wilson/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/rom-core-5.3.1/lib/rom/schema/dsl.rb:184:in `call'
	from /Users/wilson/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/rom-core-5.3.1/lib/rom/relation/class_interface.rb:114:in `block in schema'
	from /Users/wilson/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/rom-core-5.3.1/lib/rom/setup/finalize/finalize_relations.rb:78:in `build_relation'
	from /Users/wilson/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/rom-core-5.3.1/lib/rom/setup/finalize/finalize_relations.rb:50:in `block (2 levels) in run!'
	from /Users/wilson/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/rom-core-5.3.1/lib/rom/setup/finalize/finalize_relations.rb:33:in `each'
	from /Users/wilson/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/rom-core-5.3.1/lib/rom/setup/finalize/finalize_relations.rb:33:in `block in run!'
	from /Users/wilson/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/rom-core-5.3.1/lib/rom/relation_registry.rb:11:in `initialize'
	from /Users/wilson/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/rom-core-5.3.1/lib/rom/registry.rb:27:in `new'
	from /Users/wilson/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/rom-core-5.3.1/lib/rom/registry.rb:27:in `new'
	from /Users/wilson/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/rom-core-5.3.1/lib/rom/setup/finalize/finalize_relations.rb:32:in `run!'
	from /Users/wilson/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/rom-core-5.3.1/lib/rom/setup/finalize.rb:88:in `load_relations'
	from /Users/wilson/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/rom-core-5.3.1/lib/rom/setup/finalize.rb:64:in `run!'
	from /Users/wilson/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/rom-core-5.3.1/lib/rom/create_container.rb:40:in `finalize'
	from /Users/wilson/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/rom-core-5.3.1/lib/rom/create_container.rb:16:in `initialize'
	from /Users/wilson/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/rom-core-5.3.1/lib/rom/create_container.rb:61:in `initialize'
	from /Users/wilson/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/rom-core-5.3.1/lib/rom/create_container.rb:67:in `new'
	from /Users/wilson/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/rom-core-5.3.1/lib/rom/create_container.rb:67:in `container'
	from test.rb:31:in `<main>'

Requiring 'rom/memory/types' didn't solve the issue.
To Reproduce
Execute the code from the associations documentation:
require "rom"
require "rom/memory"

class Users < ROM::Relation[:memory]
  schema do
    attribute :id, Types::Int
    attribute :name, Types::String

    primary_key :id

    associations do
      has_many :tasks, combine_key: :user_id, override: true, view: :for_users
    end
  end
end

class Tasks < ROM::Relation[:memory]
  schema do
    attribute :id, Types::Int
    attribute :user_id, Types::Int
    attribute :title, Types::String

    primary_key :id
  end

  def for_users(_assoc, users)
    restrict(user_id: users.map { |u| u[:id] })
  end
end

rom = ROM.container(:memory) do |config|
  config.register_relation(Users, Tasks)
end

users = rom.relations[:users]
tasks = rom.relations[:tasks]

[{ id: 1, name: "Jane" }, { id: 2, name: "John" }].each { |tuple| users.insert(tuple) }
[{ id: 1, user_id: 1, title: "Jane's task" }, { id: 2, user_id: 2, title: "John's task" }].each { |tuple| tasks.insert(tuple) }

# load all tasks for all users
tasks.for_users(users.associations[:tasks], users).to_a
# [{:id=>1, :user_id=>1, :title=>"Jane's task"}, {:id=>2, :user_id=>2, :title=>"John's task"}]

# load tasks for particular users
tasks.for_users(users.associations[:tasks], users.restrict(name: "John")).to_a
# [{:id=>2, :user_id=>2, :title=>"John's task"}]

# when we use `combine`, our `for_users` will be called behind the scenes
puts users.restrict(name: "John").combine(:tasks).to_a
# {:id=>2, :name=>"John", :tasks=>[{:id=>2, :user_id=>2, :title=>"John's task"}]}

Expected behavior
The code should behave as documented.
My environment

Affects my production application: NO
Ruby version: 3.3.0
OS: MacOS Sonoma 14.4.1 (23E224)
Rom 5.3

I think that it's because the memory plugin doesn't define its own type container. Examples should be updated, but adding Types = Dry.Types() at the top of a script should work too.

Thanks, @flash-gordon. I opened a PR to fix the documentation https://github.com/rom-rb/rom/pull/690

Thanks! Ahh, right, it's the old name of the type, I forgot it completely because I've been dealing with quite a bunch of languages at once recently :) It messes with your brain when same things are named differently everywhere.
I've merged the PR, let's see if the pipeline will manage to deploy it


[CPU] NormalizeL2 node migration on nGraph

@dmitry-gorokhov could you take a look one more time, please?


[chip-test, pwrmgr] chip_sw_pwrmgr_b2b_sleep_reset_req

Test point name
chip_sw_pwrmgr_b2b_sleep_reset_req
Host side component
Rust?
Opentitantool infrastructure implemented
Yes
Silicon Validation (SiVal)
Yes
Emulation targets

[ ] None
[ ] CW310
[ ] Hyperdebug + CW310

Contact person
Checklist
Please fill out this checklist as items are completed. Link to PRs and issues as appropriate.

[ ] Check if existing test covers most or all of this testpoint (if so, either extend said test to cover all points, or skip the next 3 checkboxes)
[ ] Device-side (C) component developed
[ ] Bazel build rules developed
[ ] Host-side component developed
[ ] Test added to dvsim nightly regression (and passing at time of checking)
[ ] For SiVal test cases, test is running relevant FPGA or silicon regression

This testpoint was labelled as si_stage: None since it requires very precise timing of stimulus that are not practical (or feasible) in emulation or silicon. Closing it.


Big Fixes KB article link incorrect

The link to the KB article includes and extra "HTTPS//" at the beginning which causes the link to not work. After removing the extra value, the link works correctly.

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

ID: 5422ea93-f976-dd55-8451-a3ce821c71df
Version Independent ID: bfc8f75d-62c2-7b44-36b5-5dbd06a97ec5
Content: Preview features in Dynamics 365 Retail version 10.0.7 - Retail | Dynamics 365
Content Source: articles/retail/get-started/whats-new-10-0-7.md
Service: dynamics-ax-retail
Product: ****
Technology: ****
GitHub Login: @josaw1
Microsoft Alias: josaw

@andyNewnham, thanks for bringing this to our attention. An updated version of this topic will be published later today.


DS-3509

createContext now ensures the eperson has a valid connection.
https://jira.duraspace.org/browse/DS-3509

somehow lost an import when rebasing...

Looking at this more closing, this seems to be fixed in 6.0 by #1226.


MIT License for Cardinal Components not included when using Jar in Jar

Hi
I was following the instructions to use cardinal components on my mod. When I built the JAR with this on build.gradle
repositories {
	maven {
		name = "Ladysnake Libs"
		url = "https://dl.bintray.com/ladysnake/libs"
	}
}
   ...
// Cardinal Components
modImplementation "io.github.onyxstudios.Cardinal-Components-API:cardinal-components-base:${project.cardinal_components_version}"
include "io.github.onyxstudios.Cardinal-Components-API:cardinal-components-base:${project.cardinal_components_version}"
modImplementation "io.github.onyxstudios.Cardinal-Components-API:cardinal-components-entity:${project.cardinal_components_version}"
include "io.github.onyxstudios.Cardinal-Components-API:cardinal-components-entity:${project.cardinal_components_version}"
modImplementation "io.github.onyxstudios.Cardinal-Components-API:cardinal-components-world:${project.cardinal_components_version}"
include "io.github.onyxstudios.Cardinal-Components-API:cardinal-components-world:${project.cardinal_components_version}"

three jars were included on the build on the /META-INF/jars/ path of my mod jar. Cardinal Components Base, Cardinal Components Entity, and Cardinal Components World. When I checked each of the jars, none of them had the MIT license of cardinal components included on their jars. I'm using the version 2.7.3 of cardinal components, but a few previous versions and later versions also don't include the license in them.
Usually, when mods are included Jar in Jar, each library used includes the library license in the jar themselves.

The license is still in the fabric.mod.json. I really don't think it's super necessary to copy the license file in every module, but I guess it can be done.


Event's withoutOverlapping mutex is not released if another before/after callback fails

Laravel Version: 8.68.1
PHP Version: 7.4.21
Database Driver & Version: N/A

Description:
When you call Event::withoutOverlapping() it sets up an "after" callback that removes the event mutex:
$this->then(function () {
  $this->mutex->forget($this);
});

If any other before or after callback fails before the mutex is cleared, this callback won't be triggered.
Steps To Reproduce:
$schedule->command('inspire')
  ->everyMinute()
  ->withoutOverlapping()
  ->before(function() {
    throw new \Exception('Something unexpected happened.');
  });

Potential Solutions:
There are three possible solutions that I can think of:

Run each "before" and "after" callback in a try/catch to ensure that they all run. This would fix the problem, but also potentially break code that expects previous callbacks to have run.
Add special handling for the "withoutOverlapping" case, maybe by just checking the $withoutOverlapping value after Event::run() has executed, and clearing the mutex there.
Introduce a new kind of callback… something like Event::alwaysBefore() and Event::alwaysAfter() that is executed separately from Event::before() and Event::after() and is run within a try/catch block to ensure that they always run no matter what. We could then move the call to $mutex->forget() into alwaysAfter() to ensure the mutex is cleared regardless of what exceptions were thrown.

I'm happy to PR a solution, but I wanted some feedback before I do.
Additional Context:
This came up because we have a Log::info() call inside a before() callback, and our logging service had downtime causing an exception to be thrown. We've added try/catch statements to our application code and added an exception handler to that logger, but it was a beast to debug. I ended up having to manually find and clear the mutex value in our Redis cache, which was not fun!

Paging @taylorotwell to see what the best solution to this would be.

@inxilpro I would probably go for solution #2... just handle it totally separately from the then callbacks. Note that some commands run in the foreground and some run in the background.


Issue with GetStreamWithImageRotatedForExternalStorage

Make sure you follow all of the setup directions before posting an issue: https://github.com/jamesmontemagno/MediaPlugin#important-permission-information
If you are creating an issue for a BUG please fill out this information. If you are asking a question or requesting a feature you can delete the sections below.
Failure to fill out this information will result in this issue being closed. If you post a full stack trace in a bug it will be closed, please post it to http://gist.github.com and then post the link here.
Bug Information
Version Number of Plugin: <IP_ADDRESS>
Device Tested On: iPad Mini 4
Simulator Tested On: None
Version of VS: 15.7.1
Version of Xamarin: Forms <IP_ADDRESS>2510
Versions of other things you are using:
Steps to reproduce the Behavior
Call TakePhotoAsync with RotateImage = true
Call GetStreamWithImageRotatedForExternalStorage
Expected Behavior
Image should be displayed (either correctly rotated or not)
Actual Behavior
Stream seems to return null or empty
Code snippet
            await CrossMedia.Current.Initialize();

            if (CrossMedia.Current.IsCameraAvailable && CrossMedia.Current.IsTakePhotoSupported)
            {
                var file = await CrossMedia.Current.TakePhotoAsync(new Plugin.Media.Abstractions.StoreCameraMediaOptions
                {
                    AllowCropping = true,
                    PhotoSize = Plugin.Media.Abstractions.PhotoSize.Medium,
                    SaveToAlbum = false,
                    RotateImage = true
                });

                if (file == null)
                    return;

                Image.Source = ImageSource.FromStream(() =>
                {
                    //GetStream works but image is incorrectly rotated
                    var stream = file.GetStreamWithImageRotatedForExternalStorage();
                    return stream;
                });
            }

Screenshots
None

Ok, I can't debug this on iOS as I dont have a Mac with the correct OS so I added some alerts:-
                    var stream = file.GetStreamWithImageRotatedForExternalStorage();

                    if (stream == null)
                        DisplayAlert("TakePicture", "stream is null", "Ok");
                    else if(stream.Length == 0)
                        DisplayAlert("TakePicture", "stream is 0 length", "Ok");

I don't see either so might not be a null / empty stream.

Ok, added some Alerts and the stream has data but does not seem to work when using ImageSource.FromStream.

Changed SaveToAlbum = true and when I open the gallery, the image is rotated 90 deg.
Have RotateImage = true which could cause the issue? I'll try setting it to false.
I still can't set the image source to the byte array of the image using GetStreamWithImageRotatedForExternalStorage.
using (var ms = new MemoryStream())
{
     file.GetStreamWithImageRotatedForExternalStorage().CopyTo(ms);
     details.LabelImage = ms.ToArray();
}

using the byte array for an image
return ImageSource.FromStream(() => new MemoryStream(this.LabelImage));
This does not work for me, GetStream works ok.

Ok so, RotateImage = false + GetStreamWithImageRotatedForExternalStorage allows me to display the image but its still incorrectly rotated in my app and the gallery.

If SaveMetaData is false, the photo rotation issue goes away, at least with photos taken AND displayed on the same device.
GetStreamWithImageRotatedForExternalStorage still does not seem to work for me.

GetStreamWithImageRotatedForExternalStorage worked for me for months but with the latest <IP_ADDRESS> version and Xamarin.Forms <IP_ADDRESS>6417 iOS shows the correct byte array length but it is filled with 0s.

Funny, didn't check the content (as I can't debug my code), only looked at the length.

Yes. <IP_ADDRESS>. Thanks.


Allow more therads than (virtual) cores

hibp-downloader is limited to the number of virtal cores. However neather cpu limit nur line speed is hit using it, so download should be much faster with 2 or three times the count of virtual cores. Did you ever try this?
The current default is fine I guess, but the limit should be higher.

By default the --processes option is set to the number of CPU cores available, if you'd like to use more (or less) processes you can simply adjust the --processes CLI option.
Is this what you are referring to or is there something else?


Add reply_order migration

Migration for #667; that depends on this.

…Totally concur with past me, this'll fall over if I migrate it and there are new replies in the meantime. Gonna merge both.


Encoding API compatibility table

https://encoding.spec.whatwg.org/
Current browser compatibility tables:
https://developer.mozilla.org/pl/docs/Web/API/TextDecoder#Browser_compatibility

There's already an entry for that:
http://caniuse.com/#feat=textencoder

Well, can we add a new one for TextEncoderStream and TextDecoderStream?

Available at http://caniuse.com/#feat=textencoder
and also:
https://caniuse.com/#feat=mdn-api_textencoderstream
https://caniuse.com/#feat=mdn-api_textdecoderstream


Change flag name from --allow-listed-local-paths to --allowed-listed-local-paths

Motivation: https://www.notion.so/Using-Bacalhau-To-Deliver-Edge-Based-Machine-Learning-Inference-34568b42cbfa46e283704cc956f36952?d=c531c04a891749ca9a884139ecc0bcf2&pvs=4#8ce1dfc9405642c88d012d170c9d96fe
Once this work is completed, we'll need to update any blog post using this flag, as well as documentation for it in the docs site.

@aronchick is this the preferred naming you'd like to use?

no, it should be "allow" not "allowed"


Unable to send any headers to site using https connection.

<EMAIL_ADDRESS>commented:

Hello,
first of all let me please thank you for such a greate job! It`s really very useful and cool!
Have just downloaded and compilled current master e960279ff26048fd7a366b86bae82ed178564127.
I`ve tried the same script with https and http hosts usind proxy. Here is the example of headers using https (dump from proxy server):
array(4) {
["_requst"]=>
string(35) "CONNECT www.google.com:443 HTTP/1.1"
["proxy-connection"]=>
string(10) "keep-alive"
["user-agent"]=>
string(11) "Mozilla/5.0"
["host"]=>
string(14) "www.google.com"
}
And here the same script headers but using http (dump from proxy server):
array(10) {
["requst"]=>
string(60) "GET http://www.google.com/accounts/ServiceLoginAuth HTTP/1.1"
["user-agent"]=>
string(117) "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_7; en-us) AppleWebKit/533.4 (KHTML, like Gecko) Version/4.1 Safari/533.4"
["proxy-authorization"]=>
string(86) "Basic ............................"
["............"]=>
string(12) "............"
["expect"]=>
string(0) ""
["accept"]=>
string(90) "application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,/_;q=0.5"
["connection"]=>
string(10) "Keep-Alive"
["accept-encoding"]=>
string(4) "gzip"
["accept-language"]=>
string(4) "en,*"
["host"]=>
string(14) "www.google.com"
}
Please make it works the same with http and https. Or at least add on opportunity to set a useragent or headers at all.
Thanks a lot for such great code!
FreeBSD serv233.sp 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
QMake version 2.01a
Using Qt version 4.7.3 in /usr/local/lib/qt4

Disclaimer:
This issue was migrated on 2013-03-15 from the project's former issue tracker on Google Code, Issue #233.
:star2:   3 people had starred this issue at the time of migration.

On behalf of the PhantomJS team, I apologize for letting this bug linger unaddressed for years.
I think what's going on here is, PhantomJS will send custom headers to an origin server over proxied HTTPS just fine -- at least, I assume it will -- but the CONNECT command sent to the proxy doesn't get any of those headers.  I do not know what is supposed to happen here; I'm unfamiliar with explicit HTTPS proxies.  (It would be entirely plausible to me if the proxy was NOT supposed to receive any but the most generic of request headers under these conditions.)
To do anything about this, we need to figure out:

What the relevant Web standards say about this.
Whether the situation is still the same in PhantomJS 2.0.
Whether it makes sense to be able to specify custom headers for the proxy independent of custom headers for the origin server, and if so, what the API for that should look like.

I think this is all stuff that we (the PhantomJS devs) can figure out for ourselves, but we may not get to it anytime soon; if you have time to investigate it even a little, that would be helpful.

Due to our very limited maintenance capacity (see #14541 for more details), we need to prioritize our development focus on other tasks. Therefore, this issue will be closed. In the future, if we see the need to attend to this issue again, then it will be reopened.
Thank you for your contribution!


Feature: Video range support

Playing only a portion of the video (start & end time)
Provide an optional startTime and/or endTime for the video. Value is in milliseconds.
Example
source={{ startTime: 36012, endTime: 48500 }}

It is a very good PR, it you good point that you put new fields in src prop !
Can you please update API.md to add the new API ?
And also add a line in changeLog.
I will merge it rapidly !
Thank you

Correct, it creates ClippingMediaSource and 36012 will become 0. The duration of the clip will be 48500 - 36012, so if you need to seek will need to pass a in the range between 0 and 48500 - 36012

Thanks for the quick reply. I noticed that normally the seek() function takes a parameter in seconds, but the startTime and endTime are in milliseconds.
Does using startTime and endTime in the source also change the seek time to seconds? (Seems like it might be the case from your example here?)
If that's the case, would it also affect the onProgress event values as well?

There are no changes to seek and in progress, so they should continue working the same way as without start and end time.


Default to placing AAVE in DAI

Per this community snapshot proposal  we are ready to move to using AAVE as our DAI default.
This proposal sets AAVE to be the default DAI AAVE strategy that mints/redeems will come in and out of.
This also moves 8 million of the 8.6 million DAI we currently have on Compound over to AAVE. The entire amount is not moved since we must specify an exact amount to transfer, unless we were to pull everything out of Compound (USDT and USDC) as well and reinvest. By doing less than the full amount, we ensure this governance proposal succeeds.
We can do a later strategist action to move the remaining DAI.

I've gone ahead and submitted this proposal as well:
Running 028_dai_default_aave deployment...
INFO: Sending proposal to governor...
INFO: Submitting proposal for Default DAI to AAVE Strategy to governor 0x72426BA137DEC62657306b12B1E869d43FeC6eC7
INFO: Args: [
  [
    "0xE75D77B1865Ae93c7eaa3040B038D7aA7BC02F70",
    "0xE75D77B1865Ae93c7eaa3040B038D7aA7BC02F70"
  ],
  [
    "setAssetDefaultStrategy(address,address)",
    "reallocate(address,address,address[],uint256[])"
  ],
  [
    "0x0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f0000000000000000000000005e3646a1db86993f73e6b74a57d8640b69f7e259",
    "0x0000000000000000000000009c459eeb3fa179a40329b81c1635525e9a0ef0940000000000000000000000005e3646a1db86993f73e6b74a57d8640b69f7e259000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000006b175474e89094c44da98b954eedeac495271d0f0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000069e10de76676d08000000"
  ]
]
Gas price (gwei): Regular=153.844743508 Premium=175.383007599
INFO: Submitted proposal 9
INFO: Next step: call the following methods on the governor at 0x72426BA137DEC62657306b12B1E869d43FeC6eC7 via multi-sig
INFO:    queue(9)
INFO:    execute(9)
INFO: Done
INFO: Proposal sent.
028_dai_default_aave deploy done.

@tomlinton Does this look good to you? If yes we'll merge and get that proposal executed... :)

Looks good!

@franckc We are good for execution then.


Docker Logs Show Error when Net not Present

Using the sample app described here:
https://www.weave.works/guides/monitor-docker-containers/
and launching it with the token to use the service displays the following error in Docker logs <scope container name>:
<probe> INFO: 2016/03/16 14:07:34.850740 publishing to: scope.weave.works:443```

collecting stats..... then this:

```<probe> ERRO: 2016/03/16 14:07:35.221053 Error collecting weave info, backing off 10s: Get http://<IP_ADDRESS>:6784/report: dial tcp <IP_ADDRESS>:6784: getsockopt: connection refused
<probe> INFO: 2016/03/16 14:07:35.461580 Control connection to <IP_ADDRESS>:443 starting
<probe> INFO: 2016/03/16 14:07:37.932228 Publish loop for <IP_ADDRESS>:443 starting
<probe> ERRO: 2016/03/16 14:07:45.384644 Error collecting weave info, backing off 20s: Get http://<IP_ADDRESS>:6784/report: dial tcp <IP_ADDRESS>:6784: getsockopt: connection refused
<probe> ERRO: 2016/03/16 14:08:05.531829 Error collecting weave info, backing off 40s: Get http://<IP_ADDRESS>:6784/report: dial tcp <IP_ADDRESS>:6784: getsockopt: connection refused ```

This is by design; scope tries to talk to weave, and lets us knows when it fails.  It will stop logging after trying 5 times (IIRC).
Scope doesn't need weave to work, but these errors are important for debugging when scope/weave integration is not working.


recommended...

I think that maybe adding auto heal or/and auto dodge would be really cool

IMPORTANT : (!!!)

Auto loot weapon switches problem ( Got 2 powerful weapon , shoot is in low range - and cheat decides to  take a pistol! Sh!t) .

Really, it will be very useful.
Im begging ( if its possible) to add option  ONLY for ammo and supply autoloot,  OR to stop weapon autoloot, when   2 weapons are already handed. Its not a problem to change one weapon for better by hand during session. But BIG problem, when you are involved in shooting and weapon suddenly changed and always for worse (and reload ofcourse) Its Death 99 %
2.  Game crashes , when smoke is released. Extinguisher in police station expecially.

also, prepare for a upcoming patch https://cdn.discordapp.com/attachments/480975272686911488/526193509493899294/uhoh.JPG

@wowthisiscool They already implement it on zbot473's hack. Whole reason of that picture.

Yes the auto loot has been a problem but the easy fix is to just use fists when you loot, not that hard

Yes the auto loot has been a problem but the easy fix is to just use fists when you loot, not that hard

Do you have problems analysing my message?)
When shooting is in bunker or whatever place, where are tons of loot from dead players - auto loot changes the weapon you are shooting in the moment - and its a problem.  More often it works exactly in battle ,but not when you just loot some stuff=)

yes i do have problem analysing your message, are you racist?
IMPORTANT : (!!!)
Auto loot weapon switches problem ( Got 2 powerful weapon , shoot is in low range - and cheat decides to take a pistol! Sh!t) .
Really, it will be very useful.
Im begging ( if its possible) to add option ONLY for ammo and supply autoloot, OR to stop weapon autoloot, when 2 weapons are already handed. Its not a problem to change one weapon for better by hand during session. But BIG problem, when you are involved in shooting and weapon suddenly changed and always for worse (and reload ofcourse) Its Death 99 %


CocoaPod Installation

Hi,
Does the framework support CocoaPod? Thanks

Hi Sep.
No, Carthage only for now and possibly SPM when it supports iOS.
:) Teo


Request Sample File

Hey Leon,
thank u for ur cool project. U think it's possible to get in touch, i was currious about a sample file. Ur e-mail does not work, so i stalked u here :-) What is the best way to reach u?

Hey<EMAIL_ADDRESS>works fine, did you try that?


Is it possible to disable lsp in node_modules directory file?

Hello,
I would like to disable LSP client or just efm langserver when I'm in the file which is inside node_modules directory.
Because of efm and prettier errors related to my config I can't read anything:

Is it possible? I can provide my lsp/efm config if needed.
Maybe some particular vim BufEnter syntax to emit :LspStop inside node_modules dir file?
Thank you!

Usage questions belong on our discourse, you can find the link in the readme.

From: Łukasz Kurpiewski @.>
Sent: Saturday, April 24, 2021 10:08:10 AM
To: neovim/nvim-lspconfig @.>
Cc: Subscribed @.***>
Subject: [neovim/nvim-lspconfig] Is it possible to disable lsp in node_modules directory file? (#867)
Hello,
I would like to disable LSP client or just efm langserver when I'm in the file which is inside node_modules directory.
Because of efm and prettier errors related to my config I can't read anything:
[image]https://user-images.githubusercontent.com/17691791/115966936-20121000-a530-11eb-8ba2-a6b480c08670.png
Is it possible? I can provide my lsp/efm config if needed.
Maybe some particular vim BufEnter syntax to emit :LspStop inside node_modules dir file?
Thank you!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/neovim/nvim-lspconfig/issues/867, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADFTBJWIAULQELYJMRK2NJLTKL3HVANCNFSM43QKPLCA.


Assertion hit

Context: I am writing a small C++ client for the Google Genomics API. The API has been tested before with the Java client.
While using refresh token credentials with the right scope, I hit the following error:
E0703 11:39:01.673943000<PHONE_NUMBER>25056 sync_posix.c:48] assertion failed: pthread_mutex_lock(mu) == 0
Abort trap: 6

Happy to send in the code that results in this via email.

I'd be happy to take a look! Have been tracking a few of these lately.
On Fri, Jul 3, 2015, 11:47 AM Siddhartha Bagaria<EMAIL_ADDRESS>wrote:

Context: I am writing a small C++ client for the Google Genomics API. The
API has been tested before with the Java client.
While using refresh token credentials with the right scope, I hit the
following error:
E0703 11:39:01.673943000<PHONE_NUMBER>25056 sync_posix.c:48] assertion failed: pthread_mutex_lock(mu) == 0
Abort trap: 6
Happy to send in the code that results in this via email.
—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/issues/2299.

I sent you an email with code and compile instructions. Thank you so much for looking into this. :)

As discussed offline, this issue has disappeared after recent fixes related to use-after-free.


finder not iterable

I get this error, when using the script. Any solutions?
Uncaught TypeError: finder is not iterable
at Scrollux.findSACA (scrollux.js:84)
at Scrollux.init (scrollux.js:57)
at new Scrollux (scrollux.js:43)

Hi, can you show me your HTML code please ? To use this plugins, you need to have only 'section' as HTML tags


ML 3.9 : Outlier Detection using Random Forest - Isolation Forest (D)

Description
📌  Issues for Week 3
Welcome to 'ML' Team, good to see you here
:arrow_forward: This issue will helps readers in acquiring all the knowledge that one needs to know about ----
Outlier Detection using Random Forest - Isolation Forest.
:red_circle: To get assigned to this issue, add your Batch Numbers mentioned in the spreadsheet of "Machine Learning", the approach one would follow and choice you prefer (Documentation, Audio, Video). You can go with all three or any number of options you're interested to work on.
✔ Domain : Machine Learning
:red_circle::yellow_circle: Points to Note :

The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.

"Issue Title" and "PR Title should be the same. Include issue number along with it.

Changes should be made inside the Machine Learning/Machine_Learning/Unsupervised_Machine_Learning Branch.

Follow Contributing Guidelines & Code of Conduct before start Contributing.

This issue is only for 'GWOC' contributors of 'Machine Learning' domain.

:white_check_mark: To be Mentioned while taking the issue :

Full name
Batch Number
GitHub Profile Link
Which type of Contribution you want to make :

[ ] Documentation

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎
Domain
Machine Learning
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

Domain
Machine Learning
Type of Contribution
Audio
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

Domain
Machine Learning
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign

Name: Hrugved Kolhe
Batch: 3
GitHub Profile
[x]  Documentation
I would like to work on it

Sorry @hrugved06 you've been unassigned due to violating the rules of not to use /assign

Name: Hrugved Kolhe
Batch: 3
GitHub Profile
[x]  Documentation

This issue will not be assigned to you. Go with another one and maintain proper guidelines. @hrugved06

Yugal Agarwal
Github => https://github.com/Yugal41735
Batch - 1
Contribution => documentation

Tanvi Deshmukh
batch-5
iwould like to contribute to this issue.. plz assign it to me.

Tanvi Deshmukh
batch-5
type-documentation
iwould like to contribute to this issue.. plz assign it to me.

/assign

Tanvi Deshmukh
batch-5
I would like to contribute to this issue.. plz assign it to me.

I would like to work on this issue.
Name : Rahul Singhal
Batch : 1
Github Profile link: https://github.com/rahulsinghal1904
Approach : Implementation of outlier detection using Random Forest.
Type : Documentation

/assign

I would like to work on this issue.
Name : Subhrato Som
Batch : 2
Type : Documentation

issue assigned to @Yugal41735

@abhisheks008  sorry due to my mid sem i was not able to give u any update, and yup i am working on it, if it possible could u give me time till tomorrow.

@Yugal41735 No worries complete this by tomorrow positively!

@abhisheks008  I am unable to checkout to Machine Learning  branch after cloning the repo


nikolai.berestevich fix: task34144 remove closing dateline besquare

Changes:

delete:
a)in _faq obj with dateline
b)in footer string with dateline

Type of change

[ x ] Bug fix
[ ] New feature
[ ] Update feature
[ ] Refactor code
[ ] Translation to code
[ ] Translation to crowdin
[ ] Script configuration
[ ] Improve performance
[ ] Style only
[ ] Dependency update
[ ] Documentation update
[ ] Release

fix: task #34144 remove closing dateline besquare


Avoid raising UnknownHookError when NoMethodError is raised inside of a hook block

In order to resolve #27, this PR changes the method DreddHooks::Server::EventsHandler#handle so it doesn't raise UnknownHookError when NoMethodError is raised inside of the hook block.

Hi @nicolasiensen,
I released v0.1.2 with your fix (and an entry to the change log), so you should be able to use it right away. Thank you for documenting the issue and opening this PR!

This is great @gonzalo-bulnes, I'm glad to contribute to the project!


IOTDB-1241 support redirect query for cluster

Description
see https://issues.apache.org/jira/browse/IOTDB-1241.
3 nodes, replica num 1.
one benchmark only sends query to one node.
Query performance improved by 37%.
disable redirect

enable redirect

Content1 ...
Content2 ...
Content3 ...

This PR has:

[ ] been self-reviewed.

[ ] concurrent read
[ ] concurrent write
[ ] concurrent read and write

[ ] added documentation for new or modified features or behaviors.
[ ] added Javadocs for most classes and all non-trivial methods.
[ ] added or updated version, license, or notice information
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious
for an unfamiliar reader.
[x] added unit tests or modified existing tests to cover new code paths, ensuring the threshold
for code coverage.
[ ] added integration tests.
[x] been tested in a test IoTDB cluster.

Key changed/added classes (or packages if there are too many classes) in this PR

Despite your effort that should be thanked, the current implementation is not very efficient, because the decision of redirect or not is made AFTER readers are created, which means a lot of resources have already been wasted by the time the decision is made. Moreover, I wonder if you have released the resources properly after the decision.
I would recommend you do the redirection check BEFORE readers are created, and maybe it is done right after the physical plan is generated with the help of the partition table.

Ok, I will think about whether the plan could be redirected to the right node with the help of the partition table.

hi chao, there is 4 Bugs and 8 code smell, which maybe deal it.
Thanks.

hi chao, there is 4 Bugs and 8 code smell, which maybe deal it.
Thanks.

hi, 8  code smell are system.out, I think it's not necessary to deal with it.

hi chao, there is 4 Bugs and 8 code smell, which maybe deal it.
Thanks.

hi, 8 code smell are system.out, I think it's not necessary to deal with it.

ok, no problem.

Maybe you can suppress these warnings.


Is there a way to start a singleton service when the container is built

Similar to AutoFac's IStartable or Auto-Activate functionality?
https://autofaccn.readthedocs.io/en/latest/lifetime/startup.html
I know I can substitute in AutoFac, but i'd just like to know if its possible with the built in DI in ASP.NET Core 2.1.
Thanks,
Matt

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

ID: 0d78f540-81fd-1ba9-cb90-591e4ec27d9b
Version Independent ID: 2251f557-dd3a-ec35-2558-6243337db009
Content: Dependency injection in ASP.NET Core
Content Source: aspnetcore/fundamentals/dependency-injection.md
Product: aspnet-core
GitHub Login: @guardrex
Microsoft Alias: riande

Hello @dendle ... You should probably move this over to the aspnet/Home issues for a faster answer. https://github.com/aspnet/Home/issues

"Singleton lifetime services are created the first time they're requested (or when ConfigureServices is run and an instance is specified with the service registration)."
You should pass an instance to the "AddSingleton" extension method

Thanks for contacting us. We believe that the question you've raised have been answered. If you still feel a need to continue the discussion, feel free to reopen it and add your comments.


Getting Started docs don't mention import service URL question

Description
The Getting Started documentation doesn't mention the Import Service URL question.
https://jss.sitecore.com/docs/getting-started/app-deployment
Expected behavior
The question should be mentioned, along with an indication that it should probably just be left blank. Or perhaps the question should be removed altogether, and require manual editing to change the import service URL?
Screenshots

Added in #359


[feat] Allow MSI version overide

Describe the problem
When building a msi only version in the format of major.minor.patch.build numeric only.
this is pretty annoying as its not semvar and we use major.minor.patch-hash which doesn't work at all on with wix
Describe the solution you'd like
add a env overide to manually set the version for msi.
something like TAURI_MSI_VERSION  this would allow people to not have to change there core version because of it
Alternatives considered
having to change the version on windows or not use msi
Additional context
https://github.com/tauri-apps/tauri/blob/a49a19ffa304f031fb1a04d31a567cc7f42a380a/crates/tauri-bundler/src/bundle/windows/msi/mod.rs#L435

Would a platform specific config (https://v2.tauri.app/reference/config/#platform-specific-configuration) be enough or does the inner tauri app itself need the correct "normal" (non wix) version?
Not disagreeing with the feature request, just looking for a workaround until something is implemented.

i have setup a workaround for setting the version on windows but i do think it would make more sense to use a overide env since it is the only part of tauri that i know of that doesnt work with a semvar version


Remove "nightly" from installation instructions

Description
Why
Installation instructions, when ran as they are now, currently produce the following error for me:
No compatible version of react-native-windows found.
  The latest supported version is<EMAIL_ADDRESS>  Please modify your application to use<EMAIL_ADDRESS>or another supported version of react-native and try again.

NoAutoMatchingReactNativeWindows:
  No compatible version of react-native-windows found.
  The latest supported version is<EMAIL_ADDRESS>  Please modify your application to use<EMAIL_ADDRESS>or another supported version of react-native and try again.

Just running the react-native "init" without pointing to a nightly version works for me. I've also reproduced the error and the solution on another system (with another OS).
Microsoft Reviewers: Open in CodeFlow

Thanks for your PR, but the doc files under the docs/ folder are for the "next" version of RNW, and nightly is appropriate there. However, you're right, it shouldnt' say nightly to use the current latest version, 0.73. I've updated the correct docs in your PR.

Thank you very much!

@microsoft-github-policy-service rerun

@microsoft-github-policy-service agree


auto focus searchbar

auto focussing the searchbar so i can directly start typing when after opening a new tab

just realized that this is a duplicate


Switching to modern and modular precision declaration

MFC is filled with lines like this:
https://github.com/MFlowCode/MFC/blob/a39962ca7378fab292380a0e8694cc953f38b7e9/src/simulation/m_hypoelastic.f90#L30-L32
where the precision is declared via kind(0d0).
We also have a ton of this
https://github.com/MFlowCode/MFC/blob/a39962ca7378fab292380a0e8694cc953f38b7e9/src/simulation/m_riemann_solvers.fpp#L547-L556
where inline constants have precision declared in a "hard-coded" way.
What is better is declaring a separate constant that we can change as needed, like this
example, though there are many others.
A fix for this issue would remove all cases of 0d0 and kind(0d0) and replace them with a constant declared in the common/ directory. I think this is a suitable task for @anshgupta1234 .
I realize one can force precision via compiler variables, but I believe we should avoid this because there is an established language standard.

note this from the miniweather app:
https://github.com/mrnorman/miniWeather/blob/9869dcffb19c4b07bc88f2b8adf98ca9e95bb997/fortran/miniWeather_mpi_openacc.F90#L13-L20
an important thing to notice is that if one switches to single precision, you have to switch the MPI kind as well (notice all the MPI_DOUBLE_PRECISION business in m_mpi_proxy.f90).

Bump to top as the PR #119 was closed


Updates faraday-http-cache to 1.0.1

Updates faraday-http-cache to 1.0.1 from 0.4.2. Removes version
requirement from gem file, per faraday-http-cache gem installation
instructions
https://github.com/plataformatec/faraday-http-cache#installation.

@monfresh Ready for review and merge. Not sure if any updates in syntax are needed in the caching docs.

Whether or not we restrict gem versions in the Gemfile is not dependent on a gem's installation instructions. It is dependent on whether or not a particular gem version is compatible with our app. In the case of faraday-http-cache, they went straight from version 0.4.2 to 1.0. In between, there were about 5 months and a bunch of commits.
Since this gem is not covered by our test suite, we would need to do some more research about what changed (especially since they unfortunately don't have a changelog), and do thorough manual testing before upgrading.

What are the steps to manually test this gem? Following the guidance in https://github.com/codeforamerica/ohana-web-search/wiki/Improving-performance-with-caching?

Yes, I think that would do it, in addition to testing on Heroku. But do it without setting ENABLE_CACHING to true so that only the faraday cache is being used. I don't remember exactly, but there were issues at one point with either search terms or rendering the search and/or details pages, so I would click on all the links on the home page, visit all the locations, and do some random searches. Repeat each action twice in a row within one minute, then repeat after allowing more than a minute to pass between the last visit to the same page to make the app call the API again instead of using the cache.

That said, upgrading this gem is not critical right now, so you can focus on more important issues if you want.

Looks like I already did this last week: https://github.com/codeforamerica/ohana-web-search/commit/ecdba4c542d7fc8acc614eecf01ccdf664c55025
I've been using this version in SMC-Connect and ohana-sms without any issues, so it should be fine here too.


running the docker version of geoip-service

Greetings,
I have been working a bit with your geoip-service and have been able to install your docker version with:
docker pull klauspost/geoip-service
I have also found that you cannot use the docker run command as stated in your document as the " (quote) at the end generates a problem.
docker run --rm -p <IP_ADDRESS>:3000:5000 -v /local/GeoLite2-City.mmdb:/data/geodb.mmdb klauspost/geoip-service"
but can run
docker run --rm -p <IP_ADDRESS>:3000:5000 -v /local/GeoLite2-City.mmdb:/data/geodb.mmdb klauspost/geoip-service
The problem that I am now having is with the following command:
docker run --rm -p <IP_ADDRESS>:3000:5000 -v /local/GeoLite2-City.mmdb:/data/geodb.mmdb klauspost/geoip-service app db="/data/geodb.mmdb" pretty=true
or even just
docker run --rm -p <IP_ADDRESS>:3000:5000 -v /local/GeoLite2-City.mmdb:/data/geodb.mmdb klauspost/geoip-service app pretty=true
it seems that from the "app ..." onwards is causing a problem on my Ubuntu 15.04 system for some reason and I cannot figure out how to pass the "pretty=true" as a command line argument to the geoip-service inside the container.
Can you please advise on how to resolve this?
Thanks,
Lonnie

I think you are simply missing some -'s.
docker run --rm -p <IP_ADDRESS>:3000:5000 -v /local/GeoLite2-City.mmdb:/data/geodb.mmdb klauspost/geoip-service app -pretty=true -db=/data/geodb.mmdb

:+1:


Use custom baseQuery in React RTK

https://redux-toolkit.js.org/rtk-query/usage/customizing-queries#axios-basequery
This function can have all of the serialize/deserialize protobuf logic.

Nevermind.


make all paths absolut;

We need this change for a build tool which has problems with relative paths. The changes done here should produce the same behavior like before but with absolute paths.

This sounds like your build tool has problems with setting the correct current working directory. With your change, a user can no longer install an executable e.g. in /usr/local/bin and execute it with a local config.dist.yml, but instead the config has to be located in /usr/local/bin/config.dist.yml.

can you share some information about your build tool and your setup?


Removing "persistent_workspaces" from "hyprland/workspaces", module disappears

OS: Arch
Kernel: 6.4.7
Package: waybar-hyprland-git from AUR
Noticed that having persisten_workspaces, the styling doesn't work like polybar/Qtile bar (having occupied workspaces in another color)

So I decided to commenting out/removing out the persistent_worspaces, which results in "crashing" the module.

Have you checked hyprland wiki?
https://wiki.hyprland.org/Useful-Utilities/Status-Bars/#active-workspace-doesnt-show-up
Unrelated but your bar is so cool, can I get the dots :)

@hekatonkheirex I can't reproduce this. Can you share your config?

Have you checked hyprland wiki? https://wiki.hyprland.org/Useful-Utilities/Status-Bars/#active-workspace-doesnt-show-up Unrelated but your bar is so cool, can I get the dots :)

This was a pull request from monday, so the Hyprland wiki is "outdated"
Here's the dots (the readme is outdated...) https://github.com/hekatonkheirex/dotfiles-hyprland

@hekatonkheirex I can't reproduce this. Can you share your config?
Also can you try if #2373 fixes this?

Here's the config file https://github.com/hekatonkheirex/dotfiles-hyprland/blob/main/.config/waybar/config.jsonc
And here's the css https://github.com/hekatonkheirex/dotfiles-hyprland/blob/main/.config/waybar/style.css

I can confirm with the new PR now works well @zjeffer . Thank you!


HBlock on Safari

Hi there,
I am using HBlock on Mac (installed using Brew) but it appears to be not working on Safari. At least when I run the check by visiting your website it states that I am not using HBlock. Is that a known issue or am I missing something?
Thanks for your help.

It seems obvious, but have you run the hblock command after installing hBlock?
I just tested it in Safari on a macOS Big Sur and it worked correctly.

Yes I have done that already. On Chrome for example it works just fine. I’m using the M1 Model though.

I don't have any M1 to test it, just a VM with Big Sur.
There doesn't seem to be a specific cause why Safari might be ignoring the /etc/hosts file but apparently more people suffer from this problem.
To find the cause, I recommend you remove from the /etc/hosts file all blocked domains with the hblock -S none -D none command and edit the file to try to manually block the hblock-check.molinero.dev domain, which is the one the hBlock website uses to check if it's enabled.

I tried that, on Chrome it works just fine, on Safari it seems to not work... Guess it is a Safari issue after all then.

I'm going to close the issue as it's not an hBlock problem. Thanks for reporting it anyway.


ValueError: Dimension size, given by scalar input 1 must be in range [-1, 1)

I am trying to convert these tflite models: https://github.com/breizhn/DTLN-aec/tree/main/pretrained_models
The command I ran was: tflite2tensorflow --model_path dtln_aec_128_2.tflite --flatc_path ../flatc --schema_path ../schema.fbs --output_pb
But ran into this error:

ValueError: Dimension size, given by scalar input 1 must be in range [-1, 1) for '{{node split_functional_5/lstm_6/lstm_cell_6/StatefulPartitionedCall/split}} = Split[T=DT_FLOAT, num_split=4](split_functional_5/lstm_6/lstm_cell_6/StatefulPartitionedCall/split/split_dim, BiasAdd_functional_5/lstm_6/lstm_cell_6/StatefulPartitionedCall/BiasAdd)' with input shapes: [], [512] and with computed input tensors: input[0] = <1>.

Tried with both pip installation and docker version.
Is it a bug or something that not supported?

Fixed a behavior bug with keep_num_dims in FullyConnected. v1.7.5
047b86b53c4897b1f1a383c1e74460d01511f6e7

Thanks for the quick fix. It can run and convert to pb now.
But when I load the weight quantized model it faild:
Traceback (most recent call last):
  File "run_aec.py", line 224, in <module>
    process_folder(args.model, args.in_folder, args.out_folder)
  File "run_aec.py", line 210, in process_folder
    os.path.join(new_directories[idx], file_names[idx]),
  File "run_aec.py", line 115, in process_file
    interpreter_1.set_tensor(input_details_1[2]["index"], lpb_mag)
  File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 423, in set_tensor
    self._interpreter.SetTensor(tensor_index, value)
ValueError: Cannot set tensor: Dimension mismatch. Got 3 but expected 4 for input 2.

I see this during quantization:
WARNING:tensorflow:Issue encountered when serializing variables.
Type is unsupported, or the types of the items don't match field type in CollectionDef. Note this is a warning and probably safe to ignore.
to_proto not supported in EAGER mode.
WARNING:tensorflow:Issue encountered when serializing trainable_variables.
Type is unsupported, or the types of the items don't match field type in CollectionDef. Note this is a warning and probably safe to ignore.
to_proto not supported in EAGER mode.

This may be unrelated to this issue though.

@SaneBow
There are three different input values, but only one is 4-dimensional. I think it's simply that the number of "tensor_index" is swapped between the float32 and INT8 models.

@PINTO0309 Thanks for the reply and your amazing project . I am not familiar with tensorflow. What does this mean? Is it the model cannot be quantized or some other bugs in the tool?

Rather than a bug in the tool, I am aware of the current specification of the tool, which assumes image processing. In other words, my tool basically expects [N, H, W, C] for the input shape. In addition, I know in advance that an error will occur if there are multiple shapes of input data.
However, when I think about quantizing these particular models, I also know that it is easy to quantize them by simply modifying one part of the tool.
        def representative_dataset_gen():
            # if calib_ds_type == 'tfds':
            #     for data in raw_test_data.take(10):
            #         image = data['image'].numpy()
            #         images = []
            #         for shape in input_shapes:
            #             data = tf.image.resize(image, (shape[1], shape[2]))
            #             tmp_image = eval(string_formulas_for_normalization) # Default: (data - [127.5,127.5,127.5]) / [127.5,127.5,127.5]
            #             tmp_image = tmp_image[np.newaxis,:,:,:]
            #             images.append(tmp_image)
            #         yield images
            # elif calib_ds_type == 'numpy':
            #     for idx in range(raw_test_data.shape[0]):
            #         image = raw_test_data[idx]
            #         images = []
            #         for shape in input_shapes:
            #             data = tf.image.resize(image, (shape[1], shape[2]))
            #             tmp_image = eval(string_formulas_for_normalization) # Default: (data - [127.5,127.5,127.5]) / [127.5,127.5,127.5]
            #             tmp_image = tmp_image[np.newaxis,:,:,:]
            #             images.append(tmp_image)
            #         yield images
            calib_data_input3 = np.random.rand(1, 1, 257).astype(np.float32)
            calib_data_input4 = np.random.rand(1, 1, 257).astype(np.float32)
            calib_data_input5 = np.random.rand(1, 2, 128, 2).astype(np.float32)
            yield [calib_data_input5, calib_data_input3, calib_data_input4]

TensorFlow's quantization method requires about 100 pieces of data that were used during training. This data provides the clues necessary for TensorFlow to automatically calculate the appropriate range of INT8 types to quantize based on the features in the training data. Strictly speaking, however, I know from experience that even if you don't use the data used during training, the impact will be minimal, so this time I passed a random number in Numpy.

Integer Quantized tflite file - model_integer_quant.tflite
https://drive.google.com/file/d/1cYWVoskz2vX9G3hBAiYtOzUbMyoRAWkG/view?usp=sharing

In short, technically any model can be quantized, but I have neglected to customize the tool. :crying_cat_face:

I see, so this tool expect image processing models but I tried to use it on audio processing models that's why I failed.
Now I have only the tflite and the first step of converting back to saved model seems to produce incorrect model with dimension mismatch. If I can have correct saved model then weight quantization should be easy.
Which part do I need to modify to make it work for a different input shape? Is it an easy task or will it involve a lot of changes?

@SaneBow
I took your issue seriously and understood that there is a demand for it, so I upgraded the version to support quantization of models with multiple input and multiple shape input. The current version is v1.8.1.

That's fast. You are amazing.
Now I upgrade to v1.8.1 and try to convert those models again. But I got this error when load one of the converted model:
Traceback (most recent call last):
  File "run_aec.py", line 138, in stage2
    interpreter_2.set_tensor(input_details_2[0]["index"], estimated_block)
  File "/Users/xb/.pyenv/versions/DTLN/lib/python3.7/site-packages/tflite_runtime/interpreter.py", line 423, in set_tensor
    self._interpreter.SetTensor(tensor_index, value)
ValueError: Cannot set tensor: Dimension mismatch. Got 3 but expected 4 for input 0.

What I am trying to do is to quantize the models in https://github.com/breizhn/DTLN-aec
I used the following command:
tflite2tensorflow --model_path dtln_aec_128_2.tflite --flatc_path ../flatc --schema_path ../schema.fbs --output_pb
tflite2tensorflow --model_path dtln_aec_128_2.tflite --flatc_path ../flatc --schema_path ../schema.fbs --output_weight_quant_tflite

Here this input estimated_block for dtln_aec_128_2.tflite is an output from the model dtln_aec_128_1.tflite.
Please let me know if you need any help testing.

I tried to implement the same workflow, but no error occurred.
tflite2tensorflow \
--model_path dtln_aec_128_2.tflite \
--flatc_path ../flatc \
--schema_path ../schema.fbs \
--output_pb

tflite2tensorflow \
--model_path dtln_aec_128_2.tflite \
--flatc_path ../flatc \
--schema_path ../schema.fbs \
--output_weight_quant_tflite

Once the .json file is generated, it will not be regenerated, so try deleting it by hand and then try again.

Ahh, you mean that you get an error at runtime.

From.
        interpreter_2.set_tensor(input_details_2[1]["index"], states_2)
        interpreter_2.set_tensor(input_details_2[0]["index"], estimated_block)
        interpreter_2.set_tensor(input_details_2[2]["index"], in_lpb)

To.
        interpreter_2.set_tensor(input_details_2[0]["index"], states_2)
        interpreter_2.set_tensor(input_details_2[1]["index"], estimated_block)
        interpreter_2.set_tensor(input_details_2[2]["index"], in_lpb)

Or
        interpreter_2.set_tensor(input_details_2[1]["index"], states_2)
        interpreter_2.set_tensor(input_details_2[2]["index"], estimated_block)
        interpreter_2.set_tensor(input_details_2[0]["index"], in_lpb)

That solved my problem.  Thanks for helping a tensorflow noob out.
One last question: Any way to convert the model so it aligns with the original one?

After executing the first command, we need to rewrite the json file by replacing the order of the output layers.

That works. Thanks. Your projects are all very cool.


Merge staging/4.1.3 into main

I think there is no other way than to cherry-pick all missing commits since the histories diverged


Fixes #4320

allows the CXSMILES fields to be toggled off on output.

I will look into the windows CI failures on Monday


⚠ AGEG website (prod) has degraded performance

In ce207d1, AGEG website (prod) (https://www.ageg.ca/) experienced degraded performance:

HTTP code: 200
Response time: 10187 ms

Resolved: AGEG website (prod) performance has improved in a95a240.


Exporting triggers

I suggest the idea of exporting triggers.
For example:
$this->execute('CREATE TRIGGER ...');

Good idea. I'm planning to add support for native SQL commands where Phinx does not provide a (full) abstraction. See #80
I put it on the list.

I'm sorry. Triggers are not supported by Phinx, so this feature cannot be added to the migrations-generator.


Update callbacks.py to include advance learning scheduler

This advance learning scheduler decrease learning rate according to tolerance.
After decreasing the rate the weights on "filepath" are loaded to allow best fine tuning from the best set of weights.
Most of the code was developed by TIBORG (http://pastebin.com/rJkUdRAz) I only added the load best weights code.

Docstring is incomplete, API should be improved. Use case unclear. And it seems you included changes that are not related to the PR.

It is an old version keras considered.
The only function modified is the  is the learning scheduler. This function is widely used in all deep learning models for finetuning, something that Keras currently lacks on. The learning scheduler available is very basic and doesn't decrease the learning rate at a proper rate.

This is essentially a step learning rate scheduler. It drops the learning rate when the monitored param doesn't drop for patience amount of epochs. This particular PR deosn't seem to stop the learning and rather keep reducing the learning rate by the decay factor every patience number of times. Plus, I am not sure how fine-tuning and step learning rate scheduling are tied here? step learning rate schedule can work for any case, either fine-tuning or training from scratch.
But, I am not sure, if it is a good idea to keep adding these schedulers in to the main callback. There is also a version which is popular in training resnets which drops the learning rate at specified discrete epochs specified by user and there is also another one with restarts and I am sure there will be more complicated scheduling coming in the future. So, it is not feasible to implement all of them separately and add them to keras.
I think, it will rather be wise to improve the current LearningRateScheduler and let the user implement the actual callback functions.

This is a essential tool for fine tuning. If we don't put it into the main callbacks users will do it manually which is a pain or they have to implement their own, which will be a waste of time considering that we can offer them one function straight out of the box.

I'm all for including better learning rate scheduling support. But this PR should be heavily revised. Please resubmit when you have made appropriate changes.


Improvement: Folder Linking

We have been trying to link a folder directly for people to land directly there with no luck so far... Is this possible with Filegator?

No, this is not possible


about MixedVariableProblem，How to generate a matrix of specified shape

class MixedVariableProblem(ElementwiseProblem):
def __init__(self, **kwargs):
    vars = {
        "b": Binary(),
        "x": Choice(options=["nothing", "multiply"]),
        "y": Integer(bounds=(0, 2)),
        "z": Real(bounds=(0, 5)),
    }
    super().__init__(vars=vars, n_obj=1, **kwargs)

def _evaluate(self, X, out, *args, **kwargs):
    b, x, z, y = X["b"], X["x"], X["z"], X["y"]

    f = z + y
    if b:
        f = 100 * f

    if x == "multiply":
        f = 10 * f

    out["F"] = f

I used the mixed-type variable setting method in the tutorial, but found that each variable can only generate one value each time it is evaluated, instead of specifying upper and lower limits to generate a matrix of corresponding dimensions like a normal Problem. If it is a normal Problem definition method, can each candidate solution be of binary type? Maybe I do not understand the specific method of generating candidate solutions. But according to my understanding, I need to use binary and floating-point variables in normal Problem。

If you have a SINGLE type you can define a vector. For mixed problems you always define one variable at a time.
You can define a problem with binary vectors as variables this way:
https://pymoo.org/customization/binary.html


BUG: shows success on story post if either title/content are empty.

need to alert on empty title/content and not send it forward

@ornokrean  - Great idea! you wanna tackle it? we should probably protect it also on the BE, though can be safe with FE validation to start with.


[zh-CN]Update translation(By April 25)

Hello! I have updated the translation! #14
This pull request is enabled because you see that the CDN option is not translated properly
(Because I didn't see in time that the project had been integrated into crowdin, and because crowdin happened to be integrated into my branch, I created the pull request to do a final sync with the translation.)
Thank you for making such a good launcher!

Heyo, thanks for providing the update! Will start merging this into Crowdin in the next couple of days and will close this PR once that's done.
Going forward, i18n (localization) should be done through Crowdin. Thanks again!


Waiting for <IP_ADDRESS>

Are you requesting a feature or reporting a bug?
This behavior was encountered when I tried test.js (my first test from TestCafe page). I am sitting inside a firewall, so could be some configuration specification is needed. But I don't know.
What is the current behavior?
I have replaced the URL with an URL inside the firewall and still the same behavior.
Chrome browser was launch but it is spinning and has a lower banner displaying 'waiting for <IP_ADDRESS>' and just spinning forever
What is the expected behavior?
It should run this simple test.
How would you reproduce the current behavior (if this is a bug)?
run from command line 'testcafe chrome test.js'
Provide the test code and the tested page URL (if applicable)
Tested page URL:
Test code

import { Selector } from 'testcafe';
fixture `My first test`
    .page `an URL inside the firewall`;
test('Find "testcafe" repository on GitHub', async t => {
    await t
        .typeText('form[action="/search"] input[name="q"]', 'testcafe' )
        .pressKey('enter')
        .expect(Selector('.repo-list > li > div').innerText).eql('DevExpress/testcafe');
});

Specify your

operating system: windows 10
testcafe version: 0.21.1
node.js version: 8.11.3

Hi @ai! Sorry for the late response. Unforunately, I can't reproduce it without access to your environment. Do you use a proxy in your network? Have you tried to configure TestCafe to use the proxy using the proxy option?

I will close the issue because no activity has been encountered for a long time.
Feel free to reopen the issue if the problem persists and you can provide an example to reproduce it.


Duplicated payload keys overwrites extended schemas on docs

I'm having this issue when using same key on different configurations as detailed below:
var Person = Joi.object({
  ssn: Joi.string().required()
});

var CreatePerson = Person.keys({
  password: Joi.string().required()
});

var UpdatePerson = Person.keys({
  password: Joi.string()
});

...

server.route([
  {
    method: 'POST',
    path: '/person',
    config: {
      handler: handler,
      tags: ['api'],
      validate: {
        payload: {
          person: CreatePerson.required()
        }
      }
    }
  },
  {
    method: 'PUT',
    path: '/person',
    config: {
      handler: handler,
      tags: ['api'],
      validate: {
        payload: {
          person: UpdatePerson.required()
        }
      }
    }
  }
]);

In both endpoints, person.password is shown as required. Here's a Gist with a functional example:
https://gist.github.com/dmacosta/f7489aad15ce85798b86
Notice replacing both person keys into something different like a and b shows correct schemas.

i think https://github.com/glennjones/hapi-swagger/pull/214 will solve this by allowing to pass in a label to the data
var Person = Joi.object({
  ssn: Joi.string().required()
});

var CreatePerson = Person.keys({
  password: Joi.string().required()
});

var UpdatePerson = Person.keys({
  password: Joi.string()
});

...

server.route([
  {
    method: 'POST',
    path: '/person',
    config: {
      handler: handler,
      tags: ['api'],
      validate: {
        payload: Joi.schema({
          person: CreatePerson.required()
        }).label('postPersonPayload')
      }
    }
  },
  {
    method: 'PUT',
    path: '/person',
    config: {
      handler: handler,
      tags: ['api'],
      validate: {
        payload: Joi.schema({
          person: UpdatePerson.required()
        }).label('putPersonPayload')
      }
    }
  }
]);

see how I added .label('postPersonPayload') & .label('putPersonPayload')

@catalint is correct. The move to Swagger v2 fixed the issue of duplicated payload and the use of label in @catalint example will help make the UI much more human friendly.
I am going to close this issue, if you try the latest version and still have problem please get back to me.


IOS 17 plugin not working

In Ios I am not able to  disable screenshot. Please add support for ios 17

It needs to update the ios ScreenProtectorKit pod to 1.3.* ! You could fork the repo for update and verify!

@dgofactory @Harpreetcompetent   try again with this upgrade or higher


Only make meaningful http-equiv highly weighted

Related to #70, I think capo.js should go a step farther and de-weight http-equiv elements that are invalid.
For example, on https://github.com/:

None of these http-equiv=x-* elements are meaningful and there's no compelling reason why they must be loaded before other more important elements (title, preconnect, style, etc).
In cases like these where http-equiv is known with high confidence to be ignored by the browser, assign a weight of 1 (lowest).
Effectively this is the list of keywords provided by the HTML spec plus a few extras that browsers care about—origin-trial being one, but there are others.

Published a blog post with all of the http-equiv keywords supported by Chromium: https://rviscomi.dev/2023/07/you-probably-dont-need-http-equiv-meta-tags/#chromium-behavior


Option for new line before comma in SQL select statement

The only formatting option I can't see in DBeaver is to set the option to start a new line before a comma, that is, format a SQL statement with the comma at the front of the line, rather than the end:
select
   schnum
  , abbreviation
  , school_name
from schools

Other tools like DataGrip and the MSSQL Server Management Studio plugin 'Poor Man's SQL Formatter' allow for this option, and we find it more intuitive to show the comma at the start of the line.

AMAZING!!! Thank you very much!!!


have your extension listed in shellcheck's readme

https://github.com/koalaman/shellcheck 😄

https://github.com/koalaman/shellcheck/pull/897

The PR is merged now, this issue could be closed

Thanks a lot for this!


[Azure Cognitive Search][Resource Manager]: Add Swagger API for 2021-04-01-Preview API version

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Description of changes

Adding new properties that can be included during search service creation/update

Encryption with CMK
Support for user assigned identity
Disabling data exfiltration scenarios
Support for new authentication options
Support for setting up semantic search sku

Added a new property to the response of the Operations API that indicates whether an operation is a data plane operation or not.

Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

[ ] new service onboarding
[x] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.  End of May
When you expect to publish swagger? Please provide date, or month to public if date is not available yet. ** Mid-June**
If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No, no need to refresh for updates in this PR

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[x] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
[x] Ensure to copy the existing version into new directory structure for first commit (including refactoring) and then push new changes including version updates in separate commits. This is required to review the changes efficiently.
Adding a new service

[x] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

/azp run

/azp run


Terminology Error

" Parsing error: term with id gt0016 was referred in the guide but not defined in terminology."
Why does this error happen?
How this error can be fixed?
@KalliamvakosKon

@MaryamRazavi on which project do you have this issue? It's very hard to tell without a means to reproduce :(

@KalliamvakosKon
Guideline: Donor Lymphocyte Infusion (DLI) Volume
https://www.mdcalc.com/donor-lymphocyte-infusion-dli-volume#use-cases
But then also when I start to create another guideline the same error appears! which was strange because there were only 14 codes in terminology. And actually I restarted everything and now there is no error!

@MaryamRazavi ok, this good be something with maybe your machine became too slow and got the editor out of sync somehow. I will close the issue for now but please keep an eye for it if it happens again.


failing at L5.5

Trying to install at a fresh project with Laravel 5.5 is throwing the following error:
$ composer require edofre/laravel-fullcalendar
Using version ^1.2 for edofre/laravel-fullcalendar
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 4 installs, 0 updates, 0 removals

Installing npm-asset/moment (2.18.1): Downloading (100%)
Installing npm-asset/jquery (3.2.1): Downloading (100%)
Installing npm-asset/fullcalendar (3.4.0): Downloading (100%)
Installing edofre/laravel-fullcalendar (V1.2.0): Downloading (100%)
Writing lock file
Generating optimized autoload files

Illuminate\Foundation\ComposerScripts::postAutoloadDump
@php artisan package:discover

[Symfony\Component\Debug\Exception\FatalThrowableError]
Class 'EdoFre\Fullcalendar\FullcalendarServiceProvider' not found
Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1
Installation failed, reverting ./composer.json to its original content.

@ultimateBusiness Thanks for letting me know, I tagged a new release and solved the problem. If you install v1.2.1 it should work!

thx - works - well done ;-)


[QUESTION] Is it supposed not to use "node_security_group_id" input which already exsisted?

Please describe your question here

create_node_security_group
Determines whether to create a security group for the node groups or use the existing node_security_group_id
bool
true
no

I saw the node_security_group_id input in README but I couldn't find it in the module aws_eks part in main.tf
Cause I already have several self managed security groups for managing cluster and nodegroup, I wanna reuse them.
main.tf
module "aws_eks" {
...
# Worker Node Security Group
node_security_group_id               = var.node_security_group_id

variable.tf
....
#-------------------------------
# Worker Additional Variables
#-------------------------------
variable "node_security_group_id" {
  description = "Security group to be used if creation of node security group is turned off"
  type        = string
  default     = ""
}

So, what if I add these blocks for using already-exsisting security groups, anything possibly goes wrong with thes points?
Amazon EKS Blueprints Release version
4.6.0
Version info I used
Terraform v1.1.6 on linux_amd64
Thank you for reading and sorry for my humble question.

Facing the same issue. Existing Node security group variable  node_security_group_id doesn't seem to be used while creating the node group launch template. The launch template skips the security group attachment and default security group of that VPC gets attached to self managed worker nodes.
create_node_security_group = false node_security_group_id    = "<Existing Security group ID>
Amazon EKS Blueprints Release version
4.11.0
Version info I used
Terraform v1.2.9
on linux_amd64

the node security group created by the module is only used when a custom launch template is used. when the default launch template is used, the EKS managed node group service attaches the cluster primary security group to nodes


import nanif to init

#34
#33  👈
main

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

Join @drisspg and the rest of your teammates on  Graphite

Merge activity

Jun 3, 2:18 PM EDT: @drisspg started a stack merge that includes this pull request via Graphite.


Signposting CLI docs better & minor tidy

As I commented on Colin's last CLI user docs PR, these docs are quite buried so this tries to signpost them better now that they are more extensive. I've also tried to make the page titles clearer and have them distinguish between the doc sections because as @mtbc has pointed out before, if you use the search box on the website to find CLI docs, the results only give the page title, meaning you have to follow the link or note the full URL to see whether you're in the users, sysadmins or developer section docs.

Deployed on https://www.openmicroscopy.org/site/support/omero5.1-staging/. Looks good to me.

@mtbc has also looked over it and found no issues so merging.


ROS2 - Humble on Jetson AGX Xavier L4T R35.2.1

Hi,
Is it possible to build ROS2 via docker for L4T R35.2.1.
I see current image is for R35.1.0. So only option is to downgrade to R35.1.0 on Jetson AGX, or is there any other options?

@htex0189 I'm working on building these ROS/ROS2 container images for R35.2.1 now

@htex0189 in the meantime you can run R35.1.0 containers on R35.2.1 without issue


Fix channel property when description doesn't contain "_"

For some devices, the sensors are in the block with the description device and the channel property generates an error:
Traceback (most recent call last):
  File "/home/maciek/develop/home-assistant-core/homeassistant/helpers/entity_platform.py", line 193, in _async_setup_platform
    await asyncio.shield(task)
  File "/home/maciek/develop/home-assistant-core/homeassistant/components/shelly/sensor.py", line 116, in async_setup_entry
    await async_setup_entry_attribute_entities(
  File "/home/maciek/develop/home-assistant-core/homeassistant/components/shelly/entity.py", line 48, in async_setup_entry_attribute_entities
    [
  File "/home/maciek/develop/home-assistant-core/homeassistant/components/shelly/entity.py", line 49, in <listcomp>
    sensor_class(wrapper, block, sensor_id, description, counts[block.type])
  File "/home/maciek/develop/home-assistant-core/homeassistant/components/shelly/entity.py", line 148, in __init__
    name_parts.append(str(block.channel))
  File "/home/maciek/develop/home-assistant-core/venv/lib/python3.8/site-packages/aioshelly/__init__.py", line 280, in channel
    return self.description.split("_")[1]
IndexError: list index out of range

This PR fixes this.

Which devices are showing this behavior ?

I'm sure about Shelly 2 (SHSW-21) but I think the same problem concerns Shelly 1PM (SHSW-PM) and Shelly 2.5 (SHSW-25).

I'm sure about Shelly 2 (SHSW-21) but I think the same problem concerns Shelly 1PM (SHSW-PM) and Shelly 2.5 (SHSW-25).

I'm running both 1PM and 2.5 and cannot see this issue.
Referencing https://shelly-api-docs.shelly.cloud/docs/coiot/v2/examples, if I don't get it wrong also 2 should work with current code.
Am I completely on a wrong track ?

For every Shelly device this block description doesn't contains _.
This is an example for Shelly 2.5:
    "blk":[
        {
            "I":1,
            "D":"relay_0"
        },
        {
            "I":2,
            "D":"relay_1"
        },
        {
            "I":4,
            "D":"device"
        }
    ],

For every Shelly device this block description doesn't contains _.
This is an example for Shelly 2.5:
    "blk":[
        {
            "I":1,
            "D":"relay_0"
        },
        {
            "I":2,
            "D":"relay_1"
        },
        {
            "I":4,
            "D":"device"
        }
    ],

both channel descriptions have the underscore:

relay_0
relay_1

isn't it ?
Simone

What about device?

What about device?

Indeed, but device has no info about channels, so block.channel should not be called for device but only for relay/cover/lights.
Simone

device has no info about channels

So channel property for device block should return None. Now it raises an exception.

I suppose you have local changes.
What are you using device.channel for ?

I suppose you have local changes.

Nope, I have this error on 0.115.0b5 with Shelly 2 for energy and power sensors.
We use channel here but I have to find out why `same_type_count is greater than 1.

Check latest commit from Paulus on Shelly integration (core).
I think check is done only for Shelly 2.5, Shelly 2 is missing

If there are 2 of the same type, it has to have a channel 🤔 that's a bug in HA

I suppose you have local changes.

Nope, I have this error on 0.115.0b5 with Shelly 2 for energy and power sensors.
We use channel here but I have to find out why `same_type_count is greater than 1.

Something weird if you have more than a device block for a device.
Cannot reproduce with any of the device I have (1, 1pm, 2.5, plug-s, em, door, flood, h&t, air, gas); but I miss Shelly 2.
Simone


fix: Release note exit codes cause script failure, other release note issues

Issue #
#1031
Description of changes
The change in #1049 broke the release notes script by throwing an uncaught error.  This was detected on a Catapult dry run, where the script failed because of a routine issue (a git diff was not clean, which was expected.)
To remedy, the script is modified to catch the expected exit code & handle it appropriately.
(also: issues with unwanted quotation marks and a broken Github diff link were fixed.)
New/existing dependencies impact assessment, if applicable
No new dependencies were added to this change.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/test


Slice plugin: self heal when asset etag/last-modified block mismatches

This tries to make the slice plugin smarter when origins do bad things to assets without changing their path including:

etag change
last modified change
content length change
change no nocache
asset removed

Process:

Reference slice fetched (either slice0 or first slice in request).
Second slice fetched -- mismatch detected
Refetch second slice (cache_range_requests X-Crr-Ims header)
a. Match reference, continue to next slice
a. Mismatch reference, abort client, refetch reference slice (X-Crr-Ims header)

Is this something you need for 9.0.x? Or 9.1.x ?

9.0.x would be nice.

Update removed some of the error logs and also trimmed more off the autests (traffic_manager -> traffic_server)

[approve ci autest]

Backported to 9.0.1 in #7435

Backported to 9.0.1 in #7435


kali linux

thanks for your support
another problem i notice , after instllation i can run the tool fine but i did not excute the command qq-install
if i run the qq-install it will start install the python2 etc that is not supported in kali anymore and keep gettig error msg , im trying this with the latest kali version also up to date
but if i not run the qq-install i still can see the scripts and run some quiver tools such as nmap etc

Can you provide the error message you’re seeing? I’m using it successfully on the latest kali after running qq-install.

hello thanks for the replay
well as you know kali linux not using pip anymore , they using now pip3 , mine is fresh kali updated install  i found those error durring the qq-install
/usr/local/bin/n -> /usr/local/lib/node_modules/n/bin/n

<EMAIL_ADDRESS>added 1 package from 4 contributors in 5.548s
/usr/local/bin/eslint -> /usr/local/lib/node_modules/eslint/bin/eslint.js
<EMAIL_ADDRESS>added 134 packages from 84 contributors in 19.363s
[*] Installing python packages...
sudo: pip: command not found
sudo: pip: command not found
sudo: pip: command not found

Cloning into '/opt/enum/LinkFinder'...
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 583 (delta 0), reused 0 (delta 0), pack-reused 580
Receiving objects: 100% (583/583), 1.09 MiB | 931.00 KiB/s, done.
Resolving deltas: 100% (281/281), done.
Traceback (most recent call last):
File "setup.py", line 2, in
from setuptools import setup, find_packages
ImportError: No module named setuptools
[*] Installation completed
Cloning into '/opt/enum/S3Scanner'...
remote: Enumerating objects: 266, done.
remote: Counting objects: 100% (266/266), done.
remote: Compressing objects: 100% (159/159), done.
remote: Total 955 (delta 158), reused 192 (delta 97), pack-reused 689
Receiving objects: 100% (955/955), 201.13 KiB | 410.00 KiB/s, done.
Resolving deltas: 100% (547/547), done.
sudo: pip: command not found
~
fatal: destination path '/opt/recon/knock' already exists and is not an empty directory.
Traceback (most recent call last):
File "setup.py", line 21, in
from setuptools import setup
ImportError: No module named setuptools
~
Cloning into '/opt/recon/knock'...
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 1292 (delta 0), reused 1 (delta 0), pack-reused 1289
Receiving objects: 100% (1292/1292), 379.18 KiB | 389.00 KiB/s, done.
Resolving deltas: 100% (572/572), done.
Traceback (most recent call last):
File "setup.py", line 21, in
from setuptools import setup
ImportError: No module named setuptools
i did also make sure the setuptools is installed and it is becouse its via pip3 , but the qq-install using the old pip
↳ sudo pip3 install setuptools
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (44.0.0)

im login as user btw ,

I've update everything to use pip3 and python3 compatible tools only.  Coming shortly in the 1.0 release.


Communication between two components with static service discovery

Brief feature description
Usage of IPC Communication without Service Discovery or Static Service Discovery
Detailed information
I am just wondering whether iceoryx supports a use case with static service discovery. For an example, I've two AUTOSAR components and these two components communicate with each other using IPC Shared memory mechanism and exchange huge amount of data without any discovery mechanism (offerservice and findservice). Ofcourse, I can use it with service discovery but wouldn't be an overhead during start-up?
Context: I am just wondering whether it makes sense to use iceoryx for IFC in Adaptive Platform or any optimization is required to make it better?

I know that @prasannabhat worked on this topic. He might be able to answer questions around that topic.

Indeed we are also thinking about static discovery. The question is why you want to have it. Is it about startup time or about a leaner API?
In protocols like SOME/IP you need discovery to resolve things like IP addresses and ports. With a static discovery you can save the discovery network traffic and some time.
In iceoryx we have a cyclic discovery in the background that adapts connections according to user requests. Default is a 100 ms cycle time. Is this a problem? I just had the idea if it could make sense to create publishers and subscribers that are offered or want to be subscribed by default. Then we could do the wiring already when creating the resources. Currently it takes until the next discovery loop to detect that a created subscriber wants to be subscribed now. Sure, as applications can come and go individually, there is no guarantee that you are subscribed when you start an application with a subscriber or that you will be subscribed all the time.
With ara::com on top of iceoryx you don't have to use the OfferService / FindService. E.g. when creating a proxy you can create an iceoryx subscriber for each Event receiver and already call subscribe() on iceoryx side during creation. Same with offer() for Event Senders. I.e. you don't have to use the ara::com discovery functionality and do the mapping to iceoryx if you are only interested in static discovery. This would save you the ara::com discovery overhead but it would still need some time for the connections behind the scenes.
Which of the two use cases is yours? Both is also a valid answer ;-). I also like more and more the idea of establishing the connection at creation time if this is desired. Maybe we should consider this in #408
If you are thinking about using iceoryx for Adaptive these two features are maybe interesting for you #27 #415

WIth #584 it is possible to connect matching publisher and subscribers without the need for discovery. So closing this issue

WIth #584 it is possible to connect matching publisher and subscribers without the need for discovery. So closing this issue

But with #584, we are eventually doing what offer() was doing. By setting offerOnCreate = true, we are setting m_offeringRequested = true in the publisher port data, which we were doing by calling the offer method. Both offer and offerOnCreate are eventually doing one thing only, that is registering the port for service discovery.
Maybe, what @hemalbavishi was looking for, is that there should be some static configuration, which will be used by Publisher port to add a sender queue on its side, without involving port manager.
Reason for this can be

Its known that the receiver will be available, and
There can be occasions where Service discovery could fail (although it wont fail generally)

@Indra5196 I'm not quite sure if I understand your request correctly. With the current approach to offer and subscribe on create it doesn't matter if the port manager is involved. It also doesn't matter if service discovery fails since the queues are added once the publisher or subscriber are created. From a user point of view, it is not distinguishable if the queue was already there or only added when the subscriber was created. Except that the samples are only delivered once the subscriber is there. But if the publisher has a history capacity large enough to match the specified subscriber queue capacity, there would be no difference.

From a user point of view, it is not distinguishable if the queue was already there or only added when the subscriber was created. Except that the samples are only delivered once the subscriber is there.

Exactly. For the static discovery scenario, we are 110% sure that the subscriber is always available. Hence, we do not want to go through the port manager logic and get the ports created. Instead, if we have the sender queues on the publisher end without checking for the subscriber's presence, we will be 110% sure that we have the connection in place and we are ready to publish the data right from the start.
Yes I understand that that the time taken for discovery of ports is negligible, But there is always a chance that we are stuck in some exception during discovery.

I think there is no much difference when it comes to things that can go wrong. In one case everything is statically created and when you request a subscriber, RouDi has to find the statically created subscriber which matches the service description and return it to the application. If too many applications requesting a subscriber with the same service description, the request fails. With the current approach, the RouDi takes a free port from the port manager, then iterates over all available publisher and adds the subscriber queue to the publisher. Similar to the static approach if there are no free ports available, the request fails. Additionally if there are already too many subscribers on the publisher, the subscription would fail. This two possible failures are quite similar in their cause to the one possible failure with the static approach. Additionally, we still would need a cleanup mechanism in case an application crashes and gets restarted, which would lead to a similar architecture like we have now.
Do you participate on the developer meetup today? Maybe this is something we can talk about at the meeting?


add reference to Data Grid built on top of Reactstrap

The only place we do this is in the README "In the wild" section. If you would like to add it there, that would be permitted.


use htcondor_dags

Right now, xfer.py has a bunch of long strings that are modified and stored in DAG files, which are then run by calling condor_submit_dag. Let's use the new htcondor_dags library instead.

Resolved by #10


Add plugin cerebro-wolfram-alpha

Add  the plugin, cerebro-wolfram-alpha, which allows user to use wolfram alpha API.

Thanks for your work!


Transition the user registry from RDS to ElasticSearch

Coverage decreased (-0.6%) to 86.765% when pulling a4b76fa5c30a2f6c436eb76e07571d3ebf919011 on feature/user-db-to-elasticsearch into a5e4bf79f62603ecc2352ba3b15398a1da5c1198 on master.

Coverage decreased (-0.6%) to 86.765% when pulling c58989eca1168ec6064cf11f35cfb3f051471b83 on feature/user-db-to-elasticsearch into a5e4bf79f62603ecc2352ba3b15398a1da5c1198 on master.

Coverage decreased (-0.6%) to 86.765% when pulling 721af927113f6a7a1401cb7bcbec50ff738da0a2 on feature/user-db-to-elasticsearch into a5e4bf79f62603ecc2352ba3b15398a1da5c1198 on master.

@pwalsh this completes the PR you reviewed in the packager.

:+1:


Add notification for idle users

See the following three notifications.
Each notification will get a Typeform link (TBD) which we'll present in its own document as embedded HTML

If the user clicks on 'Go away' we give him a grace of one week and then check the conditions for the notifications again.
Need to check:
That no notifications are shown if the user update to the a new version of the IDE or moves between IDEs

@doppleware need some clarifications

are these intellij notifications? Sticky until user dismiss them? or fading after timeout?
what does the typeform means? a link? embed it where? in the notification body or in embedded browser?
I don't understand that "That no notifications are shown if the user update to the a new version of the IDE or moves between IDEs"
what about existing users where we don't have the data of 'first asset received" ?

Intellij notifications like "first important insight "

Opening a document and rendering a page there (embedded HTML ). Kyrylo has done a POc to see it works

It means that the notification timers (for example counters of days since last user action ) won't reset and show me a notification simply because I updated to latest intellij

That means they havent been activated.  We need to show them a notification

@doppleware need to mention that all timers will be per IDE. there is no relation between IDEs.

If user installed the plugin on two IDEs and is idle on both they will see the notifications on both IDEs.
Its possible to share properties between IDE's but only if user synch settings using Settings Synch plugin , then we can include some of our properties in the synch. I don't think its worth the effort.


Add a test case for 8.1, 2nd HEADERS frame without END_STREAM

This paragraph in the specification applies to any endpoint, although
it has been written from the point of view of a client.
A HEADERS frame (and associated CONTINUATION frames) can only appear
at the start or end of a stream.  An endpoint that receives a HEADERS
frame without the END_STREAM flag set after receiving a final (non-
informational) status code MUST treat the corresponding request or
response as malformed (Section <IP_ADDRESS>).

Great. Thank you for your contribution!


Facebook login results in error

Great work, a much needed project !
When a user tries to login via Facebook, an error dialog opened up consistently.

Thanx @kaustubhhiware
It was working fine, maybe shifting to environ variables did something to it, I'll look into the api key.

fixed


UNI-1090 Added cursor style when hovering over the minimum due label

Why am I getting alerts for these changes?