SSH to public host "hostname" returned an error: dial tcp: lookup "hostname": no such host. Sleeping for 5s and will try again

Getting this error using the ssh go script. Any ideas on how to resolve this ?
SH to public host "hostip" returned an error: dial tcp: lookup "hostip": no such host. Sleeping for 5s and will try again

I am also facing similar issue
end2end_test.go:80: Cannot establish SSH connection to vm-linux-1 public IP address: dial tcp: lookup "52.148.xxx.xx": no such host

I am facing something similar...
func executeCmd(t *testing.T, command, hostname string, port string, config *ssh.ClientConfig) string {
	conn, err := ssh.Dial("tcp", fmt.Sprintf("%s:%s", hostname, port), config)
	if err != nil {
		t.Fatalf("Cannot establish SSH connection to the vm public IP address: %v", err)
	}
...

Called with:
output := executeCmd(t, command, vmPublicIPAddress, "22", sshConfig)

The VM is up and running, I can ssh into without problems. Yet Terratest says:
--- FAIL: TestEndToEndDeploymentScenario (1129.75s)
    end2end_test.go:86: Cannot establish SSH connection to the vm public IP address: dial tcp: lookup "<IP_ADDRESS>": no such host

Similar code, executed outside of Terratest, works fine:
package main

import (
	"bytes"
	"fmt"

	"golang.org/x/crypto/ssh"
)

func main() {
	kkk := `-----BEGIN RSA PRIVATE KEY-----
...
-----END RSA PRIVATE KEY-----`
	signer, err := ssh.ParsePrivateKey([]byte(kkk))
	if err != nil {
		fmt.Printf("Unable to parse key: %v", err)
	}

	sshConfig := &ssh.ClientConfig{
		User:            "azureuser",
		Auth: []ssh.AuthMethod{
			ssh.PublicKeys(signer),
		},
		HostKeyCallback: ssh.InsecureIgnoreHostKey(),
	}

	conn, err := ssh.Dial("tcp", "<IP_ADDRESS>:22", sshConfig)

	if err != nil {
		fmt.Printf("Cannot establish SSH connection to the vm public IP address: %v", err)
	}

	session, err := conn.NewSession()
	if err != nil {
		fmt.Printf("Cannot create SSH session to the vm public IP address: %v", err)
	}

	defer session.Close()
	defer conn.Close()

	var stdoutBuf bytes.Buffer
	session.Stdout = &stdoutBuf
	err = session.Run("uname -a")
	if err != nil {
		fmt.Printf("Cannot execute SSH command: %v", err)
	}

	fmt.Printf(stdoutBuf.String())
}

This could be a bug in Terratest, or perhaps some issue with the way Go resolves DNS. @anouarchattouna, I think you hit something similar... Did you ever get it figured out?

This could be a bug in Terratest, or perhaps some issue with the way Go resolves DNS. @anouarchattouna, I think you hit something similar... Did you ever get it figured out?

Unfortunately not, I switched to a fresh environment with recent version of Go and I had no error

Same here, I updated my dependencies to the latest version of the Terratest module and also upgraded from Go 1.15 to 1.16. It's working fine now...

After updating the Go version i am getting same error message: " Cannot establish SSH connection to vm-linux-1 public IP address: dial tcp: lookup XX.XX.XX.XX: no such host.

any fix for this?


Parse and codegen mut/readonly

[x] Add Type::Mutable(t)
[x] Update codegen of .d.ts to add readonly for non mutable types
[ ] Update codegen of .d.ts to omit readonly for mutable types
[x] update tree-sitter parser
[ ] update crochet_parser and crochet_ast to handle mut modifiers
[ ] update crochet_infer to wrap types marked as mut with Type::Mutable(t)

Updates to the unification algorithm will happen in a separate PR.

Codecov Report

Merging #297 (12ba2b3) into main (ceec4da) will decrease coverage by 0.23%.
The diff coverage is 36.36%.

@@            Coverage Diff             @@
##             main     #297      +/-   ##
==========================================
- Coverage   90.00%   89.76%   -0.24%
==========================================
  Files          31       31
  Lines        5110     5129      +19
==========================================
+ Hits         4599     4604       +5
- Misses        511      525      +14

Impacted Files
Coverage Δ

crates/crochet_dts/src/util.rs
70.79% <0.00%> (-0.64%)
:arrow_down:

crates/crochet_infer/src/key_of.rs
75.60% <0.00%> (-0.94%)
:arrow_down:

crates/crochet_infer/src/substitutable.rs
88.11% <0.00%> (-1.25%)
:arrow_down:

crates/crochet_infer/src/util.rs
92.45% <0.00%> (-0.44%)
:arrow_down:

crates/crochet_types/src/type.rs
86.66% <0.00%> (+2.57%)
:arrow_up:

crates/crochet_codegen/src/d_ts.rs
72.79% <40.00%> (-1.52%)
:arrow_down:

crates/crochet_dts/src/parse_dts.rs
84.83% <66.66%> (-0.52%)
:arrow_down:

crates/crochet_types/src/lam.rs
71.42% <0.00%> (-9.53%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


feat: auth

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@50a7561). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@          Coverage Diff           @@
##             main     #25   +/-   ##
======================================
  Coverage        ?   8.45%
======================================
  Files           ?      84
  Lines           ?   13112
  Branches        ?       0
======================================
  Hits            ?    1108
  Misses          ?   11836
  Partials        ?     168

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

いったんいれちゃう。


Don't delete cluster dirs that cover config base.

general note:  the pipelet job will never be successful as k2 no longer exists on pipelet.  don't let that be a gate for this PR

This is to fix bug #378.


Finish the exercise!

hi, @ArianeJDB  !!!
You are close to the exercise solution, but here you have a steps guide to complete it anyway ;)

Save a reference to DOM elements in variables
Generate the random number and save it to a variable
Init counter of trials to 0
Define a function that executes when the user clicks on the button, that

increments the counter and paints its value in the HTML
collect the value of the HTML input and compare it with the random number

if they are equal, draw a 'You Win' message
if it's lower, draw a 'Too short' message
if it's higher, draw a 'Too long' message

Assign a listener to the button click to execute the previous function

Then you can improve the game as you please, here you have some ideas:

Add new feedback when the number is bigger than 100 or smaller than 0.
Manage when the user hits the button and the input is empty.
Make the input work when hitting enter key.
Add a reset button that cleans the input, the counter, writes the initial feedback and generates a new random number to play again!
Whatever you want!

Let me know if you have any doubts ;)
Go for it!!

thanks! done the excercise witthout styles nor extra ideas.

Really cool job @XXX !!!
Here you have some tips to improve the exercise:

[ ] Move the feedback logic to a function an execute it on each click
[ ] Move you counter logic into a function and execute it on each click
[ ] You are writing many times "feedback.innerHTML = 'something';", what about making a function that accepts a string as param and paints it into 'feedback'?

Then you can improve the game as you please, here you have some ideas:

Add new feedback when the number is bigger than 100 or smaller than 0.
Manage when the user hits the button and the input is empty.
Make the input work when hitting enter key.
Add a reset button that cleans the input, the counter, writes the initial feedback and generates a new random number to play again!
Whatever you want!

Let me know if you have any doubts ;)
Go for it!!


feat: render html server side and hydrate in JSDOM

What kind of change does this PR introduce?
Refactor
What is the current behaviour?
next-page-tester has an important architectural limitation: it currently never performs a full tree render in server mode (like Next.js obviously does during SSR).
This process is skipped in favour of directly (and roughly) return an element tree similar to the one generated in-browser after React hydration. This solution works fine as long as we consider _app and pages.
When it comes to deal with Next.js _document (and next/head), this approach shows its limitations. This is because Next.js SSR renders the whole tree on the server (providing next/head with a special context to update head elements during SSR phase), and then mounts the client application with React.hydrate on #__next div.
What is the new behaviour?
getPage does the following

Fetch route data as usual
Create 2 component trees of the whole page (root element: #__next div): one emulating the way it should be generated server side, and one client side

..and returns:

render method which calls renderHTML  and hydrate App component to __next root element  (it emulates Next.js app hydration when page is loaded)
serverRender method which replaces current DOM with the SSRed HTML (it emulates Next.js SSR result)
serverRenderAsString method which returns the html string representing the SSR-rendered page element
page element, client page element meant to be mounted (with React.hydrate) on #__next div

Does this PR introduce a breaking change?
Yes. User should call getPage as usual and then render to the DOM using the returned render methods: render or serverRender.
Manually render page element (eg. with @testing-library/react) is currently still possible even if not suggested (since it has limitations and can produce results which are less trustable then rendering with the aforementioned render methods).
page element will always return Next.js root element (#__next div ) even when useDocument is enabled
Other information:
TODO

[x] Reshape/rename new-returns tests
[x] Update docs
[x] Find alternative names for renderHTML, render, html and page return
[x] ~Consider removing document rendering setup~
[x] Update root <html/> attributes in rederHTML (and uncomment related tests)
[x] Add a cleanup method to run afterEach test (let's see how @testing-library hooks into global afterEach)
[x] ~Consider removing page and/or html return value (is their value worth the price of extending user API?)~

Coverage decreased (-0.4%) to 99.624% when pulling 16747dafd5e68c8ab7ae631d89d4cfac04f11231 on next into 605f99d9a85e6f3892ffb17d95abc492011167ce on master.

Coverage decreased (-0.4%) to 99.624% when pulling 16747dafd5e68c8ab7ae631d89d4cfac04f11231 on next into 605f99d9a85e6f3892ffb17d95abc492011167ce on master.

I just found out that importing @testing-library/dom instead of '@testing-library/react somehow causes @testing-library/user-event to not wrap events into React act() wrapper. Therefore a lot of:
Warning: An update to RouterProvider inside a test was not wrapped in act(...)

👀

I just found out that importing @testing-library/dom instead of '@testing-library/react somehow causes @testing-library/user-event to not wrap events into React act() wrapper. Therefore a lot of:
Warning: An update to RouterProvider inside a test was not wrapped in act(...)

👀

I use @testing-library/react with @testing-library/user-event in all projects and it works without any problems (never importing @testing-library/dom) . I would recommend using click from @testing-library/user-event in our examples as well as its just more closely resembles "user" click.

I use @testing-library/react with @testing-library/user-event in all projects and it works without any problems (never importing @testing-library/dom) . I would recommend using click from @testing-library/user-event in our examples as well as its just more closely resembles "user" click.

Yep. I though we could use @testing-library/dom for all those cases where we didn't need to perform a custom render. But it's probably not the case. 👍
Well. It's been a quite long journey, but I'm very positively surprised by the result we've been able to get to. I'm considering merging to master. 🚂

Yep. I though we could use @testing-library/dom for all those cases where we didn't need to perform a custom render. But it's probably not the case. 👍
Well. It's been a quite long journey, but I'm very positively surprised by the result we've been able to get to. I'm considering merging to master. 🚂

I think its ready 🎉 Do you plan to release it as 1.0.0?
The only concern I have is regarding the "jest" patch. Did all those changes make it "mandatory" for most use cases or is it still only needed for special "document" cases.

I think its ready 🎉 Do you plan to release it as 1.0.0?
The only concern I have is regarding the "jest" patch. Did all those changes make it "mandatory" for most use cases or is it still only needed for special "document" cases.

I was actually thinking to stay in v0 for at least this first release. NPM and Yarn handle v0 in semver-expected way.
As for the Jest patch, I expect basic use cases to work anyway since imported modules identity should not be broken. Let's see what tests say.

I was actually thinking to stay in v0 for at least this first release. NPM and Yarn handle v0 in semver-expected way.
As for the Jest patch, I expect basic use cases to work anyway since imported modules identity should not be broken. Let's see what tests say.

I would expect all these on the list to fail so I think we're good.

I would expect all these on the list to fail so I think we're good.


requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8140): Max retries exceeded with url: /api/v1/nni/check-status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7ffa090c0d00>: Failed to establish a new connection: [Errno 111] Connection refused'))

when i run ''nnictl create --config config.yml -p 8140", i get the error:
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8140): Max retries exceeded with url: /api/v1/nni/check-status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7ffa090c0d00>: Failed to establish a new connection: [Errno 111] Connection refused'))

Environment:

NNI version:
v2.9
Training service (local|remote|pai|aml|etc):
remote
Client OS:
Server OS (for remote mode only):
Python version:
3.8
PyTorch/TensorFlow version:
PyTorch 1.7.0
Is conda/virtualenv/venv used?:
conda
Is running in Docker?:
no

Configuration:

Experiment config (remember to remove secrets!):

trialConcurrency: 2 #trail的并发数,根据GPU数量设置，此值为几就有几个train在同时跑
trainingService:
  platform: local
  gpuIndices: [6,7] # 使用哪几个GPU
  # gpuIndices: [0] # 使用哪几个GPU
  useActiveGpu: True # 默认值false。是否使用已经被其他进程使用的gpu,包括graphical desktop占用的。
  maxTrialNumberPerGpu: 1 #指定1个GPU上最大并发trail的数量,在确保显存达到足以容下任何两个trail时，再设置为2。
trialGpuNumber: 1 # 每个trail所需要的gpu

Search space:

{
    "epochs":{"_type":"choice","_value":[400,500]},
    "lr":{"_type":"quniform","_value":[0.0001,0.0025,0.0005]},
}

Log message:

nnimanager.log:

[2022-09-13 20:23:23] INFO (main) Start NNI manager

dispatcher.log:
none
nnictl stdout and stderr:
none

How to reproduce it?:

@xiangtaowong thanks for reporting this issue.
Could you try the command "nnictl create --config config.yml -p 8140 --debug" which runs the experiment in debug mode? And check are there more logs.
And could you run "nnictl log stderr" and "nnictl log stdout" to check their outputs?

@QuanluZhang  thanks for your reply.
When i try "nnictl create --config config.yml -p 8140 --debug", I get:
wangxiangtao@ubunturtx2080-03:~/xxx-main$ nnictl create --config config.yml --debug
[2022-09-15 10:26:17] Creating experiment, Experiment ID: njzsqdpv
[2022-09-15 10:26:17] Starting web server...
[2022-09-15 10:26:18] WARNING: Timeout, retry...
[2022-09-15 10:26:19] WARNING: Timeout, retry...
[2022-09-15 10:26:20] ERROR: Create experiment failed
Traceback (most recent call last):
  File "/home/wangxiangtao/anaconda3/envs/xxx/lib/python3.8/site-packages/urllib3/connection.py", line 174, in _new_conn
    conn = connection.create_connection(
  File "/home/wangxiangtao/anaconda3/envs/xxx/lib/python3.8/site-packages/urllib3/util/connection.py", line 95, in create_connection
    raise err
  File "/home/wangxiangtao/anaconda3/envs/xxx/lib/python3.8/site-packages/urllib3/util/connection.py", line 85, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/wangxiangtao/anaconda3/envs/xxx/lib/python3.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
  File "/home/wangxiangtao/anaconda3/envs/xxx/lib/python3.8/site-packages/urllib3/connectionpool.py", line 398, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/home/wangxiangtao/anaconda3/envs/xxx/lib/python3.8/site-packages/urllib3/connection.py", line 239, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/home/wangxiangtao/anaconda3/envs/xxx/lib/python3.8/http/client.py", line 1256, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/home/wangxiangtao/anaconda3/envs/xxx/lib/python3.8/http/client.py", line 1302, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/home/wangxiangtao/anaconda3/envs/xxx/lib/python3.8/http/client.py", line 1251, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/home/wangxiangtao/anaconda3/envs/xxx/lib/python3.8/http/client.py", line 1011, in _send_output
    self.send(msg)
  File "/home/wangxiangtao/anaconda3/envs/xxx/lib/python3.8/http/client.py", line 951, in send
    self.connect()
  File "/home/wangxiangtao/anaconda3/envs/xxx/lib/python3.8/site-packages/urllib3/connection.py", line 205, in connect
    conn = self._new_conn()
  File "/home/wangxiangtao/anaconda3/envs/xxx/lib/python3.8/site-packages/urllib3/connection.py", line 186, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f000b253d60>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/wangxiangtao/anaconda3/envs/xxx/lib/python3.8/site-packages/requests/adapters.py", line 489, in send
    resp = conn.urlopen(
  File "/home/wangxiangtao/anaconda3/envs/xxx/lib/python3.8/site-packages/urllib3/connectionpool.py", line 787, in urlopen
    retries = retries.increment(
  File "/home/wangxiangtao/anaconda3/envs/xxx/lib/python3.8/site-packages/urllib3/util/retry.py", line 592, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /api/v1/nni/check-status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f000b253d60>: Failed to establish a new connection: [Errno 111] Connection refused'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/wangxiangtao/anaconda3/envs/xxx/bin/nnictl", line 8, in <module>
    sys.exit(parse_args())
  File "/home/wangxiangtao/anaconda3/envs/xxx/lib/python3.8/site-packages/nni/tools/nnictl/nnictl.py", line 497, in parse_args
    args.func(args)
  File "/home/wangxiangtao/anaconda3/envs/xxx/lib/python3.8/site-packages/nni/tools/nnictl/launcher.py", line 91, in create_experiment
    exp.start(port, debug, RunMode.Detach)
  File "/home/wangxiangtao/anaconda3/envs/xxx/lib/python3.8/site-packages/nni/experiment/experiment.py", line 135, in start
    self._start_impl(port, debug, run_mode, None, [])
  File "/home/wangxiangtao/anaconda3/envs/xxx/lib/python3.8/site-packages/nni/experiment/experiment.py", line 103, in _start_impl
    self._proc = launcher.start_experiment(self._action, self.id, config, port, debug, run_mode,
  File "/home/wangxiangtao/anaconda3/envs/xxxlib/python3.8/site-packages/nni/experiment/launcher.py", line 148, in start_experiment
    raise e
  File "/home/wangxiangtao/anaconda3/envs/xxx/lib/python3.8/site-packages/nni/experiment/launcher.py", line 126, in start_experiment
    _check_rest_server(port, url_prefix=url_prefix)
  File "/home/wangxiangtao/anaconda3/envs/xxx/lib/python3.8/site-packages/nni/experiment/launcher.py", line 196, in _check_rest_server
    rest.get(port, '/check-status', url_prefix)
  File "/home/wangxiangtao/anaconda3/envs/xxx/lib/python3.8/site-packages/nni/experiment/rest.py", line 43, in get
    return request('get', port, api, prefix=prefix)
  File "/home/wangxiangtao/anaconda3/envs/xxx/lib/python3.8/site-packages/nni/experiment/rest.py", line 31, in request
    resp = requests.request(method, url, timeout=timeout)
  File "/home/wangxiangtao/anaconda3/envs/xxx/lib/python3.8/site-packages/requests/api.py", line 59, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/wangxiangtao/anaconda3/envs/xxx/lib/python3.8/site-packages/requests/sessions.py", line 587, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/wangxiangtao/anaconda3/envs/xxx/lib/python3.8/site-packages/requests/sessions.py", line 701, in send
    r = adapter.send(request, **kwargs)
  File "/home/wangxiangtao/anaconda3/envs/xxx/lib/python3.8/site-packages/requests/adapters.py", line 565, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /api/v1/nni/check-status (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f000b253d60>: Failed to establish a new connection: [Errno 111] Connection refused'))

As for the experiment.log logs:
[2022-09-15 10:26:17] INFO (nni.experiment) Creating experiment, Experiment ID: njzsqdpv
[2022-09-15 10:26:17] INFO (nni.experiment) Starting web server...
[2022-09-15 10:26:18] WARNING (nni.experiment) Timeout, retry...
[2022-09-15 10:26:19] WARNING (nni.experiment) Timeout, retry...
[2022-09-15 10:26:20] ERROR (nni.experiment) Create experiment failed
```
Other logs are nearly blank.
And the outputs of `nnictl log stderr`, `nnictl log stdout` are the same:
```
ERROR: There is no experiment running.
ERROR: Please set correct experiment id.
```

I have tried different versions: 2.5 to 2.9. Besides v2.5, all versions' errors are the same, and v2.5 is like sth that it can't get the 'Evolution' Tuner.

@xiangtaowong , please use "nnictl log stderr njzsqdpv" and "nnictl log stdout njzsqdpv".
could you check the nnimanager.log which is located under ~/nni-experiments/<exp-id>/log/nnimanager.log?

@QuanluZhang
When i run"nnictl log stderr njzsqdpv" and "nnictl log stdout njzsqdpv", I get the error:
ERROR: Id not correct.
ERROR: Please set correct experiment id.

I confirm the ID, and it's correct
The nnimanager.log  is below:
[2022-09-15 10:26:19] INFO (main) Start NNI manager
[2022-09-15 10:26:19] DEBUG (SqlDB) Database directory: /mnt/sdc/wangxiangtao/mae/RES_NNI_LOG/njzsqdpv/db

@xiangtaowong , thanks for your reply. The correct nnimanager.log is below:
  1 [2022-09-15 13:40:33] INFO (main) Start NNI manager
  2 [2022-09-15 13:40:33] DEBUG (SqlDB) Database directory: /xxx/xxx/nrsz5p34/db
  3 [2022-09-15 13:40:34] INFO (NNIDataStore) Datastore initialization done
.... ....

So, it seems the sqlite database is not created successfully. Could you help check is there "nni.sqlite" file created under the ".../njzsqdpv/db/" directory?
The related source code is here https://github.com/microsoft/nni/blob/5fc73ba6935451fb1f0ca09ebcd8da762774b851/ts/nni_manager/core/sqlDatabase.ts#L100
By the way, is the directory ".../njzsqdpv" on a remotely mounted disk/filesystem? Because sqlite is not stable when writing to a remotely mounted disk.

@QuanluZhang Thanks.
Actually the nni.sqlite is created undet the directory.
Yes, the directory ".../njzsqdpv" is on a remotely mounted disk/filesystem.

One more thing, i don't find the ts directory innni,
I installed nni by pip install nni, now the version is v2.9

The ts (actually js) code is placed in for example "miniconda3/lib/python3.9/site-packages/nni_node/".
What remote file system are you using? NFS or others? We can try to reproduce and improve. I believe if you configure "experimentWorkingDirectory" to a local directory, the problem will not happen.

@QuanluZhang  Thank u.
I will have a try.

@QuanluZhang Sorry to bother u again.
Using remotes is so common, but what should I do if I want to use Ubuntu?
I can use nni successfully on another project on another remote, I think maybe there is something wrong with the nni-specisl codes? But all the codes are so common and I can't find the wrong. Or something wrong with the basic-library?

Maybe there is some misunderstanding. You can run an nni experiment on a remote ubuntu server. If this ubuntu server mounts a network (or remote) disk and you put "experimentWorkingDirectory" on this disk, sqlite might be unstable. The simplest way is configuring "experimentWorkingDirectory" to another directory on this remote ubuntu server, for example ~/xxx.

@QuanluZhang  Thank you very much!
It works!
And I misunderstood what you say, the problem is about where the files locate.
And I will close this issue.
Wish u have a good day!

@QuanluZhang  Thank you very much!
It works!
And I misunderstood what you say, the problem is about where the files locate.
And I will close this issue.
Wish u have a good day!

This error has happened due to a change in the item of experimentWorkingDirectory. One can cancel the change and maintain the default. However, I can not check the real cause, but I never find the error in version of 2.0.


Update to latest open release

Test and update to support Aras 11 SP12.

Tested to support Aras 11 SP12.
Built Using: Aras 11.0 SP12 Browsers Tested: Internet Explorer 11, Firefox 62, Chrome 69
The package is compatible with latest open release Aras 11 SP12

Fixed in 51766a5ac5a8404ea4d422003d0621b4075719de when I added new examples


Fixed crc32 assembly not returning hash value to correct variable.

Discovered while benchmarking #1086.

I did some benchmarking using one of my branches that has minor build fixes just to get ClangCl to work with zlib-ng.
BASE https://github.com/nmoinvaz/zlib-ng/commit/1530169d923105d0c8fd3e14a3a0516dd25ad3be
 Tool: ../zlib-ng/build-develop/Release/minigzip.exe Levels: 1-9
 Runs: 70         Trim worst: 40

 Level   Comp   Comptime min/avg/max/stddev  Decomptime min/avg/max/stddev  Compressed size
 1     97.453%      0.130/0.131/0.133/0.001        0.055/0.056/0.057/0.001       15,335,438
 2     65.118%      0.261/0.266/0.270/0.002        0.064/0.066/0.067/0.001       10,247,226
 3     65.070%      0.324/0.329/0.335/0.003        0.064/0.066/0.067/0.001       10,239,601
 4     63.084%      0.683/0.692/0.702/0.006        0.066/0.067/0.068/0.001        9,927,164
 5     62.402%      0.864/0.877/0.887/0.006        0.066/0.068/0.069/0.001        9,819,793
 6     57.187%      2.481/2.508/2.537/0.016        0.063/0.065/0.066/0.001        8,999,184
 7     53.204%      4.338/4.374/4.422/0.025        0.065/0.068/0.070/0.001        8,372,331
 8     48.907%   14.516/14.662/14.893/0.105        0.062/0.063/0.065/0.001        7,696,086
 9     40.409%      0.484/0.497/0.506/0.006        0.045/0.047/0.048/0.001        6,358,951

 avg1  61.426%                        2.704                          0.063
 tot                                730.097                         16.998       86,995,774

PR https://github.com/nmoinvaz/zlib-ng/commit/fcb3763df5bbb7b43c88cac971ac0b35f691f28c
 Tool: ../zlib-ng/build-crc32-asm/Release/minigzip.exe Levels: 1-9
 Runs: 70         Trim worst: 40

 Level   Comp   Comptime min/avg/max/stddev  Decomptime min/avg/max/stddev  Compressed size
 1     54.166%      0.106/0.109/0.113/0.002        0.049/0.050/0.052/0.001        8,523,732
 2     43.871%      0.167/0.174/0.178/0.003        0.050/0.052/0.054/0.001        6,903,609
 3     42.387%      0.200/0.205/0.209/0.003        0.049/0.051/0.053/0.001        6,670,099
 4     41.647%      0.225/0.230/0.236/0.003        0.047/0.050/0.052/0.001        6,553,723
 5     41.216%      0.244/0.252/0.261/0.005        0.046/0.049/0.052/0.001        6,485,938
 6     41.037%      0.283/0.293/0.300/0.005        0.046/0.049/0.051/0.001        6,457,776
 7     40.778%      0.360/0.370/0.377/0.005        0.046/0.049/0.051/0.001        6,416,919
 8     40.704%      0.454/0.468/0.484/0.009        0.047/0.049/0.052/0.001        6,405,244
 9     40.409%      0.490/0.509/0.525/0.010        0.046/0.048/0.051/0.001        6,358,951

 avg1  42.913%                        0.290                          0.050
 tot                                 78.295                         13.406       60,775,991

And bug of the year award goes to...


v14.1.20a switch entity fields to protected

SonarQube analysis reported 3 issues

 3 info

Watch the comments in this conversation to review them.
1 extra issue
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 Game.php#L23: Split this 137 characters long line (which is greater than 120 authorized).

[Current coverage][cc-pull] is 99.20%

Merging [#302][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master       #302   diff @@
==========================================
  Files            24         24
  Lines           374        374
  Methods          77         77
  Messages         77        385   +308
  Branches          0          0
==========================================
  Hits            371        371
  Misses            3          3
  Partials          0          0

Powered by Codecov. Last updated by 42d77da
[cc-base-branch]: https://codecov.io/gh/eugene-matvejev/battleship-game-api/branch/master?src=pr
[cc-pull]: https://codecov.io/gh/eugene-matvejev/battleship-game-api/pull/302?src=pr


[offline] Change prepare to one-file-per-query

Description
Copy of #2110.
Continuation of/supersedes https://github.com/launchbadge/sqlx/pull/1770#issuecomment-1248766745 and #1183.
Overhauls offline query metadata from being saved in a single sqlx-data.json file, to every query being saved separately in a .sqlx directory (either in the package or workspace root depending on the --workspace flag).
E.g.
.sqlx
├── query-2b192bf413d46a28226de2ad754a382043c483cf55c04d19bdfa916dcbf0e7ae.json
├── query-95d796755ea0ade4578c91d102407ae003487e40922284cdd6f5c8cbc8d0b5e2.json
└── query-e46f12d720e0911c9280a1b43d7aab30beef94861713fa686db77cfe30702792.json

Changed
Many of the changes are from #1770 and #1183. I updated the previous work on this with the latest changes from the main branch, implemented outstanding things like cargo sqlx prepare --check, and fixed several bugs.

Change sqlx prepare to save queries individually in a .sqlx directory.
Rename --merged flag to --workspace for sqlx prepare.
Test offline query macros in GitHub Actions.

Related issues
Closes #570
~#1005~ Edit: this PR is no longer related to MSSQL.
Supersedes #2322
Type of change
Breaking change. Developers will need to install the latest sqlx-cli and re-run cargo sqlx prepare in their projects.
How does it work?
Saving offline queries

When running cargo sqlx prepare, the command will execute cargo check with the SQLX_OFFLINE_DIR environment variable set to <package or workspace>/.sqlx, depending on the --workspace flag.
Then, expand_with_data in sqlx-macros saves the query metadata to a temporary file, before moving it to the SQLX_OFFLINE_DIR path (the move/rename operation should be atomic).

Note that this, in conjunction with queries not being saved when SQLX_OFFLINE_DIR is not set (either manually or by sqlx prepare), should avoid any race conditions with IDEs building at the same time like #2049.

Note that SQLX_OFFLINE_DIR can be set manually so cargo check without cargo sqlx prepare can generate query files---useful for the CI---but the environment variable doesn't override the directories used by sqlx prepare or sqlx prepare --check, should it? ~I'm concerned about data loss if it's set to another directory and sqlx prepare tries to delete it.~ Edit: changed removal behaviour so only query-*.json files are deleted.
Loading offline queries
When loading query metadata offline, expand_input in sqlx-macros will check if the query is saved in SQLX_OFFLINE_DIR if set, then <package>/.sqlx, then <workspace>/.sqlx.
Checking offline queries
Running cargo sqlx prepare --check will generate queries and place them in target/sqlx-prepare-check and compare the contents to <package or workspace>/.sqlx, depending on the --workspace flag.
If there are queries in target/sqlx-prepare-check that aren't in <package or workspace>/.sqlx (indicating new queries were probably added), the command will fail with an error: prepare check failed: .sqlx is missing one or more queries; you should re-run sqlx prepare.
If there are unused queries in <package or workspace>/.sqlx that aren't in target/sqlx-prepare-check (indicating old queries were probably removed), the command will succeed with a warning: potentially unused queries found in .sqlx; you may want to re-run sqlx prepare.
Finally, it will compare the JSON contents of files in both directories to ensure they match.

See comments on previous PR. https://github.com/launchbadge/sqlx/pull/2110#issuecomment-1435782727

Hmm, bad rebase. Going back to draft for now until I can clean out the differences from 0.7-dev and main.

worth mentioning that:

sqlx-cli version needs to be in sync with sqlx version used in a project
offline feature is no longer available for sqlx package (seems like it's present only for sqlx-core package)

more context in https://github.com/launchbadge/sqlx/issues/1163#issuecomment-1627704185

Is there a way to switch back to the sqlx-data.json behaviour? All these files are bloating github reviews with sometimes hundreds of changed files, and the newly created files always need to be manually staged.


VB error 438 invalid property or method

When I use this code in Outlook, I get the following VB error when I use WebRequest.AddBodyParameter.
Run-time error '438':

Object doesn't support this property or method

I didn't import the Dictionary module but instead copied the code from a module in another project - and in doing so lost the default property attribute.
This PR adds explicit Item calls in order to avoid this happening to other users.

Definitely on the fence about this, since it's not guaranteed the rest of your code would run with a broken Dictionary "install", but it's a pretty minor change. I'll think about it and keep you posted.

Less expert users may well copy and paste the code, not realising that they will lose the default property and break the code.
Of course (see other discussion), if you put the code into an Add-in, there is no need for inexpert users to    make this mistake.

Found default Item usage in a lot of places (stopped counting) and I think there is too much of a chance of non-Item slipping back in and causing this issue again. I'll add some details to VBA-Dictionary about the 438 error and how to fix it (import VBA-Dictionary directly).
Additional places I found non-Item used:

[ ] WebClient:621
[ ] WebClient:625
[ ] WebClient:697-698
[ ] WebHelpers:492
[ ] WebHelpers:496
[ ] WebHelpers:523
[ ] WebHelpers:527
[ ] WebHelpers:600
[ ] WebHelpers:622
[ ] WebHelpers:721,725,727,733
[ ] WebHelpers:783,787
[ ] WebHelpers:1029-1032,1035,1039
[ ] WebHelpers:1046
[ ] WebHelpers:1179
[ ] WebHelpers:1197,1202-1205,1207-1208
[ ] Potentially many more and probably more in the future

Fair enough.


Ghosts of mice/brains that are eaten get stuck to the person who ate them.

Description
If a sentient food (like a mouse) is eaten then the ghost is attached to the one who ate them. They can move, but they also move and rotate whenever the one who ate them moves.

Screenshots
Additional context
As an admin, I can fix it by teleporting the glitched player to a new position.

This now also applies to brains, since they are also edible mind containers.


Add fields to csv export file

Why is this issue important?
Partner Request from Farrah Gee (NJ)
Current State
na
Expected State
Request:
Please include the items listed below as search options and in the CSV export.
The federal agency's name and grant category are important in identifying and sorting through grant opportunities, when you do not know which keywords to include and exclude.
CFDA #
CFDA of Funding Activity
Agency Name
Category of grants, i.e Agriculture, Arts, IIJA, Business and Commerce, etc... (as reflected on grants.gov)
Implementation Plan
The following functions need to be added...
Relevant Code Snippets
No response

duplicate


Feature/search fields

FolderAdmin is ignoring FolderAdmin.search_fields (see FolderAdmin.filter_folder and FolderAdmin)
It would be great to use FolderAdmin.search_fields, so one can just extend FolderAdmin to change the search behavior as described in Django's docs . E.g.:
class MyFolderAdmin(FolderAdmin):
    search_fields = ['=filed1', '^field2']

admin.site.unregister(Folder)
admin.site.register(Folder, MyFolderAdmin)

So I did it. :)
I also believe that FolderAdmin.owner_search_fields could use the same logic. However as it uses a wee different rule, I rather make it a different feature/pull request.

@belimawr could you please check the test failures?

@yakky, yes I'll check the test failures. Actually even the develop branch is failing in some tests... I'm going to look into it carefully.

@yakky Everything seems to be working fine now.

@belimawr thanks, LGTM
do you mind adding a note here https://github.com/stefanfoulis/django-filer/blob/develop/docs/extending_filer.rst#other-things-you-could-add regarding how to implement "advanced search"?

Sure!

I worte some documentation and put it aftter Overriding the Directory Listing Search.
However, it seems that there is some issue with the markdown :/ I will look into that as soon as I can.

@belimawr something like http://dpaste.com/1M87Z0S should fix the formatting issue

Thanks @yakky. I believe it's working now

:+1:

thanks @belimawr

You're welcome!
I'm glad to help such a great project!


Turn.proxy implementation

Implement https://tools.ietf.org/html/rfc5389 encoding/decoding and changes of Mapped-Address and Xor-Mapped-Address attributes. Also Message-Integrity attribute is regenerated when adresses are modified.

Generally looks really good to me.  See PR with some updates, and comments above.  Lets try to get this in before start of next sprint.


devenv still open after Integration tests run

I've noticed that even in successful builds devenv is still open after the Integration tests run. Thankfully I noticed this because it was capturing a dump, so we should be well positioned to investigate.
Here's an example build which suffers this, though I believe any recent CI build should demonstrate the behavior.

Here's an example failure: https://dev.azure.com/dnceng/public/_build/results?buildId=1729510&view=results


Migrate to Swift 4.2

Codecov Report

Merging #64 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master     #64   +/-   ##
======================================
  Coverage    96.5%   96.5%
======================================
  Files           3       3
  Lines         315     315
======================================
  Hits          304     304
  Misses         11      11

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 e3537a0...c6dbe06. Read the comment docs.


Adjust ny for baroclinic channel to give 500 km domain

This is a port of https://github.com/MPAS-Dev/compass/pull/605
The following description is copied from there.
This PR adjusts the number of cells used in meshes for the baroclinic channel test case to ensure the 'standard' 160x500km domain is defined. Previously, the channel has had a shorter y-length of sqrt(3)/2 * 500 => 433km.

When using the make_planar_hex_mesh routine, the number of cells along the y-axis should be scaled by 2/sqrt(3) to account for hexagonal geometry.

The channel is a standard community test case, and use of the 160x500km domain enables model intercomparison, e.g.:

Ilıcak, M., Adcroft, A.J., Griffies, S.M. and Hallberg, R.W., 2012. Spurious dianeutral mixing and the role of momentum closure. Ocean Modelling, 45, pp.37-58.

Petersen, M.R., Jacobsen, D.W., Ringler, T.D., Hecht, M.W. and Maltrud, M.E., 2015. Evaluation of the arbitrary Lagrangian–Eulerian vertical coordinate method in the MPAS-Ocean model. Ocean Modelling, 86, pp.93-113.

Checklist

[x] User's Guide has been updated
[x] Documentation has been built locally and changes look as expected
[ ] Testing comment in the PR documents testing used to verify the changes

Actually, it looks like only the spherical meshes are described in developers_guide/framework/mesh so we should probably add a new planar mesh section, here or in a separate PR.

I think that should be a separate PR.  At the moment developers_guide/framework/mesh describes what's literally in the framework (polaris.mesh) but I think it would be okay to expand it to cover functions from mpas_tools like make_planar_hex_mesh that could typically be used in test cases, and what the proper usage is (including this issue).

Hmm, thinking about it some more, I think it belongs in a "Mesh" section in "Organization".

Testing
I successfully ran all baroclinic_channel test cases on Chrysalis with this branch.  The results can be found at:
/lcrc/group/e3sm/ac.xylar/polaris_0.1/chrysalis/test_20230415/bcn_chan_fix_ny

@dengwirda, could you have a look at the code change here and see if you agree that they are equivalent to https://github.com/MPAS-Dev/compass/pull/605?
I verified that I get exactly the same values for ny as you have prescribed in compass for the 3 standard resolutions.

Thanks @alicebarthel!  I'll fix that here.

Retroactive testing
I changed the resolution to 0.1 for the test cases that are currently at 10 km.  Then, I did polaris list and go:
   0: ocean/baroclinic_channel/100m/default
   1: ocean/baroclinic_channel/100m/decomp_test
   2: ocean/baroclinic_channel/100m/restart_test
   3: ocean/baroclinic_channel/100m/threads_test

as expected.


Build failed on linux

I tried to build an example app on both Mac and Linux, Mac works but Linux failed:
# Linux version
$ lsb_release -a
Distributor ID: Debian
Description:    Debian GNU/Linux 9.1 (stretch)
Release:        9.1
Codename:       stretch

Reproduce
yarn create react-app my-app -- --scripts-version reason-scripts

$ react-scripts build
Creating an optimized production build...
Failed to compile.

./src/index.re
File "/home/tienson/codes/ml/my-app/node_modules/reason-react/src/reasonReact.re", line 226, characters 34-47:
Error: 717: <SYNTAX ERROR>

Line 226:
let createClass (type reasonState retainedProps action) debugName :reactClass =>

Diagnosed in Discord as an old version of bs-platform. Closing!

If anyone is looking at this and having a similar problem come check out the Discord here: https://discordapp.com/invite/reasonml 😊


improvement:修改评论逻辑和单据详情的样式

Codecov Report

Merging #214 (a47a288) into v2.6.x_develop (b268d79) will increase coverage by 0.52%.
The diff coverage is n/a.

@@                Coverage Diff                 @@
##           v2.6.x_develop     #214      +/-   ##
==================================================
+ Coverage           50.93%   51.46%   +0.52%
==================================================
  Files                 657      445     -212
  Lines               36450    27409    -9041
==================================================
- Hits                18565    14105    -4460
+ Misses              17885    13304    -4581

Impacted Files
Coverage Δ

itsm/ticket/views/ticket_remark.py
44.82% <0.00%> (-9.34%)
:arrow_down:

...rigger/action/components/automatic_announcement.py
36.95% <0.00%> (-4.07%)
:arrow_down:

itsm/ticket/models/misc.py
79.90% <0.00%> (-1.47%)
:arrow_down:

itsm/component/utils/robot.py
29.78% <0.00%> (-0.65%)
:arrow_down:

itsm/trigger/action/core/field.py
69.61% <0.00%> (-0.36%)
:arrow_down:

itsm/ticket/views/misc.py
55.10% <0.00%> (ø)

iam/api/http.py

business_rules/actions.py

pipeline/component_framework/models.py

iam/contrib/django/dispatcher/dispatchers.py

... and 210 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 b268d79...a47a288. Read the comment docs.


[Bug Report] loadbalancer sub-module fails when specifying public_ip_resource_group_name for existing Public IP resource for FrontEnd IP configuration

Describe the bug
Load balancer sub-module on line #51 has a typo that is causing an error during terraform plan when specifying an existing Public IP resource.
Output of terraform plan describing the error:
╷
│ Error: Unsupported attribute
│
│   on modules/palo-alto-nva-ngfw/loadbalancer/main.tf line 51, in data "azurerm_public_ip" "this":
│   51:   resource_group_name = coalesce(each.value.public_ip_resource_group, var.resource_group_name)
│     ├────────────────
│     │ each.value is object with 9 attributes
│
│ This object does not have an attribute named "public_ip_resource_group".
╵
Operation failed: failed running terraform plan (exit 1)

Template of the error: terraform-azurerm-swfw-modules/modules/loadbalancer
/main.tf.
# https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/public_ip
data "azurerm_public_ip" "this" {
  for_each = { for k, v in var.frontend_ips : k => v if !v.create_public_ip && v.public_ip_name != null }

  name                = each.value.public_ip_name
  resource_group_name = coalesce(each.value.public_ip_resource_group, var.resource_group_name)
}

This data source should be updated as follows:
coalesce function's first element should be updated from each.value.public_ip_resource_group to each.value.public_ip_resource_group_name.
# https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/public_ip
data "azurerm_public_ip" "this" {
  for_each = { for k, v in var.frontend_ips : k => v if !v.create_public_ip && v.public_ip_name != null }

  name                = each.value.public_ip_name
  resource_group_name = coalesce(each.value.public_ip_resource_group_name, var.resource_group_name)
}

Module Version
v3.0.0
Terraform version
1.8.5
Expected behavior
No response
Current behavior
No response
Anything else to add?
No response

Hello @jinkang23, good catch! This will be resolved by PR #53. Thank you!

Great, Thank you @acelebanski !


fix a bug causing wrapped float/flex elements to flicker when sorted

I want to resolve #286. As I see it, the issue stems from having two next/prev siblings in float or flex that is wrapped, like bootstrap cols (or angular-material flex in my case).

I also updated the index.html to show a working example in "List B". Perhaps that is not needed

Reverted index.html, jshint does not pick up on any errors but I converted to tabs manually

:+1:


Addition of Top Searched Artists and Top Playlists section

Is your feature request related to a problem? Please describe.
My feature request is to make the user have more choices. It would be amazing because having more options would give user to explore and ultimately increases their time on the Geet platform.
Describe the solution you'd like
I am thinking to write the necessary code for it in HTML, CSS and JS. My plan is to make it clickable also.  When user will click on the card then the whole playlist of the songs related to that card would start playing.
I will add these sections below the popular artists section.

@kartikp962 start working on it.

Can I work on this?

Can I work on this?

It's already assigned


Fix GCSObjectStore bug where hmac keys auth doesn't work

What does this PR do?

modified GCSObjectStore to enables hmac keys to work by creating an S3ObjectStore object under the hood
added two integration tests to test both auth procedures: test_gs_object_store_integration_json_auth and `test_gs_object_store_integration_hmac_auth

Manual Tests
Ran:

pytest tests/utils/object_store/test_gs_object_store.py::test_gs_object_store_integration_json_auth -m remote
pytest tests/utils/object_store/test_gs_object_store.py::test_gs_object_store_integration_hmac_auth -m remote

Manual test 2 failed before the fix.
What issue(s) does this change relate to?
fixes GRT-2391

Why don't GCS hmac keys work anymore? Can we support GCS in a similar manner to streaming with the official python sdk (which is recommended and allows for more flexibility in authentication)?
mosaicml/streaming#376

they work with this fix!


Suport for getSupportedRegions

Is there any chance we can get this method supported?

Fix with isNaN

Have you considered using the isnan(x) define function in math.h?

I don't know how, do you have any idea using 'isnan' in math.h ?

It seems it can't be used with Strings as you use it. Only float, double and long.
Sorry for the missunderstanding.

Nop :)

To use with strings I've seen some people using NSNumberFormatter to parse a string to a NSNumber, it supposedly handles the case where the string is no numeric.
I am not sure if that's a good approach though.
I was just suggesting to see if this could improve performance a bit.

OK I see. I will update later.

NSCharacterSet* notDigits = [[NSCharacterSet decimalDigitCharacterSet] invertedSet];
if ([newString rangeOfCharacterFromSet:notDigits].location == NSNotFound)
{
    // newString consists only of the digits 0 through 9
}


Github logo link is missing aria label

Description
The github logo in the search bar is a link but as it doesn't have any text it needs an aria-label to specify for screen readers where the link leads.
Screenshots

Additional information
No response

aria-label="View source on GitHub"


[Question]nbgv get-commits

I'm testing usage of nbgv get-commits commands on coverlet repo https://github.com/tonerdo/coverlet/commits/master
I would like to know if it's expected that if I ask for last version done by only 1 commit it returns "no results"
D:\git\coverlet\src\coverlet.collector (master -> origin)
λ nbgv get-commits 1.0.25

D:\git\coverlet\src\coverlet.collector (master -> origin)
λ nbgv get-commits 1.0.24
e5998d8fbd07376dd8908e4829dda208d82d582d <IP_ADDRESS>397 Merge pull request #451 from AArnott/versionPatch

I would expect 6209239d697b3e2fbd0ddfbe4e3d6e7e6cc6c212 from 1.0.25
Nightly for reference https://www.myget.org/feed/coverlet-dev/package/nuget/coverlet.collector/1.0.25-g6209239d69
I would like prepare a doc with "nightly usage" infos and the idea is document how get commit hash from version.
cc: @AArnott @tonerdo

Never mind my fault...I was not synched with master.

You'll need to be using the 3.0-beta for your repo.
And FYI, I found a bug in this area in the 3.0 version that I've yet to fix.

#347 is the issue I found.

I'm using
nbgv                                   2.3.167                     nbgv

and it works
D:\git\coverlet\src\coverlet.collector (master -> origin)
λ nbgv get-commits 1.0.25
6209239d697b3e2fbd0ddfbe4e3d6e7e6cc6c212 <IP_ADDRESS>2 Merge pull request #441 from AArnott/fixPackageOutputPath


Add German language support

Summary
Duplicated the package.nls.json to package.nls.de.json, in accordance with https://code.visualstudio.com/docs/getstarted/locales#_available-locales, and translated the text first by hand and then rechecking my translation and refining them using deepl
Testing
How did you test this change? I ran npm install and then hit F5 and started to click around in the UI to find things that looked out of place to me.
Findings: While looking around in the application I realized that when SAS is starting a session you get a small pop-up in the right hand corner displaying the text: Connecting to SAS session... - I was unable to identify this text in the language file
ContributorAgreementSASVSCode.txt

Hi, in addition to the package.nls.json file, there's another translation file
https://github.com/sassoftware/vscode-sas-extension/blob/main/l10n/bundle.l10n.zh-cn.json
You'll find "Connecting to SAS session..." there:)

@scnwwu  thanks for the note - will add the translation for that as well - I wasn't aware that I had to add the translations in more then one place!

Hey @Criptic. Since you're working on translating the extension to German, do you mind taking a look at https://github.com/sassoftware/vscode-sas-extension/pull/464/files and making sure the notes in CONTRIBUTING.md make sense?

Hey @scottdover they make sense to me.

Thanks for the contribution!

I chcked the resource bundle in master branch bundle.l10n.de.json and verified it in VSCE. German could be displayed successfully. So I add "ready for release" label so that this PR could be delievered in 1.3.0.


Rancher unable to discover the VPC/subnet setup in AWS.

Rancher Version:
1.1.0
Docker Version:
N/A
OS and where are the hosts located? (cloud, bare metal, etc):
N/A
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Steps to Reproduce:
Launch an AWS  EC2 instance
Results:
I have a VPC&subnet set in AWS. However, Rancher cannot show it. I can launch an instance and run the command to register the host with Rancher without any problem.

Expected:
It could show the VPC.

I haven't had any issues with showing VPC/Subnets. Have you tried other regions and is it missing for all regions?

Yes, I have tried with other regions. They work well. Only this Singapore site has this problem.
I have the VPC subnet in ap-southeast-1b but not in 1a.
Rancher can detect I have VPC setup in ap-southeast-1b. Then in "Avail. Zone", 1b is shown but not 1a, which is correct.
However, it does not show the VPC/subnet at all, so I have nothing to choose.

I am unable to reproduce in v1.1.1.
Can you try adding a VPC setup to 1a to see if it corrects the issue?

I see why. I deleted the AWS default subnet and created new ones. If I do not associate the route table with the subnet and if I do not enable auto-assign pub ip to subnet (by default, AWS does not do that), Rancher will show the nothing under VPC/subnet.
You can repeat probelm by a non-default VPC. Ideally an error message should show up under VPC/subnet telling user that their VPC is not set up correctly.

@zhang8473 can you explain more? I'm seeing exactly this same bug, but as far as I can see the subnet/route table are connected, and auto-assign public IP is set. This is on a non-default (created with Terraform) VPC.
So my conditions don't quite seem to match yours, yet I am seeing the same bug.

I think I have the same situation with you. As long as I set up the route table, the VPC shows up. I am also using a non-default VPC. Actually I am not sure if the second small bug is due to the network delay. It looks like not.

comparing the XML responses for calls to http://rancher.odoko.org/v1/proxy/ec2.us-west-2.amazonaws.com/ and http://rancher.odoko.org/v1/proxy/ec2.us-east-1.amazonaws.com/, where my failing VPC is in the latter, I notice that my subnet is NOT listed as "default subnet", more specifically, in the latter I see:   false, which is 'true' in the first.
The UI appears to be explicitly excluding non-default subnets. I don't know if that is intentional, or valid.
I created my subnet with Terraform 1, which doesn't appear to support setting 'default' on a subnet.

.
Gesendet von meinem BlackBerry 10-Smartphone.
Von: Upayavira
Gesendet: Mittwoch, 31. August 2016 15:26
An: rancher/rancher
Antwort an: rancher/rancher
Betreff: Re: [rancher/rancher] Rancher unable to discover the VPC/subnet setup in AWS. (#5396)
comparing the XML responses for calls to http://rancher.odoko.org/v1/proxy/ec2.us-west-2.amazonaws.com/ and http://rancher.odoko.org/v1/proxy/ec2.us-east-1.amazonaws.com/, where my failing VPC is in the latter, I notice that my subnet is NOT listed as "default subnet", more specifically, in the latter I see: false, which is 'true' in the first.
The UI appears to be explicitly excluding non-default subnets. I don't know if that is intentional, or valid.
I created my subnet with Terraform 1https://www.terraform.io/docs/providers/aws/r/subnet.html, which doesn't appear to support setting 'default' on a subnet.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/rancher/rancher/issues/5396#issuecomment-243763040, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ARkjz8UegVA2UWIhHzrEyzOorunR-x59ks5qlYEQgaJpZM4JJ6JA.
This communication and any files or attachments transmitted with it may contain information that is copyrighted or confidential and exempt from
disclosure under applicable law. It is intended solely for the use of the individual or the entity to which it is addressed.
If you are not the intended recipient, you are hereby notified that any use, dissemination, or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify the sender at once so that he may take the appropriate action and avoid troubling you further.
Thank you for your cooperation.
Wacker Chemie AG, Hanns-Seidel-Platz 4, 81737 München, Germany, Sitz München, Amtsgericht München HRB 159705
Vorstand: Rudolf Staudigl (Vorsitzender), Christian Hartel, Tobias Ohler, Auguste Willems
Vorsitzender des Aufsichtsrats: Peter-Alexander Wacker

The only filtering that's done is to skip subnets with a State that isn't available.  Otherwise it's just callings describeVpcs and desribeSubnets and making a list of all the subnets that were returned:
https://github.com/rancher/ui/blob/master/app/components/machine/driver-amazonec2/component.js#L193-L235
Can you post the actual API responses?

For one that works:
URL: http://rancher.xxxxx.org/v1/proxy/ec2.us-west-2.amazonaws.com/
Payload: Action=DescribeSubnets&Version=2015-03-01
Response:
<?xml version="1.0" encoding="UTF-8"?>
    <DescribeSubnetsResponse xmlns="http://ec2.amazonaws.com/doc/2015-03-01/">
    <requestId>63d45313-1625-400b-8a32-78f618b1e9b3</requestId>
    <subnetSet>
        <item>
            <subnetId>subnet-1ae729xx</subnetId>
            <state>available</state>
            <vpcId>vpc-95245bxx</vpcId>
            <cidrBlock><IP_ADDRESS>/20</cidrBlock>
            <availableIpAddressCount>4091</availableIpAddressCount>
            <availabilityZone>us-west-2c</availabilityZone>
            <defaultForAz>true</defaultForAz>
            <mapPublicIpOnLaunch>true</mapPublicIpOnLaunch>
        </item>
        <item>
            <subnetId>subnet-c855d2xx</subnetId>
            <state>available</state>
            <vpcId>vpc-95245bxx</vpcId>
            <cidrBlock><IP_ADDRESS>/20</cidrBlock>
            <availableIpAddressCount>4091</availableIpAddressCount>
            <availabilityZone>us-west-2b</availabilityZone>
            <defaultForAz>true</defaultForAz>
            <mapPublicIpOnLaunch>true</mapPublicIpOnLaunch>
        </item>
        <item>
            <subnetId>subnet-92acc0xx</subnetId>
            <state>available</state>
            <vpcId>vpc-95245xx</vpcId>
            <cidrBlock><IP_ADDRESS>/20</cidrBlock>
            <availableIpAddressCount>4091</availableIpAddressCount>
            <availabilityZone>us-west-2a</availabilityZone>
            <defaultForAz>true</defaultForAz>
            <mapPublicIpOnLaunch>true</mapPublicIpOnLaunch>
        </item>
    </subnetSet>
    </DescribeSubnetsResponse>

For the one that doesn't:
URL: http://rancher.xxxxxx.org/v1/proxy/ec2.us-east-1.amazonaws.com/
Payload: Action=DescribeSubnets&Version=2015-03-01
Response:
<?xml version="1.0" encoding="UTF-8"?>
<DescribeSubnetsResponse xmlns="http://ec2.amazonaws.com/doc/2015-03-01/">
    <requestId>fdb45897-148b-435f-99e2-e49a0b8ff1f1</requestId>
    <subnetSet>
        <item>
            <subnetId>subnet-ea545acxx/subnetId>
            <state>available</state>
            <vpcId>vpc-232651xx</vpcId>
            <cidrBlock><IP_ADDRESS>/24</cidrBlock>
            <availableIpAddressCount>250</availableIpAddressCount>
            <availabilityZone>us-east-1b</availabilityZone>
            <defaultForAz>false</defaultForAz>
            <mapPublicIpOnLaunch>true</mapPublicIpOnLaunch>
            <tagSet>
                <item>
                    <key>Name</key>
                    <value>public</value>
                </item>
            </tagSet>
        </item>
    </subnetSet>
</DescribeSubnetsResponse>

This is on Rancher 1.1.2

And is still broken on 1.1.3

@upayavira This issue is targeted for 1.2.0 (as indicated by the milestone). When it gets fixed, the issue will be closed and the milestone will indicate which release it was fixed in.

@deniseschannon thanks for explaining

I still have no way to reproduce this or plausible explanation for how it's occurring, so without additional information it's not ever going to be fixed..  There is nothing that checks for default-ness, and I see both default and non-default VPCs and Subnets.

@vincent99 I have just reproduced this on a "throw away" Rancher install that I am happy to give you access to. For some reason, github isn't sending me notifications on this thread. Mail me on<EMAIL_ADDRESS>and I'll give you access to it.

The issue with this is as much with the VPC that Rancher is connecting to. I can either provide you with creds to my (almost entirely empty) AWS account, or, you can look at the terraform configs that created the VPC, which is a part of my "Uberstack" tool. The Terraform configs are here https://github.com/odoko-devops/uberstack/tree/master/examples/dev-stack/terraform

It really has nothing to do with the server container, or what VPCs it's on, if it's even in EC2 atall.. As I said earlier the UI is just making calls (describeVpcs and describeSubnets) to the AWS API directly  (using the server as a proxy) and it uses those responses to render the options, which are apparently wrong when presented to you there.
Eventually the selected options are given to docker-machine which actually creates the AWS resources, but that is far after the problem described.
So since you're offering, the easiest way to reproduce it is to give me a set of API keys that display the wrong info when used.  You can email me directly, or same username on FreeNode.

Sure, I'll do this tomorrow, and replace them as soon as you are done.
Also, I have managed to get the UI to work using the VPC that comes as default in us-west-2, rather than the one I built with Terraform in us-east-1. Would it also help if I gave you the JSON returned to the UI for each of these cases?

I had the same issue and found out it was because of it needed  <mapPublicIpOnLaunch>true</mapPublicIpOnLaunch>. Going into AWS and modifying the subnet to auto assign IP resolved this issue for me.

The issue is the Rancher UI is including only subnets that have defaultForAz set to true.
This is from a non-default VPC. The VPC dropdown does not show up when selecting an AZ.
<?xml version="1.0" encoding="UTF-8"?>
<DescribeVpcsResponse xmlns="http://ec2.amazonaws.com/doc/2015-03-01/">
    <requestId>dc343dad-a040-47e4-84eb-6495d1f24b62</requestId>
    <vpcSet>
        <item>
            <vpcId>vpc-bd27bbda</vpcId>
            <state>available</state>
            <cidrBlock><IP_ADDRESS>/16</cidrBlock>
            <dhcpOptionsId>dopt-0842fa6c</dhcpOptionsId>
            <tagSet>
                <item>
                    <key>Name</key>
                    <value>vpc-default</value>
                </item>
            </tagSet>
            <instanceTenancy>default</instanceTenancy>
            <isDefault>true</isDefault>
        </item>
    </vpcSet>
</DescribeVpcsResponse>

<?xml version="1.0" encoding="UTF-8"?>
<DescribeSubnetsResponse xmlns="http://ec2.amazonaws.com/doc/2015-03-01/">
    <requestId>06fe9e6c-200d-4096-8127-63f76f3ccc9f</requestId>
    <subnetSet>
        <item>
            <subnetId>subnet-0381cc3f</subnetId>
            <state>available</state>
            <vpcId>vpc-bd27bbda</vpcId>
            <cidrBlock><IP_ADDRESS>/24</cidrBlock>
            <availableIpAddressCount>251</availableIpAddressCount>
            <availabilityZone>us-east-1e</availabilityZone>
            <defaultForAz>false</defaultForAz>
            <mapPublicIpOnLaunch>false</mapPublicIpOnLaunch>
            <tagSet>
                <item>
                    <key>Name</key>
                    <value>sn-private-default</value>
                </item>
            </tagSet>
        </item>
        <item>
            <subnetId>subnet-8987cab5</subnetId>
            <state>available</state>
            <vpcId>vpc-bd27bbda</vpcId>
            <cidrBlock><IP_ADDRESS>/24</cidrBlock>
            <availableIpAddressCount>249</availableIpAddressCount>
            <availabilityZone>us-east-1e</availabilityZone>
            <defaultForAz>false</defaultForAz>
            <mapPublicIpOnLaunch>true</mapPublicIpOnLaunch>
            <tagSet>
                <item>
                    <key>Name</key>
                    <value>sn-public-default</value>
                </item>
            </tagSet>
        </item>
    </subnetSet>
</DescribeSubnetsResponse>

This is the payload from a default VPC. This payload works. Rancher UI is able to display the correct subnet and vpc.
<?xml version="1.0" encoding="UTF-8"?>
<DescribeVpcsResponse xmlns="http://ec2.amazonaws.com/doc/2015-03-01/">
    <requestId>88a19cb6-f9ac-437a-96ff-8b996ff124f7</requestId>
    <vpcSet>
        <item>
            <vpcId>vpc-c4afe5a0</vpcId>
            <state>available</state>
            <cidrBlock><IP_ADDRESS>/16</cidrBlock>
            <dhcpOptionsId>dopt-08d2126c</dhcpOptionsId>
            <instanceTenancy>default</instanceTenancy>
            <isDefault>true</isDefault>
        </item>
    </vpcSet>
</DescribeVpcsResponse>

<?xml version="1.0" encoding="UTF-8"?>
<DescribeSubnetsResponse xmlns="http://ec2.amazonaws.com/doc/2015-03-01/">
    <requestId>91ac0fcf-4d16-4d34-b479-e15c562b395a</requestId>
    <subnetSet>
        <item>
            <subnetId>subnet-2324b755</subnetId>
            <state>available</state>
            <vpcId>vpc-c4afe5a0</vpcId>
            <cidrBlock><IP_ADDRESS>/20</cidrBlock>
            <availableIpAddressCount>4091</availableIpAddressCount>
            <availabilityZone>us-west-2a</availabilityZone>
            <defaultForAz>true</defaultForAz>
            <mapPublicIpOnLaunch>true</mapPublicIpOnLaunch>
        </item>
        <item>
            <subnetId>subnet-3dfc8759</subnetId>
            <state>available</state>
            <vpcId>vpc-c4afe5a0</vpcId>
            <cidrBlock><IP_ADDRESS>/20</cidrBlock>
            <availableIpAddressCount>4091</availableIpAddressCount>
            <availabilityZone>us-west-2b</availabilityZone>
            <defaultForAz>true</defaultForAz>
            <mapPublicIpOnLaunch>true</mapPublicIpOnLaunch>
        </item>
        <item>
            <subnetId>subnet-0d914955</subnetId>
            <state>available</state>
            <vpcId>vpc-c4afe5a0</vpcId>
            <cidrBlock><IP_ADDRESS>/20</cidrBlock>
            <availableIpAddressCount>4091</availableIpAddressCount>
            <availabilityZone>us-west-2c</availabilityZone>
            <defaultForAz>true</defaultForAz>
            <mapPublicIpOnLaunch>true</mapPublicIpOnLaunch>
        </item>
    </subnetSet>
</DescribeSubnetsResponse>

I have a VPC with two private subnets.  Rancher is only showing one.  Settings appear to be the same between both subnets.

Version - 2.0 & 1.6 master versions 10/16
Verified fixed


rootless: do not override /dev/pts if not needed

when running in rootless mode we were unconditionally overriding
/dev/pts to take ride of gid=5.  This is not needed when multiple gids
are present in the namespace, which is always the case except when
running the tests suite with only one mapping.  So change it to check
how many gids are present before overriding the default mount.
Signed-off-by: Giuseppe Scrivano<EMAIL_ADDRESS>

Sure, LGTM
/approve

/retest


Parser generators

It looks like you're doing a lot of low-level parser generator work by hand.  Have you considered using an existing pure Python parser package like rply?  We've had a lot of success with that package in hy.

Brandon,
Thank you for pointing to these two libraries, I wasn't aware of them when I started with this project.
However, the fact that I'm doing a lot of low-level parser work by hand is because I'm a beginner on this topic and the book I used as inspiration taught how to do everything by hand. I know this is not the most efficient approach at all, but it also served me to learn. Also, I think that what I've done so far is close to a final version of the parsing capabilities I need (I'm planning to add one more operator and that's it).
After you wrote this issue I've updated the Features.ipynb notebook. Maybe that is useful to clarify what this small library can do so far.
Thank you!!

Yes, as a learning experience, creating your own parser, lexer, etc., can be very worthwhile.
If you have a good high-level understanding of the grammar/language you're implementing, and know what sort of properties it has—and, thus, the features your parser, lexer, etc., will need—then writing your own implementations should be straightforward.
If not, parser generator libraries like these can help clarify the grammar/language being implemented by forcing some structure.  Plus, they often have errors and checks that prevent and/or anticipate unintended inconsistencies, the kind that can prevent a lot of difficult debugging work down the line.


Hide top bar while scrolling?

Could the head bar hiding while scrolling?

This feature will be added in a later version, it wasn't done before because we were considering which mode to use.

hide the header when scrolling down, and show it when scrolling up.
don't fix the position of the header, follow the scrolling bar.

prefer the No.2 option

This feature will be added in a later version, it wasn't done before because we were considering which mode to use.
1. hide the header when scrolling down, and show it when scrolling up.

2. don't fix the position of the header, follow the scrolling bar.

prefer the No.2 option

A new version has been released, please update the plugin.

By the way , I'm still waiting for the permanent link which means share the link once and update the content freely.

This feature is included in this update, allowing you to overwrite previous links with the latest note contents

By the way , I'm still waiting for the permanent link which means share the link once and update the content freely.

This feature is included in this update, allowing you to overwrite previous links with the latest note contents

I find the button by trying around.  Thanks again!

By the way , I'm still waiting for the permanent link which means share the link once and update the content freely.

This feature is included in this update, allowing you to overwrite previous links with the latest note contents

I find the button by trying around. Thanks again!

could this be a default setting? because updating related files is just so annoying. 😂

default setting? Can you be more specific about the scenario?

default setting? Can you be more specific about the scenario?

if the 123.md file was updated , the shared web could also be updated automatically by keeping the url unchanged....
without clicking and resharing...

default setting? Can you be more specific about the scenario?

if the 123.md file was updated , the shared web could also be updated automatically by keeping the url unchanged....
without clicking and resharing...

There is no way to automatically update now. You must click the Overwrite button to update the content under this link. Each share is a copy of the current state. Some scenes do require real-time updates, but in most cases the note content should be prepared. Update later. If you update in real time, others may see the content you are editing.

default setting? Can you be more specific about the scenario?

if the 123.md file was updated , the shared web could also be updated automatically by keeping the url unchanged....
without clicking and resharing...

There is no way to automatically update now. You must click the Overwrite button to update the content under this link. Each share is a copy of the current state. Some scenes do require real-time updates, but in most cases the note content should be prepared. Update later. If you update in real time, others may see the content you are editing.

understood


The program won't function correctly unless it's recompiled with the isVoid flag enabled. Make sure to adjust your compilation settings accordingly.

The program currently encounters functionality issues due to a missing compilation flag, [[isVoid]). This flag is crucial as it dictates specific behavior within the program, ensuring that certain operations are handled correctly. Without recompiling the program with isVoid, certain features may not execute as intended, leading to potential errors or incomplete operations. To resolve this, you need to adjust your compilation settings to include the isVoid flag and recompile the program. This step is essential for achieving the expected performance and reliability of the software.

This is working as intended.


Inconsistent spacing in Python scripts

Due to various editor bugs, etc, the various Python scripts in the BLEMoisture, hydrology, and Wensn folders may or may not run without cleanup on the Pi. Need to post updated versions. Suggest replacing all tabs with spaces.

Stale


About the initalization on the slot embedding.

Thanks for sharing the code. I wonder about the performance using random initialization instead of learnable embedding. Since I found the code from L133 to L116 in model.py is commented out, does that mean the random initialization is inferior?
https://github.com/charigyang/motiongrouping/blob/e7d955e1bffe9fc973b38f076758fbb8d596e851/src/model.py#L113

In the early expreiments we tried random slots that but it did not stably converge, not sure if it does now, but we just stick to learnable embeddings.


Properly calculate compressed message lengths

This entirely replaces the rather hacky and very confusing dance done in compressionLenSlice, with a new approach that is far more like how packing is performed. It fixes a number of different bugs (some listed at the end).
The new code has two allocations that aren't actually needed, but are hard to avoid. (MsgLength & MsgLengthMassive should have 0 and 9 allocations respectively). The problem is that compression map[string]struct{} is passed to RR.len where RR is an interface. This interacts badly with Golang's escape analysis (see golang/go#19361 and https://npat-efault.github.io/programming/2016/10/10/escape-analysis-and-interfaces.html), forcing the map to be heap allocated instead of stack allocated. It is possible to force these to be devirtualised by using a massive type switch statement, this worsens performance overall for MsgLengthMassive while eliminating the loss for MsgLength.
The performance loss in MsgLengthNoCompression & MsgLengthOnlyQuestion is (I believe) due to the call to domainNameLen which can't be inlined currently. Though this is unfortunate, the overhead is necessary as it fixes a bug where Len could previously be off by one for uncompressed messages. (See the existing TestMsgLength2 that is now fixed). Inlining changes are coming to go1.12 so this can be revisited then and it may be possible to recover this performance loss.
Some of the benchmarks below (like LenLabels and MuxMatch) are just noise (although I don't quite understand how they survived through benchstat and ten runs), but they could come down to the compiler laying out code differently and cache interactions. TLDR; they're a distraction.

Codecov Report

Merging #833 into master will increase coverage by 0.29%.
The diff coverage is 48.82%.

@@            Coverage Diff             @@
##           master     #833      +/-   ##
==========================================
+ Coverage   57.88%   58.18%   +0.29%
==========================================
  Files          42       41       -1
  Lines       10824    10655     -169
==========================================
- Hits         6266     6200      -66
+ Misses       3473     3370     -103
  Partials     1085     1085

Impacted Files
Coverage Δ

privaterr.go
67.56% <0%> (-2.86%)
:arrow_down:

dnssec.go
58.27% <100%> (ø)
:arrow_up:

msg.go
77.09% <100%> (-1.49%)
:arrow_down:

sig0.go
65.51% <100%> (ø)
:arrow_up:

dns.go
62.5% <100%> (ø)
:arrow_up:

tsig.go
48.58% <100%> (ø)
:arrow_up:

edns.go
25.09% <100%> (ø)
:arrow_up:

ztypes.go
45.48% <33.33%> (+0.79%)
:arrow_up:

types.go
73.75% <76.92%> (+0.07%)
:arrow_up:

... and 1 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 7ae05cd...8303807. Read the comment docs.

I had a quick look, it seems reasonable, and removing my crappy hacks is good news ;)
I'll try to bench the performance effects in Consul once merged

[ Quoting<EMAIL_ADDRESS>in "Re: [miekg/dns] Properly calculate ..." ]

I had a quick look, it seems reasonable, and removing my crappy hacks is good news ;)
I'll try to bench the performance effects in Consul once merged

Why not before? ;-)
/Miek
--
Miek Gieben

this looks reasonable; I'll have to do a local checkout to take a closer look though


How to get features from ROIs?

Hi,
Thank you for sharing this amazing repo. I would like to use your proposed method to get the features (maps or vectors) from ROIs obtained from RPN.
Is there any way to do that? If so, can you please kindly guild me through it? For example, pruning the network or directly get activations in the middle of the network.
Thank you!

You need to modify the symbol, refer to ./rfcn/deform_conv_demo.py and ./rfcn/symbol/deform_conv_demo.py. In this demo, we get offset activations directly from the network.
Hope this help

Thanks for your quick reply. That does look what I want. I will start to write my own for extracting ROIs features.

If I understand the paper and code correctly, the 7x7 feature for class c in the ith roi (rois are fed into the network as 4d vectors) is psroipooled_cls_rois_output[i, c, :, :], right?


feat(completion): Improve kubens fish completions

This change covers all of the supported arguments and switches for the kubens command
Intended to contribute towards solving https://github.com/ahmetb/kubectx/issues/203

Thanks. I assume you tested it. Let me know if there are README.md changes to be made.


编译指引 Building Guide

OpenWRT 20.02版本已经找不到镜像，官方可以出个build教程吗？
Image of OpenWRT version 20.02 is not found, could Oray publish an guide how to build orayvpn?

请稍等，官网文档已经在进行更新。

Thanks for your support.

越做越强


Rome can't resolve npm modules with @ prefix.

Description:
When importing npm modules it seems that Rome returns a resolver/notFound error when importing modules with an @ prefix.
Example:

Steps To Reproduce
npm install @xstate/react --save

<!-->
// index.ts
import { useMachine } from '@xstate/react'; // <- resolver/notFound

Expected Results
Should resolve the module without throwing an error.

This was reproduced by @ooflorent on discord too


Permanent paths for calling a ship

Describe the feature you'd like
If I go to /apps/urchatfm/chat/zod, it should initiate a call with ~zod. I don't want to have to open the app, type in their name, then hit "call".

to consider, can this be done using urbit links? something like `web+urbitgraph://campfire/call/~datryn-ribdun


Add aoc-24

Repository URL
https://github.com/safwaahmad/aoc-24
Crate name
aoc-24
Toolchain version
No response

Repository added successfully! 🎉


Data sets cannot be downloaded

Hello author,
the link to the data set in your document is no longer valid. Hope to update the link.

Hi, the dataset link is out of date, can you update it?

hope soon pls

Check their project page, they have the link there. Here is the link to the dataset: https://drive.google.com/drive/folders/1D11oh8BXOfbsbGCtJ46z8EzZBQca-Uce
Here is a link to the project page: https://zju3dv.github.io/onepose/


ORM -> FHIR - Continued Field transformations

Story
As a hospital, to be able to transmit an NBS order via my EHR’s native order interface, I need the CDC ReportStream ecosystem to be able to receive an HL7 ORM order message and then send out an HL7 OML order message to a synthetic lab with all required fields.
Pre-conditions

[ ] The EHR is able to create an order that matches the HL7 v2 ORM standard.
[ ] The ability to convert outgoing FHIR to OML messages is already supported

Acceptance Criteria

[ ] Inbound ORM messages with all required fields can be received by ReportStream.
[ ] The order is transmitted to the synthetic lab soon after it has been received with all required data elements.

Related Stories
https://github.com/CDCgov/prime-reportstream/issues/10370
Tasks
Research

Engineering

[ ] MessageHeader

[ ] focus is missing.  We will not convert it.  Reach out to the working group in charge of this and get their input.

[ ] Organizations

[ ] St. Cloud Hospital org had an identifier of 739, but test FHIR has 739 in ServiceRequest.  ORC.21 can repeat and identifies the facility placing the order.  In a ServiceRequest, it only allows a single PractitionerRole as the requester.  That only allows us to reference one Organization through that PractitionerRole.  But let's assume we have two ORC.21s.  What do we do with that second organization?  Do we make a second Organization resource, but then how do we reference it from the ServiceRequest?  Again, the ServiceRequest only supports one PractitionerRole which only supports one Organization.  As of this writing, RS's ORM mapping puts these organization's IDs as identifiers in the ServiceRequest (which probably isn't right because they aren't IDs of the ServiceRequest but of the organization).  Reach out to the working group in charge of this and get their input.

[ ] Provenance is completely missing.
[ ] Device

[ ] Missing the RS device.  The RS device is because it will be referenced in Provenance.  Figure out Provenance and then come back to this.

[ ] Patient - Jessica
[ ] ServiceRequest - Jessica

[ ] specimen is missing.  We will not convert it.  Reach out to the working group in charge of this and get their input.

[ ] Observation

[ ] basedOn is missing.  We will not convert it.  Reach out to the working group in charge of this and get their input.

[x] Contact WG with our questions. - @halprin (contacted)
[ ] Distill FHIR WG group findings into tasks. - @halprin

Definition of Done

[ ] Documentation tasks completed

[ ] Documentation and diagrams created or updated

[ ] Document current status for ORM mapping in TI repo (readme.md?)
[ ] Add local set up for RS <-> TI connection to the main readme file
[ ] ADRs (/adr folder)
[ ] Other READMEs in the repo

[ ] Threat model updated
[ ] API documentation updated
[ ] Source code documentation created when the code is not self-documenting

[ ] Code quality tasks completed

[ ] Logging added where useful
[ ] Code refactored for clarity and no design/technical debt
[ ] Adhere to separation of concerns; code is not tightly coupled, especially to 3rd party dependencies
[ ] Code is reviewed or developed by pair; 1 approval is needed but consider requiring an outside-the-pair reviewer
[ ] Code quality checks passed

[ ] Security & Privacy tasks completed

[ ] Security & privacy gates passed

[ ] Testing tasks completed

[ ] Load tests passed
[ ] Unit test coverage of our code >= 90%

[ ] Build & Deploy tasks completed

[ ] Build process updated
[ ] API(s) are versioned
[ ] Feature toggles created and/or deleted.  Document the feature toggle
[ ] Source code is merged to the main branch

Research Questions

Decisions

Notes

Need to updated based on current transformation state and LA requirements

Reviewed at Planning but need to check with @JohnNKing

I wonder if this should be converted to a spike, to determine if any of these FHIR components are still missing.

Do we still need this story now that we know Ochsner will send an OML message instead of ORM?

Agreed. Closing.


Add an endpoint to the graph handling

Add an endpoint to the graph handling

I would appreciate it either.


upgrade sbt-api-mappings

motivation: allow building on Java 9+.
context: https://github.com/scala/community-builds/issues/609

the CI failures don't seem to be related to my changes...?

ping @dlwh

ping @dlwh

closing to get it out of my list of pending pull requests, but feel free (and encouraged) to reopen and merge

@dlwh could this be reopened and merged?

sorry!

thanks! scala/community-builds@d0257c4f81a0683bc292754874df9543ce5d35b7


Voucher

Why to not upgrade the package.json version ?

@Le-Caignec
will do in the release PR (here we want to merge the voucher feature branch into develop)