Unable to use Auth Providers when running locally

Setup

Rancher version: v2.7.5 dev
Rancher UI Extensions:
Browser type & version:

Describe the bug
It looks like configuring an Auth Provider, like Github, does not work when serving the dashboard locally (due to the server middleware which redirects /verify-auth to /auth/verify not being wired in). I had to add the following to routes in shell/config/router.js
{
    path:     '/verify-auth',
    redirect: (to) => {
      return 'auth/verify';
    },
  }

To Reproduce

setup github auth provider

Result
redirect after accepting in github redirects to a 404 page
Expected Result
redirect succesfuly closes window and auth provider detail page shown

We should get this working, bugs are creeping in because people are developing / testing AP group use cases (basically anything to do with permissions, roles, etc)

How can you get redirected locally from GH? You need to specify an IP address to be redirected, so or you set local IP or the hosted one.

The redirect is done locally, so localhost previously worked fine.
For whoever picks this up, the routing above was previously done only in dev world when serving locally. We'd need to do similar here. In production the redirect is handled via Rancher.

A unit test would help here but this bug isn't production facing.

This routing logic may have been tied to Nuxt before it was removed. Maybe we can do something in the Vue config.

QA will validate if this continues to work on Rancher prod environment

Pass
verified github workflow and authentication with rancher v2.7-head 027246f

clicked hamburger > users & authentication > auth providers
selected github oAuth tile
completed required fields in github and rancher
enabled github auth
logged out
logging in with github


u-radio 报警告

一直疯狂提示我
Property "iconColor" was accessed during render but is not defined on instance.

这个已经改好了 预计晚上就可以


AttributeError: module 'jax.random' has no attribute 'KeyArray'

can not import scvi

  File "<stdin>", line 1, in <module>
  File "/data/person/wup/public/miniconda3/envs/sc-python/lib/python3.11/site-packages/scvi/__init__.py", line 11, in <module>
    from . import autotune, data, model, external, utils, criticism
  File "/data/person/wup/public/miniconda3/envs/sc-python/lib/python3.11/site-packages/scvi/autotune/__init__.py", line 1, in <module>
    from ._manager import TuneAnalysis, TunerManager
  File "/data/person/wup/public/miniconda3/envs/sc-python/lib/python3.11/site-packages/scvi/autotune/_manager.py", line 11, in <module>
    from chex import dataclass
  File "/data/person/wup/public/miniconda3/envs/sc-python/lib/python3.11/site-packages/chex/__init__.py", line 17, in <module>
    from chex._src.asserts import assert_axis_dimension
  File "/data/person/wup/public/miniconda3/envs/sc-python/lib/python3.11/site-packages/chex/_src/asserts.py", line 26, in <module>
    from chex._src import asserts_internal as _ai
  File "/data/person/wup/public/miniconda3/envs/sc-python/lib/python3.11/site-packages/chex/_src/asserts_internal.py", line 34, in <module>
    from chex._src import pytypes
  File "/data/person/wup/public/miniconda3/envs/sc-python/lib/python3.11/site-packages/chex/_src/pytypes.py", line 54, in <module>
    PRNGKey = jax.random.KeyArray
              ^^^^^^^^^^^^^^^^^^^
  File "/data/person/wup/public/miniconda3/envs/sc-python/lib/python3.11/site-packages/jax/_src/deprecations.py", line 53, in getattr
    raise AttributeError(f"module {module!r} has no attribute {name!r}")
AttributeError: module 'jax.random' has no attribute 'KeyArray'

Versions:

scvi-tools == 1.0.4
jax == 0.4.24
jaxlib == 0.4.24

Hi, this has been fixed with #2482 and will be available as part of our 1.1.0 release soon.

Hi,
Running into similar issue, even with the update.
ImportError: cannot import name 'linear_util' from 'jax' (/Users/rijndertariese/mambaforge/envs/scanpy/lib/python3.11/site-packages/jax/init.py)
jax==0.4.24
jaxlib==0.4.24
scvi-tools==1.1.1
Am I missing something?
Thanks in advance

use jax==0.4.19

downgraded both jax and jaxlib to 0.4.19, but this throws a new error related to jax:
ImportError: cannot import name 'random' from 'jax' (unknown location)


global: cache fix

@diegodelemos I haven't worked on this to understand it properly for a review I'm afraid. It would take me longer than Thursday


ui-table bugs

Table Row even/odd not tagged correctly
This happens when {{tr}} are updated instead of add/delete during sorting.
ui-scrollable and ui-table has position relative that interferes with backdrop/position.

Will be addressed in v2


Fix population credits table overflow on wide screens, add prettier partially, bug fix, student graph year change

Oodikone is now prettier ✨


CanvasGradient not working as background color.

Chart.js supports gradient as background color. Unfortunately it's not working while using tc-angular-chartjs.
The problem here is angular.copy which does not maintain [object CanvasGradient] and put [object Object] instead.
https://github.com/carlcraig/tc-angular-chartjs/blob/master/src/tc-angular-chartjs.js#L119
https://github.com/chartjs/Chart.js/blob/b92b256872e9d01ef56c9b8d4440cda784662fe0/src/core/core.helpers.js#L922
It would be mistake to relay on angular to fix this issue, so it would be good idea to replace this helper.

Closing due to lack of activity.


Upgrading to Yolo3

What changes are needed in code to use Yolo3 ?
Yolo3 weight url - https://pjreddie.com/media/files/yolov3.weights

Hi,
I'm not sure about Yolo3, but I've checked Yolo9000 before and it has different structure on a final layers.
I need to take closure look to answer your question. I will do it when i have some time.

or tiny-yolo?

@igor-panteleev
I am interested in tiny-yolo (https://pjreddie.com/media/files/yolov2-tiny-voc.weights)  too. Can you steer us in that direction and let us know what changes are needed since tiny-yolo is supposed to be very performant even on low end hardware ?
Thanks


Fix get-disk documentation

My NOTE is basically verbatim quote of the following answer by TEchNet user AnnaWY
https://social.technet.microsoft.com/Forums/windowsserver/en-US/cd7c0327-3fe9-45fc-a177-5a9927d468f3/does-the-getdisk-funtion-only-return-basic-disks?forum=winserverpowershell
See also: https://blogs.technet.microsoft.com/tip_of_the_day/2014/04/25/tip-of-the-day-dynamic-disks-and-windows-powershell/ Robert Mitchell [MSFT] saying Dynamic disks are deprecated.  I'm separately curious if Microsoft is changing their stance on this considering the now-largest deployment of Microsoft OS licenses in Amazon and they use Dynamic Disks, ugh, everywhere. [redacted: AWS Support explained to me that EBS uses whatever the OS is configured to use.  They do not care how you configure the disks, they just present the media to the OS and you configure it.]

@nenonix @JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@jzabroski Any updates with the suggested revisions? We would like to progress this PR into technical review. Thanks.

I thought the reason dynamic disks are not returned is because they're deprecated.  The current wording suggests other storage media like Windows Storage Spaces is also not supported if the Storage Space spans multiple disks.
This was explained to me in a separate conversation with AWS Support.

I accepted @nenonix changes.  I think the explanation provided on Microsoft TechNet and MSDN by Microsoft employees who wrote the filesystem logic trumps AWS Support. :)

Updated original comment to clarify I was incorrect about AWS using Dynamic Volumes as well.
This PR is good to go.

@dariomws306 @get-itips @tseward
Peer review needed for this PR. Thanks.

Looks ok.
But I think we should use the standard format for notes in docs. You should use:

[!NOTE]
This cmdlet returns physical disk objects like basic disks and partitioned drive partitions.  Dynamic disks can span multiple pieces of physical media, so they will not be returned by Get-Disk. For more information, see Basic and Dynamic Disks.

Thanks!

[!NOTE]

Agree with @dariowms306

@jzabroski Please follow-up with the suggested NOTE formatting so that the PR can proceed into merge. Thanks.

@e0i  THanks for the ping - done.

@tseward Any concluding thoughts with the PR? Thanks.

Looks good!

@AndreaBarr The community-contributed PR that has passed both copy and technical review is ready to be merged. Thanks.


http requests failing in 0.6.1

The changes between 0.6.0 and 0.6.1 is causing issues with http requests timing out in our apps. We get async-listener as a dependency of continuation-local-storage, http calls are made via wreck.
Seen on multiple 0.10.x node versions.
At this point our best theory is the http request doesn't have the port argument/has the wrong one. Based on some telnet request snooping
0.6.0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
connect(3, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr("x.x.x.x")}, 16) = 0
0.6.1
socket(PF_INET, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_IP) = 10
connect(10, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("x.x.x.x")}, 16) = -1 EINPROGRESS (Operation now in progress)

We have the same problem. Part of the system stopped working because of this change.

+1
Same problem using 0.10.X . Did a deploy and the system stopped working due to "^0.6.0" dependency en continous-local-storage

I had the exact same problem, also with 0.10.X. Is it possible to do a rollback until this is further analysed?

I had the exact same problem, also with 0.10.X. Is it possible to do a rollback until this is further analysed?

@Fdiazreal you can add async-listener as a dependency of your own project with version '0.6.0' to get that effect.

+1. set to '0.6.0' seems working

Very strange. Must be a result of #63, somehow. I'll revert that.

I've reverted #63 and released 0.6.2. I'll do some more investigation into #63 to figure out why that would've been causing timeouts.

@Qard thanks, I can confirm this does resolve the issue we were seeing with 0.6.1.

@Qard Same here. Thanks for the quick response.


Add back{4}app to your wiki on Community links

back{4}app released an automatic migration wizard for Parse users on its platform.
back{4}app is the hub for backend and APIs. Just focus on creating amazing user experiences and forget about complex infrastructure. You can build and host APIs for the web, mobile and IoT apps, working up to 80% faster. back{4}app uses Parse Open Source framework to make it happen.
http://www.back4app.com
Now we already have Parse Server and Database (with cloud codes and push) running and the next release will be your dashboard. I believe that the parse is a very powerful tool that will continue to be continuously improved by the open source community. We are eager to contribute new features.
http://blog.back4app.com/2016/03/01/quick-wizard-migration/

+1

+1

+1

+1

+1

+1

+1

+1

While I am sure that a list of hosted commercial Parse Server providers would be beneficial to many programmers who don't want to deal with setting up a Parse Server, I am not sure if the git repo should be used as a commercial advertising channel.
However, such a list should also include
http://www.parseground.com
http://parse-hosting.oursky.com
And maybe also providers who offer migration tools for non-Parse environments:
http://www.backendless.com
http://www.backand.com
http://www.shephertz.com

Have you checked this list?
https://github.com/ParsePlatform/parse-server/wiki

+1

@alyssoncm Yes. The list contains infrastructure providers to run an open-source Parse Server. It is not a list of commercial Parse-mBaaS providers, e.g. https://github.com/relatedcode/ParseAlternatives

I'm not sure about that.

@alyssoncm If there are mBaaS providers on the list then they should be removed from the wiki of Parse Server. Thanks for pointing this out.

ok.

@mtrezza back{4}app is also an infrastructure provider to run open-source Parse Server. The difference is that back4app host not only the server or the database, but the complete solution. So the users are able to easily host their parse app with minimum effort, almost no changes in the frontend and without worrying about servers like it was in parse.com.

Moreover the solutions in https://github.com/ParsePlatform/parse-server/wiki are also commercial and does not allow complete and easy hosting of all app like back{4}app does.

It doesn't seem like your solution is ready when you compare to providers like, for example, NodeChef (https://www.nodechef.com/parse-server). I think when it's ready you should be added to the community links.

+1

@knana back{4}app is actually the unique solution that allow completely and easy migration of existent parse apps and also the creation of new ones. More than 1K apps were migrated and are nicely running in our servers.

Sure.. added the link to the wiki.


error domain's don't always capture exceptions thrown from onPossiblyUnhandledRejection

Specifically, the following works:
"use strict";
var Promise = require('bluebird');
Promise.onPossiblyUnhandledRejection(function(error,promise) { throw error });

require('domain').create()
  .on('error', function(E){ console.log("ok trapped error "+E.message) })
  .run(function() {
      var P = new Promise(function(resolve,reject){ reject(new Error('boom')) });
  });

Promise.fulfilled(23).then(function(V){ console.log("#",V) });

The above outputs the following, as expected:
# 23
ok trapped error boom

However, if I rearrange the promises it fails:
"use strict";
var Promise = require('bluebird');
Promise.onPossiblyUnhandledRejection(function(error,promise) { throw error });

Promise.fulfilled(23).then(function(V){ console.log("#",V) });

require('domain').create()
  .on('error', function(E){ console.log("ok trapped error "+E.message) })
  .run(function() {
      var P = new Promise(function(resolve,reject){ reject(new Error('boom')) });
  });

And outputs:
# 23

bluebird/js/main/async.js:79
            throw res.e;
                     ^
Error: boom
    at bluebird/domain-failure.js:10:60
    at new Promise (bluebird/js/main/promise.js:88:37)
    at bluebird/domain-blue.js:10:15
    at b (domain.js:183:18)
    at Domain.run (domain.js:123:23)
    at Object.<anonymous> (bluebird/domain-failure.js:9:4)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
From previous event:
    at new Promise (bluebird/js/main/promise.js:88:37)

Relates to #124

promises don't catch this TMK
aPromise().then(function(){
   setImmediate(function(){
       throw new Error("Won't get caught by promise");
    });
}).catch(function(err){
 // no
});

that's why we need domains, or domain-like functionality

@ORESoftware that's because you've used setImmediate. In order to enjoy the throw-safety of promises you need to promisify all your APIs. If that setImmediate becomes a Promise.delay you can throw in it and things will work like you expect.
Also see https://github.com/petkaantonov/bluebird/issues/51
Much like anyone can call process.abort in their code even if you use domains - there are always assumptions about how the code is used.

I hear from @benjamingr that process.on('unhandledRejection') can take care of this? or no?

@ORESoftware I am @benjamingr :)
unhandledRejection would catch cases where a Promise rejected and no one handled it in a reasonable amount of time. If you throw inside a setImmediate all bets are off - it creates really confusing cases and it's part of why domains are deprecated.
aPromise().then(function(){
   return Promise.delay(0).then(function(){
       throw new Error("Won't get caught by promise");
    });
}).catch(function(err){
 // yes
});

hmmmm, but Promises don't allow us to create (pseudo) async code...setTimeout, setImmediate, process.nextTick are what we need to do that, promises don't offer a substitute for those..so? We need process.nextTick and setImmediate, and we damn well may need them inside a promise chain.
also, as I mentioned, I am writing a test library, and I can't control the input (users will write code that may have setImmedate inside a promise etc). I believe you are very smart and I wish you would quit knocking domains until someone finds a reasonable alternative ;)

you can wrap setimmediate as promise.immediate same way as delay wraps settimeout

@ORESoftware they most certainly do.
nextTick
Promise.resolve().then(() => {
   // this code always runs in the nextTick, promises guard against Zalgo by
   // always running the code when only platform code remained
});

setTimeout
Promise.delay(100).then(() => {
   // after 100ms, uses timer internally
});

i see, hummity hum hums

what is Zalgo btw? Is that a real thing

@ORESoftware http://blog.izs.me/post/59142742143/designing-apis-for-asynchrony

Gotcha thanks, even after reading Isaac's post I am still not sure what
Zalgo is but sounds a bit like Pandora's Boxxx
On Feb 18, 2016 12:17 PM, "Benjamin Gruenbaum"<EMAIL_ADDRESS>wrote:

@ORESoftware https://github.com/ORESoftware
http://blog.izs.me/post/59142742143/designing-apis-for-asynchrony
—
Reply to this email directly or view it on GitHub
https://github.com/petkaantonov/bluebird/issues/148#issuecomment-185896990
.


update dep and change client port env name

Codecov Report

Merging #3 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master     #3   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines          41     41
  Branches        6      6
=====================================
  Hits           41     41

Impacted Files
Coverage Δ

src/universal.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Morning session: Peer-to-peer code review

Improvement areas:

It would be better to be more descriptive in your commit messages
Add padding in between the cards in the recent works section

Changes to be made ♻
Great job with the code
code was well documented and structured👍
however you can make some changes to your desktop version button
it has to be centered just like the figma design
you can also adjust the on hover on the button color to improve the contrast


What should I do if publishing confirm failed with the 'deliveryTag'

Sorry for asking this simple question. If I publish one msg and get the confirmations (confirmations.ack==false). In this situation, how can I re-publish this msg? Should I use channel.Nack()? And how can I imitate the return confirmation ack is false?
  func main() {
	conn, err := amqp.Dial("amqp://guest:guest@localhost:5672/")
	if nil != err {
		panic(err)
	}

	ch, err := conn.Channel()
	if nil != err {
		panic(err)
	}

	queue, err := ch.QueueDeclare("hey", true, false, false, false, nil)
	if nil != err {
		panic(err)
	}

	if err = ch.Confirm(false); nil != err {
		panic(err)
	}

	confirms := ch.NotifyPublish(make(chan amqp.Confirmation, 1))

	body := "hello"
	err = ch.Publish("", queue.Name, false, false,
		amqp.Publishing{
			ContentType: "text/plain",
			Body:        []byte(body),
		},
	)
	if nil != err {
		panic("sending failed: " + err.Error())
	}

	if confirmed := <-confirms; confirmed.Ack {
		fmt.Println("good")
	} else {
		fmt.Println("what should I do?")
		tag := confirmed.DeliveryTag
		ch.Nack(tag, false, true) //Is that right to use this method? But I can't imitate this situation. I want it to re-publish
	}
  }

I mean that I can not locate the exact msg by the confirmed.DeliveryTag. I wanna try to re-publish this msg if the confirmed.Ack is false.

@Icarus9913 you need to preserve an inflight messages by our own, example using map[uint64]amqp.Publishing.

As mentions above, you need to store your messages coupled with the delivery number. Once confirmed, remove it from the map, if it's not confirmed, re-publish it again (probably up to certain amount of attempts). You can manually calculate the delivery number, or use the mechanism in #478 that was merged but not released. However, the exact same commit was released in rabbitmq/amqp091-go: https://github.com/rabbitmq/amqp091-go/releases/tag/v1.2.0


API Access

Does AWS recently require three shipped order within 180 days before granting the API access ?
Or do you have few months for development before they require that ?

No they are not providing developer access.


Add CompilerExplorer API

As suggested by @lefticus

@lefticus Could you please maybe describe details what exactly you'd like to add?


Copy text in term

unable to copy text from terminal

Please describe how this was surprising, I documented the behavior here:
https://github.com/migueldeicaza/SwiftTermApp/wiki/Selecting,-Copying-and-Pasting-Text


Add pie chart to Charity profile

When the user presses "align", show a popup of the pie chart.  All charities but the current one should be read-only by default.

went a different direction


Issue #63 - Provide a callback if the DB process crashes

Sorry for the delay on this. Got distracted with work

@neeleshs I'm about to release 2.3.0 (#106) and unless you, or anyone else reading this, want to do what we discuss above ASAP I don't think this will make it into that release...

I'm happy to fix up the merge conflicts to get this merged in if still required.

@duttonw sure, go for it! @neeleshs seems to have lost interest in this, so I just left it, but I would certainly be happy re-review and merge this, if it has value for other users in the MariaDB4j user community who are willing to step to finish this!
Just be aware that things have moved around since this was raised - the ManagedProcess & Co. is now no longer in this repo but over here in ch.vorburger.exec. That's not a big problem, of course - just first raise a PR there, I'll review, merge, release that, then you can update this PR including a bump of ch.vorburger.exec with that. Sounds like a plan?

This pull request has been split into the following:
https://github.com/vorburger/ch.vorburger.exec/pull/5
https://github.com/vorburger/MariaDB4j/pull/144


Release a new stable version?

I'm interested in using Ash as a foundation for the Vulkano project (link). Vulkano needs the ability to load custom Vulkan libraries, which I see was added by #319, but not yet published as part of a stable version on crates.io. Would it be possible to release a new stable version sometime soonish, so that this feature becomes available? Thank you!

See also: This discussion

Ah, nice! I'll close this then.

That's a nice coincidence, I wondered about the same and asked this just days ago but GH discussions are rather hidden, there isn't even an "open discussions" number like there is for issues and PRs...
Things are moving and most open PRs addressing outstanding issues have been merged over the past few days. I'd take this opportunity again to ask @MaikKlein whether there are any outstanding blockers and issues that need to be addressed before the next release can be made. I'm sure the community is willing to expedite these to make it all the way to the end :)
Lastly https://github.com/vulkano-rs/vulkano/issues/1500 sounds really cool! While I'm not the maintainer of Ash I'm sure we can accommodate to changes necessary for Vulkano, and you can always use the C functions directly from *Fn structs. Seems like the collaborative effort spent between ash and vulkano is better spent maintaining a single, proper native wrapper crate :tada:!

I'll release a new version very soon. I am open for https://github.com/vulkano-rs/vulkano/issues/1500 There have been talks about it a few years ago but nothing has happened yet. Either we move the function pointers to a new crate like ash-sys, or we put more things behind feature flags see https://github.com/MaikKlein/ash/issues/344

What do you mean regarding the function pointers? Ash seems quite usable for Vulkano as it is.

Ash seems quite usable for Vulkano as it is.

That is good to hear. Ash currently is a fairly large dependency. It comes with "high level" apis, builders etc. After the generator rewrite, you will be able opt out of most of these.

Hmm, is the size a major cause of slow compile times? Vulkano isn't all that fast to compile as it is, so maybe the extra time would disappear in the noise. Besides, cleaner, more idiomatic code in Vulkano might be worth it.

Compile-time of ash doesn't seem too bad, and it's only a one-off after clean builds when not actively developing on the crate itself.
Perhaps the CI (individual steps) is a clear enough indicator: https://github.com/MaikKlein/ash/actions?


[Fundamentals] Abuse report obligations

Nit: I noticed that we have a section on reporting abuse under Reference.
Maybe these two types of content (reporting abuse and handling requests related to abuse reports) should live closer to one another?


Connecting to MS SQL server - can query against DB2 linked server objects, but can't browse in Navigator

Good afternoon.  I'm using DBeaver EE 5.01 to connect to a MS SQL Server that has a linked server connection to a DB2 server.
I can see the MS SQL databases in the Database Navigator, but not other server objects.  I would like to be able to browse (and autocomplete) the objects on the linked server, but can't figure out how to do it in DBeaver.  I'm having to do this work SSMS instead.  :-/
Queries against the linked server tables work just fine, but they can't be browsed in the Database Navigator.
This happens for both the jTDS and the Microsoft drivers.
Thank you for any ideas or assistance that you can provide.
Cheers, --Nick

I concur, as a user of the DBeaver application on the Database Navigator tab for an MS SQL Server connection, I would like to be able to see the SSMS equivalent Server Objects --> Linked Servers

Bumping to say that I would also use this feature quite extensively.

If someone could provide guidance on how this might be implemented / and if it would be pulled, I may be able to contribute

It's June 16, 2023, and I'm searching online and I can't find the answer. From here I learn that query function is OK. Good!  Maybe the teams are having some problems on this function.

It's September , 20, 2023, and I'm searching online and I can't find the answer. who know to this feature quite extensively we need it .

Hi,
As of today (October 4, 2024) I have the same requirement - I need to use Linked Servers in DBEaver. Is there any solution or any implementation date?
Best regards,
Jan


Add support for installing dependencies using a conanfile

This is mainly in preparation of the Windows CI (and to make building and testing autobahn_cpp on systems without everything installed more convenient).
Usage:
mkdir -p build && cd build
conan install ..
# Make sure CMake searches in the current for the Findx.cmake-files that inject the conan libraries.
cmake .. -DCMAKE_PREFIX_PATH=`pwd` -DCMAKE_MODULE_PATH=`pwd`
make -j

If you don't already have conan installed and set up, you can do so by doing
pip install conan
conan profile new default --detect
# You'll probably get weird linker errors if you use new gcc and don't do this.
# At least conan warns you about it.
conan profile update settings.compiler.libcxx=libstdc++11 default

this is interesting! I wasn't aware of https://conan.io/ and https://conan.io/center/
so just to understand the motivation of adding conan to the ci: this is to get easy access to autobahncpp dependencies for building tests during a ci run, right? conan is not for releasing autobahncpp itself, since obviously autobahncpp is a header only, heavily templated library which needs to be compiled together with an app with no separate binary package ..
which is cool of course .. seems like conan is a new thing that has gained wide use in no time in the c++ communities

ok, had a look at openssl and boost on conan center .. not sure I understand: boost is mostly headers only. right, there are some binary shared libs being built as well, and for those I would understand a binary package distribution site. however, there is a "headers only confiuration" as well :

similar for websocketpp ... which is pure headers-only .. how does this work? why a binary pkgs site for a headers only lib?

Yeah, the motivation for this is to be able to build and test autobahn_cpp without installing system dependencies or manually trying to build the dependencies (not trivial for e.g. libc++ clang boost or openssl for VC++). You could also use it to push autobahn_cpp to conan if you wanted, but that's just an extra and not something I was thinking about. :P It would let users depend on autobahn_cpp by just adding one line in their conanfile.txt and letting conan find and download everything we depend on here.
Boost can be used as both header-only or linked against, depending on which subset of it you're using. Most recipes on there have some options that allow you to specify what you want. E.g. websocketpp allows you to pick between standalone asio or boost asio: https://github.com/conan-io/conan-center-index/blob/master/recipes/websocketpp/all/conanfile.py#L22-L28
The reason some header-only libraries are on there is to allow you to pull in their dependencies at the same time by letting conan handle the transitive dependencies. You can't use websocketpp without also depending on openssl, zlib, and either asio or boost, and conan handles that for you (see https://github.com/conan-io/conan-center-index/blob/master/recipes/websocketpp/all/conanfile.py#L22-L28 again)

It would let users depend on autobahn_cpp by just adding one line in their conanfile.txt and letting conan find and download everything we depend on here. ... The reason some header-only libraries are on there is to allow you to pull in their dependencies at the same time by letting conan handle the transitive dependencies.

ok, yeah, that makes sense!
IOW: once a header-only lib has (optional) binary deps in its transitive set of deps, it makes sense to put it on conan.
so lets publish autobahn-cpp to conan https://conan.io/center/. seems like we need to "Join the Early Access Program" https://github.com/conan-io/conan-center-index/blob/master/docs/how_to_add_packages.md and then

Fork the conan-center-index git repository, and then clone it.
Create a new folder with the Conan package recipe (conanfile.py)
Push to GitHub, and submit a pull request.

mmh. no clue=) would https://github.com/conan-io/conan-center-index/tree/master/recipes/websocketpp be a good example to look at / steal from for what we need with autobahn?


[Issue] Extended Protection script enforces SchUseStrongCrypto to be set to 1

Describe the issue
Reported via blog post comment: https://techcommunity.microsoft.com/t5/exchange-team-blog/released-august-2022-exchange-server-security-updates/bc-p/3609072/highlight/true#M33803
Based on our documentation, the SchUseStrongCrypto must be explicitly configured via registry but can be set to 0.
In addition to this, the value of SchUseStrongCrypto registry key should be either set to 1 (recommended) or 0 across all the Exchange Servers in the organization. If this value is not explicitly set, the default value of this key may be interpreted as 0 or 1 depending on the .NET version in use by the Exchange binaries. This can cause TLS mismatch, leading to client connectivity issues.
https://microsoft.github.io/CSS-Exchange/Security/Extended-Protection/#tls-configuration-must-be-consistent-across-all-exchange-servers
Expected behavior
The script should continue with the EP configuration if this value is explicitly set to 0 (not recommended but valid)
Code
Line 2759++
                foreach ($key in $netKeys) {
                    if ($netRegistry[$key].SchUseStrongCrypto -eq $false -or
                        $netRegistry[$key].WowSchUseStrongCrypto -eq $false -or
                        $null -eq $netRegistry[$key].SchUseStrongCryptoValue -or
                        $null -eq $netRegistry[$key].WowSchUseStrongCryptoValue) {

@mukeshHCW
We need to clarify what we expect. If 0 isn't supported, then the documentation must be adjusted. Otherwise a code change is required.

As per our discussion, we can have either value 0 or 1, but should be explicitly set. As the main issue was how if the registry is not set, depending on .NET version it is interpreted differently.
@anjaneya17 to review this as well.


CosmosDB update/persist : Tie 'Persist to Azure' to the save Action

Save file is instinctive to the user.
We would want to tie the persist to this action.
Approach: Listen to save file action and update document.


eip-7709 implement BLOCKHASH opcode from system contract state

PR description
Refactor BlockHashLookup to store it in BlockHashProcessor so one can have different implementations for it. These changes are supposedly side-effect free so no changes to integration test assertions are required.
Also BlockHashLookup now takes the Frame so that it can lookup the hash in the system contract storage.
Implementation for EIP-7709 BlockHashLookup is provided but still with no updated costs.
Gas costs update and wiring will be done in the verkle branch.
Fixed Issue(s)

fixes #7811
Thanks for sending a pull request! Have you done the following?

[ ] Checked out our contribution guidelines?
[ ] Considered documentation and added the doc-change-required label to this PR if updates are required.
[ ] Considered the changelog and included an update if required.
[ ] For database changes (e.g. KeyValueSegmentIdentifier) considered compatibility and performed forwards and backwards compatibility tests

Locally, you can run these tests to catch failures early:

[x] unit tests: ./gradlew build
[ ] acceptance tests: ./gradlew acceptanceTest
[ ] integration tests: ./gradlew integrationTest
[x] reference tests: ./gradlew ethereum:referenceTests:referenceTests

Just a sanity check, this isn't wired into any existing forks yet, right? Is it still just a Verkle thing? Would it be better to work it out in the Verkle branch?

That's right, EIP is still in draft and is a hard dependency for Verkle. Don't think there's any case to have it sooner. We have a Verkle branch but have decided to start bringing stable parts of Verkle into main because of the high amount of conflicts while merging and time it takes to review these merges. But I'll defer to @matkt on that.

Just a sanity check, this isn't wired into any existing forks yet, right? Is it still just a Verkle thing? Would it be better to work it out in the Verkle branch?

That's right, EIP is still in draft and is a hard dependency for Verkle. Don't think there's any case to have it sooner. We have a Verkle branch but have decided to start bringing stable parts of Verkle into main because of the high amount of conflicts while merging and time it takes to review these merges. But I'll defer to @matkt on that.

We're trying to merge things step by step into the main branch to reduce the size of the Verkle branch and also minimize futur conflicts, etc. The goal is to avoid having a branch that keeps growing if certain things can be merged without impacting Besu's codebase. Maybe we can add a comment to indicate that it's part of the Verkle work to prevent a future PR from trying to remove it as not used.


[v5.0.0-alpha.12] ThemeContext not found when using styled-engine-sc

[x ] The issue is present in the latest release.
[x ] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
Because I already use styled-components, I installed @material-ui/styled-engine-sc and added an alias in my webpack config. The build finishes with a warning which states export 'ThemeContext' (imported as 'StyledEngineThemeContext') was not found in '@material-ui/styled-engine' and my app returns a blank page with the error Uncaught TypeError: Cannot read property 'Provider' of undefined.
Expected Behavior 🤔
The build should finish without any warnings and the app should work as usual.
Steps to Reproduce 🕹
Steps:

Update to latest MUI alpha and install @material-ui/styled-engine-sc according to readme.
Add webpack alias for styled-engine
Run webpack build

Additional information
Is there a possible problem with my config or is there something missing in the styled-engine-sc package? Because as soon as I add
export { ThemeContext } from 'styled-components';
to the index.js file in styled-engine-sc/esm/index.js the build finishes without error and my app works as expected.

I have this same error occurring as well without trying to use @material-ui/styled-engine-sc and the webpack alias. My issue is happening on nextjs with yarn 2 trying to use<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

Do you have a reproduction?

Here's a link to CSB: https://codesandbox.io/s/keen-swanson-8flmp?file=/src/App.tsx
I'm not too familiar with CSB and don't know how to prevent the initial error. To experience my problem, open another terminal tab and run "npm run dev". After that you should see the warning mentioned above in the terminal.

@oliviertassinari did you have a chance to take a look? i just saw, that i forgot to mention you the first time around 🙈

I was able to repro it on our create-react-app-with-styled-components. Seems like we didn't release the new version for the @material-ui/styled-engine-sc package. FYI @oliviertassinari

<EMAIL_ADDRESS>released. Sorry, I have missed it the change. It works now https://codesandbox.io/s/interesting-kalam-fij5k?file=/src/App.tsx

Thanks for the reproduction!


No physics on smp items.

The bug happens when I try to use an item that has SMP capabilities.
Not fully sure how to reproduce the bug. I dont have HDT-SMP. I use LOOT, but nothing changed.
Expected behavior
Expected to have physics on SMP items.
Screenshots and videos
If applicable, add screenshots or videos to help explain your problem.
Desktop (please complete the following information):

OS: Windows 11, Nvidia RTX 3060, Intel i7

** FSMP**

Says "not yet"
NOT CUDA
No AVX

SKSE

2.2.6
(You can check it in the bottom left part of the screen, when looking at your MCMs.)

Skyrim

1.6.1170
(You can check it in the bottom left part of the screen, when looking at your MCMs.)

Required files
N/A
Additional context
Just confused on how to get this to work.

i'm having the same issue trying to get physics to work too, i've been looking all over but i believe its mostly due to the fact that FSMP isn't up to date with the current version of skyrim. there is talk of a test version on the "new versions information and tests" forum, however, virustotal is flagging it for potential phishing so i have just decided to wait until the newest update is officially released. here is the link to the forum: https://www.nexusmods.com/skyrimspecialedition/mods/57339/?tab=forum&topic_id=10699058

at the moment, THERE IS NO FSMP VERSION FOR 1170
whatever is floating in the forum is done by some amateur and DOES NOT WORK

Well, not an amateur, he's igloomod, a fine fellow, credited in FSMP :)


hydatiform mole,  missing parent

hydatiform mole is a descendant of
MONDO_0016784  gestational trophoblastic disease
but should that move  down to
gestational trophoblastic neoplasm MONDO_0018944
def
A diverse group of pregnancy-related tumors characterized by excessive proliferation of trophoblasts. Representative examples include hydatidiform mole, gestational choriocarcinoma, and placental site trophoblastic tumor.

OK, I think this is a bit complicated
On the one hand, it seems we may want to go one step further and merge GTT and GTN, based on synonyms in NCIT:
id: NCIT:C4699
name: Gestational Trophoblastic Tumor
def: "A diverse group of pregnancy-related tumors characterized by excessive proliferation of trophoblasts. Representative examples include hydatidiform mole, gestational choriocarcinoma, and placental site trophoblastic tumor." []
synonym: "GTT" EXACT  []
synonym: "Gestational Trophoblastic Disease" EXACT  []
synonym: "Gestational Trophoblastic Tumor" EXACT  []
synonym: "Gestational trophoblastic disease" EXACT  []
synonym: "gestational trophoblastic disease" EXACT  []
synonym: "gestational trophoblastic neoplasia" EXACT  []
synonym: "gestational trophoblastic tumor" EXACT  []
is_a: NCIT:C3053 ! Female Reproductive System Neoplasm
is_a: NCIT:C3422 ! Trophoblastic Tumor
is_a: NCIT:C35169 ! Pregnancy Disorder
relationship: NCIT:R101 NCIT:C12402 ! Disease_Has_Primary_Anatomic_Site Female Reproductive System
intersection_of: NCIT:C3053 ! Female Reproductive System Neoplasm
intersection_of: NCIT:R101 NCIT:C12402 ! Disease_Has_Primary_Anatomic_Site Female Reproductive System
intersection_of: NCIT:C3422 ! Trophoblastic Tumor
intersection_of: NCIT:R101 NCIT:C12402 ! Disease_Has_Primary_Anatomic_Site Female Reproductive System
intersection_of: NCIT:C35169 ! Pregnancy Disorder
intersection_of: NCIT:R101 NCIT:C12402 ! Disease_Has_Primary_Anatomic_Site Female Reproductive System

However, the NCIT graph is not very consistent with their textual description:

NCIT are our go-to source for anything cell proliferation, @nicolevasilevsky can you coordinate with them to resolve this?
My assumption is that there is a reluctance to classify HM under neoplasm due to questions of whether it fit the definition of "uncontrolled cell proliferation". This can be seen if we look deeper in NCIT:

here we can see the 3 subtypes.. ideally the ordering of the siblings would be partial, complete, and invasive. Only the invasive is placed under neoplasm. I have chosen to highlight also the two major subtypes of neoplasm in NCIT (Recall that in NCIT, plain "neoplasm" is malignancy-neutral)
This classification seems quite unusual to me. I would have placed the invasive form under the stronger 'malignant' neoplasm. And my understanding is that HMs in general are usually considered benign, with a potential to become malignant, so placing PHM under benign neoplasm seems justified... but this is based on very cursory reading.
It would certainly make things easier to consider all HMs to be neoplasms (in the broad sense, i.e malignancy-neutral, as per NCIT), which would induce an equivalence between GTT and GTD, which we would address by merging.
I'd be hesitant to do this without consulting the experts here.
The current situation in mondo is a bit of a fudge: GTD = GTT OR HM.

emailed NCIt on 06/10/20

NCIt said (06/11/20):
Our opinion is that Hydatidiform mole is not a neoplasm. It is a degenerative disorder that occurs during pregnancy. It should stay under trophoblastic disease and not moved under trophoblastic neoplasm.
@ValWood I am going to close this ticket, but please reopen if you'd like to discuss further.

in that case,should the definition of
gestational trophoblastic neoplasm MONDO_0018944
A diverse group of pregnancy-related tumors characterized by excessive proliferation of trophoblasts. Representative examples include hydatidiform mole, gestational choriocarcinoma, and placental site trophoblastic tumor.
be revised?

I am unclear why you want to revise the def of gestational trophoblastic neoplasm MONDO_0018944. It is a sibling of 'hydatidiform mole'.
Could you please clarify? Thanks!

Taken literally, this part of the definition MONDO_0018944 asserts  hydatiform moles are also neoplasms
"Representative examples include hydatidiform mole"
Is it "some forms of hydatiform mole" (if so which specifically?)
another logic issue is that the term "hydatiform mole"
has the parent "placenta neoplasm"???
Logically presumably  if it is_a "placental neoplasm", and is_a "gestational trophoblastic disease"
it MUST also be is_a "gestational trophoblastic neoplasm "
so there are further issues to resolve?

"It should stay under trophoblastic disease and not moved under trophoblastic neoplasm"
Implies that the experts are not aware of the possibility of multiple inheritance?
Note that I have no idea what is correct clinically,  my tickets  are based on the logic of what already exists in Mondo  (do you have logical definitions?)

@ValWood these are exactly the right questions, we talked briefly about this on our call but didn't have time to start unravelling

@pnrobinson - if you have time, your input on this would be appreciated! Thanks!

Emailed NCIT 02/04/2022 to get further clarification

Followed up via email on 04/20/22
subject: Question about MONDO_0018944 'gestational trophoblastic neoplasm'

From NCIT EVS:
According to WHO, hydatidiform mole has been removed from trophoblastic neoplasms, so it should not be a subclass. We will modify the existing NCIt definition for this concept.

AFAIK hydatidiform mole is considered a type of trophoblastic neoplasm. See for instance here https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4853053/

to do:

[ ] add as a subclass of neoplasm
[ ] create ticket on NCIT tracker


add "createdBy" attribute

This attribute should contain the name of the project ("Cluster Insight"), the 12-hex digits image ID and compilation date of the image. This attribute should be added to all resources and relations.

Also add an "inferredBy" attribute for relations.

Closed by issue https://github.com/google/cluster-insight/pull/26 .


OSX fix joining main thread with calling thread when exiting

Current commit fixes a segfault when terminating the app in OSX.
Continue to be issues with dtor_Texture that generates a different segfault in current demos, so to be able to replicate the segfault fixed by this commit, limit the code to create a window and exit.
On OSX we have to use erl_drv_steal_main_thread, a not documented function to run SDL2 in main thread. In the same way, to join it again with the calling thread when exiting, we have to invoke  erl_drv_stolen_main_thread_join instead of enif_thread_join like in Windows/Linux.

I totally missed that. Nice find. Will see if I can try it tomorrow.

I don't think I will have time today. I will get back to you. Thanks!

Add a new PR #12  that should fix all the remaing seg faults in OSX/Windows environments, discussed in issue #2


Require yaml. Necessary for json to yaml conversion when publishing

Context
Refer #152, when publishing json an error is thrown as the to_yaml method can't be found.
Specific changes
Adds single require statement to publish command. Local testing suggests this corrects the bad behaviour.
This is my first PR to one of your repo's, please let me know if you require more detail or what me to do anything additional. Thanks!

@tu1ly were we missing a test for this one?

@lukeryannetnz thx - does this solves the problem ? it quite strange if so , because to_yaml is parsed json method https://github.com/apiaryio/apiary-client/blob/master/lib/apiary/helpers.rb#L21 .
undefined methodto_yaml' for #Hash:0x51cbe20 (NoMethodError) seems more likely that input is parsed to something else than json. Could you pls provide  the input data/file ?
@JackuB no - it is tested - https://github.com/apiaryio/apiary-client/blob/master/spec/apiary/helpers_spec.rb#L68

@lukeryannetnz you are right - expl. yaml require is needed. tests passing because yaml is loaded in cucumbed which is loaded before tests execution.
https://github.com/apiaryio/apiary-client/pull/154  - i've put require to better place

Thanks @tu1ly I considered putting it there too, agree it is nicer there. Appreciate the quick turnaround.


Add many missing EC2, RDS and Elasticache instance type constants.

Thank you for making these updates.


Improved English message

Hi,
should I wait for more?

Yes! I have identified a few more. But I would like to see these changes in
the game...
I started with steemnova. Sent them about 16 English improvements. They
have not answered.
I am curious about one thing. I have a user in 2moons, although I never
opened one. Looks like the user base for steemnova and 2moons is the same...
Anyway, I am delighted you have taken my contributions into account. Thanks
a lot for that!
Take care.
2018-02-06 21:45 GMT-03:00 Jan-Otto Kröpke<EMAIL_ADDRESS>
Hi,
should I wait for more?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jkroepke/2Moons/pull/341#issuecomment-363616615, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AcJsP26O69fbmzW1fwvsd8lu3FnHoMCOks5tSPIegaJpZM4R75qo
.

Fine. Let me know, when I should merge it.

Finally the Steemnova team have incorporated my English changes. Can you pull them from them? So I won't have to post them again here.
But neither in Steemnova nor here in 2moons I see the effective changes. I still see "no any online admininstrator" under Overview, Active Admins. It seems like the changes are not in place yet...

. Can you pull them from them? So I won't have to post them again here.
Link?

But neither in Steemnova nor here in 2moons I see the effective changes. I still see "no any online admininstrator" under Overview, Active Admins. It seems like the changes are not in place yet.

You have to clear the cache.

Hi, how are you doing?
I mentioned you in conversations in the steemnova discord. I'd like you to
see those conversations. Maybe you'd like to take a look.
https://discordapp.com/channels/404642952783069195/407118260023066634?jump=429269207939547138
2018-02-10 12:58 GMT-03:00 Jan-Otto Kröpke<EMAIL_ADDRESS>
. Can you pull them from them? So I won't have to post them again here.
Link?
But neither in Steemnova nor here in 2moons I see the effective changes. I
still see "no any online admininstrator" under Overview, Active Admins. It
seems like the changes are not in place yet.
You have to clear the cache.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jkroepke/2Moons/pull/341#issuecomment-364665114, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AcJsP9TKyjvp1H0r5EaxCuVZMZfpiBEWks5tTbyYgaJpZM4R75qo
.


Question: How to deep clone classes associated to the same class, as in a linked list or tree?

Say I have a TreeNode class:
class TreeNode < ApplicationRecord
has_many :children, class: :TreeNode, foreign_key: :parent, inverse_of: :parent
belongs_to :parent, class: :TreeNode, inverse_of: :children
end
how would you deep_clone a given TreeNode object to deep clone the object and all the children, the children's children, etc?

I don't think deep_cloneable would be very useful in your case. I would make a recursive method and use dup instead. Something like this:
class TreeNode < ApplicationRecord
  def duplicate
    dup.tap { |node| node.children = children.map(&:duplicate) }
  end
end
``

I don't think deep_cloneable would be very useful in your case. I would make a recursive method and use dup instead. Something like this:
class TreeNode < ApplicationRecord
  def duplicate
    dup.tap { |node| node.children = children.map(&:duplicate) }
  end
end
``


[Bug] showLastSeenWhenOffline

I do not think this option works as it should, i have not look in it a lot but if i change the the code from
if ((self.config.showLastSeen && device.lastSeen  && !self.config.showLastSeenWhenOffline) ||
   (self.config.showLastSeen && !device.lastSeen &&  self.config.showLastSeenWhenOffline)) {

to the fallowing code
if (self.config.showLastSeen && !device.online) {

Then it works as "showLastSeenWhenOffline" should have been working that is "show last seen only when offline." if you look at the description.

Good catch. My interpretation is a little different but you are right about the "show last seen only when offline" case.
There are two configuration options, showLastSeen and showLastSeenWhenOffline, both booleans. That means there are four configuration states, both true, both false, and one true but the other false. What do we want to see for each configuration state? If both are false then it's easy, don't show last seen for any device. If both are true then I think we want what you suggest. But how to handle the other two cases? I think we have to cover the case where showLastSeen is true but showLastSeenWhenOffline is false which would show last seen for only online devices. The final case would not show any last seen info, similar to both false.
Does that make sense to you?
Thanks for opening this issue, the logic in that section of code is faulty.

Actually, maybe what I would like is to be able to see last seen for all devices sometimes. Crap.

@TimerWolf i am just going to make these do what they are documented to do and not worry about other states.
That is, if show last seen is enabled then there are two states determined by showLastSeenWhenOffline, either show all devices' last seen status or only show last seen when offline (as you have noted).
I'll get to this as soon as I can.


Ball in cup env

To-do:

[ ] make observation space consistent
[ ] verify learning
[ ] fix colision bug

@defrag_bambino , perhaps an interesting point of discussion, would it make sense for the environment to only be considered successful if the UAV successfully balances the ball for a number of seconds or achieves (close to) 0 velocity on it?

I made the following changes:

Add ball relative velocity to drone observation space
Tweaked reward and termination structure
Added it to tests

@defrag-bambino , perhaps an interesting point of discussion, would it make sense for the environment to only be considered successful if the UAV successfully balances the ball for a number of seconds or achieves (close to) 0 velocity on it?

That is certainly an option. The way I intented to use it was to have some sort of basket on top of the drone. Once it fell in, the ball would not be able to move in there anyways.
Maybe your idea could be the difficult version of the env? So we'll have (atleast) two versions.

Currently, the drone is still not able to learn the right behaviour using my learning stack and the current reward function. Lemme poke around a bit more to get a stable configuration.

Currently, the drone is still not able to learn the right behaviour using my learning stack and the current reward function. Lemme poke around a bit more to get a stable configuration.

What is does it do instead? Just not move at all? Or swing the ball around wildly?
I had the following issues and solved them:

Swinging around itself. The drone would move such that the ball kept swinging around and around itself. Solution: end the episode once the ball was above the drone and went back down.
No swinging at all. Solution: add some random ball rotation at the beginning, since then the pendulum will already be in a moving state and the agent will quickly realize that this gives reward.

Basically anything in between not moving and swinging wildly. I am hesitant to implement the first fix yet because that adds an additional task to the environment. The second fix sounds reasonable, I'll give it a shot.

Basically anything in between not moving and swinging wildly. I am hesitant to implement the first fix yet because that adds an additional task to the environment. The second fix sounds reasonable, I'll give it a shot.

Ok.
The first fix came expecially handy once it learned to exploit the reward structure by spinning the ball around itself. This is not only undesired in terms of the goal, but also unrealistic because the rope would get tangled once the ball goes up one side of the drone and comes back down the other. I definetly did not want it to even think about this being an option.

Hahahaha that is definitely a problem. I'm not sure what a clean way to fix that is. Termination feels weird while truncation is incorrectly using the truncation term.

@defrag-bambino an update:
Finally found an extremely stable reward function configuration, and managed to repro the weird collision bug. I'll work out how to solve that now.
https://github.com/user-attachments/assets/a3334cb9-fe8b-42b6-8403-c0bfb6c2c516

@defrag-bambino an update:
Finally found an extremely stable reward function configuration, and managed to repro the weird collision bug. I'll work out how to solve that now.
screencast.mp4

cool!

I've tried to train it using my stack. It converges to some behavior where it flies up straight and then comes back down and turns itself upside down. Somehow this generates reward of average around 60 - with average episode length of also 60.
https://github.com/user-attachments/assets/bbe2a752-393a-4a08-bad5-4ccfaf75d1f6

Interesting... Is this a model trained to convergence? On my stack, it learns the optimal behaviour, but doesn't quite get the ball to the center yet because there's no cup - it's on the way.


Question: Is there a standard way to limit the number of related resources on POST/PATCH requests?

Hi Chris,
I am wondering if the package has a built-in way to configure a maximum number of related resource identifiers on a has-many relationship and if not - if you would consider adding such a feature. I may be too paranoid, but it seems to me I need some way to restrict that number globally or at least for some relationships where the operation is computationally intensive (with events triggerred, etc.).
If this is not present or going to be included (maybe with the validation changes you are working on), would you recommend a way to tackle this? I am thinking about doing checks within the creating/updating controller hooks.
Thanks a lot for any suggestions and overall for the great work with the package!

I'm going to close this because there's several issues open about validation at the moment. But when I put out the new validation, if you can't do what you want to do with it make sure you either open a new issue or re-open this one.


Move flake8 config to setup.cfg

flake8 config was moved once from tox.ini to setup.cfg in https://github.com/wagtail/wagtail/commit/b85c34016351141086db0ade3e2e81880a216c9f, but #3503 added flake8 section in tox.ini again.

Merged in eab9198f4. Thanks 👍


fix(firestore): iOS nested FieldValues not serialized in update()

This PR resolves the following issue:
Performing an update with a FIeldValue used as a nested property value such as:
await firebase.firestore().doc('test/1234').update({
    a: {
        b: FieldValue.serverTimestamp()
    }
})

Results in the following firestore document contents:

@cla-bot check


Replace invalid breadcrumb types with default type

Closes https://github.com/bugsnag/bugsnag-js/issues/167
📯  @wordofchristian @kattrali

Looks good 🍬


Consider allowing preprocessors to return a promise, instead of calling next

I'm wondering if the interface for preprocessor plugins might be cleaner and a little more familiar to new plugin developers, if it allowed preprocessors to return a promise that resolved with the processed content rather than requiring each preprocessor to call next. I believe this could easily be done in a backwards compatible way.
In the code, I believe this would look something like this:
/lib/preprocessor.js
preprocessors.shift()(content, file, nextPreprocessor)

would become
    const maybePromise = preprocessors.shift()(content, file, nextPreprocessor)
    if (maybePromise && maybePromise.then) {
      maybePromise.then(
        (result) => nextPreprocessor(null, result),
        (error) => nextPreprocessor(error, content)
      )
    }

If this seems like a reasonable idea, I'll see about making the change and putting up a pull request.

Sounds great, with the additional motivation that sometimes a preprocessor needs to be async for practical reasons.
Backwards compatibility is essential if we are to avoid a long deprecation cycle as we have no mechanism to know all plugins. A test that demonstrates success with a combination of sync and async plugins would be needed.


[video_player] Does not play this video file on iOS

@danagbemava-nc
On iOS using the video_player's own example code this video file does not initialise.
MP4 video with audio does not initialise
Video player does not complete the initialize() method and it does not return an error either. I have observed the problem with audio formats that video_player does not officially support, yet it does not return an error in initialize(). This suggests that there is a bigger problem with error handling.

Hi @rgb1380, can you specify which version of video_player you're experiencing this with?
Using video_player: ^2.2.4, there's a PlatformException thrown when it's not able to initialize the video.
[VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: PlatformException(VideoError, Failed to load video: Operation Stopped, null, null)

logs
Launching lib/main.dart on Nexus’ IPhone in debug mode...
Found saved certificate choice "Apple Development: Dean Li (DXB2HBHNAA)". To clear, use "flutter config".
Signing iOS app for device deployment using developer identity: "Apple Development: Dean Li (DXB2HBHNAA)"
Running Xcode build...
 └─Compiling, linking and signing...                        18.6s
Xcode build done.                                           48.1s
(lldb) 2021-09-22 08:26:24.104437+0000 Runner[2759:659890] Warning: Unable to create restoration in progress marker file
fopen failed for data file: errno = 2 (No such file or directory)
Errors found! Invalidating cache...
fopen failed for data file: errno = 2 (No such file or directory)
Errors found! Invalidating cache...
Installing and launching...                                        31.3s
[VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: PlatformException(VideoError, Failed to load video: Operation Stopped, null, null)
Syncing files to device Nexus’ IPhone...                           581ms

Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).

💪 Running with sound null safety 💪

An Observatory debugger and profiler on Nexus’ IPhone is available at: http://<IP_ADDRESS>:61126/ZXUZlFFtV7M=/
The Flutter DevTools debugger and profiler on Nexus’ IPhone is available at:
http://<IP_ADDRESS>:9101?uri=http://<IP_ADDRESS>:61126/ZXUZlFFtV7M=/

Application finished.

Version 2.2.3

I downgraded to video_player: 2.2.3 and the errors are handled properly. The sample used is taken from the examples, I just modified it a bit to display the errors properly.
With regards to the video not being playable, I'll do some investigation on the native to see if the underlying players support it.
Or if you can confirm that the video plays on the native side, that would also be very helpful.
Thank you

sample used
import 'package:video_player/video_player.dart';
import 'package:flutter/material.dart';

void main() => runApp(VideoApp());

class VideoApp extends StatefulWidget {
  @override
  _VideoAppState createState() => _VideoAppState();
}

class _VideoAppState extends State<VideoApp> {
  late VideoPlayerController _controller;

  String errMsg = 'nothing here yet';

  @override
  void initState() {
    super.initState();

    _controller = VideoPlayerController.network(
      'https://filesamples.com/samples/video/mp4/sample_1280x720_surfing_with_audio.mp4',
    )..initialize().then((_) {
        // Ensure the first frame is shown after the video is initialized, even before the play button has been pressed.
        setState(() {});
      }).catchError((err) {
        setState(() {
          errMsg = err.toString();
        });
      });
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Video Demo',
      home: Scaffold(
        body: Center(
          child: _controller.value.isInitialized
              ? AspectRatio(
                  aspectRatio: _controller.value.aspectRatio,
                  child: VideoPlayer(_controller),
                )
              : Text(errMsg),
        ),
        floatingActionButton: FloatingActionButton(
          onPressed: () {
            setState(() {
              _controller.value.isPlaying
                  ? _controller.pause()
                  : _controller.play();
            });
          },
          child: Icon(
            _controller.value.isPlaying ? Icons.pause : Icons.play_arrow,
          ),
        ),
      ),
    );
  }

  @override
  void dispose() {
    super.dispose();
    _controller.dispose();
  }
}

@danagbemava-nc are you testing this on iOS? I see this problem of not handling the error on iOS (simulator and physical device), Android throws the exception fine.

@rgb1380, yes, I'm testing this on iOS. See screenshot below. I run the code sample I provided above.
With that being said, can you upgrade to the latest version of video_player and see if you experience this issue?
Also, any more information that you can provide will be helpful.
Thank you

@danagbemava-nc I am testing on Flutter 2.2.3, that's the only other difference I can see with you setup. I will upgrade soon and check the issue with error handling again.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


DG_Readiness_Tool.ps1 reports Credential-Guard is enabled and running but i does not work as expacted

[Enter feedback here]
running the DG_Readiness_Tool_v3.7.2.ps1 -Ready

tells everything is running.
lsalso.exe is running too.

but credetial dumping from LSASS.exe is still possible:

found out on running .\DG_Readiness_Tool_v3.7.2.ps1 -Capable
that there is SSM Mitigation an HSTI absent:

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

ID: c12e9c4a-af05-9ecd-a791-ac89aa43787c
Version Independent ID: 76517523-a960-c5fb-ce76-2c3efe642f37
Content: Windows Defender Device Guard and Windows Defender Credential Guard hardware readiness tool - Microsoft 365 Security
Content Source: windows/security/identity-protection/credential-guard/dg-readiness-tool.md
Product: w10
Technology: windows
GitHub Login: @SteveSyfuhs
Microsoft Alias: stsyfuhs

Hello @mario-sit - Thank you for your feedback on the document. Can you please confirm what changes is required on the document side? Is this the code somewhere or anything else.
Thanks.
Imran.

This ticket appears to be about whether the security improvement is available and enabled, or not available and disabled, when running the DG Readiness Tool.
See for example closed issue ticket #5787 (Blue Screen Enabling DG/CG with DG Readiness Tool) and How do I enable HSTI, NX and SMM on Windows 10 Enterprise? (https://answers.microsoft.com/en-us/windows/forum/all/how-do-i-enable-hsti-nx-and-smm-on-windows-10/333c0fe1-6dd5-4ae2-b9f8-dce615de21c9?auth=1)

https://www.bing.com/search?q=HSTI+SMM+Mitigation
https://docs.microsoft.com/en-us/windows-hardware/drivers/bringup/uefi-security
https://docs.microsoft.com/en-us/windows-hardware/drivers/bringup/fixed-combuffer-and-windows-smm-security-mitigation-table
https://docs.microsoft.com/en-us/windows-hardware/drivers/bringup/hardware-security-test-interface-1-1a

Hi @joinimran!
i think it is wrong in the description and the result of the ps1 script that there is mentioned, that device guard is working on all SKU's. it is only working on the Enterprise Edition. it does not take affect for example on win10 pro.  it gives people a wrong confidence when running the script, and it tells that Credential Guard is running. even if it is not supported on other SKU's then the enterprise edition.
thank you, Mario

i think it is wrong in the description and the result of the ps1 script that there is mentioned, that device guard is working on all SKU's. it is only working on the Enterprise Edition. it does not take affect for example on win10 pro. it gives people a wrong confidence when running the script, and it tells that Credential Guard is running. even if it is not supported on other SKU's then the enterprise edition.

But Windows (Pro) itself provide this feature in group policy editor (gpedit.msc) under:
Computer Configuration -> Administrative templates -> System -> Device Guard -> Turn on Virtualization Based Security
And there isn't such an info too.

Regarding a document update and note to the effect of stating that the tool may only be effective on Windows 10 Enterprise:
PR #8869 is ready for review, comments, and suggestions.

#8869 has been merged. Thank you.

#8869 has been merged. Thank you.


Importing an Existing Server

Hello Sarpendon, I am not familiar with GSM. I was wondering if you could help me with setting up and utilizing GSM with my Server? Do I have to Install and use a Fresh server to take advantage of GSM or is it able to import the existing Server I already have up and running? I have already followed your installation steps you detailed. I'm now at the last step of Install your server. I already had a folder set up where the MoE.bat file and others for the dedicated are located. The actual save files for the server are stored in a different file if I'm not mistaken.  I moved the GSM.exe into my Private server file. So how should I proceed from there to run the server through GSM? Thanks for the help in advance. :)

disregard this issue. I worked through the program and managed to import my server, and all is functioning well.  I did notice that in the GSM, it does not display active players correctly on the System Metrics tab. is there something I need to do to get this to display correctly? or just something that is not enabled yet


Fix #6184. Centering icons.

Demo: https://semantic-ui-icon-centering-btfdqouqqk.now.sh/

I've fixed this with variables only.

Nice


The integration with AVO did not work as expected

Hello, when I use this plugin to integrate with AVO and report events using posthog.capture, composeWebhook metrics should update, but AVO does not receive the event trigger.
Reproduction Steps

Configure Inspector Events for AVO
Enable the Avo Inspector Plugin in the Data pipeline-Apps in PostHog and configure the Avo API Key
Use posthog.capture to report events to posthogposthog.capture('event-test-by-posthog', {
		property1: 'value',
		property2: 'another value',
	});

Actual Results
posthog receives the reported event and the avo plugin has the corresponding composeWebhook metrics statistics:

However, AVO did not receive the corresponding event trigger:

Expected
The avo can receive the corresponding event trigger.
Supplementary Statement
Calling the api interface https://api.avo.app/inspector/posthog/v1/track can trigger AVO events.

Hello @iyolee!
Thank you for reporting this issue.
After some testing, we realized PostHog is double dumping the JSON body sent to Avo, which is causing Avo to reject or not process the event. It was hard to spot the issue as the Avo API doesn't return an error (always replies with 200 OK), so we had to do a lot of trials to find the error.
Anyways, we will be pushing out a patch to address the issue today and the issue should be resolved by updating the Avo app after the patch is released (we will do that ourselves for PostHog cloud).

https://github.com/PostHog/posthog/pull/19873

Actually, we will fix this issue over at https://github.com/PostHog/posthog (https://github.com/PostHog/posthog/pull/19873). So PostHog will have to be updated to address this issue (again, we will do this in PostHog Cloud, but self-hosted users have to pull the latest changes).


the env is not defined in the Dockerfile of  RAC <IP_ADDRESS>.

The error that (bash: /opt/scripts/install is a direcoty) is output when installed Oracle RAC.
The Problem may be bellowing. can you check that.
Path: OracleDatabase\RAC\OracleRealApplicationClusters\dockerfiles\<IP_ADDRESS>
file: Dockerfile
question:  $GRID_HOME_CLEANUP and $ORACLE_HOME_CLEANUP are not defined in 117L & 118L.
su  grid -c "$INSTALL_SCRIPTS/$GRID_HOME_CLEANUP" && \
su  oracle -c "$INSTALL_SCRIPTS/$ORACLE_HOME_CLEANUP" && \
No error to build complete when defined bellowing in Dockerfile.
GRID_HOME_CLEANUP="GridHomeCleanup.sh" \
ORACLE_HOME_CLEANUP="OracleHomeCleanup.sh" \

It is fixed. Please verify.  Please close this if the issue is fixed.

Thanks very much.


Torch Gemma

Fix llama on transformers 4.38

Support Gemma

[ ] #1075

I've tested it with profile_restful_api.py and profile_throughput.py for google/gemma-2b-it and it works well.

Hi @grimoire Have you compared the output results with those of the transformers?

Hi @grimoire Have you compared the output results with those of the transformers?

I have align the GemmaDecodeLayer with my debug tools It can be matched without Patched RMS norm. Since the only different between LlamaModel and GemmaModel is hidden_states = hidden_states * (self.config.hidden_size**0.5), I think that should be enough.
The patched RMS norm looks OK in chat API, I guess the mismatch of the norm is caused by the scaling of hidden_states.

Hi @grimoire Please resolve the conflicts.

UT failed
>           assert q.stride() == out_q.stride()
E           AttributeError: 'NoneType' object has no attribute 'stride'

Is it this PR's issue or our runner's issue?
@RunningLeon may check the runner.

Tested Ok on with gemma and llma2

chat cli
pipeline
api_server

Error when running Baichuan2-7B-Chat model. It works in main branch.
script:
from lmdeploy import pipeline, GenerationConfig, PytorchEngineConfig

backend_config = PytorchEngineConfig(session_len=2048)
gen_config = GenerationConfig(top_p=0.8,
                              top_k=40,
                              temperature=0.8,
                              max_new_tokens=1024)
pipe = pipeline('/nvme/qa_test_models/Baichuan2-7B-Chat',
                backend_config=backend_config)
prompts = [[{
    'role': 'user',
    'content': 'Hi, pls intro yourself'
}], [{
    'role': 'user',
    'content': 'Shanghai is'
}]]
response = pipe(prompts, gen_config=gen_config)
print(response)

error callstack.
Xformers is not installed correctly. If you want to use memory_efficient_attention to accelerate training use the following command to install Xformers
pip install xformers.
/home/zhulin1/miniconda3/envs/lmdeployv23/lib/python3.10/site-packages/torch/_utils.py:831: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly.  To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()
  return self.fget.__get__(instance, owner)()
Exception in thread Thread-1 (loop):
Traceback (most recent call last):
  File "/home/zhulin1/miniconda3/envs/lmdeployv23/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/home/zhulin1/miniconda3/envs/lmdeployv23/lib/python3.10/threading.py", line 946, in run
    self._target(*self._args, **self._kwargs)
  File "/home/zhulin1/miniconda3/envs/lmdeployv23/lib/python3.10/site-packages/lmdeploy/pytorch/engine/engine.py", line 874, in loop
    step_tokens: Dict[int, InferOutput] = self.step(
  File "/home/zhulin1/miniconda3/envs/lmdeployv23/lib/python3.10/site-packages/lmdeploy/pytorch/engine/engine.py", line 668, in step
    output = self._model_forward(inputs,
  File "/home/zhulin1/miniconda3/envs/lmdeployv23/lib/python3.10/site-packages/lmdeploy/pytorch/engine/engine.py", line 641, in _model_forward
    return __forward(inputs)
  File "/home/zhulin1/miniconda3/envs/lmdeployv23/lib/python3.10/site-packages/lmdeploy/pytorch/engine/engine.py", line 583, in __forward
    return self.model_agent.forward(inputs,
  File "/home/zhulin1/miniconda3/envs/lmdeployv23/lib/python3.10/site-packages/lmdeploy/pytorch/engine/model_agent.py", line 522, in forward
    output = model_forward(
  File "/home/zhulin1/miniconda3/envs/lmdeployv23/lib/python3.10/site-packages/lmdeploy/pytorch/engine/model_agent.py", line 335, in model_forward
    output = patched_model.patched_forward(
  File "/home/zhulin1/miniconda3/envs/lmdeployv23/lib/python3.10/site-packages/lmdeploy/pytorch/models/patch.py", line 239, in __call__
    output = self._model(*args, **kwargs)
  File "/home/zhulin1/miniconda3/envs/lmdeployv23/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/zhulin1/miniconda3/envs/lmdeployv23/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/zhulin1/.cache/huggingface/modules/transformers_modules/Baichuan2-7B-Chat/modeling_baichuan.py", line 686, in forward
    outputs = self.model(
  File "/home/zhulin1/miniconda3/envs/lmdeployv23/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/zhulin1/miniconda3/envs/lmdeployv23/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/zhulin1/miniconda3/envs/lmdeployv23/lib/python3.10/site-packages/lmdeploy/pytorch/models/baichuan.py", line 470, in forward
    return self._continuous_batching_forward_7b(
  File "/home/zhulin1/miniconda3/envs/lmdeployv23/lib/python3.10/site-packages/lmdeploy/pytorch/models/baichuan.py", line 349, in _continuous_batching_forward_7b
    layer_outputs = decoder_layer(
  File "/home/zhulin1/miniconda3/envs/lmdeployv23/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/zhulin1/miniconda3/envs/lmdeployv23/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/zhulin1/.cache/huggingface/modules/transformers_modules/Baichuan2-7B-Chat/modeling_baichuan.py", line 273, in forward
    hidden_states, self_attn_weights, present_key_value = self.self_attn(
  File "/home/zhulin1/miniconda3/envs/lmdeployv23/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/home/zhulin1/miniconda3/envs/lmdeployv23/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/zhulin1/miniconda3/envs/lmdeployv23/lib/python3.10/site-packages/lmdeploy/pytorch/models/baichuan.py", line 87, in forward
    return self._contiguous_batching_forward(
  File "/home/zhulin1/miniconda3/envs/lmdeployv23/lib/python3.10/site-packages/lmdeploy/pytorch/models/baichuan.py", line 142, in _contiguous_batching_forward
    query_states, key_states, value_states = _rotary_emb_fn(
  File "/home/zhulin1/miniconda3/envs/lmdeployv23/lib/python3.10/site-packages/lmdeploy/pytorch/models/baichuan.py", line 131, in _rotary_emb_fn
    query_states, key_states = apply_rotary_pos_emb(
  File "/home/zhulin1/miniconda3/envs/lmdeployv23/lib/python3.10/site-packages/lmdeploy/pytorch/models/llama.py", line 43, in apply_rotary_pos_emb
    cos = cos.unsqueeze(unsqueeze_dim)
TypeError: unsqueeze(): argument 'dim' (position 1) must be int, not Tensor
2024-02-29 09:04:07,433 - lmdeploy - ERROR - Engine main loop stopped.

Gemma model need transformers>=4.38.0, Should we put a notice on readme?

https://github.com/InternLM/lmdeploy/blob/a6c25240814fbd79f98dea669f2b69e893161927/requirements/runtime.txt#L14 requirements has been updated

@zhulinJulia24

Error when running Baichuan2-7B-Chat model. It works in main branch.

Fixed.


QueryProbing fails: Can't load the context of type 'XAccountDao..type' for compile-time query probing. Reason: 'java.lang.ClassNotFoundException: XAccountDao.$'

This template isn't a strict requirement to open issues, but please try to provide as much information as possible.
Version: (e.g. 0.4.1-SNAPSHOT)
Included build.sbt:
val sversion = "2.11.8"
lazy val root = (project in file(".")).
settings(
name := "tut-quill-1",
version := "0.1",
scalaVersion := sversion,

libraryDependencies ++= Seq(
  "org.postgresql" % "postgresql" % "9.4.1208",
  "io.getquill" %% "quill-jdbc" % "1.3.0"
)

)
Module: (e.g. quill-jdbc)
Not sure.
Database: (e.g. mysql)
Postgresql 9.6
Expected behavior
The "with QueryProbing" should compile. Probing should work and validate to confirm/reject SQL. Removing the "with QueryProbing" makes it compile, but doesn't query the database.
Actual behavior
Compilation error with other exception:
Can't load the context of type 'XAccountDao..type' for compile-time query probing. Reason: 'java.lang.ClassNotFoundException: XAccountDao.$'	Hello.scala
Same issue in both sbt and ScalaIDE.
Steps to reproduce the behavior
Create this source file, Hello.scala, and try to compile it:
import io.getquill._
object Hello extends App
{
new XAccountDao
}
case class XAccount(name: String, balance: Long)
class XAccountDao { // doesn't matter if it is
val ctx = new PostgresJdbcContextCamelCase with Escape with QueryProbing
import ctx._
val res = selectJohnsBalanceS
res.foreach(x => println(x))
def selectJohnsBalanceS = {
val s = quote {
query[XAccount]
}
ctx.run(s)
}
}
If the issue can be reproduced using a mirror context, please provide a scalafiddle that reproduces it. See https://scalafiddle.io/sf/pMg4JvY/1 as an example. Remember to select the correct Quill version in the left menu.
Workaround
Haven't found any.
Database info:
CREATE DATABASE quill_demo
WITH
OWNER = postgres
ENCODING = 'UTF8'
LC_COLLATE = 'Danish_Denmark.1252'
LC_CTYPE = 'Danish_Denmark.1252'
TABLESPACE = pg_default
CONNECTION LIMIT = -1;
SQL script for creating table:
-- Table: public."XAccount"
-- DROP TABLE public."XAccount";
CREATE TABLE public."XAccount"
(
name character varying(40) COLLATE pg_catalog."default",
balance bigint
)
WITH (
OIDS = FALSE
)
TABLESPACE pg_default;
ALTER TABLE public."XAccount"
OWNER to postgres;
@getquill/maintainers

Thank you for the detailed report! Please check out the "Query Probing" section of the documentation, the context creation must happen in a separate compilation unit.
Let's keep this issue open to improve the error message.


Name changer doesnt work

it doesnt work

me too

Same...

It seems that the name changer has been patched.
Setting by reference or by modifying the memory at the offset doesn't work either, maybe the nickname gets updated frequently.


Update the README for latest serverless v2 and upcoming v3

Description
As mentioned in the discussion (https://github.com/neverendingqs/serverless-dotenv-plugin/discussions/155#discussioncomment-1347632), Serverless Framework v2 and (upcoming) v3 support .env for ${env:xxx} variables via an option in the config.
That makes part of this plugin redundant. Especially since the plugin will no longer be able to load environment variables in the process.
However, this plugin is still useful to automatically inject all .env variables into functions.
So here is what we can do/recommend users:

to use ${env:xxx} with .env, use the native Serverless Framework feature
to import all .env variables into functions, use this plugin

See https://github.com/serverless/serverless/pull/10495
I've updated the README to make this clearer. Let me know if that clarifies everything for v3?

@neverendingqs Since v3 was released last week would you have time to merge this pull request?
That would make upgrading more clear/easy for users.

V3 usage is already at 17% of the whole userbase. It's growing very fast.

Hi @neverendingqs, quick reminder about this PR :)
Have a great weekend!

On a side note, one feature which I think they should support for the useDotenv feature is the path option. This way we can dictate where the .env file can be to be used by the plugin. This is especially useful in monorepos as in my case


UX: Use ExtractM in "extract function" functions (if needed (!)).

Why?
As mentioned in this commit, we need to make sure that all the extractors are actual extractors.
What?

[ ] Understand ExtractM API
[ ] Figure out which of the "jackal certified" functions are extractors
[ ] Refactor them to use the API.

Closing this for now, as ExtractM only passes around named locals and globals for the purposes of matching their symbolic identifiers to indices. I've checked that the rest of the extractor functions don't deal with this issue. If we ever extend the ExtractM API, we can reopen.


inliner misses files when not using base path for URL

if I call something like
inliner http://example.com/test

and there is an element such as:
<script src="test.js"></script>

inliner will return a 404 on http://example.com/test.js instead of looking for http://example.com/test/test.js
then I tried the following, which seemed to make the 404 disappear.  HOWEVER, those files still appeared to be missing from the final combined HTML output:
<script src="./test.js"></script>

The correct url to request is example.com/test.js though. Given the example you gave the relative path is / rather than /test/.
Do you have a real world example of what you're seeing?

This is basically what I was trying to roll up:
http://yourika.com/dbtest/
This app works fine in all the browsers that I tried.  None gave a 404 looking at / over /dbtest/.

The latest release of inliner should keep the 404'ing URLs in the output, so if you run:
$ inliner http://yourika.com/dbtest/ > dbtest.html

You should see which are 404'ing. From my own test, it looks to be the loading image only. Can you check if you see anything different (and paste here)?

I installed the latest version of inliner on npm, and this is the output I received:
>inliner http://yourika.com/dbtest/ >dbtest.html
? 404 on loading.gif
100%
Last job: 404 on loading.gif

However, this is the output I got in Chrome (Inspect/DevTools Console) when I tried loading dbtest.html:
Failed to load resource: net::ERR_FILE_NOT_FOUND file:///C:/myjunk/cc/gridstack.min.js
Failed to load resource: net::ERR_FILE_NOT_FOUND file:///C:/myjunk/cc/techan.min.js
Failed to load resource: net::ERR_FILE_NOT_FOUND file:///C:/myjunk/cc/pnotify.custom.min.js
Failed to load resource: net::ERR_FILE_NOT_FOUND file:///C:/myjunk/cc/jquery.webui-popover.min.js
Failed to load resource: net::ERR_FILE_NOT_FOUND file:///C:/myjunk/cc/w2ui-1.4.3.min.js

So, it's still leaving those files out, while it seems to be including all the others.

Are you certain these are being referenced in the html and not dynamically loaded via JavaScript?

from view-source:http://yourika.com/dbtest/:
	<script src="techan.min.js"></script>
        <script src="gridstack.min.js"></script>
	<script src="pnotify.custom.min.js"></script>
	<script src="jquery.webui-popover.min.js"></script>
	<script src="w2ui-1.4.3.min.js"></script>

I don't believe so.  What I can say, which is especially strange is that inliner does seem to catch others that come right after those (no chrome error message).  One thing I did notice is that the ones that seem to have a problem have multiple . (ie. .min.js) in them, whereas the ones that seemed to load fine are all single . (ie.  xxxxx-xxx.js).

Oh sod, they're all minified, inliner skips minified scripts by default. I caught that the other day when I actually wanted it inlined. That's a sort-of-bug/sort-of-feature. I'll see if I can make a PR to sort this.

ah ok, glad we finally nicked that one!

I appreciate this was months ago, but do you know if this works? I've merged a bunch of PRs and changes over the months, so I'm not 100% sure if this is fixed or not!

yes, I believe the problem was solved, thank you!


Full-CI energies for larger basis sets

Dear PySCF developers,
I tried calculating the energy of the H atom
using full CI, see example below.
import pyscf
for basis in ['aug-pc-0','aug-pc-1','aug-pc-2','aug-pc-3','aug-pc-4']:
    mol = pyscf.M(
        atom = 'H 0 0 0',  # in Angstrom
        basis = basis,
        spin = 1,
        verbose = 0
    )
    myuhf    = mol.UHF().run()
    cisolver = pyscf.fci.FCI(myuhf)
    cisolver.kernel()
    print(f'{basis}  E(UHF) = {myuhf.e_tot:15.12f} E_h  E(FCI) = {cisolver.e_tot:15.12f} E_h')

The energy
should be the same as the underlying HF calculation.
However, going to large basis sets (here: aug-pc-4),
the full CI energy deviates drastically from HF.
aug-pc-0  E(UHF) = -0.496368027479 E_h  E(FCI) = -0.496368027479 E_h
aug-pc-1  E(UHF) = -0.498645346213 E_h  E(FCI) = -0.498645346213 E_h
aug-pc-2  E(UHF) = -0.499884212754 E_h  E(FCI) = -0.499884212754 E_h
aug-pc-3  E(UHF) = -0.499997292927 E_h  E(FCI) = -0.499997292927 E_h
aug-pc-4  E(UHF) = -0.499999573300 E_h  E(FCI) = -0.609830900422 E_h
Best,
Kai

Thanks for reporting the bug. It is fixed in the latest commit


Error when using version_codes_to_retain and rollout: Cannot modify the production track until you complete the rollout

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
I would like to use fastlane to promote my beta to a rollout. I have an old APK that I need to retain. If I run the lane with version_codes_to_retain: 'true', I get the error Google Api Error: validateAppMessageRolloutNotCompleted: Cannot modify the production track until you complete the rollout. - Cannot modify the production track until you complete the rollout. If I remove version_codes_to_retain , the command succeeds.
I also have no difficulty when uploading a new bundle directly to the rollout track. The problem only occurs if I'm trying to promote from an existing track to rollout without uploading a new bundle.
Command executed
    upload_to_play_store(
      track: 'beta',
      track_promote_to: 'rollout',
      validate_only: 'true',
      rollout: 0.01,
      version_codes_to_retain: [1],
      skip_upload_aab: true,
      skip_upload_apk: 'true',
      skip_upload_metadata: 'true',
      skip_upload_images: 'true',
      skip_upload_screenshots: 'true'
      )

Complete output when running fastlane, including the stack trace and command used

[13:51:18]: ------------------------------
[13:51:18]: --- Step: default_platform ---
[13:51:18]: ------------------------------
[13:51:18]: Driving the lane 'android rollout_beta_to_prod' 🚀
[13:51:18]: ----------------------------------
[13:51:18]: --- Step: upload_to_play_store ---
[13:51:18]: ----------------------------------
+-------------------------+------------------------+
|            Summary for supply 2.131.0            |
+-------------------------+------------------------+
| track                   | beta                   |
| track_promote_to        | rollout                |
| validate_only           | true                   |
| rollout                 | 0.01                   |
| version_codes_to_retain | [1]                  |
| skip_upload_aab         | true                   |
| skip_upload_apk         | true                   |
| skip_upload_metadata    | true                   |
| skip_upload_images      | true                   |
| skip_upload_screenshots | true                   |
| package_name            |  |
| json_key                |   |
| check_superseded_tracks | false                  |
| timeout                 | 300                    |
| deactivate_on_promote   | true                   |
+-------------------------+------------------------+
[13:51:20]: Updating track 'beta'...
[13:51:21]: Validating all changes with Google Play...
+------------------+------------------------------+
|                  Lane Context                   |
+------------------+------------------------------+
| DEFAULT_PLATFORM | android                      |
| PLATFORM_NAME    | android                      |
| LANE_NAME        | android rollout_beta_to_prod |
+------------------+------------------------------+
[13:51:22]: Google Api Error: validateAppMessageRolloutNotCompleted: Cannot modify the production track until you complete the rollout. - Cannot modify the production track until you complete the rollout.
+------+----------------------+-------------+
|             fastlane summary              |
+------+----------------------+-------------+
| Step | Action               | Time (in s) |
+------+----------------------+-------------+
| 1    | default_platform     | 0           |
| 💥   | upload_to_play_store | 3           |
+------+----------------------+-------------+
[13:51:22]: fastlane finished with errors
[!] Google Api Error: validateAppMessageRolloutNotCompleted: Cannot modify the production track until you complete the rollout. - Cannot modify the production track until you complete the rollout.

Environment
🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.14.6

Ruby
2.4.6

Bundler?
true

Git
git version 2.20.1 (Apple Git-117)

Installation Source
~/.rvm/gems/ruby-2.4.6/bin/fastlane

Host
Mac OS X 10.14.6 (18G95)

Ruby Lib Dir
~/.rvm/rubies/ruby-2.4.6/lib

OpenSSL Version
OpenSSL 1.1.1c  28 May 2019

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
10.3

System Locale

Error

No Locale with UTF8 found 🚫

fastlane gems

Gem
Version
Update-Status

fastlane
2.131.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.1.0

executable-hooks
1.6.0

bundler-unload
1.0.2

rubygems-bundler
1.4.5

bundler
1.17.3

CFPropertyList
3.0.1

public_suffix
2.0.5

addressable
2.7.0

atomos
0.1.3

babosa
1.0.2

claide
1.0.3

colored
1.2

colored2
3.1.2

colorize
0.8.1

highline
1.7.10

commander-fastlane
4.4.6

declarative
0.0.10

declarative-option
0.1.0

diff-lcs
1.3

digest-crc
0.4.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

dotenv
2.7.5

emoji_regex
1.0.1

excon
0.66.0

multipart-post
2.0.0

faraday
0.15.4

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
0.13.1

fastimage
2.1.7

gh_inspector
1.1.3

jwt
2.1.0

memoist
0.16.0

multi_json
1.13.1

os
1.0.1

signet
0.11.0

googleauth
0.6.7

httpclient
2.8.3

mime-types-data
3.2019.0904

mime-types
3.3

uber
0.1.0

representable
3.0.4

retriable
3.1.2

google-api-client
0.23.9

google-cloud-env
1.2.1

google-cloud-core
1.3.1

google-cloud-storage
1.16.0

json
2.2.0

mini_magick
4.9.5

multi_xml
0.6.0

plist
3.5.0

rubyzip
1.2.4

security
0.1.3

naturally
2.2.0

simctl
1.6.5

slack-notifier
2.3.2

terminal-notifier
2.0.0

unicode-display_width
1.6.0

terminal-table
1.8.0

tty-screen
0.7.0

tty-cursor
0.7.0

tty-spinner
0.9.1

word_wrap
1.0.0

nanaimo
0.2.6

xcodeproj
1.12.0

rouge
2.0.7

xcpretty
0.3.0

xcpretty-travis-formatter
1.0.0

imagesize
0.1.1

mini_portile2
2.4.0

nokogiri
1.10.4

rspec-support
3.8.2

rspec-core
3.8.2

rspec-expectations
3.8.4

rspec-mocks
3.8.1

rspec
3.8.0

sqlite3
1.4.1

generated on: 2019-09-17

This is still an issue with the latest version


Run mDNS server on bootstrap and masters

This new coredns-mdns service will provide the DNS resolution for the
nodes in the cluster. It is managed by a VIP that we set to the second
host address of the external subnet.

This new PR for coredns-mdns is a revisit of PR#92 reworked to drop avahi for mdns-publisher, moving keepalived to use macvlan and having the bootstrap part on kni-installer https://github.com/openshift-metalkube/kni-installer/pull/16

Build FAILURE, see build http://<IP_ADDRESS>:8080/job/dev-tools/243/

Build FAILURE, see build http://<IP_ADDRESS>:8080/job/dev-tools/256/

Build FAILURE, see build http://<IP_ADDRESS>:8080/job/dev-tools/259/

It needs a change in kni-installer that will set DNS_VIP on /etc/resolv.conf using the same /etc/dhcp/dhclient trick as in this PR.

Needs to be tested with https://github.com/openshift-metalkube/dev-scripts/pull/171

Build FAILURE, see build http://<IP_ADDRESS>:8080/job/dev-tools/260/

Build FAILURE, see build http://<IP_ADDRESS>:8080/job/dev-tools/266/

Build FAILURE, see build http://<IP_ADDRESS>:8080/job/dev-tools/287/

Build SUCCESS, see build http://<IP_ADDRESS>:8080/job/dev-tools/288/

Build FAILURE, see build http://<IP_ADDRESS>:8080/job/dev-tools/290/

NAME       STATUS   ROLES    AGE     VERSION
master-0   Ready    master   3m52s   v1.12.4+50c2f2340a
master-1   Ready    master   3m52s   v1.12.4+50c2f2340a
master-2   Ready    master   3m52s   v1.12.4+50c2f2340a
+ echo 'Cluster up, you can interact with it via oc --config ocp/auth/kubeconfig <command>'
Cluster up, you can interact with it via oc --config ocp/auth/kubeconfig <command>
[stack@kuryr-a32c-02 dev-scripts]$```

Ready for testing. It worked for both Ben and myself.

Build FAILURE, see build http://<IP_ADDRESS>:8080/job/dev-tools/291/

Build FAILURE, see build http://<IP_ADDRESS>:8080/job/dev-tools/319/

Build FAILURE, see build http://<IP_ADDRESS>:8080/job/dev-tools/324/

Build FAILURE, see build http://<IP_ADDRESS>:8080/job/dev-tools/329/


fix: Increase streams thread

To increase streams thread move configuration to application.yml config file

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: LockeBirdsey:x: elisamozammelYou have signed the CLA already but the status is still pending? Let us recheck it.


Updates for v2023.0.2

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_e9jygwu0bs/clone/recipe/meta.yaml:39: missing_imports_or_run_test_py: Python packages require imports or a python test file in tests.
ERROR: /tmp/abs_e9jygwu0bs/clone/recipe/meta.yaml:58: missing_license_family: The recipe is missing the about/license_family key.
Errors were found


2018 edition

This PR:

moves the code to the 2018 edition and to cortex-m-rt v0.6.x
simplifies setting up correct permissions (i.e. udev rules) for the st-link and the serial adapter

closes #102
r? @rust-embedded/resources (anyone)

Likewise, what I looked at seemed OK, but there is a lot in this PR.

bors r=therealprof


Created declarations index file

Created a declarations file so that typescript imports doesn't complain

hey @mohammedJ,
there is already a declarations file.
you can see it here

Hi
It doesn't seem to be working for me.
I installed using npm and I'm using Webstorm as my ide. Without the index
file it can't find the module through the ide.
I will try without the index file. It might run but my ide won't find it.
So maybe its just an ide issue.
Thanks
On 05 Mar 2017 11:02 PM, "Ran Cohen"<EMAIL_ADDRESS>wrote:

hey @mohammedJ https://github.com/mohammedJ,
there is already a declarations file.
you can see it here
https://github.com/backand/angular2-sdk/blob/master/src/backand.service.d.ts
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/backand/angular2-sdk/pull/2#issuecomment-284262405,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABQPY_vzzjkDhogZboVlnw21IlmHbS31ks5riyL-gaJpZM4MTfS2
.