There is no extension able to load the configuration for "when@test"

when switching from YAML to PHP, any configuration that contains the when@test key fails
vendor/bin/config-transformer switch-format config/packages/twig.yaml
bin/console cache:clear

There is no extension able to load the configuration for "when@test" (in "/home/tac/survos/projects/jardin/config/packages/twig.php"). Looked for namespace "when@test", found "framework", "doctrine", "doctrine_migrations", "twig
", "webpack_encore", "twig_extra", "security", "monolog", "sensio_framework_extra", "umbrella_core", "stof_doctrine_ex```

What is this "when@test" syntax for?
How is it supported in PHP form?

It's created by default now in new Symfony projects, e.g.
symfony new my_project --webapp
cat my_project/config/packages.twig.yaml

twig:
    default_path: '%kernel.project_dir%/templates'

when@test:
    twig:
        strict_variables: true

It was introduced in 5.3, to allow configuring multiple environments in a single file:
https://symfony.com/blog/new-in-symfony-5-3-configure-multiple-environments-in-a-single-file

I see. Could you send failing fixture in PR with minimal example?
In this directory:
https://github.com/symplify/symplify/tree/main/packages/config-transformer/tests/Converter/ConfigFormatConverter/YamlToPhp/Fixture/normal

Sure.

@samsonasik Could you check this one?

I will try.

when I updated to dev-main, and ran
vendor/bin/config-transformer switch-format config/packages/twig.yaml

I got
[ERROR] Symplify\PhpConfigPrinter\NodeFactory\ContainerConfiguratorReturnClosureFactory::resolveExpression(): Return
value must be of type ?PhpParser\Node\Stmt\Expression, ConfigTransformer202206\PhpParser\Node\Stmt\Expression
returned

I'm checking it... it's due to scope quoting removal.

Should be ok now: https://github.com/symplify/config-transformer/commit/bb56c85dd6b027d95e7115118ed5a08dc303bc8e
Could you re-try?

The way is right, just the package name :)
This one: https://github.com/symplify/config-transformer/commit/bb56c85dd6b027d95e7115118ed5a08dc303bc8e
composer require symplify/config-transformer@dev-main#bb56c85dd6b027d95e7115118ed5a08dc303bc8e

That is, the installation instructions.  I don't know if the script itself
is working
On Tue, Jun 14, 2022 at 12:00 PM Tac Tacelosky @.***> wrote:

Hmm.  That's still not working for me.
On Tue, Jun 14, 2022 at 11:56 AM Tomas Votruba @.***>
wrote:

The way is right, just the package name :)
This one: @.***
https://github.com/symplify/config-transformer/commit/bb56c85dd6b027d95e7115118ed5a08dc303bc8e
composer require @.***#bb56c85dd6b027d95e7115118ed5a08dc303bc8e
—
Reply to this email directly, view it on GitHub
https://github.com/symplify/symplify/issues/4174#issuecomment-1155392054,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEXIQMCZCVLL26SLCITH23VPCTTBANCNFSM5YUCTOUQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

I tried to copy-paste script, it does not work for some reason. But classic composer.json works well.
The composer.json should look like:
    "require": {
        "symplify/config-transformer": "dev-main"
    }

Then run:
composer update

@TomasVotruba the issue seems due to prefixed php-parser on scoped build https://github.com/symplify/config-transformer/commit/5d88d3879cc1d1064654705d8ed0e9434db1d4c8#diff-251b9ed3c4955a3469a82949a553997e77a2e1d2708a5d7d06e6d92137e0cf7d

Both should  be fixed by now


[Bug]: Invalid Handle

Operating System
Windows 11
BG3 Mod Manager Version
<IP_ADDRESS>
BG3 Game Version
4.11.5022896
Bug Summary
One day everything was fine.  The Next day the game isn't reading my mods, BGMM gets an error "The Handle is Invalid" everytime I open it or it goes to open screen and nothing happens.
Have verified game files.  Have reinstalled BG3MM including all mods and the data folder from game.  Same deal.

Links
No response

Took me a long time to find an answer to this one - it was ultimately a windows 11 issue.  Two security features had been switched off that apparently I needed on.
Solve was:
Windows 11:  Start menu > type 'services' > check that "Volume Shadow Copy" and "Windows Backup" were 'started'.  mine were not.  Starting them solved the issue.


Add option to open a shell in the repository

Either by spawning a new process, or embedding a shell in the application

This will probably be possible with the existing Windows Terminal after https://github.com/microsoft/terminal/pull/8898 is released


Some editor's names are empty

These editors of these replies does not have names.
https://cofacts.g0v.tw/article/5482632593803-rumor
https://cofacts.g0v.tw/article/5503261348541-rumor
Since they are editors in the editors' meetup, they are using the latest production code but still encounters this problem. This should be investigated.

我使用github登入 名字會顯示null
覺得有可能是沒跟github串好

I see, so it's about github
Thanks for the information @nonumpa!


Try to ignore Pods in code coverage

Description
This PR intends to ignore the Pods/ directory for the code coverage analysis created by codecov on subsequent PRs.

Codecov Report

Merging #898 into master will increase coverage by 0.08%.

@@            Coverage Diff             @@
##           master     #898      +/-   ##
==========================================
+ Coverage   22.76%   22.85%   +0.08%
==========================================
  Files         686      668      -18
  Lines       57565    57325     -240
==========================================
- Hits        13107    13102       -5
+ Misses      44458    44223     -235

Impacted Files
Coverage Δ

Source/EnrolledCoursesViewController.swift
65.41% <ø> (-3.76%)
:x:

Test/EndToEnd/Code/LoginScreenInteractor.swift

Test/EndToEnd/Code/TestCredentials.swift

Test/EndToEnd/Code/LoginFeatureTestCase.swift

Test/EndToEnd/Code/EndToEndConfig.swift

Test/EndToEnd/Code/AppLaunchInteractor.swift

Test/EndToEnd/Code/FindCoursesInteractor.swift

Test/EndToEnd/Code/RegisterFeatureTestCase.swift

Test/EndToEnd/Code/XCUIElement+Helpers.swift

Test/EndToEnd/Code/AppInteractor.swift

... and 9 more

Continue to review full report at Codecov.

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

@danialzahid94 what's the status of this PR? are we going to merge this soon?

I think it's ready to merge. @saeedbashir Thoughts?


change/delete trigger updates for cipher objects

software library based cipher decryption
refactored the trigger handlers for ciphercontext and controller certificate.

@srinibas-zededa let me know when you have addressed the comments so we can pull this to master,

@srinibas-zededa let me know when you have addressed the comments so we can pull this to master,
Hi Erik, I have refactored more on the line of config/status model. Wherein the errors, can be captured as they occur. And can be conveyed to controller through Device Info or, similar API.

Still waiting for test results. No need to include them here but please send them out.
First of all need to test against current controller version, then also test against the controller sending the encrypted blobs.


What am i doing wrong here

Can someone pls explain why i see continual rerendering here? Devtools tells me it's the useAStore() hook but it only picks the addLines action 🤔
This is a minimal example of a pattern i'm trying to form - the ability to combine actions from multiple stores into "composed actions" inside a hook and then use the same 2 store's state values directly from components. (I want to use the composed actions from a higher component)
Repro repo (yarn dev to run): https://github.com/elmpp/ink-zustand-poc
const React = require("react");
const { Box, Text } = require("ink");
const { useEffect } = require("react");
const create = require('zustand').default;

module.exports = () => {
	const {addLines} = useAStore()

	useEffect(() => {
		// increment()
    const increment = (timer) => {
			addLines([`${Math.random}`])
    }
    const timer = setInterval(() => {
      increment(timer)
    }, 2000)
    return () => clearInterval(timer)
	}, [addLines])

	console.log('rerendering');

	return (
		<Box>
			<Sub />
		</Box>
	);
};

const Sub = () => {
	const {lines} = useStore(state => ({lines: state.lines}))

	return (
		<Box>
			{lines.map(line => <Text>{line}</Text>)}
		</Box>
	);
}

const [useStore] = create((set, get) => ({
	lines: ['first'],
	addLines: lines => set(state => state.lines.concat(lines)),
}))

const useAStore = () => {
	const {addLines} = useStore(state => ({addLines: state.addLines}))
	return {addLines}
}

Adding the shallow comparison second arg fixed this for me.


Static files and JS Modules

Hello,
I've run into a problem with vite-plugin-virtual-mpa where static resources (images) and JavaScript module paths are not being processed correctly when specified in the HTML template.
config file:

import { defineConfig } from 'vite';
import { defineConfig } from 'vite';
import { createMpaPlugin, createPages } from 'vite-plugin-virtual-mpa';

const pages = createPages([
  {
    name: 'apple',
    filename: 'src/fruits/apple/apple.html',
    template: 'src/index.html',
    data: {
      title: 'This is Apple page',
    },
  },
  {
    name: 'banana',
    filename: 'src/fruits/banana/banana.html',
    template: 'src/index.html',
    data: {
      title: 'This is Banana page',
    },
  },
]);

export default defineConfig(({ mode }) => {
  return {
    base: '/',
    plugins: [
      createMpaPlugin({
        pages,
      }),
    ],
  };
});

src/index.html Template Example:
<!DOCTYPE html>

    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title><%= title %></title>

Issue:
When running a build, the process fails with errors indicating it cannot resolve index.js from the HTML files. This error specifically occurs when I include a JavaScript module in my HTML template. Additionally, even when the JavaScript module reference is removed, the build process still ignores all static resources, such as images. This suggests that the plugin does not correctly process static resource paths in the HTML templates.
Error message:
error during build:
Error: [vite]: Rollup failed to resolve import "index.js" from "/com.docker.devenvironments.code/src/fruits/banana/banana.html".
This is most likely unintended because it can break your application at runtime.

Expected Behavior:
I expected all specified paths (to static resources and JS modules) in the HTML template to be processed correctly, akin to how Vite typically handles resource paths.
Seeking Help:
Is this behavior currently supported? If not, are there any configurations or workarounds to achieve the expected handling of static resources and JS modules in this setup?
Thank you for any guidance or suggestions you might have.

Have you tried to remove the plugin？ I think it's not where  the problem is, because this plugin actually don't handle any files, it just redirect.🤔

You're right. The problem was with paths to files, they should be like:
<!DOCTYPE html>

    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title><%= title %></title>

Hi there!

My bad, sorry :)
Thank you for your time and effort in developing this plugin. It is truly a valuable.

Thanks for your approval!
Actually I did worry about this before, so I validate the entry field in config at when this plugin was created.
https://github.com/emosheeep/vite-plugin-virtual-mpa/blob/f16cea2de4423ec50711d241faa17046f2b9a51c/src/plugin.ts#L79
But It seems you manually add entry in html file, which I can't control and seems a little kind of out of the plugin's capabilities.


Collection search

Keeping track of on what's potting with searching Collection.
When we say/imply "do" below, it is just the current implementation, ready to discuss.
When we say/imply "don't" below, we mean currently don't - not always won't.
Where we are
We currently search for collections the same way we search for anything else.
We can also search by collection RefNo and collection depth (1, 2, 3).
We surface any Collection level items on the main search.

Closing as stale.


Add whitelist: impossible to remove whitelist / updating number of whitelist NFTs to 0

Impossible to remove whitelist.
We should allow owner / admin to remove whitelist by updating the number of whitelist NFTs to 0.

Fix add commit d018947

when updating amount to 0 NFT is it possible to erase the row?

Please review @phoebehoang85

Please review @phoebehoang85


Streamline responses from visualization endpoint

The responses from the visualization endpoint can be quite different, e.g.,
{
  time_points: ['1900-1920', '1940-1960'],
  words: [ {}, {} ]
}

compared to
[
{ key: '1900-1920', token_count: ... },
{ key: '1920-1940', token_count: ...}
]
Of course it makes sense that different visualizations have different arguments, but perhaps the setup of an array of objects, with 'key' indicating x axis ticks could become a convention? Or would that mean uncomfortable data wrangling for the joyplot, @lukavdplas ? Having similar formats will also help with documentation and support, should we tackle #1391 .

I think the joyplot already does quite a bit of data wrangling. A long-format array of values sounds fine.
In the long term, https://github.com/UUDigitalHumanitieslab/I-analyzer/issues/1340 would suggest a different approach to a visualisation API, though I could imagine implementing both endpoints.

Ah, I forgot about #1340. As this issue doesn't have high urgency, let's indeed adopt the vega format.


Is there a hard limit on the number of expressions in a case block beyond which the compiler will fail?

I have a code-generated Go program I'm trying to port (as is, without changing the overall structure) and I'm running into issues with rather long case block, the compiler spits out the AST and halts. Is there a hard limit somewhere, and if so why? Could the limit be removed? Go doesn't seem to have a problem so I'm not sure why this limit exists. Thanks for any info!

Hi! Could you share such code?

So, I just tried this:
a = 1
{% begin %}
  case 1
  {% for i in 1..4_000 %}
  when a
    {{i}}
  {% end %}
  end
{% end %}

And yes, it hangs. The reason is that a case translates to a series of if/elsif, and that's actually a series of if with nested if inside the else.
Since we use a visitor to compile, every if we analyze means another frame in the stack. If they are very nested it hits stack overflow.
That's the limitation. It can't be fixed without a serious rewrite of how the code is analyzed.

@asterite Thanks for the quick reply! Yes, that is the issue I'm running into. That's a bummer! Any idea how many frames cause this issue (so I can split my code into multiple functions)?

Could you maybe share the code that you want to write? I want to understand why a case with more than 4000 branches is needed.
The compiler works by recursion. Right now there's a limit to how much code you can nest, or how many call frames you can have. It's a known limitation (at least by me). I don't think there's anything you can do to overcome this, unless you write your code in a different way.

Thank you, I understand and that's what I intend to do now (write it differently). I'd love to share the code but can't -- but I can tell you the code is a rules engine dealing with the US Bankruptcy Code. I understand this usage is definitely an outlier. I'll close this comment if that's ok with you since you mentioned there's nothing much we can do about this for now.

Given this is generated code, you should be able to rewrite it just to
def my_case(expr)
  if expr === cond1
    return  stmts1
  end
  if expr === cond2
    return stmts2
  end
  # ...
  if expr === condN
    return stmtsN
  end

  elseStmts
end

I guess eventually the compiler could do that for case statements and/or if/elsif chains with some threshold value of branches.

@jhass Great idea! It works.

@jhass @asterite Following your suggestion I'm exploring a couple of ways to handle this and I've a question regarding annotations on methods on a class tree, is it ok if I post the question here for the sake of continuity or would you rather I post on Stackoverflow?


Problem when uploading a community cookbook using POSHKnife

POSHKnife is not able to upload a community cookbook that does not have any POSHChef items.  This is because it is looking for a PowerShell data file in the standard cookbook structure.

If a metadata.psd1 file does not exist then the system will attempt to find the metadata.rb file in the cookbook.
This file is read in and a very simple regular expression is used to extract the cookbook name and the version so that the object to be passed to the Chef server is correct.


propagate estimation errors

Not sure why but having trouble building locally:
 ◰³ base  ~/c/f/f/main   solidify_router $  crates/core  cargo check                                                                                (base)  Tue 10 Oct 2023 03:38:43 PM CDT
error: failed to load manifest for workspace member `/home/ian/code/freenet/freenet-core/main/crates/core`

Caused by:
  failed to load manifest for dependency `freenet-stdlib`

Caused by:
  failed to read `/home/ian/code/freenet/freenet-core/main/stdlib/rust/Cargo.toml`

Caused by:
  No such file or directory (os error 2)


[FEA] Remove support for GpuRowBasedUserDefinedFunction

Is your feature request related to a problem? Please describe.
As part of our efforts to limit host memory in the plugin GpuRowBasedUserDefinedFunction is one that is really hard to get right. We probably could do something with the changes we plan to put in place for C2R https://github.com/NVIDIA/spark-rapids/issues/8886 and R2C https://github.com/NVIDIA/spark-rapids/issues/8887 but the benefit is really not worth the added work. It was an interesting idea when we first started to look at it, but there really are no performance wins we have ever seen.

Just marked nvbug-***8068 here.


Fee Adjustment Modal - some finetuning

hey :)
got something to nag about. please see video, Figma and screenshots. its not much of an effort, but it cleanse this area nicely.
feel free to feedback
🎨 Figma

https://github.com/joinmarket-webui/jam/assets/96262473/838ef6c5-4cbf-4140-8112-26b962ea21ba

feel free to feedback

Love it!
I suppose the focus (darkened border) switches to whatever fee limit has the higher value, right?

I suppose the focus (darkened border) switches to whatever fee limit has the higher value, right?

exactly


STORM-615. Add REST API to upload topology.

I am +1, I think in order to make it work in secure mode we will need to use the doAs feature .We can ask the users to use the StormSubmitter's submitTopology method that accepts a doAs Param and ensure that they pass their userName.

When we're trying to upload first Topology with this API, I'm afraid we can't get antiForgery since no topology is submitted.
(Actually I'm confused about antiForgery. Does Storm allow getting antiForgery from Topology A and use it with Topology B?)
Please correct me if I'm wrong.

@HeartSaVioR  thanks for trying it out. Did you try the curl command in the docs to upload the topology? antiForgery there for to deter malicious api calls from cross site scripting. All you need is to ask the api for a token using /api/v1/token and store it in a cookie and for any subsequent calls you need to pass this token in x-csrf-header in http headers.

@HeartSaVioR @Parth-Brahmbhatt  it looks like anti-forgery requires users to store the ring-session id and along with passing x-csrf-token in headers.

@harshach Oh, I'm sorry I missed token api.
Maybe it's better to modify documentation about Cross site request forgery (CSRF) prevention in POST requests to call token api to get antiForgery.

I just build dist from your branch, and modifies wurstmeister docker to apply your branch during build.
Binary dist : https://www.dropbox.com/s/ldm9t76cm43zqdf/apache-storm-0.10.0-SNAPSHOT.tar.gz?dl=0
I gave a try with using a token and ring-session (cookie) but failed.
HTTP/1.1 100 Continue

HTTP/1.1 200 OK
Date: Mon, 30 Mar 2015 10:10:31 GMT
Cache-Control: no-cache, no-store
Content-Type: application/json;charset=utf-8
Content-Length: 55
Server: Jetty(7.6.13.v20130916)

{"error":"Failed to deploy topology","status":"failed"}

Here's UI log.
2015-03-30 10:10:42 b.s.u.core [INFO] topology cmd {:exit 1, :out "434  [main] INFO  backtype.storm.StormSubmitter - Generated ZooKeeper secret payload for MD5-digest: -5707587195506149327:-9132844115790108814\n439  [main] INFO  backtype.storm.security.auth.AuthUtils - Got AutoCreds []\n450  [main] INFO  backtype.storm.utils.StormBoundedExponentialBackoffRetry - The baseSleepTimeMs [2000] the maxSleepTimeMs [60000] the maxRetries [5]\n", :err "Exception in thread \"main\" java.lang.RuntimeException: org.apache.thrift7.transport.TTransportException: java.net.ConnectException: Connection refused\n\tat backtype.storm.security.auth.TBackoffConnect.retryNext(TBackoffConnect.java:59)\n\tat backtype.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:51)\n\tat backtype.storm.security.auth.ThriftClient.reconnect(ThriftClient.java:103)\n\tat backtype.storm.security.auth.ThriftClient.<init>(ThriftClient.java:72)\n\tat backtype.storm.utils.NimbusClient.<init>(NimbusClient.java:62)\n\tat backtype.storm.utils.NimbusClient.getConfiguredClientAs(NimbusClient.java:46)\n\tat backtype.storm.StormSubmitter.submitTopologyAs(StormSubmitter.java:225)\n\tat backtype.storm.StormSubmitter.submitTopology(StormSubmitter.java:271)\n\tat backtype.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:307)\n\tat backtype.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:288)\n\tat storm.starter.WordCountTopology.main(WordCountTopology.java:94)\nCaused by: org.apache.thrift7.transport.TTransportException: java.net.ConnectException: Connection refused\n\tat org.apache.thrift7.transport.TSocket.open(TSocket.java:187)\n\tat org.apache.thrift7.transport.TFramedTransport.open(TFramedTransport.java:81)\n\tat backtype.storm.security.auth.SimpleTransportPlugin.connect(SimpleTransportPlugin.java:102)\n\tat backtype.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:48)\n\t... 9 more\nCaused by: java.net.ConnectException: Connection refused\n\tat java.net.PlainSocketImpl.socketConnect(Native Method)\n\tat java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)\n\tat java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)\n\tat java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)\n\tat java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)\n\tat java.net.Socket.connect(Socket.java:579)\n\tat org.apache.thrift7.transport.TSocket.open(TSocket.java:182)\n\t... 12 more\n"}
2015-03-30 10:11:14 b.s.thrift [INFO] Connecting to Nimbus at <IP_ADDRESS>:6627 as user:
...
2015-03-30 10:11:14 b.s.u.StormBoundedExponentialBackoffRetry [INFO] The baseSleepTimeMs [2000] the maxSleepTimeMs [60000] the maxRetries [5]
...

Seems like UI server can reach Nimbus Thrift port, I've confirmed with telnet.
Does 0.10.x run into security mode as default? I didn't modify configuration file from 0.9.3.

@HeartSaVioR Thanks for testing it out. I ran few tests with your dropbox link. For starters your apache-storm-0.10-SNAPSHOT contains two different versions of clojure libs under lib folder. Delete clojure-1.5.1.jar and started a single node cluster.
curl -i --negotiate -u : -b ~/cookiejar.txt -c ~/cookiejar.txt  http://localhost:8080/api/v1/token
The above call stores the ring-session id in the cookiejar.txt
curl  -i --negotiate -u : -b ~/cookiejar.txt -c ~/cookiejar.txt -X POST  -H 'x-csrf-token: jz8utSXi0PM1timC5phUelnMaYxcRGba8PEHWL1yU2WEQL59zwijyP4GjWv/uhDWUJAD7tS50vyF8R4E'  -F  topologyConfig='{"topologyMainClass": "storm.starter.WordCountTopology", "topologyMainClassArgs": ["wordcount1"]}' -F<EMAIL_ADDRESS>http://localhost:8080/api/v1/uploadTopology
HTTP/1.1 100 Continue
HTTP/1.1 200 OK
Date: Mon, 30 Mar 2015 23:18:45 GMT
Cache-Control: no-cache, no-store
Content-Type: application/json;charset=utf-8
Content-Length: 20
Server: Jetty(7.6.13.v20130916)
{"status":"success"}

@harshach Harsha, I re-download my link and extract it, and can't find two clojure files from lib directory.
$ find . -name "clojure*"
./lib/clojure-1.6.0.jar

@HeartSaVioR  not sure I might be looking at some other file.  I downloaded the file linked and ran a single node cluster don't see any issue with uploadTopology. Can you give it try again.

@harshach OK. I'll try again.
Btw, could you try uploading with multi-nodes cluster? Maybe wurstmeister docker seems fine.

@HeartSaVioR I didn't tried with the docker. But looking at your error from your earlier request it doesn't look storm UI is not able to reach the nimbus. Did you try logging into storm UI docker instance and tried to deploy a topology?

@HeartSaVioR  I did tested multi-node cluster before opening a PR. Ran another test with your apache-storm.tar.gz using the vagrant setup.
https://github.com/harshach/storm-vagrant
you can drop in the apache-storm.tar.gz . Make sure bin/storm has execute permissions the link you've doesn't and convert it into zip file.
vagrant up will create multinode storm cluster(1 zk, 1 nimbus, 2 supervisors)
curl -i --negotiate -u : -b ~/cookiejar.txt -c ~/cookiejar.txt  http://nimbus.witzend.com:8080/api/v1/token       ◉ ◼◼◼◼◼◼◼◼◻◻
HTTP/1.1 200 OK
Date: Tue, 31 Mar 2015 02:46:05 GMT
Set-Cookie: ring-session=64ce2e4d-d62b-4e45-8cd0-4c778948d7b5;Path=/
Cache-Control: no-cache, no-store
Content-Type: application/json;charset=utf-8
Content-Length: 104
Server: Jetty(7.6.13.v20130916)
{"antiForgeryToken": "wMYtcaNy8yA90jacPXw+BK4vE0w6c748shhtvr6HYeR1lhpFsO+1k2CSIMq+GUqpTnuwwn8/tDUbPyEK"}
Here is the output of uploadTopology
curl  -i --negotiate -u : -b ~/cookiejar.txt -c ~/cookiejar.txt -X POST  -H 'x-csrf-token: wMYtcaNy8yA90jacPXw+BK4vE0w6c748shhtvr6HYeR1lhpFsO+1k2CSIMq+GUqpTnuwwn8/tDUbPyEK'  -F  topologyConfig='{"topologyMainClass": "storm.starter.WordCountTopology", "topologyMainClassArgs": ["wordcount1"]}' -F<EMAIL_ADDRESS>http://nimbus.witzend.com:8080/api/v1/uploadTopology
HTTP/1.1 100 Continue
HTTP/1.1 200 OK
Date: Tue, 31 Mar 2015 02:48:38 GMT
Cache-Control: no-cache, no-store
Content-Type: application/json;charset=utf-8
Content-Length: 20
Server: Jetty(7.6.13.v20130916)
{"status":"success"}

@harshach Maybe there could be broken configuration. I'll fix it and retry. Thanks!

@harshach
I'm seeing failed message again. I ran a storm jar from UI container's shell and it works well.
UI shows topology information nicely, which may tell connection between UI and Nimbus Thrift is valid.
Killing topology with API also works well.
Below is error logs from UI container.
2015-03-31 09:54:29 b.s.u.core [INFO] topology cmd {:exit 1, :out "428  [main] INFO  backtype.storm.StormSubmitter - Generated ZooKeeper secret payload for MD5-digest: -5597653866246168988:-6838346593417745091\n432  [main] INFO  backtype.storm.security.auth.AuthUtils - Got AutoCreds []\n442  [main] INFO  backtype.storm.utils.StormBoundedExponentialBackoffRetry - The baseSleepTimeMs [2000] the maxSleepTimeMs [60000] the maxRetries [5]\n", :err "Exception in thread \"main\" java.lang.RuntimeException: org.apache.thrift7.transport.TTransportException: java.net.ConnectException: Connection refused\n\tat backtype.storm.security.auth.TBackoffConnect.retryNext(TBackoffConnect.java:59)\n\tat backtype.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:51)\n\tat backtype.storm.security.auth.ThriftClient.reconnect(ThriftClient.java:103)\n\tat backtype.storm.security.auth.ThriftClient.<init>(ThriftClient.java:72)\n\tat backtype.storm.utils.NimbusClient.<init>(NimbusClient.java:62)\n\tat backtype.storm.utils.NimbusClient.getConfiguredClientAs(NimbusClient.java:46)\n\tat backtype.storm.StormSubmitter.submitTopologyAs(StormSubmitter.java:225)\n\tat backtype.storm.StormSubmitter.submitTopology(StormSubmitter.java:271)\n\tat backtype.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:307)\n\tat backtype.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:288)\n\tat storm.starter.WordCountTopology.main(WordCountTopology.java:94)\nCaused by: org.apache.thrift7.transport.TTransportException: java.net.ConnectException: Connection refused\n\tat org.apache.thrift7.transport.TSocket.open(TSocket.java:187)\n\tat org.apache.thrift7.transport.TFramedTransport.open(TFramedTransport.java:81)\n\tat backtype.storm.security.auth.SimpleTransportPlugin.connect(SimpleTransportPlugin.java:102)\n\tat backtype.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:48)\n\t... 9 more\nCaused by: java.net.ConnectException: Connection refused\n\tat java.net.PlainSocketImpl.socketConnect(Native Method)\n\tat java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)\n\tat java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)\n\tat java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)\n\tat java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)\n\tat java.net.Socket.connect(Socket.java:579)\n\tat org.apache.thrift7.transport.TSocket.open(TSocket.java:182)\n\t... 12 more\n"}

I tried it into UI container shell and failed again.

@harshach
Maybe we can check this.
I'm running Storm with STORM_HOME/conf/storm.yaml, and I don't make ~/.storm directory.
root        14  2.5  7.2 3264920 149328 ?      Sl   09:53   1:33 java -server -Dstorm.options= -Dstorm.home=/opt/apache-storm-0.10.0-SNAPSHOT -Dstorm.log.dir=/opt/apache-storm-0.10.0-SNAPSHOT/logs -Djava.library.path=/usr/local/lib:/opt/local/lib:/usr/lib -Dstorm.conf.file= -cp /opt/apache-storm-0.10.0-SNAPSHOT/lib/cheshire-5.3.1.jar:...

When we submit Topology by API, classpath is storm-libs (str storm-home file-path-separator "lib" file-path-separator "*"), which is only STORM_HOME/lib/*, and jar file itself.
But storm.py finds effective configuration directory and add it to classpath, which is different from current implementation.
if STORM_CONF_DIR == None:
    CLUSTER_CONF_DIR = os.path.join(STORM_DIR, "conf")
else:
    CLUSTER_CONF_DIR = STORM_CONF_DIR

if (not os.path.isfile(os.path.join(USER_CONF_DIR, "storm.yaml"))):
    USER_CONF_DIR = CLUSTER_CONF_DIR

If we need to use cluster-wide effective configuration while submitting topology, we should include effective configuration directory.
Btw, other APIs (which use  with-nimbus macro) seems to run fine. I'm curious it could be represented to with-nimbus.

@harshach Oh, it would be very hard to submit topology directly (from jetty), so your approach is enough reasonable. Maybe loading cluster-wide configuration directory would be enough.  Same location as UI uses)

@HeartSaVioR I am not sure I follow. The examples I gave and the tests I ran I never created ~/.storm/storm.yaml.  I am not sure if you are testing it right. Once the jar is uploaded storm ui does a shell command for storm jar and it effectively finds the STORM_HOME/conf/storm.yaml as the cluster config .
If storm.conf.file is not passed it will look under STORM_HOME/conf/storm.yaml

@HeartSaVioR can you atleast try with a single node cluster before going and testing with docker

@HeartSaVioR do give details on you docker setup. I'll try to reproduce the issue. I can't reproduce in the vagrant setup or single node.

@harshach I make it works with some fix, but it's just a workaround so some more works should be taken place. Or if we ensure that UI node has python, it's better to call storm.py instead of JVM.

@harshach Maybe you can reproduce this issue by doing some modification to STORM_DIR/conf/storm.yaml and do uploadTopology, and see topology's configuration.

@HeartSaVioR  "UI node has python, it's better to call storm.py instead of JVM." . Can you elaborate on this without python installed on the UI node you won't be able to start storm UI daemon itself.
What you need to do to make it work can you add those details

@harshach Oh, sorry I was mistaken. Then how about calling storm.py jar ~~~ instead of java?
storm.py takes care of bootstrapping phase, and add proper classpaths if it needs.

@HeartSaVioR  Are you saying java command is not in path. I would like to know whats the error you are  facing. Its not able to find the storm.conf.file and unable to connect to nimbus.host? . Let me try changing it to storm.py and see if that fixes the issue and also you are using https://github.com/wurstmeister/storm-docker . Can it reproduce the issue if I use the dropbox link you provided?

@harshach
Let me elaborate current issue.

UI process is fine. UI can communicate with Nimbus.
Please see full stack trace. Exception occurred from storm.starter.WordCountTopology.main, which implies root cause is TopologySubmitter cannot connect Nimbus thrift port. We already know UI can communicate with Nimbus.

2015-03-30 10:10:42 b.s.u.core [INFO] topology cmd {:exit 1, :out "434  [main] INFO  backtype.storm.StormSubmitter - Generated ZooKeeper secret payload for MD5-digest: -5707587195506149327:-9132844115790108814\n439  [main] INFO  backtype.storm.security.auth.AuthUtils - Got AutoCreds []\n450  [main] INFO  backtype.storm.utils.StormBoundedExponentialBackoffRetry - The baseSleepTimeMs [2000] the maxSleepTimeMs [60000] the maxRetries [5]\n", :err "Exception in thread "main" java.lang.RuntimeException: org.apache.thrift7.transport.TTransportException: java.net.ConnectException: Connection refused\n\tat backtype.storm.security.auth.TBackoffConnect.retryNext(TBackoffConnect.java:59)\n\tat backtype.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:51)\n\tat backtype.storm.security.auth.ThriftClient.reconnect(ThriftClient.java:103)\n\tat backtype.storm.security.auth.ThriftClient.(ThriftClient.java:72)\n\tat backtype.storm.utils.NimbusClient.(NimbusClient.java:62)\n\tat backtype.storm.utils.NimbusClient.getConfiguredClientAs(NimbusClient.java:46)\n\tat backtype.storm.StormSubmitter.submitTopologyAs(StormSubmitter.java:225)\n\tat backtype.storm.StormSubmitter.submitTopology(StormSubmitter.java:271)\n\tat backtype.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:307)\n\tat backtype.storm.StormSubmitter.submitTopologyWithProgressBar(StormSubmitter.java:288)\n\tat storm.starter.WordCountTopology.main(WordCountTopology.java:94)\nCaused by: org.apache.thrift7.transport.TTransportException: java.net.ConnectException: Connection refused\n\tat org.apache.thrift7.transport.TSocket.open(TSocket.java:187)\n\tat org.apache.thrift7.transport.TFramedTransport.open(TFramedTransport.java:81)\n\tat backtype.storm.security.auth.SimpleTransportPlugin.connect(SimpleTransportPlugin.java:102)\n\tat backtype.storm.security.auth.TBackoffConnect.doConnectWithRetry(TBackoffConnect.java:48)\n\t... 9 more\nCaused by: java.net.ConnectException: Connection refused\n\tat java.net.PlainSocketImpl.socketConnect(Native Method)\n\tat java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)\n\tat java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)\n\tat java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)\n\tat java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)\n\tat java.net.Socket.connect(Socket.java:579)\n\tat org.apache.thrift7.transport.TSocket.open(TSocket.java:182)\n\t... 12 more\n"}

Adding (log-message (str storm-libs ":" tplg-jar-file)) before (log-message "topology cmd " tplg-cmd-response) helps debugging what classpath is applied with TopologySubmitter. Without my patch it just prints out /opt/apache-storm-0.10.0-SNAPSHOT/lib/*:/tmp/storm-starter-topologies-0.10.0-SNAPSHOT.jar, which is not same as storm jar.

Seems like TopologySubmitter cannot see storm.conf during uploadTopology. It's another way to reproduce.

I'll try to make docker image, but I'm having hard time to reflect new binary dist to docker image, so I manually connect UI container by ssh and replace storm-core jar file to continue.
My patched storm-core is https://www.dropbox.com/s/r7jb0w5uai5azjr/storm-core-0.10.0-SNAPSHOT.jar?dl=0

@harshach Btw, I'm sorry to being confused due to my short English.

@HeartSaVioR As I said earlier if you can test it in single node installation and see the same issue. I can look at it. It looks like you are hacking around docker setup and I am not sure how much of that it contributing to the issue you are seeing. If you want to test it in multi node env I provided Vagrant instructions above.

@harshach OK, I'd like to reproduce current issue with Vagrant setup. Could you explain instruction?
Btw, I've uploaded my docker setup to https://github.com/HeartSaVioR/storm-docker/tree/WIP-STORM-615-V2

@harshach @HeartSaVioR FYI, I tested this with upmerge to master and it works fine on my mac. No configs needed to be added, no storm.yaml created. Worked fine out of the box on a single host setup.

Important point is that in docker setup it writes Nimbus IP and PORT to storm.yaml.
root@433d02f34915:/opt/apache-storm-0.10.0-SNAPSHOT/conf# cat storm.yaml
storm.zookeeper.servers:
    - "<IP_ADDRESS>"
nimbus.host: "<IP_ADDRESS>"
nimbus.thrift.port: 6627
drpc.servers:
  - "<IP_ADDRESS>"
drpc.port: 3772
drpc.invocations.port: 3773
storm.local.hostname: <IP_ADDRESS>

I'm thinking it may raise an issue if storm.yaml is differ from defaults.yaml.
TopologySubmitter could use default values so if cluster is set up to be no problem with default config, we can't reproduce this issue.

@HeartSaVioR Thanks for the details. You did find a valid bug if the storm ui is not running on the same host as nimbus the same issue you are seeing happening as it finds the default.yaml nimbus.host and port not the one in storm.home/conf/storm.yaml. Let me send the updated pr.

@harshach Thanks for understanding. :)
Just calling storm.py jar may work well, but still need to test more.
I hope I can see this feature ASAP in a released version as I wanna use control features of topology.

@HeartSaVioR  can you try with the latest PR.

@harshach It works! Great! +1

Btw, I've uploaded new image "heartsavior/storm:WIP-STORM-615-V2" and also push https://github.com/heartsavior/storm-docker/tree/WIP-STORM-615-V2 to apply new image.
You can play it with my docker & fig.

@harshach  i can't seem to find the upload rest api in the rest api docs anymore. Has anything changed ?
Thanks


docs: Fix a few typos

There are small typos in:

zappa/asynchronous.py

Fixes:

Should read lambda rather than lamdba.
Should read deserialize rather than deserialises.

Signed-off-by: Tim Gates<EMAIL_ADDRESS>
Description

GitHub Issues

Not necessary and if you'd like to make code docstring fix, please do it with a PR that makes a bug fix or feature.
Closing.


Add option for sb-mig --sync to follow imported components (spreaded)

Example:
We have 2 components:

text-block
section

if section component is using text-block components, by spreading (...text-block.schema) it's schema to itself, when the schema for text-block be changed and synced with storyblok, it will not resync section component schema. It will stay the same it was. We have to remember to sync every components, which spreads changed components schemas.
What to do:
We need to add option for example --follow to follow components schemas and sync them aswell.
It could look like that:
1 option:
sb-mig --sync --follow text-block - it will update text-block, and every component that is importing text-block
2 option (different direction):
sb-mig --sync --follow section - it will update section component, but before, it will update every component that is imported in a file

I think, after so many thought about that, that it's to complicated - but is giving to less value. The usual command is to sync just all components, we dont go so granular to it, so it will be to much hassle to implement this feature.


[NEED HELP] Telegram Token?

Hello
Like everyday i just do git pull and i see new configuration option: telegram token
What is that? where i get this?
I try find here in readme but i don't see any information.
Best Regards

Because even though the config objects are updated rapidly the config documentation itself stays around 15% completed.. The people who add the config objects do not document them and people who can reverse engineer the scripts to document them are typically too busy..

The original request might shed some light on it #4353. Purpose is to remotely check a bot's progress.
I'm also guilty of not updating all docs. Sorry!

pokecli.py has all the config entries for anyone curious. Look for the series of "add_config" entries and there are some others in "attrs" below that. I don't have time to confirm this is all of them though. I didn't see "PokemonOptimizer", for example.

Telegram
Getting Telegram Token

@askovpen Could you put a PR in to update configuration_files.md with information about this feature?

yes

Thank you! :+1:


V-if breaks gridsome in production

using v-if instead of v-show causes a render error where the console throws a 'failure to append child on Node error'
Changing to v-show breaks everything.
code is here https://github.com/EmmyMay/my-blog

In which file in your repository are you using v-if/v-show?

On the 'develop' branch in src/pages/index.vue

Thanks for the reply

@EmmyMay  Using v-if with a $vuetify.breakpoint breaks with SSR. Since v-if removes the DOM element (making the mismatch happen between client and server, while using a v-show would do since the DOM element remains, but is hidden), Wrapping those v-if inside [<ClientOnly></ClientOnly>](https://gridsome.org/docs/assets-scripts/#without-ssr-support) would be another solution as well.


Merge ratbagd into libratbag

This merges ratbagd into libratbag, keeping the histories of both projects intact (hence the rather large PR). The meson.build files are merged and a few things are shuffled around to look like one normal project directory. The build artifacts are still the same, i.e. we still build libratbag and ratbagd.
https://github.com/libratbag/libratbag/issues/179
https://github.com/libratbag/ratbagd/issues/31

That build failure is caused by a missing libsystemd-devel that is now required because ratbagd relies on it. We can't really fix that, semaphore only provides Ubuntu 14.04 and that doesn't have systemd or the version we need. Only option would be to build systemd from scratch but that's bound to have a bunch of other dependency issues.
Might be time to ditch semaphore and find something newer.


Heading shown in the out of the Container

Describe the bug
If the heading is a big word It goes out of the container
Expected behavior
break the word
Screenshots

Fixed


[CI][Docker][Cortex-M]Update ci_cortexm to Ubuntu 20.04 and update nrfjprog version to 10.18.1

This PR updates nrfjprog to latest (10.18.1) to fix issues related to running microTVM tests inside docker. The main issue was that with older version commands like nrfjprog --com was not working even with docker --privileged.
As a result of this update, we need to update ubuntu version from 18.04 to 20.04.
cc @driazati @gromero

@tvm-bot rerun

cc @Mousius

@tvm-bot rerun

@Mousius PTAL and explicitly approve if there's no other suggestions. thanks!

@tvm-bot rerun


cant start

im getting this error too.

I retract my provious command, Works perfectly! @mr-guard do you have a discord? i would like to collaborate with you :)

Sure, I created a discord server so we can get in touch more easily
https://discord.gg/aNjJnKq2Ad

@AlpacaServers This means that your servermanager config is either missing or invalid
Usually there is a missing " or a ,
try something like VSCode or jsonlint.com to validate that you do not have JSON errors


fix doc tf.data.contrib.map_and_batch to tf.contrib.data.map_and_batch

change from unexist tf.data.contrib.map_and_batch to tf.contrib.data.map_and_batch

Jenkins, test this please.

Jenkins, test this please.

Can one of the admins verify this patch?

GPU CC fails without link, trying again.

Unrelated to this change, ignoring.


Handle paths with/out slash prefix interchangeably.

This change allows the following alternatives:
server.path('hello', function (req, res) { res.end('hi'); });

and
server.path('/hello', function (req, res) { res.end('hi'); });

which are equivalent.
This is to keep camp compatible with Self API. @espadrine please take a look.

Thank you @bnjbvr for the drive-by review! I'll just wait for @espadrine's input on whether we should keep or remove this.matcher.

GET // HTTP/1.1 is a valid HTTP Request-Line, and I wish to support it. This patch breaks support for it.
In fact, in retrospect, not requiring a slash at the start of string paths may have been a blunder that I intend to fix. Indeed, first, it hides the fact that this is an absolute URI; second, OPTIONS * HTTP/1.1 is also valid, and does not start with a slash.
On the plus side, the end of the year is near, so version 17 (a semver breaking change) seems OK. To limit breakage, we can insert a slash when the path does not start with a slash or a star.
What do you think?

Probably cleaner to define this.matcher once and for all (remove the this.matcher = at the top) at the end of this function's body instead?

Changed my code to not change this.matcher at all (so that it stays just like the constructor parameter for future introspection).

In fact, in retrospect, not requiring a slash at the start of string paths may have been a blunder that I wish to fix.

I agree that it makes more sense to have everyone specify the first slash. Even without the caveats, it makes absolute URLs easier to understand.

To limit breakage, we can insert a slash when the path does not start with a slash or a star.
What do you think?

Agreed, added a check for matched[0] === '*'. Are there any other special chars like this? What about \?

@espadrine PTAL

(rebased)

Now depends on #56.


BDI - Field names starting with an integer and then followed by a space will return an error during field mapping

Field names starting with an integer and then followed by a space will return an error during field mapping due to the Integer being considered as a namespace by the platform.
Certain field names starting with an integer and followed by a separation will cause the API to take that first integer as a namespace. For instance, a field label starting with 1-2 or 1/2, Salesforce will append an X since it begins with an integer and the symbol will be considered a space, so the Field name will actually be X1_2. This causes the field APi to be considered as ‘1_2_xxxxxx’ , which causes the 1 to be seen as a namespace by the platform.
These fields will return an error and the field mapping doesnt get created (see img).
Pre-conditions:
1- Having a field following the syntax from above
Steps:
1- Access the mapping UI
2- Click on your object group
3- Click on new field mapping
4- Use your field from preconditions to create a mapping
Result:
Error from image

Additional details can be found on the WI.
Edited by CCE - CO

**lurch: attach W-035945

**lurch: attach W-035945

Tracking W-035945

W-7783064


[Network] Implement Dev Scenarios

Principally the application gateway scenarios in PR #616

PR #616 merged. Closing.


ReferenceError: SharedArrayBuffer is not defined

Hi,
I am using this package for converting document to HTML but I am getting error
ReferenceError: SharedArrayBuffer is not defined
./node_modules/webidl-conversions/lib/index.js
C:/wamp64/www/demo/zesty/word-conversion/node_modules/webidl-conversions/lib/index.js:347
  344 |
  345 | const abByteLengthGetter =
  346 |     Object.getOwnPropertyDescriptor(ArrayBuffer.prototype, "byteLength").get;
> 347 | const sabByteLengthGetter =
  348 |     Object.getOwnPropertyDescriptor(SharedArrayBuffer.prototype, "byteLength").get;
  349 |
  350 | function isNonSharedArrayBuffer(V) {

Could you please let me know why I am getting this error?

First of all, thank you very much for submitting issues:)
I don't know how you use it, Can you provide a small piece of code? The error message it seems to come from jsdom, I found issues that is very close to your question:

https://github.com/jsdom/webidl-conversions/issues/31

`const converter = new MhtDocToHtml(buffer);
^
TypeError: MhtDocToHtml is not a constructor
`

I have upgraded the dependency, feel free to open it if you encounter problems


docs: Update links to event-playloads

Each exposed struct has a link to the docs that lead to a 404.

Thanks!

Thanks!


[doc/fix] wrong rtd config file name - [merged]

In GitLab by @perarnau on May 1, 2019, 12:32
Merges rename-rtd-file -> master
The readthedocs main config file was not recognized by RTD.

In GitLab by @perarnau on May 1, 2019, 12:32
enabled an automatic merge when the pipeline for 25ca9dec670f55baff49d6509ef9a640ee8871e4 succeeds

In GitLab by @perarnau on May 1, 2019, 12:36
merged

In GitLab by @perarnau on May 1, 2019, 12:36
mentioned in commit 1db28236c6550a1c1072927ec89a4e2f6c1f6760


Prompt text test occasionally fails

Steps to reproduce

Run make test, following instructions at contributing-code-tests.
Observe the result of this test: github.com/radius-project/radius/pkg/cli/prompt/text. If the test passed, run it in isolation, without cached results. For example, run the test using this command: go test -run ^Test_E2E$/^confirm_value$ github.com/radius-project/radius/pkg/cli/prompt/text -count=1

Eventually the test will fail when running it in isolation, especially if you are on a resource constrained machine, like GitHub Codespaces. The test failed for me when walking through the initial setup instructions for contributing. When running on a fast desktop using the dev container, I was still able to get the test to fail, but it happens much less often, suggesting that there is a timing issue.
Observed behavior
When the test fails, the output will look like this:
$ go test -run ^Test_E2E$/^confirm_value$ github.com/radius-project/radius/pkg/cli/prompt/text -count=1
--- FAIL: Test_E2E (0.05s)
    --- FAIL: Test_E2E/confirm_value (0.05s)
        text_test.go:92: Testing output:

        text_test.go:92: Testing output:

test prompt

            > test placeholder

            (ctrl+c to quit)
        text_test.go:144:
                Error Trace:    /workspaces/radius/pkg/cli/prompt/text/text_test.go:144
                Error:          Should be empty, but was test prompt
                                > a
                Test:           Test_E2E/confirm_value
FAIL
FAIL    github.com/radius-project/radius/pkg/cli/prompt/text    0.057s
FAIL

A passing test will report a result like this:
ok      github.com/radius-project/radius/pkg/cli/prompt/text    0.057s

Desired behavior
The expected result is for the test to pass every time.
Workaround
No response
rad Version
Main branch, commit 13d50f7b02f77b868bebb9a3582953d3bc7c9f2d.
Operating system
Dev container, running in GitHub Codespaces and also the same dev container running on a desktop machine using Docker Desktop, with the source cloned to WSL (Ubuntu default).
Additional context
You can force the test to fail every time by adding a sleep command before pkg/cli/prompt/text/text_test.go (138). For example (starting on line 137):
tm.Type("abcd")
time.Sleep(1 * time.Second)
tm.Send(tea.KeyMsg{Type: tea.KeyEnter})

Suggested fix:
Later in the test method, there is this line, which is expecting the output to be an empty string. I think this line is incorrect and should be removed. The reason it usually passes is because the underlying TeaTest test model has not finished rendering the text output. The time.Sleep statement above shows how pausing execution gives the test model time to catch up and render the text. The Tea Test docs say that the final output will be available when the FinalModel method is run. This line below is run before FinalModel runs, which is why it usually, but not always, passes.
require.Empty(t, strings.TrimSpace(output)) // Output sometimes contains a single space.

In other words, I think the fix is simply to delete the line above, because the expected output is not actually an empty string, even though at that point in the code execution the console has not finished rendering and the output is often an empty string.
Would you like to support us?

[X] Yes, I would like to support you

AB#12635

/assign @brooke-hamilton


it doesn't work on git bash in Windows

What a great library! I'd love to use it in Windows. But I've tried the following combinations and only 1 of them worked:

git bash - screen goes blank and need to ctrl+c multiple times to exit
git bash in cmder - same as above
git bash in Windows terminal - seems the cursor is out of place, and each key stroke prints a newline. see attached.

I'd love to help. I know enough about Go but not enough about terminals. If you can point me in the right direction, I can try to fix it. (If that's even fixable, I know Windows is notoriously bad at terminals...but that's what I am stuck with)
I am mainly interested in fixing it for git bash.

Hello ! Sorry I've been completely off for a few months, and I resumed work on this library only a few weeks ago.
The library has been almost entirely rewritten, with a new model, cleaner code base, and many new features and enhancements. If you are still using it, or considering, could you try the new version and tell me if the problem persists ?
Thanks a lot.

Wonderful news! It's been a long time and I've switched to a Mac :)
I am still interested in testing it though, just have to find a Windows kit, maybe in 1 or 2 weeks.

Hello @JackKCWong
Did you give this a try ?
Normally the latest release should have fixed cursor offset computations, but I would greatly appreciate a feedback for Windows !

hey, sry I haven't found any snippet to run a quick test on it and haven't got the time to dive into the docs.
I did try the console/example mentioned in the readme but it's pretty off. Not sure if you intend to support Windows or now.
I will have another go next week.

I have not personally tested for Windows.
Note that the example console uses a default Oh-my-posh prompt engine/configuration, and oh-my-posh is supposed to be working great on Windows.
So I'll try my example on a Windows machine, and will reach back to you once done, with things fixed on my side.


Igea experiment

Reproduce the

sphere experiment https://github.com/autotwin/mesh/blob/main/doc/sphere_mesh_refinement.md
Stanford bunny experiment https://github.com/autotwin/mesh/blob/main/doc/bunny_mesh_refinement.md

Apply this to create a new experimental and write up (markdown, with a pull request when completed), for Igea.

You may want to upgrade your fork to version 0.0.7 and use the new "entry points" to save you some typing.

Will do. I actually spent yesterday updating my Mac to work with the proxies, so it looks like we now have both a Windows and Mac test environment to work in.

Wonderful!

@calehma Do you want to have a discussion to this week to review this item?

@hovey Yes, that's probably a good idea. I should be around all this week after 9a MT and outside of 12-2p MT Tuesday and Friday. I have the data from Igea and an updated markdown file. There was a question I had about how to get the volume metric, but I can take a swing at that later this week.

Completed.  See https://github.com/autotwin/mesh/blob/main/doc/igea_mesh_refinement.md


Do we need emails and phone numbers for the co-signers for the court?

Does the court need contact info for the co-signers? Is it required?
Since the MVP design decision (see #30) requires that signature link emails/numbers should be able to be different than court ones, this would mean adding an additional fields for these. Is that desired/needed?

Also, who would type in this contact info - the user, or the signer?

Reasons codefendant should answer with their own contact information: DV/Privacy issues- not wanting to reveal contact info on public filings. Not giving optimal contact information-- friends or child email or phone #-- if it is listed the court may rely on it for virtual contact/meetings when it may not be"good enough" to be relied on.
The reason for wanting individual information for codefendant separate from the user is to give them their own notice from the court separate from the user.
Ideally- codefendant is asked if the contact info the user gave is okay, or if they want to change it before they sign.
This is only for codefendants, not all cosigners.  A witness would not need to list their contact information for the court.

Could you write the text for the question that will ask the cosigner for their court email/phone number @mariahjr?

Decision adjusted in #59:

Ask user for cosigner info before preview is made.
Preview will show all final information on form except signatures
User will confirm their part in the matter (see #61)

Taken over by #63, #59


Snake Fang Issue

Unless i'm missing something it doesn't seem to be working.
I'll admit i got a weird build, so i tried it in different configurations.

Using a shield + punching dagger - i wanted to see if it would do it, didn't think it would, but thought i'd see if it would bascailly try to do kicks in retalliation; i doubt this is a bug, more just how the base game handles unarmed strikes.
Using a shield + unarmed strike - i expected this to work; i know the game won't do TWF with the shield when you are just punching with the main hand (hence the above method); but let the enemy miss me for about 3 rounds, no op attacks were made.
No shield, only unarmed - no dice on this one either.

I'm just using this + Vek17s other mods (Core/Tweaks/Reworks/Archetypes/FocusPlus). My character is 1 level rogue + 10 levels fighter, using a background to get unarmed strike.
I have two-weapon fighting, shield bash, wearing heavy armor. So unless i'm maybe missing something here, it should work; as i don't see any listed restrictions on the feat.

Just tested on game version 2.0.3i, TTT-Core 0.5.4 and MicroscopicContentExpansion 1.5.0 and configuration 3 worked for me.
Do you have Snake Style toggled on?

I was on TTT-Core 0.5.3 as i didn't see the update that wasn't that long ago. But otherwise everything else is the same; Snake style is on, and i can see the value in my AC calculation column. I just updated to the same version; While some of these misses are from blur, so i assume it only tracks from actual AC misses, not concealment misses; at least 3 of these are from actual attack roll misses, in melee.

I tried with the shield bash feat toggled on and off as well.

Unfortunately, because this character is a heavy armor build doing this; I don't know if this feat has some secret armor-related restriction in the background, as most characters who likely would take this are monks (being the most likely to do unarmed builds); as obviously if i took off my armor i'd suffer such a significant loss to AC i wouldn't be able to properly test.
I'll fully admit this is a very oddball build i'm doing here; primarily to see what i could do here; but i would think the basic premise of "attack misses me i make AoO" should still function.
I did a test after the above screenshot again re-toggling on/off the feat and taking off the shield to be fully unarmed (as i noticed i was still bashing with the shield despite the feat for bashing being toggled off); but neither worked.

For further proof i should have everything in order:

There's no checks for armor.
It checks for

attack not being a hit
you having snake style buff and taken snake fang
first weapon being unarmed strike.

So armor does not have any impact at all. Enabled shield bash - maybe can matter. But you said you tried with shield taken off entirely.
I tested with armor on and with shield in off-hand too. Still works on my side.
Maybe you have something overriding your unarmed strike? Claws from some source?
You could try sending me save file to alterasc at protonmail.com and I'll try looking at it next week.

Just sent it off; i would love if it was something really simple that I'm missing. I even wondered if there was something AoO related, but the character seems to be able to make those normally; I have Combat reflexes, +5 dex mod. and the ever-ready so i should have 7 AoO to work with here. Character seems to be able to do normal AoO (parking them next to a bow user, someone tries to run past them, etc..),
I had tested pre-getting the steel headbutt ability from fighter also (1 level later), so i don't think thats the problem; and that only functions during full attacks.
Character is full human with no natural weapons; and i'm using greater magic fang to buff the unarmed strike when using that. Even better this character isn't even utilizing the achetype-stacking from Vek17s other mod; its 1 level Sylvan Trickster rogue, and the rest is straight no-archetype fighter.
So at least from my end , i'm completely stumped what i could be doing wrong here.

Thanks for save file.
Problem was in checking for unarmed strike for non-monks.
Reworked code a bit, tried on your save, now (in 1.5.1) it's working.
Won't work with punching dagger, but unarmed strike + enabled shield bash qualifies.

Finished that other save yesterday for that DLC so i had to quick cheaty my way into a new character to test that with, but looks to be working now. I had wondered if it was a monk thing, but wasn't certain as i don't know how this game handles the difference between monks and non-monks on that.
Thanks for the assistance on this!


cmd/vet: add check for non-pointers stored within sync.Pool

To avoid spurious allocations, sync.Pool should always be used with pointers. For instance, when storing buffers as slices, a pointer to slice should be used instead of the slice itself. This was brought up  in http://golang.org/cl/24371 by @dvyukov.
Since the primary goal of sync.Pool is to reduce allocations, I think it might be worth adding a check to go vet about this. The check could be triggered on Put() calls in which the argument is not a pointer.

I don't think we need to hold people's hands with low-level things.

I don't think we need to hold people's hands with low-level things.

But isn't that what vet already does? It barks at you for incorrect use of unsafe.Pointer/uintptr, for example. (Note that I don't agree with putting this check in vet as it's an optimization.)

I'm intrigued. This is almost certainly a bug, in that if you're going to the bother of using sync.Pool, you really care about allocations, in which case you really want to know that you're doing it wrong. I'm curious how many problems such a check would turn up. It has a few nice properties--approximately no false positives, results very likely to be of significant interest, etc.

If you're going to the bother of using sync.Pool, you certainly already have a benchmark to show that your use of sync.Pool made things better. Your benchmark and existing profiling tools will quickly teach you about slice-in-interface allocating.
Plus, isn't cmd/vet about bugs, and not performance opportunities?
Does vet already warn about any other performance optimizations?

Your benchmark and existing profiling tools will quickly teach you about slice-in-interface allocating.

Good point. I'm convinced.

FWIW, I manually checked a few code bases of mine and found one instance where I had this bug. I checked, and I had converted to sync.Pool a few things in a single commit and benchmarked the overall performance, so I didn't immediately realize the bug.

Plus, isn't cmd/vet about bugs, and not performance opportunities?

Right. vet only flags code that has a high chance of being wrong, as in producing wrong results or running risk of crashes, races and so on.

As explained, this is not a suitable check to add to vet.

@bradfitz do you know each and every allocation on the HTTP roundtrip path? If not, you can't say that there is no one that is easily fixable and should not be there in the first place (a perf bug).
FWIW the first usage of sync.Pool that I reviewed internally did cache slices by value. Author did very extensive benchmarking and concluded that sync.Pool does not give significant benefit.

I suggest to update the documentation to mention this "requirement" prominently.

@bradfitz do you know each and every allocation on the HTTP roundtrip path?

I did back during the cycle where I was working on that. I knew it because I had our tools which showed me all of them.

FWIW the first usage of sync.Pool that I reviewed internally did cache slices by value.

I've written and reviewed code with problems too. Profiling tools help.
@rasky, feel free to file a new documentation bug. This one is closed.


Feature request: move constant CSS rules from script to stylesheet

colorbox JS code has many .css() calls here and there. Part of them are really needed. Some of them can be replaced by class change. Most of them are constant within one instance of colorbox, so they are better placed in stylesheet.
Practical examples.

Currently one cannot always have visible next/prev buttons with 3 states "enabled/hover/disabled", because "disable" is done explicitly with hide(). Also, control buttons cannot be clearly hidden forever with simple display:none and need some magic like left:-9999px
Currently cursor:pointer is set on overlay background when overlayClose option is true, so one cannot simply have overlayClose:true, with default cursor.

Just a quick point - you can always override the inline style by using
!important in your CSS.  So you wouldn't have to use something like
left:-9999px.  But thanks for the suggestions, I'll look into it.
On Fri, Dec 23, 2011 at 6:51 AM, checat
<EMAIL_ADDRESS>wrote:

colorbox JS code has many .css() calls here and there. Part of them are really needed. Some of them can be replaced by class change. Most of them are constant within one instance of colorbox, so they are better placed in stylesheet.
Practical examples.

Currently one cannot always have visible next/prev buttons with 3 states "enabled/hover/disabled", because "disable" is done explicitly with hide(). Also, control buttons cannot be clearly hidden forever with simple display:none and need some magic like left:-9999px
Currently cursor:pointer is set on overlay background when overlayClose option is true, so one cannot simply have overlayClose:true, with default cursor.

Reply to this email directly or view it on GitHub:
https://github.com/jackmoore/colorbox/issues/151

--
Jack Moore
jacklmoore.com
twitter.com/jacklmoore


Slow TFLite GPU inference on Android, not matched with the benchmark

Please make sure that this is a bug. As per our
GitHub Policy,
we only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): 16.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: Pixel 2
TensorFlow installed from (source or binary): source
TensorFlow version (use command below): nightly build
Python version:
Bazel version (if compiling from source): 3.3.1
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with:

TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"

Describe the current behavior
We're running GPU delegate on an Android phone (NDKr18b). However, it's very slow (15ms) compared with the latency running benchmark tool (6ms).
This is the performance reported by benchmark tool (6ms):

While this is the actual latency when running within our app (15ms)

We're using libtensorflowlite_gpu_gl.so generated by running the following:
bazel build -c opt --config android_arm64 tensorflow/lite/delegates/gpu:libtensorflowlite_gpu_gl.so  # for dynamic library

Describe the expected behavior
Standalone code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to Colab/Jupyter/any notebook.
Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.

Sorry for the very late response. Is this the same issue that you reported here: https://github.com/tensorflow/tensorflow/issues/41094? And does the reply by @hajuho help?


SAMZA-1172: Fix for the topological sort to handle single-node loop

In the processor graph, the topological sort missed adding to the visited set during graph traversal. This caused wrong graph being generated for single-node loop. This is fixed in the patch.
Also fixed the maxPartition method not handling empty collection correctly.
Added a few new unit tests for these. Also adjust the timing of previous async commit unit tests so it can run more reliably. Long term wise we need to fix the timer inside the AsyncRunLoop tests.

@vjagadish1989 : could you please take a look?


Depreciate News/Blog post

@stebo85, Should we remove/archive the news on the top panel in favour of switching to twitter.
The twitter link is now on the main menu.

Yes, this would be wonderful :) It is currently a lot of work for me to maintain the news and twitter, but twitter gives us much more reach.

I would even rename Twitter to News?

Done ed69439b9328435bd7cfb5296b49d26407405b5f


DHCP Server - Hosts and Host Groups

Hi, Is it possible to have in the DHCP Server Section Under Host and Host Groups a seperate column for descriptions? If not is this something that can be introduced in a next release? It helps to be able to see the Host Name and Host Descriptions Side by Side along with the Hardware Addess and Hostname/IP.

Have you tried changing the "Show other object descriptions instead of names?" option on the configuration page of the DHCP module?

Yes I have but then that get's rid of the Host Name. I would like for both to show up in seperate columns.

Ok, look for this in the next Webmin release!


ADMIN: Events -> Enhancement for column name (Number of Tickets)

Should be Number of Tickets not Tickets Sold

4493fba


Initial integration with libp2p-xtra

Use libp2p's tokio TCP transport
Create a ed25519 identity from our current network identity
Create a compatible listen multiaddress from our current listen address on the maker
Transform maker domain / ip + port to multiaddress for dialling on the taker
Create a KeepConnectionAlive actor for the taker that - on an interval - queries the ConnectionStats on the taker side and reinitates a dial in case we are not connected to the maker.
Introduce a libp2p_connections_total metric that tracks the number of connections

So we found out that

Create a ed25519 identity from our current network identity

is not possible because the keys are incompatible. We have two options here:

Require users to also specify the PeerId. This could be annoying for users outside of umbrel.
Introduce a message in our network layer where we send over the new PeerId and connect to it from there.

Out of the two options, option 1. seems easier for now - especially that we don't want to concurrently run both for long time and that our default setup will use default arguments for the time being as well.


fix(notification): listing modification notification

This removes the notification for users when a listing's owners
are modified.
Closes #AMLOS-450
Description
As a user, I do not need to receive a notification when a listing owner change is made
Acceptance Criteria

review recipients of notification of listing owner change
User who bookmarked listing does not receive notification when if listing owner change

How to test code
Pull this repo.
Log in as bigbrother and johnson.
As johnson bookmark  any listing.
As bigbrother, open that listing and change the title and add an owner.
Check that johnson receives a notification about a title change but not an owner change.
Please Review
@aml-development/ozp-backend-team
Checklist

[x] Read CONTRIBUTING.md
[x] Write code to complete task
[x] Python Code is PEP8 Compliant
[x] Add unit tests for new code
[x] All tests must pass before merging the pull request
[ ] At least 2 people reviewed code

No notification received for the Owner change.  Notification received for listing Title change.
👍

:+1:


Support config.json for SqlClientX test suite

As our test suites are advancing and require server setup for testing, we need to ensure server credentials can be passed to tests via config.json file.
Recommended approach:
Take dependency on the same common project "TestUtilities" to fetch configuration that is also used by Manual Tests.

We also need an issue to enhance the Client X CI to deploy/or point to some SQL server that we can leverage for E2E


Fix OpenAPI checker violations

This PR is a

[ ] Feature Implementation
[x] Bug Fix
[ ] Documentation

What this PR does / why we need it:
We cannot change json field names but we can change the Go struct fields to match them. This allows to fix all the "api style violations". This should not change the external API but code consumers will need to adjust field names. Are we ok with that?
Please leave this checklist in the PR comment so that maintainers can ensure a good PR.
Merge Checklist:

[ ] New feature

[ ] Tests
[ ] Documentation

[ ] SVCat CLI flag
[ ] Server Flag for config

[ ] Chart changes
[ ] removing a flag by marking deprecated and hiding to avoid
breaking the chart release and existing clients who provide a
flag that will get an error when they try to update

/assign @nilebox

/lgtm

/approve


When using a function the package is imported but when removing the particular function the  import statement doesn't get removed.

 Issue by Sewmi
Saturday Feb 18, 2017 at 10:19 GMT
Originally opened as https://github.com/ballerina-lang/composer/issues/868

Environment
OS: Mac OS (version 10.12.3)
Browser: Safari (varsion 10.0.3 )
Steps

Access Ballerina editor (graphical view)
Add a service
Use a function in another package. (e.g. 'copy of' in 'ballerina.lang.arrays' package)
Check source view. (import statement should be added)
Then remove added functions. (no other functions from the imported package should be there)
Import statement added as a result of the added function is still there.

Issue
Import statement doesn't get removed when the functions of the particular package are no longer using in the design.

This issue is no longer valid, since the automatic import functionality etc. are no longer there.


feat(entrypoint): fixes/improvements to support nix run (devshell-as-flake-app)

I was poking at a devshell derivation in nix repl recently when I noticed its flakeApp attribute.  This is a cool feature!  I would love to be able to nix run '.#my-devshell' -- <command> and access commands from my devshell without having to first enter a nix develop sesson.  It looks like the flakeApp definition needs some updates to account for devshell.nix refactors; this PR is my attempt to apply those updates.  It also adds some convenience features, like a CLI option for specifying the project root path.
Have a few questions I'd like to resolve before removing "Draft" status from this PR:

Assuming you'd like to support flakeApp/nix run, where would you like me to document it?  I took a look at the files in ./docs and nothing jumped out as an appropriate spot.
Any thoughts on whether it's possible or desirable to automatically infer a value for PRJ_ROOT when running the devshell entrypoint as a flake app?  Seems like PRJ_ROOT should refer to the flake's root directory?  For instance, maybe a devshell command references files in the flake by expanding them relative to PRJ_ROOT.  Using PWD as PRJ_ROOT in this circumstance might work, as long as PWD is the working tree toplevel of the git repository for the flake providing the devshell.  But it almost certainly wouldn't work if trying to nix run 'some-other-flake#devshell-flake-app'.  On the hand, maybe there are also cases where PRJ_ROOT should refer to (say) the current working directory -- for instance, maybe I want to run a linting command provided by a "foreign" flake, and that command searches for files that live under PRJ_ROOT.
One of the changes in this PR is exposing devshell's own devshell as the flake output apps.<system>.devshell, as a kind of demo of the flakeApp feature.  Is this worthwhile?  If so, should it be advertised somehow (in the README, or elsewhere)?

Thanks!

I don't know
Yes, I think it's the responsibility of nix to set a FLAKE_ROOT environment variable before running anything. Otherwise, we're bound to re-implement the heuristic and it will drift over time.
Sounds good, it will act as a docs placeholder for now

I've just pushed some updates:

Added some documentation to README.md and docs/flake-app.md covering running devshells as Nix applications.
Added the option devshell.prj_root_fallback for controlling the last-ditch definition of PRJ_ROOT if it isn't already defined and non-empty.  The default value is whatever PWD expands to, which may run afoul of the concern that "the heuristic [...] will drift over time" -- devshell.prj_root_fallback also supports being set to null for signifying "no fallback", and I'm happy to switch to that as the default value.  I'll just note that I think nix run 'github:somebody/cool-thing' -- do-cool-thing is a nicer experience than nix run 'github:somebody/cool-thing' -- --prj-root "$PWD" -- do-cool-thing (or bailing out if --prj-root is absent and PRJ_ROOT is empty or unset).


Update frontend to use graphql-codegen for auto-generating types

Implement the use of graphql-codegen tool that automatically generates types. This would be good because it provides autocompletion and type hints and can avoid possible type mismatches.
https://www.npmjs.com/package/@graphql-codegen/cli

I'm going to close this ticket because I actually merged my changes into this ticket, https://github.com/CDLUC3/dmsp_frontend_prototype/issues/10, which is in PR review.


WinApp Driver Connection Issue?

I am not able to make a connection to WinApp Driver through my Python code? Everytime, I am running a script it shows a "Bad Request" at WinApp Driver? Could anyone help us with this issue?

Did you connect to WinAppDriver directly?

I think you can connect to Win Driver thru Appium

I connected through Appium only, van!

Can you please provide more: your code, appium and winappdriver version?
Recently I have the same issue after upgrading our selenium to latest release and resolved it.

Are you using selenium4 then this will not work? You need to move to selenium3.

Please check


Python SDK for real-time speech-to-text from stream

Hey,
I've an audio stream from ffmpeg, which I want to pass to Azure speech-to-text for real-time transcription and diarization.
Can you pls guide to the right documentation/tutorial for Python implementation of this?
Thanks

@ajay960singh Thanks for the question. The Azure Speech to Text Service enables real-time transcription of audio streams into text, and should help you with your requirement.
Here are some resources to get you started:

Python SDK for Azure Speech
Guided quickstart from the Documentation
Python Quickstart Samples on GitHub
FAQs

Hope this helps.

Transcription and diarization are available using the REST API. Please use the following documentation.
Diarization only supports recognizing two speakers on mono channel recordings and the supported audio formats are these for batch transcription API. You can lookup this sample for working example of python.

@ajay960singh We will now proceed to close this thread. If there are further questions regarding this matter, please tag @RohitMungi-MSFT in your reply.


[Bug] Grafana and Grafana Datasource stuck in Reconciling state

Describe the bug
I updated the operator from 4.0.2 to 4.4.1 and Grafana to 8.5.1 to 9.0.1. All are working (I can connect to Grafana and I see all the dashboards) but Grafana and Grafana datasource (2 datasources: Prom and Loki) located in the operator namespace (called "grafana") are in reconciling state. I tried to delete the namespace and redeploy the operator and the resources but I get the same result. I checked my production environment in v4.1.1, and I get the same issue.
Version
v4.4.1
To Reproduce

Deploy the operator
Deploy a Grafana and Grafana Datasource instance
Check that all is working
Check the phase of the resources with the  following command :kubectl get Grafana,GrafanaDataSource -n grafana -o json | jq '.items[] | .status.phase'
"reconciling"
"reconciling"
"reconciling"

Expected behavior
Resources in Reconcilied state
Suspect component/Location where the bug might be occuring
unknown
Runtime (please complete the following information):
Dev Environment

OS: Ubuntu 18.04 LTS
Grafana Operator Version : v.4.4.1
Environment: RKE 1.21
Deployment type: Deploy with manifests

Prod Environment

OS: Container-Optimized OS
Grafana Operator Version : v.4.1.1
Environment: GKE 1.21
Deployment type: Deploy with manifests

I am not a maintainer but I think that is correct.
Grafana has 3 StatusPhases [1] and should be PhaseReconciling if successful.
[1] https://github.com/grafana-operator/grafana-operator/blob/v4.4.1/api/integreatly/v1alpha1/grafana_types.go#L13-L17
[2] https://github.com/grafana-operator/grafana-operator/blob/v4.4.1/controllers/grafana/grafana_controller.go#L279-L281

Thanks @mosuke5 for these additional informations ! Why not create a 4th phase "Reconcilied" or simply rename the phase "Reconciling" in "Reconcilied "? The term "Reconciling" sounds as if a change is taking place and not as a complete state.

@pbrissaud @mosuke5 correct, since the Operator continuously reconciles the resources, I think reconciling is the correct phase.


(BUG) Map: The claimed amount is displayed on the pop up  after hovering the mouse over the country

Steps to reproduce:

Claim the G$
Open the statistic >map
Pay attention to the value of claims

Actual result: The claimed amount is displayed on the pop up  after hovering the mouse over the country
Expected result: The number of claims should be displayed on the pop-up after hovering the mouse over the country
Checked on DEV V0.25.4-1
Desktop: Windows 10 // Google Chrome  83.0.4103.116

@sirpy so we should change the label text to "G$ Claimed"

not  a bug


Question: autocomp url

A possible daft question as I'm getting an error about the reverse for {}_autocomp_{} 404ing. But several things are NQR atm, so I'm just trying to trace through code to understand what's going on a bit better in case my issues are self-inflicted.
In dal_select2_queryset_sequence/fields.py we have:
def as_url(self, form):
        """Return url."""
        url_name = '{}_autocomp_{}'.format(form.__name__, self.field_id)

        forward_fields = {
            forward_tuple[0]
            for field in self.model_choice if len(field) > 2
            for forward_tuple in field[2]
        }
        # a set of the fields to forward.
        # it checks if the 3rd index of the list exists

        self.widget = QuerySetSequenceSelect2(
            url=url_name, forward=forward_fields
        )

        # generate the class to work with multiple gfk
        # (can't work on instance level)
        auto_view = type(
            'Autoview{}{}'.format(form.__name__, self.field_id),
            (Select2QuerySetSequenceAutoView,),
            {'model_choice': self.model_choice}
        )  # send to the view the model and filter list

        return url(
            r'^{}_{}_autocomp$'.format(form.__name__, self.field_id),
            auto_view.as_view(),
            name=url_name
        )

Is it intentional for url_name to be {}_autocomp_{} and the return URL to be {}_{}_autocomp?

Yeah, this was a daft question. I misunderstood the assignment in to self.widget as the actual endpoint and not the reverse lookup name. My apologies. Trying to nut out that GFK add link thing in #1205 and my eyes are glazing over.


reduce number of skipped build workers and pad worker name

Creating a skipped build worker for each thread is probably excessive, I think anything between 0.2 - 0.5 would be fine.

Tested and merged in https://github.com/nix-community/buildbot-nix/pull/318


unpin ssh2

I was playing around with latest version of ssh2, hoping it finally supported ECC keys - it doesn't but this version works just fine and since we're manually testing cloud creation and login for each release now anyway I figure it's best to keep up to date with the latest version.

This change is

:+1:


Configure dependabot

PR Checklist

[x] Please add a description of your changes.
[ ] We need your changes to come with unit tests in order to keep this project in quality and easy to maintain.
[ ] Please add a link to the open issue or task that this pull request will resolve.
[ ] Add a note to the changelog to indicate the change.

Does this PR introduce a breaking change?

[ ] Yes
[x] No

If yes please indicate it and migration info into the CHANGELOG.md file.

I configure dependabot based on this docu: https://dependabot.com/docs/config-file

I do not have a clue about dependabot configuration but the only way to know if that works is to merge.

Same :rofl:


Bill creation from vendor detailed view

[x] Place of supply not displayed

@AnjaliVellookkaran

issue fixed !


[New API] Route Manager to support GET routes by subnet Id

Context
Route manager currently only support route retrieval by VPC ID. Port Manager would need to GET route API by subnet ID in the port creation scenario. We would love to have this API in place.

@kevin-zhonghao Could you please help to add this API? Thanks.

I have added the GET route API by subnet Id in route manager (value = {"/subnets/{subnetId}/routes/{routeId}"}))
If there is no this API in route manager, it will be merged in my current PR

Thanks @kevin-zhonghao for the quick turnaournd.

The added API "/subnets/{subnetId}/routes/{routeId}" still requires to pass a routeId. The original request was to query routes by subnet id, without passing any routeId.


Improve MetricAction line of code

Regarding https://github.com/sphereio/sphere-sunrise/blob/master/move-to-sdk/app/io/sphere/sdk/play/metrics/MetricAction.java#L47
I would use https://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html#mapToInt-java.util.function.ToIntFunction-

and then just call

https://docs.oracle.com/javase/8/docs/api/java/util/stream/IntStream.html#sum--

Not used anymore.


Installing marko-cli results in ProcessTerminatedError

Node: v8.9.4
Npm: 6.0.0
Nvm: 0.33.2
When running npm install marko-cli --global, I get a ProcessTerminatedError. The stack trace is listed below
7718 silly extract<EMAIL_ADDRESS>7719 silly extract<EMAIL_ADDRESS>7720 timing action:extract Completed in 1433ms
7721 verbose unlock done using /Users/username/.npm/_locks/staging-d882a266428e8223.lock for /Users/username/.nvm/versions/node/v8.9.4/l$
7722 timing stage:rollbackFailedOptional Completed in 0ms
7723 timing stage:runTopLevelLifecycles Completed in 6059ms
7724 verbose type ProcessTerminatedError
7725 verbose stack ProcessTerminatedError: cancel after 1 retries!
7725 verbose stack     at Farm.<anonymous> (/Users/username/.nvm/versions/node/v8.9.4/lib/node_modules/npm/node_modules/worker-farm/lib/$
7725 verbose stack     at Array.forEach (<anonymous>)
7725 verbose stack     at Farm.<anonymous> (/Users/username/.nvm/versions/node/v8.9.4/lib/node_modules/npm/node_modules/worker-farm/lib/$
7725 verbose stack     at ontimeout (timers.js:475:11)
7725 verbose stack     at tryOnTimeout (timers.js:310:5)
7725 verbose stack     at Timer.listOnTimeout (timers.js:270:5)
7726 verbose cwd /Users/username/Documents/sites
7727 verbose Darwin 17.5.0

Most of the commands have been overhauled at this point so it is likely the issue is fixed. I am not able to reproduce.


R21C: Revise distribution: add slurm-array; rev stats

This branch brings in the revised ensemble parallelization options implemented in develop (aimed at FP).
The only two procedures I am enabling slur-arrays are the atmens_recenter and post_egcm. I have worked so that the old-style parallelization works again for other tasks, such as observer and gcm calls; I have reset the DST variables in the AtmEnsConfig files to parallelize the ensemble as in the past.
In doing so, I also stumbled on the changes that had been made in atmens_stats.csh; I believe there was a bit more hardwiring in the changes than need be, so I revised things according. Particularly noticeable are:

I see no need to do if related to creating time stamp of files to be handled (i.e., variables timetagz can be built automatically).

also, I see no need to have multiple mp_statsXX.rc files controlling different streams; at least not for the reason these extra files were being used for - the simply had different number of levels. Turns out it is easy to get the number of levels on the fly and edit the standard mp_stats.rc also on the fly.

A third thing has been there for a while, was the fact that hidden files associated w/ the successful termination of specific execs were being created in children directories rather than the parent directory. I revised this in develop, to follow the overall strategy in the ensemble design to place the hidden files  change in the parent directory.

The other thing I noticed in the stats is that mp_statsXX.rc is using 48 PEs to run the stats ... I think that's way too many PEs and causes the jobs to sit too long in the queue. I reduced this what what the x-exp setting is, namely, 4 PEs.

Now, a changed (addition) has been placed in the atmens_stats in the R21C branch that calculates the mean and variance of fields in the ensdiag. That's good - this is something that had been missing - but there are a few issues w/ this:

5a) When the data in ensdiag is handled, hidden files get placed in the child directory (ensdiag) - I will rrevise this to that all hidden files are placed in the parent dir.
5b) I noticed, that mean and variance are not calculated for all files in the ensdiag/memMMM. The reason for this is that the post_egcm is somewhat hardwired to handle files in the background period of the model integration. This is easy to unwire (I am working on it), and allow for stats to be calculated for all output in ensdiag.
5c) HOWEVER: it should be noticed that the present spin up period (and a little of the actual streams) are calculating stats for diagnostic files from the GCM during the predictor period - which is not the GMAO convention: which is to produce products within the corrector phase of the integration. I can address this when tackily this item here (but, @elakkraoui , we need to talk and reach an agreement on this).

also fixed are a couple of oversights associated with the ensemble diagnostics:
6a) the aerosol diagnostic is an instantaneous file stream but is named as tagv in the post_egcm file controlling output, so no mean and variance files were being calculated for this stream.
6b) the stream int_tavg_6hr_glo_L288x181_slv was coming out at an incorrect time because the stream in history was missing the entry for ref_time.

I have addressed the issues in (5) above; this required changing the API of post_egcm and changes to atm_ens.j - all minor, and all related to diagnostics. Now mean and variance are calculated for all diagnostics desired; notice that I introduced a post_egcm_diag.rc file that controls the diag statistics - this was done to avoid internal (unnecessary) logic inside post_egcm.

Just for the record, I will state here that after conversation with @elakkraoui @rlucches and @sdrabenh it was agreed that the ensemble diagnostic will be written at the PREDICTOR part of the 12-hour IAU integration - just as it is being written the spin up period (with fix to produce the aerosol output).
Since only fields in the predictor part are desirable, I am cutting down the output size and having history only write out the derivable fields during the predictor part as opposed to what is happening in the spin up period where a snap shot is also produced during the corrector part. These are not needed.

@mathomp4 Hi Matt, can you help me get this in? - going into R21C projected branch. Thank you.

@rtodling I approved it and undrafted it. Feel free to merge at your pleasure.


fix(cli-plugin-vitest): fix vitest.config.mts.hbs template path

Closes: #373

:tada: This PR is included in version 5.1.1 :tada:
The release is available on:

v5.1.1
GitHub release

Your semantic-release bot :package::rocket:


[wip] Fix search result display of preprint items

Purpose
Style and UI fixes.
Fix display of search results on homepage and discover page. Make field names match the new models.
Also delete a component that is no longer used anywhere.

History got mangled; replacing PR.


Create the Nancy Module via PowerShell and Classes.

Prerequisites

[x] I have written a descriptive issue title
[x] I have verified that I am running the latest version of Nancy
[x] I have verified if the problem exist in both DEBUG and RELEASE mode
[x] I have searched open and closed issues to ensure it has not already been reported

Description

I am trying to replicate the nancy functionality in PowerShell via Classes.  I am able to create the object but the routes do not seem to work,  I can see the routes exist on NancyModule object, but all I get is a 404 error.
Steps to Reproduce

Here is my code:
using namespace Nancy
using namespace Nancy.Hosting.Self
using namespace Nancy.Conventions

#Add-Type -Path ".\Nancy\lib\net40\Nancy.dll"
#Add-Type -Path ".\Nancy.Hosting.Self\lib\net40\Nancy.Hosting.Self.dll"

Class Pancy : Nancy.NancyModule {
    Pancy() {
        $this.Get["/"] = {
            Param (
                $args
            )

            return "Hello World!"
        }
    }

    [Void]Start([Uri]$Uri) {
        $nancyHost = [Nancy.Hosting.Self.NancyHost]::new($Uri)
        $nancyHost.Start()

        Read-Host "Nancy Server Started. Press Enter to exit"

        $nancyHost.Stop()
    }
}

Then I call it like this:
PS C:\> $pancy = [Pancy]::new()

PS C:\> $pancy.Start("http://localhost:8282")
Nancy Server Started. Press Enter to exit:

But, I get a 404 when browsing to http://localhost:8282
but the object has a route:
PS C:\> $pancy.Routes.Description

Name        :
Condition   :
Description :
Metadata    :
Method      : GET
Path        : /
Segments    :

System Configuration

Nancy version:
1.4.3 (latest stable via NuGet)
Nancy host

[ ] ASP.NET
[ ] OWIN
[x] Self-Hosted
[ ] Other:

Other Nancy packages and versions:
Environment (Operating system, version and so on):
Windows 10 1607 with PowerShell 5.1
.NET Framework version:
Additional information:

Just wondering if there is any thoughts on this, its been a few months.


mshen to emeritus_approvers

The codebase seems healthy enough without me and I'm not as active in this space lately.

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

Project coverage is 26.32%. Comparing base (820bf4e) to head (3a624a1).

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #242   +/-   ##
=======================================
  Coverage   26.32%   26.32%
=======================================
  Files          11       11
  Lines        1056     1056
=======================================
  Hits          278      278
  Misses        764      764
  Partials       14       14

/lgtm


Support use cases where a peer can write a log to a thread, but is unable to read

On resource constrained devices e.g. IoT where sensor data is being generated, it would be desirable to configure a peer to write to a log in a thread but be unable to read other logs.
This was briefly discussed on Slack, the following comment is from @sanderpick
Hmm, sounds like a useful thing to support. Not currently possible as @carsonfarmer says. Would you mind creating an issue on go-threads? We could discuss further there. Maybe we can make a way to join a thread that just says, “don’t download other logs and ignore others’ writes”. The downside is that you won’t materialize the same state, so part of this solution could be a new event codec that does not allow updates, only model creates… this would be like an IOT device kinda thing

Hey @novocodev - Have you thought about using the raw threads layer for this? In an OIT settings, I don't think you'd need mutable database entries like the top level API provides. Just inserting raw records should be sufficient. In which case, we'd still need a way to signal that the edge nodes don't care about downloading others' logs.

Closing this as stale.


⚠ St. Lawrence Global Observatory CKAN has degraded performance

In 70bddde, St. Lawrence Global Observatory CKAN (https://catalogue.ogsl.ca/en/) experienced degraded performance:

HTTP code: 200
Response time: 10241 ms

Resolved: St. Lawrence Global Observatory CKAN performance has improved in 253b7bc after 5 minutes.


feat(tools): PythonAstREPLTool handles variants of python code more robustly

We can't do something similar for non ast version. So this is best effort.
Part of: https://github.com/hwchase17/langchain/issues/586

@jon-chuang Hi , could you, please, resolve the merging issues? After that ping me and I push this PR for the review. Thanks!
If this PR is not needed anymore, could you, please, let me know?

Closing due to inactivity and library being a different directory structure now, and feel free to reopen against the current state of the repo!


[Bug]: oceanbase version is lower than 4.x，Desktop version does not have export file limit option

ODC version
ODC4.2.3
OB version
independent
What happened?
Desktop version does not have export file limit option

What did you expect to happen?
has this box
How can we reproduce it (as minimally and precisely as possible)?
chat privately
Anything else we need to know?
No response
Cloud
No response

Fixed In Commit c1fede16e3ffc7523a89325c550087a46ad09534
------
xiaokang
Wed Dec 20 11:21:05 2023 +0800


Add swap to commute tensor forms

You know, I already fixed the problem you complained about in Grassmann.jl a looong time ago. You said Grassmann.jl is too bloated and loads slow, well that was all fixed a long time ago, and it now loads faster than StaticArrays by itself. Yet you're still over here doing unnecessary work, kind of a waste of time when you could just build on something lol.