Build/Dev fails with 503 Error - Also fetching 0 nodes

Hello, i have an issue when trying to build or run dev, where it throws a 503 error when trying to fetch nodes.
Here is what i see in the terminal:
⠼  gatsby-source-wordpress  fetching nodes — 0 total
⠼  gatsby-source-wordpress  Category
⠼  gatsby-source-wordpress  Comment
⠼  gatsby-source-wordpress  ContentType
⠼  gatsby-source-wordpress  Coupon
⠼  gatsby-source-wordpress  Customer
⠴ source and transform nodes
⠼  gatsby-source-wordpress  fetching nodes — 0 total
⠼  gatsby-source-wordpress  Category
⠼  gatsby-source-wordpress  Comment
⠼  gatsby-source-wordpress  ContentType
⠼  gatsby-source-wordpress  Coupon
⠼  gatsby-source-wordpress  Customer
⠴ source and transform nodes
⠼  gatsby-source-wordpress  fetching nodes — 0 total
⠼  gatsby-source-wordpress  Category
⠼  gatsby-source-wordpress  Comment
⠼  gatsby-source-wordpress  ContentType
⠼  gatsby-source-wordpress  Coupon
⠼  gatsby-source-wordpress  Customer

 ERROR

 gatsby-source-wordpress  GraphQL vars: {"first":10,"url":"https://gaiamadservice.dk/graphql","after":null}

⠴ source and transform nodes
⠼  gatsby-source-wordpress  fetching nodes — 0 total
⠼  gatsby-source-wordpress  Category
⠼  gatsby-source-wordpress  Comment
⠼  gatsby-source-wordpress  ContentType
⠼  gatsby-source-wordpress  Coupon
⠼  gatsby-source-wordpress  Customer

 ERROR

 gatsby-source-wordpress  GraphQL query: query NODE_LIST_QUERY($first: Int!, $after: String) {
  customers(first: $first, after: $after) {
    nodes {
      billing {
        address1
        address2
        city
        company
        email
        firstName
        lastName
        phone
        postcode
        state
      }
      calculatedShipping
      customerId
      date
      displayName
      downloadableItems(first: 100) {
        nodes {
          accessExpires
          download {
            allowedFileType
            downloadId
            file
            fileExists
            fileExt
            filePathType
            fileType
            name
          }
          downloadId
          downloadsRemaining
          name
          product {
            id
            __typename
          }
          url
        }
      }
      email
      firstName
      hasCalculatedShipping
      id
      isPayingCustomer
      isVatExempt
      lastName
      lastOrder {
        id
      }
      metaData {
        id
        key
        value
      }
      modified
      orderCount
      orders(first: 100) {
        nodes {
          id
        }
      }
      refunds(first: 100) {
        nodes {
          id
        }
      }
      role
      shipping {
        address1
        address2
        city
        company
        email
        firstName
        lastName
        phone
        postcode
        state
      }
      totalSpent
      username
      __typename
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}

⠴ source and transform nodes
⠼  gatsby-source-wordpress  fetching nodes — 0 total
⠼  gatsby-source-wordpress  Category
⠼  gatsby-source-wordpress  Comment
⠼  gatsby-source-wordpress  ContentType
⠼  gatsby-source-wordpress  Coupon
⠼  gatsby-source-wordpress  Customer
⠴ source and transform nodes
⠼  gatsby-source-wordpress  fetching nodes — 0 total
⠼  gatsby-source-wordpress  Category
⠼  gatsby-source-wordpress  Comment
⠼  gatsby-source-wordpress  ContentType
⠼  gatsby-source-wordpress  Coupon
⠼  gatsby-source-wordpress  Customer
⠴ source and transform nodes
⠦  gatsby-source-wordpress  fetching nodes — 0 total
⠦  gatsby-source-wordpress  Category
⠦  gatsby-source-wordpress  Comment
success  gatsby-source-wordpress  Order - 16.181s - fetched 0
⠧ source and transform nodes
⠦  gatsby-source-wordpress  fetching nodes — 0 total
⠦  gatsby-source-wordpress  Category
⠦  gatsby-source-wordpress  Comment

 ERROR

 gatsby-source-wordpress  Request failed with status code 503

Error occured while fetching nodes of the "Coupon" type.

GraphQL request to https://gaiamadservice.dk/graphql failed.

Please ensure the following statements are true
  - your WordPress URL is correct in gatsby-config.js
  - your server is responding to requests
  - WPGraphQL and WPGatsby are installed in your WordPress backend

⠧ source and transform nodes
⠦  gatsby-source-wordpress  fetching nodes — 0 total
⠦  gatsby-source-wordpress  Category
⠦  gatsby-source-wordpress  Comment
⠦  gatsby-source-wordpress  fetching nodes — 0 total
⠦  gatsby-source-wordpress  Category
⠦  gatsby-source-wordpress  Comment
not finished source and transform nodes - 16.633s
⠦  gatsby-source-wordpress  fetching nodes — 0 total
⠦  gatsby-source-wordpress  Category
⠦  gatsby-source-wordpress  Comment
⠦  gatsby-source-wordpress  Category
⠦  gatsby-source-wordpress  Comment
not finished  gatsby-source-wordpress  fetching nodes - 16.499s - 0 total
⠦  gatsby-source-wordpress  Category
⠦  gatsby-source-wordpress  Comment
⠦  gatsby-source-wordpress  Comment
not finished  gatsby-source-wordpress  Category - 16.558s
⠦  gatsby-source-wordpress  Comment
not finished  gatsby-source-wordpress  Comment - 16.592s
not finished  gatsby-source-wordpress  ContentType - 16.624s
not finished  gatsby-source-wordpress  Coupon - 16.634s
not finished  gatsby-source-wordpress  Customer - 16.646s
not finished  gatsby-source-wordpress  MenuItem - 16.655s
not finished  gatsby-source-wordpress  Menu - 16.641s
not finished  gatsby-source-wordpress  Page - 16.607s
not finished  gatsby-source-wordpress  Post - 16.541s
not finished  gatsby-source-wordpress  ProductCategory - 16.506s
not finished  gatsby-source-wordpress  ProductTag - 16.455s
not finished  gatsby-source-wordpress  ProductType - 16.434s
not finished  gatsby-source-wordpress  Product - 16.430s
not finished  gatsby-source-wordpress  Refund - 16.415s
not finished  gatsby-source-wordpress  ShippingMethod - 16.328s
not finished  gatsby-source-wordpress  Tag - 16.295s
not finished  gatsby-source-wordpress  TaxRate - 16.254s
not finished  gatsby-source-wordpress  Taxonomy - 16.197s
not finished  gatsby-source-wordpress  UserRole - 16.160s
not finished  gatsby-source-wordpress  User - 16.128s
not finished  gatsby-source-wordpress  VisibleProduct - 16.081s
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed.
Exit code: 1
Command: C:\Program Files\nodejs\node.exe
Arguments: C:\Program Files (x86)\Yarn\lib\cli.js dev
Directory: C:\Users\Butik\Documents\GitHub\gatsby-woocommerce-themes\site
Output:

info Visit https://yarnpkg.com/en/docs/cli/workspace for documentation about this command.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>dev: `yarn workspace site dev`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\Butik\AppData\Roaming\npm-cache\_logs\2020-09-20T11_21_14_853Z-debug.log

I have removed a lot of lines, as they are the same as the sequence that keeps repeating.
Does anyone know how to fix this?
I have tried updating and double-checking plugins is working, and troubleshooting according to documentation, but nothing has worked so far.
All the best!

Hi @andreasbroch2 please check this issue https://github.com/gatsbyjs/gatsby-source-wordpress-experimental/issues/147 for info on how to fix this. In the future the plugin will auto-recover from this, but for now it's not able to and requires some configuration when this happens. Closing as a duplicate but feel free to follow up in the linked issue :)


Add new option when connecting to Motor-CAD to keep_instance_open

Once the instance is done with (script finished) we can choose to keep the instance open. Previously had to use reuse_parallel_instances for this option, but that has additional functionality which could cause problems.

@JackB-Ansys Looks good. Do you want this available immediately in a new minor release?

Maybe the same release as Adaptive Templates Examples?


License?

Please add a license file. I started using react-audio-waveform but I have concerns regarding the Licence for this package. Thank you! :)

P.S. I just noticed package.json file states MIT license. Is this official? :)

Done!


SIGSEV when launching tests on RHEL 8 when missing xvnc

VSCode Version: 1.48.0
OS Version: RHEL 8

Steps to Reproduce:

build one of this project on a Jenkins instance https://github.com/redhat-developer/vscode-java https://github.com/redhat-developer/vscode-quarkus https://github.com/camel-tooling/vscode-camelk
the tests are not launched, there is a SIGSEV error

Does this issue occur when all extensions are disabled?: Yes/No
Additional information:

try to upgrade node version to 12.13.1 --> same result
unable to retrieve logs using archiveArtifacts artifacts:"~/.config/Code/logs/**/*"  in JenkinsFile (how to configure it?)
works fine on Travis CI
works fine locally on Fedora 31
was working fine with VS Code 1.47.3 on Jenkins with same environment
console log in our codebase lead to this line throwing the SIGSEV https://github.com/camel-tooling/vscode-camelk/blob/03a5288bfd20d30dec55415c9e86fb2816e6ce54/src/test/runTests.ts#L20

How to investigate the root cause of the SIGSEV error?
Jenkins log:
+ npm test --silent
extensionDevelopmentPath = /mnt/hudson_workspace/workspace/vscode-temporary-testing
extensionTestsPath = /mnt/hudson_workspace/workspace/vscode-temporary-testing/out/src/test/suite/index
Downloading VS Code 1.48.0 from https://update.code.visualstudio.com/1.48.0/linux-x64/stable
Downloaded VS Code 1.48.0 into .vscode-test/vscode-1.48.0
vscodeExecutablePath = /mnt/hudson_workspace/workspace/vscode-temporary-testing/.vscode-test/vscode-1.48.0/VSCode-linux-x64/code
Installing extensions...
Extension 'ms-kubernetes-tools.vscode-kubernetes-tools' is already installed.
VS Code extension ms-kubernetes-tools.vscode-kubernetes-tools installed
Installing extensions...
Extension 'redhat.java' is already installed.
VS Code extension redhat.java installed
Exit code:   null
Done

Failed to run testsSIGSEGV

@isidorn what make you think that it is caused by an extension? Several extensions are impacted. it looks more a problem of VS Code itself in a specific environment (RHEL 8/Jenkins)

@isidorn the build failure affects several vscode extensions built on the Red Hat CI farm, all since the vscode update

this issue was on our RHEL 8 image which received an update at the same time than VS Code 1.48.0 upgrade.
hint for people hitting same kind of issue: when an x server is missing, the VS Code tests are just sending a SIGSEV error.


Add Deezer music service support

Based on comment SoCo/SoCo#763 (comment), Deezer music service is working with SoCo.

Done: https://github.com/smartgic/mycroft-sonos-controller-skill/commit/8b47d4775b4d70cde3e2519fb07b3df4eb9dae75


Table export: additional requests

Originally posted by @rperlin-ela in https://github.com/Language-Mapping/language-map/issues/118#issuecomment-756193122
A few more:

[ ] - Prevent "Global Speaker Total", if empty, from displaying in PDF as 0
[ ] - Prevent comma or other random mark from appearing where there's a missing endonym, e.g. Chinese (Mandarin), Coptic, Bantawa etc
[x] - "Location" instead of "Primary Location" to match UI Table?
[x] - Space after the comma where there are multiple countries
[x] - Switch "full source dataset" link from Sheets to https://airtable.com/shrqQo5FJHvhKtffs

@rperlin-ela

Prevent comma or other random mark from appearing where there's a missing endonym, e.g. Chinese (Mandarin), Coptic, Bantawa etc

I got this to work but not sure if the check is too heavy-handed:
If text includes any non-UTF chars, show nothing.
If it is then I don't have a fix but if not then we're good, so let me know:

@rperlin-ela

Prevent comma or other random mark from appearing where there's a missing endonym, e.g. Chinese (Mandarin), Coptic, Bantawa etc

I got this to work but not sure if the check is too heavy-handed:
If text includes any non-UTF chars, show nothing.
If it is then I don't have a fix but if not then we're good, so let me know:

Can’t tell just from this if we’ve lost any endonyms we had before, but otherwise seems promising!

On Jan 7, 2021, at 2:05 PM, Jason Lampel<EMAIL_ADDRESS>wrote:
@rperlin-ela https://github.com/rperlin-ela
Prevent comma or other random mark from appearing where there's a missing endonym, e.g. Chinese (Mandarin), Coptic, Bantawa etc
I got this to work but not sure if the check is too heavy-handed:
If text includes any non-UTF chars, show nothing.
If it is then I don't have a fix but if not then we're good, so let me know:
https://user-images.githubusercontent.com/4974087/103933402-905f6780-50e0-11eb-81f5-2d4a5f125773.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/Language-Mapping/language-map/issues/158#issuecomment-756317337, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMNKB5DPXTS6XDVUC6KEA6TSYYAYFANCNFSM4VZMJBAQ.

Can’t tell just from this if we’ve lost any endonyms we had before, but otherwise seems promising!

On Jan 7, 2021, at 2:05 PM, Jason Lampel<EMAIL_ADDRESS>wrote:
@rperlin-ela https://github.com/rperlin-ela
Prevent comma or other random mark from appearing where there's a missing endonym, e.g. Chinese (Mandarin), Coptic, Bantawa etc
I got this to work but not sure if the check is too heavy-handed:
If text includes any non-UTF chars, show nothing.
If it is then I don't have a fix but if not then we're good, so let me know:
https://user-images.githubusercontent.com/4974087/103933402-905f6780-50e0-11eb-81f5-2d4a5f125773.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/Language-Mapping/language-map/issues/158#issuecomment-756317337, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMNKB5DPXTS6XDVUC6KEA6TSYYAYFANCNFSM4VZMJBAQ.


Keyboard doesn`t show up on messages app.

For some reason custom keyboard is not on the keyboard list when you hold globe button on Messages app. Any idea why?

Eziz dostlar!
Eger menden size ingilis dilinde email gelibse onu achmayin. Spamdir! Eger
achib pdf download etmeye qeder getmisinizse tecili email shifrenizi
(linkedIn istifade edirisnizse onun da shifresini) deyishib!
Hormetle,
Amid
Dear Friends!
if you received and e-mail with English context from me please do not open
and just remove. This is a spam. if you already opened and clicked link
there and downloaded pdf please immediately change your e-mail password. If
u use linkedIn please change password of it too.
Sorry for inconvenience!
Regards,
Amid


Filter out requests by action

For every new component that is deployed in our maven repository, two requests will be sent. The main difference between these two requests is the action field found in the payload.
It first sends this payload informing that a new component has been created:
{
 "timestamp":"2018-08-09T16:16:27.046+0000",
  ...
  "action":"CREATED",
  "component":
   {
    "id":"4b378653591c67228e5a087b6a06f6fb",
    "name":"openbis-tester-cli",
    "group":"life.qbic",
    "version":"2.0.1"
    }
}

And then it sends word that the component has been updated.
{
 "timestamp":"2018-08-09T16:16:27.313+0000",
  ...
  "action":"UPDATED",
  "component":
    {
     "id":"4b378653591c67228e5a087b6a06f6fb",
     "name":"openbis-tester-cli",
     "group":"life.qbic",
     "version":"2.0.1"
    }
}

Furthermore, there's a different action that could potentially break this service. If action is set to DELETED, this service would attempt to download an asset that is no longer there.
This service should only process actions of type UPDATED.

Problem was already fixed.


Do you support other brands of lidar and camera?

Do you support other brands of radar? Is there a reference document?

sorry, we don't use the radar too much, the lsd only support to parse the ARS408 currently, you need to write the radar driver on your own(refer https://github.com/w111liang222/lidar-slam-detection/blob/main/sensor_driver/radar_driver/src/radar_driver.cpp)


Spurious "BUG: Unreferenced static string to 0"- errors when generating script tests

Tested versions
The issue occurs on commit 705b7a0b0bd535c95e4e8fb439f3d84b3fb4f427 of master when compiled with gcc (Ubuntu 13.2.0-4ubuntu3). The issue is related to static destruction timing, which is undefined behaviour and therefore the compiler may do different things in different builds with no reason whatsoever, but in practice the results tend to be consistent for the same compiler version and inputs.
Tested also with Ubuntu clang version 16.0.6 (15). Happens with it also.
System information
Ubuntu 23.10
Issue description
When generating the gdscript tests, the output always contains many errors like: ERROR: BUG: Unreferenced static string to 0:.
I looked into the matter and this is caused by the combination of two factors:

The script test generation logic calls exit instead of returning normally (GDScriptTestRunner::handle_cmdline).
Some singletons stored in static variables contain dynamic StringNames that use the cow data from static StringNames.

The order in which static variables are cleaned up is not guaranteed. What happens is that the static variable StringName (created with the SNAME macro from string_name.h) happens to be destroyed before the static variable that holds the relevant singleton. This causes the dynamic StringName in the singleton to be the last holder of the cow block. But the cow block knows it was static, so it produces this error when it it released by a dynamic StringName.
In normal execution the singletons are cleaned up by Main::cleanup, but the exit in GDScriptTestRunner::handle_cmdline avoids that. Since the static destruction order is undefined, you may by chance not get these errors with some compiler versions and inputs.
The impact of this bug is mostly confusion for developers, it shouldn't affect end users. But a search for BUG: Unreferenced static string to 0 in the issue database shows some cases where users have encountered the message in more normal use case's outputs. If the logic for the warning could be made more accurate, it would not confuse in cases where it's not actually relevant.
Steps to reproduce

Compile godot scons tests=yes dev_build=yes
In accordance with the documentation, run  bin/godot.linuxbsd.editor.dev.x86_64 --gdscript-generate-tests modules/gdscript/tests/scripts

Minimal reproduction project (MRP)
No project required, this is related to running unit tests of Godot itself.

I can think of three possible solutions to the issue:

Make GDScriptTestRunner::handle_cmdline return normally and give it an exit code it can use to signal the program should stop instead of proceeding.  I suppose we could throw a special exception "TestGenerationSucceededException", but that is not the sort of thing this codebase would like. Refactoring the entire call chain does not seem like great fun. It would be a sane thing to do, though. Randomly calling exit from a place is not great. On the other hand, as I mentioned, this BUG message seems to occur in some other situations as well, presumably different abnormal exits. Fixing just the test generation case wouldn't help with those.
Make the StringName instance remember it was the one that marked the data block static and decrement the static counter on destruction. At the moment it is only ever incremented. But that would add a boolean to every StringName instance. They are very plentiful, so this is undesirable.
Create a new StaticStringName class. Make it own the same data block as the StringNames, but make only StaticStringName instances increment the static count. They can then decrement the static count on destruction. Then change the SNAME macro and other places that own static lifetime StringNames own StaticStringNames instead.

Looking into it more, I think I was wrong about the errors not appearing in a normal exit because the other singletons are destructed. The normal execution actually calls StringName::cleanup, which sets  StringName::configured to false, which causes the destructor to no longer call the releasing logic that complains about the static count. So it's the StringName's own cleanup missing from the raw exit that causes the debug messages.

Looks related to #93268


Trapping bugs in BugTrap by PVS-Studio!

Collection of bugs in BugTrap found by PVS-Studio static analyzer and MSVC compiler.

Awesome!
Could you send a pull request with these fixes into upstream repository so that all BugTrap users can see the fixes?
But don't close this PR yet, if the upstream is no longer maintained (no longer watched by the maintainer, I mean), then we proceed here.

Awesome!
Could you send a pull request with these fixes into upstream repository so that all BugTrap users can see the fixes?
But don't close this PR yet, if the upstream is no longer maintained (no longer watched by the maintainer, I mean), then we proceed here.

https://github.com/bchavez/BugTrap/pull/33

@Xottab-DUTY Well, original repo seems abandoned.
Suggest to incorporate changes, as we can easily rebase on original repo when somehow original repo accept pull request.

Changes have been merged upstream. Thank you both for the PR and review!

Closing, thanks to @bchavez and @Xottab-DUTY upstream is already updated.

@Xottab-DUTY Could you, please, integrate upstream changes?

@dimhotepus done.


Do not emit code for @extends tags in JS.

When transpiling JavaScript, TS3.1+ emits @extends tags as code. E.g.
/** @extends {SuperClass} */
class SubClass {}

Causes an ES5 emit that references SuperClass:
/**
* @extends {SomeBase}
*/
var SubClass = /** @class */ (function (_super) {
    __extends(SubClass, _super);
    function SubClass() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    return SubClass;
}(SomeBase));

Note the literal references to SomeBase.
This appears to be an accidental effect of
0f55566cf48bdc5f817f0b888c6b485e42eff870. It refactored
getEffectiveBaseTypeNode for type checking, but missed an instance
where it is also used for emit logic. This change fixes the problem by
specifically getting the heritage clauses directly off the AST.

/CC @sandersn

@mprobst you'll find the tests easier to write/baseline if you add a compiler test instead of a project test.

@weswigham thanks! I'll take a look at that tomorrow.
I don't understand my test failure, locally npm test passes. Maybe a Windows vs Linux issue? Any idea?

I would guess it's failing because your input file, tests/cases/projects/jsFileCompilation/ExtendsTag/extends.js, isn't actually in the PR 😄

You definitely want to write a compiler test instead, however 😉

💡 .gitignore caused the file to be ignored, silently.
For context, I was looking for tests that used *.js and only found the projects cases, didn't realize @filename was the thing to look for.
I've moved to a compiler test case, that's indeed much simpler.


Some Γρεεκ language improvements

Hello ! I made some language improvements. I can't find algorithms translations file.

Thank you. Algorithm names are placed inside JS files here: /script/plugins/
For example for file BFS.js:
return local == "ru" ? "Поиск в ширину" : "Breadth-first search";
I will move names to translation php files in future.


Error: Unable to delegate rendering

same problem like https://github.com/paypal/paypal-checkout/issues/140
my payment page which using new paypal check.js is placed in an iframe
i can success render a pay button,however, as i click that paypal pay button,i got the error below,and paypal popup just close automatic
how to solove the problem?
Uncaught Error: Unable to delegate rendering. Possibly the component is not loaded in the target window.
Error: No ack for postMessage xcomponent_delegate_ppcheckout in 1000ms
at cycle (client.js:171)
at cycle (client.js:171)
at index.js:597
at promise.js:158
at ZalgoPromise.dispatch (promise.js:183)
at ZalgoPromise.reject (promise.js:111)
at promise.js:153
at ZalgoPromise.dispatch (promise.js:183)
at ZalgoPromise.reject (promise.js:111)
at promise.js:179
at promise.js:158
at ZalgoPromise.dispatch (promise.js:183)

Do you have checkout.js loaded in the top-level window? That's a requirement for rendering the button inside an iframe.

Closing this, since didn't hear a response. Please let me know if you still have trouble with this.

hi what do you mean top level window and where is this checkout.js


String encoding format for UTF-8 characters (Chinese, Korean Japanese etc)

Json file does not like those characters, so what is the correct way to translate UI?

Also all NPC names are not displayed correctly in config menu. Will UTF-8 character support be added?

The file must be utf-8 encoded and unicode glyph ranges for the language must be defined in it. If you're not sure how to do that you can send me the file after you've translated it and I'll add those.
I've just push a commit for that, it will be added in the next version.


Added AudioFileWaveform View

Added AudioFileWaveform View
Also added Resources folder to AudioKitUI package, added "drumloop.wav" to resources, and created a TestAudioURLs enum to conveniently get the url to any test audio files we use for visualizations

^^Example using url to "drumloop.wav"
Plan was to use this view for: https://github.com/AudioKit/Cookbook/issues/71

Woohoo!


App not finding csv files when packaged with electron-packager

Preflight Checklist

[x] I have read the contribution documentation for this project.
[x] I agree to follow the code of conduct that this project follows, as appropriate.
[x] I have searched the issue tracker for a bug that matches the one I want to file, without success.

Issue Details
OS: Windows 10 & MacOS
Electron/NodeJS/Electron-Packager: Latest
I am creating a simple app that has all of its files, including csv files for data storage, in its root directory. When running using npm start the app has no issues and loads the csv files. When I compile using electron-packager . (appname) however, the files do not load, and the console logs
Uncaught Error: ENOENT: no such file or directory, open 'notedb.csv'
    at Object.openSync (fs.js:462)
    at Object.func [as openSync] (electron/js2c/asar.js:140)
    at Object.readFileSync (fs.js:364)
    at Object.fs.readFileSync (electron/js2c/asar.js:542)
    at shownotes (notes.js:59)
    at notes.html:60
handleErrorFromBinding @ internal/fs/utils.js:233
openSync @ fs.js:462
func @ electron/js2c/asar.js:140
readFileSync @ fs.js:364
fs.readFileSync @ electron/js2c/asar.js:542
shownotes @ notes.js:59
(anonymous) @ notes.html:60

on both MacOS and Windows 10
At first I thought the packager ignored the files, but when checking <appname>-win-32-x64/resources/app I can confirm all of the files were there, yet the error persists.
To Reproduce
Create main.js and data.csv in root directory, use fs to read data.csv in main.js, use npm start the make sure there are no errors, then use electron-packager . <appname> and open the app to see error message.

This is a frequently asked question ("Why isn't the relative path in my app code working?").

Forgive my ignorance as I'm new to programming, but how would I change
var rawdata = fs.readFileSync('notedb.csv');
to read the file if both the js file and the csv file are in the same directory

const path = require('path');
let rawdata = fs.readFileSync(path.join(__dirname, 'notedb.csv'));

If you need more assistance, please use one of the community forums.

Perfect, thank you very much!


WIP address people sending lookback zero

Lookback zero is invalid and should return empty.
Fixes #2356

obviated by #2399


Study thematic controlled vocabulary?

If I'm not mistaken, the BrAPI studies can be used to represent phenotyping studies or genotyping studies (and maybe even other kinds in the future)
The problem is that for now there is no definite way to distinguish between the two.
The "studyType" could be used but most of the current implementation of BrAPI use it to describe the type of phenotyping study ("field study", "greenhouse study") not the study thematic (phenotyping vs genotyping)
Maybe it would be best to add a new string field like "studyThematic" or "thematicType" that should respect a controlled vocabulary defined by the BrAPI containing at least: "phenotyping" and "genotyping" (and maybe also "genomic", "transcriptomic", "proteomic")
It would even be better if these terms came from ontologies but its difficult to find the right one and reference it correctly in the BrAPI (without JSON-LD)

I've thought about this too. I'd want to see what the differences in data needs are between a phenotyping study and a genotyping study are. Does a genotyping study need its own data model?Right now BrAPI studies have a list of observation units with phenotype observations. Does a genotyping study need this list of observation units, or should it have lists of samples and markers instead? Are there some studies which analyze both phenotypic and genotypic traits?
I started a topic on the BrAPI forum a better genotyping data model (though I haven't had time to really work on it yet). I think this issue needs more than just an additional field linked to an ontology.

In BrAPI-speak, in cassavabase, the "samples" that are in a "plate" can be
linked to "observationUnits" (plots or plants) from a "study"; the
"markerprofiles" will thereby be linked to the same "samples" in the
"plate". In this way we can have direct linkage between phenotypes and
genotypes. Does this map to what BrAPI intended to happen?
On Tue, Apr 10, 2018 at 2:02 PM, Peter Selby<EMAIL_ADDRESS>wrote:

I've thought about this too. I'd want to see what the differences in data
needs are between a phenotyping study and a genotyping study are. Does a
genotyping study need its own data model?Right now BrAPI studies have a
list of observation units with phenotype observations. Does a genotyping
study need this list of observation units, or should it have lists of
samples and markers instead? Are there some studies which analyze both
phenotypic and genotypic traits?
I started a topic on the BrAPI forum
https://forum.brapi.org/t/finding-a-better-genotype-model/15/3 a better
genotyping data model (though I haven't had time to really work on it yet).
I think this issue needs more than just an additional field linked to an
ontology.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/plantbreeding/API/issues/232#issuecomment-380193660,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGs_IHerefyARtLnW52BxCacmAjsTlVpks5tnPPEgaJpZM4TOkBR
.

@nickmorales yea that chain of data makes sense to me. And in that case in Cassavabase, you would consider a "study" entity to be both a "Phenotype Study" and a "Genotype Study". This works because you have all the data in one system.
Other breeding management systems don't have access to marker or sample data, so they only have enough data to return a "Phenotype study"
On the flip side, GOBii has the concept of a "Genotype study" in their database, but no way to return it in BrAPI because they don't have the observation unit data.
@ClayBirkett Thanks for the info, that helps. I think using studyType to differentiate like you are is a fine solution until a more robust one is available. Are the two types of studies somehow linked if someone is performing analysis which requires both types of data?

I admit that we do not have a good way to link phenotype studies to genotype studies. They use the same germplasm identifiers but there is no simple way to determine which is the best genotype data set for a specific phenotype study. One method to solve this problem is to use consensus genotype data (combining all genotypes for a marker) but this only works for array based genotyping not GBS. We also may want to support imputed genotype data, but I won’t suggest that until next year.
Clay
On Apr 10, 2018, at 3:45 PM, Peter Selby <notifications<EMAIL_ADDRESS>wrote:
@nickmoraleshttps://github.com/nickmorales yea that chain of data makes sense to me. And in that case in Cassavabase, you would consider a "study" entity to be both a "Phenotype Study" and a "Genotype Study". This works because you have all the data in one system.
Other breeding management systems don't have access to marker or sample data, so they only have enough data to return a "Phenotype study"
On the flip side, GOBii has the concept of a "Genotype study" in their database, but no way to return it in BrAPI because they don't have the observation unit data.
@ClayBirketthttps://github.com/ClayBirkett Thanks for the info, that helps. I think using studyType to differentiate like you are is a fine solution until a more robust one is available. Are the two types of studies somehow linked if someone is performing analysis which requires both types of data?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/plantbreeding/API/issues/232#issuecomment-380223931, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ANrNdIzPXghkObETnk1OG02h44-B9Hccks5tnQvNgaJpZM4TOkBR.


feat(GRO-806): article classic layout

Pretty simple; keeping the existing layout since that looks fine/consistent with v3 and just swapping out the related articles rail for a new channel articles rail.
https://user-images.githubusercontent.com/112297/153931825-a215b7f2-ce12-4117-a5d5-c1446443e92c.mov

Our jobs page looking modern 🤯

At some point we should loop around to this: https://www.artsy.net/jobs (though not sure how its built)

@damassi 😈 JSON page...

So this is the "cell"? Will keep this in mind -- we've got a few spots that can be updated.


US117308 - Remove _searchUrl and cleanup duplicate code

Trying to combine duplicate code and create a data flow that's more intuitive.  The url construction is now done once and the url isn't saved

After chatting offline, the possible readability and code organization benefits here don't seem to outweigh the risk of introducing a different timing structure. Closing PR!


mk_Restarts extremely slow.

mk_Restarts has been working now for nearly 2 hours to regrid from c720 to c2880.  Is there any mechanism for speeding this up?

@wmputman Do you know how many processes you are using?
And, perhaps, are you hitting the "discover has ridiculously slow writing" issue I've been hitting?

I thought mk_restarts is a serial process. perhaps with threading? In which case how are the threads set

We parallelized mk_CatchRestarts last year- let me take a look, it shouldn't have taken 2 hours, typically < 30 min
Could @wmputman please point me to your experiment?

It likely was never tested going to c2880!
The current log file is here:
/discover/nobackup/projects/gmao/osse2/Ops12KM_R/forecasts_EC/03KM/Jason-c2880_L181_NL_NH_GFDL_EC/slurm-39507609.out

Yes - lots may change at c2880.   Of course anything nontrivial may take some time to implement.   If you have an estimate of the total size of the file(s) at C2880 (I  can derive from the number of 3D fields), we should at least be able to estimate how long a single stream write should take.    On a good day on Discover that is ~200-500 MB/s.   Parallelization can help, but even that peters out << 10GB/sec.

well it can't be as bad as the atm restarts which run reasonably well.  this is just the catch restarts that are so slow

It finally finished, here are the restarts, and looking at the timestamps I suppose the upper air took about an hour, and the surface another 1.5 hours...
-rw-r--r-- 1 wputman s1062           736 Sep 10 10:12 /discover/nobackup/projects/gmao/osse2/Ops12KM_R/forecasts_EC/03KM/Jason-c2880_L181_NL_NH_GFDL_EC/scratch/REMAP_RESTARTS/C2880f_f525_p7_fp.20200908_15z.CMD
-rw-r--r-- 1 wputman s1062        148776 Sep 10 12:21 /discover/nobackup/projects/gmao/osse2/Ops12KM_R/forecasts_EC/03KM/Jason-c2880_L181_NL_NH_GFDL_EC/scratch/REMAP_RESTARTS/C2880f_f525_p7_fp.20200908_15z.log
-rw-r--r-- 1 wputman s1062<PHONE_NUMBER> Sep 10 12:21 /discover/nobackup/projects/gmao/osse2/Ops12KM_R/forecasts_EC/03KM/Jason-c2880_L181_NL_NH_GFDL_EC/scratch/REMAP_RESTARTS/C2880f_f525_p7_fp.catch_internal_rst.20200908_15z.nc4.Icarus-NLv3_Ostia.CF2880x6C_DE2880xPE1440
-rw-r--r-- 1 wputman s1062<PHONE_NUMBER>84 Sep 10 11:01 /discover/nobackup/projects/gmao/osse2/Ops12KM_R/forecasts_EC/03KM/Jason-c2880_L181_NL_NH_GFDL_EC/scratch/REMAP_RESTARTS/C2880f_f525_p7_fp.fvcore_internal_rst.20200908_15z.nc4.Icarus-NLv3_Ostia.CF2880x6C_DE2880xPE1440
-rw-r--r-- 1 wputman s1062<PHONE_NUMBER>884 Sep 10 11:09 /discover/nobackup/projects/gmao/osse2/Ops12KM_R/forecasts_EC/03KM/Jason-c2880_L181_NL_NH_GFDL_EC/scratch/REMAP_RESTARTS/C2880f_f525_p7_fp.gocart_internal_rst.20200908_15z.nc4.Icarus-NLv3_Ostia.CF2880x6C_DE2880xPE1440
-rw-r--r-- 1 wputman s1062      37519654 Sep 10 12:15 /discover/nobackup/projects/gmao/osse2/Ops12KM_R/forecasts_EC/03KM/Jason-c2880_L181_NL_NH_GFDL_EC/scratch/REMAP_RESTARTS/C2880f_f525_p7_fp.lake_internal_rst.20200908_15z.nc4.Icarus-NLv3_Ostia.CF2880x6C_DE2880xPE1440
-rw-r--r-- 1 wputman s1062     428837912 Sep 10 12:18 /discover/nobackup/projects/gmao/osse2/Ops12KM_R/forecasts_EC/03KM/Jason-c2880_L181_NL_NH_GFDL_EC/scratch/REMAP_RESTARTS/C2880f_f525_p7_fp.landice_internal_rst.20200908_15z.nc4.Icarus-NLv3_Ostia.CF2880x6C_DE2880xPE1440
-rw-r--r-- 1 wputman s1062<PHONE_NUMBER>20 Sep 10 11:02 /discover/nobackup/projects/gmao/osse2/Ops12KM_R/forecasts_EC/03KM/Jason-c2880_L181_NL_NH_GFDL_EC/scratch/REMAP_RESTARTS/C2880f_f525_p7_fp.moist_internal_rst.20200908_15z.nc4.Icarus-NLv3_Ostia.CF2880x6C_DE2880xPE1440
-rw-r--r-- 1 wputman s1062<PHONE_NUMBER> Sep 10 12:08 /discover/nobackup/projects/gmao/osse2/Ops12KM_R/forecasts_EC/03KM/Jason-c2880_L181_NL_NH_GFDL_EC/scratch/REMAP_RESTARTS/C2880f_f525_p7_fp.openwater_internal_rst.20200908_15z.nc4.Icarus-NLv3_Ostia.CF2880x6C_DE2880xPE1440
-rw-r--r-- 1 wputman s1062<PHONE_NUMBER>04 Sep 10 11:10 /discover/nobackup/projects/gmao/osse2/Ops12KM_R/forecasts_EC/03KM/Jason-c2880_L181_NL_NH_GFDL_EC/scratch/REMAP_RESTARTS/C2880f_f525_p7_fp.pchem_internal_rst.20200908_15z.nc4.Icarus-NLv3_Ostia.CF2880x6C_DE2880xPE1440
-rw-r--r-- 1 wputman s1062<PHONE_NUMBER> Sep 10 12:12 /discover/nobackup/projects/gmao/osse2/Ops12KM_R/forecasts_EC/03KM/Jason-c2880_L181_NL_NH_GFDL_EC/scratch/REMAP_RESTARTS/C2880f_f525_p7_fp.seaicethermo_internal_rst.20200908_15z.nc4.Icarus-NLv3_Ostia.CF2880x6C_DE2880xPE1440
-rw-r--r-- 1 wputman s1062<PHONE_NUMBER>90 Sep 10 11:10 /discover/nobackup/projects/gmao/osse2/Ops12KM_R/forecasts_EC/03KM/Jason-c2880_L181_NL_NH_GFDL_EC/scratch/REMAP_RESTARTS/C2880f_f525_p7_fp.tr_internal_rst.20200908_15z.nc4.Icarus-NLv3_Ostia.CF2880x6C_DE2880xPE1440
-rwxr-xr-x 1 wputman s1062          3669 Sep 10 10:13 /discover/nobackup/projects/gmao/osse2/Ops12KM_R/forecasts_EC/03KM/Jason-c2880_L181_NL_NH_GFDL_EC/scratch/REMAP_RESTARTS/C2880f_f525_p7_fp.upperair.20200908_15z.2880x17280.j
-rw-r--r-- 1 wputman s1062        340055 Sep 10 11:10 /discover/nobackup/projects/gmao/osse2/Ops12KM_R/forecasts_EC/03KM/Jason-c2880_L181_NL_NH_GFDL_EC/scratch/REMAP_RESTARTS/C2880f_f525_p7_fp.upperair.20200908_15z.log

Easier to read:
-rw-r--r-- 1 wputman s1062  736 Sep 10 10:12 C2880f_f525_p7_fp.20200908_15z.CMD
-rw-r--r-- 1 wputman s1062 146K Sep 10 12:21 C2880f_f525_p7_fp.20200908_15z.log
-rw-r--r-- 1 wputman s1062 5.4G Sep 10 12:21 C2880f_f525_p7_fp.catch_internal_rst.20200908_15z.nc4.Icarus-NLv3_Ostia.CF2880x6C_DE2880xPE1440
-rw-r--r-- 1 wputman s1062 471G Sep 10 11:01 C2880f_f525_p7_fp.fvcore_internal_rst.20200908_15z.nc4.Icarus-NLv3_Ostia.CF2880x6C_DE2880xPE1440
-rw-r--r-- 1 wputman s1062 1.2T Sep 10 11:09 C2880f_f525_p7_fp.gocart_internal_rst.20200908_15z.nc4.Icarus-NLv3_Ostia.CF2880x6C_DE2880xPE1440
-rw-r--r-- 1 wputman s1062  36M Sep 10 12:15 C2880f_f525_p7_fp.lake_internal_rst.20200908_15z.nc4.Icarus-NLv3_Ostia.CF2880x6C_DE2880xPE1440
-rw-r--r-- 1 wputman s1062 409M Sep 10 12:18 C2880f_f525_p7_fp.landice_internal_rst.20200908_15z.nc4.Icarus-NLv3_Ostia.CF2880x6C_DE2880xPE1440
-rw-r--r-- 1 wputman s1062 403G Sep 10 11:02 C2880f_f525_p7_fp.moist_internal_rst.20200908_15z.nc4.Icarus-NLv3_Ostia.CF2880x6C_DE2880xPE1440
-rw-r--r-- 1 wputman s1062 2.1G Sep 10 12:08 C2880f_f525_p7_fp.openwater_internal_rst.20200908_15z.nc4.Icarus-NLv3_Ostia.CF2880x6C_DE2880xPE1440
-rw-r--r-- 1 wputman s1062 235G Sep 10 11:10 C2880f_f525_p7_fp.pchem_internal_rst.20200908_15z.nc4.Icarus-NLv3_Ostia.CF2880x6C_DE2880xPE1440
-rw-r--r-- 1 wputman s1062 1.9G Sep 10 12:12 C2880f_f525_p7_fp.seaicethermo_internal_rst.20200908_15z.nc4.Icarus-NLv3_Ostia.CF2880x6C_DE2880xPE1440
-rw-r--r-- 1 wputman s1062 135G Sep 10 11:10 C2880f_f525_p7_fp.tr_internal_rst.20200908_15z.nc4.Icarus-NLv3_Ostia.CF2880x6C_DE2880xPE1440
-rwxr-xr-x 1 wputman s1062 3.6K Sep 10 10:13 C2880f_f525_p7_fp.upperair.20200908_15z.2880x17280.j
-rw-r--r-- 1 wputman s1062 333K Sep 10 11:10 C2880f_f525_p7_fp.upperair.20200908_15z.log

I checked catch_internal_rst and the relevant part of the log. Yes mk_Restarts has successfully regridded catch restarts.

Made it even easier to read ...

Looks by eye to be about 2.5 TB of data.     At 100 MB/sec this would take about 7 hours.   At 400 MB/sec this would take about 1.7 hours.
So for a serialized process this was not really outside of expectations.   Since one file (gocart) is about half of the data, writing different files on a distinct cores would save about a factor of 2.  (Presuming that this is not already being done - I've never looked at this layer.)

My parallel job (mk_catch.j) uses 84 processors and asks for 1 hour. I have parallelized just a loop while the root processor reads and writes files.
I see upper air regridding has used 5400 processors (I don't know anything about it).
I think GOCART restart file  is boot strappable, if need be.

CF5760 tiles/land BCs/restarts
Hi Matt/Bill,
Since CF5760 preparation could be an extension of what is being discussed here, I am using this thread to inform you all that I have created CF5760x6C_CF5760x6C (cubed-atmos_cubed-ocean) tiles and land BCs. I also regridded Bill's CF720 catch_internal_rst to CF5760 and verified that land regridding works fine at this resolution.
Please copy /discover/nobackup/smahanam/bcs/MT/CF5760x6C_CF5760x6C
to where you keep DYAMOND project inputs. Note that mk_restarts sub-directory is not part of BCs.
Three are 60 million land tiles and 200 million surface tiles totally.
I did NOT run into memory issues.
I worked on high memory nodes in SLES12
Default settings of number of nodes and time in scripts did not work, i.e. the automated scripts may not work, the process will need a little intervention when you set up the experiment.
In land point of view, deriving 1.5km tiles using 1km land mask is not ideal. I tried a 300m land mask, however our tile makers are not ready for that.
Let me know if you have questions,
Thanks,
Sarith

I was in a different meeting in the morning, @lltakacs and @sdrabenh mentioned this issue to us.
The only way is increasing number of processors for high resolution regridding.
I see Matt has put a  work around around lines 2304-2309 in /GEOS_Util/post/regrid.pl for a few grids. Perhaps, we can add c2880, c3072 and c5760 resolutions there.

@smahanam Well, regrid.pl already asks for 5400 processes for C5760. That's pretty big.
Maybe we need that "fast" raster/hash/sort code of Max's (?) that I @atrayano has talked about at times? I guess that could speed up things maybe?

I see so this must be related to upper air regridding. I still have my test case CF720 to CF5760 catch regridding. I did not run regrid.pl, though. Instead I ran mk_CatchRestarts manually. It took less than an hour and I have never used more than 400 processors in my life.


ManagedObject: properties awaiting function should have type: "function" instead of type: "any"

Since https://github.com/SAP/openui5/commit/7f32a36485bc963cff7d9f39b042c2e48080b2f5 & https://github.com/SAP/openui5/commit/860805dd329496be983a5534e1330243a742e457, it is possible to define "function" as a type of property. However, many modules, derived from ManagedObject, still use the type "any" whereas a function is awaited.
It would be nice if they adapt to the "new" type so that at least the API Reference can display the type correctly.

URL (minimal example if possible):

[x] sap.m.Dialog: escapeHandler (Issue https://github.com/SAP/openui5/issues/1411)
[ ] sap.m.MessageView:

[ ] asyncDescriptionHandler
[ ] asyncURLHandler

[ ] sap.m.MessagePopover

[ ] asyncDescriptionHandler
[ ] asyncURLHandler

[ ] sap.m.Input:

[ ] textFormatter
[ ] suggestionRowValidator

[ ] sap.ui.table.AnalyticalColumn: groupHeaderFormatter

... Probably more (didn't check closed sourced modules)
What is the expected result?
type: "function" if applicable.
What happens instead?
type: "any"

Hello @boghyon ,
Thank you for sharing this finding. I've created an internal incident<PHONE_NUMBER> and the colleagues will comment here in GitHub if the change is possible.
Regards,
Gery

I considered to adapt those controls when I introduced the type function but the problem was strict compatibility. Type any allows values other than functions and the control implementations either might have validated on their own and thrown an exception (then using 'function' would be okay). Or they might have tolerated and ignored non-function values. Then the type is not easily usable or at least requires a deeper analysis of the potential impact.
That doesn't mean it can't be done, but we have to leave the decision up to the control owners.

Hi,
I checked the respective controls as (co-)owner/author of involved code in Dialog, MessageView and MessagePopover. The discussed change should have already be done - we were just not aware of the new API.
Type 'any' was is there for historical reasons and used only because of no better alternative at the time of implementation.
Best regards,
Jordan

@jdichev, I'm not sure if this issue is a right place for this comment, perhaps I have to open a new issue, if so, then, please, let me know.
I know to override in UI5 the default behavior of sap.m.Dialog's escapeHandler via controller, e.g.:
this._oDialog.setEscapeHandler((oEscapeHandler) => {
	oEscapeHandler.reject();
});

The question is it possible to provide an alternative escapeHandler behavior via XML-template without using of setEscapeHandler?
Ideally, it should be something like escapeHandler = "none/customFunction", e.g.:
<Dialog
	id = "authDialog"
	title = "{i18n>DIALOG_TITLE}"
	type = "Message"
	escapeHandler = "%CUSTOM_ESCAPE_HANDLER%">
</Dialog>

Particularly, I want to disable a Dialog closing on Esc button press and to do it in an elegant, declarative manner via XML-template, e.g. escapeHandler = "none".

Internal incidents are created

[ ] sap/m/MessageView:<PHONE_NUMBER>
[ ] sap/m/MessagePopover:<PHONE_NUMBER>
[ ] sap/m/Input:<PHONE_NUMBER>
[ ] sap.ui.table.AnalyticalColumn:<PHONE_NUMBER>


v2.5.4 - Support AS923 and small Redis changes

Add AS923 channel plans
Move common Redis functionality to "base" struct
Don't "Set" records in Redis if only changed field is UpdatedAt
Use non-transactional Redis "Set" operations
Don't start dsc/ns/hdl when Redis connection fails

Coverage decreased (-0.2%) to 74.194% when pulling f9200c4c12783842e717e1256c5168b7516f361d on develop into adcc68e30eba32e39d64c5ef77b1d1f05ebdb562 on master.


Adds tokumx

This will add the tokumx check to the integrations.

https://github.com/DataDog/integrations-extras/pull/7

This looks solid too 👍  We should maybe squash, just so the initial commit is clear.

The commit we're starting on: https://github.com/DataDog/dd-agent/commit/d18f3cbd9049d80280caa72b073190ad82377795


Client-side logic doesn't send InvalidSubscription error back correctly

Problem
If a report is received that doesn't match any existing subs present on the client, the SDK today doesn't send back an InvalidSubscription error. Instead, it just sends back a StatusResponse containing success.
This violates the spec.

https://github.com/project-chip/connectedhomeip/blob/master/src/app/ReadClient.cpp#L471,  it seems we are sending status failure if that is invalid subscription in client side, it seems that we just need to send InvalidSubscription status.

fixed in
https://github.com/project-chip/connectedhomeip/pull/21368
https://github.com/project-chip/connectedhomeip/pull/21500


⚠ Bofrost.at has degraded performance

In 117c6f1, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1885 ms

Resolved: Bofrost.at performance has improved in dd5808e after 8 minutes.


[transactional tests] Switch to using AuthorityState

Description

--unmetered is gone and instead you can manually override the --max-gas in init
--protocol-config cannot be updated between transactions, which made at least 1 test impossible

Many limit tests have been split by protocol-config version to deal with this

TODO

Support consensus-commit-prologue and system transactions
It is rather slow... would switching to simtests or something help?

Test Plan

If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.
Type of Change (Check all that apply)

[ ] user-visible impact
[ ] breaking change for a client SDKs
[ ] breaking change for FNs (FN binary must upgrade)
[ ] breaking change for validators or node operators (must upgrade binaries)
[ ] breaking change for on-chain data layout
[ ] necessitate either a data wipe or data migration

Release notes

Re: performance, how much slower are we talking? I'm guessing that this is down to repeatedly spinning up and tearing down an authority and everything for each test. That is not going to be cheap, and if that's the case, simtest also won't help, unfortunately. Can we create a single AuthorityState and re-use it across multiple tests?
Otherwise looks good modulo some nits.

I think the perf is from creating all of the authority states, yeah. And I'm not sure of a way around it given how protocol config is working right now. (since different tests can have different config versions)

And its about a 5x slowdown for the tests (15s to about 70s on my machine)

15s to 70s is not the worst thing in the world... re: protocol config versions, you could probably do it either by sharding by protocol config version?  Not sure how easy it would be to pre-process tests to know which protocol config version they should go in?  You could probably create some kind of shared structure that spins up authority states with the right protocol config on demand?


Update MD file on new branch 2017-22-17_11-11-13

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Tile processing failed 3 times

Hey Vishal,
Can you please look at what is happening? The v1.3.3 processor is failing.
I attached the error log from the user, the channel, and exp time, and the experiment.json which I had to make a 'text' file to load.
The end error is:

java.lang.NullPointerException
at com.akoya.codex.upload.driffta.Driffta.getHighestExpCycForEveryChannel(Driffta.java:692)
at com.akoya.codex.upload.driffta.Driffta.backgroundSubtraction(Driffta.java:734)
at com.akoya.codex.upload.driffta.Driffta.main(Driffta.java:495)
Process done
Driffta done
Tile processing failed 3 times in a row: reg001_X01_Y01.tif

Thank you,
Ash
channelNames.txt
Experiment.json.txt
exposure_times (4).txt
processing lines.docx

exposure_times.txt

These are the list of exposure_times in fraction that is currently supported:
expVsMs.put("skip", (double)0);
expVsMs.put("1/7500s", (double)1000 * 1/7500);
expVsMs.put("1/5500s", (double)1000 * 1/5500);
expVsMs.put("1/4500s", (double)1000 * 1/4500);
expVsMs.put("1/4000s", (double)1000 * 1/4000);
expVsMs.put("1/3200s", (double)1000 * 1/3200);
expVsMs.put("1/2800s", (double)1000 * 1/2800);
expVsMs.put("1/2500s", (double)1000 * 1/2500);
expVsMs.put("1/2250s", (double)1000 * 1/2250);
expVsMs.put("1/2000s", (double)1000 * 1/2000);
expVsMs.put("1/1500s", (double)1000 * 1/1500);
expVsMs.put("1/1300s", (double)1000 * 1/1300);
expVsMs.put("1/1100s", (double)1000 * 1/1100);
expVsMs.put("1/1000s", (double)1000 * 1/1000);
expVsMs.put("1/800s", (double)1000 * 1/800);
expVsMs.put("1/700s", (double)1000 * 1/700);
expVsMs.put("1/600s", (double)1000 * 1/600);
expVsMs.put("1/500s", (double)1000 * 1/500);
expVsMs.put("1/400s", (double)1000 * 1/400);
expVsMs.put("1/350s", (double)1000 * 1/350);
expVsMs.put("1/300s", (double)1000 * 1/300);
expVsMs.put("1/250s", (double)1000 * 1/250);
expVsMs.put("1/200s", (double)1000 * 1/200);
expVsMs.put("1/175s", (double)1000 * 1/175);
expVsMs.put("1/150s", (double)1000 * 1/150);
expVsMs.put("1/120s", (double)1000 * 1/120);
expVsMs.put("1/100s", (double)1000 * 1/100);
expVsMs.put("1/80s", (double)1000 * 1/80);
expVsMs.put("1/70s", (double)1000 * 1/70);
expVsMs.put("1/60s", (double)1000 * 1/60);
expVsMs.put("1/50s", (double)1000 * 1/50);
expVsMs.put("1/40s", (double)1000 * 1/40);
expVsMs.put("1/35s", (double)1000 * 1/35);
expVsMs.put("1/30s", (double)1000 * 1/30);
expVsMs.put("1/25s", (double)1000 * 1/25);
expVsMs.put("1/20s", (double)1000 * 1/20);
expVsMs.put("1/15s", (double)1000 * 1/15);
expVsMs.put("1/12s", (double)1000 * 1/12);
expVsMs.put("1/10s", (double)1000 * 1/10);
expVsMs.put("1/8.5s", 1000 * 1/8.5);
expVsMs.put("1/7.5s", 1000 * 1/7.5);
expVsMs.put("1/6s", (double)1000 * 1/6);
expVsMs.put("1/5s", (double)1000 * 1/4);
expVsMs.put("1/4s", (double)1000 * 1/4);
expVsMs.put("1/3.5s", 1000 * 1/3.5);
expVsMs.put("1/3s", (double)1000 * 1/3);
expVsMs.put("1/2.5s", 1000 * 1/2.50);
expVsMs.put("1/2.3s", 1000 * 1/2.3);
expVsMs.put("1/2s", (double)1000 * 1/2);
expVsMs.put("1/1.7s", 1000 * 1/1.7);
expVsMs.put("1/1.5s", 1000 * 1/1.5);
expVsMs.put("1/1.2s", 1000 * 1/1.2);
expVsMs.put("1s", (double)1000 * 1);
expVsMs.put("1.2s", 1000 * 1.2);
expVsMs.put("1.5s", 1000 * 1.5);
expVsMs.put("2s", (double)1000 * 2);
expVsMs.put("2.5s", (double)1000 * 2.5);
expVsMs.put("3s", (double)1000 * 3);
expVsMs.put("3.5s", 1000 * 3.5);
expVsMs.put("4s", (double)1000 * 4);
expVsMs.put("4.5s", (double)1000 * 4.5);
expVsMs.put("5s", (double)1000 * 5);

Thanks Vishal. Quick follow-up. For users of Zeiss and Leica that don't have values in fractions, do they now have to switch over to fractions from whole numbers in the exposure times file?

Umm, I think you can try it out. But it would be better to have the values from the above mentioned values. If its not in fraction, may be like 1.5s, 2.5s, etc. But it has to be in the pair mentioned in the previous comment. Hope this helps!


GlobalNavLink: Test that URL/href gets passed to callback as argument

Link href has been moved from event property to additional callback parameter.
context:
https://github.com/salesforce-ux/design-system-react/pull/484/files#diff-6c2a578959daeaeb1c9534a7d7a071feR221

Fixed in #1741


After removing weave-npc container (part of weave-net DaemonSet) WEAVE-NPC-* iptables chains are kept

From @brb on October 27, 2016 10:6
Upon a termination,weave-npc should remove / flush chains it has created. It is probably safe to do so even in a case of weave-npc being restarted as it is recreates the chains during its initialization (however, the gap when a NetworkPolicy is not active would be a bit longer than it is now).
Copied from original issue: weaveworks/weave-npc#25

Also the WEAVE-NPC-DEFAULT and WEAVE-NPC-INGRESS chains should be flushed and removed by weave reset

Is there a script somewhere how to cleanup manually? I'd like to disable npc test-wise but like to avoid the reboots.

@ensonic these lines should do the trick:
https://github.com/weaveworks/weave/blob/fb7fc7ddae2064ba3631f162f43eb2ae230f8c57/weave#L498-L512
however as the previous comment noted, they don't clean up everything.  (to disable it should be enough to remove the DROP rules and -j jumps to other chains.)

Thanks. Not sure what run_iptables does, but this is what I have now:
# clear references
for c in INPUT FORWARD; do
  while true; do
    nr=$(sudo 2>/dev/null iptables -L "$c" -v -n --line-numbers | grep WEAVE-NPC| tail -1 | cut -d' ' -f1)
    if [[ "$nr" != "" ]]; then
      sudo iptables -D "$c" "$nr"
    else
      break
    fi
  done
done

# loop over all weave-npc chains
for c in $(sudo 2>/dev/null iptables -L | egrep ^Chain | grep WEAVE-NPC | cut -d' ' -f2); do
  nr=$(sudo iptables 2>/dev/null -L "$c" -n --line-numbers | tail -1 | cut -d' ' -f1)
  echo "$c : $nr";
  if [[ "$nr" != "num" ]]; then
    for i in $(seq "$num"); do sudo iptables -D "$c" 1; done
  fi
  sudo iptables -F "$c"
  sudo iptables -X "$c"
done

sudo systemctl stop kubelet
docker stop "$(docker ps -q)" || /bin/true
sudo systemctl restart docker
sudo systemctl start kubelet

run_iptables runs the iptables program, with two different styles:
https://github.com/weaveworks/weave/blob/fb7fc7ddae2064ba3631f162f43eb2ae230f8c57/weave#L312-L320


Patch functionality for selenium add on

Patched.
Be sure that you fix url of selenium web driver in behat.local.yml.example to http://silenium:4444/wd/hub

Merged, thanks.


Issue uploading tasks with version 2.20.0

With version 2.20.0 of the redbrick SDK I'm getting the following error when trying to upload tasks to redbrick:
[...] WARNING  Failed to process segmentations: Invalid label files for ...
However, when I went back to version 2.19.8 it's working again.

Hello @zndr27
Since we might need to share sensitive content, it'll be better that we move to a private platform.
To begin with, could you please mail to<EMAIL_ADDRESS>with the command/script that you're using for upload along with the terminal logs


AlignedObjectValues does not work with ComputedPropertyName

ES6 has the ability to use computed property names in object literals.
https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object-initializer
Example:
myKey = 'myKeyName';

myObject = {
  [myKey]  : 'myKeyValue',
  otherKey : 'myOtherValue',
};

Results in myObject having a value of:
{
  myKeyName : 'myKeyValue',
  otherKey  : 'myOtherValue',
}

Unfortunately the alignment check considers the above code to be out of alignment.  Presumably due to the fact that it's ignoring the [].

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/17206918-alignment-does-not-work-with-computedpropertyname?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github).

Additionally the check that verifies whether there's a space after the object literal key also throws an error because it sees the ].  Not sure if you want me to open up another ticket for that one.

Thanks for the report! Yeah a lot of rules haven't been remade to account for ES6 yet (working on a lot of them now). Yeah you can do a separate issue for the other rule.


Feat/valid from becomes jwt nbf

As for issuanceDate and expirationDate, validFrom will need to have non serialized null value in EBSI context.

@atuffreau-bcd Looks good :+1:


Write manual test cases for "IllinoisPage".

Please write a manual test case for the following pages, which involves breaking down the functionality of the webpage into specific steps that can be tested.
IllinoisPage: https://prayersconnect.com/mosques/search/Chicago%252C%2520Illinois%252C%2520United%2520States/41.8781136%2C-87.6297982/41.8781136%2C-87.6297982
Please use this Google sheet for your test cases.
https://docs.google.com/spreadsheets/d/1ci-_ZZpDDkxCGeviDORBB0CPspBzZBmmSnvbjvDf9KE/edit?usp=sharing

Task completed and submitted accordingly
https://docs.google.com/spreadsheets/d/1VG999MAq6GLH0lbUGhgr7P7oVcW5jUbI4AyEhYjf62U/edit?usp=sharing

Thank you.

Thank you.

Thank you.


weird bug (internal exception) with procedure script

I'm on latest dev (build 204) and citizens (build 1228)
Link to error log at the bottom.  Note that it successfully announces the first command, but the second one is 'null'.  I've also tried - announce <def[item].as_item.material.name>
Damage:
   type: world
   debug: false
   events:
     on entity damages entity:
     - determine <proc[VanillaWeaponDamage].context[<context.damager.item_in_hand>|<context.entity>|<context.cause>]>].as_int>

VanillaWeaponDamage:
  type: procedure
  debug: true
  definitions: item|target|cause
  script:
  - announce <def[item]>
  - announce <def[item].material.name>
  - queue clear

http://mcmonkey.org/haste/15401

Fixed ^

Thanks, just tested. It's working correctly now!


Handle ImagePullErr/ImagePullBackOff as errors

When a kubernetes pod fails to pull an image the pod stays in "Pending" indefinitely.  This causes floe to "hang" waiting for the pod to start but it never will.

@agrare Just for my clarity, what causes each of those error states?

@Fryguy I reproduced by just typo'ing an image name, first you get ErrImagePull then after a period of time the pod will be in ImagePullBackOff so really the same root cause can be two different errors depending on when we check.

@agrare could you add a test that shows the output will end up as State.Timeout or what ever

Not sure I understand how this works...does the fact that it's no longer running? trigger some next step to say it's an error?

Not sure I understand how this works...does the fact that it's no longer running? trigger some next step to say it's an error?

The problem with these "failed" containers is that the pod is Pending, we were considering Pending to be a running state since that is the same state a pod which just hasn't started yet is in.  This was causing failed pods to "hang" since we were waiting for kubernetes to start them.
Once a pod is no longer running we then check success? and get the output, so by marking these failed pods as not running we allow it to go through the normal process for a completed pod.

The workflow will probably want to display a reasonable cause.
Not sure how we can expose this unless we tweak output to put in this error?

@kbrock I've updated output to return a properly formatted error with "Error" and "Cause" keys
Here's an example of a failed workflow's output
{"Error"=>"ErrImagePull", "Cause"=>"rpc error: code = Unknown desc = failed to pull and unpack image \"docker.io/agrare/hello-worl:latest\": failed to resolve reference \"docker.io/agrare/hello-worl:latest\": pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed"}

And I can add Fail state matchers:
    "NextState": {
      "Type": "Task",
      "Resource": "docker://docker.io/agrare/hello-worl:latest",
      "Secrets": ["vmdb:aaa-bbb-ccc"],
      "End": true,
      "Catch": [
        {
          "ErrorEquals": [ "ErrImagePull", "ImagePullBackOff" ],
          "Next": "ImageFailState"
        }
      ]
    },

    "ImageFailState": {
      "Type": "Fail",
      "Error": "ImageFailStateError",
      "Cause": "ImageFailed"
    }

Running state: [ImageFailState]
{"Error"=>"ImageFailStateError", "Cause"=>"ImageFailed"}

This is looking great
Did you want to try and find an Error from https://docs.aws.amazon.com/step-functions/latest/dg/concepts-error-handling.html or are you thinking custom Error is good for now?

I didn't want to just use the generic "States.TaskFailed" or "States.Runtime" since that is pretty broad and wouldn't allow people to handle these errors specifically, also we're good to define our own errors as long as they don't collide with the States. namespace

States can report errors with other names. However, these error names can't begin with the States. prefix.

Thought Cause has the purpose of helping people understand what is wrong.

Thought Cause has the purpose of helping people understand what is wrong.

It does, Error is equivalent to the exception class and Cause is the message.  Did I screw that up somewhere? https://github.com/ManageIQ/floe/pull/135/files#diff-15bec43924080ff9b4e1850b9f3e3864476abea254de8b717a98816f856cb5a0R89


Taking templates to the next level

I think there is a lot of potential for templates in Orca. A potential they have is being the main point of entry and interface for the user to develop their LLM applications. Maybe think of it as a language to write LLM applications(?)
I keep thinking of ideas to extend this interface. What other ways is there for the user to communicate with an LLM? For example, I think it would be possible to specify functions for the LLM to use within a template as specified in #11.
Prompt engineering is basically pseudocoding in and of itself, so why not formalize it?
Any ideas, thoughts, or comments are more than welcome.

I think for inspiration we should have a look at https://github.com/guidance-ai/guidance

What's really powerful about it is that I can easily insert certain stateful or procedural logic into my prompt & output generation. It's almost like I can surgically insert "thoughts" into the LLM and now that I've converted a few things from a more "lang-chain" way of thinking I would never go back.


fix: QueryBuilder limit(0) bug

Description
Fixes #8278

LIMIT can be used in MySQL, SQLite3, PostgreSQL, and they return 0 rows when we specify LIMIT 0.
limit() is to limit the result rows. So when we specify it, the result should be limited, not be all rows.

LIMIT 0 quickly returns an empty set. This can be useful for checking the validity of a query.
https://dev.mysql.com/doc/refman/5.7/en/limit-optimization.html

Checklist:

[x] Securely signed commits
[x] Component(s) with PHPDoc blocks, only if necessary or adds value
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[x] Conforms to style guide

Um. Don't you think this has the potential to alter behavior in a major way for thousands of sites? As you said before this has always been this way in v4. And I am pretty sure I did not make any changes to the way this works when I ported the database layer over from 3.
While I understand the reporter has a valid use case I think this is probably a situation where we should say sorry, we can't that. This is way too big of a breaking change.

Thank you for the comments.
I have modified the current implementation and checked to see if the tests passes, but the impact seems to be larger than expected, so I will be more careful in handling this issue.
However, I think this bug should be fixed.

LIMIT can be used in MySQL, SQLite3, PostgreSQL, and they return 0 rows when we specify LIMIT 0.
limit() is to limit the result rows. So when we specify it, the result should be limited, not be all rows.

Added docs.

@codeigniter4/database-team Review, please.

Just started wondering... will this change have any effect on pagination?

I want to fix this behavior because I don't think it is a good idea to have QueryBuilder behave so differently from the behavior of the original SQL. LIMIT 0 returning zero rows has been the case for a long time.

I agree with your reasons.
Well, the Pager class has tests and since they pass, I should not worry.

will this change have any effect on pagination?

Pager has nothing to do with Query Builder.
The $perPage is more than zero in normal use cases.
https://github.com/codeigniter4/CodeIgniter4/blob/6c487a1c03a81cd279012bed8be12b6730489d3c/system/BaseModel.php#L1212

There were other $limit parameters. https://github.com/codeigniter4/CodeIgniter4/pull/8280/commits/20ea3930862e7ef09fe12fab09c1d07a456a0e40

Do we reach a consensus here? The feature flag will be removed in v5, so this is a transitional solution.

It is true that the code is more complicated with the addition of feature flag.
However, there are only if statements regarding the feature flag,
and when they are removed, they are just removed.
We can easily search where the if statements are with the flag.
I do not see these as major maintenance obstacles.
In addition, there are few use cases where 0 is specified for limit.


Something went wrong error when returning to a tab with active search result.

Describe the bug
Page shows error

Transaction ID
n.a.
To Reproduce
Steps to reproduce the behavior:

Go to a page for example: https://explorer.stacks.co/txid/0x839e8818e634a85463d917cd8d30157d514a606a7ced33f78a38c1bca4c222b3?chain=mainnet
Wait for some time, go to another tab, then return
Hover over search/ or click it
See error (sometimes)

Expected behavior
I expect to be able to fill in the next query for a search.
Screenshots
If applicable, add screenshots or consol.log to help explain your problem.
Desktop (please complete the following information):
Windows 11 latest
Firefox latest

@314159265359879 would you mind trying to replicate this again? we launched a few tx fixes that might've fixed it already.

Werner: I'll close this issue for now since we believe it's fixed, and we couldn't reproduce it.
@314159265359879 if you see it again, would you mind reopening it?


Filter feeds with jquery

I don't have a link off hand, but something similar to how heroku allows you to quickly filter your apps but with javascript that fuzzy searches the titles of all the stories.

For the record, just if somebody is interested in it. I implemented a basic search/filter page using PG Full Text Search. It is not a big deal because I was in a rush and needed to filter a 1000 items feed so... that happened.
Hope that I can improve it later!


Introduce error for types that can't be bound to proto3.

Plumb the error all the way through the stack.
I didn't spot any proto3 tests to which i could add something, but let me know if i just missed them.

@sougou @michael-berlin

@alainjobart proto.BindVariablesToProto3() looks like a perfect candidate for a unit test.
But it looks like we don't have one yet? We should add one later? I can take care of that.

@michael-berlin i agree. i went looking :)

LGTM
Thanks a lot for the contribution Dominic :-)
I go ahead and merge it now.

On the unit test comment:

we have some coverage already in the protocol tests, where we send structures back and forth.
that code is going away, once we switch to proto3 everywhere. Then all we'll have is conversion from proto2 to proto3 and back.

Then, I agree we should have unit tests for code like this, especially error cases. Let's add some when the code is more stable and won't go away in a month.


🌸[6.0][SerialExecutor] SerialExecutor.checkIsolated() to check its own trac…

Description: This implements the proposal SE-0424 In addition, we need to be more careful when upgrading the executor check to "default mode is crashing", and should only do so in the upcoming release.
This adds a runtime check that we'll replace with checking what version of the SDKs an app was linked against. If it is the release with Swift 6 (future), we'll make it crash by default, but by doing it dynamically like this -- old apps, linked against ols SDKs will be allowed to keep working, until they rebuild with a new SDK and get the new behavior.
Risk: Medium, this adds new semantics to how executor comparison works. Great care was taken to consider all cases though.
Review by: @hborla
Testing: CI testing
Original PR: https://github.com/apple/swift/pull/71172
Radar:  rdar://125107864 rdar://112637467

@swift-ci please test


[ENH] classifier single class handling

Handles "single class seen in fit" scenario that can lead to infinite loops according to unreported bug discussed in PR #3110.
Alternative solution which simply returns "that class" predicted every time, instead of erroring out. Includes tests.

While this will ensure all classifiers return a single class from predict, it won't stop them potentially crashing in fit. Easy solution for now is to just add another class_dictionary check in fit and stop building if it is length 1.

While this will ensure all classifiers return a single class from predict, it won't stop them potentially crashing in fit. Easy solution for now is to just add another class_dictionary check in fit and stop building if it is length 1.

I did indeed consider that, but then I thought, this would make the "fitted" interface polymorphic. I.e., you would not have fitted parameters etc.
Would it crash the problematic estimators if we do not skip fit?

Not going to block for any of the above, just a concern.

If we don't do it in the base class, we would probably require a test for all classifiers making sure it does interact as intended.

Yes, you are right.
We either need to handle it in the base class and test the base class, or ensure the individual implementations guarantee it, by test.
I'll add a test that checks fit only.

Prehaps the fit check would be the place to raise a warning that only a single class has been seen and certain parameters have not been fit?

Yes, you are also right here, this is a good place to raise a warning (rather than the exception).

added test & warning now

Hm, I actually went with your earlier suggestion of just skipping fit. I think there were too many estimators that broke with just one class.

Probably don't need the test_all_classifiers test any more if it is handled in fit, but if there is a reason I'm missing to keep it, sure.

It seems very quick (no fitting actually happens), so I feel it makes sense to keep it for regression testing in case we change the logic, but no strong reason.


Port for Debian, some changes required in the .pro

Hello,
I managed to build this fantastic tool over Debian.
However, I had to make some changes on the .pro file:

Removed the lz link which was not working
Made al zlib available, also for linux.

Kind regards

probably solved


Fixed Typo in "Textual expression of Floats"

Fixed a typo regarding the meaning of '-' character in float range.

Thanks.


feat: update nemeton results page

This PR update the nemeton builders program results page.

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


Git Extensions v3.0

https://github.com/gitextensions/gitextensions/releases/tag/v3.00.00

https://gist.github.com/devhawk/e8330e126bd1aedf0ad6d04c7f338125


deps: shared dependencies BOM 2.10.4 to test with gRPC 1.45.4 and Auth 1.6.1

Shared dependencies BOM 2.10.2 (released today) has gRPC 1.45.3. com.google.cloud:google-cloud-shared-dependencies 2.10.2 (link; this imports com.google.cloud:first-party-dependencies:2.10.2, which has gRPC 1.45.3)
No need to merge this to the branch.

Note that, among checks in googleapis organization, "GraalVM Native Image" and "dependencies" checks are ok to fail because they are not designed to work on an old branch.

Kokoro - Test: Integration and unit tests succeeded.


Add ZKasino discovery

Closed for now due to suspect scam.
https://cointelegraph.com/news/zkasino-scam-suspect-arrested-dutch-authorities


division operators

was missing some vector3 operators, namely division with vector 2.
Follows the same idea as multiplication of vec3 by vec2. ie z is 0

I didn't add them on purpose, as stated a few lines above:

// Allow operations between vector2 and vector3; in the case of vector2, we always assume z = 0 (which is why operator/ was not added)

ah okay.


[Client] http errors

Create an error interface to handle the http errors and apply it to the client

No need of an interface since Status is pretty self explainatory


Ignore list autofill / right click lookup

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always
frustrated when [...]
Very frustrating to go through the ignore list trying to clean it out from bots/etc that you've reported to check which ones are banned and which aren't.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Please make it so there's either a right click lookup option for the hiscores feature on the client, or so that the autofill option includes the ignore list just as it does for accounts on your friends list as well as in your physical area (possibly toggle-able)
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've
considered.
Manually typing them to search which is pretty time consuming and inconvenient
Additional context
Add any other context or screenshots about the feature request here.

This was already added in f3b8bace727ffd8ba2f1cc6898496e30d981689a


add SQL function for label_values

Add a sql function that giiven:

metric name
label name (key)
time range (optional)

Returns a list of either label ids or label values (TBD).
This should use the skip scan optimization (tsdb 2.2 + )

I would suggest providing the following API functions (but also see below):

Function
Description

metrics([condition])
list metric names

label_names([metric] [, condition])
list all labels or labels for a metric

label_values([metric ,] label [, condition])
list values of all labels or labels for a metric

The condition is meant to be placed in an additiona WHERE clause(s) inside the functions. Few examples to demonstrate the idea behind:
-- Get all metric names
SELECT metrics();
SELECT metrics("__name__" ==~ '.*'); -- the same
SELECT metrics("__name__" IS NOT NULL); -- perhaps also the same
-- Note: the "__name__" is special label containing metric name both in Prometheus and Promscale.

-- Get all metric names matching '^cpu_' regular expression (providing that inside the function
-- the whole label-set would be for use, therefor we can add condition for any of them easily.
SELECT metrics("__name__" ==~ '^cpu_');

-- Get all metric label names for metric "cpu_usage_system"
SELECT label_names("cpu_usage_system");

-- Get all metric label names for metric "cpu_usage_system" and label names starting with 'host'
SELECT label_names("cpu_usage_system", "__label__" ==~ '^host');
SELECT label_names("__name__" ==~ '^host' AND "__label__" ==~ '^host'); -- the same
-- Note: the "__label__" is supposed to be internal naming in the function for label names found.

-- Get all metric label values for label `host`
SELECT label_values("host");

-- Get all metric label values for label `host` for metric `cpu_usage_system` and label names
-- starting with 'node[1-3]\.'
SELECT label_values("cpu_usage_system", "host", "host" ==~ '^node[1-3]\.');
SELECT label_values("host", "__name__" = 'cpu_usage_system' AND "host" ==~ '^node[1-3]\.'); -- the same

It started to seem to me that all the above variants of functions are just syntax sugar for a generic one or even
a joint view over the catalogue that would allow for queries like these replacing the need for the functions completely
or serving as ground for them:
-- SELECT metrics();
SELECT "__name__"
  FROM "_prom"."joint_catalog_view";

-- SELECT metrics("__name__" ==~ '^cpu_');
SELECT "__name__"
  FROM "_prom"."joint_catalog_view"
 WHERE "__name__" ==~ '^cpu_';

-- ...

-- SELECT label_values("host", "__name__" = 'cpu_usage_system' AND "host" ==~ '^node[1-3]\.');
SELECT "__name__",
       VAL("host")
  FROM "_prom"."joint_catalog_view"
 WHERE "__name__" = 'cpu_usage_system' AND
       VAL("host") ==~ '^node[1-3]\.';

I am not convinced on either method. The view approach may result in huge amount of rows and may be wasteful.
Perhaps the specialized functions would be far better in the end. The functions also do not need to be so generic
but the rather complex possibility of querying the catalogue should be preserved. I can imagine (although can
not write them myself yet) a set of functions like:
metrics(), metrics_match(regex), label_names(), label_names_match(regex) etc.
It would be nice to have the functions let users choose their conditions without as less restrictions as possible. I am
not sure if it is achievable or how it would look like.
Apart from this I also think that querying all of the above information (which is clearly a must to have) should also
provide the very similar set of functionalities but with extra parameters providing time boundaries. You for example
want to get only those label values (i.e. "hostname") in a defined timerange for a defined metric so that you never get
into situation you obtain "empty" dataset when querying based on that label value...

Some attempts to find out the functions are in this gist.


Freezing

Hi,
<input style="display: none"
        type="file"
        (change)="onFileChanged($event)"
        [multiple]="allowMultiple"
        [accept]="accept"
        #fileInput>
 <button (click)="fileInput.click()"
         (keyup.enter)="fileInput.click()"
         mat-raised-button
         color="primary"
         type="button">
   <mat-icon>insert_photo</mat-icon>
   ADD IMAGE(S)
 </button>

 public async onFileChanged(event) {
    console.log('onFileChanged', event);
    this.selectedFiles = event.target.files;
    if (!this.selectedFiles) {
      return;
    }

    let files = <File[]>[];
    for (var i = 0; i < this.selectedFiles.length; i++) {
      files.push(this.selectedFiles[i]);
    }

    this.ng2PicaService.resize(files, 50, 50).subscribe((result) => {
      //all good, result is a file
      console.info(result);
    }, error => {
      //something went wrong
      console.error(error);
    });
}

here is my code to upload new image. when this.ng2PicaService.resize is executed, the tab browser is freezing. My guess is the Web Worker are not enabled.
My angular is configured to use WebWorker, you can see here : https://stackoverflow.com/questions/52414807/resize-and-compress-image-in-angular-6-using-web-worker that it works correctly.
Do you know how to enable this option?

on the Pica documentation: https://github.com/nodeca/pica
It s written:

Webworkers, WebAssembly and createImageBitmap are not required, but they will be used if available.

So it s supposed to work, but the freeze is for me a smell that something is missing somewhere.


Mocks for TypeScript generated Client

Hello I am trying to create mocks in angular 2 for type script generated client.
But it is not working for me.
Do you have any way to create mock classes and methods of type script generated client ?
in spec.ts
I am using TestBed

How would a nock client class look like?

Hello,
I am able to make this working now.
By mistake this generated client was added into provider of component so that's why it was always taking that instead of mock class.


Issue installing grenier

via opam install
=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=  🐫
[ERROR] The compilation of grenier failed at "make install".
Processing  1/1: [grenier: ocamlfind remove]
#=== ERROR while installing grenier.0.1 =======================================#
# opam-version 1.2.2
# os           darwin
# command      make install
# path         /Users/isaachodes/.opam/system/build/grenier.0.1
# compiler     system (4.02.3)
# exit-code    2
# env-file     /Users/isaachodes/.opam/system/build/grenier.0.1/grenier-68931-ad8886.env
# stdout-file  /Users/isaachodes/.opam/system/build/grenier.0.1/grenier-68931-ad8886.out
# stderr-file  /Users/isaachodes/.opam/system/build/grenier.0.1/grenier-68931-ad8886.err
### stdout ###
# [...]
# make[2]: `doubledouble.cma' is up to date.
# make[2]: `doubledouble.cmxa' is up to date.
# make[1]: Nothing to be done for `all'.
# make[2]: `baltree.cma' is up to date.
# make[2]: `baltree.cmxa' is up to date.
# make[2]: `trope.cma' is up to date.
# make[2]: `trope.cmxa' is up to date.
#
# Installing library with ocamlfind
# ocamlfind install  grenier META hll/hll.mli hll/hll.cmi hll/hll_consts.cmi hll/hll.a hll/hll.cma hll/hll.cmxa jmphash/jmphash.mli jmphash/jmphash.cmi jmphash/jmphash.a jmphash/jmphash.cma jmphash/jmphash.cmxa pcg/pcg.mli pcg/pcg.cmi pcg/pcg.a pcg/pcg.cma pcg/pcg.cmxa orderme/order_list.mli orderme/order_indir.mli orderme/order_managed.mli orderme/order_list.cmi orderme/order_indir.cmi orderme/order_managed.cmi orderme/orderme.a orderme/orderme.cma orderme/orderme.cmxa orderme/dllorderme_stubs.so orderme/liborderme_stubs.a doubledouble/doubledouble.mli doubledouble/doubledouble.cmi doubledouble/doubledouble.cmo doubledouble/doubledouble.cmx physh/physh.mli physh/physh.cmi physh/physh.a physh/physh.cma physh/physh.cmxa physh/lib_physh_stubs.a physh/dll_physh_stubs.so baltree/baltree.a baltree/baltree.cma baltree/baltree.cmxa baltree/bt1.mli baltree/bt1.cmi baltree/bt2.mli baltree/bt2.cmi baltree/mbt.mli baltree/mbt.cmi trope/trope.a trope/trope.cma trope/trope.cmxa trope/trope.mli trope/trope.cmi
### stderr ###
# [...]
# Installed /Users/isaachodes/.opam/system/lib/grenier/physh.cma
# Installed /Users/isaachodes/.opam/system/lib/grenier/physh.a
# Installed /Users/isaachodes/.opam/system/lib/grenier/physh.cmi
# Installed /Users/isaachodes/.opam/system/lib/grenier/physh.mli
# Installed /Users/isaachodes/.opam/system/lib/grenier/doubledouble.cmx
# Installed /Users/isaachodes/.opam/system/lib/grenier/doubledouble.cmo
# Installed /Users/isaachodes/.opam/system/lib/grenier/doubledouble.cmi
# Installed /Users/isaachodes/.opam/system/lib/grenier/doubledouble.mli
# ocamlfind: orderme/liborderme_stubs.a: No such file or directory
# make: *** [libinstall] Error 2

I get the same error

Thanks, this should be fixed. Sorry for that.
I assume that you found this looking for latest merlin. grenier & sturgeon are used only as development tools, the dependency will become optional for normal uses.

No worries; I was trying to build merlin for some development.

Fixed by b443c69e7ed042424b55017511e2f847ff776b65


Each Transition Frontier Process should get a ref option transition_frontier rather than a normal transition_frontier

The Bootstrap Controller needs to "stop" tfc processes while bootstrapping. When bootstrapping, the processes cannot use the transition_frontier anymore. In order to do this, the transition_frontiers need to be represented as a option and the frontier cannot be used anymore if it's a Nothing. This transition_frontier now needs to be a transition_frontier option ref.
This library can useful for dealing with 'a option ref:
https://ocaml.janestreet.com/ocaml-core/latest/doc/core_kernel/Core_kernel/Moption/
Rather than using a regular ref, it would be useful to have two refs. One of the reference is a read-only reference and the other is writable. For the case of the transition frontier controller, we should only pass in readable copy to it's processes and the Bootstrap_controller deals with a writable one.

I am doing this right now and I realized a lot of this work is dependent on the completion of issue #1334 to the point I am blocked on doing this. It's quite difficult converting External_transition.t to External_transition.Validated.t. Focusing on issue #1334 to do this.


Add --json flag to output json

Description
This PR adds --json flag to support json output in following commands:

monitor
status
version
ibft candidates
ibft propose
ibft snapshot
ibft status
peers add
peers list
peers status
txpool add
txpool status
loadbot

Example:
$ go run main.go ibft snapshot --grpc-address <IP_ADDRESS>:25000 --json
{"number":300000,"hash":"0x39a512b9d4d829d7bca2732150645245fe9c9c37d94ba8552cbe2dbca51fc264","votes":[],"validators":["0x372FD577a8cB5B2F944be0630fEc14a947eB4Db0","0x0C452Ad7Ee0e03882F710989e3D1ab1E0C7493dF","0x1d992D6EC0BC9E38D581ef42a1DB7f41177e322D","0x3650b09076292B7D8564EaE00c97A24175B54FB5"]}

This PR contains small refactor around command

Remove Meta because only some commands refer this struct
Add Base to be embedded in each command struct in order to provide common structure and function
Add GRPCFlag to handle --grpc-address and provides a function to establish connection

Result
monitor command
$ go run main.go monitor --grpc-address localhost:11000 --json
{"events":{"added":[{"type":"added","number":84,"hash":"0x51d70f3f2c76343abc909218c39c72b6c6dde8d2ad337f770057d389c7eb80a6"}],"removed":[]}}
{"events":{"added":[{"type":"added","number":85,"hash":"0xce2a63f72ecefbb752e7f353a9886e5f7ed73d237048f869cc5196d45d5f494e"}],"removed":[]}}

status command
$ go run main.go status --grpc-address localhost:11000 --json
{"chain_id":100,"current_block_number":164,"current_block_hash":"0xffc4298827ff2591ac7ce54a1916bfead6d6d5c85be5b458772c8e4e1f0a74f8","libp2p_address":"/ip4/<IP_ADDRESS>/tcp/11001/p2p/16Uiu2HAm8NHWPF826Zpt8xov1B5SyDf6eEygCWqiumNdbAe3bKUt"}

version command
$ go run main.go version --json
{"version":"0.1.0"}

ibft candidates command
$ go run main.go ibft candidates --grpc-address localhost:11000 --json
{"candidates":[{"address":"0x9aFc51c7867f369371F238674ee4459556c5D2b5","vote":"ADD"}]}

ibft propose command
$ go run main.go ibft propose --addr 0x9aFc51c7867f369371F238674ee4459556c5D2b5 --vote auth --grpc-address localhost:11000 --json
{"message":"Successfully voted for the addition of address [0x9aFc51c7867f369371F238674ee4459556c5D2b5] to the validator set"}

ibft snapshot command
$ go run main.go ibft snapshot --grpc-address localhost:11000 --json
{"number":390,"hash":"0x2855ddb00486ed06d8135a46fef6e772100a279b8b5ae6d393a6ddf719f7c36b","votes":[{"proposer":"0xC30D78F750fEaeB2b84cF8686a4d655768d81aD7","address":"0x9aFc51c7867f369371F238674ee4459556c5D2b5","vote":"ADD"}],"validators":["0xC30D78F750fEaeB2b84cF8686a4d655768d81aD7","0x8bC0C94c8eE7717C12D37Fea8A17F38Ab99073C2","0x7b8685777c553523B5F8c722a797735795a6d053","0xb8Fb07e04585142a9e9541527dA669c5bd84caE5"]}

ibft status command
$ go run main.go ibft status --grpc-address localhost:11000 --json
{"validator_key":"0xC30D78F750fEaeB2b84cF8686a4d655768d81aD7"}

peers add command
$ go run main.go peers add --addr /ip4/<IP_ADDRESS>/tcp/11001/p2p/16Uiu2HAmBFWNg9PaHuQXzqyx6ksrvjFabTWGd3bYdJq7BjwC876N --grpc-address localhost:11000 --json
{"num_requested":1,"num_added":1,"peers":["/ip4/<IP_ADDRESS>/tcp/11001/p2p/16Uiu2HAmBFWNg9PaHuQXzqyx6ksrvjFabTWGd3bYdJq7BjwC876N"],"errors":null}

peers list
$ go run main.go peers list --grpc-address localhost:11000 --json
{"peers":["16Uiu2HAkuhNdcZATVA8Uwf3JUpFNyuUR5wKDBQDAqBRi2kawh36q","16Uiu2HAmQ3V3BF4y9fT5KrPWrx9obnj9em7QjPfuav3bFQbnahd4","16Uiu2HAmQfY3KdFVMiTbGghgCx7oK66uCsxKiRxGnvBnuDjQ7ooZ"]}

peers status
$ go run main.go peers status --peer-id 16Uiu2HAkuhNdcZATVA8Uwf3JUpFNyuUR5wKDBQDAqBRi2kawh36q --grpc-address localhost:11000 --json
{"id":"16Uiu2HAkuhNdcZATVA8Uwf3JUpFNyuUR5wKDBQDAqBRi2kawh36q","protocols":["/ipfs/id/1.0.0","/ipfs/id/push/1.0.0","/floodsub/1.0.0","/p2p/id/delta/1.0.0","/ipfs/ping/1.0.0","/libp2p/circuit/relay/0.1.0","/id/0.1","/disc/0.1","/meshsub/1.1.0","/meshsub/1.0.0","/syncer/0.1"],"addresses":["/ip4/<IP_ADDRESS>/tcp/13001"]}

txpool add
$ go run main.go txpool add --from 0xcFc818dc5E93b9b8b1B8D4D604eF92baE9cbE5b4 --to 0xdEF8940B16A9bF0b9c575C3d803a12E09E66D60B --value 100 --gasPrice 1 --gasLimit 50000 --nonce 1 --grpc-address localhost:11000 --json
{"from":"0xcFc818dc5E93b9b8b1B8D4D604eF92baE9cbE5b4","to":"0xdEF8940B16A9bF0b9c575C3d803a12E09E66D60B","value":"100","gas_price":"1","gas_limit":50000}

txpool status
$ go run main.go txpool status --grpc-address localhost:11000 --json
{"txs":0}

Changes include

[ ] Bugfix (non-breaking change that solves an issue)
[x] New feature (non-breaking change that adds functionality)
[ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)

Breaking changes
Please complete this section if any breaking changes have been made, otherwise delete it
Checklist

[x] I have assigned this PR to myself
[x] I have added at least 1 reviewer
[x] I have tested this code
[ ] I have updated the README and other relevant documents (guides...)
[x] I have added sufficient documentation both in code, as well as in the READMEs

Additional comments
Please post additional comments in this section if you have them, otherwise delete it

feature/cli-json-output

The only suggestion I've had is to add a prettify flag for the JSON output --pretty, which would properly format the JSON instead of having it sit in 1 line.

The main target to use --json is the one who wants to execute commands from script or program, I guessed. That's why I minified JSON. But not so hard to add --pretty, then please let me know if we need --pretty
@zivkovicmilos @lazartravica @ZeljkoBenovic

The only suggestion I've had is to add a prettify flag for the JSON output --pretty, which would properly format the JSON instead of having it sit in 1 line.

The main target to use --json is the one who wants to execute commands from script or program, I guessed. That's why I minified JSON. But not so hard to add --pretty, then please let me know if we need --pretty @zivkovicmilos @lazartravica @ZeljkoBenovic

No need to add a --pretty flag since the only reason we are adding the JSON output is to make it machine readable, as it already is pretty enough for human eyes :)

Excellent work! Please add the --json flag to the secrets commands as well, and link the docs PR 🙏

Excellent work! Please add the --json flag to the secrets commands as well, and link the docs PR 🙏

P.S. The secrets command that already outputs the libp2p Node ID and Validator account should be the only one to support the --json flag.

@lazartravica I've added --json flag into secrets init command. I've not added it for secrets generate and genesis although they product json file originally. If you want to choose an option to show json instead of saving, let me know.


Generated Oracle SQL by  change is not executable with sqlplus

Environment
Liquibase Version: 4.3.1
Liquibase Integration & Version: Java 1.8 (custom Gradle plugin)
Database Vendor & Version: Oracle 19.3.0-se2 (Docker) and SQL*Plus (Client Shared Library 64-bit - <IP_ADDRESS>.0)
Operating System Type & Version: Windows 10
Description
When generating SQL scripts for <loadUpdateData> changes, Oracle SQL*Plus a very popular tool for executing SQL scripts in CLI environments is not able to process the scripts. There must be a "/" at the end of the "insert or update" begin-end-block.
The problem is also described here: https://liquibase.jira.com/browse/CORE-3443
We currently mitigate the issue by providing a custom InsertOrUpdateGeneratorOracle that adds a NULL command after each block. This survives the regex treatment in liquibase.executor.LoggingExecutor.outputStatement(SqlStatement, List<SqlVisitor>).
  @Override
  protected String getPostUpdateStatements( Database database )
  {
    StringBuilder endStatements = new StringBuilder();
    endStatements.append( "END IF;\n" );
    endStatements.append( "END;\n" );

    if ( Scope.getCurrentScope().getSingleton( ExecutorService.class ).getExecutor( "jdbc",
        database ) instanceof LoggingExecutor )
    {
      endStatements.append( "/\n" );
      // Add NULL statement to mitigate trailing slash removal in LoggingExecutor
      endStatements.append( "NULL\n" );
    }

    return endStatements.toString();
  }

In a post processing step we remove the NULL command, because unfortunately the NULL command is only processed by SQL*Plus but not by Oracle SQL Developer.
Steps To Reproduce

Create a changelog with a <loadUpdateData> change.
Generate the SQL for the changes for Oracle Database.
Execute the generated SQL file with SQL*Plus against a Oracle Database.

Actual Behavior
The script execution by SQL*Plus does not work/hangs.
Expected/Desired Behavior
The script is executed correctly.

Hi @ckulenkampff Thanks for creating this issue.  We will add it to the list of issues we are processing.

We will have a look and try to fix. Thanks for submitting this issue!
TEST ENVIRONMENT:
OS: WINDOWS 10
JAVA 8
Runned on, Docker Image: gvenzl/oracle-xe:18.4.0

Still experiencing this issue in version 4.30.0


Could not find scope for mongodb::params

Affected Puppet, Ruby, OS and module versions/distributions

Puppet: 4.10.1
Ruby: 2.1.9p490 (puppet bundled)
Distribution: Debian Jessie 8.10
Module version: 1.1.0

How to reproduce (e.g Puppet code you use)
enable manage_package_repo in globals.pp
What are you seeing
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Resource Statement, Could not find scope for mongodb::params at /etc/puppetlabs/code/environments/production/modules/mongodb/manifests/globals.pp:47:5 on node host

What behaviour did you expect instead
I expected the apt source list to be created by puppet.
Output log
see above
Any additional information you'd like to impart
n/a

@pschichtel Thanks for reporting this.  Could you share a complete example of how you're using this module?  It looks like there may be some sort of circular inheritance going on.  Very, very similar to this postgresql module bug report.

The fix in postgresql module is https://github.com/puppetlabs/puppetlabs-postgresql/commit/15071237e1ef838787c525f482f8db6a2599678d

it is just:
include ::mongodb::server
include ::mongodb::client

with the following hiera keys:
mongodb::globals::manage_package_repo: true
mongodb::globals::manage_package: true
mongodb::server::auth: false
mongodb::server::bind_ip: '<IP_ADDRESS>'
mongodb::server::storage_engine: 'wiredTiger'

Settings manage_package_repo to false will solve/hide the problem.

This happens with puppet 5.3.3 as well

I have still the exact same problem.

@ekohl the dependency problem is gone, but APT is telling me the repo wouldn't be sign which seems wrong. I guess the issue reported is fixed then.


Datepicker doesn't exit on mobile when selecting date and time.

Expected behavior
When I select a date and then a time, the Datepicker should close
Actual behavior
When I select a date and then a time, the Datepicker stays open
Steps to reproduce
<DatePicker
      selected={props.startDate}
      onChange={props.changeStartDate}
      showTimeSelect
      timeIntervals={30}
      dateFormat="MM/DD/YY, hh:mm a"
      todayButton="Today"
      minDate={moment()}
      readOnly
       />

I have the latest version. I'm not sure why this is happening.

I'm seeing this on dekstop as well.

I experience this problem using mobile Chrome browser and also desktop Chrome with device mode on. Couldn't reproduce this problem at Firefox

I find that adding 'preventOpenOnFocus' to props will solve this problem
<DatePicker       selected={props.startDate}       onChange={props.changeStartDate}       showTimeSelect       timeIntervals={30}       dateFormat="MM/DD/YY, hh:mm a"       todayButton="Today"       minDate={moment()}       readOnly       preventOpenOnFocus        />

I have resolved this issue and already created PR #1400
Use of preventOpenOnFocus is not used that much if my requirement is related to the focus event like in the form after every field user generally used the tab to move next.