Why we need obx ?

Base on your example
class Home extends StatelessWidget {
  final count = 0.obs;
  @override
  Widget build(context) => Scaffold(
        appBar: AppBar(title: Text("Get change you life")),
        floatingActionButton:
            FloatingActionButton(onPressed: () => count.value++),
        body: Center(child: Obx(() => Text(count.string))),
      );
}

Why we need obx if we can make it just use GetX?
class Home extends StatelessWidget {
  final count = 0.obs;
  @override
  Widget build(context) => Scaffold(
        appBar: AppBar(title: Text("Get change you life")),
        floatingActionButton:
            FloatingActionButton(onPressed: () => count.value++),
        body: Center(child: GetX(builder: (_) => Text(count.string)),
      );
}

what i've noticed is if you are using bindings, then you can use Obx since it does not require to specify the controller
looks like GetX is necessary to specify type (GetX<Controller>())

I just get the answer from changelog
for better RAM consumption, prefer widgets in that order: Obx => GetX => GetBuilder => MixinBuilder. Obx is the lightest of all, and MixinBuilder is a mix of the other 3, whenever possible, use the specific widget.


Incorrect label for Tag Summary Result Chart under All Tags

Describe the bug
Incorrect label for Tag Summary Result Chart under All Tags
To Reproduce
Steps to reproduce the behavior:

Add a few tags in your feature file
Observe legends for 'Tag Summary Result Chart' under all tags report
Legends read 'passed' , 'failed' and 'passed'

Expected behavior
Legends should read 'passed' , 'failed' and 'skipped'

This will be included in the next release.


Make use of package Atmospheric Models

Replace the code inside of this package with the functions from AtmosphericModels.

implemented, works fine, speed improved from 1550 to 1250 ns per call


hasher_long_file_name_fix

prepend "disable long file name check" prefix to file name.

In what does this resolve/improve?
On Wed., 12 Apr. 2017, 4:57 am bond4u<EMAIL_ADDRESS>wrote:

prepend "disable long file name check" prefix to file name.
You can view, comment on, or merge this pull request online at:
https://github.com/japanesemediamanager/ShokoServer/pull/601
Commit Summary

hasher_long_file_name_fix

File Changes

M Shoko.Server/FileHelper/Hasher.cs
https://github.com/japanesemediamanager/ShokoServer/pull/601/files#diff-0
(21)
M hasher/hasher.cpp
https://github.com/japanesemediamanager/ShokoServer/pull/601/files#diff-1
(53)

Patch Links:

https://github.com/japanesemediamanager/ShokoServer/pull/601.patch
https://github.com/japanesemediamanager/ShokoServer/pull/601.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/japanesemediamanager/ShokoServer/pull/601, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA8rpjy09CeVY-AmdPYWGHwNPgjoj2b5ks5ru80jgaJpZM4M6gkF
.

It fixes the file not found for long paths in windows 10

This fixes hashing of files with long path - over 260 chars.
With "\?" prefix wstat64() and OpenFile() don't return error when file name with full path is over 260 chars.


[Suggestion] Confirm Passphrase

If a passphrase is used when creating a wallet, it's critical to make sure there aren't any typos.

Duplicate with #220, agreed though


limited upload file size and number of files with configuration in co…

…nstants file and updated error message
This can be tested with a very large file or by adjusting the constants ZIP_FILE_LIMIT, FILE_SIZE_LIMIT to 0 and using a normal test file such as the one attached.
CMS30v6_5a85d13466105e7f3ee840ce.debug.zip

Note: Travis failures here are due to Bundler-audit issues fixed in #68

Right now, this throws a message like: File has size 114658 and file count 26 which exceeds upload limits of 2000000 bytes and 25 files.. @dczulada / @lmd59 do we want to make this message more human-friendly by converting to KB/MB?

@okeefm @lmd59 +1 change looks good.  I like more human friendly messages.  Does the message need the terms 'size of' and 'count of.'
File has size of 3.99 MB and file count of 283 which


Can't get example for alerts to work

I am getting these errors now, and none of the css is loading from bootstrap:
[Vue warn]: Invalid prop: type check failed for show="{{showRight}}". Expected Boolean, got String.
vue.js?3de6:976 [Vue warn]: Invalid prop: type check failed for duration="3000". Expected Number, got String.
vue.js?3de6:976 [Vue warn]: Invalid prop: type check failed for show="{{showTop}}". Expected Boolean, got String.
vue.js?3de6:976 [Vue warn]: Invalid prop: type check failed for duration="3000". Expected Number, got String.
This is my App.vue
<template>
  <button class="btn btn-default btn-lg"
    @click="showRight = !showRight">
    Click to toggle alert on right
  </button>

  <button class="btn btn-default btn-lg"
    @click="showTop = !showTop">
    Click to toggle alert on top
  </button>

  <alert type="success" >
    Well Done!
    You successfully read this important alert message.
  </alert>

  <alert type="info" >
    Heads up! This alert needs your attention, but it's not super important.
  </alert>

  <alert type="danger" dismissable>
    Oh snap! Change a few things up and try submitting again.
  </alert>

  <alert type="warning" dismissable>
    Warning! Better check yourself, you're not looking too good.
  </alert>

  <alert
    show="{{showRight}}"
    duration="3000"
    type="success"
    width="400px"
    placement="top-right"
    dismissable>

    Well Done!

You successfully read this important alert message.

  </alert>
  <alert
    show="{{showTop}}"
    duration="3000"
    type="info"
    width="400px"
    placement="top"
    dismissable>

    Heads up!

This alert needs your attention.

  </alert>
</template>

This is my main.js
import Vue from 'vue'
import App from './App'

//import vizz from './lib/vizz'

/* eslint-disable no-new */
new Vue({
  el: 'body',
  components: {
    app: App
  }
})

I was able to get it to work by adding the following to the exports.  You should update the docs to include something similar, for noobs like me who tend to copy pasta everything.
data() {
showTop: false,
showBottom: false
}


Drupal 10 symlink fix

The Problem/Issue/Bug
Composer creates symlink only when running composer update
Fixes #104

@tyler36 thank you so much for reporting the issue, and helping me testing that everything works 🎉


Applied changes from the 4.7.1 PR

The PR is #3244.
Fixes #3245,

Pull Request Test Coverage Report for Build 99983

0 of 0   changed or added relevant lines in 0 files are covered.
110 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.3%) to 78.066%

Files with Coverage Reduction
New Missed Lines
%

/libraries/Microsoft.Bot.Builder/BotFrameworkAdapter.cs
110
36.48%

Totals

Change from base Build 99879:
-0.3%

Covered Lines:
20857

Relevant Lines:
26717

💛  - Coveralls

:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.Luis.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.QnA.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.ApplicationInsights.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Azure.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Dialogs.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Integration.ApplicationInsights.Core.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Integration.AspNet.Core.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.TemplateManager.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Testing.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Configuration.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Connector.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Schema.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Streaming.dll compared against version 4.6.3


Cannot change value via Firefox webdriver

We are performing acceptance tests using the webdriver api on SauceLabs. In all browsers, we can change a field value via input.setAttribute('value', ...) or sendKeys(), but in Firefox none of these are working. The old value is still found in the field.

We finally found a solution. With Geb, it looks like js.exec(input.firstElement(), "arguments[0].value = '${text}'")

Sorry, have to re-open this (ran the test with another browser).


Pdf doesn't load, all I see are buttons and text (image attached)

Hi,
I need to embed a pdf file in one of the pages. Up until today I used an iframe that showed the pdf and it worked like charm, I use my server as a proxy so I won't have a problem with CORS. I just added mobile support and the iframe pdf stopped wroking, the mobile downloads the pdf which is something that I don't want. I tried to integrate angular-pdfjs-viewer (as far as I know it supports mobile) but I can't get it to work. I am getting wired buttons and text instead of the pdf (image attached).
I tried to use the url and also the data like in the readme file example. Any idea ?

Getting the same issue.
Any update on this?

The CSS doesn't seem to be loaded or isn't applied.

Make sure you load stylesheet vendor/pdf.js-viewer/viewer.css.
Please check if there are any error responses (404, 400, 5xx) when loading this page.
Check that the content is with a <div class="pdf">. Angular-pdfjs-viewer should add this div, just make sure it's there.
Check which styles are applied for an element using the developer console (chrome). Check that the styles of viewer.css are applied and not overwritten.

try loading the css file <link rel="stylesheet" href="pdf.js-viewer/viewer.css" type="text/css"/>  at the beginning of your index

I am also encountering this issue if dev team still fixing issue though they said 'We're no longer using this library ourselves' plz respond. I will attach my html, controller and dom
Issue Report.zip


question

Where did you get the boogie down fbx? Having trouble finding it.

I believe it was from one of the fortnite packs from vrcmods. I couldn't tell you specifically where because it was awhile ago lol. I believe those ones would have been preconverted to fbx. Hope this helps!

The ones you found do you remember if they're for Blender or Unity? Can't really find any of these in fbx form

Sorry for the late reply. I can check when I get home. If I can find the link I found them from, would you want that instead?

That could work. Hope you still have the files.

This was where I got some of them. I know a lot of the animations were kinda broken, but hopefully this helps.
https://vrcmods.com/item?id=7474


[interop] pass and return C++ value types to/from Swift in C++

This is done by moving-non trivial C++ records when returning them from Swift.
Also, we need to use objc_modules feature for printing dependencies in the generated header, as in C++20 mode modules is always enabled.

@swift-ci please test

@swift-ci please test source compatibility


User channel name inheritance in config.js

It looks like one message doesn't inherit the users' channel name; instead, it uses a predefined one.
https://github.com/mohamed-tayeh/Minimal-Pomo-Timer/blob/a9648f584c358763cae1607e363b5fa9a6e4d8b1/configs.js#L56

@muigorick It can be edited to change the message, or would it be preferred to have something like this:
const workRemindMsg = 'Time to get ready for focus {channel}💻';

Prior it would have been edited to be as:
const workRemindMsg = 'Time to get ready for focus @MuigoRick 💻';


Update warn about some unused params

https://github.com/20tab/react-ts-continuous-delivery/blob/00e82e744df8ae9987b17a9f893949343c275aec/{{cookiecutter.project_dirname}}/package.json#L106-L111
After an upgrade this now could be:
"@typescript-eslint/no-unused-vars": [
  "warn",
  {
    "argsIgnorePattern": "^_",
    "varsIgnorePattern": "^_"
  }
]

Issue solved in commit ae73c6bf1b3294e6c5a047caae78af86fe90e50e


Greenkeeper/nodeshift 0.10.0

Coverage remained the same at 86.207% when pulling 2cd615d2031f171708df70497ad838c2bcad876d on greenkeeper/nodeshift-0.10.0 into 7d290744eb16ba81656335d057356c6b6f132452 on master.


command 'python.setInterpreter' not found

Please search existing issues to avoid creating duplicates
#5440 but fixed
Environment data

VS Code version: 1.43.0
Extension version (available under the Extensions sidebar): 2020.2.64397
OS and version: Win10 1909, WSL 1, Ubuntu-18.04
Python version (& distribution if applicable, e.g. Anaconda): 2.7.17, 3.6.9
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): 🤷♂, none I guess
Relevant/affected Python packages and their versions: XXX
Relevant/affected Python-related VS Code extensions and their versions: XXX
Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info #3977): XXX
Value of the python.languageServer setting: XXX

Expected behaviour
No error
Actual behaviour

Steps to reproduce:

Wish I knew, sorry.  Happy to collect any additional info to figure this out though!

Logs
From VS IntelliCode output panel as there is no Python option for me

vs-intellicode-python was passed a model: {"modelId":"15708AE89896CA5DF1690433B7A8D93D28B7","modelPath":"/home/mdepouw/.vscode-server/extensions/visualstudioexptteam.vscodeintellicode-1.2.6/cache/15708AE89896CA5DF1690433B7A8D93D28B7_215F8B4FAB1F4663ABD624559FD205B9","outputId":"215F8B4FAB1F4663ABD624559FD205B9"}.
Error while activating Python: {}

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)
Error: command 'python.setInterpreter' not found
    at u._tryExecuteCommand (commandService.ts:80)
    at commandService.ts:73
    at processTicksAndRejections (internal/process/task_queues.js:85)
    at async t (commandsHandler.ts:325)

so maybe my problem is it couldn't start the extension? 🤔
maybe it's this issue: #8277?  Looks like it, closing this issue...
Full VS IntelliCode log

Acquiring model 'intellisense-members' for java
Querying IntelliCode service for available models.
Cached model is up to date.
vs-intellicode-java was passed a model: {"modelId":"45788CA1782FEF17F07049DB4764F5647A62","modelPath":"/home/mdepouw/.vscode-server/extensions/visualstudioexptteam.vscodeintellicode-1.2.6/cache/45788CA1782FEF17F07049DB4764F5647A62_975CC5EC71E347A9B047E779B175B7D3","outputId":"975CC5EC71E347A9B047E779B175B7D3"}.
Java Extension is activated.
JavaAPI: {"apiVersion":"0.4","javaRequirement":{"java_home":"/usr/lib/jvm/java-11-openjdk-amd64","java_version":11},"status":"Started"}
Enabled IntelliCode for Java.
Acquiring model 'intellisense-members-lstm' for python
Querying IntelliCode service for available models.
Downloading model.
Starting download of https://cdsmprodstg.blob.core.windows.net/models-prod-output/Output_15708AE89896CA5DF1690433B7A8D93D28B7_215F8B4FAB1F4663ABD624559FD205B9?sv=2018-03-28&sr=b&sig=xY%2BUYJJiGpX%2BLj2%2BWq7PF9z%2BMUVRZaqz6HwxFxkIneI%3D&se=2020-03-11T18%3A28%3A41Z&sp=r
Download complete.
vs-intellicode-python was passed a model: {"modelId":"15708AE89896CA5DF1690433B7A8D93D28B7","modelPath":"/home/mdepouw/.vscode-server/extensions/visualstudioexptteam.vscodeintellicode-1.2.6/cache/15708AE89896CA5DF1690433B7A8D93D28B7_215F8B4FAB1F4663ABD624559FD205B9","outputId":"215F8B4FAB1F4663ABD624559FD205B9"}.
Error while activating Python: {}


Catch up to miserlou

Ugh... this was not meant to be a PR for you.  Sorry about that.

Coverage decreased (-61.2%) to 11.8% when pulling c439d6379fc6721d0b0608767f1fa67f4bcad85a on jmcvetta:master into 0c8d99ddbc297124d93c166652013abba50ee86e on Miserlou:master.


Added LDAP extension to all PHP versions

I've added a LDAP extension to all PHP versions. I've tested locally with "make build", "make test" and through (Travis CI) with success.
Thank you for these docker php images, they are come in handy for me!

Hi @fquffio! I made the changes you asked for. Have a good day!

I think this failed test is a timeout bug in Travis CI. Can you restart only the failed job to verify?

Thank you very much for your contribution and your patience while this feature was getting merged!


Wrong image saved in cache

Versions
ImageProcessor: 2.8.0
ImageProcessor.Web: 4.11.0
ImageProcessor.Web.Config: 2.6.0
ImageProcessor.Web.PostProcessor: 1.5.0
Umbraco: 7.11.1
.NET Framework version: 4.6.1
Description
We experience that the wrong images gets cached. For example in Umbraco you have the media archive with images uploaded on different nodes. When printing the HTML for the images, we first find the node and then the node contains information about which image file on the server to use. We use the img tag with a srcset, so we have multiple sizes (multiple cached images of the same image) for each image. It is here we experience one of the sizes will have another image from the media archive than the others, which is odd since the same node has been used to create the srcset. Haven't been able to find a stable way of reproducing this, but clear the cache and load images again (different images gets the wrong images from each cache clear). It is only happening to very few images, rough guess we experienced this on 5 out of 1000 images.
Examples of different sizes:
/media/6934/irish-turnout-black.jpg?width=1110&rnd=201808100858&heightratio=1&quality=80&bgcolor=ffffff
/media/6934/irish-turnout-black.jpg?width=750&rnd=201808100858&heightratio=1&quality=80&bgcolor=ffffff
A single of the sizes as shown here would show a different image apart from the others in the img tag and the querys would not be applied correctly either.
/media/6934/irish-turnout-black.jpg?width=350&rnd=201808100858&heightratio=1&quality=80&bgcolor=ffffff
The 'rnd'-query, we tried to get the last write date of the image file in hope that was enough to update the cache, but with no luck.
If needed I can send the project with a database. If anything else needed, I will try to answer. But this is mostly all we got about it.
System Configuration
Windows 10 | Windows Server 2016
MSSQL 14

This doesn't look  like an ImageProcessor issue to me. Perhaps talk to someone at Umbraco.

Cached file paths are generated based on the full path and the querystring.
https://github.com/JimBobSquarePants/ImageProcessor/blob/61eb3195c37b840370a10126f57feb797741a306/src/ImageProcessor.Web/Caching/ImageCacheBase.cs#L155

Looks like the GetCachedImageFileName method only uses the supplied full path to generate the cache name:
https://github.com/JimBobSquarePants/ImageProcessor/blob/61eb3195c37b840370a10126f57feb797741a306/src/ImageProcessor.Web/Caching/CachedImageHelper.cs#L54-L68
Although I haven't seen this behaviour myself, this might be introduced in the latest versions... This will definitely require more testing to be sure though!

WTAF. When did this slip in?

Fixed and deployed to Nuget


fix(ONYX-273): refactor and add isInAuction for header create alert cta

This PR resolves ONYX-273
Description
Refactored the check for displaying the Create Alert button in the header.
Added isInAuction to display the button depending if the artwork  in auction or not.

PR Checklist

[ ] I have tested my changes on iOS and Android.
[ ] I hid my changes behind a feature flag, or they don't need one.
[ ] I have included screenshots or videos, or I have not changed the UI.
[ ] I have added tests, or my changes don't require any.
[ ] I added an app state migration, or my changes do not require one.
[ ] I have documented any follow-up work that this PR will require, or it does not require any.
[ ] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

Warnings

:warning:

❌ An error occurred while validating your changelog, please make sure you provided a valid changelog.

  Generated by :no_entry_sign: dangerJS against c7dadca18cd7a8add516f3352ab9d9df53f5d02a


Is there any analog of MongoDate in new library?

Didn't find it in documentation. But it is used in Monolog for example:
https://github.com/Seldaek/monolog/blob/master/src/Monolog/Formatter/MongoDBFormatter.php#L103
With old driver i've got:
        "expires" : ISODate("2016-08-10T19:06:40.000Z"),

With new one:
        "expires" : {
            "sec" : 1.47086e+009,
            "usec" : 0
        }

The corresponding class would be MongoDB\BSON\UTCDateTime.

@alcaeus Thanks


Compilation error on OBJC_ASSOCIATION_RETAIN_NONATOMIC

Compilation error:
1>E:\path_to_project\MyFile.m(146,33): error : reference to 'OBJC_ASSOCIATION_RETAIN_NONATOMIC' is ambiguous
1>         E:\projects\WinObjC\include\objc/runtime.h(898,2) :  note: candidate found by name lookup is '::OBJC_ASSOCIATION_RETAIN_NONATOMIC'
1>         E:\projects\WinObjC\include\objc/runtime.h(898,2) :  note: candidate found by name lookup is '::OBJC_ASSOCIATION_RETAIN_NONATOMIC'
1>         E:\projects\WinObjC\include\objc/runtime.h(898,2) :  note: candidate found by name lookup is '::OBJC_ASSOCIATION_RETAIN_NONATOMIC'

I have import for runtime header as required:
#import <objc/runtime.h>
Looks like it works perfect for internal libraries
WYPopoverController.m
For me temporary workaround is pass int value.

If you disable ObjC modules does the error go away? Do this in one of two ways:

Set "Enable C and Objective-C Modules" to No under Clang->General in project properties
Modify ObjectiveCModules to false in the .vcxproj

Thanks. This is fixing one problem, but creates two another :)
Then, @import does not work, which is clear because of modules disabled.
And DWORD, BYTE, etc. windows types appearing available, not sure if it's good sign.

@sakrist will it be possible for you to share a small repro code?
Also, I am not exactly sure what you mean by "And DWORD, BYTE, etc. windows types appearing available".
Do you mean that they become available?
If yes, I don't think that is going to cause any harm.
My guess is that this is happening because runtime.h becomes part of two separate modules, which your code imports and therefore, the symbol becomes ambiguous. A repro code will really help to resolve this issue sooner.

@mukhole

will it be possible for you to share a small repro code?

I will try make one.

Do you mean that they become available?

Yes. Ok then. :)

Here is example
TestRuntime.zip
Also this example contains performance test for NSMutableDictionary.
// Release configuration
Macbook Pro retina Mid 2012 execution Time = 0.072745
Simulator execution Time = 0.073937
iPad Pro execution Time = 0.052146
iPhone 6s execution Time = 0.067340
iPad Air execution Time = 0.230346
WinObjC execution Time = 0.203197

This is fixed by https://github.com/Microsoft/WinObjC/pull/1515


Additional window when site is empty

Hi,
at the moment if you have a new site in bookstack (markdown) and it is empty like that:

And users try to safe it there comes an error message:

I think it would be nice to have an error message like that:

The reason is, that this is easier to support. I had often the problem that users say "OMG I got this error, broke I bookstack ?"

Thanks for raising @pboatone. This is a bug, we should just allow the page to be saved in an empty state as per the WYSIWYG editor. Assigned to the next patch release.


Still need to use the "Enable CORS" feature on AWS Console to get CORS to work

I've just installed this plugin on a Serverless 0.5.6 project and it does create the OPTIONS endpoints, but my HTTP requests are failing with the following error message:
Fetch API cannot load .... Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:4200' is therefore not allowed access. The response had HTTP status code 403. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

However, if I go in to the AWS Console and use the "Enable CORS" feature then it all works as expected.
I also noticed that endpoint remove doesn't remove the OPTIONS endpoints.

Hello @aexmachina! Can you share your CORS configuration?
The remove function indeed does not remove the preflight (OPTIONS) endpoints. Unfortunately, there's not much we can do about that in the current (stable) version of Serverless. V1.0 however has native support for CORS!

Hi @joostfarla, not sure what you're asking for but here's the custom from the s-function.json block:
  "custom": {
    "cors": {
      "allowOrigin": "*",
      "allowHeaders": ["Content-Type", "X-Amz-Date", "Authorization", "X-Api-Key"]
    }
  }

Hi @aexmachina, your configuration looks fine! Some things you could check:

Is the plugin enabled in your s-project.json file?
Did you deploy the endpoints using serverless deploy -a (the -a flag is important)
Are you using any custom models or other plugins?

Yes, yes, and just the Babel plugin.
On Fri, 9 Sep 2016 at 6:32 PM, Joost Farla<EMAIL_ADDRESS>wrote:

Hi @aexmachina https://github.com/aexmachina, your configuration looks
fine! Some things you could check:

Is the plugin enabled in your s-project.json file?
Did you deploy the endpoints using serverless deploy -a (the -a flag
is important)
Are you using any custom models or other plugins?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/joostfarla/serverless-cors-plugin/issues/28#issuecomment-245852750,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAP-rHdLtfWESA_ax3us2yGYV54nHAC2ks5qoRmKgaJpZM4J3h8J
.

Hmm strange, can you check what the exact response (status code + headers) of the OPTIONS endpoint is?
You can check this via your browser's developer tools or using the Postman client.

@joostfarla it turns out it was a problem with the API Key and API Gateway providing unhelpful error messages.


Export support other metrics different at Compute?

Hi @frodenas , i'm running the exporter with this params:
 docker run -p 9265:9255 frodenas/stackdriver-exporter -google.project-id my-project -monitoring.metrics-type-prefixes "bigquery.googleapis.com,compute.googleapis.com" -log.level debug
I run on debug log level, and saw the call to BigQuery metrics:
time="2017-12-27T15:20:07Z" level=debug msg="Listing Google Stackdriver Monitoring metric descriptors starting with `compute.googleapis.com`..." source="monitoring_collector.go:210"
time="2017-12-27T15:20:07Z" level=debug msg="Listing Google Stackdriver Monitoring metric descriptors starting with `bigquery.googleapis.com`..." source="monitoring_collector.go:210"

Example of one call from bigquery that i'm sure that have metrics:
time="2017-12-27T15:11:57Z" level=debug msg="Retrieving Google Stackdriver Monitoring metrics for descriptor `bigquery.googleapis.com/query/count`.
.." source="monitoring_collector.go:166"

But into /metrics, don't have any referente to this values
Is this metrics supported? I saw similar issue with any other metrics different to "compute".
thanks!

@cdgraff Try increasing the monitoring.metrics-interval. Some Stackdriver metrics have latency and might happen that the time-series do NOT contain any data point at the default 5m interval.

thanks! that works!!! and BTW; if this happens to others, reminder to enabled StackDriver monitoring too :( Compute was by default but BigQuery and others possible not has Stats if you don't import into Stackdriver.


Tutorial doesn't work for us govcloud users. No regions available to select when creating app.

When following the instructions to connect to azure, after connecting and giving static web app a name, it asks to select regions. No regions are available when you log into azure for us government. https://learn.microsoft.com/en-us/azure/governance/policy/how-to/extension-for-vscode
My industry requires the us government tenant or a GCC High tenant.

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

ID: 59b3b161-b559-f90b-1566-f18776a5f7da
Version Independent ID: 3e536234-16ad-2ed3-fb58-c128ba2faab2
Content: Quickstart: Building your first static site with the Azure Static Web Apps
Content Source: articles/static-web-apps/getting-started.md
Service: static-web-apps
GitHub Login: @craigshoemaker
Microsoft Alias: cshoe

@terran071
Thanks for the feedback! We are currently investigating and will update you shortly.

@terran071 Thanks again for the feedback! AFAIK Static Web Apps is not available on Gov clouds.
See: https://devblogs.microsoft.com/azuregov/   for recent announcement, Also suggest you to reach out and share your feedback for Static web app and region, all of the feedback, you share in these forums will be monitored and reviewed by the Microsoft engineering teams responsible for building Azure.
Additionally, users with a similar request can up-vote you post and add their comments.
We will close this out but if you feel you need more information please just let us know.


Are collisions in fixity digests handled gracefully?

The current process for comparing version states during validation is naive about collisions in fixity digests. Collisions in fixity should be handled gracefully, not seen as an inconsistency.

While there is an issue in the SameContentAs() method linked above, it doesn't appear to have any detrimental effects because it's currently only used to compare corresponding content streams (i.e., the same logical path for the same version, but in different inventories). In this case, an inconsistency in the digests on the two sides of the comparison would be a real concern (i.e., the same content has different digests in different inventories).
By guess is the bug would occur if you were to use this to diff separate versions: for examples, if a file in version 1 is replaced with a file in version 2 that has the same md5 but a different sha256.


Prepare object_store 0.5.6

Which issue does this PR close?

Closes #.
Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

I intend to merge this and cut the release tomorrow morning (BST)


Need to clarify wei and pla in documentation

Part five variable name extensions _wei and _pla are not documented yet.
wei = weighted average (weekday/weekenday => 5/2 ratio)
pla = plain average

Also need to clarify TP_IN2MVPA and TP_IN2LIPA


Readme WSGI example doesn't find the correct folder

Hello,
Trying to run the WSGI example on readme doesn't work when runned in any other folder than the one the .env lives.
For example, having a folder with a .env a file named main.py:
import os
import dotenv

print("Loading file:", os.path.join(os.path.dirname(os.path.dirname(__file__)), '.env'))
dotenv.read_dotenv(os.path.join(os.path.dirname(os.path.dirname(__file__)), '.env'))

Running on the same folder works without problems:
$ python main.py
Loading file: .env

Moving to another folder, fails:
$ python path/to/main.py
Loading file: .env
dot_env_example/main.py:5: UserWarning: Not reading .env - it doesn't exist.
  dotenv.read_dotenv(os.path.join(os.path.dirname(os.path.dirname(__file__)), '.env'))

This can be avoided removing the duplicated os.path.dirname part:
 $ python path/to/main.py
Loading file: path/to/.env

Is the parameter supposed to be entered relative to the main.py folder, or relative to the folder being run?
Cheers!

I just ran into this issue in my own environment.
Changing
dotenv.read_dotenv(os.path.join(os.path.dirname(os.path.dirname(__file__)), '.env'))
to
dotenv.read_dotenv(os.path.join((os.path.dirname(__file__), '.env'))
is what fixed the problem for me.
Hope this helps!


Update hdinsight-hbase-tutorial-get-started-linux.md

When I follow the steps above to connect to HBase via Hive, this command does not work for me:  SELECT count(*) FROM hbasecontacts;
It always only returns '0'. When I change the command to for example SELECT count(rowkey) FROM hbasecontacts; the correct count is returned.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@seb-dataworks : Thanks for your contribution to the Azure documentation! The author, @mumian, has been notified to review your proposed change.

Thank you for the feedback.  Because there is a merge conflict, it would be easier for me to implement the change in a different PR.  Please close this PR without merging.


Support Github dependabot in generated project

Context
We should regularly check our project's dependencies and keep them up to date. GitHub provides Dependabot, we can use Dependabot to keep the dependencies in the project up to date.
Solution
we should also generate a .github/dependabot.yml file like this one https://github.com/Azure/azure-spring-initializr/blob/main/.github/dependabot.yml, based on the build tool chose.

I think @fangjian0423 already got this done


Update CSV with real information

Is your feature request related to a problem? Please describe.
We definitely need an appropriate icon and description.
Describe the solution you'd like.
We do not have the icon or description at the moment so part of this effort will be to lock them down.
The preflight run may also provide more required updates so watch those results if they are available or we can just create new issues when those results become available.

From @itroyano
most changes go into https://github.com/redhat-openshift-ecosystem/operator-certification-operator/blob[…]ases/operator-certification-operator.clusterserviceversion.yaml
there’s an icon section where we’d put the base64 encoded icon.
and there’s the description, displayName, maintainers, links we’d like to enhance.
style changes can be tested during development, by pasting the file into https://operatorhub.io/preview.
also it’s possible to locally untar and look at the generated CSV with all the Roles and Deployment -
docker pull https://quay.io/repository/opdev/operator-certification-operator-bundle:353ed1914adfe4d20c73fece8afbdd3de239b079
docker images --> get image id
docker save <image_id> -o bundle.tar && tar -xf bundle.tar  --> untar the layer and open up CSV.

also, plan is to support 4.8 and 4.9
https://access.redhat.com/support/policy/updates/openshift#dates

csv code links are broken....
anyways it's
/config/manifests/bases/operator-certification-operator.clusterserviceversion.yaml
and
/bundle/manifests/operator-certification-operator.clusterserviceversion.yaml

This may or may not make sense, but below is a link I just submitted to community operators, that has a checklist for some of the things in needed in the CSV. Let me know if this is helpful or makes sense.
https://github.com/k8s-operatorhub/community-operators/pull/404

/assign


Actual results
Error (Xcode): 'Flutter/Flutter.h' file not found
/Users/me/apps/myapp/ios/Runner/GeneratedPluginRegistrant.h:9:8
Error (Xcode): failed to emit precompiled header
'/Users/me/Library/Developer/Xcode/DerivedData/Runner-dpambswswsgpmjcovgqrqfbvwycq/Build/Intermediates.noindex/PrecompiledHeaders/Runner-Bridging-Header-swift_32WP8FD3Z0IT8-clang_14TOH7QCSTDMV.pch' for bridging header
'/Users/me/apps/myapp/ios/Runner/Runner-Bridging-Header.h'
Encountered error while building for device.
Logs

Logs

<!-- Paste your logs here -->

Flutter Doctor output

Doctor output

[✓] Flutter (Channel stable, 3.24.0, on macOS 14.5 23F79 darwin-x64, locale en-ID)
    • Flutter version 3.24.0 on channel stable at /Users/Herdiana/fvm/versions/3.24.0
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 80c2e84975 (7 weeks ago), 2024-07-30 23:06:49 +0700
    • Engine revision b8800d88be
    • Dart version 3.5.0
    • DevTools version 2.37.2

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/Herdiana/Library/Android/sdk
    • Platform android-34, build-tools 30.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /Applications/Android Studio.app
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)

[✓] VS Code (version 1.93.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.92.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 14.5 23F79 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 128.0.6613.138

[✓] Network resources
    • All expected network resources are available.

• No issues found!

@herdianajones
Check this and see if it helps to resolve your issue or not.

thank you @darshankawar . Will try


Geodetic -vs- Geodesic lines

Do our tools create "geodetic" or "geodesic" features? I personally am confused by this. I was under the impression that features that are created that honor the Earth's curvature are "geodetic" while something that relates directly to geodesy is "geodesic". To me, this means that we create "geodetic" lines, not "geodesic". However, our distance and direction add-in says it is creating "geodesic" lines. Are these terms completely interchangable, i was under the impression they are not.  Maybe this is a non-issue.
@mfunk can you please weigh in on this?
Our core software says that we create "geodetic" lines?
https://pro.arcgis.com/en/pro-app/tool-reference/data-management/bearing-distance-to-line.htm
i set milestone to next @nfeuerstein can you please prioritize, and if we don't get an answer, approach someone directly about finding an answer

as far as correctness, it is semantics, but we should pick a way and stick with it. we look silly using them interchangeably without any reason. my vote is for "geodetic" as that is the way that core software refers to the type of lines our software is creating.
https://pro.arcgis.com/en/pro-app/tool-reference/data-management/bearing-distance-to-line.htm
google told me they are nearly interchangeable. speaking to an subject matter expert i was told that either are ok, so once again, i elect that we stick with how core does it.

to-may-to vs to-mah-to situation?

@pHill5136 this is the issue i was yacking about... i think the only note i don't already state in this issue is that we want to make these changes in all three ... pro, arcmap, and the widgets

also ... "geodetic" is what we decided we are going to use

@kgonzago since you're here... can we get this to happen in the widgets? me and @pHill5136 talked about this... we think it should only exist in distance and direction.

replicated by #285

This has been verified.

If your team measure it experimentally then you did a geodetic measurement or geodetic survey.
If your team calculate it analytically or computationally then you did a geodesic calculation. Now if your team show results from tabulated measurements then you don't have to be confused because is geodetic.
The key question is if
Do you present values from tabulated experimental data or results from a physical model?
Cheers!


CLOUDP-149874: export jobs should use exportJobID

Description
Updated backup export jobs to take jobId flag as opposed to bucketId
Link to any related issue(s):
Type of change:

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Required Checklist:

[x] I have signed the MongoDB CLA
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added any necessary documentation (if appropriate)
[ ] I have run make fmt and formatted my code

[q] Do we need to open a ticket for the terraform/cfn teams to make sure they are aligned with this change?

Great point! We should check if they are also using the bucketId on any calls and make the same update.
cc @Zuhairahmed

Thank you @blva and @colm-quinn. Created INTMDB-523 to get this updated in Terraform. We haven't gotten to development work of this resource yet in CFN, but will have team double check that they are pulling from latest release of go-client when they begin so shouldn't be an issue.


get_data and others elements are not define

I have a few errors in netbook :
NameError: name 'get_data' is not defined
NameError: name 'normalize_data' is not defined
NameError: name 'x_train' is not defined
NameError: name 'model' is not defined
NameError: name 'x_test' is not defined

Hello,
The error is because the dataset is not in the repository and because the "get_data" function is not in the notebook.
The dataset is too large to be stored in the repo.
To get your own data, you can use this script https://github.com/sky54000/Scroller_bittrex_websocket_node , it gets the data and stores it in a database.
Then to use this data connect your notebook via "pymysql"  or dump and transform in CSV format.
the function get_data return this format :
[
  {
    "name": "Your market name (ex. BTC-NEO)",
    "data": "Pandas dataframe of the market"
  },
]

But you right, I will add some documentation about that in the notebook and in the README.md.

Thanks. Yes you can add a little dataset for exemple.

Hello,
I added some explanations in the documentation that can help you run the notebook.
We are not able to upload our dataset because of the file size and a small one is not a good thing.
It is not a good thing because on a little dataset the result can be disappointing, but to reproduce the same dataset than ours, you can use this software Scroller_bittrex_websocket_node.


Additions and Bug Fixes

Logs:

Add Arduino debug log message toggle.

Farmware:

HSV selection improvements.
Camera calibration and weed detection widgets device is offline overlay.

Coverage increased (+0.01%) to 81.245% when pulling 407b6a06952726e8d31d15a9982646702c6f980e on gabrielburnworth:master into c86fe77d1640279955078c43123cfaba24825300 on FarmBot:staging.

Coverage increased (+0.06%) to 81.292% when pulling 4d3f3f967b971689bec1faba664c6141baa2ec8c on gabrielburnworth:master into c86fe77d1640279955078c43123cfaba24825300 on FarmBot:staging.


Location of ArrayFire libraries without LD_LIBRARY_PATH

Hi,
We are not using LD_LIBRARY_PATH on our system because
https://gms.tf/ld_library_path-considered-harmful.html
Is there another way than LD_LIBRARY_PATH to point to the location of the arrayfire libraries to the python wrapper ?
https://github.com/arrayfire/arrayfire-python/wiki

I think I found AF_PATH, except that I need to patch library.py to search into AF_PATH/lib64 rather than AF_PATH/lib on our system.

I think I found AF_PATH, except that I need to patch library.py to search into AF_PATH/lib64 rather than AF_PATH/lib on our system.

Indeed. With this patch : https://raw.githubusercontent.com/ComputeCanada/easybuild-easyconfigs/24d7c83ab19d4d5da346daaca7863b4dad18988d/easybuild/easyconfigs/a/ArrayFire/arrayfire-python-3.6.20180117-lib64.patch
and by defining AF_PATH, libraries are found.

Indeed. With this patch : https://raw.githubusercontent.com/ComputeCanada/easybuild-easyconfigs/24d7c83ab19d4d5da346daaca7863b4dad18988d/easybuild/easyconfigs/a/ArrayFire/arrayfire-python-3.6.20180117-lib64.patch
and by defining AF_PATH, libraries are found.


Adding styles to the about us page

Adding styles to the about us page
@codervivek5 Please assign me this under GSSoC 2024

@codervivek5 Please assign me this under GSSoC 2024

Hello
please assign this issue to me under GSSOC24


My Changes

IPv4-only address
Remove other debugging for Release Build

Please amend the pull request - the first 5 commits in the pull request I would be fine with.
I don't want to have exceptions in main - that is only there for release and is commented out for a reason (it hides where the error actually is). I also don't want XNAControls.csproj as part of EndlessClient.sln - XNAControls is completely independent of EndlessClient.
I thought when I checked earlier today that the pull request originally only had the first 5 commits in it - did it get updated? I'm starting to get annoyed with git... :-/

Well, I remade it so it had only 2, as you can see my description.
I put XNAControls to test, wasn't supposed to appear here, omg.


Add health check post lambda deploy.

Depends on membrane health check change for the lambda gateway.
Results are promising, to test yourself locally you'll need to host a custom membrane somewhere with HTTPS to include in the docker image (buildx only supports secure sources).

Codecov Report
Base: 32.41% // Head: 32.59% // Increases project coverage by +0.17% :tada:

Coverage data is based on head (e6bf187) compared to base (4141d62).
Patch coverage: 66.66% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #337      +/-   ##
===========================================
+ Coverage    32.41%   32.59%   +0.17%
===========================================
  Files           52       52
  Lines         4889     4915      +26
===========================================
+ Hits          1585     1602      +17
- Misses        3148     3155       +7
- Partials       156      158       +2

Flag
Coverage Δ

unittests
32.59% <66.66%> (+0.17%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/provider/pulumi/aws/aws.go
50.34% <14.28%> (-0.90%)
:arrow_down:

pkg/provider/pulumi/aws/lambda.go
72.51% <85.00%> (+1.72%)
:arrow_up:

pkg/provider/pulumi/gcp/cloudrunner.go
78.76% <0.00%> (+0.18%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Re-write all components from all packages using hooks

Remaining:

[ ] Stuff in react-async
[ ] Stuff in react-google-analytics
[ ] ImportRemote (Matt's on it)
[ ] ShopifyAppRoutePropagator (Michelle's on it)
[ ] ShotcutProvider
[ ] TrackingPixel

Going to call this finished for now 👍


How to disable the repetition of the images in the carousel in a gallery with few pictures

Hey there,
I´m using the carousel gallery.
Some gallerys have few images but the width of the gallery is > 700px.
So the images get repeated. I want to ask, how to disable this.

"Schweigen im Walde" :(
I made little dirty workaround for this issue
<?
$number_of_images=0;
// this fills my array of images & increases $number_of_images
while([...])
{
    // Fill an array of images, whatever
    $number_of_images++;
}

/* reduce witdh of gallery if number of images is less than e.g. 6 */
// if $number_of_images ist smaller than 6, than fill style attribut max-width
// 160 is the estimated witdh of each image + margin/padding (adjust for your needs)
if($number_of_images<6) $max_width=' max-width:'.($i*160).'px;';

// surround div.gallery with a  parent div, which gets the max-width if needed.
 	$out.='

'.$caroussel_images.'

';


How does Instaloader count downloads towards 429 query limit?

Given that instaloader keeps an internal tracker for number of requests, and given that media seems to be served from the same endpoints as the API (ex: instagram-p3-shv-01-sea1.fbcdn.net), does instaloader count media downloads towards this internal limit?
Taking a quick look at the code, it appears that it doesn't, and instead the get_raw() function will just issue a request without going through the same system that graph queries go through.
Could this be the cause of people hitting the 429s without instaloader being able to throttle itself internally?

Instaloader does not keep track of its requests to these CDN servers, i.e. the media downloads themselves are not counted by Instaloader's internal rate controller. So get_raw() indeed just issues a request without that it is recorded anywhere within Instaloader.
This behavior is based on the assumption that there is no rate limiting on the servers where the media files are hosted. The domain names of the CDNs are completely different than the domain names of the servers for the GraphQL or iPhone queries.
The 429 problems reported in #774 could be reproduced without doing any request to a CDN server. These were completely explicable by the rate controller being misconfigured regarding the allowed rates of the iPhone queries.


Transaction page should show transactions for selected account

Transaction page should show transactions for current active account. If no account is selected, it should show and empty list with no account selected message.
If no transactions exist for the account selected, it should show appropriate message

@manishram Fixed.


undefined method `rails5?' for Devise::Test:Module in 4.4.2

Environment

Ruby 2.3.5
Rails 5.1.5
Devise 4.4.2

Current behavior
Controller specs where the user is not authenticated fail with this exception:
undefined method `rails5?' for Devise::Test:Module in 4.4.2

An example stack trace is:
NoMethodError:
       undefined method `rails5?' for Devise::Test:Module
     # /Users/moncefbelyamani/.gem/ruby/2.3.5/gems/devise-4.4.2/lib/devise/test/controller_helpers.rb:142:in `_process_unauthenticated'
     # /Users/moncefbelyamani/.gem/ruby/2.3.5/gems/devise-4.4.2/lib/devise/test/controller_helpers.rb:118:in `_catch_warden'
     # /Users/moncefbelyamani/.gem/ruby/2.3.5/gems/devise-4.4.2/lib/devise/test/controller_helpers.rb:35:in `process'
     # /Users/moncefbelyamani/.gem/ruby/2.3.5/gems/actionpack-5.1.5/lib/action_controller/test_case.rb:392:in `get'
     # /Users/moncefbelyamani/.gem/ruby/2.3.5/gems/rails-controller-testing-1.0.2/lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>'
     # ./spec/controllers/application_controller_spec.rb:103:in `block (4 levels) in <top (required)>'

Expected behavior
Tests that used to pass with Devise 4.4.1 continue to pass when upgrading Devise to 4.4.2

This bug was introduced here: https://github.com/plataformatec/devise/commit/3e23371b01443d6b8bdbfcbdcd33d2883847e39d#diff-bafaaa60fc003e648eb4981c9add523e

The same with me + 1

Ouch, the test helpers are using a method from devise's internal test suite, this is definitely wrong.
Sorry about this, we'll look into a fix.

@monfresh can you test if this is fixed by using the branch of #4809?
I wanted to make sure it's working before merging the pull request.

@tegon It works. Thanks!

38 minutes after this was closed, I just had this issue too! When is the next proposed release to include this fix?
Cheers.

@rikkipitt I hope to release it today. There's another fix I want to include in this patch, but I think we can finish today.

@tegon Is release happening today?  We are considering pinning to keep our work moving forward, but if it is going to be released any minute... we'll wait.

@tegon, do you anticipate a release that fixes all the deprecation messages that come when using devise with rails 5.1.5?

@elrayle sorry for taking so long to reply. It turns out I couldn't get the other fix ready until today.
But it's version 4.4.3 is now released.
Thanks everyone for your patience.

@mileslane not yet, but we can look into it. Can you open a different issue for this?

@tegon, surely.  Thanks very much.

Thanks so much for cutting a new release!  Had similar issues and it was annoying.  Great work as always! 👍

Not sure if I should open another issue for this, but it appears the gem is cut/released to Rubygems, but when including it in the Gemfile as gem 'devise', '~> 4.4', '>= 4.4.3' and running bundle update devise I get the following error:
Could not find gem 'devise (>= 4.4.3, ~> 4.4)' in any of the gem sources listed in your Gemfile.

@nynhex I don't think this is a devise issue, it looks more like a bundler/rubygems issue.


Sort datasets and workload lists by CreatedAt when displaying them

Not sure if you guys want this, but I'm running it locally and thought I'd at least see if you're interested. Because deleting datasets is impossible now, over time a users of nerdalize acquire many datasets. When listing datasets through nerd dataset list, these datasets are sorted alphabetically by their id, which makes it annoying to look up your latest dataset:
DATASET ID             CREATED
002b53d2a66d867bfd39   22 hours ago
10ae4676e566b78ed181   1 week ago
16a8b1ae95d8ad6401b5   4 days ago
2099d906eecb09d8c705   2 weeks ago
2b132510d0ebe9d81d86   2 weeks ago
3956b8ae7a08070ba699   21 hours ago
474f33d367740dec8a92   1 week ago
52ca6562822f339d270a   21 hours ago
62bfd2d9fd4c7c0e508e   1 month ago
7411f097edd9a18deb85   4 days ago
8c2306f7af1bb5bf6e2f   2 weeks ago
a6f66206aef6415a39d1   1 month ago
ad4c8763890abaa1d833   2 weeks ago
b6073dbea6aac739c665   1 week ago
bf961405b88624dc7dd7   1 month ago
ca7a82708eaf30508915   1 month ago
cbcf47cefde806f2fc07   19 hours ago
e789d7e1528b4ea032c3   1 day ago
e826dce77e1253f05bc2   2 weeks ago
f4684fdeef9a2c58111e   2 weeks ago

Sorting them by dat makes it possible for me to easily see what was the newest dataset:
DATASET ID             CREATED
bf961405b88624dc7dd7   1 month ago
a6f66206aef6415a39d1   1 month ago
ca7a82708eaf30508915   1 month ago
62bfd2d9fd4c7c0e508e   1 month ago
2099d906eecb09d8c705   2 weeks ago
8c2306f7af1bb5bf6e2f   2 weeks ago
e826dce77e1253f05bc2   2 weeks ago
ad4c8763890abaa1d833   2 weeks ago
2b132510d0ebe9d81d86   2 weeks ago
f4684fdeef9a2c58111e   2 weeks ago
474f33d367740dec8a92   1 week ago
10ae4676e566b78ed181   1 week ago
b6073dbea6aac739c665   1 week ago
16a8b1ae95d8ad6401b5   4 days ago
7411f097edd9a18deb85   4 days ago
e789d7e1528b4ea032c3   1 day ago
002b53d2a66d867bfd39   22 hours ago
3956b8ae7a08070ba699   21 hours ago
52ca6562822f339d270a   21 hours ago
cbcf47cefde806f2fc07   19 hours ago

For good measure, I've added the same sorting to workloads, where a similar thing could happen. It might be a better idea to apply sorting server-side, but in absence of that, this works for now.
Cheers!

Hey Joost! It has been a while and we've been working hard on a new version of our CLI, the good news is that it comes with a nicely sorted list of datasets! I'm closing this in favor of the new version, but thank you for taking the time to setup this fix!


Need to think about what to do when two bugs attempt to eat the same piece of food.

Eating only takes place at contact start. It should be continuous after contact until contact has been stopped.

Also, the cost of eating should depend on the time spent TryingToEat rather than the system triggering every second.


ImportError: cannot import name 'Required' from 'typing' (/usr/local/lib/python3.11/typing.py)

When I run this code
`from scrapegraphai.graphs import SmartScraperGraph
import nest_asyncio
graph_config = {
"llm": {
"model": "ollama/mistral",
"temperature": 0,
"format": "json",  # Ollama needs the format to be specified explicitly
"base_url": "http://localhost:11434",  # set Ollama URL
},
"embeddings": {
"model": "ollama/nomic-embed-text",
"base_url": "http://localhost:11434",  # set Ollama URL
}
}
smart_scraper_graph = SmartScraperGraph(
prompt="List me all items",
# also accepts a string with the already downloaded HTML code
source="https://www.url.com",
config=graph_config
)
nest_asyncio.apply()
result = smart_scraper_graph.run()
print(result)
`
I got the following error

VERSIONS
Ubuntu - 20.04
Scrapegraphai - 1.7.4

have you tried to run without asyncio?

hi please update to the new version


s2n compilation on CentOS 6.5 with gcc 4.4.7 fails

Build OS: CentOS 6.5
GCC version: 4.4.7
Compilation of s2n fails with following error:
-- 8< --
s2n_connection.c: In function ‘s2n_connection_wipe’:
s2n_connection.c:195: error: #pragma GCC diagnostic not allowed inside functions
s2n_connection.c:196: error: #pragma GCC diagnostic not allowed inside functions
s2n_connection.c:204: error: #pragma GCC diagnostic not allowed inside functions
make[1]: *** [s2n_connection.o] Error 1
make[1]: Leaving directory `/home/schinnas/work/src/s2n/tls'
make: *** [libs] Error 2
-- 8< --
I am not sure whether it's harmless to remove the #pragma lines and compile. However, it would be good to support older gcc compilers.
Please let me know if I am missing something.

Without the pragma, it doesn't seem to compile using the latest gcc on Ubuntu. Catch 22! Fixing this may require some preprocessor checks. Thanks for the report!

This fix suggested it handled things on OpenCV:
https://github.com/Itseez/opencv/pull/3373/files
Discussion: http://code.opencv.org/issues/3912

should be fixed by #189


Feature Request: Specify Field of View for SceneView

Hello everyone.
I'm trying to create a scene view for my model and my model got deformed when I'm approximate the camera, see above:

There is a correction on camera properties or something else to correct the view?
Thanks.
Regards, Perone.

It looks like it is being rendered close to the camera, and the perspective matrix transform is being applied to it. Otherwise it looks correct. If you load a different model, does it look incorrect?

Hi @gstanlo
On the same subject, is there any easy way to change the camera fov in sceneForm? From the documentation the "closest" thing I can see is by passing the full projection matrix, which frankly is plain insane IMO. Also, there's zero info about how it expects this matrix to be. What is the projection matrix for a camera fov of 20º for instance?
Regards,
Eugenio

Tracking this as a feature request for setting a FOV in SceneView.

Hi @malik-at-work there are some prevision to this feature?
Thank you.

@malik-at-work looking for an update on this too!

The code is in for this in an upcoming release.  Note the new API will only allow this for 3D scenes however. The projection matrix in AR mode matches the camera.

thank you! this fix worked


Infer mixed type with action and rule call

Closes https://github.com/eclipse-langium/langium/issues/1540
The main issue was that the array copy call in line 239 was missing. Instead, all rule calls were copied to all paths, which was pretty incorrect. I believe this accidentally worked as expected but broke with #1473.

cc @cdietrich Can you check whether this PR fixes the issue for you?

tried with
"dependencies": {
        "langium": "file:///Users/dietrich/git/langium/packages/langium",
        "vscode-languageclient": "~9.0.1",
        "vscode-languageserver": "~9.0.1"
    },
    "devDependencies": {
        "@types/node": "^18.0.0",
        "@typescript-eslint/parser": "~7.3.1",
        "@typescript-eslint/eslint-plugin": "~7.3.1",
        "eslint": "~8.57.0",
        "langium-cli": "file:///Users/dietrich/git/langium/packages/langium-cli",

and it seems to work

@cdietrich I've also just published 3.1.0-next.cbc5db3, in case you want to try that which contains the changes.

thx. we are compilable again. so i can continue evaluating

looks good

@cdietrich Thank you for testing :)


Not working after upgrading to El Capitan OSX 10.11

I just upgraded my OSX and the autocomplete just doesn't work anymore (i hit tab, and i get a list of files in that folder, but not the git-flow commands)
any hint?

Not without more info :)
What shell are you using? How did you install git-flow? Do you use an os package manager or shell plugin manager? Does regular git completion work for you? Does any other tab completion (besides files) work?

fair enough :)
i use iTerm + zsh + oh-my, and brew to install most of the packages (used to install both git and git-flow)
Regular git completion works, as well as other tab completion (besides files) such as grunt, bower, pip, pyenv, brew, and others.
let me know if you need any further infos
thanks

Also doesn't work here.
zsh 5.1.1 (x86_64-apple-darwin15.0.0)
git-flow and zsh installed by homebrew
git and many other tab-completions still work

@joshuakarjala what version of git are you using.. i have two macbook's both on el capitan.. one works the other doesn't..
Working

zsh 5.0.8
oh-my-zsh - latest from upgrade_oh_my_zsh
git 2.3.8

Non Working

zsh 5.0.8
oh-my-zsh - latest from upgrade_oh_my_zsh
git 2.5.3

zsh 5.1.1
oh-my-zsh - latest from upgrade_oh_my_zsh
git 2..6.2

On Fri, Oct 23, 2015 at 7:21 PM, Mike DeVita<EMAIL_ADDRESS>wrote:

@joshuakarjala https://github.com/joshuakarjala what version of git are
you using.. i have two macbook's both on el capitan.. one works the other
doesn't..
Working

zsh 5.0.8
oh-my-zsh - latest from upgrade_oh_my_zsh
git 2.3.8

Non Working

zsh 5.0.8
oh-my-zsh - latest from upgrade_oh_my_zsh
git 2.5.3

—
Reply to this email directly or view it on GitHub
https://github.com/bobthecow/git-flow-completion/issues/43#issuecomment-150714369
.

I think this has to do with _git completion in /usr/share .. It's not writable on capital because of the system integrity stuff. I could be wrong though. Haven't tested it yet.
Sent from my iPhone

On Oct 24, 2015, at 4:45 AM, Joshua Karjala-Svendsen<EMAIL_ADDRESS>wrote:

zsh 5.1.1
oh-my-zsh - latest from upgrade_oh_my_zsh
git 2..6.2

On Fri, Oct 23, 2015 at 7:21 PM, Mike DeVita<EMAIL_ADDRESS>wrote:

@joshuakarjala https://github.com/joshuakarjala what version of git are
you using.. i have two macbook's both on el capitan.. one works the other
doesn't..
Working

zsh 5.0.8
oh-my-zsh - latest from upgrade_oh_my_zsh
git 2.3.8

Non Working

zsh 5.0.8
oh-my-zsh - latest from upgrade_oh_my_zsh
git 2.5.3

—
Reply to this email directly or view it on GitHub
https://github.com/bobthecow/git-flow-completion/issues/43#issuecomment-150714369
.

—
Reply to this email directly or view it on GitHub.

same settings as @joshuakarjala here:

zsh 5.0.8 (x86_64-apple-darwin15.0)
oh-my-zsh - latest from upgrade_oh_my_zsh
git version 2.6.2
iTerm2 Build 2.1.4
OS X El Capitan (10.11.1)

I got the same error/issue on my fresh install mbp. I have the same environment as @davidetruffo

Same settings as @davidetruffo and I also get the error.

Hi @bobthecow,
any news on this? :)

From what I can tell, it should still be working. Looking and git and zsh source, I don't see a reason for it to break. But to be honest, I just don't know. I don't use zsh, so this version of the completion is largely user supported. For fun, can one of you replace your _git completion file with the current HEAD version here:
http://sourceforge.net/p/zsh/code/ci/master/tree/Completion/Unix/Command/_git?format=raw
… and see if that fixes things?

Will try it tomorrow

On 22 Nov 2015, at 18:23, Justin Hileman<EMAIL_ADDRESS>wrote:
From what I can tell, it should still be working. Looking and git and zsh source, I don't see a reason for it to break. But to be honest, I just don't know. I don't use zsh, so this version of the completion is largely user supported. For fun, can one of you replace your _git completion file with the current HEAD version here:
http://sourceforge.net/p/zsh/code/ci/master/tree/Completion/Unix/Command/_git?format=raw
… and see if that fixes things?
—
Reply to this email directly or view it on GitHub.

no luck.. everything seems to be up to date..
I don't have much knowledge about bash-shell-scripts, but is there any way to make it fail loudly, or to see if the plugin actually loads?

I just uninstalled git 2.6.2 and stick with the apple git version and it works all fine

I just tried, and yes, it works properly with the apple version of git (git version 2.4.9 (Apple Git-60))

I also confirm it works when downgrading to git version 2.4.9 (Apple Git-60).

             ###                  User: zx1986
           ####                   Hostname: air
           ###                    Distro: OS X 10.11.1
   #######    #######             Kernel: Darwin
 ######################           Uptime: 2 days
#####################             Shell: /bin/zsh
####################              Terminal: screen iTerm.app
####################              CPU: Intel Core i5-3427U CPU @ 1.80GHz
#####################             Memory: 4 GB
 ######################           Disk: 79%
  ####################            Battery: 100
    ################              IP Address: .......
     ####     #####

zsh 5.1.1 (x86_64-apple-darwin14.5.0) with prezto
git version 2.6.3
not working :-(

I have close SIP feature,it also does not work.

Yes,my git installed by Homebrew, when I unlink git,use the system's git,it works.

Any progress on this at all?  Still works with git version 2.5.4 (Apple Git-61), but not with the higher-versioned Homebrew ones.

I faced the same issue. I haven't dug into it too much yet. It's unfortunate as Apple git is very old.

Hi people!
Just want to highlight that:

Mac OS 10.11.3
zsh 5.2 (x86_64-apple-darwin15.0.0)
git version 2.7.2 (the brewed one)
iTerm2 2.9.20160206
using git-flow-completion as a plugin it works again

I'm not sure why though :)

@davidetruffo can you provide some further configuration to help me get it going? I believe I have the same environment as you. I'm using oh-my-zsh with plugins git-flow-avh and git-flow-completion, but I've tried it with both git-flow and git-flow-avh.

@esetnik i'll do my best :)
I am using zsh and oh-my-zsh (don't know if that makes any difference honestly)
I've also realised that i had a git-flow-completion folder in my custom plugins (in .oh-my-zsh/custom/plugins) but it was actually not used (i removed it, and it's still working, maybe it was a legacy from some test i've done)
In my .zshrc file, i have those plugins enabled (i have many others, but those are the ones related to git)
git  git-flow
In the same file, i also have this line:
fpath=(/usr/local/share/zsh-completions $fpath)
but then again, i'm not sure if this is related.
Things that i've done recently:

update/upgrade brew
upgraded to iTerm2 v3 beta (the version number is 2.9.20160206)

Any better? :)

@davidetruffo Thanks so much for the detailed analysis. I found two points of discrepancy between my config and yours:

I had git-flow-completion enabled as a plugin. It's actually available in the .oh-my-zsh plugins directory but you may have followed the git-flow-completion instructions at one point which suggests cloning this repo as a custom plugin.
I did not have fpath=(/usr/local/share/zsh-completions $fpath)

I found that a combination of removing the git-flow-completion from the plugins and adding fpath=(/usr/local/share/zsh-completions $fpath) fixed it for me as well!
I'm not sure what that magic line does but it works and it might help @bobthecow get to the bottom of this.

@esetnik i'm glad i could help a bit :)
As far as i know, the magic line should tell zsh where to look for completions patterns. Perhaps zsh made it better and now it works. I'm not sure if this makes sense, so if anyone has some light to shed on this i'd be happy :)

@davidetruffo I actually realized that the suggestions you made did not persist to a new shell. I must have had the old Apple git sourced in the old shell. I currently have everything setup the same and can't get git flow completions with the previous solution.

@esetnik Apologies for the ridiculous late reply! Did you manage to make it work?
From my end, i can tell that it works fine now, and i removed the git-flow-completion plugin. Some details:

Mac OS 10.11.3
zsh 5.2 (x86_64-apple-darwin15.0.0)
git version 2.8.2 (the brewed one)
iTerm2 Build 2.9.20160426

Unfortunately not. I can only get it working with apple git and not brewed
one.
On Fri, May 13, 2016 at 7:14 AM Davide Truffo<EMAIL_ADDRESS>wrote:

@esetnik https://github.com/esetnik Apologies for the ridiculous late
reply! Did you manage to make it work?
From my end, i can tell that it works fine now, and i removed the
git-flow-completion plugin. Some details:

Mac OS 10.11.3

zsh 5.2 (x86_64-apple-darwin15.0.0)

git version 2.8.2 (the brewed one)

iTerm2 Build 2.9.20160426

—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/bobthecow/git-flow-completion/issues/43#issuecomment-219015809

out of curiosity, are you using git-flow from brew as well? which version? (i have 0.4.1)

Not working on osSierra either 😢

use Xcode's Git will fix this problem.

confirmed. Xcode's git version 2.7.4 (Apple Git-66) works fine.
If you use zgen, just add zgen oh-my-zsh plugins/git-flow to your .zshrc
and reset zgen by zgen reset

I am sharing my experience. I have the following with git-bash completion wasn't working:

OS: OS X El Captian 10.11.6
Git: git version 2.10.1 (Apple Git-78)
Shell: GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin15)
Homebrew: Homebrew 1.1.7

After I installed git version 2.11.0 via brew, it began working for me.

Found this issue via Google. So will post what fixed it for me:

brew uninstall git
brew install git --without-completions
Follow the instructions on how to use it as a plugin, doing a git clone because the one from the oh-my-zsh plugins directory didn't work for me

So now I have it working with the following versions:

Mac OS 10.12.5
zsh 5.3.1 (x86_64-apple-darwin16.6.0) (installed via brew)
git version 2.13.3 (installed via brew)


Added: Fugue integration

This PR creates the Fugue extension. Once both ipyvizzu and fugue are installed, the extension should be automatically registered, and users can do things like this:

@goodwanghan Thank you!


Fiber segmentation

Purpose
Adds fiber segmentation capabilities to the repo.
Implementation
Currently, only a simple function has been added, but the contents of a pending design doc will be added soon.
Remaining issues
Notebook, tests, visualizations.

@angelolab/computational_team just want some basic feedback on the general structure of the main fiber segmentation function.  Further changes will probably come from a different pr/branch merging into this one.
@ngreenwald I can draft a design doc for the notebook/visualizations that we'll want for this stuff later, but I just wanted to get some of the cleaned up fiber code up sooner than later

@ngreenwald how many FoVs should I add for the example dataset?  I was thinking 5 and having the default batch number be 3, as a "make sure the batching is working" measure.

Sure, that sounds good


use with vim-multiple-cursors

If i use https://github.com/terryma/vim-multiple-cursors your plugin saved after each changes, but not end multiply editing. How can I fix it?

@907th  I have the same issue
Vim version 7.3.429, got it form ubuntu 12.04
" vim-session autosave
let g:auto_save = 1
let g:session_autoload = 'no'
let g:session_autosave = 'yes'
let g:session_autosave_periodic = 3

Any way to support the compatibility for 7.3? Thanks.

I get the same issue as @ghost

seems resolved with #23


Fix file structuring

I believe the restructuring done last week (read: #45) didn't include all the file path references needed. The makefile points to the wrong folder, and most of the script tags in index.html don't point to the correct files.

How exactly should this be handled, what with the code being split into several files, what files should have a min. equivalent? How does the index refer to the code?


Compiling for Mac OS

Hi,
The code works perfect for me in dev version but when I try to package it using electron packager I've got an issue, the result does not show anymore on the packaged app.
If I open it with npm start instead I've got in the renderer console :
Error: Lost remote after 10000ms     at Object.createErrorResponse
Could this be an error comming from the python packaged part ?
Some complementary information :
I use Mac OS 10.12.5 Sierra with Python 2.7.13 (Anaconda custom)
When is try to exec the compiled python api I've got the following error :
./api 1 + 1 ImportError: dlopen(/Users/xxx/Documents/e2p/pycalcdist/api/zmq.backend.cython.error.so, 2): Symbol not found: _zmq_errno   Referenced from: /Users/xxx/Documents/e2p/pycalcdist/api/zmq.backend.cython.error.so   Expected in: flat namespace  in /Users/xxx/Documents/e2p/pycalcdist/api/zmq.backend.cython.error.so Failed to execute script api
I looked for many forums, uninstalled pyzmq and reinstalling it with pip but it didn't work.
UPDATE : I tried with python 3.5 in a conda virual env and it works. Fyi it does not work with python 3.6 because packaging is not yet supported
Thank you for your help,
Oliver

I am sorry that I haven't maintain this repo for a long time.
Thank you so much for your update.


Endless loop when using OIDC (cognito) as provider ERR_TOO_MANY_REDIRECTS

Hi Team, I am using cognito as oidc provider and I do get the login page. once authenticated, I get into a loop until browser stops it.
Here is my configuration
auth deployment
apiVersion: apps/v1
kind: Deployment
metadata:
  name: traefik-forward-auth
  namespace: backstage
  labels:
    app: traefik-forward-auth
spec:
  replicas: 1
  selector:
    matchLabels:
      app: traefik-forward-auth
  strategy:
    type: Recreate
  template:
    metadata:
      labels:
        app: traefik-forward-auth
    spec:
      terminationGracePeriodSeconds: 60
      containers:
      - image: thomseddon/traefik-forward-auth:2.1
        args:
          - --log-level=$(LOG_LEVEL)
          - --url-path="/oauth"
          - --default-provider=$(DEFAULT_PROVIDER)
          - --providers.oidc.issuer-url=$(PROVIDERS_OIDC_ISSUER_ID)
          - --providers.oidc.client-id=$(PROVIDERS_OIDC_CLIENT_ID)
          - --providers.oidc.client-secret=$(PROVIDERS_OIDC_CLIENT_SECRET)
        name: traefik-forward-auth
        ports:
        - containerPort: 4181
          protocol: TCP
          name: forward-ports
        env:
        - name: AUTH_HOST
          value: "backstage-dev.tools.resources.example.com"
        - name: COOKIE_DOMAIN
          value: "tools.resources.example.com"
        - name: LOG_LEVEL
          value: "info"
        - name: DOMAIN
          value: "pings.com"
        # INSECURE_COOKIE is required unless using https entrypoint
        - name: INSECURE_COOKIE
          value: "false"
        - name: DEFAULT_PROVIDER
          value: "oidc"
        - name: PROVIDERS_OIDC_ISSUER_ID
          value: "https://cognito-idp.eu-west-1.amazonaws.com/eu-west-1_635dae24"
        - name: PROVIDERS_OIDC_CLIENT_ID
          valueFrom:
            secretKeyRef:
              name: traefik-forward-auth-secrets
              key: traefik-forward-auth-google-client-id
        - name: PROVIDERS_OIDC_CLIENT_SECRET
          valueFrom:
            secretKeyRef:
              name: traefik-forward-auth-secrets
              key: traefik-forward-auth-google-client-secret
        - name: SECRET
          valueFrom:
            secretKeyRef:
              name: traefik-forward-auth-secrets
              key: traefik-forward-auth-secret

auth service
apiVersion: v1
kind: Service
metadata:
  name: traefik-forward-auth
  namespace: backstage
  labels:
    app: traefik-forward-auth
spec:
  type: ClusterIP
  selector:
    app: traefik-forward-auth
  ports:
  - name: auth-http
    port: 4181
    targetPort: forward-ports

auth ingress
kind: IngressRoute
apiVersion: traefik.containo.us/v1alpha1
metadata:
  name: traefik-forward-auth-ingress
  namespace: backstage
  labels:
    app: traefik-forward-auth
  annotations:
    kubernetes.io/ingress.class: "traefik-external"
spec:
  entryPoints:
    - websecure
  routes:
    - kind: Rule
      match: Host(`authenticate.tools.resources.example.com`)
      services:
        - name: traefik-forward-auth
          port: 4181
      middlewares:
        #- name: traefik-forward-auth
        - name: add-forwarded-headers

application ingress
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: backstage-ingress
  namespace: backstage
  annotations:
      kubernetes.io/ingress.class: "traefik-external"
spec:
  entryPoints:
    - websecure
  routes:
    - kind: Rule
      match: Host(`backstage-dev.tools.resources.example.com`)
      priority: 10
      services:
        - name: backstage
          port: 7007
      middlewares:
        - name: traefik-forward-auth

middlewares
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
  name: traefik-forward-auth
  namespace: backstage
spec:
  forwardAuth:
    address: https://authenticate.tools.resources.example.com/
    trustForwardHeader: true
    authResponseHeaders:
      - X-Forwarded-User
---
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
  name: add-forwarded-headers
  namespace: backstage
spec:
  headers:
    customRequestHeaders:
      X-Forwarded-Proto: "https"
      X-Forwarded-Port: "443"

logs from traefik
`{"ClientAddr":"<IP_ADDRESS>:32908","ClientHost":"<IP_ADDRESS>","ClientPort":"32908","ClientUsername":"-","DownstreamContentSize":0,"DownstreamStatus":307,"Duration":1061483,"OriginContentSize":0,"OriginDuration":974138,"OriginStatus":307,"Overhead":87345,"RequestAddr":"authenticate.tools.resources.example.com","RequestContentSize":0,"RequestCount":269,"RequestHost":"authenticate.tools.resources.example.com","RequestMethod":"GET","RequestPath":"/","RequestPort":"-","RequestProtocol":"HTTP/1.1","RequestScheme":"http","RetryAttempts":0,"RouterName":"backstage-traefik-forward-auth-ingress-5f386ef6609642ab5b7d@kubernetescrd","ServiceAddr":"<IP_ADDRESS>:4181","ServiceName":"backstage-traefik-forward-auth-ingress-5f386ef6609642ab5b7d@kubernetescrd","ServiceURL":{"Scheme":"http","Opaque":"","User":null,"Host":"<IP_ADDRESS>:4181","Path":"","RawPath":"","OmitHost":false,"ForceQuery":false,"RawQuery":"","Fragment":"","RawFragment":""},"StartLocal":"2023-12-29T12:35:52.990931227Z","StartUTC":"2023-12-29T12:35:52.990931227Z","entryPointName":"websecure","level":"info","msg":"","time":"2023-12-29T12:35:52Z"}
time="2023-12-29T12:35:52Z" level=debug msg="Remote error [https://authenticate.tools.resources.example.com](https://authenticate.tools.resources.example.com/).StatusCode: 307" middlewareName=backstage-traefik-forward-auth@kubernetescrd middlewareType=ForwardedAuthType
{"ClientAddr":"<IP_ADDRESS>:7369","ClientHost":"<IP_ADDRESS>","ClientPort":"7369","ClientUsername":"-","DownstreamContentSize":0,"DownstreamStatus":307,"Duration":46996994,"OriginContentSize":0,"OriginDuration":0,"OriginStatus":0,"Overhead":46996994,"RequestAddr":"backstage-dev.tools.resources.example.com","RequestContentSize":0,"RequestCount":268,"RequestHost":"backstage-dev.tools.resources.example.com","RequestMethod":"GET","RequestPath":"/","RequestPort":"-","RequestProtocol":"HTTP/1.1","RequestScheme":"http","RetryAttempts":0,"RouterName":"backstage-backstage-ingress-3838c1308de02b28f9a1@kubernetescrd","StartLocal":"2023-12-29T12:35:52.945933677Z","StartUTC":"2023-12-29T12:35:52.945933677Z","entryPointName":"websecure","level":"info","msg":"","time":"2023-12-29T12:35:52Z"}
{"ClientAddr":"<IP_ADDRESS>:32908","ClientHost":"<IP_ADDRESS>","ClientPort":"32908","ClientUsername":"-","DownstreamContentSize":0,"DownstreamStatus":307,"Duration":525310,"OriginContentSize":0,"OriginDuration":443615,"OriginStatus":307,"Overhead":81695,"RequestAddr":"authenticate.tools.resources.example.com","RequestContentSize":0,"RequestCount":271,"RequestHost":"authenticate.tools.resources.example.com","RequestMethod":"GET","RequestPath":"/","RequestPort":"-","RequestProtocol":"HTTP/1.1","RequestScheme":"http","RetryAttempts":0,"RouterName":"backstage-traefik-forward-auth-ingress-5f386ef6609642ab5b7d@kubernetescrd","ServiceAddr":"<IP_ADDRESS>:4181","ServiceName":"backstage-traefik-forward-auth-ingress-5f386ef6609642ab5b7d@kubernetescrd","ServiceURL":{"Scheme":"http","Opaque":"","User":null,"Host":"<IP_ADDRESS>:4181","Path":"","RawPath":"","OmitHost":false,"ForceQuery":false,"RawQuery":"","Fragment":"","RawFragment":""},"StartLocal":"2023-12-29T12:35:53.422994401Z","StartUTC":"2023-12-29T12:35:53.422994401Z","entryPointName":"websecure","level":"info","msg":"","time":"2023-12-29T12:35:53Z"}
time="2023-12-29T12:35:53Z" level=debug msg="Remote error [https://authenticate.tools.resources.example.com](https://authenticate.tools.resources.example.com/). StatusCode: 307" middlewareType=ForwardedAuthType middlewareName=backstage-traefik-forward-auth@kubernetescrd
{"ClientAddr":"<IP_ADDRESS>:7369","ClientHost":"<IP_ADDRESS>","ClientPort":"7369","ClientUsername":"-","DownstreamContentSize":0,"DownstreamStatus":307,"Duration":2663661,"OriginContentSize":0,"OriginDuration":0,"OriginStatus":0,"Overhead":2663661,"RequestAddr":"backstage-dev.tools.resources.example.com","RequestContentSize":0,"RequestCount":270,"RequestHost":"backstage-dev.tools.resources.example.com","RequestMethod":"GET","RequestPath":"/","RequestPort":"-","RequestProtocol":"HTTP/1.1","RequestScheme":"http","RetryAttempts":0,"RouterName":"backstage-backstage-ingress-3838c1308de02b28f9a1@kubernetescrd","StartLocal":"2023-12-29T12:35:53.421803551Z","StartUTC":"2023-12-29T12:35:53.421803551Z","entryPointName":"websecure","level":"info","msg":"","time":"2023-12-29T12:35:53Z"}

{"ClientAddr":"<IP_ADDRESS>:32908","ClientHost":"<IP_ADDRESS>","ClientPort":"32908","ClientUsername":"-","DownstreamContentSize":0,"DownstreamStatus":307,"Duration":995049,"OriginContentSize":0,"OriginDuration":916186,"OriginStatus":307,"Overhead":78863,"RequestAddr":"authenticate.tools.resources.example.com","RequestContentSize":0,"RequestCount":277,"RequestHost":"authenticate.tools.resources.example.com","RequestMethod":"GET","RequestPath":"/","RequestPort":"-","RequestProtocol":"HTTP/1.1","RequestScheme":"http","RetryAttempts":0,"RouterName":"backstage-traefik-forward-auth-ingress-5f386ef6609642ab5b7d@kubernetescrd","ServiceAddr":"<IP_ADDRESS>:4181","ServiceName":"backstage-traefik-forward-auth-ingress-5f386ef6609642ab5b7d@kubernetescrd","ServiceURL":{"Scheme":"http","Opaque":"","User":null,"Host":"<IP_ADDRESS>:4181","Path":"","RawPath":"","OmitHost":false,"ForceQuery":false,"RawQuery":"","Fragment":"","RawFragment":""},"StartLocal":"2023-12-29T12:36:11.355063574Z","StartUTC":"2023-12-29T12:36:11.355063574Z","entryPointName":"websecure","level":"info","msg":"","time":"2023-12-29T12:36:11Z"}
time="2023-12-29T12:36:11Z" level=debug msg="Remote error [https://authenticate.tools.resources.example.com](https://authenticate.tools.resources.example.com/).StatusCode: 307" middlewareName=backstage-traefik-forward-auth@kubernetescrd middlewareType=ForwardedAuthType
{"ClientAddr":"<IP_ADDRESS>:7369","ClientHost":"<IP_ADDRESS>","ClientPort":"7369","ClientUsername":"-","DownstreamContentSize":0,"DownstreamStatus":307,"Duration":3356018,"OriginContentSize":0,"OriginDuration":0,"OriginStatus":0,"Overhead":3356018,"RequestAddr":"backstage-dev.tools.resources.example.com","RequestContentSize":0,"RequestCount":276,"RequestHost":"backstage-dev.tools.resources.example.com","RequestMethod":"GET","RequestPath":"/oauth?code=88a007d2-11c5-46ba-9e29-3f99d0dc5d04\u0026state=ed59527371c0ec61ab20f4414b1624ae:oidc:https://authenticate.tools.resources.example.com","RequestPort":"-","RequestProtocol":"HTTP/1.1","RequestScheme":"http","RetryAttempts":0,"RouterName":"backstage-backstage-ingress-3838c1308de02b28f9a1@kubernetescrd","StartLocal":"2023-12-29T12:36:11.353784628Z","StartUTC":"2023-12-29T12:36:11.353784628Z","entryPointName":"websecure","level":"info","msg":"","time":"2023-12-29T12:36:11Z"}
{"ClientAddr":"<IP_ADDRESS>:32908","ClientHost":"<IP_ADDRESS>","ClientPort":"32908","ClientUsername":"-","DownstreamContentSize":0,"DownstreamStatus":307,"Duration":512959,"OriginContentSize":0,"OriginDuration":437126,"OriginStatus":307,"Overhead":75833,"RequestAddr":"authenticate.tools.resources.example.com","RequestContentSize":0,"RequestCount":279,"RequestHost":"authenticate.tools.resources.example.com","RequestMethod":"GET","RequestPath":"/","RequestPort":"-","RequestProtocol":"HTTP/1.1","RequestScheme":"http","RetryAttempts":0,"RouterName":"backstage-traefik-forward-auth-ingress-5f386ef6609642ab5b7d@kubernetescrd","ServiceAddr":"<IP_ADDRESS>:4181","ServiceName":"backstage-traefik-forward-auth-ingress-5f386ef6609642ab5b7d@kubernetescrd","ServiceURL":{"Scheme":"http","Opaque":"","User":null,"Host":"<IP_ADDRESS>:4181","Path":"","RawPath":"","OmitHost":false,"ForceQuery":false,"RawQuery":"","Fragment":"","RawFragment":""},"StartLocal":"2023-12-29T12:36:11.59199596Z","StartUTC":"2023-12-29T12:36:11.59199596Z","entryPointName":"websecure","level":"info","msg":"","time":"2023-12-29T12:36:11Z"}
time="2023-12-29T12:36:11Z" level=debug msg="Remote error [https://authenticate.tools.resources.example.com](https://authenticate.tools.resources.example.com/).StatusCode: 307" middlewareName=backstage-traefik-forward-auth@kubernetescrd middlewareType=ForwardedAuthType
{"ClientAddr":"<IP_ADDRESS>:7369","ClientHost":"<IP_ADDRESS>","ClientPort":"7369","ClientUsername":"-","DownstreamContentSize":0,"DownstreamStatus":307,"Duration":3147681,"OriginContentSize":0,"OriginDuration":0,"OriginStatus":0,"Overhead":3147681,"RequestAddr":"backstage-dev.tools.resources.example.com","RequestContentSize":0,"RequestCount":278,"RequestHost":"backstage-dev.tools.resources.example.com","RequestMethod":"GET","RequestPath":"/oauth?code=3f448d77-45f7-44ea-aa63-428f057ed9af\u0026state=3035ee52838a74844ca5f0c139c78c62%3Aoidc%3Ahttps%3A%2F%2Fauthenticate.tools.resources.example.com","RequestPort":"-","RequestProtocol":"HTTP/1.1","RequestScheme":"http","RetryAttempts":0,"RouterName":"backstage-backstage-ingress-3838c1308de02b28f9a1@kubernetescrd","StartLocal":"2023-12-29T12:36:11.590849246Z","StartUTC":"2023-12-29T12:36:11.590849246Z","entryPointName":"websecure","level":"info","msg":"","time":"2023-12-29T12:36:11Z"}
{"ClientAddr":"<IP_ADDRESS>:32908","ClientHost":"<IP_ADDRESS>","ClientPort":"32908","ClientUsername":"-","DownstreamContentSize":0,"DownstreamStatus":307,"Duration":582717,"OriginContentSize":0,"OriginDuration":494794,"OriginStatus":307,"Overhead":87923,"RequestAddr":"authenticate.tools.resources.example.com","RequestContentSize":0,"RequestCount":281,"RequestHost":"authenticate.tools.resources.example.com","RequestMethod":"GET","RequestPath":"/","RequestPort":"-","RequestProtocol":"HTTP/1.1","RequestScheme":"http","RetryAttempts":0,"RouterName":"backstage-traefik-forward-auth-ingress-5f386ef6609642ab5b7d@kubernetescrd","ServiceAddr":"<IP_ADDRESS>:4181","ServiceName":"backstage-traefik-forward-auth-ingress-5f386ef6609642ab5b7d@kubernetescrd","ServiceURL":{"Scheme":"http","Opaque":"","User":null,"Host":"<IP_ADDRESS>:4181","Path":"","RawPath":"","OmitHost":false,"ForceQuery":false,"RawQuery":"","Fragment":"","RawFragment":""},"StartLocal":"2023-12-29T12:36:11.736648187Z","StartUTC":"2023-12-29T12:36:11.736648187Z","entryPointName":"websecure","level":"info","msg":"","time":"2023-12-29T12:36:11Z"}
time="2023-12-29T12:36:11Z" level=debug msg="Remote error [https://authenticate.tools.resources.example.com](https://authenticate.tools.resources.example.com/). StatusCode: 307" middlewareType=ForwardedAuthType middlewareName=backstage-traefik-forward-auth@kubernetescrd`

In auth ingress, keep - name: traefik-forward-auth  in middleware.
I've been struggling with this for a long time too.

Did you ever find a solution for this issue? I want to implement Traefik with Cognito's user pool too, so I was just looking at resources on how to do that.

@AfrazHussain: It's a configuration issue:  you need to specify the traefik-forward-auth middleware on the ingress for the auth flow. It's commented out in the example above.


First inline checkbox not aligned (5px top padding)

In http://markdotto.com/bs2/docs/base-css.html#forms the inline check-boxes are not vertically aligned.
Namely the first child checkbox has a padding-top of 5px whereas the following check-boxes do not.  This is coming from the class ".controls > .radio.inline:first-child, .controls > .checkbox.inline:first-child"

Resolved, thanks!

In 2.0-wip HEAD I'm now seeing the inline checkboxes as too high up in Chrome. They're all getting 0 top padding.


mb_strtolower() function undefined?

i cant even search where the mb_strtolower() will be called at. any solution?

I will strongly recommend you install the mbstring module, as this is very common and is huge improvement to the handling of non UTF-8 chars.
I will release a version of the code with a fallback for users there doesn't have this module installed


Angle <> brackets not converted correctly for DOI title field

Expected Behaviour

Angle brackets appear correctly in the title of the DOI
Current Behaviour

For DOI : 10.5281/zenodo.3526563 with title "Introducing Objectification: when is an < object > a < place >?" the angle brackets do not appear correct in Fabrica, DataCite Search and the API https://api.datacite.org/dois/10.5281/zenodo.3526563
nb: the metadata is ok
Steps to Reproduce

https://api.datacite.org/dois/10.5281/zenodo.3526563
https://search.datacite.org/works/10.5281/zenodo.3526563

Context (Environment)

Production

Hypothesis

Detailed Description

Possible Implementation

Duplicate of https://github.com/datacite/bracco/issues/198.


Joint UKF notebook shows numerical issues with Thenevin example

When running the second example in the joint UKF demo notebook, numerical issues show up: somewhere along the way, a covariance matrix became not positive semi-definite, likely as a result of the large difference in order of magnitude between values in transient vectors and A-SOH parameters.
We should investigate if re-adding the A-SOH normalization could help with this.
This is something that, while less relevant, could be useful for the dual estimation as well, so maybe there is a way in which we can implement only once, and both frameworks have access to it. Tagging @WardLT to discuss further.

Do you think we can make a "NormalizerFilter" wrapper over a BaseFilter?
I'm picturing a metaclass of BaseFilter which a filter it wraps and a list of normalization factors, then handles adjusting the hidden states?

This is a great idea! I had not imagined the normalization sitting on the filters side of it, but that seems like it would be an easier way of making sure both joint and dual frameworks interact with it in the same way :thinking:

@WardLT this is also happening in the dual, which is unexpected... I will do some more checks to see if the problem is not elsewhere, but perhaps we should consider prioritizing the normalization... will keep you posted

I was thinking about the normalization, and have a proposal: a wrapper over a filter which transforms data being passed to the underlying filter.
The problem I missed before was that the filter makes calls to the physics model, and that we must denormalize before the points before calling the physics model. So, there must also be something to handle normalization for the model. The normalizing filter wrapper will also have a to apply a such a wrapper over the model of the underlying filter.
PS. This needs a picture. I'll sketch one tomorrow. Just wanted to drop this note while it was on the brain.

As I am giving this some more thought, i will jot down ideas here. At first, there are two questions to consider:

Who needs to know that something (the A-SOH) is normalized?
Where does the normalization implementation live?

I feel the answer to the first question guides the answer to the second question. Based on that, I discuss three candidate classes/objects that may need knowledge of normalization:

HealthVariable: while i am open to discussion if you find this is viable, I am a priori strongly opposed to this because

Pros:

little to nothing on the estimator side would need to be changed

Cons:

the model deals with "raw" values, and normalization is meaningless there
similarly, on the model side, nothing should understand how to adapt filter-related quantities (like a covariance matrix) based on the normalization
I am of the opinion that this particular class is already doing a lot, so we should avoid as much as possible adding more stuff to it, especially if it can be added elsewhere

Relevant BaseCellWrapper: to me, this is a more viable option

Pros:

intuitive (to me at least), as the wrapper is the natural model $\iff$ filter bridge

Cons

the wrappers do not know what is the kind of filter being used; the don't posses knowledge of which MultivariateRandomDistribution is used, or how to (de-)normalize them
it could cause the wrappers to be bloated and maybe unreadable

Some form of FilterWrapper: this is an interesting idea that we should consider in more detail

Pros:

given the numerical issues appear at the filter-level, it makes sense to try to address them there
given the filters know what kind of MultivariateRandomDistribution they deal with, they posses the knowledge to adequately convert means, covariances, etc.

Cons:

the filters should not be able to distinguish between transient, A-SOH, etc., so they cannot be fully responsible for figuring out what to normalize and what to leave as "raw"
some form of pre-processing would be needed, as the filters shouldn't know what normalization vector to use, even if they are told to normalize (for instance, what to do in cases where the hysteresis parameter H0 has base_values of zero?)

I like the idea of maintaining the BaseCellWrapper-type classes filter-agnostic, but, similarly, I like the idea of the filters being physics-agnostic, without knowledge of transients, A-SOH, etc. To me, one idea that is coming to mind is the MultivariateRandomDistribution: it can know if it is supposed to be normalized (and how), and does not need knowledge of what its dimensions represent. We would, however, have to alter is, as we would need different methods to get_mean() and get_raw_mean()... I don't really know if that would work, so let's see what we come up when we discuss this synchronously

These are great thoughts. Would you like to try defining an example interface of what you'd image for BaseCellWrapper having normalization? Doesn't have to be Python, but some psuedocode will be good. I'll do something similar for FilterWrapper and we can contrast

I can try... but i am becoming less and less convinced that the BaseCellWrapper is the best approach... for some reason, I am particularly attracted to implementing that in the MultivariateRandomDistribution 😝

Ok, so normalization did not solve this problem. After more analysis, I believe it stems from the UKF sigma points sampling illegal regions of A-SOH space, such as negative resistance values in the RC element, which blow up the current through that, and mess up all the numerics. It seems like that is the problem that needs fixing.

Interesting. I've had two thoughts so far for potential routes:

make it so that the cell model clips values to stay within allowed ranges before running the physics (e.g., treating all negative values as zero).
introduce a nonlinear coordinate conversion. We could have users provide a function and it's inverse for changing the points, and the Jacobian for both the function and inverse then use error propagation to assess the change in covariance.

The math I'm referencing for the "nonlinear coordinate conversion" is this - https://en.wikipedia.org/wiki/Propagation_of_uncertainty#Non-linear_combinations
Specifically, we'll need to change the transform_covariance to include the mean associated with a covariance, evaluate the Jacobian at that point, then use the Jacobian matrix to compute the new variance following the equation in that article. It's very similar to what we're doing with the linear transform except accounting for the fact that the derivatives of a nonlinear function are not constant at all points.

Closing this as all numerical issues with UKF should now have been solved by normalization (PR https://github.com/ROVI-org/auto-soh/pull/75) and by non-linear transforms, such as absolute value (PR https://github.com/ROVI-org/auto-soh/pull/78)