Logging in the separate thread

Is it possible to delegate logging to separate thread in NodeJS using Winston out of the box?
I want to minimize blocking operations and other side affects for performance.
And I think about moving logging to the separate thread.

const winston = require('winston');
const { Worker, isMainThread,  workerData } = require('worker_threads');

class MyLogger
{
    info(message) {
        if (isMainThread) {
            this.thread = new Worker(__filename)
        } else {
            this.getLoggerInstance().info(message);
        }
    }

    getLoggerInstance() {
        if (! this.logger) {
            this.logger = winston.createLogger({
                level: 'info',
                format: winston.format.json(),
                defaultMeta: { service: 'user-service' },
                transports: [
                    new winston.transports.File({ filename: 'error.log', level: 'error' }),
                    new winston.transports.File({ filename: 'combined.log' })
                ]
            });
        }
        return this.logger;
    }
}

// USAGE
const myLogger = new MyLogger();

myLogger.info('something I want to log');

Does anyone tries to do the same?
Do you know any limitations?
Will it help for performance?

I tried this out of curiosity and my first message never got logged.. not sure why. I'm using Node v10.15 with the --experimental-worker flag.
Logger.js
const { createLogger, format, transports } = require('winston');
const { combine, timestamp, printf } = format;
const { Worker, isMainThread, parentPort } = require('worker_threads');
const logFormat = printf(({ level, message, timestamp }) => {
  return `${timestamp} [${level.toUpperCase()}]: ${message}`;
});

class Logger {
 log(message) {
    if (isMainThread && !this.thread) {
      this.thread = new Worker(__filename);
    } else {
      this.getLogger().info(message);
    }
 }

  getLogger() {
    if (!this.logger) {
      this.logger = createLogger({
        level: 'info',
        format: combine(
          timestamp(),
          logFormat,
        ),
        defaultMeta: {
          service: 'user-service',
        },
        transports: [
          new transports.File({
            filename: 'error.log',
            level: 'error',
            handleExceptions: true,
          }),
          new transports.File({
            filename: 'combined.log',
          }),
        ]
      });

      if (process.env.NODE_ENV !== 'production') {
        this.logger.add(new transports.Console({
          format: combine(
            timestamp(),
            logFormat,
          ),
        }));
      }
    }

    return this.logger;
  }
}

exports.Logger = Logger;

index.js
const { Logger } = require('Logger');

const logger = new Logger();

function run() {
  logger.log('my test message');
  logger.log('my test 2 message');
  logger.log('my foo message');
  logger.log('my bar message');
}

run();

output
2019-05-01T18:39:26.865Z [INFO]: my test 2 message
2019-05-01T18:39:26.871Z [INFO]: my foo message
2019-05-01T18:39:26.871Z [INFO]: my bar message

It seems the first log is running on the main thread. If i remove the else so it's now:
  log(message) {
    if (isMainThread && !this.thread) {
      this.thread = new Worker(__filename);
    }
    this.getLogger().info(message);
  }

then it works.

I would also like have the logger run on a sperate thread.

There is a new logger called "pino" which does exactly the initial intention of this post, by actually writing logs in a separate thread with worker threads. Check it out here: https://github.com/pinojs/pino

Pino has been around for a while and works well, however, because it logs in a separate thread it may actually create issues for some types of applications.
For example, if you are working with a worker pool, depending on how you configure your logger and your pool, you can have messages interleaved in unexpected ways and you might have less resources available to process incoming connections due to a smaller pool size. A separate thread isn't always the correct solution; the entire system must be looked at together.
Case in point, if you log to syslog, then there is very little logging overhead for Node. Granted, you still have to transform the object, but then, as fast as it can be written to a socket, it is out of Node's hands. The overhead of transforming the object would need to be done in some form if you tried to get that object to another thread to have it logged from there. So, you save yourself nothing.
In fact, you could easily say that syslog would be the multi-threaded solution :)


How to use anbox in Nixos?

I installed anbox ，but I cant find out tutorial  about anbox from nixos wiki

I haven't used it recently but Anbox requires some tweaking to the system in order to work (installing a kernel modules, enabling LXC containers, setting up NAT, etc.). There is a NixOS that does that for you, you only have to set virtualisation.anbox.enable = true. Then it should just work, for example try
anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity

Unfortunately there is an issue with recent kernels (https://github.com/NixOS/nixpkgs/issues/91367), so you must use an older kernel until this is fixed.

I haven't used it recently but Anbox requires some tweaking to the system in order to work (installing a kernel modules, enabling LXC containers, setting up NAT, etc.). There is a NixOS that does that for you, you only have to set virtualisation.anbox.enable = true. Then it should just work, for example try
anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity

Unfortunately there is an issue with recent kernels (#91367), so you must use an older kernel until this is fixed.

Thank you  for your help， I have another problem yet：How to support arm64 arch for anbox ？

It should just work; the Anbox package supports the aarch64 platform and hydra builds it successfully.

It should just work; the Anbox package supports the aarch64 platform and hydra builds it successfully.

Support arm64 and x86 ， x86_64 ?

AFAIK arm64 and aarch64 are the same thing.

AFAIK arm64 and aarch64 are the same thing.

Sorry, I'm not very familiar with Android，Please give me a hand： I failed to install some apk with the errors below：

Sorry, I'm not either and this is probably not the best place to ask for android issues.

Sorry, I'm not either and this is probably not the best place to ask for android issues.

Well，Thanks again。

FYI, the issue here is that not native library for the system µarch is inlcuded in the APK. Make sure you downloaded the correct version for your processor.


Added options to quiet down tox output. Fixed issue where pkg versionwasn't being updated correctly

As discussed in #123

Very nice!
I removed the extra pip install step. It's not needed anymore now that I put version back into the package.


Added support to websocket & parametrized changeOrigin configuration …

…of http-proxy
Please ensure that your pull request fulfills these requirements:

[X] The pull request is being made against the master branch
[ ] Tests for the changes have been added (for bug fixes / features)

What is the purpose of this pull request? (bug fix, enhancement, new feature,...)
What changes did you make?
Provide some example code that this change will affect, if applicable:

Is there anything you'd like reviewers to focus on?
Please provide testing instructions, if applicable:

Fixed code style

It looks like this PR is a combination of three changes, websocket proxy support, changeOrigin parameter and style changes. Would you please split these three into their own PRs so they can be reviewed on their own?

Since this PR has too wide of a scope, I'm going to close. If you'd like to submit new PRs for the websocket proxy support and changeOrigin changes, I'd be glad to take a look! However we're unlikely to accept the style changes right now.


Fargos Souls mod causes tModLoader Mod Packs to fail on creation.

Terraria <IP_ADDRESS>
tModLoader 2<IP_ADDRESS>
I have gone through testing and I have discovered that if I add the Souls mod to my list of mods and try to save as a mod pack, it will fail. By fail, I mean the prompt, "The (mod pack name) mod pack failed to be read properly. It might be malformed." and no option to interact with that pack.
A normal, working, mod pack folder looks like:
ModPacks\

testwork\

mods\

enabled.json
install.txt

config\

config files.json

The failed looks like:
ModPacks\

testfail\

mods\

nothing

config\

config files.json

List of the mods I tested with.
I went and enabled every single mod 1 by 1 until I got to Souls which caused the issue. I then disabled it,  and re-enabled every mod other than Souls which worked fine. I enabled Souls again, and the issue happened again.
enabled.txt

Update: I tried enabling just the Souls mod and Mutant mod (dependency) and it makes the pack fine. I'm guessing there's some mod conflict somwhere.

Now that tML 2<IP_ADDRESS> is out, this issue no longer exists so i will close this.


Revise Fides cookie format to store pseudonymous ID, add consent smoke test

Closes #
Code Changes

[ ] list your code changes here

Steps to Confirm

[ ] list any manual steps for reviewers to confirm the changes

Pre-Merge Checklist

[ ] All CI Pipelines Succeeded
Documentation:

[ ] documentation complete, PR opened in fidesdocs
[ ] documentation issue created in fidesdocs

[ ] Issue Requirements are Met
[ ] Relevant Follow-Up Issues Created
[ ] Update CHANGELOG.md
[ ] For API changes, the Postman collection has been updated

Description Of Changes
Write some things here about the changes and any potential caveats

Thanks for the review @allisonking! Here's my TODO list:

[ ] Rename to getOrMakeFidesCookieValue and add docstring
[ ] Remove TODO comments, clean up
[ ] Add a test for the legacy cookie format
[ ] Try to extract a Cypress helper for the radio buttons (maybe!)

I think I can wrap this up today and I'll merge it when done. Thanks 👍

OK, I think I covered everything. Pushing it to CI now

OK so I've basically been at all-out-war with making this cy.waitUntilCookieExists command work on CI. So close.


test(common): allow for FindMethodByName() failure

MinimalIamCredentialsStubTest.AsyncGenerateAccessTokenMetadata: rather than disabling the test altogether, allow for failures of FindMethodByName() in IsContextMDValid().  The code for the method may have been dropped by the linker, so it never registers itself.

This change is

For context, linking with https://github.com/googleapis/google-cloud-cpp/pull/12560


Fix choices.css crash with wicked_pdf

Okay, this is a WEIRD bug, work with me here for a moment :)
We're using https://github.com/mileszs/wicked_pdf and found that it crashes when we're using choices.js's CSS.  This is relevant to https://github.com/mileszs/wicked_pdf/issues/470 - it's the same error, but the issue there didn't point this out.
Anyway, here's the fix

haha good spot! 👍🏻


dependabot-cli: init at 1.39.0

Description of changes
Motivation: #266156
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

The version tester is failing. Please check the CI failures.

The version tester is failing. Please check the CI failures.

Thanks! Fixed.


[Ecowitt] Update suggestion: internal values in WH65

Hi,
I would like to propose to show internal values. My meteo station is sending internal values as well, but it is not showing in my home app and according to logs, values are ignored.
There was unused data from data report passKey,tempinf,tempinc,humidityin,baromrelin,baromrelinhpa,baromabsin,baromabsinhpa,tempc,windspeedkmph,windgustkmph,maxdailygustkmph,whole_request,baro_rel_in_calc.
There are some other values - I am sending data to external system and forwarding data to homebridge

Hi @JakubSs.  Thanks for reaching out.  It looks like some of those ignored values are not standard weather properties from Ecowitt devices.  Pressure data (barometric) isn't a supported type in Homekit (but could be supported through custom characteristics / custom services) so I have not implemented any pressure data through this plugin yet.
Would you mind sharing -
(1) Do you have any other ecowitt sensors in addition to WH65?  Or is the extra data (reported as unused) from non-Ecowitt devices forwarded from you external system?
(2) I suspect that windspeedkmph, windgustkmph and maxdailygustkmph are probably duplicates of windspeedmph, windgustmph and maxdailygustmph just in different units.  For that reason, I would imagine those would be fine not to use?
(3) The plugin does use tempinf and humidityin but only if it detects an indoor temp-humidity sensor by looking at the battery information passed through the data report.  It might be helpful if you could share the full data report so I can see if there's other battery data in the data report and if a sensor was not property discovered.
It might also be helpful if you could share more details about your full set up.  This plugin was designed with the assumption that most users would configured their Ecowitt base stations directly to forward to the the plugin (and only be using Ecowitt-compatible devices), which means that support may not be perfect for use cases outside of that.  Are you using something like FOSHK for forwarding?  Would love to understand what you are doing better so I can evaluate whether better support for your set up is possible.  Thanks!

Hi @rhockenbury
as I mentioned, I am processing the data before forwarding for storage inside of system: temperature in celsius, speeds in kmph. yes, I do not need them as plugin recomputes them.

as mentioned before
as mentioned before
Regarding inside temp and humidity, I am using "GoGEN ME 3900 WiFi" and these are the values it is sending me. Battery info is from the outside probe
{ "PASSKEY":"XXXXX", "stationtype":"EasyWeatherPro_V5.1.7", "runtime":"15487", "heap":"25252", "dateutc":"2024-12-12 21:21:38", "tempinf":"73.0", "humidityin":"66", "baromrelin":"30.324", "baromabsin":"29.196", "tempf":"31.8", "humidity":"81", "winddir":"12", "windspeedmph":"1.79", "windgustmph":"2.24", "maxdailygust":"11.41", "solarradiation":"0.00", "uv":"0", "rainratein":"0.000", "eventrainin":"0.000", "hourlyrainin":"0.000", "dailyrainin":"0.000", "weeklyrainin":"0.008", "monthlyrainin":"0.110", "yearlyrainin":"58.209", "totalrainin":"58.209", "wh65batt":"0", "freq":"868M", "model":"WS2900_V2.01.18", "interval":"300" }

and recomputing values looks like:
values = {             'passKey': kw['PASSKEY'],             'stationtype': kw['stationtype'],             'runtime': kw['runtime'],             'dateutc': kw['dateutc'],             'tempinf': kw['tempinf'],             'tempinc': round((float(kw['tempinf']) - 32.0) * 5 / 9, 2),             'humidityin': kw['humidityin'],             'baromrelin': kw['baromrelin'],             'baromrelinhpa': round((float(kw['baromrelin']) * 33.86389), 2),             'baromabsin': kw['baromabsin'],             'baromabsinhpa': round((float(kw['baromabsin']) * 33.86389), 2),             'tempf': kw['tempf'],             'tempc': round((float(kw['tempf']) - 32.0) * 5 / 9, 2),             'humidity': kw['humidity'],             'winddir': kw['winddir'],             'windspeedmph': kw['windspeedmph'],             'windspeedkmph': round(float(kw['windspeedmph']) * 1.609344, 2),             'windgustmph': kw['windgustmph'],             'windgustkmph': round(float(kw['windgustmph']) * 1.609344, 2),             'maxdailygust': kw['maxdailygust'],             'maxdailygustkmph': round(float(kw['maxdailygust']) * 1.609344, 2),             'solarradiation': kw['solarradiation'],             'uv': kw['uv'],             'rainratein': kw['rainratein'],             'eventrainin': kw['eventrainin'],             'hourlyrainin': kw['hourlyrainin'],             'dailyrainin': kw['dailyrainin'],             'weeklyrainin': kw['weeklyrainin'],             'monthlyrainin': kw['monthlyrainin'],             'yearlyrainin': kw['yearlyrainin'],             'totalrainin': kw['totalrainin'],             'wh65batt': kw['wh65batt'],             'freq': kw['freq'],             'model': kw['model'],             'whole_request': "self: %s ### kw: %s" % (self, kw),             'baro_rel_in_calc': round((float(kw['baromrelin']) * 33.86389), 2) + ((round((float(kw['baromabsin']) * 33.86389), 2) * 9.80665 * hasl) / (287 * (273 + round((float(kw['tempf']) - 32.0) * 5 / 9, 2) + (hasl / 400))))         }
Is it sufficient? And actually I am sending a processing data in odoo and I am making post request to homebridge with values.

I took a look at the "GoGEN ME 3900 WiFi" that you mentioned - I believe that it is a WH65 (tri-frame version), with a WS2910 console.  The WS console variants are not supported by this Ecowitt plugin at this time, which is why the indoor temp and humidity are not shown.  I intend to implement support for those consoles soon.
One quick thing you could try (since you are pre-processing the data) is to set stationtype to GW2000A_V2.2.4, and model to GW2000A - this will make it look like the Ecowitt console is a GW2000 which is currently supported by this plugin.  This will generate a new GW2000 accessory with the indoor temperature and humidity.
As far as the other fields that are not used -

passKey - This should be consumable, but the plugin assumes the key is all uppercase.  I can correct that behavior in the plugin.
tempinf and humidityin - Will be used when WS2900 is supported, or if you try the GW2000 hack as mentioned above.
tempinc - Not a standard ecowitt weather property so will not ever be used.
baromrelin and baromabsin - This should eventually be used when #2  is implemented.
baromrelinhpa,  baromabsinhpa, tempc, windspeedkmph, windgustkmph, maxdailygustkmph, whole_request, and baro_rel_in_calc - This are all non-standard ecowitt weather properties so will not ever be used.

Let me know if that fully answers everything. Thanks!


Clean support for cloud-init

Hyper-V and XenServer based cluster setup is currently manually copying cloud-init config and rebooting during node prep.  Although this works, it's not super clean and also requires DHCP to be enabled.
We're very close to being able to have cloud-init be able to use a temporary ISO mounted to the VM when it first starts and we already have the neon-node-prep-service configured for these node templates which we can potentially use as well.
So, let's do a deep dive into cloud-init in the future.

I'm going to punt on the deep dive and simply have the ISO copy the network related cloud-init settings to /etc/netplan/50-cloud-init.yaml.
The cool thing is that we will be able to do something fancier in the future is we wish without messing with the base templates.

Interesting.  Running blkid -c /dev/null -o export I see that the mounted DVD is mounted as TYPE=udf instead of TYPE=iso9660.

The Powershell script I have won't create anything besides a UDF formatted file.  Let's see if I can create a floppy disk image instead.

Here's another link: https://rwmj.wordpress.com/2013/12/10/creating-a-cloud-init-config-disk-for-non-cloud-boots/

I'm still not having much luck with cloud-init.  It keeps using DHCP (which is the fallback) no matter that I seem to do.  It's just too hard to understand what cloud-init is trying to do and it really doesn't seem to be optimized for the non-cloud use case anyway.
I'm going to try disabling the cloud-init service tomorrow and just try configuring the static IP directly via the new (and handy) floppy mounted script.

OK: Here's how this feature actually landed:

We added the neon-node-prep service that does a one-time check for a mounted virtual floppy drive with a custom setup script named neon-node-prep.sh.

The hypervisor node templates are configured with DHCP and cloud-init disabled.

When the node-prep-service sees this floppy/script, it executes the script passing the path to where the floppy is mounted as the script parameter.  The service creates the /etc/neon-node-prep file such that subsequent neon-node-prep service executions will do nothing.

The neon-cli creates a virtual floppy image (VFD) with the custom neon-node-prep.sh script.  This script handles configuring the static IP address.

We could also handle setting the sysadmin password here as well in the future as well.  This would be nice because it would mean that SSH would never be unsecured.  This would require changes to cluster setup, so we're not going to mess with this right now.
I'm pretty happy with this.  We're no longer consuming DHCP addresses when setting up clusters and this is actually a pretty flexible scheme which we could potentially use for clouds with minimal provisioning APIs.

DONE for v2.2.0


Profile changes

@veronicagg FYI.....

Should we be updating the gem versions at https://github.com/Azure-Samples/compute-ruby-manage-vm/blob/7436714193e6cd812da29dab88bf5e0df8857093/Gemfile#L16 ?


TypeError: Illegal invocation when registering with enpass

Environment

Enpass Password Manager: 6.9.3
Google Chrome: Version 127.0.6533.100 (Official Build) (arm64)
OS: macOS 14.5 (23F79)

Using the simple demo to register https://webauthn.passwordless.id/demos/basic
or bellow code hosted on a server
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <script type="module">
    import { client } from "https://cdn.jsdelivr.net/npm/<EMAIL_ADDRESS>
    async function registerUser() {
      await client.register({
        challenge: 'ZHNhamhoYWRzamhkc2E=',
        user: 'John Doe'
      });
    }

    // Expose the function to the global scope
    window.registerUser = registerUser;

  </script>
</head>
<body>
<button onclick="registerUser()">register</button>
</body>
</html>

result

    const publicKey = response.getPublicKey(); //<------cause illegal invocation error
    if (!publicKey)
        throw "Non-compliant browser or authenticator!"

Not sure if this is an enpass issue or webauthn issue, other type of authenticator, i.e. iCloud, yubikey, bitwarden works.
might be related

https://github.com/aws-samples/amazon-cognito-passwordless-auth/issues/94
https://1password.community/discussion/142554/passkey-implementation-issue-illegal-invocation

Hi @BennyThink . Indeed the problem lies with enpass (and a few other password managers).
Basically, citing the specs:

User agents MUST be able to return a non-null value for getPublicKey() when the credential public key has a COSEAlgorithmIdentifier value of:

-7 (ES256), where kty is 2 (with uncompressed points) and crv is 1 (P-256).
-257 (RS256).
-8 (EdDSA), where crv is 6 (Ed25519).


🚀  Post: Delete View

Adding an option for a user to delete a post.
Only the author of the post could delete it.
Used a DeleteView to create the desired view, edited the get_success_url function to return a success message with the new response, and to redirect the user to the feed.
Close #104

@paOmer The PR looks good. A delete button should be added, you can add it in this PR or deal with it in another PR.

@DeanBiton Will do in a new PR

Please rebase push


Native assets maybe broken on macOS Sonoma

The problem
Flutter cannot find symbols using ffi-native: that it can find when the ffi-native feature is disabled and the dylib is opened via
DynamicLibrary.open('path/to.dylib')

Background information

This process worked until I updated my work machine to macOS Sonoma
1.b. I don't think anything else has changed
I have updated Xcode to 15.0.1 and recompiled
Using the latest build from the master channel:

$ flutter doctor -v
[✓] Flutter (Channel master, 3.17.0-9.0.pre.10, on macOS 14.1.1 23B81 darwin-arm64, locale en)
    • Flutter version 3.17.0-9.0.pre.10 on channel master at /Users/craiglabenz/Dev/git/flutter/flutter
    • Upstream repository git@github.com:flutter/flutter.git
    • Framework revision 449908670a (32 minutes ago), 2023-11-14 13:49:26 -0500
    • Engine revision 603bdd48df
    • Dart version 3.3.0 (build 3.3.0-127.0.dev)
    • DevTools version 2.30.0-dev.4

  ...

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

The error:

Unhandled exception:
Invalid argument(s): Couldn't resolve native function 'text_classifier_create' in 'package:mediapipe_text/src/third_party/mediapipe/generated/mediapipe_text_bindings.dart' : dlsym(RTLD_DEFAULT, text_classifier_create): symbol not found.

Evidence the symbol exists:

$ nm -a libtext_classifier.dylib | grep text_classifier_create
0000000000006488 T _text_classifier_create

cc @dcharkes

Update: I don't know WHY I bumped into this all of the sudden now, but I realized my Asset.id value in build.dart had de--synced from the actual location of my bindings.
Asset(
  id: 'package:mediapipe_text/src/third_party/mediapipe/generated/mediapipe_text_bindings.dart',
  ...
)

Changing values to this in my build.dart file works. Previously in all of our conversation, it hadn't been obvious to me that this id value HAD to be the same import path as the bindings file.

Changing values to this in my build.dart file works. Previously in all of our conversation, it hadn't been obvious to me that this id value HAD to be the same import path as the bindings file.

The declarations in Dart code can actually specify an arbitrary asset id - it doesn't have to be the import uri of the library. Maybe our docs / examples should make that explicit. /cc @dcharkes

It wasn't working with an id value of package:mediapipe_text/src/mediapipe_text_bindings.dart 🤔

The declarations in Dart code can actually specify an arbitrary asset id - it doesn't have to be the import uri of the library. Maybe our docs / examples should make that explicit. /cc @dcharkes

We do have documentation:

https://api.dart.dev/stable/3.1.5/dart-ffi/Native-class.html
https://api.dart.dev/stable/3.1.5/dart-ffi/DefaultAsset-class.html
I've also added a note in https://github.com/dart-lang/site-www/pull/5347.

Unhandled exception:
Invalid argument(s): Couldn't resolve native function 'text_classifier_create'
in
'package:mediapipe_text/src/third_party/mediapipe/generated/mediapipe_text_bindings.dart' :
dlsym(RTLD_DEFAULT, text_classifier_create): symbol not found.

@dcharkes Maybe this error message could instead say:
Attempted to lookup `text_classifier_create` in asset <...> failed: No asset with id <...> found (available assets: ...).
Attempted to fallback to process lookup: No symbol in current process.

(Pushing for this, because I've also fallen into this problem (of build.dart using different asset id than the library) before)

Unhandled exception:
Invalid argument(s): Couldn't resolve native function 'text_classifier_create'
in
'package:mediapipe_text/src/third_party/mediapipe/generated/mediapipe_text_bindings.dart' :
dlsym(RTLD_DEFAULT, text_classifier_create): symbol not found.

@dcharkes Maybe this error message could instead say:
Attempted to lookup `text_classifier_create` in asset <...> failed: No asset with id <...> found (available assets: ...).
Attempted to fallback to process lookup: No symbol in current process.

Yeah. I beleive, we used to have a very long error message that would report on all three resolution strategies when resolution failed. But I removed that after getting feedback on the CL. Let's see if I can dig up that code.


Use Azure Disk encryption for Windows Failover Cluster

Hi,
we plan to implement a Windows Failover Cluster (FCI) 2016 on azure using CSV and Storage Space.
Our plan is to encrypt the VM with the parameter "-VolumeType OS" to prevent the data disk to be encrypted by azure. This will be done for both VMs in the cluster.
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sql/virtual-machines-windows-portal-sql-create-failover-cluster
For all data disks, we plan to use ADAccountOrGroup regarding to this link:
https://docs.microsoft.com/en-us/windows/security/information-protection/bitlocker/protecting-cluster-shared-volumes-and-storage-area-networks-with-bitlocker
Enable encryption on Windows VMs configured with Storage Spaces is a supported scenario. Also FCI is a supported setup on azure. But i found no information if the above combination (Windows FCI with CSV and Disk encryption) is also supported on azure.

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

ID: 0dbd38fa-89f0-320a-b517-b440be6927f9
Version Independent ID: 8b2eeee3-fb49-37e5-917d-f36bcd60ad29
Content: Azure Disk Encryption Prerequisites
Content Source: articles/security/azure-security-disk-encryption-prerequisites.md
Service: security
GitHub Login: @mestew
Microsoft Alias: mstewart

@kamellemann Thanks for your feedback! We will investigate and update as appropriate.

Thank you for taking the time to share your product and documentation feedback with us. Your input is valued because it helps us create the right documentation for our customers.
Due to the volume of issues in our queue, our policy is to close issues that have been inactive for the last 90 days. We hope to continue hearing from you.
Thank you.
#please-close


Implement Thompson Sampling as action selection strategy

First draft is implemented needs to be properly tested though

It is a little more tricky if it's supposed to be implemented in a clean way. The agent itself has to be given when calling it but the surrounding pipeline has to be defined beforehand. Also the agent itself should control how the prediction and certainty estimation are computed, not the hat which is sampling from it.


[WIP] Turkish translation

adds Turkish translation (work in progress)

Dear sturkmet72, unfortunately I didn't see your PR until now. Last week I have paid for a Turkish translation and its now live with Text fairy version 5.0.4.

hi renard, will you update the actual code? i am new to android programming but i would like to contribute to your project

Hi, thank you for your kind offer. In the last 7 years of working on Text Fairy less than 5 people offered to contribute. About 2 month ago I decided to not maintain TextFairy as open source anymore. I hope you understand

I see. Anyway if you send me files related turkish translation i can do reviewing and additional translation if needed. I wish Best success on your project.


Update openfort.md

Thanks for contributing, @joalavedra ! Good to merge.

This pull request includes significant updates to the docs/tools/wallets/openfort.md file to provide a more detailed and structured overview of Openfort's offerings. The changes focus on categorizing the core components of Openfort's platform and enhancing the descriptions of its features.
Key changes include:
Improved Structure and Detail:

Identity: Added detailed descriptions of the authentication service, private key management using MPC SSS, and smart contract wallets.
Cloud: Introduced sections on transaction management, gasless transactions, parallelization, and nonce management.
Ecosystems: Added information on middleware deployment, whitelabel onboarding, ecosystem wallets, and ecosystem policies.

These changes aim to provide a clearer understanding of Openfort's infrastructure and its benefits for developers in the web3 gaming space.


systemtests - infra tests update cpu limits

Type of change

Enhancement

Description
Adds to InfraTests the new usecase to set cpu requests and limits

Checklist

[ ] Update/write design documentation in ./documentation/design
[x] Write tests and make sure they pass
[ ] Update documentation
[ ] Check RBAC rights for Kubernetes / OpenShift roles
[x] Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
[ ] Reference relevant issue(s) and close them after merging
[ ] Update CHANGELOG.md

@enmasse-ci run tests profile=isolated testcase=InfraTestStandard,InfraTestBrokered

:heavy_check_mark: Test Summary :heavy_check_mark:
TEST_PROFILE: isolated
TEST_CASE: InfraTestStandard,InfraTestBrokered
TOTAL: 32
PASS: 32
FAIL: 0
SKIP: 0
BUILD_NUMBER: 971
BUILD_ENV: oc cluster up


problem about test_rgb_list.txt

Hi, I am so appreciated to your repositories.
However , there is something doubtable.
the label in the test_rgb_list.txt are all 0,I think it maybe wrong.

@travisCxy Sorry, I did not receive the email about the issue. The labels of the test datasets were not released when I released this git, so I assigned 0 to all the test labels.


Outline: handle lists within lists

Expected behavior
Lists within lists should have their hierarchy respected when converted to an outline.
This:
# Header

- Parent
  - Child 1
  - Child 2

Should be converted to:
- # Header
  - Parent
    - Child 1
    - Child 2

Current behavior

This is the current output of the outline command:
- # Header
  - Parent
  - Child 1
  - Child 2

Steps to reproduce

Run poetry run lsd outline path/to/file.md with the contents above.

Possible Solution
?

Yes, nested lists are very common. Are there workarounds?

Not yet. I didn't check the Markdown parser to see how nested lists are handled.

I'm checking out what pandoc can do. If not, I'll be back ;)


chore: update to new libp2p interface with types

libp2p-interfaces now supports via aegir types generation on release. This PR updates gossipsub to use it and fixes a couple of ts issues.
At the moment, it is using a branch from the PR below that has a prepare script to generate the build while we do not release it.
Needs:

[x] https://github.com/libp2p/js-libp2p-interfaces/pull/74
[x] Re-add src from .gitignore
[x]<EMAIL_ADDRESS>

cc @wemeetagain
This should be ready for review, but somehow CI has been broken in this PR/repo. Any ideas? Cannot access travis from here

Codecov Report

Merging #146 (429f83a) into master (299cfd9) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #146   +/-   ##
=======================================
  Coverage   92.00%   92.00%
=======================================
  Files           2        2
  Lines          25       25
=======================================
  Hits           23       23
  Misses          2        2

Continue to review full report at Codecov.

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


fix(grpc): change bytes type to hex string

Description
Change bytes type in grpc to hex string
Related issue(s)

Fixes #377

@Ja7ad
In tx package you added two methods: FromHex and Hex
The Hex is never used in implementation, FromHex is used only once.
Since tx is a big object, it make sense that we don't add From/To string to it.
So, remove these function.
Inside tests you can use: ts.DecodingHex for decoding hex easily.

@b00f done


Add UTF-8 encoding support for JSON read/write operations

This pull request addresses and improves the handling of JSON file reading, writing, and processing to ensure that Chinese localization data is parsed correctly. The main changes include:
Key Changes:
Added UTF-8 Encoding Support:
All file read and write operations now explicitly use UTF-8 encoding. This change is essential for handling non-ASCII characters (e.g., Chinese characters) without causing encoding errors or generating Unicode escape sequences in the JSON files.
Enhanced Unicode Handling in process_files:
Modified the process_files function to use json.dump with the ensure_ascii=False parameter, which prevents non-ASCII characters from being escaped. This ensures that Chinese characters and other non-ASCII text are correctly displayed in the generated JSON files.
Improved File I/O Operations:
Added encoding='utf-8' to all open statements to prevent potential UnicodeDecodeError and ensure compatibility with various language text files.
Improved error handling and added comments to clarify code behavior, making it easier to understand and maintain.
Reason for Changes:
These changes are necessary to ensure that Chinese localization data is correctly parsed and displayed, providing a better experience for users viewing localized content. The previous implementation caused Chinese characters to be escaped, making it difficult to read and understand the content in the JSON files.
Impact of Changes:
Improved Readability: Chinese and other non-ASCII characters will be correctly displayed in JSON files.
Increased Compatibility: Files with non-ASCII characters can be read and written without causing encoding errors.

Glad to have someone familiar with encoding on the team! I'm not able to review/test as I currently only have access to a crappy laptop during hurricane Milton. Anyways, does this also fix the issue seen below, where end lines aren't seen as end lines?

I'm not an expert on this topic either—I was just trying to fix the Chinese parsing issue, which is pretty common with Chinese characters.
The \n issue seems to be caused by how line breaks are getting parsed and displayed. It’s probably not related to the encoding, so it’d be better to open another issue ticket for it. Also, having a way to reproduce the problem would be helpful.

i encounter the same \n problem aprear in my tchinese result as well. let me try to fix the parser

the json parse issue should fix separately in another PR

@cycleapple let me know if you'd like me to run main.sh for you

Ran main.sh


[Question]: Stop nvim-cmp

Sometimes I'd like to turn off nvim-cmp and write without an auto-completion plugin. Is there a command for this at the moment to stop/start nvim-cmp if desired?

You can find the solution here
https://github.com/hrsh7th/nvim-cmp#how-to-disable-nvim-cmp-on-the-specific-buffer
Or just turn off autocompletion without disable cmp
https://github.com/hrsh7th/nvim-cmp#i-dislike-auto-completion
You can either

make a command
use autocmd with a specific filetype you don't want completion
bind to a key

Thank you!


Undefine __dead before redefining it if necessary

This fixes building for Android.

Hey @fornwall, thanks for contributing!
What is __dead defined as for Android? Would it make sense to instead keep the original definition? If so, maybe we should wrap the whole __dead combat section in an #ifndef __dead?

In <sys/cdefs.h>:
/* Delete pseudo-keywords wherever they are not available or needed. */
#ifndef __dead
#define __dead
#define __pure
#endif

While keeping that empty define would at least not break the build here, perhaps redefining is safer and better in general.

Thanks for finding that!
My understanding is that, if defined, __dead will let the compiler optimize functions that never return. Therefor, I think we want to preserve whatever value __dead has.
If it is not defined, however, we need to define it in order pick.c to compile.
I might be getting this completely wrong, though!
Maybe @mike-burns or @mptre know more about this?

My understanding is that, if defined, __dead will let the compiler optimize functions that never return. Therefor, I think we want to preserve whatever value __dead has.

Correct.

If it is not defined, however, we need to define it in order pick.c to compile.

Correct.

Ok, should I change the pull request to wrap the whole __dead-mangling block (line 8 to 18 in compat.h) with ifndef __dead?

@fornwall How about we remove line 15 and 16 and add this above #ifndef HAVE_REALLOCARRAY:
#ifndef __dead
#define __dead
#endif

That way we can explicitly define __dead to be what we want it to be on systems and compilers we know and let it fall back to whatever it defaults to on other systems that have it and to nothing on systems that don't.

Ah, I should have posted the original problem:
compat.h:14:0: error: "__dead" redefined

So the problem is that line 14 tries to redefine __dead without checking if it is already defined.

Oh, right, that makes sense! Let's wrap the whole thing.

I've updated this pull request with a ifndef __dead wrapping.

Thanks @fornwall, looks great! I'll merge this.

Merged as 6006a9b.


Unhelpful column order when importing XML files

When importing an XML file, the order of columns in the project does not respect the order in which the elements were encountered in the file.
To Reproduce
Steps to reproduce the behavior:
Import the following file:
<list>
  <element>
     <id>1234</id>
     <attrs>
        <attr>foo</attr>
        <attr>bar</attr>
     </attrs>
  </element>
  <element>
     <id>5678</id>
     <attrs>
        <attr>blob</attr>
        <attr>hi</attr>
     </attrs>
  </element>
</list>

Current Results
The id column is in second position, meaning that the records mode does not create records that are consistent with the original data.

Expected Behavior
By keeping the columns in the order they are encountered in the file, we get the id column at the beginning. While that is not required by the XML format, it is quite common that the identifier field appears first.
On this example file, we would get the following result instead:

Versions

Operating System: irrelevant
Browser Version: irrelevant
JRE or JDK Version: 11
OpenRefine: 3.6-SNAPSHOT

Additional context
I really thought we used to preserve column order, but I tried with 3.5 and 3.4 and they also have this problem. I am quite puzzled.

Oops, duplicate of #2863


Showing incorrect lines

If you choose Odenplan as station (siteid:1079) and then add line 43 (which is the "Pendel-tåg") you will also get line 4 (the bus) even thou you haven´t stated that. Do you have any fix for this?

Yes, this have been missed. Will be adressed in next update.

This now seems fixed in version 0.0.8, cannot repro for now atleast.


Assorted Static Analysis cleanup

Cleaning up assorted issues identified via static analysis.

@WardF Can you share the tool you have used? Maybe also the setup?

@t-b Sure thing!  There is no particular setup/configuration you need to use ahead of time; this can all be done pretty easily.
I'm working on OSX but the same instructions will work on Linux.  I believe there is a way to do this on Windows as well, but I have not explored that.
I'm using the clang static analyzer, scan-build.  You can use it with either configure or cmake, but I'm using cmake.  I'm sure you'll be able to adjust my example to configure if you want to.
From the top-level netcdf-c/ directory:
$ mkdir build-analyze && cd build-analyze
$ scan-build -o tmp cmake .. -DENABLE_TESTS=OFF    //Ignore any errors reported at this step.
$ scan-build -o tmp -V make -j 10

This final command will run the analysis; it will take longer than a normal build, by quite a bit, and my system chokes if I allocate too many threads to it (-j).  The -V command tells scan-build to open the results in a web browser automatically when it finishes.  This does not always work properly for me; in this case, you'll use the command-line tool scan-view, where you pass the path to the analysis results as the argument.

Further reference: http://clang-analyzer.llvm.org/

@WardF Thanks a lot!


reduce dependencias

This change is

17/12/30 11:40:00 WARN TestCase: Result: All tests done.
17/12/30 11:40:00 WARN TestCase: Result: Tests run: 1228  Tests succeeded: 351  Tests failed: 535  Tests skipped: 342

@zhexuany Why are there more test fails than previous?

17/12/30 21:50:52 WARN TestCase: Result: All tests done.
17/12/30 21:50:52 WARN TestCase: Result: Tests run: 21  Tests succeeded: 21  Tests failed: 0  Tests skipped: 0
17/12/30 21:59:09 WARN TestCase: Result: All tests done.
17/12/30 21:59:09 WARN TestCase: Result: Tests run: 1227  Tests succeeded: 828  Tests failed: 98  Tests skipped: 301
17/12/30 22:35:35 WARN TestCase: Result: All tests done.
17/12/30 22:35:35 WARN TestCase: Result: Tests run: 6841  Tests succeeded: 3766  Tests failed: 8  Tests skipped: 3067

@birdstorm PTAL


typo in term "GO:0098985 asymmetric, glutamateric, excitatory synapse"?

I think this term
GO:0098985 asymmetric, glutamateric, excitatory synapse
should be spelt:
GO:0098985 asymmetric, glutamatergic, excitatory synapse
?

Yep.  Thanks for spotting.  Fixed.


register beacon modified

Added support for register current beacon which has got beacon_id but if the server goes offline, the beacon is still online and server come back later,
It won't get any request on /register but on /path thus it won't register the current beacon.
Fixed that issue.

Yeh looks good mate


Migration generator template does not escape table names

I tried using this library out-of-the-box with our repo and everything worked great except the generated migrations were invalid. The template file isn't doing any escaping and since table names in MySQL are surrounded by backticks things get a little ugly.
Below is how I'm getting around it, but I'm sure there's a better way -- I have 0 experience with EJS.
Sorry I didn't fork the repo and do a PR or anything!
__number__-__fileName__.migration.ts__tmpl__:
import { MigrationInterface, QueryRunner } from 'typeorm';

export class <%= className %><%= number %>Migration implements MigrationInterface {
  name = '<%= className %><%= timestamp %>'

  public async up(queryRunner: QueryRunner): Promise<void> {
    <% for (const { query } of sql.upQueries) { %>
      await queryRunner.query('<%- query.replace(/'/g, "\\'") %>');
    <% } %>
  }

  public async down(queryRunner: QueryRunner): Promise<void> {
    <% for (const { query } of sql.downQueries) { %>
      await queryRunner.query('<%- query.replace(/'/g, "\\'") %>');
    <% } %>
  }
}

First, thank's for your return ! You're the first one !
I mostly use postgresql, so I never tried it with mysql ...
You're solution looks good, but i will look in the typeorm cli code, to see what they do in such case.
Don't worry for the fork, but you know it's really easy with github ;)
Thank's again !


Bump to the versions of ruby/bundler/omnibus etc. that chef uses

@manderson26  - Nothing in particular prompted this.  I just saw some really old version pins (especially bundler) that were used mid-last year that we had bumped up for chef.


Edit project-specific environment variables

https://github.com/fastlane/ci/blob/master/docs/use_cases/edit_project_env_variables.md
Related https://github.com/fastlane/ci/issues/439

Fixed with https://github.com/fastlane/ci/pull/768


Checking access token

I'm using the password grant, and successfully able to retrieve the access token. I then pass this in as a header after having ancapsulated my route into the oauth middleware.
The get request works perfectly without the oauth middleware until I wrap it around with it.
I get this:

no matter how I set the header, I keep getting this page. I have no other active middleware. What's happening?

I've done some more digging around and found out where the problem is occuring.

When I remove that method and set the accessToken like so:
$accessToken = $this->getRequest()->headers->get('Authorization');
Then the request is processed perfectly fine. So, this of course means there's a problem with the determineAccessTokenInHeader method, however I'm sure my solution, while it works, is not the long term solution.
Could one of you guys check into this matter now that I've pin pointed the location?

It looks like an issue with the oauth2-server package and not this wrapper.

@pavankataria Have you tried prefixing the token with Bearer?
The OAuth2 Header in other systems I've used should look something like this:
Authorization: Bearer TOKEN_HERE

@pavankataria Sorry, Just noticed this was a GET request! Ignore me

@vinkla @pavankataria
I think the format access_token is used when the token is appended to the query string. If you're using the headers, I'm pretty sure it needs to be in the format I mentioned above

@Synapse791 yes, you are correct. The access token header must be prefixed with the Bearar string.

This issue is fairly old and there hasn't been much activity on it. Closing, but please re-open if it still occurs.


Update React Native and Trying to Use Expo.

Hey so I'm trying to make my debugging easier by using latest version expo and updating React native.
I managed to get all the packages configured correctly and linked the only issue with I run is that I'm getting this issue.
[@RNC/AsyncStorage]: NativeModule: AsyncStorage is null.
Any ideas what's going on?
Here's my package.json
{
  "scripts": {
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "web": "expo start --web",
    "start": "react-native start",
    "test": "jest"
  },
  "dependencies": {
    "@react-native-community/async-storage": "^1.8.1",
    "@signalwire/react-native": "^1.0.1",
    "braces": ">=2.3.1",
    "expo": "~36.0.0",
    "mem": ">=4.0.0",
    "react": "~16.9.0",
    "react-dom": "~16.9.0",
    "react-native": "~0.61.4",
    "react-native-incall-manager": "^3.2.7",
    "react-native-vector-icons": "^6.6.0",
    "react-native-webrtc": "^1.75.3"
  },
  "devDependencies": {
    "@babel/core": "^7.5.4",
    "babel-jest": "^24.8.0",
    "jest": "^24.8.0",
    "lodash": "4.17.14",
    "metro-react-native-babel-preset": "^0.54.1",
    "react-test-renderer": "~16.9.0",
    "ws": ">=3.3.1"
  },
  "jest": {
    "preset": "react-native"
  },
  "private": true
}

Hi @Nashid95 , this is not related to the SignalWire react-native package but instead on the @react-native-community/async-storage with Expo.
I think you have to eject the App (so, not use Expo) to work with async-storage and react-native-webrtc.

So since expo currently does support webrtc.
there's no way of using your sdk with Expo?

The react-native-webrtc package doesn't support Expo.
From the README:

NOTE for Expo users: this plugin doesn't work unless you eject.


Dataproc: crop cluster ID that can't be longer than 49 chars

Test: https://batch.hail.populationgenomics.org.au/batches/5369

The beginning of the id will be dataproc-{uuid.uuid4().hex} in any case, which fully fits within 49 characters, so clashes are super unlickely.
Thanks!


When docker takes too long to install, ensureK8s fails

Is this a request for help?:
YES
Is this an ISSUE or FEATURE REQUEST? (choose one):
BOTH
What version of acs-engine?:
commit #d5df071

Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm)
Kubernetes 1.9.6
What happened:
Deployment fails while cluster is healthy
What you expected to happen:
Deployment OK
How to reproduce it (as minimally and precisely as possible):
Do you have any explanation?
From my understanding:
We wait 900 seconds for docker install (ensureDockerInstallCompleted), and even if it is not installed, no error is thrown, we continue with ensureDocker() that calls systemctlEnableAndCheck that will try for max 900 seconds to enable docker, If it is not enabled, we exit with error code 5, if it is enabled, we try to start it (900 1 60).
That meens that docker has 900+900+60 seconds to start while k8s has only 600 seconds.
In some cases, when docker takes too long to start, we fail ensureK8s() because 600 seconds are not enough anymore for kubectl cluster-info to respond.
Still we have the understand why docker tooks 198 seconds to be installed on the succeeded node and much more in the failing one. If I take a look at cloud-init-output.log, I can see:
apt-get update
W: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/dists/xenial/InRelease  Could not connect to azure.archive.ubuntu.com:80 (<IP_ADDRESS>), connection timed out
W: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease  Unable to connect to azure.archive.ubuntu.com:http:
W: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/dists/xenial-backports/InRelease  Unable to connect to azure.archive.ubuntu.com:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
Anything else we need to know:
@CecileRobertMichon @jackfrancis

@khaldoune we have been seeing a lot of those issues today, #2641 was just merged to ensure we wait long enough for Docker to be installed. This is due mainly to networking errors while running apt-get update in cloud-init (as shown by the log you pasted). Next step is to figure out why those errors are happening and how we can fix/improve it so we don't have to wait an hour for a working cluster....

@CecileRobertMichon On the same page for 1 and 2.
2 means that 10 minutes are sometimes not enough to get a response for kubectl cluster-info.
Increase to 15?

By the time ensureK8s() runs, everything should be installed so 10 minutes should be plenty enough. The issue we were seeing was ensureDocker() running in parallel with https://github.com/Azure/acs-engine/blob/af09bedff53456110935acdcef87ec19be9fedb4/parts/k8s/kubernetesagentcustomdata.yml#L176 which meant that ensureDocker() sometimes would timeout before Docker was installed. We increased the timeout to 60 minutes which should be enough to catch > 99.9% of network flakiness. Did I answer your question?

Thanks @CecileRobertMichon


DDPO training stuck after 14 step with 4 gpus in a single machine

I have been running the code following 2 steps:
accelerate config
accelerate launch examples/scripts/ddpo.py --hf-user-access-token **********************************

No idea where runs wrong at all

Does it work as expected if you run it on a single GPU?


My Mac OS is not showing in picker

I have the horizon edition i7 model and I tried the Big Sur efi but it doesn't allow me to boot into mac os recovery. I have attached the screenshot of what is happening.

Press Spacebar to show recovery


Create Latest Release for Every Merged Pull Request

What does this PR do?
This PR enables automatic latest releases. Whenever a new metadata is merged, we will update current latest tag (delete previous and create a new one) to contain that metadata.
To make this work, we must create initial latest tag with the corresponding release. Otherwise attempt to delete previous release will fail.

Why is this needed? Are you sure latest is even an accepted value for the version string? If we need more frequent releases, I'd vote for increasing the number of builds per month, for example to once every week.

Why is this needed? Are you sure latest is even an accepted value for the version string? If we need more frequent releases, I'd vote for increasing the number of builds per month, for example to once every week.

This kind of release can give users multiple benefits. For example:

Users don't need to wait two weeks to be able to use their metadata
Also users may want always new metadata in their projects in the development
Besides that if we make releases too frequent (weekly or even more frequent) we may unnecessarily spend github resources for  storing many releases with just 1-2 libraries difference

For the latest as a version string I am not sure. I tried it on a testing repo and Github accepts it. We can discuss a different name for this kind of releases. Maybe we can use something with SNAPSHOT annotation (or even only SNAPSHOT)?

If someone wants to you the latest metadata, wouldn't it be better if the consumer, the thing that downloads the metadata, uses this link rather than a latest tag that we need to manage manually: https://github.com/oracle/graalvm-reachability-metadata/archive/refs/heads/master.zip

So I think having a head/master/snapshot release is indeed useful. For example a user can download the archive and add it to their sources, then configure the plugin to use that zip.
The question that Fabio raises is whether we actually need to do that, given that there's already something similar provided out of the box by GitHub. The difference is that the content of the zip file is different: a metadata release contains directly, at the root of the zip file, the content of the metadata directory only (the rest of the repository is irrelevant for users). The zip provided by GitHub contains a top level directory named graalvm-reachability-metadata-master then the whole repository. Therefore it cannot be exploited directly by the user (or the plugins).

I would call it <name>-SNAPSHOT.zip, as this is what is the maven community uses. Since we are providing this for the JVM I feel it would immediately ring a bell to all the users.

LGTM


Playback speed?

Is there any plan to add a feature to control playback speed?  (Like you see in audio book apps)

Hi @catoldcui
Now you can use the low latency player mode to use SoundPool backend on Android.
Just change your code to AudioPlayer audioPlayer = new AudioPlayer(mode: PlayerMode.LOW_LATENCY)
Please let us know if you still have problems.

@feroult Thanks, great refactor of adding SoundPool. That makes it possible to implement rate control for android.
Previously, I implemented speed control for MediaPlayer, but not for SoundPool. Maybe could expand for SoundPool.
There is one complex logic in player status when setting rate for me. There will be 3 cases:

if rate == 0, the status will be paused.
if the url is not loaded, the player should cache the rate data, and the status will be stopped/nil.
if the url is loaded or the player is paused/playing, when setting rate and rate != 0, the player will auto play the audio source, and the status will be playing.

So for my implementation (Android , iOS), the results of settting rate call are 0, 1, 2, 3. I know, hard to understand... So is there any advice to simply this logic?
One fragile thought, is that possible not to control player status in dart side, instead, get it directly from native palyer?

Discussed further in #224: for iOS already fixed, for Android there is a patch coming: #304

Closing due inactivity

I think this is solved already


Add glossary [WIP]

Task linked: CU-yvek2d Add glossary

Matt, how do you feel about merging this in? I'd like to use the terms defined in this PR dynamically in tooltip definitions.

Works for me! I'll merge it now.


Task-7 Observe life stages does not specify location

The task 7 description omits the animal location, thus requiring agents to explore the environment until they find the named animal. This seems unnatural as we would not issue such a vague task in human-to-human conversation. This issue affects both variants of task 7.
https://github.com/allenai/ScienceWorld/blob/22a70ce40e23ac9ca28e03f5b6f176a2922a8f50/simulator/src/main/scala/scienceworld/tasks/specifictasks/TaskIdentifyLifeStages1.scala#L134
Despite the lack of location, SW sets the goal of the agent arriving at the animal's location:
https://github.com/allenai/ScienceWorld/blob/22a70ce40e23ac9ca28e03f5b6f176a2922a8f50/simulator/src/main/scala/scienceworld/tasks/specifictasks/TaskIdentifyLifeStages1.scala#L127
This code suggests that the animal location should have been defined. Suppose the task is meant not to specify the location. In that case, the goal above is nonsensical since any agent (human or machine) would arrive at the location by exploration rather than intentionally. While most animals in task 7 are what one would expect to live outside (e.g., elephant, wolf), some can be pets (e.g., parrot, turtle) and thus, would be expected to live somewhere in the house.

Hi @manuelciosici ,
While some tasks do specify where materials are (e.g. the electrical tasks usually let the agent know that the items are in the workshop), some don't both as an explicit test of the agent's ability to explore, as well as its knowledge of common-sense locations (e.g. outside is a high-probability location for animals, a green house is a high-probability location for plants, etc).  So these don't appear to be issues, and are by design.
For the subgoals, there are frequently extended subgoals to help nudge reinforcement learning agents towards a correct solution, even if information regarding those goals isn't explicitly provided in the task description.  For example, here, being in the same location as an observable task-critical object (like an animal for Task 7) is frequently a subgoal, so that the agent has some small reward signal to help learn that there's something important present.  Another way of looking at this is that (if I remember correctly) the subgoals provide a small reward for placing e.g. water in a container for the water boiling task variation, even though it isn't explicitly mentioned that liquids need to be in containers in the task description.  These subgoals can be though of as both small tests and small rewards for an agent using the appropriate domain-specific and commonsense-reasoning skills to solving some small part of the task in a (usually) canonical way.
best wishes,
Peter

@PeterAJansen Thank you for the explanation. It makes sense not to specify the location as a test of the agent's common-sense knowledge.
I just noticed that the location for plants is still outside and not green house:
https://github.com/allenai/ScienceWorld/blob/22a70ce40e23ac9ca28e03f5b6f176a2922a8f50/simulator/src/main/scala/scienceworld/tasks/specifictasks/TaskIdentifyLifeStages2.scala#L26
Is that also intentional?

While we are discussing locations, is green house vs. greenhouse (dictionary) intentional or a typo?

@manuelciosici plant tasks typically happen outside or in the green house, but the simulator is designed to be generic, so it is not limited to this.  An agent could (I believe) take a cup from the kitchen, go outside, take the shovel, dig a hole, fill the cup with dirt, put a seed in the cup, place it in the art studio, frequently give it water, and (eventually) a plant should grow.  What hints that are provided in the task description are just meant to be occasional hints for canonical solutions, but many solutions are possible.
It looks like the misspelling green house might have made it into the simulation, and we'll have to fix that in the next version.

Typo is fix in https://github.com/allenai/ScienceWorld/pull/26


rad patch throws Patch::author: at least one revision is present

When following the instructions to create a patch with the following example https://github.com/radicle-dev/heartwood/blob/master/radicle-cli/examples/rad-patch.md
The patch creation works fine
➜  patch-tests git:(master) rad patch open

🌱 Creating patch for patch-tests

ok Looking for HEAD (f5afe97) in storage...
ok Analyzing remotes...

z6MkhfNHyujNn6Rrhc74AhyTboVyinvLHs6wxntuRA6S9h2u/master (6cc8889) <- z6MkmzR…ymd6fz6/master (f5afe97)
1 commit(s) ahead, 0 commit(s) behind

f5afe97 Add some text to readme

╭─ Add some text to readme ───────

Here goes the patch description

Will try to write some markdown

# A title

## Some subtitles

- lists
- of
- items

╰─────────────────────────────────

 ⤷ Continue? yes

ok Patch ef76cc741530270740812c0a086614b66e9e2d31 created 🌱

But if I want to see the created patch with rad patch I get the following error output
It seems it is somehow related to having a description that has multiple lines of description, since a patch with only one line works fine
➜  patch-tests git:(master) rad patch
thread 'main' panicked at 'Patch::author: at least one revision is present', radicle/src/cob/patch.rs:197:14
stack backtrace:
   0: rust_begin_unwind
             at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/panicking.rs:575:5
   1: core::panicking::panic_fmt
             at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/core/src/panicking.rs:64:14
   2: core::panicking::panic_display
             at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/core/src/panicking.rs:135:5
   3: core::panicking::panic_str
             at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/core/src/panicking.rs:119:5
   4: core::option::expect_failed
             at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/core/src/option.rs:1879:5
   5: core::option::Option<T>::expect
             at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/core/src/option.rs:741:21
   6: radicle::cob::patch::Patch::author
             at /home/sebastinez/projects/heartwood/radicle/src/cob/patch.rs:193:10
   7: radicle_cli::commands::rad_patch::list::run
             at /home/sebastinez/projects/heartwood/radicle-cli/src/commands/patch/list.rs:35:12
   8: radicle_cli::commands::rad_patch::run
             at /home/sebastinez/projects/heartwood/radicle-cli/src/commands/patch.rs:203:13
   9: core::ops::function::FnOnce::call_once
             at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/core/src/ops/function.rs:507:5
  10: <F as radicle_cli::terminal::Command<A,C>>::run
             at /home/sebastinez/projects/heartwood/radicle-cli/src/terminal.rs:57:9
  11: radicle_cli::terminal::run_command_args
             at /home/sebastinez/projects/heartwood/radicle-cli/src/terminal.rs:114:11
  12: rad::run_other
             at /home/sebastinez/projects/heartwood/radicle-cli/src/main.rs:218:13
  13: rad::run
             at /home/sebastinez/projects/heartwood/radicle-cli/src/main.rs:93:17
  14: core::ops::function::FnOnce::call_once
             at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/core/src/ops/function.rs:507:5
  15: core::result::Result<T,E>::and_then
             at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/core/src/result.rs:1372:22
  16: rad::main
             at /home/sebastinez/projects/heartwood/radicle-cli/src/main.rs:22:11
  17: core::ops::function::FnOnce::call_once
             at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/core/src/ops/function.rs:507:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Duplicate of #351


Add $dateAdd operator

Add $dateAdd date operator.
Does not support 'timezone' field.
Had to use python-dateutil for adding months to dates since it is relative and not an absolute value (e.g. 31/01 plus one month is 28/02)

@JPDevelop @pcorpet is there anything I can do to help this merge? I'm going to work around not having this, but sure would love to remove my workaround.


Make tests deterministics

~This depends on https://github.com/datafuselabs/openraft/issues/204 and https://github.com/datafuselabs/openraft/issues/205.~
This depends on:

#204
#205

Currently, tests use real-time timers, which quite often cause non-deterministic results and as a consequence test failures (false positives).
Instead, create a test Runtime, which abstracts the "real" runtime and timing and provides a top-level simple executor "ticking" the simulated time. I.e., it will run the main Future of the test to the completion by polling it repeatedly and incrementing simulated time between polls (which indicate a blocking situation) by some sensible amount, such as 10ms.
Timeouts would be driven by the test Runtime timer instead of real-time. This way, it's possible to simulate all kinds of situations easily and deterministically prove that the algorithms properly resolve various error situations.
Aside from that, since tests won't be running in real-time, I estimate they will be two orders of magnitude faster (i.e., tens of milliseconds instead of seconds).

I just changed this post a bit to make it easy to read:D

Instead, create a test Runtime, which abstracts the "real" runtime and timing and provides a top-level simple executor "ticking" the simulated time. I.e., it will run the main Future of the test to the completion by polling it repeatedly and incrementing simulated time between polls (which indicate a blocking situation) by some sensible amount, such as 10ms.

Great Idea!!!
In short, replace tokio runtime with a customized one, right?

Timeouts would be driven by the test Runtime timer instead of real-time. This way, it's possible to simulate all kinds of situations easily and deterministically prove that the algorithms properly resolve various error situations.

One of the timeout values is generated randomly:
https://github.com/datafuselabs/openraft/blob/46644c8409c7dff627c991cc65849507ad5265b3/openraft/src/core/mod.rs#L425-L435
I guess in the design with the Runtime for test, this has to be replaced with a method of the runtime, right?
Such as runtiiie.rand_sleep(Duration::from_millis(10)), to make it deterministic.

Aside from that, since tests won't be running in real-time, I estimate they will be two orders of magnitude faster (i.e., tens of milliseconds instead of seconds).

:DDD

In short, replace tokio runtime with a customized one, right?

Yes. There are just a couple primitives that are needed in the implementation. Implementing them trivially for test purposes will allow to make tests deterministic.

One of the timeout values is generated randomly
I guess in the design with the Runtime for test, this has to be replaced with a method of the runtime, right?

I know. Yes, that one can be also abstracted through the runtime and made deterministic for tests.

I just changed this post a bit to make it easy to read:D

Hehe :-). I'm not a GitHub expert, so whatever fits the best.
Surely there is a guide how to make such nice links there, but I didn't actively search for it yet.

Hehe :-). I'm not a GitHub expert, so whatever fits the best.
Surely there is a guide how to make such nice links there, but I didn't actively search for it yet.

I did not read the doc, but one day I found github turns - blabla #<issue_number> into a link with the text of the issue title, which is handy to use.:DDD


Merge flexcpu thread constructors into one

Add a boolean parameter, full_system and allow process to be null.

SimpleThread has 2 constructors: the full system constructor doesn't have use_kernel_stat but doesn't have process, while the SE constructor doesn't have use_kernel_state. I think it would be better to have two constructors to keep the flexcpu_thread constructors consistent with simple_thread's ones.

Ok, fine :/. It's ugly, but I see what you're saying :).


doublerowed xls-file

Hi, tarunbatta!
Generating excel-file from html-table  I get excel-table with rows like if I used style "rowspan='2'" but I do not use it. How to fix this? Thanks beforehand!

can you please share a plunker for the same?


Windows 10 scaling problem

Appreciate the issue being raised.  I don't use desktop scaling in my projects or have a high DPI screen to test on so I will leave this as "needing developer".  If anyone wants to tackle this I'd happily accept a PR.

I had the same problem as the OP, but I was able to solve it without an actual code change, but a config change.
The solution is described here: https://docs.microsoft.com/en-us/dotnet/desktop/winforms/high-dpi-support-in-windows-forms?view=netframeworkdesktop-4.8
Basically all I did was add
<System.Windows.Forms.ApplicationConfigurationSection>
  <add key="DpiAwareness" value="PerMonitorV2" />
</System.Windows.Forms.ApplicationConfigurationSection>

to the app.config and change the .NET version to 4.7.2.  Then it works... per the article.


Filled missing setting locale.

Hi @andrechristikan
Setting locale has been filled.
I found an unimplemented function getByName in the setting service.
I'll try it and open another pr.

Thanks bro @PSheon


self check routine

My streak broke at 244 days but I started a new streak, and at 25 days now.
I traveled back to Nigeria last month and the two days journey broke my streak of 244 days.

let's call that pause and continue the streak. So you are near to 1 year!


Lightweight client

Is it possible to write a more lightweight client that implements a tripwire type detection. Im thinking in terms of a periodic scan of the file system, comparing hashes and then passing suspect files via the network to a laikaboss host. webscan.py still requires a lot of libraries to be installed.

Yes! It's an undocumented feature and admittedly has not been thoroughly tested, but we provide a cross platform interface that uses JSON for serialization rather than python's pickle. We are also planning to add more interface types in the future that are even more lightweight (JSON is pretty heavy for serialization).
Here is an example python client the uses JSON for serialization. You could easily extend this example to work on other platforms/languages. The only hard requirement is ZeroMQ for message transport.
#!/usr/bin/python

import zmq
import base64
import json
import sys

REQ_TYPE_PICKLE = '1'
REQ_TYPE_PICKLE_ZLIB = '2'
REQ_TYPE_JSON = '3'
REQ_TYPE_JSON_ZLIB = '4'

fn = sys.argv[1]
uniqID = sys.argv[2]

request = { 'source' : 'python-json-client',
             'buffer' : base64.b64encode(open(fn).read()),
             'filename' : fn,
             'uniqID' : uniqID,
             'extMetaData' : { 'testing' : uniqID }
           }

jRequest = json.dumps(request)

ctx = zmq.Context()

client = ctx.socket(zmq.REQ)
poll = zmq.Poller()
poll.register(client, zmq.POLLIN)

client.connect('tcp://localhost:5558')

# The first field tells the server to expect json. If you had a 1 in here it would expect a python pickled object
# The second field is a blank delimter field, required by zmq
# You could compress the JSON with zlib if you choose-- just choose REQ_TYPE_JSON_ZLIB instead
client.send_multipart([REQ_TYPE_JSON, '', jRequest])

socks = dict(poll.poll(None))

if socks.get(client) == zmq.POLLIN:
    # Recieve reply
    reply = client.recv()

result = json.loads(reply)

print json.dumps(result, indent=4, separators=(',', ': '), ensure_ascii=False)

Does this help?


Add Python 3 support

The aim is to support both Python 2 (>=2.6) and Python 3 (>=3.2) with a single codebase.
Imported from Bitbucket issue 37,  created by apdavison on 07-11-2010 at 09:49, last modified: 08-30-2014 at 16:37

This is a duplicate of #40, created during the migration to Github


Support generics/template classes

Currently the plugin does not decorate template classes with their template parameters.
This should be possible. See:
https://plantuml.com/class-diagram#b09695ba6d76313d
https://forum.plantuml.net/6253/support-for-generics-templates

This was more complicated than I thought. Added in 0.2.2. 🎉


Why compiled envoy occupy much  hard disk

I spend about 5 hour compile binary and test envoy,then I look at the hard disk usage.
this is the result:
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda         79G   70G  4.8G  94% /
devtmpfs        1.9G     0  1.9G   0% /dev
tmpfs           1.9G     0  1.9G   0% /dev/shm
tmpfs           1.9G  8.5M  1.9G   1% /run
tmpfs           1.9G     0  1.9G   0% /sys/fs/cgroup
tmpfs           379M     0  379M   0% /run/user/0
I bought a vps today,so 70G is used by envoy almost. Some advices  that  compile don't spend so much time and  use so much storage can give me.

If you run:
./ci/run_envoy_docker.sh './ci/do_ci.sh bazel.release ',test code will be compiled and be tested,so compile will take about 5 hour and 70G will be used.. Howerev using  this compile option './ci/run_envoy_docker.sh './ci/do_ci.sh bazel.debug.server_only' ,1 hour is taken and 5G is used.


Hive metastore support?

Is there a way to connect to Hive metastore to enable Hive quires agains existing Hive tables such as SparkHiveContext does? https://spark.apache.org/docs/latest/api/java/org/apache/spark/sql/hive/HiveContext.html
Is it possible not only to read but also to write to Hive metastore like execute "CREATE TABLE" or "ALTER TABLE" statements?

I would like to know any existing Golang API to connect to Hive.

@chrislusf - can https://github.com/derekgr/hivething be used?

This hive lib can query, but in a streaming way. Ideally something can do concurrent queries.

Ideally, it would be great to have a hive metarepo to control datasets in relational way, but have kind of an OLAP engine(similar to Apache Druid) as for example cockroachdb exposes a Postgres API for OLTP.


#30279 - Event detection UI and QR updates

For sc ticket# 30279

nodejs/advanced/QR Settings Share/ui/tsconf

files paths with spaces are fine here. the solutions builds. I have had it available and working in the dev library


CC_CHECK shows errors when attempting to apply section-forcing attributes on MacOS

src/buffers/buffer1.c:4:27: error: argument to 'section' attribute is not valid
      for this target: mach-o section specifier requires a segment and section
      separated by a comma
u8 Heap_bufferp[UNK_SIZE] BSS;
                          ^
include/attributes.h:86:40: note: expanded from macro 'BSS'
#define BSS    __attribute__((section (".bss")))
                                       ^
1 error generated.

Possible solutions:

Make the macros trivial for CC_CHECK
use this sort of idea:

#if defined(__APPLE__) && defined(__MACH__)
 #define FORCE_BSS_SECTION __attribute__((section ("__DATA,__bss")))
#else
 #define FORCE_BSS_SECTION __attribute__((section (".bss")))
#endif

(the first is probably better).

Seems like this issue was fixed a few months ago.
I'll close the PR. Feel free to reopen it if this is still an issue


mbMAP: map dynamic resizing

there are some middle size views where the map is too zoomed in, and it doesnt resize when you resize your window. I'm going to take a stab at this.

The initial map view is determined largely by the container it's in.
We could make a global function that's always listening for a browser resize and re-run map.flyTo(view); function every resize event.


Quick start fails on step  ERROR [demo 34/34] RUN yarn build

Description
Following the instructions from https://github.com/grafana/faro-web-sdk/tree/main/demo
on Linux Mint 21
docker compose --profile demo up -d

output from the last step
 => CACHED [demo 33/34] RUN yarn clean                                                                                0.0s
 => ERROR [demo 34/34] RUN yarn build                                                                                22.6s
------
 > [demo 34/34] RUN yarn build:
0.324 yarn run v1.22.19
0.352 $ lerna run build
0.606 lerna notice cli v6.4.1
0.846
0.847  >  Lerna (powered by Nx)   Running target build for 6 projects:
0.847
0.847     - @grafana/faro-demo
0.847     - @grafana/faro-instrumentation-fetch
0.847     - @grafana/faro-core
0.847     - @grafana/faro-react
0.847     - @grafana/faro-web-sdk
0.847     - @grafana/faro-web-tracing
0.847
0.847
5.563
5.563 > @grafana/faro-core:build
5.563
$ run-s build:*
$ node bin/genVersion.js
$ run-p build:compile:*
$ tsc --build tsconfig.cjs.json
$ tsc --build tsconfig.esm.json
$ run-s build:compile:bundle:*
$ rollup -c ./rollup.config.js
5.563
5.563 ./src/index.ts → ./dist/bundle/faro-core.iife.js...
5.563 created ./dist/bundle/faro-core.iife.js in 2.4s
$ rimraf dist/bundle/dist
9.104
9.104 > @grafana/faro-instrumentation-fetch:build
9.104
$ run-s build:*
$ run-p build:compile:*
$ tsc --build tsconfig.esm.json
$ run-s build:compile:bundle:*
$ tsc --build tsconfig.cjs.json
$ rollup -c ./rollup.config.js
9.104
9.104 ./src/index.ts → ./dist/bundle/faro-instrumentation-fetch.iife.js...
9.104 (!) Generated an empty chunk
9.104 "index"
9.104 created ./dist/bundle/faro-instrumentation-fetch.iife.js in 862ms
$ rimraf dist/bundle/dist
10.51
10.51 > @grafana/faro-web-sdk:build
10.51
$ run-s build:*
$ run-p build:compile:*
$ tsc --build tsconfig.cjs.json
$ run-s build:compile:bundle:*
$ tsc --build tsconfig.esm.json
$ rollup -c ./rollup.config.js
10.51
10.51 ./src/index.ts → ./dist/bundle/faro-web-sdk.iife.js...
10.51 created ./dist/bundle/faro-web-sdk.iife.js in 2.9s
$ rimraf dist/bundle/dist
16.51
16.51 > @grafana/faro-web-tracing:build
16.51
$ run-s build:*
$ run-p build:compile:*
$ tsc --build tsconfig.esm.json
$ tsc --build tsconfig.cjs.json
$ run-s build:compile:bundle:*
$ rollup -c ./rollup.config.js
16.51
16.51 ./src/index.ts → ./dist/bundle/faro-web-tracing.iife.js...
16.51 (!) "this" has been rewritten to "undefined"
16.51 https://rollupjs.org/guide/en/#error-this-is-undefined
16.51<EMAIL_ADDRESS>16.51 14:  * limitations under the License.
16.51 15:  */
16.51 16: var __extends = (this && this.__extends) || (function () {
16.51                      ^
16.51 17:     var extendStatics = function (d, b) {
16.51 18:         extendStatics = Object.setPrototypeOf ||
16.51 ...and 1 other occurrence
16.51<EMAIL_ADDRESS>16.51 14:  * limitations under the License.
16.51 15:  */
16.51 16: var __extends = (this && this.__extends) || (function () {
16.51                      ^
16.51 17:     var extendStatics = function (d, b) {
16.51 18:         extendStatics = Object.setPrototypeOf ||
16.51 ...and 1 other occurrence
16.51<EMAIL_ADDRESS>16.51 14:  * limitations under the License.
16.51 15:  */
16.51 16: var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
16.51                      ^
16.51 17:     function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16.51 18:     return new (P || (P = Promise))(function (resolve, reject) {
16.51 ...and 3 other occurrences
16.51
16.51 ...and 58 other files
16.51 (!) Circular dependencies
16.51<EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>16.51<EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>16.51<EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>16.51<EMAIL_ADDRESS>-><EMAIL_ADDRESS>-><EMAIL_ADDRESS>16.51 created ./dist/bundle/faro-web-tracing.iife.js in 3.9s
$ rimraf dist/bundle/dist
21.39
21.39 > @grafana/faro-react:build
21.39
$ run-s build:*
$ run-p build:compile:*
$ run-s build:compile:bundle:*
$ tsc --build tsconfig.esm.json
$ tsc --build tsconfig.cjs.json
$ rollup -c ./rollup.config.js
21.39
21.39 ./src/index.ts → ./dist/bundle/faro-react.iife.js...
21.39 created ./dist/bundle/faro-react.iife.js in 2.9s
$ rimraf dist/bundle/dist
22.56
22.56 > @grafana/faro-demo:build
22.56
$ run-p build:*
$ vite build --outDir dist/client
$ vite build --ssr src/server/index.ts --outDir dist/server
22.56 vite v4.3.9 building SSR bundle for production...
22.56 vite v4.3.9 building for production...
22.56 ✓ 0 modules transformed.
22.56 ✓ built in 14ms
22.56 [vite:esbuild] parsing /usr/app/experimental/instrumentation-xhr/tsconfig.esm.json failed: Error: ENOENT: no such file or directory, open '/usr/app/experimental/instrumentation-xhr/tsconfig.esm.json'
22.56 file: /usr/app/demo/src/server/index.ts
22.56 error during build:
22.56 TSConfckParseError: parsing /usr/app/experimental/instrumentation-xhr/tsconfig.esm.json failed: Error: ENOENT: no such file or directory, open '/usr/app/experimental/instrumentation-xhr/tsconfig.esm.json'
22.56     at parseFile$1 (file:///usr/app/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:13456:11)
22.56     at async Promise.all (index 5)
22.56     at async parseReferences (file:///usr/app/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:13476:22)
22.56     at async Promise.all (index 1)
22.56     at async parse$f (file:///usr/app/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:13435:5)
22.56     at async loadTsconfigJsonForFile (file:///usr/app/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:14056:24)
22.56     at async transformWithEsbuild (file:///usr/app/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:13741:36)
22.56     at async Object.transform (file:///usr/app/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:13866:32)
22.56     at async transform (file:///usr/app/node_modules/vite/node_modules/rollup/dist/es/shared/node-entry.js:23582:16)
22.56     at async ModuleLoader.addModuleSource (file:///usr/app/node_modules/vite/node_modules/rollup/dist/es/shared/node-entry.js:23788:30)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
22.56 transforming...
22.56 ERROR: "build:server" exited with 1.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
22.56
22.56
22.56
22.56  >  Lerna (powered by Nx)   Running target build for 6 projects failed
22.56
22.56    Failed tasks:
22.56
22.56    - @grafana/faro-demo:build
22.56
22.58 error Command failed with exit code 1.
22.58 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
------
failed to solve: process "/bin/sh -c yarn build" did not complete successfully: exit code: 1

thanks for the report - I have reproduced this issue and am working on it now.

hi @barrykaplan I just merged a fix to main - please confirm that works for you and I will close this issue :)

Thanks! The original error is resolved. Now I am seeing the below. I'll look at it later today to see if its my problem.
 => [demo 37/37] RUN yarn build                                                                                31.0s
 => [demo] exporting to image                                                                                18.2s
 => => exporting layers                                                                                18.2s
 => => writing image sha256:a53ba3985cbdfa0cdff9a71b9e3a809e752f9ac829f235f9d8b7b1f520285adf                                                                                0.0s
 => => naming to docker.io/library/faro-web-sdk-demo                                                                                0.0s
[+] Running 12/13
 ✔ Container faro-web-sdk_tempo_1     Recreated                                                                                0.1s
 ✔ Container faro-web-sdk_loki_1      Recreated                                                                                0.1s
 ✔ Container faro-web-sdk_cortex_1    Recreated                                                                                0.1s
 ✔ Container faro-web-sdk_grafana_1   Recreated                                                                                0.1s
 ✔ Container faro-web-sdk_database_1  Recreated                                                                                0.1s
 ✔ Container faro-web-sdk_agent_1     Recreated                                                                                0.0s
 ✔ Container faro-web-sdk-demo-1      Created                                                                                5.4s
 ✔ Container faro-web-sdk-loki-1      Started                                                                                0.5s
 ✔ Container faro-web-sdk-tempo-1     Started                                                                                0.5s
 ✔ Container faro-web-sdk-cortex-1    Started                                                                                0.5s
 ✔ Container faro-web-sdk-grafana-1   Started                                                                                0.6s
 ✔ Container faro-web-sdk-database-1  Started                                                                                0.7s
 ⠋ Container faro-web-sdk-agent-1     Starting                                                                                1.0s
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/bin/agent": stat /bin/agent: no such file or directory: unknown

@barrykaplan do you have the grafana agent installed on your machine? and perhaps have you had it installed for a while now?
I get the same error. recently the agent team changed the agent installer/script to place that binary at /bin/agent rather than the previous /bin/grafana-agent.
I will add a note to the docs that some folks with the previous installation will need to change that line to /bin/grafana-agent. I am sure there is a better way, but I remember spending a bit of time not being able to get it to work... let me know if this unblocks you.

Yes, updating docker-compose.yaml to use /bin/grafana-agent did the trick. I haven't yet got to verify that everything is working, but all the services started up.
thanks!

Seems the issue is solved, will close it.
Thanks @barrykaplan for reporting and @eskirk for fixing it 🙏


updated for 1.0.5 compatibility at authors suggestion (he didn't seem to

want to do it)
he did confirm it should be ok

Can you take a look, I'm not sure what is wrong now

he didn't seem to want to do it

That doesn't seem to be true, else https://github.com/KSP-CKAN/NetKAN/pull/2855 wouldn't exist.
release_status will be scraped from KerbalStuff and shouldn't be hardcoded. The x_netkan_override should not be removed. You've created an install stanza and specified a destination but failed to specify a source (file or find)

His email to me said:

*linuxgurugamer
<http://forum.kerbalspaceprogram.com/index.php?/profile/129964-linuxgurugamer/>*

Could you at least mark it as 1.0.5 compatible in CKAN?

  * 17 hours ago
    <http://forum.kerbalspaceprogram.com/index.php?/profile/107061-duodex/&status=1412&reply=290&type=status>
  *
    0
    <http://forum.kerbalspaceprogram.com/index.php?/profile/107061-duodex/&status=1412&reply=290&type=reply&do=showRep>
  * Report
    <http://forum.kerbalspaceprogram.com/index.php?/profile/107061-duodex/&status=1412&reply=290&type=reply&do=report>

DuoDex
http://forum.kerbalspaceprogram.com/index.php?/profile/107061-duodex/
DuoDex
http://forum.kerbalspaceprogram.com/index.php?/profile/107061-duodex/
I'm sure anyone can do that:)

So it seemed that he wasn't going to do it, so I tried.
Thanks for fixing it
On 12/23/15 10:59 AM, Matthew wrote:

he didn't seem to want to do it

That doesn't seem to be true, else #2855
https://github.com/KSP-CKAN/NetKAN/pull/2855 wouldn't exist.
|release_status| will be scraped from KerbalStuff and shouldn't be
hardcoded. The |x_netkan_override| should not be removed. You've
created an |install| stanza and specified a destination but failed to
specify a source (|file| or |find|)
—
Reply to this email directly or view it on GitHub
https://github.com/KSP-CKAN/NetKAN/pull/2858#issuecomment-166930772.


crashes on server join 1.8.9

So i set up all the things with the skin and what have you, tested it in singleplayer, but when i go to join hypixel i crash.

and also a list of the mods i have installed

Already fixed, but hasn't been released yet. 1.4.3 will contain the fix.

Already fixed, but hasn't been released yet. 1.4.3 will contain the fix.

awesome, thank you. for now 1.3.0 seems to be stable on servers :)

1.4.3 was released, containing this fix.


Searches are incomplete

For example, searching for the two words 'firebase' and 'database' doesn't return the firebase_database plugin despite this containing those words in it's description.

The analysis of firebase_database failed, because pub upgrade was not completed in the one-minute timeout. Because of that it has no platform classification, and the platform filter you've added doesn't yield it as a result. If you remove the platform filter, it is in the results.

Why do we run pub upgrade?

For search (i.e. text indexing of package name, description, readme/changelog) itself I don't think we need to involve pub. Maybe we can avoid involving pub if we do.
For checking whether a package has warnings/errors and ranking it lower if it has (what we can analysis), we need to involve pub. Maybe we can just increase the timeout, since 1 minute doesn't cut it: Even I have pub gets which take much longer, in particular with an empty PUB_CACHE.
@isoos This brings up an interesting point: It would be nice if we could get notified about failed analysis runs. I guess it should show up in the logs as warnings, but usually we only log at the last few days. Maybe we should add a script, which checks the DB for failed analysis runs and we can investigate them?

Btw. the timeout could be increased, but I'm not sure what kind of limit we would like to enforce. I remember that at some point it was way over 5 minutes.
The same long processing affects the end-users as well, and I think addressing this, which is a special case of this would yield improvements not only for us, but for every developer.

I just ran flutter packages upgrade against /plugins/packages/firebase_database on my MacBook, and that tool 7.9 seconds. Why is it timing out on the bot?

I just ran flutter packages upgrade against /plugins/packages/firebase_database on my MacBook, and that took 7.9 seconds. Why is it timing out on the bot?

Similar experience here in local env. I've got two theories:

It is possible that one of the dependencies was upgraded with a new set of constraints which makes the resolution faster.
We may have had a transient network problem, and we should retry it.

@kevmoo / @mkustermann: could you please re-schedule it for analysis? This needs to be run in the prod environment:
dart bin/tools/notify_service.dart analyzer firebase_database 0.1.2

Done! (I think...that tool should print some sort of status...)
On Fri, Oct 27, 2017 at 8:04 AM, István Soós<EMAIL_ADDRESS>wrote:

I just ran flutter packages upgrade against /plugins/packages/firebase_database
on my MacBook, and that took 7.9 seconds. Why is it timing out on the bot?
Similar experience here in local env. I've got two theories:

It is possible that one of the dependencies was upgraded with a new
set of constraints which makes the resolution faster.
We may have had a transient network problem, and we should retry it.

@kevmoo https://github.com/kevmoo / @mkustermann
https://github.com/mkustermann: could you please re-schedule it for
analysis? This needs to be run in the prod environment:
dart bin/tools/notify_service.dart analyzer firebase_database 0.1.2
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dart-lang/pub-dartlang-dart/issues/460#issuecomment-339997487,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABCiutMpOGzzoJsNfk1iQlrcDko79JHks5swfDvgaJpZM4QE9uK
.

That's better: https://pub.dartlang.org/experimental/search?q=firebase+database

Yeah, it looks like it was a transient issue.

@isoos – anything else we should do here?

Shouldn't we consider having automated retries for transient failures?

Shouldn't we consider having automated retries for transient failures?

We do, see #484 (immediately after the failure) and #485 (~ a day later).

Great, thanks

Most of this has been deployed, and the recent merges will increase stability, closing.

Thanks!


Newly added items should have a NEW mark.

I visit here periodically. I'm fascinated with Blazor technology and have a desire to quickly find a new entry.
However, since there are so many contents, it is not immediately known which item was added.
If there is a newly added item, NEW appears in front of it, so accessibility is good.
What do you think?

How long should something be marked as new, one-2 months? With how fast Blazor is evolving, maybe even only a few weeks?
This could get hard to try and maintain.

how about entering the date of addition instead

If after some time GitHub cannot automatically remove the 'new' mark, I agree that the approach I proposed can be very difficult in terms of document changes.
In any case, the demand for the same or similar features does not change.
In another problem, there was a way to manage new items individually. It is also good. Anyway, I think it's not right to track the updated content as a GitHub commit change. (It's not a document, so it's hard to read from a document's point of view).

What if we just simply separate things by year of addition, Something like

General
-- 2020
-- 2019
-- 2018
-- Older

This way it's just built into the lists automatically.

A solution could be to have detailed releases. One per month, or one per week. I have to organize myself to do this.

Related #211

I just activate notifications by mail, I think it will be not that hard to create weekly releases with the list of added items. I'll try for a few weeks! Keep in touch :)

I'm starting to wonder if this page has out grown GitHub.  maybe a dedicated site that can provide better filtering and ordering capabilities for users would work better.

@274188A It happened what I said a long time ago. If you accept anyone PR, eventually you will have too many things that don't have any benefits other that to be on the list. And now it's difficult to find the good one.

Hi.
I agree this page is becoming too massive to be usefull.
I'll work on a explorer web app to have an exhaustive and searchable list of what exists around Blazor, this will allow me to be a way more restrictive about the quality of the items listed here.
I'll work on it ASAP, we keep in touch.

For now you can watch the releases, I publish a release a week with the detail of the items there were added: https://github.com/AdrienTorris/awesome-blazor/releases

Can I close this issue? Are the releases match the need?

I think latest releases are the right way to handle the new items.

I think it matches. Thank you!


Vocabularies in section 3.3 Information Layer

The Vocabularies were removed from the Information Layer, but we should describe the linkage and use of Vocabularies there, too.
We should discuss.
Information Layer://docs.internationaldataspaces.org/ids-ram-4/layers-of-the-reference-architecture-model/3-layers-of-the-reference-architecture-model/3_3_informationlayer

@ssteinbuss @jlangkau done via these commits to https://github.com/International-Data-Spaces-Association/IDS-RAM_4_0/tree/200-structure-interaction-and-use-of-a-ids-vocabulary-hub:
Diff (just check the first file)


Add a max block size for block producers that can be set lower than the global params value.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1141
#1140
#1147  👈
#1139
feature/proof-of-stake

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

Join @lazynina and the rest of your teammates on  Graphite