Env variables from same folder as schema file not loaded anymore when sharing a schema file with multiple clients

Bug description
We have three applications in different folders using the same database, so we share the schema file between these three by setting the path in the package.json for two of them.
Before updating to Prisma 5, the prisma clients would load the shared .env file in the same folder as the shared schema file but now they don't do that anymore.
But when I try to generate etc something from the CLI it does include it and complains about "duplicate data that's different"
How to reproduce

define path to different folder with schema file in package.json
generate client
copy client to other folders node_modules/.primsa folder so they all have it
start program and it will complain about the DATABASE_URL env missing because it's not loaded from the schema folder.

Expected behavior
Prisma should load the shared .env because now I need to comment/uncomment the entries every time I want to do something
Prisma information

// Add your schema.prisma

// Add your code using Prisma Client

Environment & setup

OS: Windows
Database: MariaDB
Node.js version: 18.16.0

Prisma Version
Environment variables loaded from .env
Environment variables loaded from ..\prisma\.env
prisma                  : 5.0.0
@prisma/client          : 5.0.0
Current platform        : windows
Query Engine (Node-API) : libquery-engine 6b0aef69b7cdfc787f822ecd7cdc76d5f1991584 (at<EMAIL_ADDRESS>Schema Engine           : schema-engine-cli 6b0aef69b7cdfc787f822ecd7cdc76d5f1991584 (at<EMAIL_ADDRESS>Schema Wasm             : @prisma/prisma-schema-wasm 4.17.0-26.6b0aef69b7cdfc787f822ecd7cdc76d5f1991584
Default Engines Hash    : 6b0aef69b7cdfc787f822ecd7cdc76d5f1991584
Studio                  : 0.487.0

The CLI is showing:
Environment variables loaded from .env
Environment variables loaded from ..\prisma\.env

So it looks like it loads env vars from 2 different paths.

For me this step is unexpected: "copy client to other folders node_modules/.prisma folder so they all have it", what are you doing here and why?

@woondossier We would need help to reproduce this.

What's the version that was working before?
Did you try using 4.16.2 (last version before v5)?
Add an example for the Prisma Schema
Provide the commands you are running in "how to reproduce"
Try using DEBUG=prisma* when running your script to see which .env files are used by Prisma Client
Provide logs for the version before and after so we can compare.
Which package manager are you using?

Did you see Joel's message @woondossier? We need your help here. Thanks.

Hey @woondossier, without your input we cannot move this issue forward, so I am closing it. Please provide us with the missing information so we understand how to treat this, and we will happily re-open it.


109s vs. 13s when parsing a large column in IDE versus CLI

In the demo with Werner, we had a significant performance issue. Having tuned it up the CLI is now much closer to expected speed. However, when running within the IDE it is much slower.
The process was just parsing a date. I have reproduced with a test workflow parsing 500k date strings.
The GUI takes 109s to execute versus 13s for CLI.
Test workflow:
Parse_Performance.zip

Profiling language-server.npss.zip showed that most of the time spent in parseColumn method, and more specifically in fillInStackTrace methods of exceptions.

Profiling in text mode language-server.npss.zip showed that parseColumn method is twice as fast because the stack traces are not filled in.

Thanks to @Akirathan for the help. He noticed that in both cases the stack traces are filled, but it takes less time in the text mode. I assume it can be because of the deeper stack in the interactive mode.
The fix would be to rewrite the DateTimeParser without using the parseBest method that causes the issue.
https://github.com/enso-org/enso/blob/0bdf44cba8aec366154a296e30e1730a0ef45a04/std-bits/table/src/main/java/org/enso/table/parsing/DateTimeParser.java#L20-L26

We will need to bear in mind that any Java method which uses exceptions as control flow should be avoid in any function which might be mapped over.

That is definitely a good idea. In this case, it is even more hidden, since parseBest method uses the exceptions internally.

Line 1999 is very hot, thus, a lot of exceptions are created internally.

Of course it is good to avoid exceptions for control flow and we should definitely do that.
We will still be getting exceptions from time to time, and cannot easily control how some internals of libraries are implemented.
Can we do something about this fillInStacktrace being so slow? Ofc, it is kind of inherently slow. But I understand that in the GUI it is significantly slower than in CLI, so in CLI it is not that bad. Do you think there is anything that we could do to decrease this slowdown, to get the GUI performance to match CLI?
One idea I had, can we set MaxJavaStackTraceDepth in our release mode to some not-too-big value, to limit the stack trace size? Of course in debug mode we want full stack traces, but for production maybe keeping just last ~40-100 frames could be enough and maybe it could improve our performance in places that are still throwing?
I could not find any good docs for MaxJavaStackTraceDepth, but it seems that it is an option that is supported - there were even some bugfixes related to it.

Looking at the OpenJDK sources, it seems that setting MaxJavaStackTraceDepth does limit the size of stack traces attached to exceptions (it is not merely a display setting).
Not sure if GraalVM does the same, would need to double check.

Can we do something about this fillInStacktrace being so slow?

Not really. It is a native JVM function, by limiting the size of the stack you don't solve the problem entirely - the JVM still needs to do some safe point bookkeeping in order to switch to a native function. Avoiding exceptions as much as possible is the best, and easiest fix.

That's why I'm not proposing this as the only fix - I agree that first and foremost we should avoid exceptions in control flow. We will still take a perf. hit in scenarios when an exception is thrown - and so I'm wondering if MaxJavaStackTraceDepth could help us alleviate that performance hit at least a bit.


[1.9] Crash

When starting world, minecraft crashed.
Log: https://paste.ee/p/O1SoZ

could you send me the fml-client-latest.log and latest.log after the crash happened

Here it is: http://pastebin.com/0UNvGXdj
Also, I just updated the mod to the latest 2.4.19 version with the latest forge version and I couldn't replicate the issue.
Thanks anyway.


Bitrise CI builds broken unexpectedly

React-Native version 0.51
Platform: iOS
Device: Archive build for any device
OS version: on macOS 10.12 (Sierra)
react-native-permissions 1.1.1
Devtools:  Xcode 8.3.x

How to repeat issue and example
When I build locally either for Release and Debug it works. Lately, PRs seem to be broken with compilation errors that read the following:
First error:
/Users/vagrant/git/node_modules/react-native-permissions/ios/Permissions/RNPMotion.m:17:20: unrecognized platform name iOS
if (@available(iOS 11.0, *)) {

Second error:
  /Users/vagrant/git/node_modules/react-native-permissions/ios/Permissions/RNPMotion.m:18:9: use of undeclared identifier 'CMAuthorizationStatus'
CMAuthorizationStatus status = [CMMotionActivityManager authorizationStatus];
                   ^

Third:
/Users/vagrant/git/node_modules/react-native-permissions/ios/Permissions/RNPMotion.m:20:17: use of undeclared identifier 'status'
switch (status) {

I'd like to know if it has happened to others and would like to know if you can propose some fix

This happens for me too, but I can't build the app anymore from xCode..

Hi @markowork I can build locally, but my Xcode is v9.2 and my OS is High Sierra. What is your environment? I am trying to change my CI environment to see if that's the cause.

@jsdario
xcode - 8.3.2
OS - 10.12.5

Upgrading to High Sierra with Xcode 9.2 was the solution for my CI case. I'm closing the issue.


Retry Sends?

We now and again get a send issue from the app like this:
System.Net.Mail.SmtpException: Error in processing. The server response was: 4.3.111 Temporary server error. Please try again later MRH1 [Hostname=GVXP192MB1782.EURP192.PROD.OUTLOOK.COM]
at System.Net.Mail.DataStopCommand.CheckResponse(SmtpStatusCode statusCode, String serverResponse)
at System.Net.Mail.DataStopCommand.Send(SmtpConnection conn)
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at Seq.App.EmailPlus.EmailApp.On(Event`1 evt) in C:\projects\seq-apps\src\Seq.App.EmailPlus\EmailApp.cs:line 145
at SeqCli.Apps.Hosting.AppContainer.SendTypedEventAsync(String clef) in C:\projects\seqcli\src\SeqCli\Apps\Hosting\AppContainer.cs:line 132
Would it be possible to have it retry on a backoff? (for example using Polly)

Hi @cjindustries,
That is an interesting idea and I think it is possible. In your particular circumstance are you able to gather from O365 why the server rejects the mail? Many of the possible reasons seem like things that won't be helped by a retry (mailbox full etc).

In case it helps in the meantime: https://serverfault.com/questions/1102376/error-sending-email-with-office-365 has some configuration suggestions on the O365 end.


Add Front Image (Cover) and Director from Stash Movies

Added logic to pull Cover Images from Movies from Stash (if the scene is linked to one) and set the Director from the Movie, if set.
I am no C# Developer, so the code might look not beautiful to you, but I did my best to make it work.

Hmm, now I got what you meant, it's probably not what most people wanted

if movie connected then it would always have url even if it's empty and return this image

multiple movies can be connected to scene, which choose?

Thanks for your feedback. I guess it depends how people prefer to organize their collection. Since I have many "Movies" (not just Scenes) I am very happy that I have the chance to organize my Artwort with stash in that form. But I understand that this might be an niche case.
I missed the first case that you came across, as every movie in my collection has an Front Image. I thought it is empty if it's not set, damn, need to look into this, to make sure that I Fallback to the Scene Screenshot in that case.
For the second one: I'd always return the first movie, as I see no plausible way to do anything else.


Consistent Handling of Type Casting Hierarchy

As brought up in #3643, there appears to be some inconsistencies in how xarray handles other numeric/duck array types with regards to a well-defined type casting hierarchy across operations. For example, in the following:
Construction/Wrapping

Allows

xarray.core.indexing.ExplicitlyIndexed
pandas.Index
Dask array
__array_function__ implementers

Automatically converts

Anything with a values attribute to its values
Datetime-like array types
Masked arrays
Anything else for which np.asarray(data) is valid

Doesn't reject any type when trying to wrap (for an upcast type such as a HoloViews Dataset, this may be needed?)

Binary Ops

Defers based on xarray's internal hierarchy (Dataset, DataArray, Variable), otherwise relies upon methods of underlying data, and then wraps result.

(would be one less category to worry about if refactored to use __array_ufunc__, see https://github.com/pydata/xarray/pull/3936#issuecomment-610516784)
__array_ufunc__

Allows a list of supported types
https://github.com/pydata/xarray/blob/9b5140e0711247c373987b56726282140b406d7f/xarray/core/arithmetic.py#L24-L30
along with SupportsArithmetic
Defers to all other types

__array_function__

To be implemented (https://github.com/pydata/xarray/issues/3917)

One concrete example of where this has been problematic is with xarray DataArrays and Pint Quantities (#3643). xarray DataArray is above Pint Quantity in the (generally agreed upon) type casting hierarchy, and wrapping and binary ops work properly since Pint Quantities defer and xarray DataArrays handle the operation. However, ufuncs fail because they both attempt to defer to the other. Having a consistent way of handling type compatibility across all relevant areas in xarray should be able to remove these kinds of issues.
However, it would be good to keep in mind that an agreed upon way of how to do this in the broader ecosystem doesn't seem to be there yet, so this would still be treading in uncertain waters for the moment. I've been operating under these assumptions when working with Pint, but I definitely think there is a need for more authoritative guidance.
Also, if I'm mistaken in any of the things mentioned above, please do let me know!
cc @keewis, @shoyer

Is this still current?

Is this still current?

I think both yes and no? Since the big series of discussions back in 2021, I don't think much work ended up happening on cross-ecosystem compatibility with nested arrays specifically, so I would assume many of these issues (particularly with using numpy ufuncs and array functions) still remain. However, a lot of progress on the Array API has happened, so those issues may no longer be a priority, given that the current expectation seems to instead be just using the Array API of the top-level library, rather than having the NumPy APIs handle it all. So, as long as xarray (and more generally, each higher-level library) handles construction/wrapping consistently with Array API behaviors, all should be well?
So, for this issue in particular, my hunch would be to keep it around for now and then revisit once https://github.com/pydata/xarray/issues/7848 (and perhaps also other libraries' efforts like https://github.com/hgrecco/pint/issues/1592) are resolved. But, my focus has been diverted away from these efforts for the past several years, so I'd gladly defer to folks who have kept up expertise in this area.


yes it helped even for 3.9

from binance.client import Client

ModuleNotFoundError: No module named 'binance.client'; 'binance' is not a package
I've just done: pip install python-binance.
please help!

I just changed the value "include-system-site-packages" in the file pyvenv.cfg of my project from "false" to "true", and everything worked.
Originally posted by @MykolaIF in https://github.com/sammchardy/python-binance/issues/477#issuecomment-852471419

yes it helped even for 3.9


Paths everywhere

Internally, stop using java.io.File and use NIO2 Paths instead. From outside, this should not make a lot of difference (and is enforced by japicmp as documented here).
But, as a consequence: if Resolver used on FileSystem like Google JIMFS, whatever code touches File method (that will do Path.toFile() under the hood), it will explode. Hence, we need to make sure this call never happens internally, and leave it to consumer projects. Resolver alone should never invoke it.
Most notable changes:

change internals to use NIO2 Paths.
in resolver now everything is "resolved" from local repository basePath, hence, if you put your local repository onto non-default FileSystem, it will work just fine (as proved by Demo Snippets). Naturally, if anything touches File returning method, in case of non-default FileSystem, it explodes (Google JIMFs Path.toFile() simply throws).
change transport-file to support any (and not only default) FileSystem, covered by tests. This makes possible to use any FileSystem hosted repositories as "remote file repositories". Covered by UTs that now runs as parameterized two times: using default and using JIMFS FileSystem (as it is simple to set up, very handy for testing).
change file locking to support any (and not only default) FileSystem. Before this change the implicit requirement that "lock name is fully qualified absolute file system path", but now it changes to "lock name is proper string representation of an URI". The key change is in BasedirNameMapper, where one can now use custom Path (for example created with JIMFS) and use that to name locks (use file: for default FS or any other URIs, ie jimfs: ones).

If you build this locally, and then related Maven PR (~w/ japicmp disabled if not fixed~), and then uncomment Google FS in demo Booter class, you will end up with Resolver DEMOs running on in-memory FS.

https://issues.apache.org/jira/browse/MRESOLVER-496

@gnodet @michael-o @slawekjaranowski both PRs (this and Maven https://github.com/apache/maven/pull/1413) are green, please eyeballs

In future, when you request someone to review such a huge PR give people enough time to do it otherwise it does not make sense.

Sure, and sorry for that. I assumed a week is enough.
OTOH, the longer the PR is held back, the new PRs are accumulating and as may saw. requires quite effort to sort out conflicts... So there are two sides of the coin.


Update windows feature notes

FYI. Windows won't work in 2.2.3 and it is not hidden in 2.2.3 release.


Support no header prefix

Support AWS API gateway header convention for a drop-in replacement.

Do not check for falsey prefix value at initialization to allow empty prefix by way of explicitly setting the prefix to a falsely value.
The logic was already there to handle an empty prefix, this just removes the check at initialization.

Also some cleanup of the existing lock file:

Used an EOL version of Python
Tests did not pass due to Flask version too old to support the Jinja2 version: https://stackoverflow.com/questions/71718167/importerror-cannot-import-name-escape-from-jinja2

Also added documentation for how to run things by way of a Makefile.

any reason it was closed?

I actually thought I got it closed before anyone noticed it was up :smile_cat:  It turns out I was mistaken and I don't need to remove the prefix. The code is functional if you want me to re-open.


All sources can be parsed in a Sub-Command

In this PR allows to parse all sources when a Sub-Command is called

Using Metadata "parseAllSources" -> "true" in the Sub-Command
It requires the same Config type on the Sub-Command and the Root-Command)

It fixes #20

Wait for https://github.com/containous/flaeg/pull/29

Coverage increased (+0.6%) to 82.484% when pulling 3d64a9e927d29432658021479f998ed224eb84ed on sudcommand-parse-all-sources into 6e7ace18a00b67bde55f0c89eb445b67bba53a38 on master.

LGTM

Coverage increased (+0.6%) to 82.484% when pulling 4c3d4136997076a6660154c1f1d0199b2784f434 on sudcommand-parse-all-sources into 6e7ace18a00b67bde55f0c89eb445b67bba53a38 on master.


Main branch has broken layout CSS

The main branch has broken layout CSS, I suspect due to a regression in #619 . The secondary sidebar is no-longer properly positioned on the right, it is now below the main content:

I had another suspect in #638

Ah I missed that issue, good catch! I think we can close this one


TabNine cannot download a local model, and documentation about the issue does not describe the current version of TabNine

please complete the following information:

OS version: Arch Linux
Editor: intelij
Editor version: 2020.3
Programming language: rust
TabNine extension version: 4.4-2020.3-517

If the issue is related to TabNine failure, please provide log files:

Type TabNine::config in your editor, the logs are located at the bottom of the page.

There are no logs at the bottom of the page. It ends with "Installation Info".
Issue Details:
Tabnine tries to download the model, is unable to, then tries again, switching between Retrieving model metadata... and
There seems to be an issue downloading the deep model.
please refer to the
Faq section
in our site, or contact support at:
<EMAIL_ADDRESS>The download failed: Permission denied (os error 13)

The FAQ link provided says: "In Tabnine's configuration server, under "Deep Tabnine Local" section, click on "Download the deep model file from here" link.", but there is no "Deep Tabnine Local" section, nor there is any "Download the deep model file from here" links.
What should I do to stop this downloading madness? =-)

Hey @StragaSevera
Seems like Tabnine process is lacking the permissions it need to write to the folder in which it writes that model into.
You need to run your IDE (intellij) with higher privileges so Tabnine could write the downloaded model to the filesystem.

Hey @StragaSevera
Seems like Tabnine process is lacking the permissions it need to write to the folder in which it writes that model into.
You need to run your IDE (intellij) with higher privileges so Tabnine could write the downloaded model to the filesystem.

When I try to run IntelliJ as root, I cannot open Tabnine settings: when I push the button in GUI, it says "Could not open default web-browser. IO error.", and when I type TabNine::config, nothing happens.
I would be very glad to have an option to just download files manually, figure out the permissions needed for the folder, put them in the folder and run tabnine. The FAQ said I can do that - did you remove this feature?

When I try to run IntelliJ as root, I cannot open Tabnine settings: when I push the button in GUI, it says "Could not open default web-browser. IO error.", and when I type TabNine::config, nothing happens.
I would be very glad to have an option to just download files manually, figure out the permissions needed for the folder, put them in the folder and run tabnine. The FAQ said I can do that - did you remove this feature?

TabNine::config works for me.

TabNine::config works for me.

When I try to run IntelliJ as root, I cannot open Tabnine settings: when I push the button in GUI, it says "Could not open default web-browser. IO error.", and when I type TabNine::config, nothing happens.
I would be very glad to have an option to just download files manually, figure out the permissions needed for the folder, put them in the folder and run tabnine. The FAQ said I can do that - did you remove this feature?

You can download the model manually, and it should present you with manual download instructions similar to those:

Can you post a picture of what you see in the Hub (as for my understanding you are not seeing the manual download instructions)? @StragaSevera

When I try to run IntelliJ as root, I cannot open Tabnine settings: when I push the button in GUI, it says "Could not open default web-browser. IO error.", and when I type TabNine::config, nothing happens.
I would be very glad to have an option to just download files manually, figure out the permissions needed for the folder, put them in the folder and run tabnine. The FAQ said I can do that - did you remove this feature?

You can download the model manually, and it should present you with manual download instructions similar to those:

Can you post a picture of what you see in the Hub (as for my understanding you are not seeing the manual download instructions)? @StragaSevera

Well, I enabled the beta-release of Tabnine, and now it shows the instructions - but the download link ( https://update.tabnine.com/models/null ) does not work and gives 403 error.
Screenshot:

Well, I enabled the beta-release of Tabnine, and now it shows the instructions - but the download link ( https://update.tabnine.com/models/null ) does not work and gives 403 error.
Screenshot:

This seems like a bug on our end. I will fix it.
In the meantime, there are instructions in: https://www.tabnine.com/faq/#manual_model_download
But I think that the best thing you can do, is give the models folder (described in the manual download instructions) permissions so that Tabnine process could write to it.
Let me know how it went.

This seems like a bug on our end. I will fix it.
In the meantime, there are instructions in: https://www.tabnine.com/faq/#manual_model_download
But I think that the best thing you can do, is give the models folder (described in the manual download instructions) permissions so that Tabnine process could write to it.
Let me know how it went.

Fixed the problem with the models folder - it was on my end. Models auto-downloaded and all is OK now =-)

Fixed the problem with the models folder - it was on my end. Models auto-downloaded and all is OK now =-)

For me the status stays on "Download pending...", how can I fix this?

This appears to have regressed. There's no download link or reason but "Initializing..." was stuck for more than 5 hours in this state.

It appears Tabnine gets out of sync somehow and refuses to finish the download.
If this happens to anyone else try and delete the ~/.config/TabNine and do a hard update in the editor  CocCommand tabnine.updateTabNine which resolved it for me.

For future people that end up here.  I had the same issue and had to delete ~/Library/Preferences/Tabnine/* and log back in to fix it.


🐛 [PLUGIN_NAME_HERE] Your issue title here

Bug report
Describe the bug
A clear and concise description of what the bug is.
Steps to reproduce
Steps to reproduce the behavior:

Go to '...'
'...'
See error or incorrect behavior

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
PASTE OUTPUT INSIDE HERE

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
PASTE OUTPUT INSIDE HERE

Hi @ksadeaf
Please fill out the new issue form when creating an issue.
Thank you


oldrescale.d_fat seems to be missing in build

I just tried to create [else/slider2d] with the latest build (rc8) from Deken and get the error that [else/oldrescale] couldn't be created.
When I check in the else folder, I can see that there are 3 binaries:
oldrescale.d_amd64
oldrescale.l_amd64
oldrescale.m_amd64

... but an oldrescale.d_fat doesn't seem to exist which is obviously the reason why it won't work on this M2 here.

just adding to this: when I build it myself here via make pdincludepate=..., I get a working oldrescale.pd_darwin.

damn

I'm deleting this object anyway, I made changes to recale and there was a bug I just fixed, I can use it now

this binary I mean, it is not an official object


Replace freq '1M' with '1Ms'

[x] I am familiar with the contributing guidelines
[x] Tests added
~[ ] Adds description and name entries in the appropriate "what's new" file in docs/sphinx/source/whatsnew for all changes. Includes link to the GitHub Issue with :issue:`num` or this Pull Request with :pull:`num`. Includes contributor name and/or GitHub username (link with :ghuser:`user`).~
[x] New code is fully documented. Includes numpydoc compliant docstrings, examples, and comments where necessary.
[ ] Pull request is nearly complete and ready for detailed review.
[x] Maintainer: Appropriate GitHub Labels (including remote-data) and Milestone are assigned to the Pull Request and linked Issue.

The freq='1M' is used in a couple of places in the pvlib iotools functions, which results in the following future warning:

FutureWarning: 'M' is deprecated and will be removed in a future version, please use 'ME' instead.
months = pd.date_range(

The frequency 'M' is being phased out in favor of 'ME' and 'MS' which correspond to month end and month start. 'M' is equivalent to 'ME'. However, 'MS' is the only one supported in our minimum Pandas version, whereas 'ME' was first introduced in a later version. For the iotools functions, I think 'MS' is conceptually more correct.
Minimum changes to the lookup linked turbidity functions were made to make tests pass. I preferred making these modifications over calculating new test values.

'MS' is supported in our minimum Pandas version, whereas 'ME' was first introduced in a later version. For the iotools functions, I think 'MS' is conceptually more correct.
Minimum changes to the lookup linked turbidity functions were made to make tests pass. I preferred making these modifications over calculating new test values.

I ended up removing the label parameter in the cams iotools function. Note, no other iotools function supports this and it turned out to be a maintenance burden that I don't want to support in the future. This means that this PR should be made in a .0 release.


String attribute in Listing 1

Hi,
Listing 1, Line 5 in the case description mentions an attribute called "Consumer.ControlAreaID:String", but there doesn't seem to be a class "Consumer" or an attribute "ControlAreaID" in the target meta-model. I did a full-text search on the complete repository for both, but did not find any matches. Is there a mistake?

Yes, that is a mistake. It should have been EnergyConsumer.ControlAreaID instead of Consumer.ControlAreaID. Unfortunately, the ModelJoin tooling does not throw an exception.
I will upload a new version that includes the missing attribute soon.

Thanks! But are you sure about the correct attribute name being "ControlAreaID"? There doesn't seem to be such an attribute in the EnergyConsumer class.

ModelJoin works by generating both the transformation from the input models to the target model but also the target metamodel based on the view specification. Therefore, a flaw in the ModelJoin specification also may lead (and in fact that happened) to a flaw / missing attribute in the target metamodel.

I see, makes sense. Thanks for clarifying.

Closed with commit 6ac12511e61a068bac5497a7c56037bd47833f0d


Does anyone make money with this bot?

Just curious to see if anyone makes money with this bot because the example contract that was actually deployed seems to only have failed transactions (not profitable).
Thank you

Not yet. It's not complete, and it's very complicated. I doubt it will just magically make money for anyone once turned on. There are also more considerations like what chain you are running it on, market conditions, pairs traded, volatility, current gas rates... arbitrage in general is a highly competitive activity and there are more factors involved than just downloading a bot and making money, unfortunately.

Thank you!


Making Player Responsive

Responsive, players scale to the width of their container element, maintaining the video aspect ratio.

@wicherdt Please check the commit ea33aa1c52fc3b82eaba97e31ef3ac81da5ac668. This will enable the player to properly scale with the container element if any of its dimensions are set to a percentage value.

I checked this example:
http://pastebin.com/WLNXsPzu
And horizontal working semms OK.
But vertical!
if I add parameter:
height: "100%",
Player dont show on page.
In Firefox firebug I see  #player  height is 0.
How to use percentage width and height with bootstrap responsive grid?
I am sure I used clappr with commit ea33aa1

@wicherdt Check this fiddle showing how to make a fluid resize of the player: http://jsfiddle.net/oujfL91o/.
When using percentage values, the parent element must have its height defined. In your example,  #player will have an automatic height, which by default is the computed size of its children tree. If you add the parameter height: '100%', you are telling the player to use the height of its parent, which in turn would be computed to zero, since no child element has an actual size. They are all computed using percentages.
With a responsive grid, the width parameter is not an issue, because the grid defines the width of the elements according to resolution. You used an external div with the class embed-responsive-16by9, which already sets the height of the element to keep the 16:9 ratio. Since the player does not change any properties of its parent, I recommend changing the following code:

to

.
I believe this will solve your problem.
Please note that percentage values are only supported on Clappr 0.0.114 or later.

Thank you for your help.
Example below work for me OK.
But I used function resize not resizable.
Bootstrap 3.3.4 Clappr 0.0.114 jQuery 1.11.2 responsive example:

@wicherdt Anytime. The resizable function was only to demonstrate the fluid resizing of the player, adding a resize handle so it will adjust to any size you want.
Since the player is working on your responsive grid, I'm closing this issue. Please reopen if there are any other problems related to it.

I'm not using bootstrap and jquery doesn't have a resizable method.
Is there anyway to get a responsive player?

@chovy there is a resize method.

@leandromoreira I assume i would need to call player.resize() from window resize event....is there anyway to keep the aspect ratio though? I want to take up all of the viewport but keep the aspect ratio 16x9

@chovy you can do something like
  function resizePlayer(){
    var aspectRatio = 9/16,
    newWidth = document.getElementById('yourplayer').parentElement.offsetWidth,
    newHeight = 2 * Math.round(newWidth * aspectRatio/2);
    player.resize({width: newWidth, height: newHeight});
  }

  resizePlayer();
  window.onresize = resizePlayer;

Uncaught TypeError: player.resize is not a function
getting an error that player.resize doesn't exist.

nm, i had called player before it was defined.

<!DOCTYPE html>

  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <meta name="viewport" content="width=device-width,initial-scale=1">

  <title>Clappr Player</title>

For what it's worth, here's a CSS-only solution to making the player responsive:
/* Fix the player container to take up 100% width and to calculate its height based on its children. */
[data-player] {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0;
}

/* Fix the video container to take up 100% width and to calculate its height based on its children. */
[data-player] .container[data-container] {
    width: 100%;
    height: auto;
    position: relative;
}

/* Fix the media-control element to take up the entire size of the player. */
[data-player] .media-control[data-media-control] {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* Fix the video element to take up 100% width and to calculate its height based on its natural aspect ratio. */
[data-player] video {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
}

It'll take up 100% width and use its natural aspect ratio (instead of forcing the aspect ratio through styles). When you create the player, just use:
width: '100%',
height: 'auto'

@chovy I want to add a really small "patch" to @me-vlad solution (anyway thanks for this snippet @me-vlad!). It's better to not use window.onresize directly (in case you want to have multpile players on one page):
So instead of:
window.onresize = resizePlayer;

it's better to do this (as suggested here):
var addEventListener = (function() {
  if(document.addEventListener) {
    return function(element, event, handler) {
      element.addEventListener(event, handler, false);
    };
  } else {
    return function(element, event, handler) {
        element.attachEvent('on' + event, handler);
    };
  }
}());

addEventListener(window, 'resize', resizePlayer);

Thanks. It would be nice if we could just have an option like player({ responsive: true })
On Fri, Sep 16, 2016 at 4:22 AM, paluh<EMAIL_ADDRESS>wrote:

@chovy https://github.com/chovy I want to add a really small "patch" to
@me-vlad https://github.com/me-vlad solution (anyway thanks for this
snippet @me-vlad https://github.com/me-vlad!). It's better to not use
window.onresize directly (in case you want to have multpile players on
one page):
So instead of:
window.onresize = resizePlayer;
it's better to do this (as suggested here
http://stackoverflow.com/questions/13651274/how-can-i-attach-a-window-resize-event-listener-in-javascript]
):
var addEventListener = (function() {
if(document.addEventListener) {
return function(element, event, handler) {
element.addEventListener(event, handler, false);
};
} else {
return function(element, event, handler) {
element.attachEvent('on' + event, handler);
};
}
}());
addEventListener(window, 'resize', resizePlayer);
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/clappr/clappr/issues/402#issuecomment-247577313, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AABq9RaU3AF6trAxJ6fAJTSZNuTzITCjks5qqnwGgaJpZM4DzrwL
.

--
Anthony

@paluh how does using addEventListener vs. window.onresize change anything to do with not firing on window resize?

Thanks. It would be nice if we could just have an option like player({ responsive: true })

I think it is already responsive, check this, you need to put it on a responsive container though.

@chovy With window.onresize (I've tested this on chromium) you are assigning single event handler and overwriting others, so if you have multiple players initializations done with multiple window.onresize assignments only last will be called (here is appropriate answer from other related question on stackoverflow).

<!DOCTYPE html>

  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <meta name="viewport" content="width=device-width,initial-scale=1">

  <title>Clappr Player</title>

this works with 16/9 for the player?

@Allan-Nava as described by previous comments, when you set width and height Clappr options to '100%', then it resize automatically to the "player container" element.
Therefore, if you set these options to '100%' you are free to apply any css rules (or js) to the "player container" element.
For example, using Bootstrap CSS utilities :

    <title>Clappr Bootstap 16/9</title>
    <link rel="stylesheet"<EMAIL_ADDRESS>

also consider a simple way to proportional wrap without bootstrap or js:

P.S. Inline style is not considered a best practice. I use it for brevity :)

Okay it works with the bootstrap class! Thanks


Update TOC.yml

#sign-off

@savjani: I'm sorry - only the author of this article, @, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


implement functionality for 'rasa init' to interpret symbolic characters in project path creation such as '~'

Proposed changes:
NOTE this pull request will replace PR #7706 to circumvent CLA conflicts. Once this PR is accepted, I will close PR #7706

implement os.path.expanduser on project creation path for correct functioning of '~' within path
ensure other shortcut characters like '.' also function properly

Thanks to @hobson for discovering this issue and helping with the resolution along the way!
Status (please check what you already did):

[x] added some tests for the functionality
[ ] updated the documentation
[x] updated the changelog (please check changelog for instructions)
[x] reformat files using black (please check Readme for instructions)

Thanks for submitting a pull request 🚀 @kalkbrennerei will take a look at it as soon as possible ✨

Thanks for submitting a pull request 🚀 @kalkbrennerei will take a look at it as soon as possible ✨

Thanks for the review. It looks like the test I had in test_rasa_init.py was not testing the correct functionality. I'm currently flushing out that test.

Looking good @billy-horn , as @kalkbrennerei won't be able to reply soon, I can reply for them: no need to update the docs in this case and you already added have a changelog item ✅ would you be able to fix the conflict in the poetry.lock file to get this PR merged? (also it sounds like the diff on this file is involuntary?). Thanks again for your contribution!

@m-vdb  I'm not sure why there was a conflict with poetry.lock, but I've resolved it. Please let me know if there is anything else I can do for this PR. Thanks!

@m-vdb It's been a while, but is there any way to get this reviewed/approved?

Hi @billy-horn! It seems like the only thing left to do is to resolve the conflict in poetry.lock. Is this something you want to do? Otherwise I can also jump in for help!

@kalkbrennerei Would you mind jumping in and fix the poetry.ock so we can get this in?

Hey @wochinge! I didn't have time to do this before my vacation. Can you help out?

 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.2 out of 3 committers have signed the CLA.:white_check_mark: billy-horn:white_check_mark: kalkbrennerei:x: Lydia KalkbrennerLydia Kalkbrenner seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@kalkbrennerei do you want to pick this one up again?


BUG-102745 package restructure in api model, core model and converters…

Package restructure in api model, core model and converters to reflect how the domain hierarchy looks like.
This pull request does not have any functional change, just improves code readability by showing domain hierarchy structure in package structure.

@attilapalfi92 can you please rebase it ?

of course, I'll rebase it asap, just have to fix some import errors first.


Bug Exceeds max stack side

Tinkers construct exposes the internal slots of the cobblegen even with
https://github.com/turbodiesel4598/NuclearCraft/blob/master/src/main/java/nc/container/SlotInaccessible.java
Allowing for things like this https://gyazo.com/13dff994370e6d91a6ebf9cebf2456ba
EDIT:Seems like Cobblestone Generator does not call Slot Inaccessable?

Hmm... I can't do anything with container slots as, well, the cobble gen doesn't have one (it doesn't have a GUI). I don't think there's too much I can do about this without adding extra slots, but that would needlessly increase the tick time eaten up by the machine (having to put items into multiple slots and then distribute the cobble from those slots to adjacent inventories).


Better handling for adding/removing panels

If the number of panels changes, it would be nice to either resize all the redistribute the panels accordingly, or re-read the initialSizes property.

Good point. Would you like to send a PR to add this, perhaps update the demo to show this?


Why does navigation order matter?

Very nice and usefull PlugIn!!
Independence of the order of links in the navigation would be great.
E.g. at the moment when I change the position of link 3 and 4 in navigation and scroll down to section 4 the PlugIn still adds the currentClass to link 3 instead of link 4.
thank you!

Is this possible in 2016?


The name of the catalog is None

I made a python package of a database of msgpack files. Below is the repo of the package.
https://github.com/st3107/dbexample
I installed the package and I can access the databroker catalog. However, I found that the name of the calalog is None. Below is how I access the catalog.
In [1]: from databroker import catalog

In [2]: db = catalog['example']

In [3]: print(type(db.name))
<class 'NoneType'>

I would like to db to have the same name as the name of module in setup.py. I wonder how I can do that.
Also, I wonder if the python package distribtued database has name of None is a designed feature or if it is something wrong in my configuration.
Thank you.

Thanks for the report @st3107. This looks like a bug in databroker or intake. Your setup.py looks correct to me, and you are right to expect db.name to match the name in setup.py. The bug would be somewhere in here, I think.
https://github.com/bluesky/databroker/blob/f6806ecfd78c9bb3b248bf90e3696f2cd7459fa7/databroker/discovery.py#L9-L64
Nothing jumps out at me immediately. I can investigate after the holidays, unless someone gets to it first.

I'm getting the same behavior and have identified it when a Broker-style yaml file is opened with databroker.catalog.  Here is my example:

It is observed that when Broker-style yaml files are opened with db = databroker.catalog["db_name"] (for example), the configuration name reported by db.name is None instead of db_name.  This should be addressed in upstream databroker package.
In [222]: mdb.name

In [223]: mdb2 = databroker.Broker.named("mongodb_config")

In [224]: mdb2.name
Out[224]: 'mongodb_config'

In [225]: mdb = databroker.catalog["mongodb_config"]

In [226]: mdb.name

I'm getting the same behavior and have identified it when a Broker-style yaml file is opened with databroker.catalog.  Here is my example:

It is observed that when Broker-style yaml files are opened with db = databroker.catalog["db_name"] (for example), the configuration name reported by db.name is None instead of db_name.  This should be addressed in upstream databroker package.
In [222]: mdb.name

In [223]: mdb2 = databroker.Broker.named("mongodb_config")

In [224]: mdb2.name
Out[224]: 'mongodb_config'

In [225]: mdb = databroker.catalog["mongodb_config"]

In [226]: mdb.name

Also:
In [227]: mdb.v1.name

In [228]: mdb2.v1.name
Out[228]: 'mongodb_config'

In [229]: mdb2.v2.name
Out[229]: 'mongodb_config'

In [230]: mdb.v2.name

Also:
In [227]: mdb.v1.name

In [228]: mdb2.v1.name
Out[228]: 'mongodb_config'

In [229]: mdb2.v2.name
Out[229]: 'mongodb_config'

In [230]: mdb.v2.name

BTW, my mongodb_config.yml file here is:
description: 'heavyweight shared database'
metadatastore:
    module: 'databroker.headersource.mongo'
    class: 'MDS'
    config:
        host: 'localhost'
        port: 27017
        database: 'metadatastore-production-v1'
        timezone: 'US/Central'
assets:
    module: 'databroker.assets.mongo'
    class: 'Registry'
    config:
        host: 'localhost'
        port: 27017
        database: 'filestore-production-v1'

BTW, my mongodb_config.yml file here is:
description: 'heavyweight shared database'
metadatastore:
    module: 'databroker.headersource.mongo'
    class: 'MDS'
    config:
        host: 'localhost'
        port: 27017
        database: 'metadatastore-production-v1'
        timezone: 'US/Central'
assets:
    module: 'databroker.assets.mongo'
    class: 'Registry'
    config:
        host: 'localhost'
        port: 27017
        database: 'filestore-production-v1'


Opam 2.2.1 does deep git clone again

Thus we should be able to use the newer opam version again.
I plan on testing this, but we have a window of roughly 12-17 CEST where builds are being built on both our builder machines. So I would have to do it in the evening or in the morning, and I'm not sure when I'll find time for that (likely Monday if I don't forget in the morning).

looks fine to me :)


Certification Problem

Hello,
I´ve build a Skycam using this Software and a Raspberry PI4, uploading on my Website skycam-mannheim.de .
The Skycam worked for months perfectly until my Webhoster changed the Certificates now. Since then the Allsky Software is no longer able to upload anything to my Webspace.
The logs are showing "Certificate verification: Not trusted".
I´ve tried the following without any success:
ssh-keygen -R hostname
ssh user@hostname
and
ssh -o StrictHostKeyChecking=accept-new
and I even deactivated StrictHostKeyChecking in ssh-config.
Nothing helps, the "Certificate verification: Not trusted"-Error remains.
Does anybody have an Idea how to fix this ?
Thanks
Michael

Have you tried removing the previous key from your ~/.ssh/know_hosts file?
If you are using the same domain name but the IP has changed, you'll get an error unless you remove it and re-add the new one.

Thanks for your Answer Thomas.
I cleared the know_hosts file and connected again to the Host I have in ftp-Settings of the Allsky-Software. After that there was a new Key in the know_hosts file, but the Error remained. The Allsky Software was not able to upload anything.
I solved the Problem by editing /etc/lftp.conf .
At the End of this file I added a Line set ssl:verify-certificate no .
I don´t really understand why this worked because I have no SSL-Certificate at my Host. But however, it worked.
Thanks
Michael

Closing - issue resolved.  This fix will be added to the Wiki once I create it, as several people have had the same problem.


first decoration don't display for terminal

VS Code Version: 1.76
OS Version: windows

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.76.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

exec clear command  . This effect will also exist

This problem seems to have been fixed.after the decoration is dispose, it will be added back.


fix: revert var name changes in WindowsProfile

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 3 (33.33%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 61.973%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/agent/datamodel/types.go
0
2
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0%

Covered Lines:
2544

Relevant Lines:
4105

💛  - Coveralls


predefined amounts in list for the +/- on the popup

I want to have a predefined list of numbers that the +/- lists through..
bet_amount = [0.01, 0.05, 0.10, 0.15, 0.25, 0.50, 0.75, 1, ....... max 10]  * depending on the player balance
This is also because it takes unnecessarily long to get on say 1.0 bet, this simply needs to be allowed quicker using +/-....

out of scope


gparted: 0.31.0 -> 0.32.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/gparted/versions.
meta.description for gparted is: '"Graphical disk partitioning tool"'.

Checks done (click to expand)

built on NixOS
Warning: no invocation of /nix/store/njdqn2xwbg8lfa5x1y1iyam2k495agdl-gparted-0.32.0/bin/gparted had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/njdqn2xwbg8lfa5x1y1iyam2k495agdl-gparted-0.32.0/bin/.gparted-wrapped had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/njdqn2xwbg8lfa5x1y1iyam2k495agdl-gparted-0.32.0/bin/.gpartedbin-wrapped had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/njdqn2xwbg8lfa5x1y1iyam2k495agdl-gparted-0.32.0/bin/gpartedbin had a zero exit code or showed the expected version
0 of 4 passed binary check by having a zero exit code.
0 of 4 passed binary check by having the new version present in output.
found 0.32.0 with grep in /nix/store/njdqn2xwbg8lfa5x1y1iyam2k495agdl-gparted-0.32.0
directory tree listing: https://gist.github.com/96b5e80e395056528f8f3fb7b7110cda
du listing: https://gist.github.com/2a32294454cc30ae08fd77b3d774985e

Test this build with Cachix (click to expand)

One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout d9c3e9754e4f395491ce3f54be2028d5bc5aecc6 && nix-shell --pure -I nixpkgs=. -p gparted

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: gparted
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: gparted
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/njdqn2xwbg8lfa5x1y1iyam2k495agdl-gparted-0.32.0
shrinking /nix/store/njdqn2xwbg8lfa5x1y1iyam2k495agdl-gparted-0.32.0/sbin/.gpartedbin-wrapped
gzipping man pages under /nix/store/njdqn2xwbg8lfa5x1y1iyam2k495agdl-gparted-0.32.0/share/man/
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/njdqn2xwbg8lfa5x1y1iyam2k495agdl-gparted-0.32.0/bin  /nix/store/njdqn2xwbg8lfa5x1y1iyam2k495agdl-gparted-0.32.0/sbin
patching script interpreter paths in /nix/store/njdqn2xwbg8lfa5x1y1iyam2k495agdl-gparted-0.32.0
/nix/store/njdqn2xwbg8lfa5x1y1iyam2k495agdl-gparted-0.32.0/bin/.gparted-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/czx8vkrb9jdgjyz8qfksh10vrnqa723l-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/njdqn2xwbg8lfa5x1y1iyam2k495agdl-gparted-0.32.0...
moving /nix/store/njdqn2xwbg8lfa5x1y1iyam2k495agdl-gparted-0.32.0/sbin/* to /nix/store/njdqn2xwbg8lfa5x1y1iyam2k495agdl-gparted-0.32.0/bin
/nix/store/njdqn2xwbg8lfa5x1y1iyam2k495agdl-gparted-0.32.0


Add support for "commit" action

The "commit" button in redux dev tools usually clears the action list and commits state.

However when clicking with Flutter we get "Unknown commans (sic): COMMIT. Ignoring"

What does "commit state" mean in this context? The action list is implemented entirely on the remote devtools server side - what is the flutter app supposed to do with the commit command?

Should devtools middleware dispatch a save action?

That is probably the solution. I use the "commit" button to just clear the action log but the actual purpose of it is to save the current state for the "revert" button to jump to.

ok then it looks like devtools server is expecting a response back from us to indicate the commit occurred. I'll have a look into the source code and find out what we're supposed to send.


Upgrade to kind 0.10

Changes since 0.7.0:

https://github.com/kubernetes-sigs/kind/releases/tag/v0.8.0
https://github.com/kubernetes-sigs/kind/releases/tag/v0.8.1
https://github.com/kubernetes-sigs/kind/releases/tag/v0.9.0
https://github.com/kubernetes-sigs/kind/releases/tag/v0.10.0

The Kubernetes 1.17 image for kind 0.10 uses 1.17.17, so we upgrade to
that too.
Signed-off-by: Stephen Kitt<EMAIL_ADDRESS>

Where I learn to read release notes properly...

So it seems that --net=kind isn’t sufficient (although it worked for me locally), and we may have to do some more sophisticated container/network handling. The problem here is that kind now uses a network named “kind” instead of the default Docker bridge, and other containers need to be placed on the same network — this is somewhat difficult with our use of Dapper since our Dapper container needs to be able to connect to the kind containers.

Does this supersede https://github.com/submariner-io/shipyard/pull/143 and https://github.com/submariner-io/shipyard/pull/353,. ie can we close those?

I suggest we debug with this:
https://github.com/marketplace/actions/debugging-with-tmate
if it fails in CI but works locally, It has helped me on the past.

I suggest we debug with this:
https://github.com/marketplace/actions/debugging-with-tmate
if it fails in CI but works locally, It has helped me on the past.

I know what’s wrong here, I just need some time to fix it ;-).

The remaining problem is that the clusters started by kind can’t talk to the local registry (and I know about the upstream instructions). However I’m not fixing that just yet because it reveals another problem: cluster1 is deployed with the Quay image, whereas cluster2 is deployed with the local registry image.

cluster1 is deployed with the Quay image, whereas cluster2 is deployed with the local registry image.

Oh, that’s because we used to deploy the broker without specifying the repository.

I think this failure is consistent here, and doesn't happen for other upgrade jobs.
[shipyard]$ [cluster1] deploy_weave_cni
[cluster1] Applying weave network...
[shipyard]$ [cluster1] kubectl apply -f https://cloud.weave.works/k8s/net?k8s-version=v1.17.17&env.IPALLOC_RANGE=<IP_ADDRESS>/16
[shipyard]$ [cluster1] kubectl apply -f https://cloud.weave.works/k8s/net?k8s-version=v1.17.17&env.IPALLOC_RANGE=<IP_ADDRESS>/16
[shipyard]$ [cluster1] command kubectl --context=cluster1 apply -f https://cloud.weave.works/k8s/net?k8s-version=v1.17.17&env.IPALLOC_RANGE=<IP_ADDRESS>/16
[cluster1] Unable to connect to the server: dial tcp <IP_ADDRESS>:6443: i/o timeout
[cluster1] Failed to deploy cluster capabilities, removing the cluster

I think this failure is consistent here, and doesn't happen for other upgrade jobs.
[shipyard]$ [cluster1] deploy_weave_cni
[cluster1] Applying weave network...
[shipyard]$ [cluster1] kubectl apply -f https://cloud.weave.works/k8s/net?k8s-version=v1.17.17&env.IPALLOC_RANGE=<IP_ADDRESS>/16
[shipyard]$ [cluster1] kubectl apply -f https://cloud.weave.works/k8s/net?k8s-version=v1.17.17&env.IPALLOC_RANGE=<IP_ADDRESS>/16
[shipyard]$ [cluster1] command kubectl --context=cluster1 apply -f https://cloud.weave.works/k8s/net?k8s-version=v1.17.17&env.IPALLOC_RANGE=<IP_ADDRESS>/16
[cluster1] Unable to connect to the server: dial tcp <IP_ADDRESS>:6443: i/o timeout
[cluster1] Failed to deploy cluster capabilities, removing the cluster

Yes, this is caused by the use of a different network (kind instead of the default Docker bridge).

It looks good, but the Upgrade job is complaining with something networkish:
[shipyard]$ [cluster1] kubectl --context=cluster1 label node cluster1-worker submariner.io/gateway=true --overwrite
[cluster1] Unable to connect to the server: dial tcp <IP_ADDRESS>:6443: i/o timeout

It's looking close, thank you @skitt!

I figured out why the upgrade job was failing — the base image wasn’t rebuilt before running the test, so we didn’t get the updated scripts in the Dapper image!

Running the consuming projects tests out of an abundance of caution before merging.

Running the consuming projects tests out of an abundance of caution before merging.

Thanks for that, it reminded me that consuming projects will need DAPPER_RUN_ARGS="--net=kind" in their Dapper Dockerfile. I’ll submit PRs before we merge this one, or actually I think it might be possible to avoid that entirely...


Fix an issue where dynamic parameter is not generated for website.

Dynamic Parameter is not generated for the website because they don't show up in Get-Help. They do, however, show up in Get-Command.

This change is

Thanks!


renderNothing - type is too constrained

renderNothing currently has type
declare export function renderNothing<A>(C: Component<A>): Component<A>

I believe this should be
declare export function renderNothing<A, B>(C: Component<A>): Component<B>

renderNothing is useless without branch, its type constrained to work with branch and not as type it must be. I think its written inside source.

https://github.com/acdlite/recompose/blob/master/src/packages/recompose/index.js.flow#L152

Fair enough - I suppose this could give better type errors in some less corner cases. I'll just replace with x => y => null

may be with modern flow it can be typed as is, there were problems with some typings. I think we need to revisit types soon as * type become deprecated in latests flow commits, and this can cause some changes


SWAV

please implement swav

You can mind a minimal implementation in TensorFlow here.

Chekcout https://github.com/facebookresearch/swav/blob/master/main_swav.py


Update FullControl example with seek control

Description
Update FullControl example with seek due to removing seek prop which was causing issues in practical use
Related Issue
#59

This looks great @bundit 👏 🙏


Documentation, Bugfix

Coverage remained the same at 94.286% when pulling 103545ba64879446b7c2698249be0eba9a731b66 on edelbluth:master into e0ebef3e2f7602d8ed769d6b45217e8ff89d60b6 on juergen-rocks:master.


Add benchmark for network with 4 peers

Signed-off-by: i1i1<EMAIL_ADDRESS>

Description of the Change

Benefits

Possible Drawbacks

Usage Examples or Tests [optional]

Alternate Designs [optional]

@i1i1 Should we close this one?

@eadventurous i would wait for iroha_p2p merge. It should work fine at that time

Failed to run torii bench by my workflow on my fork.
Do you think there is something wrong with the workflow?

Closed as #1952 inherits this


Check for updates on base image during build

It is important to keep Docker images up-to date, as upstream images
could have important security fixes, even using the same tag and
version.
When building images, it is possible to pass in a --pull flag to check
if the base image has updates, and rebuild as necessary. This feature is
available since 2014, and will still retain the image cache if there are
no updates on the base image.
Travis might need updated Docker version. It is documented how to update it on their docs if it becomes necessary.

The images have been quite outdated, and while developing a GitHub Action similar to goreleaser, I've noticed that last Travis run has been 1 year ago.
There has been a recent commit on master this year, in January, which didn't trigger new updates. This could be likely due to the change on user host the code, and Travis not being properly configured for the new rust-embedded user.
I've also noticed that this project has changed maintainers, but the images still live under the previous Docker Hub account. I would be able to help change the code to point to the new user on Docker Hub, but I can't help with credential management and setup of Travis.
There are other issues (eg: https://github.com/rust-embedded/cross/issues/261) that have noticed the missing image as well. How could I help to make new images available?

Thanks
bors: try

Some images had outdated packages not available on Debian repository anymore. I've pointed to existing packages on a follow up commit on this PR, in case you want to retry building it.

bors: try

I think it will be necessary to change the url of Dropbear to point to their new releases path.
I could take a look later this week.

@Dylan-DPC would you mind trying again? I've updated the url for dropbear instalation

@bltavares sure. some of the builds are failing due to a unrelated issue. Will still try this
bors: try

Most of these changes are now in master.


Unexpected behavior of async/await (wrong task scheduling?)

I thinks the code before and after an await expression in an async method should run on the same thread, but that doesn't seem to be the case. Consider this minimal example:
using Godot;
using System;
using System.Threading.Tasks;

public class Main : Node
{
    public override async void _Ready()
    {
        GD.Print($"Before: {System.Threading.Thread.CurrentThread.ManagedThreadId}");

        await Task.Delay(1);

        GD.Print($"After:  {System.Threading.Thread.CurrentThread.ManagedThreadId}");
    }
}

When attached to a node and executed, it produces output like this:
Before: 1
After:  6

Which means the code post-await runs on different thread than pre-await. I find this surprising and inconvenient, because it means that if the post-await code wants to access some state in the scene tree, it needs to be explicitly synchronized (via mutex or other means) which kind of defies the purpose of async/await in the first place. For example this code is unsafe:

public override async void _Ready()
{
    // ... some stuff here
    await DoSomethingAsync();
    GetNode("some/path").DoSomethingElse() // <-- unsafe, possible race condition / crash
}

This is a safe workaround, but it's inconvenient and/or ugly:
public override async void _Ready()
{
    // ... some stuff here
    await DoSomethingAsync();
    CallDeferred(nameof(DoSomethingElse));
}

private void DoSomethingElse()
{
    // safe, runs on the main thread.
    GetNode("some/path").DoSomethingElse();
}

Am I missing something or is this a bug?
Godot version:
81b1d3c846de263cf843e9e0e9d7c0c0a94f65c8
OS/device including version:
Linux, Ubuntu 17.10

OK, after a bit of digging I think I figured this out. There is this thing called SynchronizationContext which is responsible for scheduling task continuations. Godot provides its own implementation (GodotSynchronizationContext) which seems to do the right thing. Problem is this context is not properly attached to the main thread (via calling SynchronizationContext.SetSynchronizationContext) before the game loop runs. It is only attached in GodotTaskScheduler.Activate which gets called every frame. So when _Ready is called, the current synchronization context isn't set yet (SynchronizationContext.Current is null) and mono uses a thread-pool based fallback.
The fix is simple - just set the current SynchronizationContext to the instance of GodotSynchronizationContext before the game loop begins. A decent place to do it seems to be in the GodotTaskScheduler's constructor.
I'm going to raise a PR shortly.

Using async tasks freezes the game.
In the code below, program never reaches stopwatch.Stop(); and game window is frozen.
Win10Pro x64 19044.1826
Godot v3.4.4.stable.mono.official.419e713a2
May be important: <TargetFrameworks>netstandard2.1</TargetFrameworks> in csproj file, not the Godot generated net472.
    public override void _Ready()
    {
        var stopwatch = Stopwatch.StartNew();

        var task1 = Task.Delay(1000);

        var task2 = TestAsync();

        Task.WaitAll(task1, task2);

        stopwatch.Stop(); // <-- Never reaches this line

        GD.Print(stopwatch.ElapsedMilliseconds);
    }

    private async Task<bool> TestAsync()
    {
        await Task.Delay(1000);

        return true;
    }

Changing code to syncronous execution fixes the issue:
    private async Task<bool> TestAsync()
    {
        Task.Delay(1000).Wait();

        return true;
    }


black image bug after download

since yesterday, all the images I download after inserting texts from the addtext application come completely black

What is the format of the input data?
A few days ago, I blocked GhostScript for security reasons. Some text format data such as PostScript can no longer be handled.

manipulados

I did it on my cell phone, through the Add Text application, I formed jpg to PNG.

Could you upload a sample image file here that produces a black image as a result?

every image I edit in add text has the same result

It seems that the color profile (image metadata) is causing the problem. Removing the icc profile works.
I will try to find out what the problem is, but I don't know if I can fix it.

the problem only happens when I go through the app.  I passed the image through the site without editing and it worked

Then maybe that app is adding a color profile to the image.

would I be able to solve this?

A workaround is to remove the metadata from the image. I don't know what software is available. (I used imagemagick on Linux to remove it convert -strip input_image.png input_imge.png)
If waifu2x site can handle it, I will fix it, but I haven't looked into it yet.

I will try.  Thank you so much!


Auto-build index with pysam.FastaFile

All functionality from Biopython can be replaced with pysam
pysam automatically builds .fai index - less code
pysam is 20x faster and scales better

Found BUG:

during building bagel.fa

[W::fai_insert_index] Ignoring duplicate sequence "Plantazolicin" at byte offset 5186
[W::fai_insert_index] Ignoring duplicate sequence "Butyrivibriocin" at byte offset 13461
....

Identical headers were silently dropped in the previous code, and only the last seq was considered in the output. Now pysam.FastaFile throws a warning.
TODO

correct requirements in DeepBLAST repo

Thanks for putting this together! I’ll need to pull down / test on my end next week, but from a first pass this looks promising.

No problem, there is still a thing I am currently working on that might improve the project from a purely engineering standpoint.
Stay tuned :D

Hi @valentynbez thanks for the contribution.  Just to clarify, the fasta index is built on the fly in pysam, correct?
Is this PR ready for review / testing?

Hi!
Yes. I added few additional features for convenience:

automatically handling stop codon for Prodigal input ("*") - otherwise protobuf errors - I think it will be a frequent use case
tqdm progressbar for database build.

PR is ready, I tested everything on my side.

Hi @valentynbez thanks for the contribution. Yes I have confirmed that this works -- we'll need the setup.py updated to include pysam.  But otherwise I think we can merge this in.


feat(overlay): add getConversations, selectConversation, createConversation methods to overlay

Description:
During necessity implemented next methods for overlay:

getConversations
selectConversation
createConversation

Also improved typing to have common types in chat and overlay
Also improved sandbox case 1 to reflect new changes
UI changes

Checklist:

[x] the pull request name complies with Conventional Commits
[x] the pull request name starts with fix(<scope>):, feat(<scope>):, feature(<scope>):, chore(<scope>):, hotfix(<scope>): or e2e(<scope>):. If contains breaking changes then the pull request name must start with fix(<scope>)!:, feat(<scope>)!:, feature(<scope>)!:, chore(<scope>)!:, hotfix(<scope>)!: or e2e(<scope>)!: where <scope> is name of affected project: chat, chat-e2e, overlay, shared, sandbox-overlay, etc.
[ ] the pull request name ends with (Issue #<TICKET_ID>) (comma-separated list of issues)
[ ] I confirm that do not share any confidential information like API keys or any other secrets and private URLs

/deploy-review

/deploy-review

/deploy-review

/deploy-review


Add MI performance checks

Current dependencies on/for this PR:

main

PR #3725   👈

This comment was auto-generated by Graphite.


proxy forward_url support function  like url_query_getter

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Sorry, please provide more specific feature requirements.

forward_url is composed of upstream, url_path_getter, url_query_getter, and they are all customizable, the needs can be completely met through their customization, So I don't plan to implement this。


x/tem: unaware of unicode double width characters, creates phantom when for instance 乒 or 😀 is present in the history

Go version
go1.22.6
Output of go env in your module/workspace:
on macos or linux

What did you do?
type or paste "😀, type backspace, a space is inserted
use up/down repeatedly previous prompt and current keep shifting right
What did you see happen?
see above
What did you expect to see?
😀 works like any other character

same with 乒乓 for instance

Seems like wcwidth(3) is what is needed and it's unclear https://pkg.go.dev/golang.org/x/text/width would cover that (probably for 乒 but not 😀?)

https://github.com/rivo/uniseg would work/help but isn't any x/ or stdlib/ (or is there a copy somewhere?) https://go.dev/play/p/BO1YmXhdb0F


Fix Class#nilable? for recursive unions and root types

Fixes #6447. Does not affect the macro method TypeNode#nilable?. Also does not affect the compiler's notion of a nilable type (which uses instead Type#includes_type?(NilType)).

For illustration, this is what we're talking about:
def foo(v : Value)
  v.nil? # => true
end
def bar(o : Object)
  o.nil? # => true
end
foo nil
bar nil


Mutations are not getting shared in safari.

I ran the basic example on MAC safari and increment, decrement mutations are not getting shared.

any update on this? i am facing the same issue.

@shafali538 change strategy to localStorage if you are using BroadcastChannelAPI because Safari doesn't support it.


Update README.md

Thank you for contributing to Pipenv!
The issue
What is the thing you want to fix? Is it associated with an issue on GitHub? Please mention it.
Always consider opening an issue first to describe your problem, so we can discuss what is the best way to amend it.  Note that if you do not describe the goal of this change or link to a related issue, the maintainers may close the PR without further review.
If your pull request makes a non-insignificant change to Pipenv, such as the user interface or intended functionality, please file a PEEP.
https://github.com/pypa/pipenv/blob/master/peeps/PEEP-000.md

The fix
How does this pull request fix your problem? Did you consider any alternatives? Why is this the best solution, in your opinion?
The checklist

[ ] Associated issue
[ ] A news fragment in the news/ directory to describe this fix with the extension .bugfix, .feature, .behavior, .doc. .vendor. or .trivial (this will appear in the release changelog). Use semantic line breaks and name the file after the issue number or the PR #.

My advice would be to close this PR and add the invalid tag as well. Hacktoberfest processes the invalid tag by invalidating the contribution the user has made and won't count toward Hacktoberfest.
More information about this:
https://hacktoberfest.digitalocean.com/details#spam
The other PR's:
https://github.com/home-assistant/home-assistant/pull/27196
https://github.com/sendgrid/sendgrid-php/pull/886
https://github.com/valor-software/ngx-bootstrap/pull/5424
https://github.com/pypa/pipenv/pull/3972
https://github.com/tsuru/tsuru/pull/2351


Diagram and Documentation

Hi @ardalis
This is very interesting template for DDD design and it could be great if you could provide a diagram and document of the components of your implementation.
Thanks and Regards
Duy

Agree. If there is a document explaining the overall architecture and how to use the components, it would have been easier.

I'll try to address this soon with some more docs and YouTube videos or something. In the meantime, these are good resources:

https://www.pluralsight.com/courses/n-tier-apps-part1
https://www.youtube.com/watch?v=k8cZUW4MS3I
https://www.slideshare.net/SamNasr2/clean-architecture-with-aspnet-core

Thanks a lot Steve for the prompt answer. Much appreciated.


how to read XML files with Sparklyr?

Hello everyone!
I see there is spark_json, spark_csv and spark_parquet... but what about XML files? Is there a native way to load them while using Sparklyr? My workflow is written in Sparklyr but now I need to load large XML files as well..
Any ideas? Many thanks!!

There's no native parser in Spark but there's a package for it: https://github.com/databricks/spark-xml


Issue #117

Based on issue #117 by @tuxitop, and in order to pass the tests, the following sentence in the Instructions should be changed from:

Here, give ReturnTempPassword a prop of tempPassword and assign it a value of a string that is at least 8 characters long.

to

Here, give ReturnTempPassword a prop of tempPassword and assign it a string value of serrPbqrPnzc.

Yes, I missed this when updated the challenge. I've actually updated it to allow the user to submit a custom password and the test will now check that this password is rendered.


app_artifact_location is not optional

The static web apps deploy github action template contains:

"app_artifact_location: '' # Built app content directory - optional"

indicating it is optional, but if I delete it I get a build error, and if I leave it empty I get a build error.  So it appears this is not optional.
Turns out changing it to this seems to work, perhaps you should fix the template then to do this and remove the word "optional":

"app_artifact_location: '.' # Built app content directory"

I'm trying to deploy something that is truly a static web app already, no need for build, and no build artifact location: https://github.com/lovettchris/TeleprompterBuild

Hi @lovettchris,
Thanks for trying out the product! This is technically optional, but your build may fail if this is not provided. Under the covers, we use Oryx and if Oryx fails to determine the output folder (which is based on some logic that is continually being improved) then we can't upload your assets.
I took a look at your Github Action logs and that is indeed the case. So for your case it is not optional until Oryx improves there detection.
That being said, it is optional in general. If you have a purely static repo (i.e. just your html, css, etc) then you wont need this and it can be removed.

Closing this; also confirmed that removing both api_location and app_artifact_location do not lead to a failed build.
cc @kichalla, in this case Oryx tried to build the application because of the package.json but my guess is failed to find the 'build' command and the end experience was confusing. Since we now require build the error would have been clearer, but this is still a scenario we should take note of: a package.json file but no application build steps.


HDDS-6333. Add a metric to record sequence number lag between Recon and OM

What changes were proposed in this pull request?
In HDDS-6312, Recon is regulated to retrieve a limited number of delta updates from OM, which eliminates the possibility of large delta updates causing OM's OOM.
We did this control by setting the configuration of "recon.om.delta.update.limit" and "recon.om.delta.update.loop.limit", the default consume speed would be 2000*10 per 10 minutes, but we are not sure if we are consuming at an optimal speed.
This ticket is to add a metric to record the lag between Recon and OM, which can help to set an appropriate value and prepare for other near real-time works on the Recon side.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-6333
How was this patch tested?
unit test.

@adoroszlai @avijayanhwx @ferhui Could you help to review this PR?

@symious Thanks. LGTM

Thanks for the review. @ferhui @avijayanhwx


Specify babel-runtime as a dependency or a peer dependency

Since 0.2.x it seems this depends on the babel-runtime module being available at runtime. Should it be moved to the regular dependencies or even the peer dependencies in the package.json?

Peer dependencies are getting removed in npm 3. No real solution is being
offered as far as I can tell, just removing what works.
On Jun 18, 2015 12:12 PM, "Mathieu M-Gosselin"<EMAIL_ADDRESS>wrote:

Since 0.2.x it seems this depends on the babel-runtime module being
available at runtime. Should it be moved to the peer dependencies in the
package.json?
—
Reply to this email directly or view it on GitHub
https://github.com/rackt/react-a11y/issues/72.

They're not getting removed, they're getting fixed. Instead of installing under themselves a peer dependency that isn't already provided, they will just error in that case. In other words, you must provide the dependencies listed as peer by yourself. I think it's a good change. That being said, react-a11y currently crashes if you don't have babel-runtime installed and it's only listed as being a peer dependency, that is certainly wrong.

+1

See https://github.com/rackt/react-a11y/pull/74 github has a built in editor, you don't even have to checkout the project to fix this.

This was to discuss whether it should be a peer dependency or a dependency. I think peer makes sense.

I'm not sure requiring the runtime is even a good idea. IDK about webpack but I think browserify is only going to package a single version of any given module.
I think since this requires<EMAIL_ADDRESS>it means if I'm writing something that uses react-a11y I'm going to have to use the same version. I don't think it makes any diffrence in that situation whether it's a peer or not.

it means if I'm writing something that uses react-a11y I'm going to have to use the same version

Usually peer dependencies try to be generally vague in their semver unless something is known to break. The semver for the peer dependency of babel-runtime could be >= 5.0.0 for all we know.

Hmm, it seems odd to me that this lib simply doesn't work out of the box. Could this at least be a note in the readme?
"To use react-a11y you must have babel-runtime installed"? Or am I missing something?

Any plans on releasing a version that works with Babel6? Since you depend on babel-runtime@5 it doesn't seem like anyone using react-a11y can upgrade to Babel6 even though the two things should be completely unrelated to each other.

babel-runtime is now a devDependency in v1.0.0 and seems to work fine where I've used it in applications running Babel6.  I'm going to close this as I don't believe it's an issue any longer in the latest v1.0.0.  Please respond back here if anyone is still having this problem.


Refactor collision set generation from scenegraph

Flip argument order of aa_rx_sg_cl_set_copy() for consistency

Pass in cl_set to aa_rx_sg_get_collision() rather than
allocating within the function.  This is more flexible for the
caller and puts allocation and deallocation together.  Then, the
return code can indicate whether any collision has occured.

Use separate functions to create planners rather than an enum.  This
is more extensible since one can just add a new function rather
than having to modify aa_rx_mp_plan()

aa_rx_sg_allow_collision(): probably better to make two versions
of this function, one that takes the (string) frame name and one
that takes the (int) frame id.

For point number 2 regarding passing in cl_set, should the function check validity of the cl_set and clear the original cl_set?

If we do not clear the original cl_set but only mark new collisions,
then we can remove some of the merge operations on allowed configurations.
The caller can always explicitly clear the cl_set.  Probably more
flexible to only mark the new collisions.
On 05/18/2016 05:00 PM, KeliangH wrote:

For point number 2 regarding passing in cl_set, should the function
check validity of the cl_set and clear the original cl_set?
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/golems/amino/pull/1#issuecomment-220171248

Older FCL is still using boost::shared_ptr, so the change to std::shared_ptr breaks.  This should probably be a configure test to determine which FCL is being used.

Please see if the added configure test for shared_ptr types in commit 659396d builds against your FCL.

ad18b54 refactors planner creation, fixes a leak, and renames some symbols for consistency.

8cff324 modifies the API to reduce necessary object management and allow planner parameter configuration.


Staging image testing

Add a multijob for performing tests with staging images based on a
BUILD_ID.
The terraform helper now can create a docker registry secret in
kubernetes.
The bumper scripts now adds an imagePullSecrets entry to support
pulling from the private registry, and additionally handling to ensure
goss tests work when using BUILD_ID values as a bumped version.
Allow the makefile help generator to support goals that include
numbers.
~- [ ] Chart version not bumped (the versions are all bumped and released at the same time)~
~- [ ] README.md updated with any new values or changes~
~- [ ] Updated template tests in ${CHART}/tests/*.py~
~- [ ] Updated integration tests in ${CHART}/examples/*/test/goss.yaml~

https://devops-ci.elastic.co/job/elastic+helm-charts+pull-request+cluster-creation/436/ is failing because GKE dropped K8S 1.13 support, you'll need to rebase on master to include #533 which fix CI tests.

@jmlrt I've rebased and removed the extra calls to the version bump script, please take another look.


Option to Disable Player Breeding

Add an option to disable player breeding, and only let WildSex handle breeding

update? =D

This looks like something we can easily do with the new API (so it would be supported on 1.13.2+): https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/Animals.html#getBreedCause--
I will be doing some work on the plugin this weekend so I'll take a look at it.


Issue linking with LAPACKE

I'm having trouble with undefined references when linking with OpenBLAS. My application is compiling Eigen, and I see the following errors:
eigen/Eigen/src/Core/products/TriangularSolverMatrix_BLAS.h:88: undefined reference to `dtrsm_direct'
eigen/Eigen/src/LU/PartialPivLU_LAPACKE.h:74: undefined reference to `LAPACKE_dgetrf'
eigen/Eigen/src/QR/HouseholderQR_LAPACKE.h:59: undefined reference to `LAPACKE_dgeqrf'

The linking command I'm using is
g++ -g -O2 -static -Wl,--start-group -Wl,--end-group -fopenmp -o main [object files] /opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64/libmkl_intel_lp64.a /opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64/libmkl_gnu_thread.a /opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64/libmkl_core.a -lgomp -lm -ldl -L/opt/OpenBLAS/lib -lopenblas -lgfortran -lpthread -fopenmp

I'm not sure how to debug what's going on. Any thoughts? Thank you!

Make sure that nm /opt/OpenBLAS/lib/libopenblas.so |grep LAPACKE_dgetrf shows something like

0000000000b6e910 T LAPACKE_dgetrf

Did you build OpenBLAS yourself, or are you using some prebuilt package ? (One discerning factor of the LAPACK part is that it is written in fortran, so you need a fortran compiler on the build platfom to create a libopenblas that contains both BLAS and LAPACK functionality. Seeing that you have -lgfortran on your link line you probably know this already, I am only mentioning it just in case)

Indeed, when I run that command I get
root@cb2afd53b6a3:/app# nm /opt/OpenBLAS/lib/libopenblas.so |grep LAPACKE_dgetrf
0000000002020c10 T LAPACKE_dgetrf
0000000002020ea0 T LAPACKE_dgetrf2
0000000002020f30 T LAPACKE_dgetrf2_work
0000000002020ca0 T LAPACKE_dgetrf_work

I did compile it myself by running the following command:
  git clone -q --branch=master git://github.com/xianyi/OpenBLAS.git && \
  (cd OpenBLAS && \
  make DYNAMIC_ARCH=1 NO_AFFINITY=1 USE_OPENMP=1 && \
  make install) && \
  echo "$OPENBLAS_ROOT/lib" > /etc/ld.so.conf.d/openblas.conf && \
  ldconfig $OPENBLAS_ROOT/lib

It looks from the CMakeLists.txt that the LAPACK code is automatically compiled and included, is this true?
Thanks!

Yes, LAPACK is automatically included by default as long as a fortran compiler is available to build it. So your libopenblas.so looks correct, but somehow the linker saw no reason to refer to it. Maybe this question would be better placed with the Eigen developers, the only thing related to third-party LAPACK I see in their documentation is that one needs to define EIGEN_USE_LAPACKE before including the Eigen headers. (https://eigen.tuxfamily.org/dox/TopicUsingBlasLapack.html)

BTW why would you want to use both the Intel MKL and OpenBLAS in the same program ?

I should note that I'm statically linking the library, so it should be libopenblas.a, but that's a minor detail (I think?).
I don't understand a ton about how the various software components fit together, but from this Eigen documentation and this MKL doc I gather that MKL relies internally on some BLAS + LAPACK subroutines.
You're right I'm going to file an issue with Eigen too.

Maybe you post failing compilation commands firsthand?
I think it is mismatch with eigen defines flipping between different files being compiled.
You dont need to configure dynamic linker if you intend to include static library in your final executable module

Actually your G++ line for MKL is wrong. the external .a files should be between start/end group and others including openblas are plainly not considered. (as martin said - choose one)
There is no issue with openblas at all. If you take out all MKL settings openblas should be fine too.

Great, thank you for your help. Apologies for being dense, I appreciate your patience!


Issue when converting from camel case to snake case for python generation

I have a parameter that called imageURL
and its converted to image_u_r_l
Also happening for file names, for example notrixSDK becomes notrix_s_d_k.py

Hi @hvuhsg
Thanks for reporting this and for using kiota.
The implementation for the Snake casing is here
And the unit tests here
It could be amended to NOT add an underscore if the following character is uppercase.
Is this something you'd be willing to submit a pull request for?

Yes, on it!


This is awesome

How long have you been working on this for?

@samoshin dude!!!! ❤  Took me one weekend to write it (to be precise Feb 8th - Feb 10th) Took me more to make it auto publish on NPM registry! 😆
The main idea is to have powerful generalized CSS code generators and one centralised config file that you can swap per project. Then on compile - strip all the unused CSS and it's 🚀 .
Check out those nested grids https://sulphuris.github.io/sulphuris/
It's far from ready, it needs yet to be documented and there are some advancements I'm planning. It will get even better 🤫
Sulphur + Mercury + Salt = Philosopher's Stone 😉  Huge appetite, so little time...

Badass dude, gotta keep the side hustles alive.  I'm following this repo now 👀 looking forward to your next release :)


Make sure issues filed here appear in the org-wide project

Even if a project isn't specified in the issue report...

hmm. Ok, so I guess the project HAS to be specified

That's a little weird - I'd swear I filed an issue in BeamGameCode and it showed up in the beamGameCode project...
oh, well - not a biggie


[Feature Request] Precise rotation

I happen to have many PLY files (splats) that are rotated e.g. 90° or 180° around a single axis. I didn't find a way to rotate the entire scene by a precise amount.

Fixed in #143


Fluently ignored classes always cause errors

TypeMapper 131:
if (_mappingContext.ModelConfiguration.IsIgnoredType(type)
  || _mappingContext.ModelConfiguration.IsComplexType(type))
{
  return null;
}

DbModelBuilder 468:
if (typeMapper.MapEntityType(type) == null)
{
  throw Error.InvalidEntityType(type);
}

Summary of Ignore Method on DbModelBuilder:
/// <summary>
/// Excludes a type from the model. This is used to remove types from the model that were added
/// by convention during initial model discovery.
/// </summary>

Fluently ignored models always throw errors. If calling DbModelBuilder.Ignore(Types) to ignore types is not the case that the Ignore summary claims to be for, what usage is correct?

@npbenjohnson That exception is thrown if you have conflicting configuration, something like this:
ModelConfiguration.Entity(typeof(Product));
ModelConfiguration.Ignore(typeof(Product));

You can either add an entity type to the model or ignore it, but not both.

Thanks, that is definitely the cause of my error. I was assuming it's an override to let you conventionally ignore classes if they aren't used in a particular scenario (ex. ignoring the entities for abstract base classes when a TPC EntityMappingConfiguration is set up using MapInheritedProperties)
What is the use case for DbModelBuilder.Ignore, does it remove types from DbModelBuilder.Types()?
I'm hoping my flow is just backwards, I'm registering all potential entities, then iterating DbModelBuilder.Types and DbModelBuilder.Properties to set them up. Should I be using Type<>, then iterating, then only registering Entities for Types that aren't Ignored?

EF usually discovers all the entity types by following navigation properties and finding derived types, so normally you would only add the root types that don't have a corresponding DbSet on the context. Ignore is used to remove the types that EF discovers by itself.
DbModelBuilder.Types will work for the entity types discovered by EF.


chromium using 30 GB ram

Came back, chromium using all my ram xd

your not bitcoin mining right? 👀

I faced this issue as well!  It seems like the Chromium is not shutting down correctly -
While downloading videos -

After it has completed -

If left for a while, it starts eating up RAM and makes the entire system unresponsive.


Add an admin function to remove spam

We could use an admin function that performs a series of operations on a project:

Update the UserProfile to set the banned flag
Delete the Project being flagged

Perhaps also a separate admin function: delete any project owner by a user that is flagged as banned.

So it will remove projects from database?


newest 1.2.2 release isn't available on Cocoapod

Maybe this only happens on Cocoapod 1.0.0+

I forgot the update the local repo spec


ModuleNotFoundError: No module named 'scorecard.api'; 'scorecard' is not a package

Hi, I was trying to use this package, but running into issues. Please advise.
pip install college-scorecard

from getpass import getpass

API_KEY = getpass("Please input your College Scorecard API Key: ")

from scorecard.api import ScoreCard
#> ModuleNotFoundError: No module named 'scorecard.api'; 'scorecard' is not a package

sc = ScoreCard(API_KEY=API_KEY)

You might need to add __init__.py files to each directory, "scorecard" and "api". Their presence might help the imports work.

Fixed the issue with your suggestion, try it now.


Add cosigner script expression

The addition of cosigner: https://github.com/BlockchainCommons/Research/pull/99
reason for the addition: https://github.com/Foundation-Devices/passport-firmware/issues/65

Thanks!