TypeError: Cannot read property 'show' of undefined

Hi, let me start off by saying great work.
Anyways, I am new to Vuejs and currently I an using vue with Laravel (Yes I know this has nothing to do with Laravel). My question is, how can I make this be called globally so that I don't have to import this into every single component. Currently in app.js I have
//Import Vue Loading Overlay
import Loader from 'vue-loading-overlay';

// Import stylesheet
import 'vue-loading-overlay/dist/vue-loading.min.css';

Vue.use(Vuex, Loader);

const app = new Vue({
    el: '#app',
    router,
    store,
    Loader,
});

and in my checkout.vue, I have...
postToServer: function () {

           let loader = this.$loading.show({
               container: this.fullPage ? null : this.$refs.paymentForm
           });

           this.$http.post('api/validateData?cartId=' + localStorage.getItem('cartId'), this.form)

               .then(results => {

                   window.location.href = '/thankyou?cartId=' + localStorage.getItem('cartId');
                   loader.hide();

               })

               .catch(results => {

                   this.errors = [];

                    if (results.status === 422) {

                        this.errors = results.body.errors;
                        loader.hide();
                    }

                    window.scrollTo(0,0);
               });
       },

but I keep getting the following error.

app.js:59499 Uncaught (in promise) TypeError: Cannot read property 'show' of undefined
at VueComponent.postToServer (app.js:59499)
at app.js:59540

so I was wondering if anyone can shed some light in the matter.
Thanks.

You should use ES6 syntax here
// This is ES5 syntax
postToServer: function () {

// This is ES6 syntax
postToServer () {

You should use ES6 syntax here
// This is ES5 syntax
postToServer: function () {

// This is ES6 syntax
postToServer () {

Great! thanks for the suggestion, changed.. however still same error... maybe I am just not loading it correctly..

Perfect.. that worked! Thank you.


fix(toolchain): fix zombie processes & term window popups on windows

#474
#473  👈
main

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

Join @NathanFlurry and the rest of your teammates on  Graphite


UI enhancements in Prices and Assets page

What would you like to be added:
• Change the 'Tiigo' logo to improve consistency among other icons.
• Add logos section to each individual asset page
• Rewording 'Inactive' to 'Closed'
• Revised icon for tooltip - make it less prominent to harmonize with text
• Changed color from 'yellow' to 'neutral gray' – makes it less alarming.
Designs and assets can be found here:
Price page: https://marvelapp.com/prototype/74de579/screen/80840940/handoff
Asset page: https://marvelapp.com/prototype/74de579/screen/80840939/handoff
Why is this needed:
Upon gathering feedbacks, there are visual improvements that are identified that can be added.

/triage accepted
/assign @siradji
/priority important-soon

@jtlntno-cake, what yellow color are you referring to here?


The mobile interfaces need notifications of actions performed

We should implement a delicious toast notification for specific actions such as:

warriors being added / removed to / from the core
round results
save actions

This is especially useful on the smaller displays where the results of an action aren't instantly visible on screen.

Resolved by #184


Simple subquery wrapper OOMs influxdb

Bug report
System info: [Debian 8 Jessie, InfluxDB 1.3.5]
Steps to reproduce:

Open influx shell, select database

> select count(*) as c from my_measurement where "host" = 'some_host' and time > now() - 1h group by "some_tag_with_two_possible_values"

name: my_measurement
tags: some_tag_with_two_possible_values=
time                count_value
----                -----------
1509093186176546914 1938

name: my_measurement
tags: some_tag_with_two_possible_values=x
time                count_value
----                -----------
1509093186176546914 90
>

Same query, but wrap it in a subquery:

> select c_value from (select count(*) as c from my_measurement where "host" = 'some_host' and time > now() - 1h group by "some_tag_with_two_possible_values")

Expected behavior: Both queries should return two results pretty much instantaneously.
Actual behavior: The first query returns results instantaneously, The second one runs for at least 10 seconds, then OOM killer reaps the InfluxDB process.

curl -o profiles.tar.gz "http://localhost:8086/debug/pprof/all?cpu=true"

curl -o vars.txt "http://localhost:8086/debug/vars"
iostat -xd 1 30 > iostat.txt

iostat.txt
profiles.tar.gz
vars.txt


View not updating when using Meteor.loginWithPassword

When using the code as shown below, the "error" field in the view only is shown when focusing and then blurring one of the input fields. Same problem when printing out the user in the view...
Angular-Version is 2.0.0 with angular2-meteor 0.7.0-beta.3 and angular2-meteor-accounts-ui 0.6.1
import {Component, OnInit} from '@angular/core';

//noinspection TypeScriptCheckImport
import template from './app.component.html';
import {MeteorComponent} from 'angular2-meteor';
import {InjectUser} from 'angular2-meteor-accounts-ui';
import {FormBuilder, FormGroup} from '@angular/forms';

@Component({
  selector: 'app',
  template
})
@InjectUser('user')
export class AppComponent extends MeteorComponent implements OnInit {
  user: Meteor.User;
  error: string;
  loginForm: FormGroup;

  constructor(private _fb: FormBuilder) {
    super();
  }

  login() {
    Meteor.loginWithPassword(this.loginForm.value.username, this.loginForm.value.password, (err) => {
      if (err) {
        this.error = err;
      } else {
        this.error = 'OKAY';
      }
    });
  }

  ngOnInit() {
    this.loginForm = this._fb.group({
      'username': [''],
      'password': ['']
    });

    this.error = '';
  }
}

<form [formGroup]="loginForm" novalidate (submit)="login()">
  <input type="text" formControlName="username"><br>
  <input type="password" formControlName="password">
  <input type="submit" value="Anmelden">
</form>

<div [hidden]="error == ''">
  Error: {{ error }}
</div>

It's because callback of Meteor.loginWithPassword() runs outside NgZone.
Take a look at 18th chapter of Socially, especially at 18.13 step.
As follows:

Notice that we used NgZone in our constructor in order to get it from the Dependency Injection, and we used it before we update the result of the login action - we need to do this because the Meteor world does not update Angular's world, and we need to tell Angular when to update the view since the async result of the login action comes from Meteor's context.


I couldn't make it work in my local machine

Hi Jeremy @jgthms, I'm about to translate it to spanish, but I couldn't make it work in my local.
it seems you're using some javascript template engine (mustache, handlebars or something similar), but I didn't see any dependency related in package.json
When I do npm start I see the css and js builds and outputs, but I don't see any html output
What am I missing?
Could you please help me?
Thanks

You need Jekyll to run it: https://jekyllrb.com/

thanks, it worked!!


app build error for flutter

I am getting below error.
Flutter SDK version: 3.3.4
build OS: Windows 11
`1: Task failed with an exception.

What went wrong:
Execution failed for task ':flutter_inappwebview:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
==============================================================================

2: Task failed with an exception.

What went wrong:
java.lang.StackOverflowError (no error message)

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
==============================================================================

Get more help at https://help.gradle.org

BUILD FAILED in 38s
Running Gradle task 'assembleDebug'...                             39.6s
Exception: Gradle task assembleDebug failed with exit code 1`

Issue resolved with Flutter SDK 3.3.5.


[Suggestion] Fall back to JSON if table does not exist

Every time I deploy my app I am unable to migrate my database because artisan throws an error saying the settings table does not exist.
It would be good if this automatically fell back to the JSON File Driver if the database table has not yet been created.

Then it would never use the database so just use JSON anyway.
---Sent from Boxer | http://getboxer.com
On 23 August 2016 at 01:07:20 BST, Michael Smith<EMAIL_ADDRESS>wrote:Every time I deploy my app I am unable to migrate my database because artisan throws an error saying the settings table does not exist.  It would be good if this automatically fell back to the JSON File Driver if the database table has not yet been created.  —You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.           {"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/anlutro/laravel-settings","title":"anlutro/laravel-settings","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/anlutro/laravel-settings"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"[Suggestion] Fall back to JSON if table does not exist (#57)"}],"action":{"name":"View Issue","url":"https://github.com/anlutro/laravel-settings/issues/57"}}}

I will re-phrase:

I have my config/settings.php file set to use a database table
I am ready to deploy my app so I pull it from my repository and go to run php artisan migrate
I get an error that I cannot run php artisan because the table settings does not exist
I then have to go and edit my config/settings.php file to use the JSON file driver
Run php artisan migrate
Now my database has the right table settings
I then need to go back to my config/settings.php to change it back to using the database driver

Now this is not an issue for already deployed apps, as they will already have the settings table.
Although if I am wanting to deploy the app to a new server, it is a lot of hassle.

The real issue seems to me that you're using Settings::get before migrations are being ran - i.e. too early in your application lifecycle.


Fixed blockless Raven#capture

#272 introduced bugs into the blockless semantics of #capture.

Fixed #capture to not yield when no block given
Fixed #capture to pass options to #install_at_exit_hook
Fixed #install_at_exit_block to check for the existence of $ERROR_INFO

Hmm, obviously we never considered that people would use #capture this way.
Can you give me an example of how/why you're using #capture without a block?

#capture is documented as processing exceptions globally if no block is given. Isn't that why an at_exit handler is registered when no block is given?
We want to capture exceptions globally, so Instead of repeating Raven configuration and startup code in all of our applications' start scripts, they require a sharable raven_init.rb file which performs these functions. The global exception processing makes this pretty slick.
require 'raven'
Raven.configure { |config| config.should_send = ->(_) { !!ENV['SENTRY_DSN'] } }
Raven.capture

Thanks! I'm just unfamiliar with this usage because I'm always using Sentry with Rack middleware.

Thanks, @nateberkopec!


+44 bug

When I enter +44, it only accepts my next two digits.

@flyrev as promised, I have created a separate preventInvalidNumbers option, which defaults to false.
@ispyropoulos if you enable the new preventInvalidNumbers option, I now trigger invalidkey if we ignore a key because it would lead to an invalid number.
Both features are in v3.8.4. Thanks for your input.

@jackocnr that's great news! I'll check the new option out soon. I have to release an updated gem as well, as it is 2-3 months behind by now.


`GLIBC_2.33' not found issue

Describe the bug
Error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found
appear right after start project
Environment

OS: debian Linux 11 , amd64
Node.js version: [18]
Java version: [11]
Version of this package: [e.g. 2.2.3]

plz save my ass :(
i guess debian Linux 11 still use GLIBC_2.31
so should i use downgraded version of java-bridge?
if right which version supports Linux 11?

Which debian version are you using exactly? Debian 11 (or "bullseye") is the latest version of debian and should work, although I'm not quite sure about this, but bullseye should use the same version of GLIBC as ubuntu 22, if I recall correctly.

@MarkusJx
Debian 11 is correct
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye

also
ldd (Debian GLIBC 2.31-13+deb11u5) 2.31

i tried re-build container several times but still same

@MarkusJx
Thx it works to me :)


Updating babel-jest inline with other jest modules

Failed to update babel-jest to v24 with the other jest modules. I was under the impression that it was wrapped up inside jest v24. I now think otherwise
Checklist:

[ ] Documentation N/A
[ ] Tests N/A
[x] Ready to be merged

Deploy preview for govuk-react processing.
Building with commit 796340fcaff7013051c41265dc693f35f5d702f4
https://app.netlify.com/sites/govuk-react/deploys/5c922af645fcd40008856b60

Codecov Report

Merging #622 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #622   +/-   ##
=======================================
  Coverage   99.67%   99.67%
=======================================
  Files         104      104
  Lines         609      609
  Branches       67       67
=======================================
  Hits          607      607
  Misses          2        2

Continue to review full report at Codecov.

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


Bug: Random Photos reverting to Chronological Order - OnSearchEvents

Using the latest version (5.203 build 20190319).  Seems to be working great except for one issue(feature?) that seems to crop up after the slideshow has been running for a while.  After 15min or so, it changes from random order to chronological order.   I am running with the following screensaver settings:
-High Def 720p
-Fading w/ background blur
-10 sec delay
-Random order
-Week in History (love this feature!!!)
Thanks Chris, keep up the good work!

I noticed this same problem yesterday before the app completed died (described on another issue.)

Confirmed finding. Only impacts doGetSearch function. Normal albums are not impacted.

Completed change. Will be pushed soon with v3.2 release


Determine worst time section

Start with first time of lowest life.
Ideas:

Go backwards until life goes down (find local max where we started to fall from)
Go forwards until higher than next low point (that isn't part of this valley)
Cap at 30s

Not as necessary now, with customizable time ticks at bottom. It's easy enough to get the approximate time of a failure from those


Type check before callable ignore in callable

test.ts :
import {resultify} from "rustic-error";

type a = {
    bar(): string;
}
type b = {
    foo: a|null
}

const bFoo: b = {
    foo: {
        bar(): string {
            return 'Joe doe'
        }
    }
}
if (bFoo.foo !== null) {
    const bar1 = bFoo.foo.bar();
    const bar2 = resultify(() => bFoo.foo.bar());
}

tsconfig.json :
{
  "compilerOptions": {
    "target": "es2022",
    "module": "commonjs",
    "strict": true,
  }
}

solution that can remove error, but not pratical :
if (bFoo.foo !== null) {
    const bar1 = bFoo.foo.bar();
    const foo = bFoo.foo
    const bar2 = resultify(() => foo.bar());
}

update ?

We are currently testing this package on a large-scale project in order to understand its strengths and weaknesses. We also want to concentrate on the new version of our ESLint config before getting back to developing the organisation's other projects.
After these two things, we're going to actively resume the development of this package and resolve the open issues.


fix toolchain pkgs - coreutils, file

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/tools/cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary

Fix coreutils and file package PTest
Change Log

Does this affect the toolchain?

YES
Associated issues

Links to CVEs
Test Methodology

- Pipeline build id: 175443

BuildRpms in progress - https://dev.azure.com/mariner-org/mariner/_build/results?buildId=175538&view=results


⚠ Roblox Site has degraded performance

In 87811b6, Roblox Site (https://roblox.com/) experienced degraded performance:

HTTP code: 200
Response time: 3356 ms

Resolved: Roblox Site performance has improved in 13090e9 after 24 minutes.


Is this a question ?

    Is this a question ?

Anyhow, I'm closing this issue because :

the title does not make any sense to me
there is no description

Originally posted by @ndessart in https://github.com/Parrot-Developers/olympe/issues/37#issuecomment-1288544891

How i can download Olympe SDK on my ANAFI AI drone ?
How i can run python script on Olympe SDK by connected my PC to Drone or by USB ?
Storage of the drone available for software ?


Rename dev.yml to local.yml

Closes #1226.

For consistency, maybe we should rename docker-compose.yml too: https://github.com/pydanny/cookiecutter-django/blob/master/{{cookiecutter.project_slug}}/docker-compose.yml

@jayfk I agree, but that would prevent us from being able to conveniently docker-compose buld/up...

@jayfk, on the other hand, "explicit is better than implicit", so we'll at the same time be safeguarded from accidentally invoking Docker Compose with production configuration.

@jayfk, on the other hand, "explicit is better than implicit", so we'll at the same time be safeguarded from accidentally invoking Docker Compose with production configuration.

This. It's better to be safe than sorry. Starting production locally may result in side effects for the real production setup or your users (if you are using a subset of real user data locally).


Add 'date_format_deno' package to database.json

Simple helper for Deno to convert Date format to string. Possibility to use predefined or custom formats.

We have changed how we add modules. No longer is it a manual PR process. Go to https://deno.land/x and click the "add module button" - follow the instructions. Thanks!


Only top-left quadrant of window drawn after display/resolution change

Issue Type: Bug
Problem happens usually when I've just plugged in external monitors (dual side-by-side Dell U2718Q connected via USBC-DisplayPort cables) and woken my laptop (MacBook Pro 15-inch, 2017)  up from sleep. But I can also sometimes reproduce it when switching between maximum and scaled less than maximum screen resolutions in macOS (10.13.6) system preferences.
Problem manifests as only the top-left quadrant of the window being drawn and the rest being blank white (as shown here in images). As you can see, it also affects the bug reporting window.

The problem fixes itself (the window fully paints) if I drag the window past the barrier between my displays and then back.
VS Code version: Code 1.27.1 (5944e81f3c46a3938a82c701f96d7a59b074cfdc, 2018-09-06T09:14:32.385Z)
OS version: Darwin x64 17.7.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2800)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
1, 2, 2

Memory (System)
16.00GB (1.11GB free)

Process Argv
/Applications/Visual Studio Code.app/Contents/MacOS/Electron .

Screen Reader
no

VM
0%

Extensions (17)

Extension
Author (truncated)
Version

emojisense
bie
0.4.1

markdown-preview-github-styles
bie
0.1.3

vscode-svgviewer
css
1.4.6

vscode-markdownlint
Dav
0.20.0

jupyter
don
1.1.4

gitlens
eam
8.5.6

gc-excelviewer
Gra
2.1.26

nbpreviewer
jit
1.0.0

theme-dark-plus-contrast
k3a
0.1.101

rainbow-csv
mec
0.5.0

python
ms-
2018.8.0

rewrap
stk
1.9.1

vscode-gitmoji-snippets
thi
3.2.0

vscode-lua
tri
0.12.4

python-extended-snippets
tus
0.0.1

markdown-all-in-one
yzh
1.6.0

propertylist
zho
0.0.2

(1 theme extensions excluded)

We are building exploration builds that use a much newer version of Electron (our UI framework). I wonder if this issue reproduces with one of these builds, could you try? Download:

macOS: Download
Linux: Download
Windows: Download

I am trying the exploration build now. So far so good, but if it happens again I'll report back.

Ok please do

I think I can pretty reliably confirm now that the exploration build does fix the problem.


RxJs 6 Support

The zone-patch-rxjs.js fails to build with rxjs 6.x that Angular 6 uses now. Any plan on fixing this?

@MrBlaise , I will check it and try to handle rxjs 6, could you provide a reproduce repo to describe the error you mentioned?

@JiaLiPassion Unfortunately the repo I am working on is private, you should be able to reproduce the issue by creating a fresh Angular 6 application with the angular-cli (ng new zonejs) and import the patch in pollyfils.ts:
import 'zone.js/dist/zone-patch-rxjs';
After that building it for production should cause errors (ng build --prod --aot --build-optimizer) like this:
Module not found: Error: Can't resolve 'rxjs/add/observable/defer' in '/REDACTED/node_modules/zone.js/dist'

@MrBlaise , ok, got it, you can use rxjs-compat for now to resolve this issue until a rxjs6 version of zone.js patch is released.

Any news on this @JiaLiPassion?

@MrBlaise , I have finished zone-testing-rxjs-fake-async part, the rxjs part need some additional work, I am still working on it, please wait for a little longer, does rxjs-compat work for you now?

Yes it is working fine. I was just wondering, because this is the last thing that needs the compat library in my setup. I am in no rush, the app working fine with compat until this is finished. Thanks.

Hello! The zone.js is the only dependency which prevents us from dropping the rxjs-compat package in our Angular projects. I think this is a major issue for many Angular projects, because this prevents them from building more optimal bundles. Could you please tell me if this issue is actually on a roadmap?

@slavafomin, @MrBlaise, I am not sure about the release plan, you can test it with this branch.
Update the package.json to
I am not sure the release schedule, please use the following branch as temp test solution.
update the package.json

"zone.js": "git://github.com/JiaLiPassion/zone.js#ts29-fix-dist"

Thanks.


flavours: 0.4.0 -> 0.5.0

Motivation for this change
Update to follow upstream, add missing shell (bash, zsh, fish) completions.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Obs: Although i'm the upstream developer, i just started using NixOS this week (loving it). I did read about packaging, but it's possible i missed something. Please let me know if there's anything to be fixed.

thanks @Misterio77 for your first nixpkgs contribution :tada: :)


README: cleanups to make it more compact

We had some duplicated information in the README and some informatin
that really wasn't adding much value.
The number one question we have gotten is still "should I file a
feature". The number two point of contention on this repo is "what is
the process I should follow before filing a feature".
Make these two things the top points of the README and drop other things
that aren't really connected. In particular the coding section and
proposal sections weren't adding much value. The process for proposals
are terribly hard to discover but we shouldn't try to solve this here.

@philips can you review the minor fixes posted in the comments and we may merge it?

@calebamiles could you take this over?

happy to merge in the minor fixes into a new PR, @philips

Closing in favor of #65


[Privileges 2] Issue or Expected Behavior? --- RequireAuthentication & AllowCLIBiometricAuthentication

key:	RequireAuthentication
Note that once this option is enabled, privileges cannot be changed from the Privileges Dock tile menu unless AllowCLIBiometricAuthentication is also enabled.
I am curious if this is working as expected, as with both RequireAuthentication & AllowCLIBiometricAuthentication set to true, the Request Privileges option in the Dock is greyed out.

I overlooked this...
When set to true, the user must provide a reason for requesting administrator privileges. The reason is logged. Note that once this option is enabled, privileges cannot be changed from the Privileges Dock tile menu.


Remove ICRC37/Init() form icrc7 canister and add guards.

The ICRC37 properties we won't use anyway, because (1) The nfts will likely be traded inside our platform, (2) if they're off our platform than people can send their nfts to a SC, and (3) Setting high approval limits opens security and ddos attacks.
If someone else triggers the approval limit, the cansiter garbage collects us as the owner, and renders the whole thing useless anyway.
The problem is the nft_manager canister uses the init() function, which populates with icrc37 functions with all data, and which we can't deploy the canister without.
The task is to trim all the icrc37 related logic out of the icrc7 canister, or take the lazy way and set all the initial parameters to zero/null, and ensure none of those functions work.
The other thing, kind of separate, but since we're going to blackhole the icrc7 canister, we have to add guards (if this is possible in motoko). Conditions:

Only nft_manager can call update calls.
Only nft_manager or alex_frontend can call query calls.

It's kindof turning this into a closed system, but I don't care because it's ddos proof and future proof in case of vulnerabilities. I didn't make this icrc7 implementation and it's in motoko so I can't read it. The more restrictions we put, the better.

burn/mint functions are accessable only to nft_manager canister. Icrc37 removed.


Feature Request: Record update, expressions before the pipe

Updating nested records is abit awkward.
m : Model
m = let foo = model.foo in { model | foo = { foo | bar = 3 } }

It would be abit nicer if dot accessors where allowed before the pipe.
m : Model
m = { model | foo = { model.foo | bar = 3 } }

Even nicer if more complex expressions are allowed:
f : Model -> Model

m : Model
m = { f model | foo = { model.foo | bar = 3 } }

This is already listed in #1375.


updating development document for clarity and legibility

Updating the development docs with:

organization based on OS
adding helpful links for linux based installs

looks like there's some similar work done here: https://github.com/jmorganca/ollama/pull/1506 ; these PRs seem to support eachother.

rebased + updated to reflect latest changes to the readme.


WIP: fix for os upgrade to 0.8.0 when running a persistent cosole

Signed-off-by: Sven Dowideit<EMAIL_ADDRESS>its a partial revert of #1338

I'm writing some tests for this atm


what is hub? how can i get?

// Replace with your hub name
public static final String HUB = "Pili_Hub_Name"; // The Hub must be exists before use
what is hub? how can i get?
I have AK/SK

You can get the hub by https://pili.qiniu.com/


An uint32_t compared with 0

Either the comparison in https://github.com/dmlc/tvm/blob/426e3bb0a8e86bb48a25b950fd8ef965ca5d370b/src/relay/op/layout.h#L115 should be changed to != -1 or int32_t used for superdim_pos and the other two vectors. The second looks better to me since -1 is used as the sentinel value.

#2557


Fixes paths in coverage on Windows

windows paths in coverages were wrong if rootDir of jest was starting with ..
removed some paths from CI cache (AppVeyor cache is slllooooooooooowwwww)

Pull Request Test Coverage Report for Build 1869

6 of 6 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.006%) to 90.76%

Totals

Change from base Build 1867:
-0.006%

Covered Lines:
973

Relevant Lines:
1022

💛  - Coveralls


⚠ Processors has degraded performance

In 900672e, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 59 ms

Resolved: Processors performance has improved in a42a3bc.


Co-chair mentee, Q4 2024

This role will be mentored by the Co-chair (see https://github.com/SingularityNet-Ambassador-Program/AI-Ethics-Workgroup/issues/74)
The mentee will

attend some (but not necessarily all) meetings with the GEI across the quarter;
support the co-chair with maintaining clarity on strategy in the workgroup;
support the co-chair with communicating with GEI and sharing WG outputs

Decision is the role will be taken by Clement.


feat: statistics and report

This PRs aims at adding two commands (compute_statistics) and (export_report), that allows computing various quality metrics of a dataset and export them as a nice PDF report :

compute_statistics will generate various image files (mostly plots) and a stats.jsopn file in the stats folder.
export_report will use the above to generate some PDF.

cc @pierotofy as it might be of interest for you.
See below for an example of the Red Rocks dataset (https://dronemapper.com/sample_data/) :
report.pdf

This is amazing :heart:
What a wonderful addition!

Yeah, this is one of the most commonly requested features in OpenDroneMap.

Can't wait to try this!
Thanks for this awesome addition @YanNoun

Can't wait to try this!
Thanks for this awesome addition @YanNoun


refactor: remove lazy_static dependency

Hi,
I saw that you updated the Rust version in #298 . So, I made a small refactoring and removed the lazy_static dependency. We don't need it because the LazyStatic is stable now.

@TheBestTvarynka There is a conflict, but I approved and enabled auto-merge


Torch outputs displayed in different order

Caffe outputs (1) loss (train), (2) accuracy (val), (3) loss (val) in the graph.
Torch outputs (1) loss (train), (2) loss (val), (3) accuracy (val).
The ordering is arbitrary (and in fact I think the Torch ordering might make more sense), but the upshot of this is that the accuracy line is yellow for caffe and green for torch. That's confusing. Let's just make torch match caffe's behavior.

@lukeyeager: fixed the issue. Please test it once and close issue if fix looks good. Thanks for your time.

Looks good, thanks!
In the future, you can break up these three bugfixes into separate commits so it's more clear what you did to address each issue. No big deal though.


[doc] Factor out most recent Flink version to docs config, and bump it

Documentation
Purpose
The doc page about programmatic Flink API doesn't refer to the latest paimon-flink-flink_version package. This PR factors out the version and bumps it to 1.20.0
Tests
built the site and tested the page locally
API and Format
NA
Documentation
NA

The affected page with changes when serving hugo locally:

+1


Method "request" for object "Silex\Application" does not exist

Hey
Every time I try to use something like:
{{ app.request.basepath }} in my twig templates.
I get this error:
Method "request" for object "Silex\Application" does not exist in ...
How to fix this?
Thanks

If you are using the  silex skeleton then use
{{ asset('path to your css') }}

@kabdessamad1 Cool, that works for assets, but how about things like:
{{ app.request.cookies.get('exampleCookie') }}

im beginner in silex and for getting cookies i made this and added it to my app.php file
$app['twig'] = $app->extend('twig', function ($twig, $app) {
$twig->addFunction(new \Twig_SimpleFunction('getCookie', function($cookie) use($app){
$request = \Symfony\Component\HttpFoundation\Request::createFromGlobals();
return $request->cookies->get($cookie);
}));
return $twig;
});
in your twig use {{ getCookie('cookie_name' }}
{% if getCookie('PHPSESSID') == '2dbba3ed8c2d00394ab05046954fbf4c' %}
// code here
{% endif  %}
i guess you are using silex 2.0-dev you should use the stable version

Thanks @kabdessamad1 worked! :)
Why is this Silex-Skeleton using silex 2.0-dev by default, even though its not stable?
I'm assuming this Skeleton is mostly used by beginners, so giving an unstable start doesn't seem like a good idea..
@fabpot What's the reasoning behind this?

you can create your own skeleton its easy :)

The master branch being the default is just a misconfiguration of the repo, fixing that now.


Changing namespace does not change targets in actions

To reproduce, 1. reference a character, 2. setup a picker, 3. add action to, say, switch visibility, 4. load same character and change namespace picker namespace to that character namespace
visibility will be still switched on first character but nodes will be selected on second
Here is what i got

Expected to switch visibility for second character as i explicitly switched namespace for the picker.

First idea is to  generate replacement pairs when switching namespace and changing shape targets, then do substitution in shape.actions.
We may substitute only words that look like absolute maya node path :| or only string literals: node = 'pCube1' will be changed to node = 'geom:pCube1'.
Or explicitly define namespace in script text: cmds.getAttr('{namepsace}:pCube1.v').

By the way would we exec in any useful context?
https://github.com/DreamWall-Animation/dwpicker/blob/f02354f92e052ab12cb53d8e9e4cb3cb5be3ce02/dwpicker/languages.py#L36
exec(code, {'cmds': maya.cmds, 'mel': maya.mel}) or application context import __main__; exec(code, vars(__main__)) or even exec(code, vars(maya.cmds)) so we would optimize our scripts using dirst setAttr and etc.

making separate field for holding a namespace in picker data would solve several cases. I still thinking about referencing pickers and if there would be such field and mechanics, it would be as easy as override single field rather than changing targets of all the shapes in #67

To reproduce, 1. reference a character, 2. setup a picker, 3. add action to, say, switch visibility, 4. load same character and change namespace picker namespace to that character namespace
visibility will be still switched on first character but nodes will be selected on second
Here is what i got

Expected to switch visibility for second character as i explicitly switched namespace for the picker.

Yeah off course it is not working ^^ as the script is an hardcoded string. It is not going to read the script and detect what could be a target or not inside the code. That seems impossible to automate. I guess your best shot is to
cmds.getAttr(f'{dwpicker._dwpicker.namespace_combo.currentText()}:cube')

I guess I should add a shortcut to set user able to do: dwpicker.active_namespace()

making separate field for holding a namespace in picker data would solve several cases. I still thinking about referencing pickers and if there would be such field and mechanics, it would be as easy as override single field rather than changing targets of all the shapes in #67

Yeah that probably a cleaner solution less hacky than how it is now.

By the way would we exec in any useful context?
https://github.com/DreamWall-Animation/dwpicker/blob/f02354f92e052ab12cb53d8e9e4cb3cb5be3ce02/dwpicker/languages.py#L36
exec(code, {'cmds': maya.cmds, 'mel': maya.mel}) or application context import __main__; exec(code, vars(__main__)) or even exec(code, vars(maya.cmds)) so we would optimize our scripts using direct getAttr('pCube1.v') and etc.

globals() is necessary, if you remove removable, it is almost impossible to execute long code. It creates a lot of "variable not defined" errors, despite you define it 2 line above.  I'm affraid of predefining maya.cmds because some studio use other aliases than cmds (mc for instance). To me, using vars(main) seems even worst, because it means same picker could work or fail depend of what was imported somewhere else at some moment. You will test on your machine, it work, you provide to animator and boom, it fails because you imported in your script editor some variables during dev and not the animator.

Hi, FYI
I just exposed a dwpicker.current_namespace() function which is now the safest way to gather the current namespace.

Hey I think I can close that ticket :)


Added feature to open links from show notes in a new tab.

Changed the renderer option as shown here : https://github.com/chjj/marked#renderer

Nice work! I didn't know that it was that easy - thanks again!

Thanks to @rclanan for the pointer :)


How to change mapType control position ?

I need to change the position of mapType buttons on the map view.
There is a solution in google maps API:
mapTypeControlOptions: {
      style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR,
      position: google.maps.ControlPosition.TOP_CENTER,
    },

but I don't know how to implement it using this library
any help ?

Unfortunately the API isn't available prior to the map's initialization so you can't use that. I looked up ControlPosition on DefinetelyTyped and luckily it looks like the position values are just integers:
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/google.maps/index.d.ts#L282-L338
So something like this should work:
<GoogleMap
  api-key="YOUR_GOOGLE_API_KEY"
  style="width: 100%; height: width: 100%"
  :center="center"
  :zoom="11"
  :map-type-control-options="{ position: 8 }"
/>

You'll have to experiment a bit though as it looks like the values on DefinitelyTyped aren't accurate in terms of positioning.

Thank you so much it is working

I'm trying to do something similar but I'm trying to change the position of the zoom control. I've been able to do this with no issues using other libraries, but with this one it seems no matter what I do, the zoom control (+ and - buttons) are always positioned in the bottom right corner
I've tried

          :zoom-control="true"
          :zoom-control-options="{ position: 9 }"

And I tried positions from 1 to 11, and nothing seems to make any difference.
Any ideas what I'm doing wrong?

@vesper8 Agreed there's an inconsistency in the API in that area. The other controls allow you to set the position directly. For example:
zoom-control-position="LEFT_BOTTOM"

It made sense to pass the position directly for the other controls because their options interface only has a position property (for example ZoomControlOptions). Unfortunately I couldn't do the same for the mapType control because MapTypeControlOptions has other properties.


Does Advanced Retrieve support semantic searching?

Does Advanced Retrieve support semantic searching? If not are there future plans for it?

Hi, it does not.
The issue with filtering and semantic search is that it is not straightforward to exclude documents before searching using the technologies employed by retriv.
There are vector databases that allow that right off the bat. Unfortunately, they require to be installed and loaded independently, which I want to avoid to keep everything user-friendly.
Directly filtering the search results instead of applying a filter beforehand is not a great solution for obvious reasons, i.e., you could end up filtering all of them and still not retrieve what you need.
I want to solve this issue in the future, but I have no time to work on it right now.


fix: LUIS sdk test update

#minor

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage remained the same at 84.543%

Files with Coverage Reduction
New Missed Lines
%

libraries/botbuilder-lg/src/templateExtensions.ts
1
84.48%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
19660

Relevant Lines:
22028

💛  - Coveralls


Add webcache_excludes option to config.yaml

The Problem/Issue/Bug:
As mentioned in issue #1410 there is no feature to to override the config.yaml webcache_enabled property.
How this PR Solves The Problem:
It adds the opportunity to exclude specific operation systems from webcache enabled even if the option is enabled in general
Manual Testing Instructions:
Add webcache_excludes options as mentioned in the updated docs/users/performance.md
Automated Testing Overview:

Related Issue Link(s):
#1410
Release/Deployment notes:

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.klange seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@
Can sb tell me why the following build checks are failing? (Im not allowed to lookup the details)

buildkite/ddev-windows-apache-fpm
buildkite/ddev-windows-dockerforwindows
buildkite/ddev-windows-dockerforwindows-nfs

I'd be happy to re-run the tests, but this PR is obsolete in v1.6.0, which just ignores webcache_enabled on Windows and Linux.  This issue was resolved in https://github.com/drud/ddev/pull/1390
I'd love to see you work on a general solution to local overriding of config (https://github.com/drud/ddev/issues/1410) but please work to propose an approach there before writing a PR, since we want it to work for everybody (and not make the config more complex).


Top Padding is not respected by iOs AppBar on device

Steps to Reproduce
I hope this is reproduceable:

Update to the latest alpha 0.0.20 (it looks like this was introduced in 0.0.18)
Run the gallery app on a iOs device (Not a simulator! For some reason the simulator seems to be working properly)
Go to any screen including an app-bar, e.g. "buttons"
Expected layout:

Actual layout:

Logs
If necessary I can also provide some logs, if this is not reproducable.
Flutter Doctor
[✓] Flutter (on Mac OS X 10.11.6 15G17023, locale en, channel alpha)
    • Flutter at /Users/xy/flutter
    • Framework revision 8f65fec5f5 (21 hours ago), 2017-12-12 09:50:14 -0800
    • Engine revision edaecdc8b8
    • Tools Dart version 1.25.0-dev.11.0
    • Engine Dart version 2.0.0-edge.d8ae797298c3a6cf8dc9f4558707bd2672224d3e

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.io/setup/#android-setup for detailed instructions).
      If Android SDK has been installed to a custom location, set $ANDROID_HOME to that location.

[✓] iOS toolchain - develop for iOS devices (Xcode 8.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 8.2.1, Build version 8C1002
    • ios-deploy 1.9.2
    • CocoaPods version 1.2.1

[✗] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.io/setup/#android-setup for detailed instructions).

[✓] Connected devices
    • iPhone von xy 2 • 9c2ac8e5e8d9e412312357dddbef9042dd90 • ios • iOS 11.2
    • iPhone 5s          • 22754963-E2C1-49FA-B538-8F188E522910     • ios • iOS 10.2 (simulator)

@xster @cbracken fallout from your recent work?

@BenSower thanks for filing this! I'm able to repro this locally when building with Xcode 8. Under Xcode 9, things look correct on the devices I tested (iPhone X on iOS 11.2, iPod touch on iOS 10.3.3, iPhone SE on iOS 11.2).
Xcode 8 includes the iOS 10 SDK, which does not include support for the safe area inset APIs, which is what we use to compute window padding. Flutter is built with Xcode 9 against the iOS 11 SDK (with deployment target: iOS 8). Updating your Xcode install to Xcode 9 should resolve the issue for you.
I'll update our Xcode version check in flutter to make this more obvious in the flutter doctor output.
Thanks again for reporting this!

Hi @cbracken thanks for your time and thank you for thoroughly reproducing the issue. If you had just said that everything is fine since you only tested Xcode 9 (which would have been totally fine) I'd basically gone crazy :-). Yeah, we are still using Xcode 8 in a very hacky way, since our old dev-mac is from 2008 and not able to run Xcode 9...
Ok, we wanted to get a new machine anyways and now is as good a time as any.
Thank you for your time and for walking the extra mile, it is greatly appreciated!
P.S.: this (>iOs 8) still stands?

thanks for your time and thank you for thoroughly reproducing the issue.

@BenSower Happy to do it! As I say, the current flutter doctor check for Xcode 8+ makes this really unobvious. I'll get a patch out today to update the check.

we are still using Xcode 8 in a very hacky way, since our old dev-mac is from 2008 and not able to run Xcode 9...

Not promising anything, but before you pick up a new Mac for development, if you're willing to use Xcode 8 in an even hackier way... give the following a try and you might be able to extend your machine's shelf life a little longer:

Download Xcode 9 from developer.apple.com > Downloads
Extract the .xip archive and move Xcode.app to /Applications/Xcode9.app
On the command-line, do the following:

cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
ln -s /Applications/Xcode9.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk iPhoneOS11.2.sdk

Open your Flutter app workspace in Xcode. Select the project in the left sidebar.
Inside the settings view, there should be a left sidebar. Make sure the Runner target is selected.
Select the Build Settings tab.
Under the Architectures section, find Base SDK. Select iOS 11.2.
Try a build and hope it works!

I just tested this out locally and it worked for me with Flutter Gallery.

P.S.: this (>iOs 8) still stands?

Yep! Xcode 9 with the iOS 11 SDK is what's needed for development, but we still target depolyment to iOS 8 and above. You can adjust that for your project in the Deployment Target field in your project settings in Xcode. Our templates default to iOS 8 as the deployment target.

@cbracken yeah, I tried to do something like your version before (we were already using this hack to be able to use xcode 8 to deploy on newer iOs devices, so I thought I'd try the same thing with the SDKs, too), but failed to even get XCode to properly recognize the newer SDK. Using your version I got it to recognize 11.2 as well as build it using Xcode, even though it seems like it didn't actually use 11.2, but defaulted back to 10, since the bug persisted. Weirdly enough I couldn't build the project at all using flutter directly :-/, which is weird since it uses xcode-build under the hood, too...
Long story short: We found out, we still had a newer Mac flying around the office, so now I am sitting in a very nice cafe, enjoying the afternoon, setting up the new Mac :-). Things could be worse!
Thanks again for your work, at least I learned something about Xcode in the process. Take care!

@cbracken hey, i tried your version of using the iOS 11 SDK in Xcode8, but i cant build the app using the flutter cli:
Iam using an iMac (Early 2009) running El Capitan with xCode8. Here are the logs:
flutter build ios
Building de.teraarts.fluttercojobo for device (ios-release)...
Automatically signing iOS for device deployment using specified development team in Xcode project: Y74TD5QW62
Running Xcode clean...
Starting Xcode build...
Xcode build done
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    While building module 'UIKit' imported from /Users/christian/flutter-cojoboapp/ios/Runner/main.m:1:
    While building module 'Foundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h:8:
    In file included from <module-includes>:1:
    In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:128:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUUID.h:26:49: error: nullability specifier '_Nullable' cannot be applied to non-pointer type 'uuid_t' (aka 'unsigned char [16]')
    - (instancetype)initWithUUIDBytes:(const uuid_t _Nullable)bytes;
                                                    ^
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUUID.h:29:30: error: nullability specifier '_Nonnull' cannot be applied to non-pointer type 'uuid_t' (aka 'unsigned char [16]')
    - (void)getUUIDBytes:(uuid_t _Nonnull)uuid;
                                 ^
    2 errors generated.
    While building module 'UIKit' imported from /Users/christian/flutter-cojoboapp/ios/Runner/main.m:1:
    In file included from <module-includes>:1:
    In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:11:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h:8:9: fatal error: could not build module 'Foundation'
    #import <Foundation/Foundation.h>
     ~~~~~~~^
    While building module 'UIKit' imported from /Users/christian/flutter-cojoboapp/ios/Runner/main.m:1:
    While building module 'QuartzCore' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:
    In file included from <module-includes>:1:
    In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h:9:
    In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h:10:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h:12:9: fatal error: could not build module 'Foundation'
    #import <Foundation/NSValue.h>
     ~~~~~~~^
    While building module 'UIKit' imported from /Users/christian/flutter-cojoboapp/ios/Runner/main.m:1:
    While building module 'QuartzCore' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:
    While building module 'OpenGLES' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h:7:
    In file included from <module-includes>:1:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h:8:10: fatal error: could not build module 'Foundation'
    #include <Foundation/Foundation.h>
     ~~~~~~~~^
    1 error generated.
    While building module 'UIKit' imported from /Users/christian/flutter-cojoboapp/ios/Runner/main.m:1:
    While building module 'QuartzCore' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:
    While building module 'Metal' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h:7:
    In file included from <module-includes>:1:
    In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.h:9:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h:8:9: fatal error: could not build module 'Foundation'
    #import <Foundation/Foundation.h>
     ~~~~~~~^
    While building module 'UIKit' imported from /Users/christian/flutter-cojoboapp/ios/Runner/main.m:1:
    While building module 'QuartzCore' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:
    While building module 'Metal' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h:7:
    While building module 'IOSurface' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTexture.h:15:
    In file included from <module-includes>:2:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h:15:9: fatal error: could not build module 'Foundation'
    #import <Foundation/Foundation.h>
     ~~~~~~~^
    1 error generated.
    2 errors generated.
    4 errors generated.
    While building module 'UIKit' imported from /Users/christian/flutter-cojoboapp/ios/Runner/main.m:1:
    While building module 'CoreImage' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:11:
    In file included from <module-includes>:1:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h:9:9: fatal error: could not build module 'Foundation'
    #import <Foundation/Foundation.h>
     ~~~~~~~^
    While building module 'UIKit' imported from /Users/christian/flutter-cojoboapp/ios/Runner/main.m:1:
    While building module 'CoreImage' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:11:
    While building module 'CoreVideo' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h:10:
    In file included from <module-includes>:1:
    In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h:29:
    In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h:461:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h:26:10: fatal error: could not build module 'IOSurface'
    #include <IOSurface/IOSurfaceRef.h>
     ~~~~~~~~^
    1 error generated.
    2 errors generated.
    While building module 'UIKit' imported from /Users/christian/flutter-cojoboapp/ios/Runner/main.m:1:
    While building module 'FileProvider' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSFileProviderExtension.h:14:
    In file included from <module-includes>:1:
    In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/FileProvider.h:8:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h:8:9: fatal error: could not build module 'Foundation'
    #import <Foundation/Foundation.h>
     ~~~~~~~^
    1 error generated.
    10 errors generated.
    /Users/christian/flutter-cojoboapp/ios/Runner/main.m:1:9: fatal error: could not build module 'UIKit'
    #import <UIKit/UIKit.h>
     ~~~~~~~^
    While building module 'Flutter' imported from /Users/christian/flutter-cojoboapp/ios/Runner/main.m:2:
    In file included from <module-includes>:1:
    In file included from /Users/christian/flutter-cojoboapp/ios/Flutter/Flutter.framework/Headers/Flutter.h:34:
    /Users/christian/flutter-cojoboapp/ios/Flutter/Flutter.framework/Headers/FlutterAppDelegate.h:8:9: fatal error: could not build module 'UIKit'
    #import <UIKit/UIKit.h>
     ~~~~~~~^
    While building module 'Flutter' imported from /Users/christian/flutter-cojoboapp/ios/Runner/main.m:2:
    While building module 'CoreMedia' imported from /Users/christian/flutter-cojoboapp/ios/Flutter/Flutter.framework/Headers/FlutterTexture.h:8:
    While building module 'AudioToolbox' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMFormatDescription.h:27:
    In file included from <module-includes>:1:
    In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioToolbox.h:18:
    In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AUGraph.h:34:
    In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnit.h:24:
    In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AUAudioUnit.h:11:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AUParameters.h:13:9: fatal error: could not build module 'Foundation'
    #import <Foundation/Foundation.h>
     ~~~~~~~^
    While building module 'Flutter' imported from /Users/christian/flutter-cojoboapp/ios/Runner/main.m:2:
    While building module 'CoreMedia' imported from /Users/christian/flutter-cojoboapp/ios/Flutter/Flutter.framework/Headers/FlutterTexture.h:8:
    While building module 'AudioToolbox' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMFormatDescription.h:27:
    While building module 'CoreMIDI' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/MusicPlayer.h:44:
    In file included from <module-includes>:1:
    In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreMIDI.framework/Headers/CoreMIDI.h:24:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDINetworkSession.h:20:9: fatal error: could not build module 'Foundation'
    #import <Foundation/Foundation.h>
     ~~~~~~~^
    1 error generated.
    2 errors generated.
    While building module 'Flutter' imported from /Users/christian/flutter-cojoboapp/ios/Runner/main.m:2:
    While building module 'CoreMedia' imported from /Users/christian/flutter-cojoboapp/ios/Flutter/Flutter.framework/Headers/FlutterTexture.h:8:
    In file included from <module-includes>:1:
    In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CoreMedia.h:15:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMFormatDescription.h:27:10: fatal error: could not build module 'AudioToolbox'
    #include <AudioToolbox/AudioFormat.h>
     ~~~~~~~~^
    3 errors generated.
    4 errors generated.
    15 errors generated.

flutter doctor
[✓] Flutter (Channel beta, v0.1.5, on Mac OS X 10.11.6 15G1011, locale de)
    • Flutter version 0.1.5 at /Users/christian/flutter
    • Framework revision 3ea4d06340 (4 weeks ago), 2018-02-22 11:12:39 -0800
    • Engine revision ead227f118
    • Dart version 2.0.0-dev.28.0.flutter-0b4f01f759

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.io/setup/#android-setup for detailed instructions).
      If Android SDK has been installed to a custom location, set $ANDROID_HOME to that location.

[✓] iOS toolchain - develop for iOS devices (Xcode 8.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 8.2.1, Build version 8C1002
    • ios-deploy 1.9.2
    • CocoaPods version 1.4.0

[✗] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.io/setup/#android-setup for detailed instructions).

[✓] Connected devices (1 available)
    • iPhone • 662d19f06a36af09a9bd0e64f7b0fdcd83fc5167 • ios • iOS 11.1.2

! Doctor found issues in 2 categories.

Do you have any ideas what i can do to build flutter apps for ios11?

@christian-muertz unfortunately I think the answer is that you’ll need to build with Xcode 9 to use the iOS 11 SDK, which supports safe area insets.


User Experience & UI – Balancing Simplicity & Flexibility -"v2"

The question I've tried to come up with an answer to:

Where to draw the line? Keep it simple, or keep it flexible?

My short answer: I'm hoping to make this a useful tool for moderately-technical designers.

e.g. a product designer wants to test out what a new font might look like in their product
e.g. a type designer wants to test a WIP font, to see how it reads in familiar sites

Conclusion:

We can make the tool useful for anyone who can click buttons
We can make the tool more useful for anyone who can find, copy, and paste  (or write) CSS, to have fuller control over things like element selection and styles

Draft of UI
I've tried to simplify this as much as possible, but I recognize that it might still be more complex than is within scope. I also realize that as much thought as I've put into this, I've probably forgotten things. So, feel free to use your judgment on what next steps to take!
I made these mockups in Sketch, but in case you'd like to grab colors, see measurements, export icons, etc etc, I have imported the file to Figma and shared a link through a DM to @kabisa on Slack.

User Journey
The first view of the extension is simple. Click a button to activate fonts, or click to open extension settings.

By default, there are two fonts loaded. One overrides headlines and text, while the other overrides code.

The user wants to change the font. They can click the menu to see previously-loaded fonts.

They decide to "add another font" or to expand the font family options. Either way, the get the option to drag-n-drop a new font (ideally, this could also pull up a system file window if clicked):

The user wants to change the font style. Clicking the style menu would show instances. The expand-options caret gives a small panel for CSS properties:

The user can either make a simple selection of which 3 types of content they wish to override (headlines, text, and/or code), or expand to see all the selectors that are included:

Maybe the user wants to add more icon override selectors. Here, I think "don't override" is probably clearer than "blacklist." The user can expand this section to add selectors which should be ignored. This is useful to help them cover sites and selectors we couldn't predict beforehand (like the random-string class names on sites like Google Calendar and Styled Components).

Maybe, the user wants to add a third font. This logic starts to get a bit tricky, but right now, my assumption is that we should allow a "cascade," so that newer fonts override earlier fonts. This could potentially be shown by striking out the override values in the earlier font.
We should probably discuss this before deciding exactly what to do, here.

If this exceeds something like 95vh, the control panel with do an overflow-y: auto;

Assumptions:

These settings persist between websites. The user doesn't have a way to export/import/share settings.
Fonts which are loaded can (hopefully) persist between browser visits.

I'm going to close this, as I feel that we've either achieved most of it already or else have separated specific goals into other issues.


Change Scroll color

Hi there,
I'm looking for change de background color #2ecc71, can you help me?
I tried another way to hide de scroll bar with option withScroll, but no success
<ReactSmartScroller draggable paginationConfig={{ withScroll: false }}>

@naothomachida Hello!
in order to change the background of the scroll track you can simply write
<ReactSmartScroller
    trackProps={{
      backgroundColor: 'blue'
    }}
  >

in order to change the color of the scroll you must create a new thumb, currently there is no option to change the color of initial thumb, if you would like so, let me know answering this comment and we shall add it :)
<ReactSmartScroller
    thumb={(
      <div
        style={{
          backgroundColor: 'green',
          width: 50,
          height: 10
        }}
      />
    )}
  >

@GrzegorzTarnopolski thanks! Solved using new thumb :)
This lib is topper


Bump Quantified: 1.0.0 -> 1.0.1

Bumping Quantified version to pull changes introduced in https://github.com/Shopify/quantified/pull/4
cc. @wvanbergen

:+1:


compile failed without any infomation

I write the code bellow, which got "error: The following command exited with error code 5" before running the test
//utils.Comparable:
pub fn Comparable(comptime RHS: type) type {
    return struct {
        cmp: *const fn(*const @This(), *const RHS) CompareResult
    };
}
//utils.CompareResult
pub const CompareResult = enum(u8) {
    Greater = 0,
    Equal = 1,
    Less = 2,
};
pub fn Range(comptime T: type) type {
    const input_type_info = @typeInfo(T);
    switch (input_type_info) {
        .Int, .Float, .Bool => {},
        else => {
            @compileError("Range among non-numeric types is not supported");
        },
    }
    return struct {
        start: T = 0,
        end: T,
        step: T = 1,
        comparableSelf: utils.Comparable(Self) = validate.dynamic(utils.Comparable(Self), ComparableSelfImpl),
        comparableInnerType: utils.Comparable(T) = validate.dynamic(utils.Comparable(T), ComparableInnerTypeImpl),
        const Self = @This();
        const ComparableSelfImpl = struct {
            pub fn cmp(comparable: *const utils.Comparable(Self), rhs: *const Self) utils.CompareResult {
                const self = @fieldParentPtr(Self, "comparableSelf", comparable);
                if (((self.end - self.start) / self.step) - ((rhs.end - rhs.start) / rhs.step) > 0) {
                    return .Greater;
                }
                if (((self.end - self.start) / self.step) - ((rhs.end - rhs.start) / rhs.step) < 0) {
                    return .Less;
                }
                return .Equal;
            }
        };
        const ComparableInnerTypeImpl = struct {
            pub fn cmp(comparable: *const utils.Comparable(T), rhs: *const T) utils.CompareResult {
                const self = @fieldParentPtr(Self, "comparableInnerType", comparable);
                if (self.start > rhs) return .Greater;
                if (self.end < rhs) return .Less;
                return .Equal;
            }
        };
    };
}
test "Comparable" {
    var range_1 = Range(u32){ .end = 5 };
    var range_2 = Range(u32){ .end = 4 };
    try std.testing.expectEqual(range_1.comparableSelf.cmp(&range_1, &range_2), .Greater);
    try std.testing.expectEqual(range_1.comparableInnerType.cmp(&range_1, 3), .Equal);
}

this problem actually would not happen when I use StaticDispatch, so I think it may have somewhere that reached the undefined behavior of zig

@deathcodebind what is the output of zig version on your install? I get an error: The following command exited with error code 11 on version 0.11.0-dev.1836+28364166e.
I am 99% certain this this is a bug within zig. If there was an error in zig-validate there should've been a descriptive compiler message stating what was wrong. I'll try and figure out what exactly causes it to error.

I use 0.11.0-dev.1898+36d47dd19 version of zig

@deathcodebind what is the output of zig version on your install? I get an error: The following command exited with error code 11 on version 0.11.0-dev.1836+28364166e.
I am 99% certain this this is a bug within zig. If there was an error in zig-validate there should've been a descriptive compiler message stating what was wrong. I'll try and figure out what exactly causes it to error.

zig version
0.11.0-dev.1898+36d47dd19

After some trial and error, it seems that the build fails because the struct Comprable(Range(u32) depends on itself.
src/validateTests.zig:396:12: error: struct 'validateTests.Comparable(validateTests.Range(u32))' depends on itself
    return struct {
           ^~~~~~
src/validate.zig:98:40: note: called from here
        var extractedVT = utils.extract(VTable, .vtable);
                          ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
src/validateTests.zig:419:60: note: called from here
        comparableSelf: Comparable(Self) = validate.dynamic(Comparable(Self), CompareImpl),

I have reduced it to a test like this to replicate what could cause the compiler to crash:
test "Break" {
    const Oof = Range(u32);
    const d = validate.dynamic(Comparable(Oof.Self), Oof.CompareImpl);
    _ = d;
}

I have made Self pub and simplified to a single implementation named CompareImpl that always returns .Equal.
commenting out validate.dynamic out makes the build work, so I took it outside of the struct and it returns the compile error I pasted above.
This seems to be a limitation of zig, not a bug in zig-validate.

After some trial and error, it seems that the build fails because the struct Comprable(Range(u32) depends on itself.
src/validateTests.zig:396:12: error: struct 'validateTests.Comparable(validateTests.Range(u32))' depends on itself
    return struct {
           ^~~~~~
src/validate.zig:98:40: note: called from here
        var extractedVT = utils.extract(VTable, .vtable);
                          ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
src/validateTests.zig:419:60: note: called from here
        comparableSelf: Comparable(Self) = validate.dynamic(Comparable(Self), CompareImpl),

I have reduced it to a test like this to replicate what could cause the compiler to crash:
test "Break" {
    const Oof = Range(u32);
    const d = validate.dynamic(Comparable(Oof.Self), Oof.CompareImpl);
    _ = d;
}

I have made Self pub and simplified to a single implementation named CompareImpl that always returns .Equal. commenting out validate.dynamic out makes the build work, so I took it outside of the struct and it returns the compile error I pasted above.
This seems to be a limitation of zig, not a bug in zig-validate.

I see, since it is not a bug in zig-validate, maybe I needed to close this issue. thanks for your patient


EnergyData table too large

After scaling up to over 150 polled assets, the EnergyData table is too large to poll.  It needs to be split!

Added daily and monthly aggregations in commit da70f258e42358b00a127989f52d8f1ec4907e9f .


Possible change server side - YADC crashes

Hi,
System logs and start the search loop just fine
Searches once then falls over
Please find attached the error dump

error-2022-04-27_19-17-58.txt
error-2022-04-27_19-17-58 (2).txt

We have searched all dates in this test centre. There are no tests that meet your requirements. You can search again at a different test centre.

The code is looking for the booking date selector, but there aren't any tests.  There ought to be a test for 'no dates available' and fail early in the booking code if so.  Either there is one and it's too specific (so a website change has broken it) or there isn't one.  In either case it's trivial to add.  I'll try to get on this soon, but if you want to have a go, look for the bit in the booking code which tries to find a date: there should be a test for 'no dates' just before it.   It's probably something silly like a string comparison...

fixed in https://github.com/2e0byo/YADC/commit/ff00a3a0ab34c20ba898230c83b8e2e8d070c79c (untested).

now tested - working - thank you 2e0byo


[release-0.50] virt-launcher, hostdevice: Respect SR-IOV guest pciAddress and bootOrder

This is a manual cherry-pick of #7422
Release note:

Fixed setting custom guest pciAddress and bootOrder parameter(s) to a list of SR-IOV NICs.

/uncc @rmohr @omeryahud

/cc @EdDev @ormergi

/retest-required

/retest-required

/retest-required

/retest-required

/retest

/approve


KAFKA-12467: Add controller-side snapshot generation

Implement controller-side snapshot generation.
This is a work in progress, no tests are here yet.  I also still need to add the logic for generating snapshots after N metadata records

I split off parts of this into:
https://github.com/apache/kafka/pull/10455
https://github.com/apache/kafka/pull/10456

Returning an iterator of batches works well when the control managers only have a single iterable thing that needs to be translated to records. Do you think we might have cases (eventually) where the control classes have more complex state? It might be more flexible to take a consumer rather than return an iterable:

Hmm... I don't think that would be a problem.  You could have a single iterator that iterates over multiple data structures X and Y.  You would just need to store the state of whether you were done with X before starting Y.
In general one of the goals of controller snapshots is to avoid "stopping the world" while the snapshot is generated.  So a synchronous API would not be useful here.  The iterator API allows us to take only a few batches of records at a time.

Fix spotbugs


Adding credentialsId parameter to listTagsParam

It adds an additional and optional parameter (credentialsId) to listTagsParam
When using List Tags Param usually you need to select which credentials should use to retrieve the options.

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests

The listTagsParam is from ancient times and should be replaced by a new variant with a closure parameter instead of adding a 9th parameter. By replacing I mean that the current method should be deprecated and delegate to the new method. Can you do that?

Sure, I'm gonna create the new method and delegate the call.

OK great, please update the documentation as well.

Oh, and squash your commits to a single one when you are done.

Desperately seeking exactly this feature. Any progress? Need help?

I will take care.

I rebased the changes and merged them manually.


Json Editor Flat

Adds a 2nd User Interface for the Json Editor.
This does not include the advance schema editor.
usage: <ngx-json-editor-flat ... ></ngx-json-editor-flat>

Correct me if I'm wrong, but shouldn't these fields be red if they are 1: required with no value, or 2: a number field with an invalid input?

@aacebo you're totally right. Looks like a bug on ngx-input though.


Token Probabilities Visibility Tied to ‘Highlight Generate Tokens'

Not sure if this is intentional behaviour, but recent updates seem to have made the token probability display mutually exclusive with the highlight generate tokens option.
In older versions I could have the highlight disabled and still see tokens probabilities, but this is no longer the case; when you enable the highlight, the submenu for probabilities visibility disappears.
How it used to work in older versions:

How it works in most recent version:

Not a big deal, but it would be nice to see token probabilities without forcing you to turn highlighting on.

It is, in fact, on purpose. If the highlight overlay affects performance, disabling the highlight wouldn't have been enough before. I guess the solution would be to add an option to show the highlight only on hover, like it worked before when the highlight for generated tokens was disabled.

Implemented on https://github.com/lmg-anon/mikupad/commit/0f96ecb6b3d60c516da2375c85e57f133d9a6f90.


⚠ Bofrost.fr has degraded performance

In bdf5fe1, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1380 ms

Resolved: Bofrost.fr performance has improved in 4a97ce7.


images to https://shakytruce.github.io/ShakyTruce/place.html

Fix map section formatting (change pdf to jpg and include in liquid tag; jumbotron title not updating; fix format of markdown table in demographics section


Automated and semi automated DISHM YAML tests

Manual --> Automated tests
TC-DISHM-1.1
TC-DISHM-3.1

Manual --> Semi-automated tests
TC-DISHM-2.1
TC-DISHM-3.2
TC-DISHM-3.3
TC-RVCRUNM-3.3

Added auto generated files
Execution logs:
exe_logs.txt

Closing the PR as these tests are automated in PR https://github.com/project-chip/connectedhomeip/pull/27946.
CC @raju-apple


Traceback (most recent call last)

This awesome plugin used to work perfectly. All of the sudden, installing bower components isn't working.
Here is my error that I ran into in the console:
Exception in thread Thread-53:
Traceback (most recent call last):
  File "./python3.3/threading.py", line 901, in _bootstrap_inner
  File "bower.utils.download in /Users/dougbeney/Library/Application Support/Sublime Text 3/Installed Packages/Bower.sublime-package", line 22, in run
  File "bower.utils.download in /Users/dougbeney/Library/Application Support/Sublime Text 3/Installed Packages/Bower.sublime-package", line 26, in install_package
  File "bower.utils.cli in /Users/dougbeney/Library/Application Support/Sublime Text 3/Installed Packages/Bower.sublime-package", line 46, in execute
Bower.bower.exceptions.non_clean_exit_error.NonCleanExitError: 1

Any ideas?

I am running macOS Sierra with Sublime build 3126.

Bug is reproduced for me in Sublime Text without other plugins and user settings. And I also can successfully install my Bower packages in terminal. @benschwarz?
Environment
Operating system and version:
Windows 32-bit 10.0.14393
Sublime Text:
Build 3126
Thanks.


Adopt split of SwiftSyntaxParser into its own module

Companion to https://github.com/apple/swift-syntax/pull/309
Adopt the breaking SwiftSyntax API change that moves SwiftSyntaxParser into its own module.

https://github.com/apple/swift-syntax/pull/309
@swift-ci Please test


Init fails when s3 backend is managed by terragrunt

@gazprometheus and I were initializing terragrunt in our environment, and we caught onto an issue with generating backend.tf
Terragrunt Version
0.23.34
Essentially, when we follow the example in the documentation for quickstart, with a terragrunt.hcl that looks like:

terraform {
    source = "<MODULE LOCATION>"
}
remote_state {
    backend = "s3"
    generate = {
        path = "backend.tf"
        if_exists = "overwrite_terragrunt"
    }
    config = {
        encrypt = true
        bucket = "<BUCKET>"
        dynamodb_table = "terraform-state-lock-dynamo"
        region = "us-east-1"
        key = "<PATH>/terraform.tfstate"
    }
}

when we execute AWS_PROFILE=Dev terragrunt init, we get a series of 403 errors from AWS. However, when we manually include a backend.tf as a peer to terragrunt.hcl that is otherwise identical to the generated backend.tf terragrunt init succeeds.
e.g. the following works:
module
├── backend.tf
└── terragrunt.hcl

where backend.tf looks like:
terraform {
  backend "s3" {
    bucket         = "<BUCKET>"
    dynamodb_table = "terraform-state-lock-dynamo"
    encrypt        = true
    key            = "<PATH>/terraform.tfstate"
    region         = "us-east-1"
  }
}

There is a possiblity this is related to #1129 given that we use aws sso, but I suspect this is not the case given that I am able to init terragrunt successfully with a manually managed backend.tf

Can you share the logs with the 403 errors? There are multiple places where it could 403 and it would help to identify which call is causing it.

[terragrunt] [/Users/stayman/dev/repo/Terraform/Dev/uart3] 2020/08/26 14:50:17 Running command: terraform --version
[terragrunt] 2020/08/26 14:50:18 Terraform version: 0.12.29
[terragrunt] 2020/08/26 14:50:18 Reading Terragrunt config file at /Users/stayman/dev/repo/Terraform/Dev/uart3/terragrunt.hcl
[terragrunt] 2020/08/26 14:50:18 WARNING: no double-slash (//) found in source URL /Users/stayman/dev/repo/Terraform/applications/uart3. Relative paths in downloaded Terraform code may not work.
[terragrunt] 2020/08/26 14:50:18 Downloading Terraform configurations from file:///Users/stayman/dev/repo/Terraform/applications/uart3 into /Users/stayman/dev/repo/Terraform/Dev/uart3/.terragrunt-cache/J_spidMlLdjOVeJieqvKHt3VjEg/JDsHmx1DUI0H9dYhP1p_T2Mbbzw
[terragrunt] 2020/08/26 14:50:18 Copying files from /Users/stayman/dev/repo/Terraform/Dev/uart3 into /Users/stayman/dev/repo/Terraform/Dev/uart3/.terragrunt-cache/J_spidMlLdjOVeJieqvKHt3VjEg/JDsHmx1DUI0H9dYhP1p_T2Mbbzw
[terragrunt] 2020/08/26 14:50:18 Setting working directory to /Users/stayman/dev/repo/Terraform/Dev/uart3/.terragrunt-cache/J_spidMlLdjOVeJieqvKHt3VjEg/JDsHmx1DUI0H9dYhP1p_T2Mbbzw
[terragrunt] 2020/08/26 14:50:18 Generated file /Users/stayman/dev/repo/Terraform/Dev/uart3/.terragrunt-cache/J_spidMlLdjOVeJieqvKHt3VjEg/JDsHmx1DUI0H9dYhP1p_T2Mbbzw/backend.tf.
[terragrunt] [/Users/stayman/dev/repo/Terraform/Dev/uart3] 2020/08/26 14:50:18 Initializing remote state for the s3 backend
[terragrunt] 2020/08/26 14:50:18 AccessDenied: Access Denied
        status code: 403, request id: 7DF077B64E41F5FB, host id: pwNRcW+ojqe5tst+TBwfLR67RV40PIhPhhvZYu2tx2cOSv7f2GRSgiUypJdgN991H5wBkyYoCbM=
[terragrunt] 2020/08/26 14:50:18 Unable to determine underlying exit code, so Terragrunt will exit with error code 1

Thanks for sharing the logs. It appears that terragrunt is erroring out when trying to check if the remote state bucket exists and if it has the right settings (e.g. if encryption is enabled).
I tried using an AWS_PROFILE to see if that was the issue, but I confirmed that terragrunt handles AWS_PROFILE correctly.
What permissions are set on the user? Do you by chance have reduced S3 permissions for the s3 bucket set? If so, that may be the conflict as terragrunt needs more permissions than terraform to validate the remote state bucket is configured correctly.

The user has administrator permissions, and when I use terragrunt with a non-terragrunt managed backend the exact same keys I authenticate without any problem. I am also using AWS_PROFILE to identify which user to be, and the only difference between the scenario working and not working is the presence of the remote_state block in my terraform.hcl managing the creation of the backend file.

Sorry I should have clarified.
The remote_state block does more than just generate the backend configuration. It also informs terragrunt that it should automanage the state bucket (see https://terragrunt.gruntwork.io/docs/features/keep-your-remote-state-configuration-dry/#create-remote-state-and-locking-resources-automatically).  This includes listing the bucket, checking that it has the necessary attributes, updating the bucket access policy to allow the root user, and checking dynamodb for the lock table. This does more than what terraform does during init, which just grabs the state file object, hence there is a difference in the required permissions.
The logs indicate that this is failing in that routine, when terragrunt is running through the checklist of validating if the state bucket is setup correctly, and I was wondering if you may not have the right permissions for modifying that S3 bucket on the user.
If this is ringing any bells, you can disable certain parts of the routine by adding the corresponding skip var to the config (see the docs for more details).
Alternatively, you can completely disable the management feature by setting disable_init to true:
remote_state {
    disable_init = true
    backend = "s3"
    generate = {
        path = "backend.tf"
        if_exists = "overwrite_terragrunt"
    }
    config = {
        encrypt = true
        bucket = "<BUCKET>"
        dynamodb_table = "terraform-state-lock-dynamo"
        region = "us-east-1"
        key = "<PATH>/terraform.tfstate"
    }
}

Unfortunately, I can't really be of much more help here since I can't reproduce the error using a similar setup. If you or anyone else in the community, can repro this and want to dig in, it would help if you can figure out which function is causing this problem in here.

Thank you for the guidance. setting disable_init to true solved the issue. Thank you for the help.


Update functions-bindings-service-bus-trigger.md

Fixed a description to be accurate based on the example it was describing.

@ggailey777

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@ggailey777,
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.

email and Teams msg to author

PR review team emailed author today

This is a perfect example of why people give up on contributing to these projects. It’s 7 months later and this 2 word change PR hasn’t been reviewed 🤦🏻♂. This will definitely be my first and last contribution here.


403 on Webhook

I'm having issues getting my web hook to work.  On Caddy start it does pull the latest code from bitbucket as expected.  But for some reason pulling using the webhook is not working.  I'm thinking that the webhook should never reach the rewrite rule, no?  The key file should be working because it is pulling on container start, just not on code push.
Any help would be much appreciated.  Here is my info:
CADDYFILE VERSION 0.8.2:
mydomain
tls myemail
#browse
fastcgi / <IP_ADDRESS>:9000 php # php variant only
startup php-fpm # php variant only

git {
       repo    git@bitbucket.org:mygitrepo.git
       branch   master
       key      /root/.ssh/id_rsa
       path     ../../src
       hook     /_webhook
       then    cp -pR /srv/src/laravel /srv/
       then    sh -c "cd /srv/laravel && composer update"
       then    sh -c "cd /srv && chown -R nobody.nobody laravel"
}

root /srv/laravel/public

log access.log
errors error.log

rewrite {
    if {file} not favicon.ico
    to {path} {path}/ /index.php?{query}
}

BITBUCKET SET:
Under integrations and Webhook i have the following hook:
https://mydomain/_webhook
ERROR from bitbucket:
Response from https://mydomain/_webhook
HTTP status: 403
Elapsed time: 1590ms
Request time: 7 minutes ago (Tuesday, April 26th 2016, 3:56:10 pm)

Caddy 0.8.3 just got released. Can you upgrade to 0.8.3 and try again.

Hi, any success ?

Same 403 error.  Not sure that it matters but i'm running Caddy inside a docker container.  See conf below:
`FROM alpine:3.2
MAINTAINER Abiola Ibrahim<EMAIL_ADDRESS>LABEL caddy_version="0.8.3" architecture="amd64"
RUN apk update && apk add --update openssh-client git tar php-fpm mysql-client php-phar php-openssl php-xml php-mcrypt php-curl php-dom php-gd php-json php-pdo_mysql php-pdo_sqlite php-iconv php-ctype php-common php-cli php-bcmath php-imap php-memcache php-ldap php-soap php-dba php-mcrypt php-xml php-dev php-mysqli php-mysql php-xmlrpc php-fpm php-pdo php-zip php-json
change timezone to eastern
RUN apk add tzdata && cp /usr/share/zoneinfo/US/Eastern /etc/localtime && echo "US/Eastern" > /etc/timezone && apk del tzdata
allow environment variable access.
RUN echo "clear_env = no" >> /etc/php/php-fpm.conf
RUN curl --silent --show-error --fail --location
--header "Accept: application/tar+gzip, application/x-gzip, application/octet-stream" -o -
"https://caddyserver.com/download/build?os=linux&arch=amd64&features=git"
| tar --no-same-owner -C /usr/bin/ -xz caddy
&& chmod 0755 /usr/bin/caddy
&& /usr/bin/caddy -version
RUN wget -O /root/installer https://getcomposer.org/installer && php /root/installer --install-dir=/usr/local/bin --filename=composer
EXPOSE 80 443 2015
VOLUME /srv
WORKDIR /srv
ADD Caddyfile /etc/Caddyfile
ADD phpinfo.php /srv/phpinfo.php
ENTRYPOINT ["/usr/bin/caddy"]
CMD ["--conf", "/etc/Caddyfile"]`

Is there a debug option i can set or log I can view?  I see nothing related in the error.log that Caddy produces.

Nothing really. Except you are willing to mingle with the source.
I wish BitBucket shows the response body.

BitBucket is showing a response of 403 Forbidden.
Response from https://mydomain/_webhook
HTTP status: 403
Elapsed time: 181ms
Request time: 36 minutes ago (Tuesday, May 3rd 2016, 7:28:52 pm)
Headers
content-length	13
keep-alive	timeout=15, max=100
server	Apache
connection	Keep-Alive
date	Tue, 03 May 2016 23:30:40 GMT
content-type	text/plain; charset=utf-8
Response
Body
403 Forbidden

I'll have to remove all variables (ie: docker, waf, etc..) to rule out anything other than Caddy & Caddy-Git.  I'll keep yer updated.

I have attempted to reproduce this without success.
I hope you are not behind a reverse proxy that changes remote address before it gets to Caddy. That error is usually due to a request from a non bitbucket ip.

I'm with the same problem. Caddy 0.8.3, running inside a docker, behind cloudflare and using Bitbucket.
All requests return 403.
It is exact the same thing as @bc24fl , when the process starts it do the 'git pull', download new commits, etc.. but, when bitbucket try to call the webhook, caddy return a 403.
Anything new on this? Got to caddy only because of this feature :'(

Could Cloudfare play a role in this ?

Don't know. Already tried to disable the HTTP processing and use Cloudflare just as a DNS and still get the same error.
Tomorrow gonna try to use the DNS from DigitalOcean to see if resolve the issue.

I have a problem with traefik. How to setup traefik?

Cloudflare is the issue. Idk but i used it just as a DNS and still it does not work. So digitalocean ftw for DNS management here.

I don't know if this is the same issue, but I am unable to use the Webhook via bitbucket.  The error inside the docker container is:
17/Sep/2016:05:50:29 +0000 [ERROR 403 /webhook] the request doesn't come from a valid IP
Since these requests are routed via a load balancer, or perhaps from the host to the container, my guess is that the external IP does not match the bitbucket ones that are saved in https://github.com/abiosoft/caddy-git/blob/master/bitbucket_hook.go.  Either that, or bitbucket has more IP's than just the ones listed.

@saward what's the proxy configuration in your Caddyfile ?

You should be using the ip instead of the domain if you do not want these cloudflare issues to be popping up.

@abiosoft Here's my entire caddy file:
# https://caddyserver.com/docs/caddyfile
<IP_ADDRESS>:2020
log stdout
errors stderr

root /home/caddy

# Clone a public repo once/hour.

git bitbucket.org/<removed> {
    hook /webhook
}

Hi,
I'm running into the same 403 error as well when using bitbucket.  I've tried with Cloudflare and without Cloudflare, even accessing just the IP of the server and it still fails.  The error I get is:
1/23/2017 11:15:10 PM<IP_ADDRESS> - [24/Jan/2017:05:15:10 +0000] "POST /update HTTP/1.1" 403 38
My Proxy Caddyfile:
http://staging.<domain>.com http://<ip>/site {
    proxy / staging-test:80 {
transparent
}
    gzip
    tls off
    log stdout
    errors stderr
    header / Cache-Control "max-age=0"
}

My site Caddyfile:
<IP_ADDRESS>:80
root /var/www/html
gzip
fastcgi / phpfpm:9000 php
log stdout
errors stderr

status 403 /forbidden

git {
    repo<EMAIL_ADDRESS>    path /var/www/repo
    key /deployment_key.rsa
    hook /update
    hook_type bitbucket
}

# Begin - Security
# deny all direct access for these folders
rewrite {
    if {path} match /(.git|cache|bin|logs|backups|tests)/.*$
    to /forbidden
}
# deny running scripts inside core system folders
rewrite {
    if {path} match /(system|vendor)/.*\.(txt|xml|md|html|yaml|php|pl|py|cgi|twig|sh|bat)$
    to /forbidden
}
# deny running scripts inside user folder
rewrite {
    if {path} match /user/.*\.(txt|md|yaml|php|pl|py|cgi|twig|sh|bat)$
    to /forbidden
}
# deny access to specific files in the root folder
rewrite {
    if {path} match /(LICENSE.txt|composer.lock|composer.json|nginx.conf|web.config|htaccess.txt|\.htaccess)
    to /forbidden
}
## End - Security

# global rewrite should come last.
rewrite {
    to  {path} {path}/ /index.php?_url={uri}
}

I have been hit by this same issue, but with a different use-case:
I am running an instance of Caddy in a docker container to act as :80 and :443 front-end (in order to host several Let's Encrypt-enabled sites under a single IP). Each site the is behind this front-end on different container, and the front-end does all the TLS magic, while proxying to the internal instances with tls off.
Some of the sites would benefit from this http.git plugin, and I could not make it work.
The :arrow_up: workaround by @TotalLag allowed me to use the plugin in this use case.
An interesting issue with logging made me focus on the proxy instance while debugging: The POST request that arrived to the internal server was silently responded with 403, not logging it. So each time the webhook was fired, I only saw it on the proxy, but not on the internal server as other requests.

@pdinoto good to hear that you have a workaround.
Should the webhook handler worry about {>X-Real-IP} and {>X-Forwarded-For} ? I thought it is out of scope for it and I'd rather leave that to a plugin/directive that is designed to that e.g. realip.
At least for now, we can recommend users to use realip workaround.

Same error with Bitbucket and DigitalOcean instance - http.realip solved the error.
       realip {                 from <IP_ADDRESS>/21         }
IP range is from: https://confluence.atlassian.com/bitbucket/what-are-the-bitbucket-cloud-ip-addresses-i-should-use-to-configure-my-corporate-firewall-343343385.html

This has been fixed with https://github.com/abiosoft/caddy-git/issues/94.

Heyho, as this should be fixed by #94, i tried this now with a newly downloaded caddy-binary with http.git enabled and im still getting a 403 from Bitbucket (self hosted)
Response Headers (in BitBucket)
Server: Caddy
Content-Length: 14
X-Content-Type-Options: nosniff
Date: Thu, 18 Apr 2019 11:15:38 GMT
Via: 1.1 localhost (Apache-HttpClient/4.5.5 (cache))
Content-Type: text/plain; charset=UTF-8

Response Body:
403 Forbidden

Caddy-File:
http://internal.ex.lan {
  tls off

  on startup docker start tasker

  log access.log
  errors error.log

  header / Cache-Control "max-age=0"

  realip <IP_ADDRESS>/8

  git {
    repo https://bitbucket.ex.lan/scm/~sealife/repo.git
    path /applications/tasker
    branch master
    hook /webhook
    hook_type bitbucket
  }

  proxy / localhost:25100

  on shutdown docker stop tasker
}

Tried adding "realip" but im not using a proxy in front of Caddy at this point (BitBucket contacts Caddy directly)

@SeaLife since yours is self hosted, that means your IP will not be included in Atlassian's (https://ip-ranges.atlassian.com).
Looks like we'd have to either allow users to specify IPs or make IP verification optional.

I read somewhere something about a "hook_ips" setting which would be really helpful - unfortunate i dont know Go enough to implement it :(
Probably adding <IP_ADDRESS>/8 would help also, cause this is used in all the major companies who are self hosting their stuff? 🗡