Example program "hello_gorfc", sometimes it works and sometimes it doesn't

Hello, I compiled the source program "hello_gorfc.go" that you have as an example. The environment is Windows 10, using go 1.14.3, and  the last version of  sapnwrfc (7.50.6).
When I execute this program many times in a minute, sometimes I get the expected results displayed and sometimes it displays nothing, there is not a uniform behavior.
I also have some programs I wrote and the behavior of these is the same; what do you thing Is happening?
Try the example program, may be you can have the same results.
Best regards.

Yes, the results are the same.
Please see #21 and go/#39127 for more details about challenges with Windows.

The Windows is not supported until #21 fixed

Closing due to the sunset of the project.


[ERR_ASSERTION]: Say API is not available.

Hi!
When I start the bot I get:
[HALBOT] AssertionError [ERR_ASSERTION]: Say API is not available.

What is the Say API and how do I install it?

Hi,
Are you using Bing hacking API?
Because Bing API does not support TTS, please disable the TTS feature for now.
And one more thing: I am fading out the Bing web-hacking support. Sorry about that.


Swarm images not pulling automatically using registry auth

Description
When updating a service that was created with --with-registry-auth and then updating the image with a service update ... --with-registry-auth service_name the other nodes fail to pull the new image.
Steps to reproduce the issue:

Create a new service with the --with-registry-auth tag
Create a new image on one of the machines
Push that new image up to your private repo
On that same machine issue the following

docker service update --image $(docker inspect -f '{{index .RepoDigests 0}}' <link_to_private_repo_here>) --with-registry-auth <service_name>

Describe the results you received:
The other nodes were unable to pull the image. Looking at the service with docker service ps <service_name> gave the following
\_<service_name.3>  <link_to_private_repo>@sha256:<RepoDigest> <node_name>  Shutdown       Rejected about a minute ago  "No such image: <link_to_private_repo>

Describe the results you expected:
That the image on those nodes would pull automatically and update correctly.
Additional information you deem important (e.g. issue happens only occasionally):
If I don't touch the service but go to that node and just pull the image manually (without the repo digest) the service will continue to work after the next time docker swarm tries to start it again.
The only thing I can think of that may be off is that the docker-service update... command is being ran by my CI under the CI user on the machine. I believe the token that it is using might be the one provided as a one time token. However, the root user and the docker user are both logged into the registry. This might be the cause of the issue and if so the error message provided by docker could be clearer.
Output of docker version:
Client:
 Version:      1.12.3
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   6b644ec
 Built:        Wed Oct 26 21:44:32 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.3
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   6b644ec
 Built:        Wed Oct 26 21:44:32 2016
 OS/Arch:      linux/amd64

Output of docker info:
Containers: 11
 Running: 3
 Paused: 0
 Stopped: 8
Images: 360
Server Version: 1.12.3
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 425
 Dirperm1 Supported: true
Logging Driver: syslog
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: null bridge overlay host
Swarm: active
 NodeID: 777xx34g1z9us78qc3fdw1jfh
 Is Manager: true
 ClusterID: 7i0dq8spowatrive3pisdv5mt
 Managers: 3
 Nodes: 3
 Orchestration:
  Task History Retention Limit: 5
 Raft:
  Snapshot Interval: 10000
  Heartbeat Tick: 1
  Election Tick: 3
 Dispatcher:
  Heartbeat Period: 5 seconds
 CA Configuration:
  Expiry Duration: 3 months
 Node Address: <IP_ADDRESS>
Runtimes: runc
Default Runtime: runc
Security Options: apparmor
Kernel Version: 4.4.0-36-generic
Operating System: Ubuntu 14.04.5 LTS
OSType: linux
Architecture: x86_64
CPUs: 40
Total Memory: 125.8 GiB
Name: docker1
ID: VCCQ:YEF4:QDY5:N44K:CFVL:2XKR:XEQJ:JEDY:FIO7:C3QW:AGOX:GVXD
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Insecure Registries:
 <IP_ADDRESS>/8

ping @aaronlehmann

--with-registry-auth tells the "service update" command to update registry credentials. If you don't want to touch the credentials, it's better to omit this option. Can you try without --with-registry-auth to see if this corrects the problem?

@aaronlehmann I just removed the --with-registry-auth from the update command and still experiencing the same issue.

The only thing I can think of that may be off is that the docker-service update... command is being ran by my CI under the CI user on the machine. I believe the token that it is using might be the one provided as a one time token. However, the root user and the docker user are both logged into the registry. This might be the cause of the issue and if so the error message provided by docker could be clearer.

It would be great to try and verify that this is the issue. Perhaps you could try the docker service update --with-registry-auth ... command from a user account that is logged in without using a one-time token and check if the worker nodes are able to pull after that.
If this is indeed the problem, I think Docker 1.13 will provide a better error message in this case in most cases. On a "service update", it will try to contact the registry to resolve the image to a digest. If this fails, an warning message gets printed (but the service update still goes ahead). In your particular case, you're already specifying a digest, so this step would be skipped. Perhaps we should try to contact the registry anyway just so we can warn if the credentials don't work.

I manually built the image, pushed it and then then did the update command as the root user on the machine which is logged it without --with-registry-auth and it did not work. I went and pulled the image on the other machines and did the exact same update from the first machine again and they started right up.
Then, I did the same thing but added in the --with-registry-auth and it worked fabulously. So it is just not showing the correct error message.
Also, why is it that it wouldn't use the registry auth used to create the service? That one would be the same one I just used to update it. Does it only use those auth when it initially tries to pull the image? Why can't it use that auth when updating?


add warning to pekko-sample-distributed-workers-scala README

partially migrated with #6 but still needs more work

@sam-byng I added this warning to that sample, for now


Add a smoothing section to the imagetools submodule

Ties in with issue #571 (hopefully), but first off will simply allow the easy creation of smoothed images using a gaussian kernel for instance. I will probably try and make a general function to base other functions off of, as Astropy has some great smoothing stuff already implemented - its just a case of making it work on my Images/RateMaps

Must alter update_products to make sure smoothed ratemaps are automatically assembled

This is doing what its meant to now, at least the initial implementation.
I am struggling to decide how the masking of images is to be handled. In many cases where we want to analyse the smoothed images (thinking of clusters for instance) it is proper that the point sources be removed BEFORE smoothing, or their emission will never be removed properly with the original masks.
However then that image shouldn't necessarily be used for another source's analysis. So I might make sure that smoothed images are only loaded into a source when the source name is identical in the inventory. I also might make a mask entry in the smoothed image fits files, so it can be compared to.

It would also appear that the mask parameter which can be passed to astropy convolution requires the opposite of how I define XGA masks. I passed an interloper mask (1 everywhere but where the interlopers are), and this is the result:

I shall have to state how I expect the masks in the general_smooth function docstring (i.e. as XGA would output them), and then invert them before I pass them to the convolve function


feat(_test): create gke cluster + test all charts on master

improve healthcheck of services
add multiple styles of searching for pods
add travis.yml tweaks

This closes #43


Use correct deferred stubs for functions declared in parameter scope of function expression

We failed to shift the deferred stubs down to those belonging to the child function when parsing the argument list of a function expression.

LGTM


[FEATURE] flagd should use standard OTel SDK env vars

Requirements
Request
Replace --otel-collector-uri/FLAGD_OTEL_COLLECTOR_URI and --metrics-exporter/FLAGD_METRICS_EXPORTER with well-known OTel SDK configuration environment variables.

https://opentelemetry.io/docs/concepts/sdk-configuration/

https://opentelemetry.io/docs/concepts/sdk-configuration/general-sdk-configuration/
https://opentelemetry.io/docs/concepts/sdk-configuration/otlp-exporter-configuration/

services:
  flagd:
    command:
    - start
    - --debug
    - --uri
    - https://raw.githubusercontent.com/open-feature/flagd/main/docs/assets/demo.flagd.json
    depends_on:
      otel:
        condition: service_started
    environment:
-     FLAGD_METRICS_EXPORTER: otel
-     FLAGD_OTEL_COLLECTOR_URI: otel:4317
+     OTEL_EXPORTER_OTLP_ENDPOINT: http://otel:4318
+     OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf
+     OTEL_METRICS_EXPORTER: otlp
    image: ghcr.io/open-feature/flagd
    ports:
    - 8013:8013
    - 8014:8014

  otel:
    image: ghcr.io/open-telemetry/opentelemetry-collector-releases/opentelemetry-collector
    ports:
    - 4317:4317
    - 4318:4318

IMO this approach would provide a better telemetry story overall for flagd since one of the main tenants of the OTel project is to avoid re-inventing the wheel on configuration, but more specifically, I'm opening this issue after running into a pinch-point caused by flagd making an opinionated decision about OTEL_EXPORTER_OTLP_PROTOCOL=grpc.
In my specific use case, supporting the standard OTel SDK env vars would mean that I could, for example, set OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf in order to communicate with an existing OTel Collector gateway cluster that doesn't accept gRPC traffic.
(I could, of course, work around this by making my existing otelcol gateway cluster listen for gRPC traffic too, but (1) there are genuine, non-trivial DevSecOps considerations involved, and more importantly, (2) I don't think flagd intended to be opinionated about this, so hoping there's an appetite for revisiting the current setup.)

Thanks @austindrenski, I'll take a look tomorrow. Using the officially supported environment variables makes sense to me.

Hey @austindrenski, thanks for the suggestion. You are right, currently we are opinionated and we force gRPC as protocol to dispatch OTel data to its collector. I think it was a reasonable opinion since FlagD talks gRPC already.
The reason for forcing a protocol is due to the OTel Go SDK which currently doesn't rely on OTEL_EXPORTER_OTLP_PROTOCOL to decide which proto to use. Instead, it forces to pass a client to the exporter creation (see here).
I agree that we should support both, http and gRPC :) having just gRPC should be our opinion :)
However, I disagree with removing the explicit configuration. I would rather keep it backward compatible and adapt the code base by doing the following:

check for --otel-collector-uri, if present use it, otherwise next step
check for env var FLAGD_OTEL_COLLECTOR_URI, if present use it, otherwise next step
check for OTEL_EXPORTER_OTLP_PROTOCOL, if present use it, otherwise don't export telemetry data.

@thisthat How could a user set the protocol if the logic exits the flow if a URI is present? Wouldn't you need the URI and the protocol for this to work propertly?
I was thinking something like this:

--otel-collector-uri > env FLAGD_OTEL_COLLECTOR_URI. If neither is defined, OTel NoOps.
env OTEL_EXPORTER_OTLP_PROTOCOL or default to grpc.

How could a user set the protocol if the logic exits the flow if a URI is present

@beeme1mr I was thinking of parsing the schema part of the URI to determine grpc vs http


State does not change for intermediate steps of shortcut steps

Suppose you have a MAL spec containing:
asset BridgeAsset {
  | bridging_step
    -> target_assets.new_step

asset MyAsset {
  | attack_step
    -> bridge_asset.target_assets.new_step

This means that, from MyAsset.attack_step, the attacker can reach new_step of another asset going through bridge_asset via a relationship (not shown in the example above). In the simulator, if the attacker agent selects new_step as the next action, the bridging_step in bridge_asset is not set to 1. This makes sense from the point of view of the MAL spec; bridging step is literally short-circuited.
But bridging_step does show up in the attack graph and the state dict and it never becomes 1, even if the attacker makes use of the bridge, which is confusing. It is confusing for example when visualizing the attack graph and the compromise state at each step. It may also affect the performance of RL agents, although it is a bit hazy for me to see this case all the way through.
If we want to support this (which would be great for my use case - visualization), it would be behind a flag (or not). The attack graph could have a hidden property, a dict, that keeps track of these short-circuits and, before setting the new state at each step, it could consult this dict to set the state of such shortcirtuited steps as well.

In your example there is nothing to hint at that bridging_step is implied by attack_step. So, it doesn't actually bridge anything. The bridging asset does bridge something, but the attack step does not. If you wanted it to follow the same attack chain you could have just had:
asset MyAsset {
   | attack_step
     -> bridge_asset.bridging_step

I'm not entirely opposed to adding new features to the language, but I want us to be clear about it. What you found was not an oversight, it's intended behaviour. There are different ways of interpreting the relationship to bypasses/bridges/alternate paths, the attack steps aren't always a bridge, sometimes they are just alternative ways that do go directly from one asset to one that is multiple associations away.
I really dislike hidden properties and I think the semantics of the language is dense enough. We shouldn't overencumber it or might just collapse under its own weight.
Once again, I am not opposed to introducing features as we need them, I just want to make sure everyone is clear on both the current expected behaviour and the reasoning for the additions.

it doesn't actually bridge anything. The bridging asset does bridge something, but the attack step does not

I see what you are saying. I made a demo example:
#id: "org.mal-lang.coreLang"
#version: "0.0.0"

category general {
  asset BridgeAsset {
    | bridge_step
      -> targets.run
  }

  asset EntryAsset {
    | entry
      -> bridge.targets.run
  }

  asset Target {
    | run
  }
}

associations {
  EntryAsset [assets] 1 <-- QQQ --> 1 [bridge] BridgeAsset
  BridgeAsset [bridgee] 1 <-- BA --> * [targets] Target
}

  0: EntryAsset
  1: BridgeAsset
  2: Target
associations:
  - metaconcept: QQQ
    assets: 0
    bridge: 1
  - metaconcept: BA
    bridgee: 1
    targets: 2
attacker:
  1:
    entry_points:
      0:
        attack_steps:
          - entry
    name: Attacker:8
metadata:
  info: Created by the mal-toolbox model python module.
  langID: org.mal-lang.coreLang
  langVersion: 1.0.0
  malVersion: 0.1.0-SNAPSHOT
  name: Petting Zoo Example Model

and in neo4j it looks like this:

The bridge_step in the graph is not accessible to the attacker. Would issue #9 cover this case as well and remove such steps from the attack graph?

Yes, as already mentioned, what you are describing that you are seeing is both the expected and intended behaviour. As such, #9 would not impact directly. In some cases some of intermediary steps, of which you have none in your example, would disappear.
I think there is some sort of misunderstanding here. What is the reason for not changing the code to something like:
#id: "org.mal-lang.coreLang"
#version: "0.0.0"

category general {
  asset BridgeAsset {
    | bridge_step
      -> targets.run
  }

  asset EntryAsset {
    | entry
      -> bridge.bridge_step
  }

  asset Target {
    | run
  }
}

associations {
  EntryAsset [assets] 1 <-- QQQ --> 1 [bridge] BridgeAsset
  BridgeAsset [bridgee] 1 <-- BA --> * [targets] Target
}

Maybe we should just discuss this in person/over Zoom, there seems to be some basic mismatch we need to clear up.

Upon in person conversation it was determined that:

This is primarily an issue where the target step is an AND step.
There may be some workarounds with having the bridge_step be an AND step as well.
The issue with the bridge step showing up in the attack graph if it is never used will not be an issue if we have pruning(#9) remove untraversable attack steps.


Dev mode should fail if JAVA_HOME is not set

When dev mode detects that JAVA_HOME is not set, it currently just prints out a warning. Instead, dev mode should fail and print out an error explaining that the user is required to set JAVA_HOME.

Determine if it makes sense to require JAVA_HOME
If JAVA_HOME should be required, give an error if it is not set

@ericglau @TrevCraw what do you think about maven-toolchains support? => https://maven.apache.org/guides/mini/guide-using-toolchains.html
This way the user could run the maven build with Java 17 and run Liberty on Java 8 and test on Java 21. Using tests with another JRE/JDK is already supported, same for the compiler plugin. I do not want to hijack this issue, but the appropriate title would probably be:
Dev mode should fail if neither JAVA_HOME nor toolchain is set
WDYT?

@bmarwell thanks for bringing this up.
I'm not sure about the original issue here.   I'm not sure I see dev mode failing with JAVA_HOME not set, picking up java/javac from the PATH.
But I opened a new issue https://github.com/OpenLiberty/ci.maven/issues/1630 to track the toolchain support idea.
Can I ask...for my education.. what's an example of doing a java compile with one JDK and the test execution with another JDK?  (I assume you mean the JVM forked by the failsafe plugin by default).     I've only looked at simpler examples where Maven is run with one JDK and the java compile, etc. runs with a 2nd JDK.   But your case involves possibly 3 JDKs even.   Thank you.

While you can just raise the JDK level to 11 and still compile bytecode to 7 (even with 17 to 7!), there's demand by some to actually test this with a real Java 7/8 runtime.
Tests might differ, e.g. due to the new DNS resolution, encoding and time/currency format differences, property files using UTF-8 (since Java 9), multi release JARs, and other things.
For example, even my Java 8 projects at work can only be compiled using Java 11, just because the --release switch is so much more convenient than using the animal sniffer plugin.
YMMV. 😉

While you can just raise the JDK level to 11 and still compile bytecode to 7 (even with 17 to 7!), there's demand by some to actually test this with a real Java 7/8 runtime.

@bmarwell thanks for trying to educate me here :)   I do understand the general motivation for separating the JDK running Maven vs. the JDK running Liberty, but was trying to ask how far you needed to take this.
You listed as an example:

"the user could run the maven build with Java 17 and run Liberty on Java 8 and test on Java 21".

My first thought in how we'd support this in Liberty dev mode would be to simply extend our implementation to add support for the built-in "jdk" toolchain.
So, if I understand correctly (and I might not), this design would seem like it could easily allow for say, running Maven with Java 17 and then running the jdk-toolchain-enabled plugins with say Java 8.     So if we extended the 'jdk' toolchain behavior in dev mode we could imagine Liberty too being run with Java 8 as well.
But you specifically went further than than and mentioned the example of testing on Java 21 in combination with Liberty Java 8 and mvn Java 17... so I just wanted to stop and ask what such a configuration would look like?
Are you thinking this is possible today via a custom toolchain https://maven.apache.org/plugins/maven-toolchains-plugin/toolchains/custom.html  (which presumably dev mode would also support)?  Or, if not, I'm just trying to get a sense of what this would look like... what can you do today outside of dev mode to provide something like this that we could extend dev mode to add support for?

Well, I don't need it. But support for this will come out of the box. I'm currently on mobile, but consider this:
JAVA_HOME points to Java 20-ea
Maven is executed with 20-ea
Toolchains provide Java 17 for the compiler plugin, configured with --release=7 (or any other version).
surefire is configured with toolchains pointing to  java 11
Failsafe is configured with toolchains pointing to a java 17.

Not sure that makes any sense, but the plugins I mentioned already support this.
This video of @khmarbaise shows this really well (just without the liberty plugin):
https://youtu.be/-KbDcJcglPc
If there's some user request for this, I'd be happy to help. I just wouldn't do it if there's no demand.

OK, I get it now from looking at the YT video (thank you).
The part I was missing is that the plugin goals have their own 'jdkToolchain' parameter which can be configured., see:
https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#jdkToolchain
https://maven.apache.org/surefire/maven-failsafe-plugin/integration-test-mojo.html#jdkToolchain
which is how we could end up with more than two JDKs, but even three or more.  I hadn't seen this yet in the toolchain doc.
So to answer my question, I think if we added support for just the jdk toolchain, whether set more globally and/or via individual plugin (noting dev mode can sometimes blur the distinction between configuring a plugin vs. configuring an execution of that plugin), we would probably meet the conceivable use cases.   We would, it seems, not need to get into custom toolchains.
I will say this isn't the first time I've heard a request for this function, though I didn't see an open issue before today.     If you are interested in helping, well, I should probably move this over to the other issue #1630 .  Thanks for your offer, and thanks for your interest, and also thanks again for the example here.


Deploy storefinder branch to dedicated server

Dedicated server needs the updated sample data that has storefinder enabled (see #2811)

Storefinder branch deployed on dev-22.


Support table prefix for notification table

An error occured when using the table prefix. The problem was fixed by using '{{%notification}}' instead of 'notification' in the migration.

thanks !


801 [Solutions] UI for Marketo Form

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #801
Test URLs:

Before: https://main--danaher-ls-aem--hlxsites.hlx.page/
After: https://801-ui-marketo-form--danaher-ls-aem--hlxsites.hlx.page/us/en/solutions/mrna-therapy/mrna-development-manufacturing/talk-to-expert
After: https://801-ui-marketo-form--danaher-ls-aem--hlxsites.hlx.page/us/en/solutions/mabs/cell-line-development

Would it be possible to get the form ID and thank you text, or can we change the component, so that you just enter thank you text and ID?


Extending first paper

The part of the classification work to see what effect some small changes to the methodology of the first ML paper (Leahy & Llopis) makes to results. Examples of things to try for comparison

training on a decade of data, or the whole time window of the dataset
does the inclusion of the date have much effect on the performance when training one year at a time, compared to when training with longer time windows? Given the approximate nature of the year based threshold used in the iMeta algorithm, I would not expect that the exact date would be able to discriminate much within a year, but relevant over a decade or more worth of data.
use scikit learn hyperparameter tuning to try different hyperparameters
ensure class support is similar in training and test
additional input features: quality flag, institute, platform, cruise

I'm happy that we have reproduced the first paper, and extended it through use of different splits and training on the whole dataset (rather than per year) with equivalent results. Further work with neural netwroks will be covered in other tickets, such as

#27 additional features
#24 cross validation and hyper parameter tuning MLP classifier
#10 ANNs in pytorch


Question : Can you have two smartcoms installed?

From reading the FAQ section I read that you can only have one com port used by one app at a time
If you have the smartcom 4g, can you have MQTT bound to Wifi port and Texecom Cloud connected to 4g?
or do I need two seperate com units?

You can buy a ComWIFI/ComIP and attach it to Com3 (if your panel has one) to give you the additional TCP socket

Thanks ComWifi would work, I see these on ebay for £25-35 and would solve the issue of the app notifications not working.


"Scope" doc

We should have a top-level doc page that explains the scope of Redux. What it does and what it doesn’t. People often have inflated expectations due to the hype.

Am I correct in thinking this has already been complete and could be closed?
The entry point to http://redux.js.org/ has links with examples and such.

Correct. I don't think we need this anymore.


Terraform Destroy on Role Grant will remove ALL users in Role, not a specific user

When I run a terraform Role_Grant, it adds the specific user as expected.  But when I run the destroy afterward, it queries out and grabs All of the users for that role and removes them.
I would expect to only see the specific user that was added to the role to be removed from the role.

i am having the same issue
version 0.15.0

@knighteagle789 did the plan list all users, or only the one in your configuration?

I think this may unfortunately end up being a result of the way we have to implement the read path for these resources. The grant resources all have to be exclusive currently.

We are closing this issue as part of a cleanup described in announcement. If you believe that the issue is still valid in v0.89.0, please open a new ticket.


We can now measure the latency of each test files.

While finding out the slow tests in the test suite for a particular xtensa core, it required code changes to find out the tests that were taking long. The tests that run using makefile does not have a log about the duration it took for a particular test
file to run. We are adding that log to all the tests. The log message will look like below
Running feature_provider_mock_test took 0.017 seconds

BUG=https://b.corp.google.com/issues/268565399

@Mergifyio refresh


Auto-detect yamllint managed by poetry or other project SDK

It would be nice if the yamllint plugin could auto-detect the yamllint instance installed within the virtual environment for my project, rather than defaulting to a "yamllint" that is expected to be in my PATH.
For example, the Mypy plugin seems to do this nicely:

I did not have to change any settings for this to work.
Glancing at the Mypy plugin source code, it looks like this is generally the place where auto-detection takes place: https://github.com/leinardi/mypy-pycharm/blob/26299d03651b45f8721ea36b8d538be7a020b501/src/main/java/com/leinardi/pycharm/mypy/mpapi/MypyRunner.java
The source code for the config panel I screenshotted above appears to be: https://github.com/leinardi/mypy-pycharm/blob/26299d03651b45f8721ea36b8d538be7a020b501/src/main/java/com/leinardi/pycharm/mypy/ui/MypyConfigPanel.java#L98

Good idea and thank you for providing an example! I will be looking into this.

The plugin should now be able to find the Yamllint executable if you've installed it through Pipenv, Poetry or any other supported Python SDK as long as you've configured and selected it for your project. It will be included in the next, 0.3, release.
Thanks for the suggestion :+1:


Added Cryopods guidebook entry

About the PR

Added a simple entry for cryopods in the guidebook. Room for more addition. Solves #13512

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl: kenichisutan

add: Added cryopods guidebook entry.

@kenichisutan you coming back to this?

@kenichisutan you coming back to this?

Sure, give me some time


Use parser-gen node functionality?

parser-gen added support for node I requested here: https://github.com/vsbenas/parser-gen/issues/5 (see pg.usenodes(value) in https://github.com/vsbenas/parser-gen/blob/master/README.md)
Hopefully that will slim the generated AST. :)

There are two things that we are doing right now that would make it hard to stop using our own "hand-rolled" AST nodes:

parser-gen's generated tree stores the fields using numeric indices but we currently rely on having names for all the fields (with a custom iterator so we can make sure that we iterate them in order later on).

Some of the tree nodes we create don't match the parser rules. For example, the local statement generates a declaration statement followed by an assignment statement. If we were to use the builtin ast generation we would need to write a post processing step to massage the tree in those locations (like the were doing before we switched to doing everything via captures).

Got it, thanks for the feedback!


'Parallelized' apply_ufunc for scripy.interpolate.griddata

Hi,
I'm working with large files from an ocean model with an unstructered grid. For instance, variable flow velocity ux with dimensions (194988, 1009, 20) for respectively: 'nFlowElement' (name unstructered grid element), 'time' and laydim (depth dimension). I'd like to interpolate these results to a structured grid with dimensions (600, 560, 1009, 20) for respectively: latitude, longitude, time and laydim. For this I am using scipy.interpolate.griddata. As these dataarrays are too large to load into your working memory at once, I am trying to work with 'chunks' (dask). Unfortunately, I bump into problems when trying to use apply_ufunc with setting: dask = 'parallelized'.
For smaller computational domains (smaller nFlowElement dimension) I ám still able to load the dataarray in my work memory. Then, the following code gives me the wanted result:
def interp_to_grid(u,xc,yc,xint,yint):
    print(u.shape,xc.shape,xint.shape)
    ug = griddata((xc,yc),u,(xint,yint), method='nearest', fill_value=np.nan)
    return ug

uxg = xr.apply_ufunc(interp_to_grid,
                     ux, xc, yc, xint, yint,
                     dask = 'allowed',
                     input_core_dims=[['nFlowElem','time','laydim'],['nFlowElem'],['nFlowElem'],['dim_0','dim_1'],['dim_0','dim_1']],
                     output_core_dims=[['dim_0','dim_1','time','laydim']],
                     output_dtypes = [xr.DataArray]
                     )

Notice that in the function interp_to_grid the input variables have the following dimensions:

u (i.e. ux, the original flow velocity output): (194988, 1009, 20) for (nFlowElem, time, laydim)
xc,yc (the latitude and longitude coordinates associated with these 194988 elements) so both (194988,)
xint, yint (the structured grid coordinates to which I would like to interpolate the data): both are (600, 560) for (dim_0,dim_1)
Notice that scipy.interpolate.griddata does not require me to loop over the time and laydim dimension (as formulated in the code above). For this it is criticial to feed griddata the dimensions in the right order ('time' and 'laydim' last). The interpolated result, uxg, has dimensions (600, 560, 1009, 20) - as wanted and expected.

However, for much larger spatial domains it is required to work with dask = 'parallelized', because these input dataarrays can nolonger be loaded into my working memory. I have tried to apply chunks over the time dimension, but also over the nFlowElement dimension. I am aware that it is not possible to chunk over core dimensions.
This is one of my "parallel" attempts (with chunks along the time dim):
Input ux:
<xarray.DataArray 'ucx' (nFlowElem: 194988, time: 1009, laydim: 20)>
dask.array<transpose, shape=(194988, 1009, 20), dtype=float64, chunksize=(194988, 10, 20), chunktype=numpy.ndarray>
Coordinates:
    FlowElem_xcc  (nFlowElem) float64 dask.array<chunksize=(194988,), meta=np.ndarray>
    FlowElem_ycc  (nFlowElem) float64 dask.array<chunksize=(194988,), meta=np.ndarray>
  * time          (time) datetime64[ns] 2014-09-17 ... 2014-10-01
Dimensions without coordinates: nFlowElem, laydim
Attributes:
    standard_name:  eastward_sea_water_velocity
    long_name:      velocity on flow element center, x-component
    units:          m s-1
    grid_mapping:   wgs84

Apply_func:
uxg = xr.apply_ufunc(interp_to_grid,
                     ux, xc, yc, xint, yint,
                     dask = 'parallelized',
                     input_core_dims=[['nFlowElem'],['nFlowElem'],['nFlowElem'],['dim_0','dim_1'],['dim_0','dim_1']],
                     output_core_dims=[['dim_0','dim_1']],
                     output_dtypes = [xr.DataArray],
                     )

Gives error:
  File "interpnd.pyx", line 78, in scipy.interpolate.interpnd.NDInterpolatorBase.__init__

  File "interpnd.pyx", line 192, in scipy.interpolate.interpnd._check_init_shape

ValueError: different number of values and points

I have played around a lot with changing the core dimensions in apply_ufunc and the dimension along which to chunk. Also I have tried to manually change the order of dimensions of dataarray u which is 'fed to' griddata (in interp_to_grid).
Any advice is very welcome!
Best Wishes,
Luka

@mathause Thank you for your response! I believe that map_blocks only works for functions that consume and return xarray objects, right? Scipy.interpolate.griddata unfortunately does not return Xarray object.
However, if there are other (xarray) functions which I could use to interpolate my results to a regular grid - I'd be very interested.

############## UPDATE: ###################
I have chunked over the time dimension (50 time steps) and removed all input/output core dimensions.
And if I then define interp_to_grid as follows (to get the right input dimensions):
def interp_to_grid(u,xc,yc,xint,yint):

    xc = xc[:,0,0,0,0]
    yc = yc[:,0,0,0,0]
    u = u[:,:,:,0,0]
    print(u.shape,xc.shape,xint.shape) #input shape

    ug = griddata((xc,yc),u,(xint,yint), method='nearest', fill_value=np.nan)
    print(ug.shape) #output shape

    return ug

I do get the right dimensions for my input (see first line) and output of interp_to_grid, but I get the ValueError: axes don't match array:
(194988, 50, 20) (194988,) (600, 560)
(600, 560, 50, 20)
Traceback (most recent call last):

  File "<ipython-input-11-6b65fe3dba5b>", line 1, in <module>
    uxg.loc[dict(time=np.datetime64('2014-09-18'),laydim=19)].plot()

  File "C:\Users\920507\Anaconda3\envs\dfm_tools_env\lib\site-packages\xarray\plot\plot.py", line 444, in __call__
    return plot(self._da, **kwargs)

  File "C:\Users\920507\Anaconda3\envs\dfm_tools_env\lib\site-packages\xarray\plot\plot.py", line 160, in plot
    darray = darray.squeeze().compute()

  File "C:\Users\920507\Anaconda3\envs\dfm_tools_env\lib\site-packages\xarray\core\dataarray.py", line 899, in compute
    return new.load(**kwargs)

  File "C:\Users\920507\Anaconda3\envs\dfm_tools_env\lib\site-packages\xarray\core\dataarray.py", line 873, in load
    ds = self._to_temp_dataset().load(**kwargs)

  File "C:\Users\920507\Anaconda3\envs\dfm_tools_env\lib\site-packages\xarray\core\dataset.py", line 798, in load
    evaluated_data = da.compute(*lazy_data.values(), **kwargs)

  File "C:\Users\920507\Anaconda3\envs\dfm_tools_env\lib\site-packages\dask\base.py", line 565, in compute
    results = schedule(dsk, keys, **kwargs)

  File "C:\Users\920507\Anaconda3\envs\dfm_tools_env\lib\site-packages\dask\threaded.py", line 84, in get
    **kwargs

  File "C:\Users\920507\Anaconda3\envs\dfm_tools_env\lib\site-packages\dask\local.py", line 487, in get_async
    raise_exception(exc, tb)

  File "C:\Users\920507\Anaconda3\envs\dfm_tools_env\lib\site-packages\dask\local.py", line 317, in reraise
    raise exc

  File "C:\Users\920507\Anaconda3\envs\dfm_tools_env\lib\site-packages\dask\local.py", line 222, in execute_task
    result = _execute_task(task, data)

  File "C:\Users\920507\Anaconda3\envs\dfm_tools_env\lib\site-packages\dask\core.py", line 121, in _execute_task
    return func(*(_execute_task(a, cache) for a in args))

  File "C:\Users\920507\Anaconda3\envs\dfm_tools_env\lib\site-packages\dask\core.py", line 121, in <genexpr>
    return func(*(_execute_task(a, cache) for a in args))

  File "C:\Users\920507\Anaconda3\envs\dfm_tools_env\lib\site-packages\dask\core.py", line 121, in _execute_task
    return func(*(_execute_task(a, cache) for a in args))

  File "C:\Users\920507\Anaconda3\envs\dfm_tools_env\lib\site-packages\dask\optimization.py", line 963, in __call__
    return core.get(self.dsk, self.outkey, dict(zip(self.inkeys, args)))

  File "C:\Users\920507\Anaconda3\envs\dfm_tools_env\lib\site-packages\dask\core.py", line 151, in get
    result = _execute_task(task, cache)

  File "C:\Users\920507\Anaconda3\envs\dfm_tools_env\lib\site-packages\dask\core.py", line 121, in _execute_task
    return func(*(_execute_task(a, cache) for a in args))

  File "C:\Users\920507\Anaconda3\envs\dfm_tools_env\lib\site-packages\dask\utils.py", line 35, in apply
    return func(*args, **kwargs)

  File "<__array_function__ internals>", line 6, in transpose

  File "C:\Users\920507\Anaconda3\envs\dfm_tools_env\lib\site-packages\numpy\core\fromnumeric.py", line 658, in transpose
    return _wrapfunc(a, 'transpose', axes)

  File "C:\Users\920507\Anaconda3\envs\dfm_tools_env\lib\site-packages\numpy\core\fromnumeric.py", line 58, in _wrapfunc
    return bound(*args, **kwds)

ValueError: axes don't match array

@LJaksic are you aware that passing dask_gufunc_kwargs={'allow_rechunk': True} to xr.apply_ufunc will allow it to accept an input which is chunked along the core dims? It does come with a warning though.

please reopen with an MVCE if you still need help. This would be a good example for https://tutorial.xarray.dev/advanced/apply_ufunc/apply_ufunc.html


Took out ci_keys as there is no rule to make that target

@sarahscott @orta
make oss wasn't working, as there was no rule to make the ci_keys target. Took it out, seemed to all work fine? It now preps, pod installs, and you get your workspace just fine :).
To get it to build, there's still a thing with fonts, but that will be PR 2 from me ^_^.
Also - do I PR this onto master? Are there any rules around this?

@mennenia welcome!

We did just move from travis to circle CI so it probably has something to do with that. What do you think @orta ?

Yeah, this seems to be the last bit of work on it, which touches that line:
https://github.com/mennenia/energy/commit/d9e1f343ad6ca36573f177103c1980785fde9d1f

And thanks! :D

Alrighty! looks like we'll need make oss_keys back I think, I forgot they weren't just for CI - but for OSS consumers too, any chance this can replace them instead?
The CI failing is fine, as it is a fork, and doesn't have access to our private keys.

Shippit.

Shippit.


Create text/content

From @MalteTinnus

[ ] 2 more ‘coming soon’ app ideas
[ ] 4 more app info texts
[ ] Better card images for 4 apps
[ ] Discussion content (text) strategy
[ ] ‘About’ text
[ ] ‘Developer’ text

Tracking this work in Autodesk/molecular-design-applications#77


very slow autocomple and memory 97 % consume

We have written the needed data into your clipboard because it was too large to send. Please paste.

/needsMoreInfo


Improving performance of loadProtoJSON()

Hello!
I'm one of the maintainers of https://www.npmjs.com/package/google-ads-api, which uses this lib internally to make Google Ads API calls.
As part of our library, we frequently make calls to the loadProtoJSON() function in gax-nodejs. You have a caching mechanism, which is a godsend, but the function is slower than it could be even when the proto is cached.
The culprit of the slowdown is here: https://github.com/googleapis/gax-nodejs/blob/9d45baf252433b35b76a0ad6ede80509eb066ab4/src/grpc.ts#L295
The objectHash function, in my testing, takes around ~150ms to return a hash for the (huge) GoogleAdsService proto. That's a lot of CPU to be devoting to generating a cache key! On our production servers, we're seeing around 25% of our cpu usage dedicated to generating these hashes.
We could work around this by making our own caching layer, but it feels like it wouldn't be too difficult to improve this performance. For example, the following code takes less than 10ms:
const hash = objectHash(JSON.stringify(json)).toString();

Or, why not get rid of the object-hash dependency entirely by using the built-in crypto lib (also around 10ms):
const hash = crypto.createHash('md5').update(JSON.stringify(json)).digest('hex');

As far as I can tell, we don't lose any uniqueness by stringifying the proto object first.
Environment details

OS: MacOS 12.1 (M1 chip)
Node.js version: v16.14.0
npm version: v8.3.1
google-gax version: v2.30.0

Steps to reproduce

call loadProtoJSON() with large proto json (eg https://github.com/googleapis/googleapis/blob/master/google/ads/googleads/v10/services/google_ads_service.proto)
Check how long it takes to generate the cache key.

Thanks @avermeil provide reproduce step and option to improve. To improve the loadProtoJSON is in our radar. I will definitely check out this week.

@avermeil unfortunately we could not remove the objecthash at this moment, because  crypto is nodejs specific module and do not support for browser. But it always good to reduce the dependency, however, it is a breaking change for us. I will refactor remove objecthash when we release gax 3.0.0. And created an issue #1199  for tracking.
To use the latest gax, you just need to upgrade the gax version to 2.30.1. npm i google-gax
Will close the issue for now, feel free to open it if you have further question.

@summer-ji-eng Thanks for the quick turnaround!
Just curious, what roughly are the major changes you have planned for gax v3?


[swim] cmd

Now we need to wiring cmd with actual SWIM API. In cmd directory there's some skeleton cmd code.
and we should consider is there any more subcommands we need

More description?

@hihiboss edited! 👍

@junbeomlee @hihiboss
But how to set configuration via yaml or cli flag?
and suggest swim members as subcommand which list current members I have
and how join should be done? because when swim start, that terminal starts server and cannot receive other cli input

We will use viper as config library! same as it-chain!

got it

@zeroFruit


Nov 14 deadline: 2025 BCH upgrade approval

Hello,
This is a formal request for approval from FullStack.Cash regarding the May 2025 upgrade of Bitcoin Cash (BCH).
"CHIP-2021-05 VM Limits: Targeted Virtual Machine Limits" and "CHIP-2024-07 BigInt: High-Precision Arithmetic for Bitcoin Cash" have achieved the Cash Improvement Proposal (CHIP) milestones required to be locked in on November 15, 2024 and activated on May 15, 2025.
The CHIP contributors believe FullStack.Cash is an important stakeholder in the Bitcoin Cash ecosystem. Please respond by 12:00 UTC on November 14, 2024; non-responses will be considered "Abstain (Neutral)".

Does FullStack.Cash approve of activating "CHIP-2021-05 VM Limits: Targeted Virtual Machine Limits" and "CHIP-2024-07 BigInt: High-Precision Arithmetic for Bitcoin Cash" in the May 2025 Upgrade to Bitcoin Cash (BCH)?

Yes (Approve)
No (Disapprove), or
Abstain (Neutral)

Separate responses may also be given for each CHIP. To make a public statement explaining this decision, please provide it here (required for disapprovals):

For reference:

VM Limits CHIP: https://github.com/bitjson/bch-vm-limits
BigInt CHIP: https://github.com/bitjson/bch-bigint

Please let me know if you have any questions.
Thank you,Jason DreyzehnerVM Limits CHIP & BigInt CHIP Maintainer

Hi Jason,
I think the PSF's official stance is Abstain. I personally support the changes, but as a community the PSF hasn't been able to really discuss the idea.

trout


Allow user to load context, instead of maintaining context.

Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch<EMAIL_ADDRESS>for the project I'm working on.   I use the context_free setting and then i stuff the conversation with as many messages as i want, by calling resetChat(), getPipeline(),   and appendMessage()  as needed.   I know it's a hack, but it's a useful one, because compiling web-llm from scratch is challenging.
Making this change "real" would require a new "generate()" function: generateFromHistory(), as well as the pipeline change below... so the user doesn't need to access the private pipeline.
If that's something you're interested in... I will make the change nicely.   If not, feel free to use this for anyone that needs it.

Here is the diff that solved my problem:
diff --git<EMAIL_ADDRESS><EMAIL_ADDRESS>index cd1a8a3..d26c0a9 100644
---<EMAIL_ADDRESS>+++<EMAIL_ADDRESS>@@ -24,6 +24,7 @@ export interface ChatConfig {
     repetition_penalty: number;
     top_p: number;
     temperature: number;
+    context_free: boolean;
 }
 export interface ModelRecord {
     model_url: string;
diff --git<EMAIL_ADDRESS><EMAIL_ADDRESS>index 4c80ff6..b42ddd4 100644
---<EMAIL_ADDRESS>+++<EMAIL_ADDRESS>@@ -4207,7 +4207,7 @@ class LLMChatPipeline {
         let tokens = [];
         let prompts;
         // beginning of the conversation
-        if (this.conversation.messages.length <= 2) {
+        if (this.conversation.messages.length <= 2 || this.config.context_free) {
             if (this.conversation.config.add_bos) {
                 tokens = [this.bosTokenId];
             }

This issue body was partially generated by patch-package.

right now all webllm is context free openai api


displayed cell and plot bounds are incorrect for subspan modulo climatological calendar axes

Reported by andrew wittenberg on 20 Apr 2016 19:48 UTC
Create a simple subspan-modulo climatological dataset, running from 1-FEB-0001 through 1-AUG-0001:
 	NOAA/PMEL TMAP
 	FERRET v6.97 (beta/opt)
 	Linux 2.6.32-573.22.1.el6.x86_64 64-bit - 04/14/16
 	20-Apr-16 15:34

yes? def ax/edges/t/unit="day"/t0=1-jan-0001/cal=gregorian/modulo=365.25 \
tax = {31, 59.2425, 90.2425, 120.2425, 151.2425, 181.2425, 212.2425}
yes? let a = t[save/clob/file=a.nc a
yes? can var a
yes? can axis tax

Now use the file and do some plots:
yes? use a.nc
yes? can view
yes? set view ul; shade a*x[gx=0:10:1](gt=tax]
yes?)
yes? set view ur; shade/t=1-jan-0001:1-jan-0002 a*x[gx=0:10:1]
yes? set view lr; plot/step=con/t=1-jan-0001:1-jan-0002 a

The top-left SHADE plot looks fine.
But the top-right SHADE plot is all messed up; it shifts the data later by a full month, and stretches the last (shifted) cell all the way to the upper limit of the plot domain.
In the bottom-right line plot, the actual plotted data look ok.  But the plot limits extend all the way from 1-JUL-0000 to 1-MAR-0002, rather than being shrink-wrapped around the data.
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/2404

Comment by ansley.b.manke on 10 May 2016 00:25 UTC
This is fixed. Both line/step plots and shade plotting use the correct plot-axis range for subspan modulo axes.

Attachment from andrew.wittenberg on 20 Apr 2016 19:48 UTC
REPLACE THIS TEXT WITH UPLOADED FILE ./attachments/TRAC_2404_GIT_1676/plot.gif

Attachment from ansley.b.manke on 10 May 2016 00:25 UTC
REPLACE THIS TEXT WITH UPLOADED FILE ./attachments/TRAC_2404_GIT_1676/fix2404.gif


bump tchannel in integration tests

Current tchannel is outdated. By bumping it, the tests become compatible with node v4. (due to updated sse4_crc32.)

Closing; tchannel is already udpated


Documentation: Use Pydoc

https://docs.python.org/3/library/pydoc.html

@j48zheng Is this done? If so @josmcg @JVonderwell please review the documentation.

Benefit: Readability and maintainability
Cost: Approximately 3-4 hours to go through source code to add pydoc statements


Proposal for Search Improvement

Motivation
Although the Godoc.org site does support a search feature, it performs only a "contains" match against the set of cached import paths. While useful, it only aids users who have a good idea of what they are looking for. The search improvement in thhis proposal would allow better keyword matching against all project-related metadata and documentation text.
Improvement: Search by new types of matching
We propose that the search feature be extended to support new types of matching and to expand the corpus text against which matches are performed.

Include the full cached documentation text in the search context.

Tokenize the search phrase and match using an implied "AND" operator. For example, "mysql driver" would match "this driver is for mysql" and "go-sql-driver/mysql"

Stemming: example ‘implement’ would also return ‘implementing’

Fuzzy search (approximate match): example ‘packge’ returns ‘package’

Contributors to this proposal
@carlisia
@gdey
@rafaeljusto

Stemming is implemented, but may not work as expected in all cases.  The 'implement' example is one such case. Please file a separate issue for fixing the stemmer.
Search phrases are tokenized and matched using an implied AND.  Please file a separate issue for this with examples of where the query is not working as expected.

@garyburd You are right about the current search already using an implied search. We also tough it would be great to extend this search also to the documentation, instead of only on the package name and description. This could give us more context and increase the result matches. What do you think about it?

It's easy to experiment with the current search code to see if indexing more of the document improves search results. You can find the indexing code in database/index.go. The gddo-admin reindex subcommand updates the database for any changes to the code. Ask Andrew for a dump of the current database for testing. The gddo-server & Redis commands run comfortably on an inexpensive laptop.
I expect it will be difficult to add more advanced search features to the current search code. It may make sense to throw out the current code and use an existing search server or library.
Experimenting with other search implementations outside the context of the gddo-server is easy.  Use the database Do method to copy data from gddo to another server/library. Write a simple app to test queries.
Before spending a significant time amount of time on this, I suggest running your ideas past Andrew.

I can provide a dump of the database. Mail me at<EMAIL_ADDRESS>
Include the full cached documentation text in the search context.

This seems overdue, and we should do it. It's going to require some experimentation to get it right, though.

Fuzzy search (approximate match): example ‘packge’ returns ‘package’

I think this is of (significantly) lower priority.
--
On the topic of search quality: if we're going to start hacking a lot on making search better, we should have some tests that indicate how much our changes affect search quality. Something to think about.

Yes, having test to show progress is good. I think we should add this is the first thing that gets done. But how do you measure such quality? What does better search results empirically mean?

@gdey that's the challenge ;-)


Allow to ignore certain media types from Telegram

Is your feature request related to a problem? Please describe.
I don't like that stickers (that add nothing to the conversation) are relayed to IRC channels.
Describe the solution you'd like
IgnoreMedia (array) config key for Telegram sections, where you can list media types (such as stickers, """gifs""", voice messages) that won't be relayed to other accounts.
Describe alternatives you've considered

NoSendStickers (bool) config key for Telegram sections. It'd work too but it wouldn't be flexible.
IgnoreMedia (array) config list for all sections. It'd be the most flexible solution (would allow to disable stickers just for IRC and not for other accounts) but the hardest to implement.

Try writing a tengo script to fix this https://github.com/42wim/matterbridge/wiki/Tengo

I can't detect a sticker being sent using Tengo, because it's not in msgText.


Signup phone number screen fixes

replaced spaces in country codes with non-breaking spaces

Design question: just to make sure, we're enabling phone number visibility by default, right?


Bot doesn't report the results of trips anymore when used through DMs.

Very simple to reproduce, send any command to the bot through DM like "+smelt gold" or "+k 5 goblin" for a faster trip. The bot will happily respond that your minion is now busy killing goblins for 20 seconds or whatever, but stay mute 20 seconds later and not report that your minion has returned nor what loot you got. The trips do still complete and you gain xp/loot even without the report though.

Thank you! I am not alone on this. Bot responds to every command but will not tell me my minion has returned.

This should be fixed now.


🔀🔒 Security concept

Description:
Added Frontend & Backend Security
Reference:
Issue: #69
Notifying additional team members:
@mirrodi @MrSebastian @AnHo314

When i run the app with keycloak locally (App via IDE) i get the following error:
Quellübergreifende (Cross-Origin) Anfrage blockiert: Die Gleiche-Quelle-Regel verbietet das Lesen der externen Ressource auf http://localhost:8082/api/sso/userinfo/. (Grund: CORS-Kopfzeile 'Access-Control-Allow-Origin' fehlt). Statuscode: 302
Keycloak was created new with the init-data. Gateway, Frontend and Backend are running in IDE and uses postgresdb in Docker.
I am using the testnwk user.


uutils-coreutils: 0.0.25 -> 0.0.27

Description of changes
closes https://github.com/NixOS/nixpkgs/issues/323246
https://github.com/uutils/coreutils/releases/tag/0.0.27

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

[ ] 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

[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.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.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 323319 run on x86_64-linux 1

2 packages built:

uutils-coreutils
uutils-coreutils-noprefix


Implemented Stack,Queue using Array and LinkedList

Implemented Stack and Queue using Array and LinkedList in C++ Language.

You can follow me on github


Remove UI components and PF dependency from lib-utils

This PR will remove the UI components exposed by the SDK lib-utils package.
Also removes global storybook config/install as it is no longer needed.
See https://github.com/patternfly/react-component-groups.
After discussion we have decided apps and plugins can pull UI components from the PF react-component-groups repo (and decide how to handle versioning or de-duping of the dependency). Several of the UI components removed in this PR already exist in the new location and will continue to be built upon.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (5d9fa43) 41.16% compared to head (5385f6e) 25.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #247       +/-   ##
===========================================
- Coverage   41.16%   25.00%   -16.17%
===========================================
  Files          69       41       -28
  Lines        1693     1220      -473
  Branches      365      245      -120
===========================================
- Hits          697      305      -392
+ Misses        956      899       -57
+ Partials       40       16       -24

Files
Coverage Δ

packages/lib-utils/src/index.ts
0.00% <ø> (ø)

... and 4 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

/lgtm


CA cert and ignore ssl error flags to model for signature sources

Related to: Signature sources: Add support for adding certificate...

Codecov Report

Merging #34 into master will increase coverage by 0.35%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #34      +/-   ##
==========================================
+ Coverage   60.91%   61.27%   +0.35%
==========================================
  Files         115      115
  Lines        9854     9858       +4
==========================================
+ Hits         6003     6040      +37
+ Misses       3851     3818      -33

Impacted Files
Coverage Δ

assemblyline/odm/models/service.py
100.00% <100.00%> (ø)

assemblyline/odm/models/service_delta.py
100.00% <100.00%> (ø)

assemblyline/datasource/alert.py
84.61% <0.00%> (-7.70%)
:arrow_down:

assemblyline/odm/randomizer.py
95.28% <0.00%> (-0.48%)
:arrow_down:

assemblyline/common/backupmanager.py
75.10% <0.00%> (+14.93%)
:arrow_up:

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 7cd5d29...53869f5. Read the comment docs.


File and folder removed

Hello Sir,
Its a good for deployment, but I am facing some issues. like
I am running a Laravel project under this public directory i have an images folder where my visitor upload their profile photo, but when I deploy a version currently it deletes the old photos and shows my local few user photo only,
2nd one is: when i upload a version as on gitignore I add the vendor files would not upload on git, now when i deploy a version the previous vendor folder is removed, I need to run again the composer install and without that, my site is down.
if it will like its not delete the existing file and folder just replace it with the new file but not delete the existing files and folder.

@cloudpanel-io please give me the solution

Hello Sir,
Its a good for deployment, but I am facing some issues. like
I am running a Laravel project under this public directory i have an images folder where my visitor upload their profile photo, but when I deploy a version currently it deletes the old photos and shows my local few user photo only,
2nd one is: when i upload a version as on gitignore I add the vendor files would not upload on git, now when i deploy a version the previous vendor folder is removed, I need to run again the composer install and without that, my site is down.
if it will like its not delete the existing file and folder just replace it with the new file but not delete the existing files and folder.

Hello.
I was passing by and saw your comment.
I don't know if your problem has already been resolved, but this happens due to the nature of dploy in keeping releases/deploys on the server for possible rollback.
So with each deploy it creates a new copy of the application and creates a link to this new copy, which is why you lose the images.

In my opinion, dploy should work as follows:

Create a command to perform the first deploy or it will automatically recognize whether it is the first deploy or not, thus creating a git clone
Instead of cloning the entire application throughout the deployment, a git pull could be done, and once finished, make a copy of the current application (you can even read the .gitignore files so as not to copy unnecessary files) and save it in the releases folder , to rollback


[tcgc] add versioning doc

fixes #716

No changes needing a change description found.

We should add a section to override to a specific api-version, but otherwise LGTM

You can try these changes at https://cadlplayground.z22.web.core.windows.net/typespec-azure/prs/719/
Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/typespec-azure/prs/719/


major refactor of database layer to add support for postgresql (via SQLAlchemy) and brand new blockchain synchronization process

fixes #2794, #2795, #2337

PR will be forked into a separate project.


A file disappears after changing if I use "brunch watch"

Description
I'm a beginner in Elixir/Phoenix/Brunch and probably I'm doing something wrong here, but I've got a strange behaviour of Brunch.
Steps:

I create a new project using Phoenix framework: mix phoenix.new.
It contains web/static/js/app.js and web/static/js/socket.js files by default.
When I open Chrome Inspector I can see both files (from source maps) and combined app.js, containing content of both files.
I change socket.js in any manner, for example by adding a new line.
Brunch watcher detects the change and recompiles sources.
I refresh the page and now I can see only app.js (from sm) and combined app.js, not containing the content of socket.js. I also manually check priv/static/js/app.js and it reflects the same.

So, the socket.js file disappeared and will appear only after restarting brunch watch or executing brunch build.
Also I tested it with another file: I created test.js and then changed it. It dissapeared from the combined file. As I see, this always affects exactly the file that I'm changing.
Sometimes it doesn't happen after the first change, but after 2nd or 3rd.
In order to capture logs, I disabled the Brunch watcher in the Phoenix config and run it manually. Also I updated it to the latest version.
Environment

Brunch: 2.6.6
Node: 5.10.1
NPM: 3.8.3
Operating system: Ubuntu 15.10

package.json contents
{
  "repository": {
  },
  "dependencies": {
    "babel-brunch": ">=6.0.0",
    "brunch": ">=2.6.6",
    "clean-css-brunch": ">=1.8.0",
    "css-brunch": ">=1.7.0",
    "javascript-brunch": ">=1.8.0",
    "uglify-js-brunch": ">=1.7.0",
    "phoenix": "file:deps/phoenix",
    "phoenix_html": "file:deps/phoenix_html"
  }
}

brunch config contents
exports.config = {
  files: {
    javascripts: {
      joinTo: "js/app.js"
    },
    stylesheets: {
      joinTo: "css/app.css"
    },
    templates: {
      joinTo: "js/app.js"
    }
  },

  conventions: {
    assets: /^(web\/static\/assets)/
  },

  paths: {
    watched: [
      "web/static",
      "test/static"
    ],

    public: "priv/static"
  },

  plugins: {
    babel: {
      ignore: [/web\/static\/vendor/]
    }
  },

  modules: {
    autoRequire: {
      "js/app.js": ["web/static/js/app"]
    }
  },

  npm: {
    enabled: true,
    whitelist: ["phoenix", "phoenix_html"]
  }
};

Other useful files, when present (bower.json etc.)
Logs of watch -d

I've been changing only socket.js several times:

$ node_modules/brunch/bin/brunch watch -d
  brunch:config Trying to load brunch-config +0ms
  brunch:plugins Loaded plugins: babel-brunch, css-brunch, javascript-brunch +457ms
  brunch:watch add package.json +19ms
  brunch:watch add brunch-config.js +0ms
  brunch:watch add web/static/assets/favicon.ico +14ms
  brunch:asset Init web/static/assets/favicon.ico directory=web/static/assets/ destPath=priv/static/favicon.ico rel=favicon.ico +1ms
  brunch:watch add web/static/assets/robots.txt +2ms
  brunch:asset Init web/static/assets/robots.txt directory=web/static/assets/ destPath=priv/static/robots.txt rel=robots.txt +0ms
  brunch:watch add web/static/css/app.css +1ms
  brunch:list Reading web/static/css/app.css +0ms
  brunch:watch add web/static/js/app.js +0ms
  brunch:list Reading web/static/js/app.js +1ms
  brunch:watch add web/static/js/socket.js +0ms
  brunch:list Reading web/static/js/socket.js +0ms
  brunch:asset Copied web/static/assets/favicon.ico +7ms
  brunch:asset Copied web/static/assets/robots.txt +1ms
  brunch:file Init web/static/css/app.css: isntModule=false isWrapped=false +1ms
  brunch:pipeline Compiling web/static/css/app.css @ CSSCompiler +2ms
  brunch:list Compiled web/static/css/app.css +2ms
  brunch:file Init web/static/js/app.js: isntModule=false isWrapped=true +0ms
  brunch:pipeline Compiling web/static/js/app.js @ BabelCompiler +1ms
  brunch:pipeline Compiling web/static/js/app.js @ JavaScriptCompiler +168ms
  brunch:file Init web/static/js/socket.js: isntModule=false isWrapped=true +18ms
  brunch:pipeline Compiling web/static/js/socket.js @ BabelCompiler +0ms
  brunch:pipeline Compiling web/static/js/socket.js @ JavaScriptCompiler +101ms
  brunch:watch add web/static/assets/images/phoenix.png +32ms
  brunch:asset Init web/static/assets/images/phoenix.png directory=web/static/assets/ destPath=priv/static/images/phoenix.png rel=images/phoenix.png +0ms
  brunch:asset Copied web/static/assets/images/phoenix.png +15ms
  brunch:list Reading node_modules/phoenix_html/priv/static/phoenix_html.js +58ms
  brunch:modules Wrapping web/static/js/app.js @ commonjs +9ms
  brunch:file Generated source map for 'web/static/js/app.js'  +1ms
  brunch:list Compiled web/static/js/app.js +6ms
  brunch:list Reading node_modules/phoenix/priv/static/phoenix.js +2ms
  brunch:modules Wrapping web/static/js/socket.js @ commonjs +32ms
  brunch:file Generated source map for 'web/static/js/socket.js'  +1ms
  brunch:list Compiled web/static/js/socket.js +29ms
  brunch:file Init node_modules/phoenix_html/priv/static/phoenix_html.js: isntModule=true isWrapped=true +0ms
  brunch:file Init node_modules/phoenix/priv/static/phoenix.js: isntModule=true isWrapped=true +0ms
  brunch:modules Not wrapping (is vendor file) node_modules/phoenix_html/priv/static/phoenix_html.js +70ms
  brunch:list Compiled node_modules/phoenix_html/priv/static/phoenix_html.js +2ms
  brunch:modules Not wrapping (is vendor file) node_modules/phoenix/priv/static/phoenix.js +181ms
  brunch:list Compiled node_modules/phoenix/priv/static/phoenix.js +7ms
  brunch:write Writing 2/2 files +79ms
  brunch:generate Concatenating [node_modules/phoenix/priv/static/phoenix.js, node_modules/phoenix_html/priv/static/phoenix_html.js, web/static/js/app.js, web/static/js/socket.js] => priv/static/js/app.js +27ms
  brunch:generate Concatenating [web/static/css/app.css] => priv/static/css/app.css +50ms
  brunch:generate Writing priv/static/js/app.js +11ms
  brunch:generate Writing priv/static/css/app.css +1ms
  brunch:generate Writing priv/static/js/app.js.map +9ms
  brunch:generate Writing priv/static/css/app.css.map +10ms
19 Apr 19:08:45 - info: compiled 5 files into 2 files, copied 3 in 1.8 sec
  brunch:watch change web/static/js/socket.js +46s
  brunch:list Reading web/static/js/socket.js +0ms
  brunch:pipeline Compiling web/static/js/socket.js @ BabelCompiler +1ms
  brunch:pipeline Compiling web/static/js/socket.js @ JavaScriptCompiler +3ms
  brunch:modules Wrapping web/static/js/socket.js @ commonjs +10ms
  brunch:file Generated source map for 'web/static/js/socket.js'  +4ms
  brunch:list Compiled web/static/js/socket.js +0ms
  brunch:write Writing 1/2 files +67ms
  brunch:file Disposing node_modules/phoenix/priv/static/phoenix.js +0ms
  brunch:generate Concatenating [node_modules/phoenix/priv/static/phoenix.js, node_modules/phoenix_html/priv/static/phoenix_html.js, web/static/js/app.js, web/static/js/socket.js] => priv/static/js/app.js +1ms
  brunch:generate Writing priv/static/js/app.js +8ms
  brunch:generate Writing priv/static/js/app.js.map +54ms
19 Apr 19:09:32 - info: compiled socket.js and 3 cached files into app.js in 155ms
  brunch:watch change web/static/js/socket.js +26s
  brunch:list Reading web/static/js/socket.js +0ms
  brunch:pipeline Compiling web/static/js/socket.js @ BabelCompiler +2ms
  brunch:pipeline Compiling web/static/js/socket.js @ JavaScriptCompiler +3ms
  brunch:modules Wrapping web/static/js/socket.js @ commonjs +2ms
  brunch:file Generated source map for 'web/static/js/socket.js'  +0ms
  brunch:list Compiled web/static/js/socket.js +0ms
  brunch:write Writing 1/2 files +67ms
  brunch:generate Concatenating [node_modules/phoenix_html/priv/static/phoenix_html.js, web/static/js/app.js, web/static/js/socket.js] => priv/static/js/app.js +0ms
  brunch:generate Writing priv/static/js/app.js +3ms
  brunch:generate Writing priv/static/js/app.js.map +33ms
19 Apr 19:09:58 - info: compiled socket.js and 2 cached files into app.js in 118ms
  brunch:watch change web/static/js/socket.js +16s
  brunch:list Reading web/static/js/socket.js +0ms
  brunch:pipeline Compiling web/static/js/socket.js @ BabelCompiler +1ms
  brunch:pipeline Compiling web/static/js/socket.js @ JavaScriptCompiler +17ms
  brunch:modules Wrapping web/static/js/socket.js @ commonjs +1ms
  brunch:file Generated source map for 'web/static/js/socket.js'  +0ms
  brunch:list Compiled web/static/js/socket.js +0ms
  brunch:write Writing 1/2 files +67ms
  brunch:generate Concatenating [node_modules/phoenix_html/priv/static/phoenix_html.js, web/static/js/app.js, web/static/js/socket.js] => priv/static/js/app.js +0ms
  brunch:generate Writing priv/static/js/app.js +2ms
  brunch:generate Writing priv/static/js/app.js.map +23ms
19 Apr 19:10:14 - info: compiled socket.js and 2 cached files into app.js in 129ms

I changed test.js and then socket.js:

$ node_modules/brunch/bin/brunch watch -d
  brunch:speed Created BrunchWatcher 250ms +0ms
  brunch:application Trying to load brunch-config +3ms
  brunch:speed Loaded config 274ms +20ms
  brunch:speed Loading plugins 274ms +0ms
  brunch:speed Loaded plugin babel-brunch 498ms +224ms
  brunch:speed Loaded plugin clean-css-brunch 574ms +76ms
  brunch:speed Loaded plugin css-brunch 575ms +1ms
  brunch:speed Loaded plugin javascript-brunch 607ms +32ms
  brunch:speed Loaded plugin uglify-js-brunch 683ms +76ms
  brunch:plugins Loaded plugins: babel-brunch, css-brunch, javascript-brunch +2ms
  brunch:speed Loaded plugins 685ms +0ms
  brunch:speed Loaded watcher 686ms +1ms
  brunch:watch add package.json +23ms
  brunch:watch add brunch-config.js +9ms
  brunch:watch add /home/czi/Elixir/brunchdemo/brunchdemo/node_modules/phoenix/priv/static/phoenix.js +1ms
  brunch:list Reading node_modules/phoenix/priv/static/phoenix.js +1ms
  brunch:speed Starting compilation 720ms +0ms
  brunch:watch add /home/czi/Elixir/brunchdemo/brunchdemo/node_modules/phoenix_html/priv/static/phoenix_html.js +0ms
  brunch:list Reading node_modules/phoenix_html/priv/static/phoenix_html.js +1ms
  brunch:file Init node_modules/phoenix/priv/static/phoenix.js: isntModule=true isWrapped=true +4ms
  brunch:file Init node_modules/phoenix_html/priv/static/phoenix_html.js: isntModule=true isWrapped=true +4ms
  brunch:modules Not wrapping (is vendor file) node_modules/phoenix/priv/static/phoenix +4ms
  brunch:list Compiled node_modules/phoenix/priv/static/phoenix.js +7ms
  brunch:modules Not wrapping (is vendor file) node_modules/phoenix_html/priv/static/phoenix_html +0ms
  brunch:list Compiled node_modules/phoenix_html/priv/static/phoenix_html.js +0ms
  brunch:watch add web/static/assets/favicon.ico +10ms
  brunch:asset Init web/static/assets/favicon.ico directory=web/static/assets/ relativePath=favicon.ico destinationPath=priv/static/favicon.ico +2ms
  brunch:watch add web/static/assets/robots.txt +1ms
  brunch:asset Init web/static/assets/robots.txt directory=web/static/assets/ relativePath=robots.txt destinationPath=priv/static/robots.txt +1ms
  brunch:watch add web/static/css/app.css +1ms
  brunch:list Reading web/static/css/app.css +0ms
  brunch:watch add web/static/js/app.js +0ms
  brunch:list Reading web/static/js/app.js +0ms
  brunch:watch add web/static/js/socket.js +1ms
  brunch:list Reading web/static/js/socket.js +0ms
  brunch:watch add web/static/js/test.js +10ms
  brunch:list Reading web/static/js/test.js +0ms
  brunch:asset Copied web/static/assets/favicon.ico +14ms
  brunch:asset Copied web/static/assets/robots.txt +1ms
  brunch:file Init web/static/css/app.css: isntModule=false isWrapped=false +0ms
  brunch:pipeline Compiling web/static/css/app.css @ CSSCompiler +1ms
  brunch:list Compiled web/static/css/app.css +1ms
  brunch:file Init web/static/js/app.js: isntModule=false isWrapped=true +1ms
  brunch:pipeline Compiling web/static/js/app.js @ BabelCompiler +0ms
  brunch:pipeline Compiling web/static/js/app.js @ JavaScriptCompiler +165ms
  brunch:modules Wrapping web/static/js/app @ commonjs +9ms
  brunch:file Generated source map for 'web/static/js/app.js'  +0ms
  brunch:list Compiled web/static/js/app.js +6ms
  brunch:file Init web/static/js/socket.js: isntModule=false isWrapped=true +0ms
  brunch:pipeline Compiling web/static/js/socket.js @ BabelCompiler +1ms
  brunch:pipeline Compiling web/static/js/socket.js @ JavaScriptCompiler +72ms
  brunch:modules Wrapping web/static/js/socket @ commonjs +3ms
  brunch:file Generated source map for 'web/static/js/socket.js'  +1ms
  brunch:list Compiled web/static/js/socket.js +3ms
  brunch:file Init web/static/js/test.js: isntModule=false isWrapped=true +0ms
  brunch:pipeline Compiling web/static/js/test.js @ BabelCompiler +0ms
  brunch:pipeline Compiling web/static/js/test.js @ JavaScriptCompiler +3ms
  brunch:modules Wrapping web/static/js/test @ commonjs +3ms
  brunch:file Generated source map for 'web/static/js/test.js'  +0ms
  brunch:list Compiled web/static/js/test.js +1ms
  brunch:watch add web/static/assets/images/phoenix.png +2ms
  brunch:asset Init web/static/assets/images/phoenix.png directory=web/static/assets/ relativePath=images/phoenix.png destinationPath=priv/static/images/phoenix.png +0ms
  brunch:speed Watcher is ready 1053ms +1ms
  brunch:asset Copied web/static/assets/images/phoenix.png +26ms
  brunch:write Writing 2/2 files +70ms
  brunch:generate Concatenating [node_modules/phoenix/priv/static/phoenix.js, node_modules/phoenix_html/priv/static/phoenix_html.js, web/static/js/app.js, web/static/js/socket.js, web/static/js/test.js] => priv/static/js/app.js +9ms
  brunch:common Writing priv/static/js/app.js +120ms
  brunch:common Writing priv/static/js/app.js.map +25ms
  brunch:generate Concatenating [web/static/css/app.css] => priv/static/css/app.css +16ms
  brunch:common Writing priv/static/css/app.css +13ms
  brunch:common Writing priv/static/css/app.css.map +5ms
19 Apr 12:51:11 - info: compiled 6 files into 2 files, copied 3 in 1.1 sec
  brunch:watch change web/static/js/test.js +26s
  brunch:list Reading web/static/js/test.js +3ms
  brunch:pipeline Compiling web/static/js/test.js @ BabelCompiler +2ms
  brunch:pipeline Compiling web/static/js/test.js @ JavaScriptCompiler +15ms
  brunch:modules Wrapping web/static/js/test @ commonjs +1ms
  brunch:file Generated source map for 'web/static/js/test.js'  +0ms
  brunch:list Compiled web/static/js/test.js +1ms
  brunch:write Writing 1/2 files +66ms
  brunch:generate Concatenating [node_modules/phoenix/priv/static/phoenix.js, node_modules/phoenix_html/priv/static/phoenix_html.js, web/static/js/app.js, web/static/js/socket.js, web/static/js/test.js] => priv/static/js/app.js +1ms
  brunch:common Writing priv/static/js/app.js +23ms
  brunch:common Writing priv/static/js/app.js.map +49ms
19 Apr 12:51:38 - info: compiled test.js and 4 cached files into app.js in 164ms
  brunch:watch change web/static/js/test.js +11s
  brunch:list Reading web/static/js/test.js +0ms
  brunch:pipeline Compiling web/static/js/test.js @ BabelCompiler +1ms
  brunch:pipeline Compiling web/static/js/test.js @ JavaScriptCompiler +15ms
  brunch:modules Wrapping web/static/js/test @ commonjs +0ms
  brunch:file Generated source map for 'web/static/js/test.js'  +0ms
  brunch:list Compiled web/static/js/test.js +1ms
  brunch:write Writing 1/2 files +66ms
  brunch:generate Concatenating [node_modules/phoenix/priv/static/phoenix.js, node_modules/phoenix_html/priv/static/phoenix_html.js, web/static/js/app.js, web/static/js/socket.js, web/static/js/test.js] => priv/static/js/app.js +1ms
  brunch:common Writing priv/static/js/app.js +13ms
  brunch:common Writing priv/static/js/app.js.map +61ms
19 Apr 12:51:49 - info: compiled test.js and 4 cached files into app.js in 161ms
  brunch:watch change web/static/js/socket.js +17s
  brunch:list Reading web/static/js/socket.js +0ms
  brunch:pipeline Compiling web/static/js/socket.js @ BabelCompiler +5ms
  brunch:pipeline Compiling web/static/js/socket.js @ JavaScriptCompiler +53ms
  brunch:modules Wrapping web/static/js/socket @ commonjs +3ms
  brunch:file Generated source map for 'web/static/js/socket.js'  +1ms
  brunch:list Compiled web/static/js/socket.js +2ms
  brunch:write Writing 1/2 files +66ms
  brunch:generate Concatenating [node_modules/phoenix/priv/static/phoenix.js, node_modules/phoenix_html/priv/static/phoenix_html.js, web/static/js/app.js, web/static/js/socket.js, web/static/js/test.js] => priv/static/js/app.js +2ms
  brunch:common Writing priv/static/js/app.js +7ms
  brunch:common Writing priv/static/js/app.js.map +31ms
19 Apr 12:52:07 - info: compiled socket.js and 4 cached files into app.js in 182ms
  brunch:watch change web/static/js/socket.js +8s
  brunch:list Reading web/static/js/socket.js +2ms
  brunch:pipeline Compiling web/static/js/socket.js @ BabelCompiler +1ms
  brunch:pipeline Compiling web/static/js/socket.js @ JavaScriptCompiler +14ms
  brunch:modules Wrapping web/static/js/socket @ commonjs +1ms
  brunch:file Generated source map for 'web/static/js/socket.js'  +0ms
  brunch:list Compiled web/static/js/socket.js +0ms
  brunch:write Writing 1/2 files +66ms
  brunch:generate Concatenating [node_modules/phoenix/priv/static/phoenix.js, node_modules/phoenix_html/priv/static/phoenix_html.js, web/static/js/app.js, web/static/js/socket.js, web/static/js/test.js] => priv/static/js/app.js +2ms
  brunch:common Writing priv/static/js/app.js +8ms
  brunch:common Writing priv/static/js/app.js.map +33ms
19 Apr 12:52:15 - info: compiled socket.js and 4 cached files into app.js in 153ms

http://recordit.co/pO1T0s1sSm A screencast showing the problem:

I launch brunch watch d.
Show that the content of the combined app.js file contains the content of socket.js at the end.
I change socket.js.
Show that the content of app.js doesn't contain the required part anymore.

http://recordit.co/pO1T0s1sSm A screencast showing the problem:

I launch brunch watch d.
Show that the content of the combined app.js file contains the content of socket.js at the end.
I change socket.js.
Show that the content of app.js doesn't contain the required part anymore.

This could be related to the editor you are using, writing file in some way so that it first is emptied and saved, then the contents added a ms after... https://github.com/brunch/brunch/issues/1250 — some users of sublime and brackets reported that already.
For sublime, tweaking the atomic_save settings seemed to do the trick.

Thanks, I'm using Sublime 3.
I set "atomic_save": true and now it works correctly.

I also would like to add that I'm trying other editors, looking for the best one for Elixir and I got exactly the same issue with Emacs.

I added
  awaitWriteFinish: true,
  usePolling: true,

to the Brunch config, as I read in another issue, but it didn't help.

Yeah... does seem to be happening due to the way some editors handle file saves. Never once had a problem like this with my old and trusted vim :)
We probably should put this into docs or something? Also maybe there is some way to handle write-specific cases like this on the chokidar side... though I'm not completely sure. cc @paulmillr @es128
As far as this issue is concerned, I guess it's been resolved @r-zzi?

If there is no any possible solutions better than polling, yes, it's resolved :)

@goshakkk could you put it into the docs?

@paulmillr sure — https://github.com/brunch/brunch/pull/1361

Had a similar problem using WebStorm and brunch watch. To fix it I did not have to use the watcher block in the Brunch configuration. Instead I went to File > Settings > Appearance & Behavior > System Settings and unchecked option 'Use "safe write" (save changes to a temporary file first)'.


Fix dev requirements file

Current coverage is 100% (diff: 100%)

Merging #70 into develop will not change coverage

@@           develop    #70   diff @@
=====================================
  Files           60     60
  Lines         1721   1721
  Methods          0      0
  Messages         0      0
  Branches         0      0
=====================================
  Hits          1721   1721
  Misses           0      0
  Partials         0      0

Powered by Codecov. Last update 1c587df...95ea01e

Excellent thanks.  This change BTW is to make it not rely on git to be installed to run init-environment


Add filtering and sorting to job advertisement page

Closes: #...
Checklist

[ ] I have written tests
[ ] I have provided documentation

Changelog

A bullet list of what you've done to make the life of the reviewer easier.

How to test
A consise description of how to test the newly implemented functionality.

Fixed linting issues and opened a new PR in https://github.com/dotkom/monoweb/pull/891


MNT: attempt to fix CI

This will be a multiple iteration approach. Fixing the different CI workflows one by one.

So, it seems that we need to wait for an update of sphinx-pythia-theme.
The current issue is that sphinx-pythia-theme is pinned to sphinx book theme < 0.2 (which in turn downgrades sphinx < 5 etc).

I'm thinking this might be related this being a PR. I'll merge this to check if this will work on main.


Prevent conflicts between attributes and data/meta columns

Please confirm that this PR has done the following:

[x] Tests Added
[x] Documentation Added
[x] Description in RELEASE_NOTES.md Added

Description of PR
This PR adds explicit checks (and meaningful error messages) to prevent conflicts between IamDataFrame attributes (model, scenario, data, meta, ...) and column names in the data and meta dataframes.
This issue was raised by @Rlamboll in bilateral conversation, causing problems when there is a column "meta" in an IAMC-style Excel file.

Thanks @Rlamboll for the review!


add options for doc extractor

When extracting doc files larger then default stdout max buffer size (200KB), I got the following error:
Error: antiword read of file named [[ myfile.doc ]] failed: Error: stdout maxBuffer exceeded.
So I just passed options.exec to exec. So I'm able to configure maxBuffer, like:
textract.fromUrl('http://www.aaa.com/mylargedoc.doc',
	{exec: {maxBuffer: 400 * 1024}},
	function( error, text ) {});

This has the octet stream stuff in it (spelled incorrectly), so going to close and make the small exec change myself.


not getting commenst of users and who liked particular photo info

pls resolve it

we need more info about config, setup, your os ...


Create an evolution PoC model

Create an evolution.cairo PoC model to manage creature evolutions based on pre-defined constants or rules.
You can think about these fields, feel free to change, delete, or modify them according to our current backend structure:

base_beast_id: Unique ID of the base beast.
evolved_beast_id: Unique ID of the evolved beast.
level_requirement: Minimum level required for the evolution.
required_battles: Number of battles the beast must win to evolve.
required_item: ID of an item required for the evolution (optional).

Feel free to implement the following core functions:

can_evolve: Check if a creature meets the requirements to evolve.
evolve: Perform the evolution process and return the evolved creature ID if successful.

The evolution rules should be defined as constants for now, allowing the backend to manage evolution conditions without dynamic changes. For example something like this but in Cairo:
const EVOLUTION_RULES = {
    1: {"evolved_beast_id": 2, "level_requirement": 10, "required_battles": 5, "required_item": 1001},
    2: {"evolved_beast_id": 3, "level_requirement": 20, "required_battles": 10, "required_item": None},
};

If you need help just ask me here in a comment or ping me on Telegram in the group channel for external contributors.
Thanks for your time, please send a comment with your approach/solution, be creative and use a technical explanation and avoid ChatGPT or AI comments.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged:
software engineering background, backend & smart contract dev with contribution to similar tasks(https://app.onlydust.com/u/Josh-121) looking to make first contribution on this project
How I plan on tackling this issue
I have good understanding of this & woud create ,
work on feedback & recommendation ensuring contact. Can deliver within a day upon assignment

Hi, I'm Josué, and I'm part of the Dojo Coding community. I have experience in programming languages such as Angular, React, C#, .NET, C++, PHP, Python, Java, Node.js, and JavaScript, among others. I'm passionate about software development and enjoy contributing to open-source projects, applying my knowledge to solve problems in a practical way.
I would create an Evolution.Cairo file with fixed evolution rules saying what it takes for a creature to evolve. I would then do a can_evolve function to check if it meets the requirements and another evolve function that changes the creature to the new ID if everything is ok. This way it is handled easily and clearly according to the rules we have.

Hi, My name is Kevin Obando, a full stack junior developer with 2 years of experience from Costa Rica. I am starting in this community and I want to help in this project.

Hi team!
I would like to get this opportunity. I am a systems engineer from Costa Rica, with experience in C#, and I am currently learning Cairo and Rust, which makes this project a great opportunity to apply and strengthen my knowledge in Cairo.
It's my first ODhack and I'm looking for my first contribution, so I'm excited to contribute and learn in this collaborative environment. I commit to implementing the evolution PoC model with the necessary attributes, developing the can_evolve and evolve function, and ensuring that full testing is performed to validate its proper functioning.
Thank you for considering me!

May I pick this up?
Would implement this project firstly by defining the structure of the BEAST defining is elements like id, evolution, level, battles_won etc.
Create the evolve and can_evolve function making sure they check necessary conditions like the beast's level, the battles won, and any items required—before allowing the evolution to happen.
And most importantly I’ll focus on testing everything thoroughly. I’ll write unit tests to make sure the creatures evolve as expected, and I’ll also check for edge cases, like creatures that don’t exist or ones that have met some of the requirements but not all of them.

May I pick this up?

I’d like to resolve this.

Hi, my name is José Mario from Costa Rica, a Full stack developer with more than 15 years in development and a focus in TypeScript, JavaScript, Nodejs and React. Open Source projects are something I enjoy, and I am now learning on Rust, and Cairo, I recently contribute to some Rust projects. About my learning and growth in the industry, I started doing ODHacks as early as version 7.0 due to my work with Dojo Coding. I am excited to utilize my wealth of experience and experience to new technologies to meet new challenges and deliver results.
How to tackle this feature:
Create a new Cairo file that contain two functions:
can_evolve -> Check a beast against the requirements based on the evolution rules defined
evolve -> If the requirements are satisfied perform the evolution
Finally create unit tests in order to validate that the functionality meets the expectations.

Hi @jsanchez556, be focused on the implementation of the model/functions in a deeply way, we have another issue for the unit test and if you need help just ask me 🫡


OCPBUGS-10588: mount build.Spec.Source.ConfigMaps for custom builder images

When using a custom build strategy, mount config maps which were listed as sources, like we do for docker and sti builds.

/retest

/retest

/assign @coreydaley

/lgtm

/jira refresh

/retest

@nalind Is this something that we should backport? Seems like a simple change that might be useful to have in previous versions as long as there are no conflicts.

Does it help the original reporter if we do so?  The card was opened for 4.10, so we'd have to take it back through multiple releases.

Yes.
If we can we should take it back as far as we can (but stop at/including 4.10)

/cherry-pick release-4.13


Check if our go.mod files are in sync

Both the main go.mod and the ./apis/go.mod file points to other operators. But if the version of those operators are not in sync between the two go.mod files then we can get strange CRD validation errors when the openstack-operator is deployed. To avoid that a check is added to the Makefile and to our github workflows

hm, the workflow should not pass as I intentionally based this on the older broken master....

@gibizer I took a slightly different approach with https://github.com/openstack-k8s-operators/openstack-operator/pull/49. That and we'd have to automatically tag git commits as dependabot currently doesn't support pseudo versions. See also my comment on slack

@gibizer I took a slightly different approach with #49. That and we'd have to automatically tag git commits as dependabot currently doesn't support pseudo versions. See also my comment on slack

Sure, your approach is the more forward looking one so I'm totally onboard to do that.

@gibizer I took a slightly different approach with #49. That and we'd have to automatically tag git commits as dependabot currently doesn't support pseudo versions. See also my comment on slack

Sure, your approach is the more forward looking one so I'm totally onboard to do that.

To clarify I think the approaches are potentially both useful. Like having dependabot push the updates but our own workflow verify it isn't bad. It is possible a developer could manually get things out of sync and this would/should catch it immediately where as the dependabot automation is more on a schedule and may take days to show up.
In short we might still want to do both of these to guard against them getting out of sync.

/retest


mesheryctl: Build & Release process failing

Thanks for working on this, @kushthedude

Thanks for working on this, @kushthedude

This is getting quite ugly, https://github.com/layer5io/meshery/pull/914 I fix one issue another pops up, all due to zero CGO support of goreleaser.

This issue is most likely due to https://github.com/vmihailenco/taskq/issues/55. We need to update taskq package that is using zstd package(not compatible with all OS architectures)

This is the issue in goreleaser, as cgo is not supported where as gozstd
needs explicit flag to have cgo enabled to solve this issue.
On Tue, 28 Apr, 2020, 19:04 Naveen jain<EMAIL_ADDRESS>wrote:

This issue is most likely due to vmihailenco/taskq#55
https://github.com/vmihailenco/taskq/issues/55. We need to update taskq
package that is using zstd package(not compatible with all OS
architectures)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/layer5io/meshery/issues/915#issuecomment-620611562,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKQMTLSOHYH3C5XFXX7YO4TRO3LPXANCNFSM4MSPM2PA
.

I am looking for workarounds but atlast if nothing goes well, we could make
a fork and update the code as per our need. Also, grafand sdk was causing a
lot of issues but I fixed them here too.
But I hope we won't get to this state to have a fork and customize at our
will.
On Tue, 28 Apr, 2020, 19:14 Kush Trivedi<EMAIL_ADDRESS>wrote:

This is the issue in goreleaser, as cgo is not supported where as gozstd
needs explicit flag to have cgo enabled to solve this issue.
On Tue, 28 Apr, 2020, 19:04 Naveen jain<EMAIL_ADDRESS>wrote:

This issue is most likely due to vmihailenco/taskq#55
https://github.com/vmihailenco/taskq/issues/55. We need to update
taskq package that is using zstd package(not compatible with all OS
architectures)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/layer5io/meshery/issues/915#issuecomment-620611562,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKQMTLSOHYH3C5XFXX7YO4TRO3LPXANCNFSM4MSPM2PA
.

@kushthedude , I think upgrading taskq would work for this issue... If you're trying some other workaround, I might also give a shot at this and this way any of the approach that works can be used in project...
Thoughts?

Are we even using taskq ?

It is taskq

It is taskq

Have pushed a commit to update, let's see if it do the miracle !


Recommended technique for getting touch/mobile input for WASM

Is there a recommended way to get input from a mobile device's browser to a WASM game?
I have a small game that uses your libraries. I have also been running it using  wasmserve to see it in the browser.
My code uses the ebiten.IsKeyPressed()  for directional arrows and space bar. Is there a way to get an HTML5 canvas element and maybe an addEventListener() to interact with the WASM build or somehow call a corresponding IsKeyPressed() method?

Hi,
What about using IsMouseButtonPressed or TouchIDs APIs besides IsKeyPressed?

Oh yeah just saw that in your docs. Sorry I was looking on ebiten.org instead of the ebiten godocs. I'll give that a shot... thanks!


Changes related to the next Meilisearch release (v0.29.0)

Related to this issue: https://github.com/meilisearch/integration-guides/issues/211
This PR:

gathers the changes related to the next Meilisearch release (v0.29.0) so that this package is ready when the official release is out.
should pass the tests against the latest pre-release of Meilisearch.
might eventually contain test failures until the Meilisearch v0.29.0 is out.

⚠ This PR should NOT be merged until the next release of Meilisearch (v0.29.0) is out.
This PR is auto-generated for the pre-release week purpose.

bors merge

Thanks again for contributing with Meilisearch :heart:
If you are participating in Hacktoberfest, and you would like to receive a small gift from Meilisearch too, don't forget to fill this form.


Types of property 'children' are incompatible.

Hi, I'm getting below error.
TS2322: Type '{ children: Element; onChange: () => (isVisible: any) => void; }' is not assignable to type 'IntrinsicAttributes & Props & { children?: ReactNode; }'.
  Type '{ children: Element; onChange: () => (isVisible: any) => void; }' is not assignable to type 'Props'.
  Types of property 'children' are incompatible.
  Type 'Element' is not assignable to type '(args: { isVisible: boolean; visibilityRect?: Shape; }) => ReactNode'.
    Type 'Element' provides no match for the signature '(args: { isVisible: boolean; visibilityRect?: Shape; }): ReactNode'.

How to solve this?

Maybe don't be like a non technical person and specify a bit more details.... like Node verson, React version etc.. where you get the error etc

This is an issue with DefinitelyTyped definitions, children property is not compatible with all usages. The type should be:
{
    /* other props */
    children:
        | ReactNode
        | ((args: { isVisible: boolean; visibilityRect?: Shape; }) => ReactNode);
}


Compressing the metadata json file.

@Parth-Brahmbhatt, because this is a forward-incompatible change, we need to have an option that enables compression. That way, you can deploy this version safely and only enable the breaking change once all infrastructure has been updated to read compressed metadata files.

Added a system property.


Add Config

Add a config option in modmenu to only disable limit to 64 mobs that can only damage you (zombies, skeletons, etc.)  And another option to only disable 64 limit for pacific mobs (cows, sheep, etc.)

I've implemented this in v1.1.2


LUA does not find files

Hi,
I am using the latest letsencrypt + validation plugin on haproxy 1.6.4 and Ubuntu 14.04 LTS, but the LUA script cannot find files, even if I manually put them there.
for example, if I put the file abcd in /mnt/ssl/letsencrypt/.well-known/acme-challenge/ (which is my folder), and access the url in my browser, I get the following error
Apr 18 20:44:17 haproxy haproxy[57762]: [acme] http-01 token not found: abcd (client-ip: .)

I added a debug log to the script and let it print the pathname:
Apr 18 20:54:30 haproxy haproxy[57762]: [acme] getting token from: /mnt/ssl/letsencrypt/.well-known/acme-challenge/abcd

The folder /mnt/ssl/ is fully accessible r+w for all users, it is a network drive though (I use multiple haproxy instances and want them all to access the same folder).
ls -al /mnt/ssl/letsencrypt/.well-known/acme-challenge/abcd
-rwxrwxrwx 1 root root 11 Apr 18 20:38 /mnt/ssl/letsencrypt/.well-known/acme-challenge/abcd

Any idea what it could be?

@elmalto Looks to me like your HAProxy is configured with the chroot option. Please past the global section of your config.

Yes you're right:
global
  log /dev/log    local0
  log /dev/log    local1 notice
  chroot /var/lib/haproxy
  ## acme plugin
  lua-load /etc/haproxy/acme-http01-webroot.lua

Any difficulties following the instructions in the README? It's all in there... 😀

Sorry about that, was not aware that the plugin would only be able to access files in chroot even if I set the path in the config file


config: remove several required check in ticdc release-5.0

remove several required check in ticdc release-5.0 temporally

/merge
/ok-to-test