temp state of enhanced docu for azd

Purpose
Enhancement of documentation for Azure Developer CLI based setup
Does this introduce a breaking change?
[ ] Yes
[X] No

Pull Request Type
What kind of change does this Pull Request introduce?
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[X] Documentation content changes
[ ] Other... Please describe:

How to Test
No code changes involved
What to Check
Documentation of the azd-based setup of the app and the CI/CD configuration
Other Information

@MartinPankraz : After successful review I would recommend a squash and merge of the PR as the single steps are not of importance and clutter the git history.


Publish the contracts to npm

We are writing the dapp that will consume these contracts, and it would be easier to do it with the contracts released to npm. Then we could add them as a dependency instead of copying or linking them.

Packages can now be added as a dependency using:
$ npm install tpl-contracts

or:
$ yarn add tpl-contracts

Additionally, there is now an npm badge in the Readme file.


Exposes checksum_verify in init.pp w/ conditional.

This PR exposes checksum_verify (as the default for that is 'true' in archive module) in install.pp and exposes it with a conditional in init.pp instead. It sets the value depending on whether checksum is defined by user and performs the check, otherwise it does no check.
@dhoppe @afisher @bbriggs @bastelfreak (and anyone else), please review. Thanks!

Thanks @dhoppe !


nflverse_save

Do we need an option to compress csv data? e.g. .csv.gz?

I'm not opposed to an optional csv.gz but would prefer to direct people to the better formats rds/parquet/qs rather than supporting it officially

@mrcaseb added include_gz = FALSE as default param and corresponding csv.gz write feature


Bug: Game logic service should use GameState enum

Describe the bug
GameService is calculating game results based on boolean values.
To Reproduce
Steps to reproduce the behavior:

Go to shared/services folder,
Open game.service.ts,

Expected behavior
The howl game logic should be based on GameState enum to provide better code adaptation.
Screenshots

Device (please complete the following information):
Additional context

Tested


[RFC] UrlComparerTrait::normalize including action parameters?

I have a navbar with 4 links, 3 of them are links to the Pages Controller (to display different pages)
Up to the 3.1.0 launch the url detection worked well, after the update all PagesController link are marked as visited.
Example (simplified w/o icons)
echo $this->Navbar->beginMenu();
echo $this->Navbar->link(__('Home'), [
    'controller' => 'Pages',
    'action' => 'display', 'home'
]);
echo $this->Navbar->link(__('Apartments'), [
    'controller' => 'Apartments',
    'action' => 'index'
]);
echo $this->Navbar->link(__('FAQ'), [
    'controller' => 'Pages',
    'action' => 'display', 'faq'
]);
echo $this->Navbar->link(__('General Conditions'), [
    'controller' => 'Pages',
    'action' => 'display', 'general-conditions'
]);
echo $this->Navbar->endMenu();

I can submit a PR to fix this, but some tests breaks, some are obvious, some others not like
1) Bootstrap\Test\TestCase\View\Helper\UrlComparerTraitTest::testFullBase
/cakephp/cakephp/admin/users/edit/1 != /cakephp/admin/users/edit
Failed asserting that false is true.

I think it should pass, but then I think how useful is a very specific link in a navbar...
Should I submit the PR? I would like have some consensus about it.

This was something I was worried about when designing the URL comparer, but when you use pass parameters in your action

This was something I was worried about when designing the comparer, unfortunately both your parameters (faq, home, ...) and the edit parameters (1) are treated in the same way by Cake...
One possibility would be to allow full or partial comparison, I will see if I can come up with something.

I have just pushed a "fix" to the master branch (not the 3.1.0 tag), you can try it by requesting the dev-master branch.
The new behavior is basically:

UrlComparerTrait::compareUrls now check if the left URL is a parent of the right URL.

This should solve both issue because:

/pages/home is not a parent of /pages/faq;
/admin/users/edit is a parent of /admin/users/edit/1.

Let me know if it solves your problem without creating new ones... ;)

Thank you, It works :clap: :clap:
It could be better if you could specify such parent-checking in the 4th parameter of NavbarHelper::link()
So one could do this
echo $this->Navbar->link(__('Dashboard'), [
    'controller' => 'Moderators',
    'action' => 'dashboard'
]);
echo $this->Navbar->link(
    __('Apartments'),
    [
        'controller' => 'Apartments',
        'action' => 'index'
    ],
    // I managed this way since the very firsts days of NavbarHelper
    [], // ['class' => $this->name == 'Apartments' ? 'active' : ''],
    [
        'escape' => false,
        'active-sub-url' => true, // add "active" class if matches /apartments/*
    ]
);

Anyway, You can close the issue. Thanks again

I have pushed another commit to add more flexibility. The default behavior of the autoActiveLink is to compare whole parts of the URL, so (right column is X if comparison returns true):

Link URL
Normalized
Current URL
Normalized

['controller' => 'Pages', 'action' => 'display', 'faq']
/pages/display/faq
/pages/faq
/pages/display/faq
X

['controller' => 'Pages', 'action' => 'display', 'faq']
/pages/display/faq
/pages/credots
/pages/display/credits

['controller' => 'Users', 'action' => 'edit']
/users/edit
/users/edit/1
/users/edit/1
X

But you can pass an array as the active options to the link method (the second param), typically:
echo $this->Navbar->link(
    __('Apartments'),
    [
        'controller' => 'Apartments',
        'action' => 'index'
    ],
    ['active' => ['action' => false, 'pass' => false]]
);

Now:

Link URL
Normalized
Current URL
Normalized

['controller' => 'Apartments', 'action' => 'index']
/apartments
/apartments/action
/apartments/action
X

The current URL will never be altered by the option, only the link URL is modified.
I will add more information to the documentation when I have time.

I have added this to the documentation:
http://holt59.github.io/cakephp3-bootstrap-helpers/navbar-helper/auto-active-link/
I am closing this, feel free to (re-)open if you have any troubles!


iso 8601 dates (and times)

Rather than imposing american date / time formatting on the world, can we just use iso 8601?
See link for details: https://xkcd.com/1179/

etc. - if you also have time somewhere, make sure to use iso 8601 for that, too.

I think all of our dates go through a localization engine, and at some point we can/will expose the ability for people to select the datetime display that works best for their locale.

I don't think full localization (or i18n, like translation) is required or even desired (personally, I always prefer good English over a bad translation and I also prefer ISO datetime over US or German datetime, because it sorts correctly).
But that doesn't mean that it should be localized to USA by default.
That ISO standard is there since ages (and totally makes sense), we finally should implement that as default. It's no big thing, just define some format string constants and use them everywhere.

I'm +1 for displaying dates/times in ISO-8601 until we setup localization.

I made this comment in the MOSS-grant meeting last week but I'll reproduce my opinon here:

ISO 8601 is great for machines but "2018-03-12" is more ambiguous than "March 12, 2018" without context for what format the date is in

I will defer to @nlhkabu's decision however.

@nlhkabu I'm deferring to you on how to address this and how to prioritize it. Thanks.

@nlhkabu I would appreciate if you could check on this in your user testing. Thanks!

My preference here is to keep it as is:

For dates, the main guideline is: Always spell out the name of the month. Using a notation like 8/9 is confusing -- is that August 9th or the 8th of September? If you write "Aug. 9" people from all countries will understand it, and it requires only a few more characters. Far better than having customers show up at your hotel thirty days before or after their actual reservations.

https://www.nngroup.com/articles/international-sites-requirements/
However, I can run a user test with ISO dates and see what feeback we get.

Also related - timestamps: http://uxmovement.com/content/absolute-vs-relative-timestamps-when-to-use-which/

Avoid confusing users by using a written date format on your timestamp. Write out the month name in full or abbreviated form, but don’t abbreviate the year. An abbreviated year can cause confusion with the day number.

For what it's worth (not much as a sample of one) - As someone who writes dates dd/mm/yyyy, I have no problem with "March 4, 2017" as a format.  It's totally clear to me, even if it's not the direction I would choose to write it.

I think we can have the best of both world's - see https://github.com/pypa/warehouse/issues/5085

Closing this in favor of #5085.  Thanks for opening @ThomasWaldmann


Document CNI chaining modes

This change is

test-me-please

test-docs-please

test-docs-please


support extends keyword

example:
export type Maybe = T | null;
export type InputMaybe = Maybe;
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };

Hi, this is definitely a good feature to integrate.
Give me some time (I don't have a lot of spare time to work on it) and you'll get it.
If you are in a hurry you can also implement it yourself and make a PR :)

Thanks for the examples. I added these as test cases for now and will see what I can do about it in the future.

It's been a while... The latest committ in github has support for all your example cases. Still many advanced uses of typing are not (yet) supported.

Not every case works yet:
type Maybe<T> = T | null; currently:
Maybe = 'T' | None

Should be:
T = TypeVar('T')
Maybe = T | None

Because of no TypeVar for T, you get InputMaybe = Maybe['T']. It should be InputMaybe = Maybe[T].
Exact converts to dict[Any, Any]. The rest output Any.
577:61: Warning (320): ts2Python cannot infer 'keyof'-types. Any-type returned.
577:77: Warning (320): ts2Python cannot determine index types. Any-type returned.
578:50: Warning (310): Type intersections are not yet implemented. Any-type returned.
579:47: Warning (310): Type intersections are not yet implemented. Any-type returned.


2.9 and 3.0 reduce type of optional branded string member as undefined

TypeScript Version:  3.0.0-dev.20180712, 3.0-rc, 2.9.  Our original code worked fine in 2.8 with strictNullChecks enabled.

Search Terms: strictNullChecks, branding, enum, optional, intersection, undefined
Code
// strictNullChecks must be enabled to see this problem
enum Brand {}
type BrandedString = string & Brand;

export const fromString = (s:string) => s as BrandedString

interface ComplexType {
  optional?: BrandedString;
}
const example: ComplexType = {
  optional: fromString("foo")
};

Expected behavior: Example type checks
Actual behavior: Example does not type check TypeScript thinks optional is has type undefined.
Playground Link:  Ensure strictNullChecks is enabled. Link here
Related Issues: #25179 looks similarish

This is working as intended and is the same issue as #24846. The compiler now removes empty intersection when they occur in union types. An empty intersection type is a type that is known to have zero possible values. Examples include "a" & "b" and string & number (a value can't be both "a" and "b" at the same time, nor can it be both a string and a number). An empty intersection type is effectively the same as the never type.
Since an enum is a subtype of number, the string & Brand type in your example is a type that has no possible values and it therefore becomes never.
Generally the recommended way to create branded types is to intersect with an object type:
type BrandedString = string & { __brand__: void };

Aha! Well, reducing empty intersection types to never certainly makes a lot of sense. I love it – intersecting enums always seemed like hack. However, the way in which that manifests today is pretty confusing, because you only get feedback about the issue in certain circumstances, sometimes far removed from the definition of the original type. (In our case it was a Pick of a compound type with a branded field, 2 file hops away.)
It seems that if an empty intersection is effectively the same as never, it should effectively be the same as never everywhere. There are probably reasons I'm not appreciating for not reducing invalid intersections to never right away, but the property of having an empty them behave uniformly does seem really appealing.
If TypeScript had reported my intersection type to be never when I hovered over it while debugging the issue I would have had a very strong hint about the root cause, and switched to an object intersection brand. Actually, the brand never would have survived as an enum because we would have caught the problem right away.
With the current behavior, user-defined intersection types seem to work just fine until you happen to want to e.g. use them for an optional property. Hovering shows the type definition, non-unioned uses work as they used to, and only in some circumstances do they behave in a matter inconsistent with every other type I've written.
But assuming there's more to the story than meets the eye, it would have been nice to have had some sort of hint that there was an issue with my branded type. Either a warning or even just a note in the tooltip for the type would have helped clarify the situation for me.
Thanks for the quick reply and the excellent work!


Shutting down Kaku's service does not completely kill the service

Not sure if this is just Android behavior or not with services. But onDestroy does get called and I'm pretty sure I'm disposing of every object properly. Regardless, this is causing us to leak a little bit of memory each time this happens. After 40+ open/close cycles in rapid succession it starts to affect system performance.
Force stopping the Kaku service through Android's Apps screen / service screen will reclaim lost memory and return performance back to normal on the device though.

Tested this again last night. Surprisingly wasn't able to repo the issue anymore...
Will probably try again to repro a couple times before closing this issue.


Use GitHub Actions instead of Travis CI

Use GitHub Actions instead of Travis CI.
@hirocaster Could you please review it? 🙏
I will fix the CI 🙇 -> done
cf. https://github.com/winebarrel/double_write_cache_stores/actions/runs/8503811266

@hirocaster It passed the test, so could you please review it?
cf. https://github.com/winebarrel/double_write_cache_stores/actions/runs/8503993892/job/23290274670


Pages in some PDF files aren't loaded and stay white - "Error: pdfPage is not loaded"

First of all sorry if the issue is already known and for the stupid title.. don't know how to describe it in a better way..
I'm using Firefox 90.0.2 (64-Bit) on a Windows 10 System (recently updated). During the last days i noticed that some pdfs on the web cannot be displayed properly. A recent example is the following: http://www.manfred-lange.com/publications/TimeTravel.pdf
The first few pages are loaded properly but other simply stay white (e.g. page 9).
The console of Firefox states (besides similar other errors):
Unable to get page 9 to initialize viewer
Object { message: "End of file inside array", name: "UnknownErrorException", details: "FormatError: End of file inside array", stack: "BaseExceptionClosure@resource://pdf.js/build/pdf.js:1058:29\n__webpack_modules__<@resource://pdf.js/build/pdf.js:1061:2\n__w_pdfjs_require__@resource://pdf.js/build/pdf.js:10942:41\n__webpack_modules__<@resource://pdf.js/build/pdf.js:56:32\n__w_pdfjs_require__@resource://pdf.js/build/pdf.js:10942:41\n@resource://pdf.js/build/pdf.js:11169:41\n@resource://pdf.js/build/pdf.js:11190:3\n@resource://pdf.js/build/pdf.js:11193:12\nwebpackUniversalModuleDefinition@resource://pdf.js/build/pdf.js:31:50\n@resource://pdf.js/build/pdf.js:32:3\n" }
viewer.js:10031:21
Unable to get page for page view
Object { message: "End of file inside array", name: "UnknownErrorException", details: "FormatError: End of file inside array", stack: "BaseExceptionClosure@resource://pdf.js/build/pdf.js:1058:29\n__webpack_modules__<@resource://pdf.js/build/pdf.js:1061:2\n__w_pdfjs_require__@resource://pdf.js/build/pdf.js:10942:41\n__webpack_modules__<@resource://pdf.js/build/pdf.js:56:32\n__w_pdfjs_require__@resource://pdf.js/build/pdf.js:10942:41\n@resource://pdf.js/build/pdf.js:11169:41\n@resource://pdf.js/build/pdf.js:11190:3\n@resource://pdf.js/build/pdf.js:11193:12\nwebpackUniversalModuleDefinition@resource://pdf.js/build/pdf.js:31:50\n@resource://pdf.js/build/pdf.js:32:3\n" }
viewer.js:10567:15
renderView: "Error: pdfPage is not loaded"

TimeTravel.pdf


how to use graphql-ws integration

Hi, how can I use the graphql-ws integration? I can see in the source code that the integration exists, but in the interface I can't see anywhere how can I set it as the default over the "legacy" protocol.
Thank you very much

Oh, it was just added in v4.0.1, thanks and sorry for making this issue

Yes it was just added recently, thanks to @macjuul 🙂


WIP: Implement subscriptions using an agnostic subscriptionExchange

import { Client, subscriptionExchange } from 'urql';
import { SubscriptionClient } from 'subscriptions-transport-ws';

const subscriptionClient = new SubscriptionClient('ws://localhost:3000', {});

const createSubscription = (operation, observer) => {
  return subscriptionClient.request(operation).subscribe({
    next: observer.next,
	error: observer.error
  });
};

const client = new Client({
  url: 'http://localhost:3000/graphql',
  transformExchange: exchange => subscriptionExchange()
})

So simplified example above, a user could integrate any gql subscription client using the observer/subscription pattern, which works nicely with subscriptions-transport-ws.

Coverage decreased (-8.8%) to 84.583% when pulling 0c44c71f364dc857e0b8f84e8f3adb8f0d5693a6 on feature/subscription-exchange into d833d4c14cb101ec250d5f19e5dbb6cbad44e8ae on next.

Coverage decreased (-8.8%) to 84.583% when pulling 0c44c71f364dc857e0b8f84e8f3adb8f0d5693a6 on feature/subscription-exchange into d833d4c14cb101ec250d5f19e5dbb6cbad44e8ae on next.


Add node 8 to appveyor

Sorry I didn't group these, I did it from the github UI.

Coverage remained the same at 100.0% when pulling 02e8fe237f59255ef301c94b7aa28f8fcde5f7d2 on phated:patch-2 into 8c3fea37fdd623e45b0a5bb18cb23f46deb02965 on darsain:master.

Coverage remained the same at 100.0% when pulling 02e8fe237f59255ef301c94b7aa28f8fcde5f7d2 on phated:patch-2 into 8c3fea37fdd623e45b0a5bb18cb23f46deb02965 on darsain:master.

Any idea how to fix that appveyor error on node 4? :/
Error: EPERM: operation not permitted, rename 'C:\Users\appveyor\AppData\Roaming\npm-cache\core-js\2.5.1\package.tgz.1792876402' -> 'C:\Users\appveyor\AppData\Roaming\npm-cache\core-js\2.5.1\package.tgz'
npm ERR!     at Error (native)
npm ERR!  { [Error: EPERM: operation not permitted, rename 'C:\Users\appveyor\AppData\Roaming\npm-cache\core-js\2.5.1\package.tgz.1792876402' -> 'C:\Users\appveyor\AppData\Roaming\npm-cache\core-js\2.5.1\package.tgz']
npm ERR!   errno: -4048,
npm ERR!   code: 'EPERM',
npm ERR!   syscall: 'rename',
npm ERR!   path: 'C:\\Users\\appveyor\\AppData\\Roaming\\npm-cache\\core-js\\2.5.1\\package.tgz.1792876402',
npm ERR!   dest: 'C:\\Users\\appveyor\\AppData\\Roaming\\npm-cache\\core-js\\2.5.1\\package.tgz',
npm ERR!   parent: 'babel-plugin-espower' }

@darsain it seems like appveyor changed some config because gulp-cli was failing in the same way.  I added this line: https://github.com/gulpjs/gulp-cli/blob/master/appveyor.yml#L14 and it seems to work now.

Yeah that fixed the issue, but I feel like forcing appveyor to use old npm is just going to create a new issue in the future that'll need to be tracked down and waste some more time. Couldn't find a better solution though, so ohwell.


rename selectLong() to selectIdentifier()

And add a comment about batching, to make its semantics clear.

Awesome!
Since you are changing this area, can we also change updateReturning to insertSelectIdentity,  or something similar?

Since you are changing this area, can we also change updateReturning to insertSelectIdentity, or something similar?

I guess, but I feel like it's a bit more general than that. In this case this method is general-purpose, for any DML that returns a value.
selectIdentifier() OTOH now has rather special semantics.

I don't think it's that generic.
The updateReturning method has a condition that if the query doesn't return any value, it will call getMySqlLastInsertedId. Plus it returns a Long

We could also move the MySQL logic in the class generating the identity. It might make more sense

Ah, you have a good point.
OK, fine, I will rename it.

We could also move the MySQL logic in the class generating the identity. It might make more sense

Nah I'm hoping to keep that logic nicely contained in there because it will surely change at some stage when Vert.x figures out a better/more general way to do this.


get costume Database.raw select result

Hi i'm trying to build costume query with INTERVAL usage
let result = Database.raw('SELECT * FROM `'+this.table()+'` WHERE `employee_id`=? AND
`date_leave` - INTERVAL ? HOUR < ? ORDER BY id DESC', [employeeId, intervalHours, beforeDate]);

so then how i can access result[0].id ?
inside console.log(result) is some other json object
Raw {
client:
Client_MySQL
....

Seems like the issue never got any attention. However, it doesn't look a bug or something that we can act upon right now.
If you are still in need of help, please re-open the issue


Docker setup: "-A:build (No such file or directory)"

Morning team,
For the Docker deployment commands, the first command use the Makefile to generate the target contents, which will then be pulled into the image by the Dockerfile.  When I run that first command:
make clean bundle

it snags on -A:build (No such file or directory).  Is there maybe another step involved that might've been excluded from the Makefile?
Thanks

Hi Trey,
I updated the CLI section in docs to more accurately reflect the easiest current run procedures. We are formalizing the docker parts after some rework so we'll update you when that's in a better place.
Thanks,
-Cliff

I am having this same issue trying to build without docker on a clean install
this is the output:

datasim@ip-172-31-5-142:~/Documents/datasim$ make bundle
mkdir -p target/bundle
rm -f pom.xml
clojure -X:depstar uberjar :no-pom false :sync-pom true :aliases '[:cli]' :aot true :group-id com.yetanalytics :artifact-id datasim-cli :version '"0.1.0-SNAPSHOT"' :jar target/bundle/datasim_cli.jar :main-class com.yetanalytics.datasim.main
Exception in thread "main" java.io.FileNotFoundException: -X:depstar (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.(FileInputStream.java:138)
at java.io.FileInputStream.(FileInputStream.java:93)
at clojure.lang.Compiler.loadFile(Compiler.java:7449)
at clojure.main$load_script.invokeStatic(main.clj:278)
at clojure.main$script_opt.invokeStatic(main.clj:338)
at clojure.main$script_opt.invoke(main.clj:333)
at clojure.main$main.invokeStatic(main.clj:424)
at clojure.main$main.doInvoke(main.clj:387)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.lang.Var.applyTo(Var.java:702)
at clojure.main.main(main.java:37)
Makefile:12: recipe for target 'target/bundle/datasim_cli.jar' failed
make: *** [target/bundle/datasim_cli.jar] Error 1

We recently started publishing docker builds on this, so there now isn't a need to manually build in most cases https://github.com/yetanalytics/datasim/pull/73
Addressing @jgedne's issue specifically, it looks like you may need to upgrade your clojure CLI to a version >= <IP_ADDRESS>9, when execution mode was added.
See https://clojure.org/releases/tools#v<IP_ADDRESS>7 in the changelog


GraphQL PPX example

// generated code by the PPX
module MyQuery = {
  module Raw = {
    type t = {scalarsInput: string};
  };
  let query = "query ($arg: VariousScalarsInput!)  {\nscalarsInput(arg: $arg)  \n}\n";
  type t = {scalarsInput: string};
  type t_variables = {arg: t_variables_VariousScalarsInput}
  and t_variables_VariousScalarsInput = {
    nullableString: option(string),
    string,
    nullableInt: option(int),
    int,
    nullableFloat: option(float),
    float,
    nullableBoolean: option(bool),
    boolean: bool,
    nullableID: option(string),
    id: string,
  };
  let parse: Raw.t => t =
    (value) => (
      {

        scalarsInput: {
          let value = (value: Raw.t).scalarsInput;

          value;
        },
      }: t
    );
  let serialize: t => Raw.t =
    (value) => (
      {
        let scalarsInput = {
          let value = (value: t).scalarsInput;

          value;
        };
        {

          scalarsInput: scalarsInput,
        };
      }: Raw.t
    );
  let rec serializeVariables: t_variables => Js.Json.t =
    inp =>
      [|
        (
          "arg",
          (a => Some(serializeInputObjectVariousScalarsInput(a)))(inp.arg),
        ),
      |]
      |> Js.Array.filter(
           fun
           | (_, None) => false
           | (_, Some(_)) => true,
         )
      |> Js.Array.map(
           fun
           | (k, Some(v)) => (k, v)
           | (k, None) => (k, Js.Json.null),
         )
      |> Js.Dict.fromArray
      |> Js.Json.object_
  and serializeInputObjectVariousScalarsInput:
    t_variables_VariousScalarsInput => Js.Json.t =
    inp =>
      [|
        (
          "nullableString",
          (
            a =>
              switch (a) {
              | None => None
              | Some(b) => (a => Some(Js.Json.string(a)))(b)
              }
          )(
            inp.nullableString,
          ),
        ),
        ("string", (a => Some(Js.Json.string(a)))(inp.string)),
        (
          "nullableInt",
          (
            a =>
              switch (a) {
              | None => None
              | Some(b) => (a => Some(Js.Json.number(float_of_int(a))))(b)
              }
          )(
            inp.nullableInt,
          ),
        ),
        ("int", (a => Some(Js.Json.number(float_of_int(a))))(inp.int)),
        (
          "nullableFloat",
          (
            a =>
              switch (a) {
              | None => None
              | Some(b) => (a => Some(Js.Json.number(a)))(b)
              }
          )(
            inp.nullableFloat,
          ),
        ),
        ("float", (a => Some(Js.Json.number(a)))(inp.float)),
        (
          "nullableBoolean",
          (
            a =>
              switch (a) {
              | None => None
              | Some(b) => (a => Some(Js.Json.boolean(a)))(b)
              }
          )(
            inp.nullableBoolean,
          ),
        ),
        ("boolean", (a => Some(Js.Json.boolean(a)))(inp.boolean)),
        (
          "nullableID",
          (
            a =>
              switch (a) {
              | None => None
              | Some(b) => (a => Some(Js.Json.string(a)))(b)
              }
          )(
            inp.nullableID,
          ),
        ),
        ("id", (a => Some(Js.Json.string(a)))(inp.id)),
      |]
      |> Js.Array.filter(
           fun
           | (_, None) => false
           | (_, Some(_)) => true,
         )
      |> Js.Array.map(
           fun
           | (k, Some(v)) => (k, v)
           | (k, None) => (k, Js.Json.null),
         )
      |> Js.Dict.fromArray
      |> Js.Json.object_;
  let makeVar = (~f, ~arg, ()) =>
    f(
      serializeVariables(
        {

          arg: arg,
        }: t_variables,
      ),
    )
  and makeInputObjectVariousScalarsInput =
      (
        ~nullableString=?,
        ~string,
        ~nullableInt=?,
        ~int,
        ~nullableFloat=?,
        ~float,
        ~nullableBoolean=?,
        ~boolean,
        ~nullableID=?,
        ~id,
        (),
      )
      : t_variables_VariousScalarsInput => {

    nullableString,

    string,

    nullableInt,

    int,

    nullableFloat,

    float,

    nullableBoolean,

    boolean,

    nullableID,

    id,
  };
  let definition = (parse, query, makeVar, serialize);
  let makeVariables = makeVar(~f=f => f);
};
// end of generated code by the ppx

Not sure if it's the best example. parse, serialize, makeVariables. definition and the input object constructors may or may not be used. In most cases only definition and makeVariables are used (definition passed to the GraphQL client and makeVariables to construct variables). But I think that is a tricky case because definition is referencing everything.

@jfrolich here's the code annotated dead by the analysis.
Looks like there are a couple of not considered dead yet which could. Good test, I can look into why.
// generated code by the PPX
module MyQuery = {
  module Raw = {
    type t = {scalarsInput: string};
  };
  [@dead "MyQuery.query"] let query = "query ($arg: VariousScalarsInput!)  {\nscalarsInput(arg: $arg)  \n}\n";
  type t = {scalarsInput: string};
  type t_variables = {arg: t_variables_VariousScalarsInput}
  and t_variables_VariousScalarsInput = {
    nullableString: option(string),
    string,
    nullableInt: option(int),
    int,
    nullableFloat: option(float),
    float,
    nullableBoolean: option(bool),
    boolean: bool,
    nullableID: option(string),
    id: string,
  };
  [@dead "MyQuery.parse"] let parse: Raw.t => t =
    (value) => (
      {

        scalarsInput: {
          let value = (value: Raw.t).scalarsInput;

          value;
        },
      }: t
    );
  [@dead "MyQuery.serialize"] let serialize: t => Raw.t =
    (value) => (
      {
        let scalarsInput = {
          let value = (value: t).scalarsInput;

          value;
        };
        {

          scalarsInput: scalarsInput,
        };
      }: Raw.t
    );
  let rec serializeVariables: t_variables => Js.Json.t =
    inp =>
      [|
        (
          "arg",
          (a => Some(serializeInputObjectVariousScalarsInput(a)))(inp.arg),
        ),
      |]
      |> Js.Array.filter(
           fun
           | (_, None) => false
           | (_, Some(_)) => true,
         )
      |> Js.Array.map(
           fun
           | (k, Some(v)) => (k, v)
           | (k, None) => (k, Js.Json.null),
         )
      |> Js.Dict.fromArray
      |> Js.Json.object_
  and serializeInputObjectVariousScalarsInput:
    t_variables_VariousScalarsInput => Js.Json.t =
    inp =>
      [|
        (
          "nullableString",
          (
            a =>
              switch (a) {
              | None => None
              | Some(b) => (a => Some(Js.Json.string(a)))(b)
              }
          )(
            inp.nullableString,
          ),
        ),
        ("string", (a => Some(Js.Json.string(a)))(inp.string)),
        (
          "nullableInt",
          (
            a =>
              switch (a) {
              | None => None
              | Some(b) => (a => Some(Js.Json.number(float_of_int(a))))(b)
              }
          )(
            inp.nullableInt,
          ),
        ),
        ("int", (a => Some(Js.Json.number(float_of_int(a))))(inp.int)),
        (
          "nullableFloat",
          (
            a =>
              switch (a) {
              | None => None
              | Some(b) => (a => Some(Js.Json.number(a)))(b)
              }
          )(
            inp.nullableFloat,
          ),
        ),
        ("float", (a => Some(Js.Json.number(a)))(inp.float)),
        (
          "nullableBoolean",
          (
            a =>
              switch (a) {
              | None => None
              | Some(b) => (a => Some(Js.Json.boolean(a)))(b)
              }
          )(
            inp.nullableBoolean,
          ),
        ),
        ("boolean", (a => Some(Js.Json.boolean(a)))(inp.boolean)),
        (
          "nullableID",
          (
            a =>
              switch (a) {
              | None => None
              | Some(b) => (a => Some(Js.Json.string(a)))(b)
              }
          )(
            inp.nullableID,
          ),
        ),
        ("id", (a => Some(Js.Json.string(a)))(inp.id)),
      |]
      |> Js.Array.filter(
           fun
           | (_, None) => false
           | (_, Some(_)) => true,
         )
      |> Js.Array.map(
           fun
           | (k, Some(v)) => (k, v)
           | (k, None) => (k, Js.Json.null),
         )
      |> Js.Dict.fromArray
      |> Js.Json.object_;
  let makeVar = (~f, ~arg, ()) =>
    f(
      serializeVariables(
        {

          arg: arg,
        }: t_variables,
      ),
    )
  [@dead "MyQuery.makeInputObjectVariousScalarsInput"] and makeInputObjectVariousScalarsInput =
      (
        ~nullableString=?,
        ~string,
        ~nullableInt=?,
        ~int,
        ~nullableFloat=?,
        ~float,
        ~nullableBoolean=?,
        ~boolean,
        ~nullableID=?,
        ~id,
        (),
      )
      : t_variables_VariousScalarsInput => {

    nullableString,

    string,

    nullableInt,

    int,

    nullableFloat,

    float,

    nullableBoolean,

    boolean,

    nullableID,

    id,
  };
  [@dead "MyQuery.definition"] let definition = (parse, query, makeVar, serialize);
  let makeVariables = makeVar(~f=f => f);
};
// end of generated code by the ppx

So it looks like this is what prevents the final bit of elimination:
Warning Dead Value With Side Effects
  /Users/cristianoc/reasonml/reanalyze/examples/deadcode/src/B.re 194:3-40
  MyQuery.makeVariables is never used and could have side effects

This change would allow the full dead code analysis to fire:
  let makeVariables = (~arg) => makeVar( ~f=f => f, arg);

Or, using uncurried application would have forced one into this anyway.
This is one more example of the pitfalls of partial application. In this case, it prevents some analysis optimizaion, and surely a bunch of invisible compiler optimizations are prevented by this.

This is the generated code after DCE:
// Generated by BUCKLESCRIPT, PLEASE EDIT WITH CARE

var Raw = { };

var MyQuery = {
  Raw: Raw
};

export {
  MyQuery ,

}
/* No side effect */

@jfrolich do you have the bandwidth to try and suggest this change upstream in the PPX and follow it trough?
This example is on pause at the moment. I'd like to investigate what happens when a subset of the generated code is used. But first I'd like to make sure that if none is used, then everything is eliminated.

@jfrolich do you have the bandwidth to try and suggest this change upstream in the PPX and follow it through?
This example is on pause at the moment. I'd like to investigate what happens when a subset of the generated code is used. But first I'd like to make sure that if none is used, then everything is eliminated.

Yes. I  think we might be able to eliminate makeVar it was mostly a proof of concept to enable a fancy API surface, but it had other downsides with currying, and to my knowledge it didn't end up implemented in a client. This is exactly the kind of API changes we can make before releasing 1.0 officially.

I will follow this up in the 1.0 branch.

@jfrolich any other changes to report for gql ppx 1.0?

Yes there will be quite a few changes. I am looking to make the definition a record instead of a tuple (not sure yet about that though). And there is quite a list of things to be done. I made a list here:  https://github.com/reasonml-community/graphql_ppx/pull/86, but it is not exhaustive. Anything particular that you are interested about?

Build speed comes to mind! We ran some benchmarks lately, and the ppx can really make a difference.

Yes. I think there is much room to improve indeed! I yet have to look at performance, still some features to complete, but after that I will dive a bit deeper to improve the performance!

@jfrolich I was curious about progress and took a look at https://github.com/reasonml-community/graphql_ppx/pull/86 . Wow lots of activity there!

Yes working towards a 1.0 release. We want it to be great!

Looks like this is going to work in the next release.
Please reopen if there are any new issues.


Addition of 1. in the gating blocks

Why is there an additional of 1 to v in the gating blocks?
An example:
https://github.com/google-research/maxim/blob/ae458a6f2be191b3b6a619feac5739ccc3ae6975/maxim/models/maxim.py#L149
@vztu

It's like adding a skip connection: x = u * v + u. Actually doesn't matter that much in terms of performance.

Ah. Didn't even notice that. Pardon my stupidity.


Windows spawn off-screen on Windows 8.1

Windows 8.1
64 bit
electron-mattermost v 1.0.7

When program is started, windows spawn off-screen and are not movable/clickable. Off-screen position is assumed from animation when minimizing/restoring the window via the Windows taskbar.

After quitting the app, please remove %USERPROFILE%\AppData\Roaming\electron-mattermost\bounds-info.json.

I had this problem recently too in Windows 10 using version 3.6.1 of the Mattermost Client, deleting the bounds-info.json fixed it, thanks.

FYI, upcoming v3.6.0 desktop app would fix this issue.

I'm using v3.6.1 of the Desktop App, I am however using a multi monitor setup (3 monitors), 2 of which are at 1080p and one of which is at 4K.  The DPI is different from the 4K and 1080p Displays, which I'm guessing might have something to do with what happened.

v3.6.1 doesn't exist (the latest is v3.5.0). Probably it's the version of the Mattermost server.
I feel that DPI is not related to this issue. But I'm not sure in detail though, it's a little hard to test for me.
By the way, possibly there might be another issue in multi DPI environment of Windows. Please see #357

It says in my About Mattermost Client, Mattermost Enterprise Edition Version 3.6.0 (3.6.1)

But funny, if I push the alt key and click on the help menu it says in the menu as a grayed out menu item Version 3.5.0

Ah yes, the About Mattermost dialog is referring to the server; the help menu is for the client version.
Desktop App v3.6.0 should fix the issue, which is scheduled to release on Tuesday


az network vnet check-ip-address - error in doc

Hi,
--ip-address is also mandatory. If not specified, returned error is: Private IP address is null or empty in the CheckIpAddressAvailability call. Specify IpAddress=$(ipaddress) as a query parameter in the request URI.

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

ID: bc99d572-abdb-ab6b-7a9a-c6951a1c1466
Version Independent ID: 0a50e966-cbc8-8960-c01f-e117cac842d4
Content: az network vnet
Content Source: src/command_modules/azure-cli-network/azure/cli/command_modules/network/_help.py
Service: virtual-network
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

Thanks for the report @Makovec!


Sort sessions

I'd like to rebase this after #160 is merged.

Pull Request #160 (https://github.com/minnestar/sessionizer/pull/160) has been merged.  This pull request has been approved but not merged.


Compatible with txt files

Hello! Thanks for this nice extension.
Since all my research notes are txt files (which i render in markdown format), was excited to try this extension. However, looks like most of the features do not work if the files are not md. E.g., even though the autocomplete for creation of link works, the backlinks feature does not work. That is, i do not see the linked files in the sidebar Backlinks.
Would it be possible to extend this extension to txt files such that all features work?

Hi,
I'm afraid it won't be easy, Memo is markdown knowledge base.
Consider to fork it if you want to add txt support.


Are you planning to create an AWS hashicorp box

Issue Type

Feature Idea

Summary
Are you ever planning to create an AWS hashicorp box?

At this time, no; you'd be best served by using an AWS box that has ubuntu 16.04 minimal (or whatever OS most closely matches one of:

Ubuntu 16.04 LTS minimal
Ubuntu 14.04 LTS minimal
Ubuntu 12.04 LTS minimal
CentOS 7 minimal ('Amazon Linux')
CentOS 6 minimal ('Amazon Linux')
Debian 8 minimal

See: https://vagrantcloud.com/boxes/search?provider=aws


Includre rtos.h in mbed.h if present

So that apps don't need to include "rtos.h" explicitly anymore.

@mbed-bot: TEST
HOST_OSES=windows,linux
BUILD_TOOLCHAINS=GCC_ARM,ARM,IAR
TARGETS=K64F

@0xc0170 @sg-

@mbed-bot: TEST
HOST_OSES=windows,linux
BUILD_TOOLCHAINS=GCC_ARM,ARM,IAR
TARGETS=K64F

Not sure why mbed-bot is failing, but the failures don't seem to be related to this change.

+1
We shall not have problems with rtos/rtos.h , as it never gets flatten (opposite to what happens with mbed headers (api/hal))? Just checking to be sure

I can't predict the future :) but I think we're safe for now.

I'll look at testing

@bogdanm Sorry about the failure with the bot (even though tests are green), it was caused to an issue with mbed-ls. Should be resolved now.

@mbed-bot: TEST
HOST_OSES=windows
BUILD_TOOLCHAINS=GCC_ARM,ARM,IAR
TARGETS=K64F,NUCLEO_F411RE,NRF51_DK


ClientCredentialFactory.create() was renamed

Hi team,
I moved this from here: https://github.com/MicrosoftDocs/azure-docs.de-de/issues/612
@FelixJongleur42 commented 2 days ago — with docs.microsoft.com
Please adjust, ClientCredentialFactory.create() methods where renamed

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

ID: 08bcd9e7-d45f-1867-185a-c74636a9f448
Version Independent ID: 20e2b7a4-12b0-8cbf-d36f-63a9b527b7da
Content: Configure daemon apps that call web APIs - Microsoft identity platform
Content Source: articles/active-directory/develop/scenario-daemon-app-configuration.md
Service: active-directory
Sub-service: develop
GitHub Login: @jmprieur
Microsoft Alias: jmprieur

This documentation was recently fixed in this commit: https://github.com/MicrosoftDocs/azure-docs/commit/bdfd0c84fa429b0618a670756503511dca2be6bc#diff-2baadcd1b824d392aea1aae8e3817446
I think we can close this issue now.

#please-close
cc: @navyasric


Rename benchmarking-tests/benchmark_utils.py to benchmarking-tests/utils.py

Simply to remove the redundancy.

This code hasn't been changed in a couple of months. Not sure how much of it still makes sense to keep around

Oh really. Ok. I created this issue simply because I was reviewing #762 and notice the possibility to simply the module name.

Well, kinda funny timing, since @ttmc and myself were discussing benchmarking today.

done in #1359


The "existing" link on the Quickstart page does not link to instructions on working with an existing Rails app

Clicking "existing" takes us to the "How Lamby Works" section which on my reading of it didn't provide a clear path to get started on adding lamby to an existing project.
I would have expected a guide like this one https://blog.devops.dev/how-to-setup-ruby-on-rails-with-aws-lambda-using-the-lamby-gem-serverless-application-8a7fc024ae15 which goes step by step showing what to do.  Just thought I'd point that out and suggest you could make a similar guide for an existing Rails app.

Its kind of a lot of code to put in a blog.
here is a repo i made the first commit its rails create the second is adding a full  lamby example
https://github.com/jeremiahlukus/rails-serverless/commit/45613aadcf123eb04b129519cb11d0d56bd1c127


Automate upgrades of vendored Speedcurve Lux JS library

Currently our in-hours on call rota has a critical alert because this library has had a new version released, as a result of https://github.com/alphagov/govuk-puppet/pull/11339.
To resolve the alert we would need to upgrade the vendored code to use the latest version. A previous upgrade as an example: https://github.com/alphagov/govuk_publishing_components/pull/2152.
The 2nd line developers are not the appropriate team to upgrade this dependency. It would be better to find a service/team-specific alternative approach to raising an alert at the platform level. For instance, we could investigate using Dependabot or similar.

Recent events have made me skeptical that an automated upgrade system is possible, due to the complexity and changing nature of this code. I'm tempted to close this issue as unsolvable.
On the brighter side, the git repo for this code has been made public: https://github.com/SpeedCurve-Metrics/lux.js so anyone can now watch the repo for any new releases.
Also we have tool running in slack in #user-experience-measurement-govuk-robot-invasion that notifies us when a new version is ready.

As previously mentioned, I don't think automating this is possible, so I'm closing this issue.


[Enhancement]: Lazy generators for Block Tree getters

Description
BlockTree has some methods that return chains as vectors. Allocating a vector for a getter is unoptimal, we can just return an iterator (external or internal) instead. C++20 coroutines and C++23 generator are a nice way to implement an external iterator. However, we should be careful about multithreaded access to block tree in this case.
Motivation
Optimization of large chain requests.
Additional context
No response
Are you planning to do it yourself in a pull request ?
Yes

Maybe reuse Descent class, which preloads batches lazily
https://github.com/qdrvm/kagome/blob/71d81610499e49a656870bf9571afaf174205345/core/blockchain/indexer.hpp#L14-L17


Is it possible to install this on Synology NAS?

I have a Synology DS1812+ that I need to be able to mount my google drive on.
I have no idea how to get this installed on synology. Is there a guide? Is it even possible?

Is there a guide?

No, sorry.

Is it even possible?

I think so, but I don't think it's easy. You have to compile everything on the NAS because it's based on PPC/ARM. Wouldn't it be easier to install google-drive-ocamlfuse on a standard Linux box and set a cron job to backup your Drive on the NAS? I don't think that mounting Drive directly on the NAS brings any benefit.

I published packages for armhf architecture (on Ubuntu) in the PPA. Maybe you can use them on Synology NAS.


fix: make traffic info dynamic

Describe your changes
the sentence "X min without traffic" must be dynamic based on the departure/arrival time parameter.
I just changed 1 line of code

:tada: This PR is included in version 1.29.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


fix(region): aws elb backendgroup sync bugfix

这个 PR 实现什么功能/修复什么问题:
aws 同步后端服务器组未考虑账号隔离导致数据重复fix
是否需要 backport 到之前的 release 分支:
release/3.6
release/3.7
/area region
/cc @zexi @yousong

Codecov Report

Merging #9808 (c0c5fc6) into master (221a65c) will increase coverage by 9.97%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #9808       +/-   ##
===========================================
+ Coverage    5.98%   15.96%    +9.97%
===========================================
  Files         848      124      -724
  Lines      131813    12786   -119027
===========================================
- Hits         7895     2041     -5854
+ Misses     123217    10554   -112663
+ Partials      701      191      -510

Flag
Coverage Δ

aFlag
15.96% <ø> (+9.97%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/util/cloudinit/cloudconfig.go

pkg/webconsole/command/command.go

pkg/compute/models/loadbalancerclusters.go

pkg/compute/models/cloudaccount_saml.go

pkg/compute/models/schedtags.go

pkg/multicloud/esxi/manager.go

pkg/compute/models/syncutils.go

pkg/monitor/alerting/rule.go

pkg/cloudcommon/db/paging.go

pkg/util/seclib2/crypto.go

... and 713 more

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 221a65c...c0c5fc6. Read the comment docs.

Codecov Report

Merging #9808 (c0c5fc6) into master (221a65c) will increase coverage by 9.97%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #9808       +/-   ##
===========================================
+ Coverage    5.98%   15.96%    +9.97%
===========================================
  Files         848      124      -724
  Lines      131813    12786   -119027
===========================================
- Hits         7895     2041     -5854
+ Misses     123217    10554   -112663
+ Partials      701      191      -510

Flag
Coverage Δ

aFlag
15.96% <ø> (+9.97%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/util/cloudinit/cloudconfig.go

pkg/webconsole/command/command.go

pkg/compute/models/loadbalancerclusters.go

pkg/compute/models/cloudaccount_saml.go

pkg/compute/models/schedtags.go

pkg/multicloud/esxi/manager.go

pkg/compute/models/syncutils.go

pkg/monitor/alerting/rule.go

pkg/cloudcommon/db/paging.go

pkg/util/seclib2/crypto.go

... and 713 more

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 221a65c...c0c5fc6. Read the comment docs.

/hold

/hold

/hold cancel

/hold cancel

/lgtm

/lgtm

/lgtm
/approve

/lgtm
/approve


[PostgreSQL] Custom connection view-Hide folders: error appears when Permissions table tab opens

System information:

Operating system (distribution) and version Win10
DBeaver version DBeaver 7.2.2 EA

Connection specification:

Database name and version PostgreSQL

Steps to reproduce, if exist:

Set Custom connection view-Hide folders
Open Permissions tab in table Properties

Actual result: error appears: Can't detect root node for objects tree

Disabled that tab altogether when the Hide folders option selected.

By some reason Custom view>Hide folders differs for PostgreSQL 10 and 12

The reasons for that lay somewhere else.

closed


[V8] Remove Account Menu stuff from header_required element

Everything needed is already added by the footer_required element.

I think that this problem was caused by merge conflict issues (see https://github.com/concrete5/concrete5/pull/7964/commits/2bed3c4d72c437c7a2b52316fff21885933a1005#diff-03643038bdf349f3136da762b7d0e6d3 of PR #7964)


Will a SignalR Core server connect OK with 'traditional' Signalr 2 clients?

We have a system currently on netfx 4.6 which uses the SignalR C# client to connect numerous geographically distributed machines to a central server.
We would like to consider moving the server to ASP.NET Core, a prerequisite of which is that we have SignalR available on ASP.NET Core, hence our interest in the project.
Are our existing 'traditional SignalR' clients going to be able to connect to the ASP.Net Core/SignalR Core server when it's available?   We wouldn't want to have to update every client and the central system all in one enormous 'big bang', so we are looking for a transitional strategy which would allow one side to be updated before the other.

No, the old clients will not work with the new server and the new clients will not work with the old server.

Thanks.  We'll move this particular app away from SignalR.

Ok, so this is a big "Don't use SignalR ever"

I think it's OK to use SignalR between a web-browser and the server, because you don't need long-term protocol compatibility or long-term connection-reliability (at the first hint of a problem people will just refresh the page and everything resets).  Expectations are generally low on browser-based apps.
We wouldn't use it for M2M stuff again - fairly miserable experience in service and the back-compat betrayal was actually a benefit in disguise as it pushed us to move away, which has been useful.
I am pretty much at the point of thinking at ANY proprietary technology that spans client+server is a mistake.

@willdean what did you move towards?

We just do HTTP POST in one direction (client -> server) and maintain a long-poll GET in the other direction, which times out and is re-established every 30 seconds.  It's really not very complex, particularly as async handlers are so easy in modern MVC.
We might look again at websockets if/when we ever get to .NET core - it all seemed a bit undocumented and only-really-added-to-support-SignalR in 4.x last time we looked.


Version sketch 69 can not export HTML

The progress bar doesn't go forward

70 export also/still is broken. :-(

70 export also/still is broken. :-(

Still not working. I think this plugin is broken and not now supported. Pity - it was brilliant.

true


[hotfix]Fix flink connector artifact name

What changes were proposed in this pull request?

fix the flink-connector artifact name

Why are the changes needed?

fix the flink-connector artifact name

Fix: # (issue)
Does this PR introduce any user-facing change?

no

How was this patch tested?

./gradlew clean flink-connector:build

@FANNG1 Please take a look. Thanks.


Autoupdates?

I saw that you recently added the "cask" command to install black-screen. But currently black-screen version is 0.0.3 and I can see 0.0.24 on releases pages.
Any plan to provide auto udpates for this app?

Oh I just saw your comment about this here https://github.com/caskroom/homebrew-cask/pull/21531#issuecomment-222371442
Feel free to close when autoupdates are a thing :)

Now there is a button in the status bar notifying about a new version.


Create vias using THT pads

I made a code where I converted vias from EDA to THT pads.
I can make a pull request if you think it's a good idea.

Thank you for this.
Yes you can open a PR and I will check it.
I am  not aware of this being very common, so I will need to verify that it does have some unintended behavior.

here is the code:
https://github.com/Xyntexx/JLC2KiCad_lib/tree/vias


A suggestion for emacs alias

Hello guys, I just installed bash-it and ment do enbalse some alias groups. Since I am have Emacs user I took a peak at emacs group and found that I already have on my own habit almost everything same difined, but for one alias. You have defined ed='emacs --daemon' while I have ed='emacs --debug-init'.
In my opinion one (almost) never runs emacs --deamon from command line. Purpose of emacs --deamon is to start it with your system so one does not have to wait for it to load it. Personally I have systemd service in Linux and start it via shortcut in autostart folder on windows. However, thinkering with your emacs installation, installing packages, adding stuff to you init, customization etc are much more frequent, and when something breaks, emacs --debug-init is really helpfull. So I have discovered after many years of emacs use that I use it much more so I have my alias reflecting that use.
Of course, it's all my personal taste and use-case, so feel free to ignore, it's just a suggestion.
Thanks for providing bash-it.

Thanks for the feedback! As I'm not using Emacs at all, I don't really have an opinion on this...
If you're using Bash-it and want to change the alias, you can always do so in your own fork.

This issue is very stale, so I close it. Thanks for contributing and posting!


Installation / Deployment Instructions

Hey - forgive me if I come across as "less-than-skilled," but how exactly does one implement this program / code?

Hey. It's the source files for Visual Studio, so you would open them there.
I have created a pre-release with binary files, these you can just run like any other application. https://github.com/uCtrlDev/Lync-presence-bridge/releases/tag/v0.1-beta
Let me know if it doesn't run :)

Awesome - thanks for the beta. It throws an error on startup "Could not open and init serial port," which  I'm sure is referring to Arduino. After that, it does respond to Lync status changes.

Yeah, that is referring to the Arduino. I will make a change so that it doesn't throw any errors until a port for the Arduino has been selected.
This app is meant to be a bridge for the blink(1), Luxafor and Arduino. So this can not be run as a script in the blink(1) control program.


Create brookjs-desalinate package

Closes #50.

brookjs-desalinate needs a test runner, but I'm not sure whether it belongs in that package or in brookjs-cli. A test runner could properly handle parallelizing the tests and rendering a nice test output, and brookjs-cli already has the architecture for this. However, it does kinda couple the two packages together, as you're now required to use our cli to run the tests.
Buuuut, not really, because tests can always just be executed the old-fashioned way: node test.js, and there are packages out there that work with tape that anyone can pull together to run the tests any way they choose. So we'll go with our own runner in our cli.

This last commit represents a change in direction. Instead of going with tape across the packages, we're going to invest in chai. kefir had a number of test helpers that I extracted into chai-kefir, and mocha + chai (+ karma) has generally been pretty stable. Instead of switching the test runner to tape, we're going to invest in that ecosystem. desalinate will instead be a wrapper around a chai-plugin plus some helpers for testing components. These are based on the same components kefir uses to test itself.

This implements the initial package. There's definitely still work things we're going to want to add / move to the desalinate package, but this gives us a place to do that. We'll probably refactor the test suite in the main package as we move the common testing code into the CLI, then use the CLI to test the project itself. #muchmeta #suchdogfooding #wow


Got a stack frame from package:stack_trace, where a vm or web frame was expected. This can happen if FlutterError.demangleStackTrace was not set in an environment that propagates non-standard stack traces to the framework, such as during tests.

package:flutter/src/foundation/stack_frame.dart':
Failed assertion: line 192 pos 7: 'line != '===== asynchronous gap ===========================''

The relevant error-causing widget was:
  PlantsApp PlantsApp:file:///home/rohit/AndroidStudioProjects/plants_finder/lib/main.dart:12:33
When the exception was thrown, this was the stack:
#2      StackFrame.fromStackTraceLine (package:flutter/src/foundation/stack_frame.dart:192:7)
#3      MappedIterator.moveNext (dart:_internal/iterable.dart:393:20)
#4      WhereTypeIterator.moveNext (dart:_internal/iterable.dart:871:20)
#5      new _GrowableList._ofOther (dart:core-patch/growable_array.dart:202:26)
#6      new _GrowableList.of (dart:core-patch/growable_array.dart:152:26)
#7      new List.of (dart:core-patch/array_patch.dart:52:28)
#8      Iterable.toList (dart:core/iterable.dart:470:12)
#9      StackFrame.fromStackString (package:flutter/src/foundation/stack_frame.dart:93:10)
#10     FlutterError.defaultStackFilter (package:flutter/src/foundation/assertions.dart:1077:54)
#11     DiagnosticsStackTrace._applyStackFilter (package:flutter/src/foundation/assertions.dart:1273:43)
#12     new DiagnosticsStackTrace (package:flutter/src/foundation/assertions.dart:1249:17)
#13     FlutterErrorDetails.debugFillProperties (package:flutter/src/foundation/assertions.dart:732:22)
#14     DiagnosticableNode.builder.<anonymous closure> (package:flutter/src/foundation/diagnostics.dart:2958:17)
#15     DiagnosticableNode.builder (package:flutter/src/foundation/diagnostics.dart:2961:8)
#16     _FlutterErrorDetailsNode.builder (package:flutter/src/foundation/assertions.dart:1294:56)
#17     DiagnosticableNode.emptyBodyDescription (package:flutter/src/foundation/diagnostics.dart:2972:77)
#18     DiagnosticsNode.toJsonMap.<anonymous closure> (package:flutter/src/foundation/diagnostics.dart:1650:13)
#19     DiagnosticsNode.toJsonMap (package:flutter/src/foundation/diagnostics.dart:1679:6)
#20     WidgetInspectorService._nodeToJson (package:flutter/src/widgets/widget_inspector.dart:1639:18)
#21     WidgetInspectorService._reportStructuredError (package:flutter/src/widgets/widget_inspector.dart:934:44)
#22     FlutterError.reportError (package:flutter/src/foundation/assertions.dart:1189:14)
#23     _reportException (package:flutter/src/widgets/framework.dart:6570:16)
#24     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4977:9)
#25     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5133:11)
#26     Element.rebuild (package:flutter/src/widgets/framework.dart:4690:5)
#27     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4950:5)
#28     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5124:11)
#29     ComponentElement.mount (package:flutter/src/widgets/framework.dart:4944:5)
...     Normal element mounting (13 frames)
#42     _UncontrolledProviderScopeElement.mount (package:flutter_riverpod/src/framework.dart:309:11)
...     Normal element mounting (9 frames)
#51     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3953:16)
#52     Element.updateChild (package:flutter/src/widgets/framework.dart:3682:18)
#53     RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:1176:16)
#54     RenderObjectToWidgetElement.mount (package:flutter/src/widgets/binding.dart:1145:5)
#55     RenderObjectToWidgetAdapter.attachToRenderTree.<anonymous closure> (package:flutter/src/widgets/binding.dart:1092:18)
#56     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2682:19)
#57     RenderObjectToWidgetAdapter.attachToRenderTree (package:flutter/src/widgets/binding.dart:1091:13)
#58     WidgetsBinding.attachRootWidget (package:flutter/src/widgets/binding.dart:926:7)
#59     WidgetsBinding.scheduleAttachRootWidget.<anonymous closure> (package:flutter/src/widgets/binding.dart:906:7)
#63     _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:192:26)
(elided 5 frames from class _AssertionError, class _Timer, and dart:async-patch)
====================================================================================================

======== Exception caught by widgets library =======================================================
The following assertion was thrown building UncontrolledProviderScope:
'package:flutter/src/widgets/framework.dart': Failed assertion: line 4692 pos 14: 'owner!._debugCurrentBuildTarget == this': is not true.

Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
  https://github.com/flutter/flutter/issues/new?template=2_bug.md

The relevant error-causing widget was:
  UncontrolledProviderScope UncontrolledProviderScope:file:///home/rohit/.pub-cache/hosted/pub.dev/flutter_riverpod-2.3.2/lib/src/framework.dart:250:12
When the exception was thrown, this was the stack:
#2      Element.rebuild.<anonymous closure> (package:flutter/src/widgets/framework.dart:4692:14)
#3      Element.rebuild (package:flutter/src/widgets/framework.dart:4695:6)
#4      ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4950:5)
#5      ComponentElement.mount (package:flutter/src/widgets/framework.dart:4944:5)
...     Normal element mounting (7 frames)
#12     _UncontrolledProviderScopeElement.mount (package:flutter_riverpod/src/framework.dart:309:11)
...     Normal element mounting (9 frames)
#21     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3953:16)
#22     Element.updateChild (package:flutter/src/widgets/framework.dart:3682:18)
#23     RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:1176:16)
#24     RenderObjectToWidgetElement.mount (package:flutter/src/widgets/binding.dart:1145:5)
#25     RenderObjectToWidgetAdapter.attachToRenderTree.<anonymous closure> (package:flutter/src/widgets/binding.dart:1092:18)
#26     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2682:19)
#27     RenderObjectToWidgetAdapter.attachToRenderTree (package:flutter/src/widgets/binding.dart:1091:13)
#28     WidgetsBinding.attachRootWidget (package:flutter/src/widgets/binding.dart:926:7)
#29     WidgetsBinding.scheduleAttachRootWidget.<anonymous closure> (package:flutter/src/widgets/binding.dart:906:7)
#33     _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:192:26)
(elided 5 frames from class _AssertionError, class _Timer, and dart:async-patch)
====================================================================================================
E/flutter ( 9772): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 2685 pos 20: '_debugCurrentBuildTarget == context': is not true.
E/flutter ( 9772): #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:51:61)
E/flutter ( 9772): #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:40:5)
E/flutter ( 9772): #2      BuildOwner.buildScope.<anonymous closure> (package:flutter/src/widgets/framework.dart:2685:20)
E/flutter ( 9772): #3      BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2689:12)
E/flutter ( 9772): #4      RenderObjectToWidgetAdapter.attachToRenderTree (package:flutter/src/widgets/binding.dart:1091:13)
E/flutter ( 9772): #5      WidgetsBinding.attachRootWidget (package:flutter/src/widgets/binding.dart:926:7)
E/flutter ( 9772): #6      WidgetsBinding.scheduleAttachRootWidget.<anonymous closure> (package:flutter/src/widgets/binding.dart:906:7)

======== Exception caught by widgets library E/flutter ( 9772): #7      Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:18:15)
=======================================================
E/flutter ( 9772): #8      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:398:19)
E/flutter ( 9772): #9      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:429:5)
E/flutter ( 9772): #10     _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:192:26)
E/flutter ( 9772):
The following assertion was thrown building ProviderScope(state: ProviderScopeState#cb315):
'package:flutter/src/widgets/framework.dart': Failed assertion: line 4692 pos 14: 'owner!._debugCurrentBuildTarget == this': is not true.

Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
  https://github.com/flutter/flutter/issues/new?template=2_bug.md

The relevant error-causing widget was:
  ProviderScope ProviderScope:file:///home/rohit/AndroidStudioProjects/plants_finder/lib/main.dart:12:12
When the exception was thrown, this was the stack:
#2      Element.rebuild.<anonymous closure> (package:flutter/src/widgets/framework.dart:4692:14)
#3      Element.rebuild (package:flutter/src/widgets/framework.dart:4695:6)
#4      ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4950:5)
#5      ComponentElement.mount (package:flutter/src/widgets/framework.dart:4944:5)
#6      _UncontrolledProviderScopeElement.mount (package:flutter_riverpod/src/framework.dart:309:11)
...     Normal element mounting (9 frames)
#15     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3953:16)
#16     Element.updateChild (package:flutter/src/widgets/framework.dart:3682:18)
#17     RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:1176:16)
#18     RenderObjectToWidgetElement.mount (package:flutter/src/widgets/binding.dart:1145:5)
#19     RenderObjectToWidgetAdapter.attachToRenderTree.<anonymous closure> (package:flutter/src/widgets/binding.dart:1092:18)
#20     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2682:19)
#21     RenderObjectToWidgetAdapter.attachToRenderTree (package:flutter/src/widgets/binding.dart:1091:13)
#22     WidgetsBinding.attachRootWidget (package:flutter/src/widgets/binding.dart:926:7)
#23     WidgetsBinding.scheduleAttachRootWidget.<anonymous closure> (package:flutter/src/widgets/binding.dart:906:7)
#27     _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:192:26)
(elided 5 frames from class _AssertionError, class _Timer, and dart:async-patch)
====================================================================================================

======== Exception caught by widgets library =======================================================
The following assertion was thrown attaching to the render tree:
'package:flutter/src/widgets/framework.dart': Failed assertion: line 4692 pos 14: 'owner!._debugCurrentBuildTarget == this': is not true.

Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
  https://github.com/flutter/flutter/issues/new?template=2_bug.md

When the exception was thrown, this was the stack:
#2      Element.rebuild.<anonymous closure> (package:flutter/src/widgets/framework.dart:4692:14)
#3      Element.rebuild (package:flutter/src/widgets/framework.dart:4695:6)
#4      ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4950:5)
#5      StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5124:11)
#6      ComponentElement.mount (package:flutter/src/widgets/framework.dart:4944:5)
#7      Element.inflateWidget (package:flutter/src/widgets/framework.dart:3953:16)
#8      Element.updateChild (package:flutter/src/widgets/framework.dart:3682:18)
#9      RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:1176:16)
#10     RenderObjectToWidgetElement.mount (package:flutter/src/widgets/binding.dart:1145:5)
#11     RenderObjectToWidgetAdapter.attachToRenderTree.<anonymous closure> (package:flutter/src/widgets/binding.dart:1092:18)
#12     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2682:19)
#13     RenderObjectToWidgetAdapter.attachToRenderTree (package:flutter/src/widgets/binding.dart:1091:13)
#14     WidgetsBinding.attachRootWidget (package:flutter/src/widgets/binding.dart:926:7)
#15     WidgetsBinding.scheduleAttachRootWidget.<anonymous closure> (package:flutter/src/widgets/binding.dart:906:7)
#19     _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:192:26)
(elided 5 frames from class _AssertionError, class _Timer, and dart:async-patch)
====================================================================================================

Hi @rohitp20, this is caused by one of your packages. See https://stackoverflow.com/a/73770713 for how you can get the proper stack trace so you can fix the error on your side.
Closing from here as this is not a flutter issue.
Thank you


EF DBContext SaveChanges Error

This issue has been moved from a ticket on Developer Community.

Microsoft documentation [https://docs.microsoft.com/en-us/ef/ef6/saving/change-tracking/entity-state] states:
>Modified entities are updated in the database and then become Unchanged when SaveChanges returns.
But when I do a SaveChanges on a DBContext, items that were in the Modified state before then are still in a Modified state after the call.
In fact when I try to manually change the items' state to Unchanged in the following loop, they are changed back to Modified at the end of each loop iteration:
foreach(DbEntityEntry Item in Context.ChangeTracker.Entries())
    Item.State = EntityState.Unchanged;

Is this a bug or is there something I'm missing here?

Original Comments
Visual Studio Feedback System on 10/3/2019, 03:20 AM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Original Solutions
(no solutions)

Please post a small, runnable project/solution or complete code listing that demonstrates the behavior you are seeing.

EF Team Triage: Closing this issue as the requested additional details have not been provided and we have been unable to reproduce it.
BTW this is a canned response and may have info or details that do not directly apply to this particular issue. While we'd like to spend the time to uniquely address every incoming issue, we get a lot traffic on the EF projects and that is not practical. To ensure we maximize the time we have to work on fixing bugs, implementing new features, etc. we use canned responses for common triage decisions.


Resetting the limits on curve plots with hidden curves doesn't always work.

-----------------------REDMINE MIGRATION-----------------------
This ticket was migrated from Redmine. As such, not all
information was able to be captured in the transition. Below is
a complete record of the original redmine ticket.
Ticket number: 2878
Status: New
Project: VisIt
Tracker: Bug
Priority: Normal
Subject: Resetting the limits on curve plots with hidden curves doesn't always work.
Assigned to: -
Category: -
Target version: -
Author: Eric Brugger
Start: 08/02/2017
Due date:
% Done: 0%
Estimated time:
Created: 08/02/2017 06:04 pm
Updated:
Likelihood: 3 - Occasional
Severity: 2 - Minor Irritation
Found in version: 2.12.3
Impact:
Expected Use:
OS: All
Support Group: Any
Description:
Comments:

Eric should improve this bug report to be more than just the subject line. :(


Open kdbx file from OneDrive with KeeAnywhere 1.2.0 and KeePass 2.34

Hi
I try to my kdbx file from OneDrive. My OneDrive account seems properly configured in "KeeAnywhere Settings". The "check" button reports "Connecting to this account succeeded".
The "Open from Cloud Drive" dialog reports "Error loading file list for account... / Exception: The method or operation is not implemented."
Best regards
Roman

Please try newly released Version 1.3.0.
If the problem continues to exist, please reopen this issue.


Add toJS to return TreeNode of Tree

What would you like to be added:
Restore iterator inside Tree
Why is this needed:
During the 0.4.6 release process, I removed iterator from JSON/CRDT Tree because there's no need to remain linked-list and list-related logics inside the Tree. Also, we still can access Tree data by using toJSON() method.
However, it was created for testing purposes (serialize data unnecessarily), so I'm trying to restore iterator inside Tree

SDKs:

[ ] JS SDK: https://github.com/yorkie-team/yorkie-js-sdk/pull/639
[ ] Android SDK:
[ ] iOS SDK:


Livechat: Confusion over bots, agents and departments

Hi,
I'm trying to write my own adapter that logs in as a bot user (livechat agent) and handles the requests of guests. The bot is part of a BOT department. Furthermore I have a service worker account (also livechat agent) in a SERVICE department that shall take over the chat/room as soon as the bot can't help the visitor.
Until yesterday my bot was able to manage multiple requests of different guests. But without any changes the behavior suddenly changed. Not possible - i know.
At first every in the livechat registered visitor who opened a new room got automatically handled by the bot - regardless which department I had selected and if the service worker is online, too. Since yesterday I need to define the correct department (BOT) when a visitor opens a room to get handled by the bot. But as soon as the bot handles one visitor, the next visitor automatically needs to get handled by the service worker if he's online (obviously round robin rule) although the requested department is still BOT. Now I'm completely confused... Is the department relevant or not? When and how does the bot handles the room?
The behavior I want to implement is the following: Bot and service worker both are logged in. If a new visitor opens a room he always gets handled by the bot. Only if the bot transfers the room, the service worker needs to act. Can someone tell me what's the correct way to accomplish this? And maybe even know what could be the reason of the changed behavior although no code was changed? (Maybe settings on the Rocket.Chat server?)
Thank you in advance!
FYI: I'm using alpha version 26 of the SDK.

Hello,
Could you please help with api for transferring bot session to live chat agent?
i'm calling room.forward (Sample one is below). but session not transferring to live agent.
curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq"
-H "X-User-Id: aobEdbYhXfu5hkeqG"
-H "Content-type: application/json"
http://localhost:3000/api/v1/livechat/room.forward
-d '{"roomId": "XFzMqgn33DcsQkpJp", "departmentId": "wXpPLofkffqWAwDNF"}'
Getting error
{ status: 'error',
message: 'You must be logged in to do this.' }

An update to version 1.0.3 of the Rocket.Chat-Server seems to have fixed this error. That's why I'm closing the issue.


Libraries by supsoap

There is no assurance that these libraries are fully working and intended for use, because there are no docs for them. Confirmation of the author is required.

XP — A generic leveling up system.
Vita — Auto-regenerating health / heart / life / energy type of system for accessing content.
SoundBank — Easily play sounds and music playlists.
WrapText — The line breaking rules in East Asian languages wrapper.
DefRS — A collection of useful general resources.

@subsoap Hi! Could you please help sort this out?

Sorry I didn't see this before! It said supsoap instead of subsoap so maybe that's why I never clicked it. 🤷

Ah, sorry, typo in the title ) Added all where there were examples of use.


Different extensions for output_format

psort.py now retrieves the output_format to be able to output files with different extensions. One issue right now is that the value found in output_format is directly used as an extension (e.g. "--output-format dynamic" ends up as "xxx.dynamic"). It is possible to just change the extension as with the original implementation (just a .csv).
Changed the PlasoCsvFile to PlasoFile. PlasoCsvFile worked well with other filetypes and we thought it may be simplified (if this is not wanted, we can change it back and create more output specific classes).

#1104


Error messages not showing

Describe the bug

When a button like add item is clicked, the error message would not be shown

To Reproduce

click add item button then run any command

Expected behavior

error messages should be shown

Duplicate of #148, Fixed in #149


Fixing issues with presto

Updated the init script to fix the issues (https://github.com/GoogleCloudPlatform/dataproc-initialization-actions/issues/533)

This looks like a duplicate of existing 2 PRs:
https://github.com/GoogleCloudPlatform/dataproc-initialization-actions/pull/592
https://github.com/GoogleCloudPlatform/dataproc-initialization-actions/pull/597


Adjust mainnet parameters for litecoin

I didn't include any checkpoints or all the other dns seeds.

It would be nice to get this landed, because currently ltcd will try to sync with bitcoin peers, and throw endless errors about the proof of work limit being too high. I've run ltcd with this PR and it syncs correctly for me.

There are minor issues with this PR though. For example, I don't know what to put as BIP activation heights: https://github.com/ltcsuite/ltcd/pull/2/commits/327be039a288e7ed6371427cdba14696e903d6c2#diff-3203a6040cfe5ff98d1f499872880defR238

Do those BIPs exist in Litecoin? This Issue suggests they are in litecoin
https://github.com/litecoin-project/litecoin/issues/244
If they're not in Litecoin, then you can set the activation heights to be max of the int32 type

I can't figure that out, but if I tried setting them to -1, and that won't work.
BTW, @Melvillian  are you sure you synced to May blocks? My ltcd seems to reject block 5934f52b03a9bc5c86156533df422bb17ffef0873ac407106cb03ffdad94d1ec from april because it has got an empty witness stack. But hasn't activated yet, so I think I got something wrong with either activation timestamps, or voting thresholds. Dunno what yet. Very weird if it works for you.

https://github.com/litecoin-project/litecoin/blob/master/src/chainparams.cpp#L90
Line 90-98 concerns BIP9 activation heights for CSV and SW. SW isn't active on mainnet yet, that's probably why setting activation heights to -1 isn't working. You can try connecting your node only to Litecoin Core <IP_ADDRESS> and using the console to debug issues to do with syncing.

@losh11 I am pretty sure those are not heights, but UNIX time stamps of the voting period (STARTED from BIP9). -1 would mean segwit has been active since the genesis block, which makes validation fail for all blocks. I just don't understand why that block from april is supposed to have a witness stack. The parameters obviously work in Litecoin Core, so why do they not work in ltcd?

@ysangkok I haven't synced all the way to chainhead yet, but I meant that at least it had begun syncing correctly when I added your PR.

👍 just for the fixes in cmd/.../config.go, refuses to compile otherwise

Seems like there might be another problem:
0:53:30 2017-05-11 [INF] BMGR: Rejected block
852004886a4f338aa773cd009cd4012f928d7fd8c8ad3e3659ba5cf2b2431cb6
from <IP_ADDRESS>:9333 (outbound): failed to validate input
ce385e55fb2a73fa438426145b074f08314812fa3396472dc572b3079e26e0f9:0
which references output
6f45775d5f5b62bdd1527151ddb7f6b19a01bbcb6c3ecebf4c581f11851c1e37:0
 - element size 3556 exceeds max allowed size 520 (input witness [[77 245 1 ... ]],
input script bytes
22002091fb57fbeb6404cb412c104fcfb6bbcbe144884135d260879738f34f97d3d0ed,
prev output script bytes a9140e5da99fdabb8f78741b6d7722b8e2647d7b5ec887)

+1
I was getting that output as well earlier

This is a segwit transaction. The scriptSig is a BIP16 redeemScript containing the witness program
The length of the witness script is not validated correctly, see:
This commit should fix it, I didn't verify it yet though (feel free to integrate it into this PR):
https://github.com/benma/ltcd/commit/9387d45795073f5c39d6e6772135def03c4933c9

This is a P2WSH segwit transaction. The scriptSig is a BIP16 redeemScript containing the witness program
The length of the witness script is not validated correctly, see:
https://github.com/bitcoin/bips/blob/master/bip-0141.mediawiki#witness-program
(the code enforces a 520 limit, though that only applies for P2WPKH, not for P2WSH, where the limit is 10,000).
This commit should fix it, I didn't verify it yet though (feel free to integrate it into this PR):
https://github.com/benma/ltcd/commit/9387d45795073f5c39d6e6772135def03c4933c9

I'll comment here too for reference.  btcd master doesn't yet support segwit, so there are certainly segwit-specific things that aren't in master.
I would like to point out that reading that particular error message, it seems pretty clear that it's applying the MaxScriptElementSize to the witness script data push instead of MaxScriptSize as required by the segwit specification.

@davecgh thx. I tried to apply this in the commit referenced above. Is it correct that the check for MaxScriptElementSize can be skipped altogether in this function because it will be checked in executeOpcode() anyway?
If not, I will re-add the check.

@benma: I have not yet gone through the segwit code with a fine tooth comb, but I'm almost positive removing the check from the witness program verify would lead to a consensus break.  The reason for that is because you could construct a script that has an push that exceeds the maximum 520 bytes that is never executed such as would be the case in an OP_IF with a 0 on the stack.
My guess is that the witness script is supposed to be popped from the stack before checking the rest of the stack items just the same way that p2sh works.

Thanks a lot.

My guess is that the witness script is supposed to be popped from the stack before checking the rest of the stack items just the same way that p2sh works.

A previous version of my commit did this. I will restore it shortly.

@benma  are you sure that's right? It's losing peers all the time, for me.
09:51:30 2017-05-11 [INF] BMGR: Syncing to block height 1201889 from peer <IP_ADDRESS>:9333
09:51:30 2017-05-11 [INF] BMGR: New valid peer <IP_ADDRESS>:9333 (outbound) (/Satoshi:0.13.2/)
09:52:13 2017-05-11 [INF] BMGR: Lost peer <IP_ADDRESS>:9333 (outbound)
09:52:13 2017-05-11 [INF] BMGR: Syncing to block height 1201889 from peer <IP_ADDRESS>:9333
09:52:43 2017-05-11 [INF] PEER: Disconnecting non-segwit peer <IP_ADDRESS>:9333 (outbound), isn't segwit segwit enabled and we need more segwit enabled peers
09:52:43 2017-05-11 [INF] BMGR: New valid peer <IP_ADDRESS>:9333 (outbound) (/Satoshi:0.10.4/)
09:52:43 2017-05-11 [INF] BMGR: Lost peer <IP_ADDRESS>:9333 (outbound)
09:52:43 2017-05-11 [INF] PEER: Disconnecting non-segwit peer <IP_ADDRESS>:9333 (outbound), isn't segwit segwit enabled and we need more segwit enabled peers
09:52:43 2017-05-11 [INF] BMGR: New valid peer <IP_ADDRESS>:9333 (outbound) (/Satoshi:<IP_ADDRESS>/)
09:52:43 2017-05-11 [INF] BMGR: Lost peer <IP_ADDRESS>:9333 (outbound)
09:52:45 2017-05-11 [INF] BMGR: Lost peer <IP_ADDRESS>:9333 (outbound)

@ysangkok not sure, no. I am still in the process of syncing, no where near the problematic block/transaction.
@davecgh
Grepping for MaxScriptElementSize, it seems the only place it is used to check the element size is in executeOpcode(), and the code in there checks the size of the element before it checks if it should be ignored due to conditionals, etc. So maybe the check in verifyWitnessProgram is redundant after all?

It syncs correctly for me with https://github.com/ltcsuite/ltcd/pull/2/commits/baf1c2992e5f304038831efaca083611f196bada
Good job @benma !

Dear all,
it also syncs well with ltcsuite/ltcd@baf1c29 for me.
Thank you for the work.

there is a bug in benma's commit, roasbeef knows about it and will push a fix after segwit get merged into btcd mainline

@ysangkok can you elaborate?

@benma , no, I am just parroting. You'd have to ask roasbeef.


macOS: Vienna doesn't launch after repairing home folder permissions

After repairing home folder permissions with diskutil resetUserPermissions / 501 Vienna doesn't launch anymore. It tries for a second or two, but then just quits. No crash, no crash report. Can't say if diskutil resetUserPermissions led to this, but the two events coincided.

Database messages.db in ~/Library/Application\ Support/Vienna was malformed. Solved by replacing with the db from last night's clone.


feat: Pluggable gc with exemptions

Description
This adds gc to blobs so it does not have to be driven externally. A big complication is that we want to have the ability to add exemptions to gc, e.g. from docs or willow.
So the gc is initially not running when the Blobs object is created. We have the ability to add exemption callbacks in this stage. Once the setup is done you can (but don't have to!) start the gc loop, at which point adding exemptions is no longer possible.
Todo:

[x] try out with docs

Breaking Changes

Notes & open questions

Change checklist

[x] Self-review.
[x] Documentation updates following the style guide, if relevant.
[x] Tests if relevant.
[x] All breaking changes documented.

The place where I tried this out is https://github.com/n0-computer/iroh-docs/tree/try-out-gc

new api looks good


hover effect on navbar links

Fixes #495
Made changes on all the navbars

Close the PR which you don't want to be merged.
And share a live link to the website when you are done.

Close the PR which you don't want to be merged.
And share a live link to the website when you are done.

I have closed the previous one.

https://shreyshreyansh.github.io/Movie-Streaming-Website/

Correct this


Use the views

Under 'Use the views'
"You should see the following three views" but then only lists two.

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

ID: 1fcfaf5b-78ea-ac05-bebe-806430114ca9
Version Independent ID: a6264958-2d6d-2059-d78a-0fba7a7fda7d
Content: How to install and use the log analytics views for Azure Active Directory
Content Source: articles/active-directory/reports-monitoring/howto-install-use-log-analytics-views.md
Service: active-directory
Sub-service: report-monitor
GitHub Login: @MarkusVi
Microsoft Alias: markvi

@OlliePythagoras Thank you for your feedback . We will investigate and update the thread accordingly.

@MarkusVi Could you please check this request and verify if we are missing the third step or there are only two steps as listed in the document?

I have created a backlog item to track this.
#please-close


docs: 📚 cleanup stories - use attribute interaction only where applicable

Description
All stories provide the ability to change attributes, properties, etc.
This is a great feature if it really has an effect.
There are stories, though, where this feature is not attached. These are thoses who use static html rendering. e.g. the button-variant story.
Rationale
As a stakeholder of Synergy and user of the Storybook stories I am confused if changing the attributes doesn't work.

Done while cleaning up the syn-switch branch.


Unable to makedirs

I'm following the readme, but it seems that the application cannot mkdirs:
vscode ➜ ~/gpt-engineer (main) $ python3.10 main.py main-prompt
Traceback (most recent call last):

  File "/home/vscode/gpt-engineer/main.py", line 51, in <module>
    app()

  File "/home/vscode/gpt-engineer/main.py", line 37, in chat
    memory=DB(memory_path),

  File "/home/vscode/gpt-engineer/db.py", line 10, in __init__
    os.makedirs(self.path, exist_ok=True)

  File "/home/vscode/.pyenv/versions/3.10.12/lib/python3.10/os.py", line 225, in makedirs
    mkdir(name, mode)

NotADirectoryError: [Errno 20] Not a directory: '/home/vscode/gpt-engineer/main-prompt/memory'

Is main-prompt a directory or file?
It should be python main.py {project-folder} with the main_prompt file inside the {project-folder}.

It is because of the errors and issues sir. It needs to be fixed . Text me
if you want it rectify
On Thu, Jun 15, 2023 at 4:23 AM LeeStevens318 @.***>
wrote:

Is main-prompt a directory or file?
It should be python main.py {project-folder} with the main_prompt file
inside the {project-folder}.
—
Reply to this email directly, view it on GitHub
https://github.com/AntonOsika/gpt-engineer/issues/39#issuecomment-1592289802,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BASR7VVJEYIB7FBAS5TQ7ODXLJ53BANCNFSM6AAAAAAZHBLRNI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

All you need to do is to deposit 400 because of the errors and rectified
sir
On Thu, Jun 15, 2023 at 4:24 AM roy hub offi @.***>
wrote:

It is because of the errors and issues sir. It needs to be fixed . Text me
if you want it rectify
On Thu, Jun 15, 2023 at 4:23 AM LeeStevens318 @.***>
wrote:

Is main-prompt a directory or file?
It should be python main.py {project-folder} with the main_prompt file
inside the {project-folder}.
—
Reply to this email directly, view it on GitHub
<
https://github.com/AntonOsika/gpt-engineer/issues/39#issuecomment-1592289802>,

or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/BASR7VVJEYIB7FBAS5TQ7ODXLJ53BANCNFSM6AAAAAAZHBLRNI>

.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

—
Reply to this email directly, view it on GitHub
https://github.com/AntonOsika/gpt-engineer/issues/39#issuecomment-1592291893,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BASR7VVBPHW6NVCCGHVYIEDXLJ6AHANCNFSM6AAAAAAZHBLRNI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Is main-prompt a directory or file?
It should be python main.py {project-folder} with the main_prompt file inside the {project-folder}.
You are supposed to make the folder beforehand. with the main_prompt inside.

Gotcha, thankyou.

You really need to clear the errors and drop your Gmail so that we can
notify you immediately
On Thu, Jun 15, 2023 at 7:32 AM darrentmorgan @.***>
wrote:

Is main-prompt a directory or file?
It should be python main.py {project-folder} with the main_prompt file
inside the {project-folder}.
You are supposed to make the folder beforehand. with the main_prompt
inside.
Gotcha, thankyou.
—
Reply to this email directly, view it on GitHub
https://github.com/AntonOsika/gpt-engineer/issues/39#issuecomment-1592445602,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BASR7VWJNOVLV3OUZFIPMKLXLKT6XANCNFSM6AAAAAAZHBLRNI
.
You are receiving this because you commented.Message ID:
@.***>

We couldn’t get your mail prop. Send your telegram number and indicate the
county + code so we can handle it immediately On Thu, Jun 15, 2023 at 7:35
AM roy hub offi @.***> wrote:

You really need to clear the errors and drop your Gmail so that we can
notify you immediately
On Thu, Jun 15, 2023 at 7:32 AM darrentmorgan @.***>
wrote:

Is main-prompt a directory or file?
It should be python main.py {project-folder} with the main_prompt file
inside the {project-folder}.
You are supposed to make the folder beforehand. with the main_prompt
inside.
Gotcha, thankyou.
—
Reply to this email directly, view it on GitHub
<
https://github.com/AntonOsika/gpt-engineer/issues/39#issuecomment-1592445602>,

or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/BASR7VWJNOVLV3OUZFIPMKLXLKT6XANCNFSM6AAAAAAZHBLRNI>

.
You are receiving this because you commented.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/AntonOsika/gpt-engineer/issues/39#issuecomment-1592448544,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BASR7VRRSUIYHEOMXU3RSOLXLKUKJANCNFSM6AAAAAAZHBLRNI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

We couldn’t get your mail prop. Send your telegram number and indicate the county + code so we can handle it immediately On Thu, Jun 15, 2023 at 7:35 AM roy hub offi @.> wrote:
…
You really need to clear the errors and drop your Gmail so that we can notify you immediately On Thu, Jun 15, 2023 at 7:32 AM darrentmorgan @.> wrote: > Is main-prompt a directory or file? > > It should be python main.py {project-folder} with the main_prompt file > inside the {project-folder}. > > You are supposed to make the folder beforehand. with the main_prompt > inside. > > Gotcha, thankyou. > > — > Reply to this email directly, view it on GitHub > < #39 (comment)>, > or unsubscribe > < https://github.com/notifications/unsubscribe-auth/BASR7VWJNOVLV3OUZFIPMKLXLKT6XANCNFSM6AAAAAAZHBLRNI> > . > You are receiving this because you commented.Message ID: > @.> > — Reply to this email directly, view it on GitHub <#39 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BASR7VRRSUIYHEOMXU3RSOLXLKUKJANCNFSM6AAAAAAZHBLRNI . You are receiving this because you are subscribed to this thread.Message ID: @.>

You're the first person I've reported on GitHub, congratulations.

@AntonOsika Can you ban/block this person clearly keeps spamming on issues.


register plugin in jspm registry

Why is this necessary given the existence of the following code in "sample level" index.html?
<script>
      System.import('aurelia-bootstrapper');

      // Load the package.json from the root to get the package name
      System.import("root/package.json!").then(function(m) {
        var cfg = {
           packages: {}
        };

        // Create a new systemjs package with the package name
        cfg.packages[m.name] = {
            "main": "index",
            "dependencies": m.jspm.dependencies
        };

        System.config(cfg);

      });

This would allow our users to install the plugin using jspm install auerlia-kendui vs `jspm install github:aurelia-ui-toolkits/aurelia-kendoui-plugin``

Yes, I would always prefer the simpler path - jspm registry is the way.

Note that this change requires the correction in the README.md file
1. Install the plugin

  `jspm install github:aurelia-ui-toolkits/aurelia-kendoui-plugin`

A good example on how to do this is: https://github.com/zewa666/registry/commit/a5315e43db62c7999615987db5d3dabd2561586a
@adriatic @charlespockert should I go ahead and create a pull request to the registry for aurelia-kendoui-plugin ?

I am strongly in favor of doing that rather sooner than later, so that all subsequent development uses that registry allowing us more opportunities to fix any glitches.

That darn close and comment button is simply too close to the comment button :-1:

https://github.com/jspm/registry/pull/676

Done!


might be cool?

Might be cool if the Send mech had a way to do this in a go routine? to avoid blocking code using the package?
I would think we need some community guidance about whether the go routines should inside the packages or expected to be done by the users of the package...
opinion?

Sorry for opening this up again. I'm working on some email-critical functionality. Currently to know whether a Send(...) failed (so that I can retry sending it again), I've to wait for it to return, which is long. Going by @dcoxall's suggestion, with the goroutine I'm ignoring the returned error.
So, is there some suggested way to run Send(...) inside a goroutine and predictably know whether it failed (for the purposes of resending)?


Directory structure docs

Added simple comments on CONTRIBUTING.md

I will make another PR since the other changes were already merged

I will make another PR since the other changes were already merged


Saucelabs: FF 38 and Chrome 43

Checking future compatibility with browsers ahead of a future upgrade

:+1:


Tabs break if the recipe book is opened

You might be able to fix this by checking if the recipe book is opened, and if it is, hide the tabs.

That's what I'm trying to do, but can't find a way to check that currently. Will look into this later.

Fixed in 1.3.3


Add more TIMESTAMP conversion examples

Fixes DOC-644
h/t Bram Gruneir for sharing these!
Tasks:

[ ] Backport to v22.1, v22.2 once reviewed

@BramGruneir any objection to these changes?  AFAICT they're just copied from your writing so hopefully can merge ASAP.  Asking b/c I need to pivot to v23.2 release things and I don't want this to sit longer since you've already waited so long!

Hey @rmloveland , I haven't looked at this in 3ish year, but assuming not much has changed, I think it's good.

I haven't looked at this in 3ish year, but assuming not much has
changed, I think it's good.

OK sounds good.  I think it will provide more value for users in the
docs so let's go with it! We can fix any possible issues later

Thanks for the review @taroface !  I have fixed the things you pointed out and ported the changes to: v22.2, v23.1, v23.2
PTAL and let me know what you think!


Topk error handling for empty masks

The current implementation of the topk method of the TopK class has a bug -- if you pass in a tensor_mask that's full of Falses, it crashes the code.

Ah sorry, thought that had been sorted. Thanks!