Adding the message_type field, the new message types and the health command

Hi Miroslav,
The structure of all of these looks fine and matches what we agreed and what the markdown documentation says.
I just have a couple of suggestions/comments.
1. The descriptions for timestamps in the schemas
Currently their descriptions are:
"Timestamp that indicates when the message was created"
or
"Timestamp taken from the health command
Should we attempt to follow the description in the IS-05 schema description which mentions:
"String formatted TAI timestamp (:) indicating ..."
So the above would be turned into:
"String formatted TAI timestamp (:) indicating when the message was created"
and
"String formatted TAI timestamp (:) copied form the incoming health command"
We could do this across the board to all timestamp descriptions in the schemas.
2. The description of the source_if field in the schemas for message types which are not "state"
Currently the description is:
"ID of the source that holds the state that has changed"
However, we kind of mentioned that only the "state" message types contain actual changes to the state. I'm just wondering if this is going to create confusion.
Should we maybe say something like:
"ID of the source which identifies the emitter of the event"
That's all from me.
Thank you for your contribution!

Hi Miroslav,
The structure of all of these looks fine and matches what we agreed and what the markdown documentation says.
I just have a couple of suggestions/comments.
1. The descriptions for timestamps in the schemas
Currently their descriptions are:
"Timestamp that indicates when the message was created"
or
"Timestamp taken from the health command
Should we attempt to follow the description in the IS-05 schema description which mentions:
"String formatted TAI timestamp (:) indicating ..."
So the above would be turned into:
"String formatted TAI timestamp (:) indicating when the message was created"
and
"String formatted TAI timestamp (:) copied form the incoming health command"
We could do this across the board to all timestamp descriptions in the schemas.
2. The description of the source_if field in the schemas for message types which are not "state"
Currently the description is:
"ID of the source that holds the state that has changed"
However, we kind of mentioned that only the "state" message types contain actual changes to the state. I'm just wondering if this is going to create confusion.
Should we maybe say something like:
"ID of the source which identifies the emitter of the event"
That's all from me.
Thank you for your contribution!

Hi Miroslav,
The structure of all of these looks fine and matches what we agreed and what the markdown documentation says.
I just have a couple of suggestions/comments.
1. The descriptions for timestamps in the schemas
Currently their descriptions are:
"Timestamp that indicates when the message was created"
or
"Timestamp taken from the health command
Should we attempt to follow the description in the IS-05 schema description which mentions:
"String formatted TAI timestamp (:) indicating ..."
So the above would be turned into:
"String formatted TAI timestamp (:) indicating when the message was created"
and
"String formatted TAI timestamp (:) copied form the incoming health command"
We could do this across the board to all timestamp descriptions in the schemas.
2. The description of the source_if field in the schemas for message types which are not "state"
Currently the description is:
"ID of the source that holds the state that has changed"
However, we kind of mentioned that only the "state" message types contain actual changes to the state. I'm just wondering if this is going to create confusion.
Should we maybe say something like:
"ID of the source which identifies the emitter of the event"
That's all from me.
Thank you for your contribution!

Hi Miroslav,
The structure of all of these looks fine and matches what we agreed and what the markdown documentation says.
I just have a couple of suggestions/comments.
1. The descriptions for timestamps in the schemas
Currently their descriptions are:
"Timestamp that indicates when the message was created"
or
"Timestamp taken from the health command
Should we attempt to follow the description in the IS-05 schema description which mentions:
"String formatted TAI timestamp (:) indicating ..."
So the above would be turned into:
"String formatted TAI timestamp (:) indicating when the message was created"
and
"String formatted TAI timestamp (:) copied form the incoming health command"
We could do this across the board to all timestamp descriptions in the schemas.
2. The description of the source_if field in the schemas for message types which are not "state"
Currently the description is:
"ID of the source that holds the state that has changed"
However, we kind of mentioned that only the "state" message types contain actual changes to the state. I'm just wondering if this is going to create confusion.
Should we maybe say something like:
"ID of the source which identifies the emitter of the event"
That's all from me.
Thank you for your contribution!


Performance fall after benchmark by queryperf

Hello, I new to github ,also new to go ... I am now using skydns,etcd to do service discovery.
After I wrote my SDAgent for update DNS records. I need to know the performance of SKYDNS.
I run etcd on  3 VM(8G mem, 2*CPU) , and SKYDNS on one of them( could it be a problem?)
I got the test result here ,and occur a strange problem.
These are my test results:

I see issues #74  and  there are big differences. even can't got 10K qps
And I came with the performance fall problem, when I start SKYDNS with ttl=0 ,rcache=100,rcache_ttl =5 ,use queryperf do 1000000 Records benchmark serveral times. It work well at beginning,about 5K qps, then it's became with QPS:300-600 . just like the rcache is gone (I guess). So I hope u can tell me, if there is a bug with rcache, or  something wrong with the configure of SKYDNS in my way ?
 Really thank you for your SKYDNS, good job!
My SKYDNS start script:
curl -XPUT http://<IP_ADDRESS>:2379/v2/keys/skydns/config -d value='{"ttl":0,"rcache":100,"rcache-ttl":5}'
sleep 3
export ETCD_MACHINES='http://<IP_ADDRESS>:2379,http://<IP_ADDRESS>:2379,http://<IP_ADDRESS>:2379'
export SKYDNS_ADDR='<IP_ADDRESS>:53'
export SKYDNS_DOMAIN='.'
nohup ./skydns &
queryperf cmd:
./queryperf -d DNSRecords_1000000 -s <IP_ADDRESS>
./queryperf -d DNSRecords_100000 -s <IP_ADDRESS>
./queryperf -d DNSRecords_10000 -s <IP_ADDRESS>

Thanks for doing this. I would also appreciate seeing a good profile to see where SkyDNS spends its time.
Regarding the run above:

What's in the DNSRecords_xxx files? What names are you asking?
The drop in performance is weird, my first guess (as in #74) would be GC, but of course there can also be a race in the cache not being refreshed or something like that...

I run my sdagent to update 21 services interval, In file DNSRecords_XXX means XXX lines of DNS records for test (repeats of 21 services).  I run it in my VM with much processes on .So I will try to do the same test in a much pure env. If this happened again , I will try to get profile of it.


Use AppData\Roaming folder instead of ProgramData as default Data Location

Pros:

No mess with access permissions
No warning about ProgramData if running as admin
No space use of C: drive if users folder moved to another drive

Cons:

Data will not be shared between multiple users on same system

Or maybe we should use %user%/.faforever as on linux?

Users can change the data location to whatever folder they want in settings.
Also folders under the user directory are specifically avoided as default locations because not all characters play nicely with SCFA. Moving the default to under the User path would cause more start up headaches for players who have Cyrillic characters in their username.
Also some older mods expect some data to be in program data so it works for backwards compatibility.

@Sheikah45
Seems reasonable. I guess my setup is somehow rare (disabled UAC, users folder on separate drive).
Ok, maybe I should consider to maintain those changes only in fork.
Thank you for the clarification.


Call to undefined method Illuminate\Foundation\Application::share()

It's an issue with Laravel 5.4, downgrade to 5.3 then it will be solved...

This worked for me:
"require": {
"anouar/paypalpayment": "~2.0"
}


Bug: Data directory is already used by another cluster with id "cbe8cac7-e873-461b-85c6-df8d8604600b", path hummock_001/cluster_id/0.)

Describe the bug
Error Message: Data directory is already used by another cluster with id "cbe8cac7-e873-461b-85c6-df8d8604600b", path hummock_001/cluster_id/0.).
This is seen when upgrading a cluster from v1.9 to the latest main, via risedev.
Error message/log
called `Result::unwrap()` on an `Err` value: ObjectStore(Internal error: Data directory is already used by another cluster with id "cbe8cac7-e873-461b-85c6-df8d8604600b", path hummock_001/cluster_id/0.)
stack backtrace:
   0: rust_begin_unwind
             at /rustc/4a0cc881dcc4d800f10672747f61a94377ff6662/library/std/src/panicking.rs:645:5
   1: core::panicking::panic_fmt
             at /rustc/4a0cc881dcc4d800f10672747f61a94377ff6662/library/core/src/panicking.rs:72:14
   2: core::result::unwrap_failed
             at /rustc/4a0cc881dcc4d800f10672747f61a94377ff6662/library/core/src/result.rs:1654:5
   3: unwrap<alloc::sync::Arc<risingwave_meta::hummock::manager::HummockManager, alloc::alloc::Global>, risingwave_meta::hummock::error::Error>
             at /rustc/4a0cc881dcc4d800f10672747f61a94377ff6662/library/core/src/result.rs:1077:23
   4: {async_fn#0}
             at ./src/meta/node/src/server.rs:480:27
   5: {async_block#1}
             at ./src/meta/node/src/server.rs:336:10

To Reproduce
No response
Expected behavior
No response
How did you deploy RisingWave?
No response
The version of RisingWave
No response
Additional context
No response

https://buildkite.com/risingwavelabs/main-cron/builds/2514#018f8c6f-be59-4922-a264-6d4de23cd5ae


[PC Copilot] Add RQL Examples

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

Before: https://main--prisma-cloud-docs--hlxsites.hlx.page/
After: https://--prisma-cloud-docs--hlxsites.hlx.page/
Worker: https://prisma-cloud-docs-production.adobeaem.workers.dev/?branch=

Verified by PM on Slack


Development work for Home page

This is a placeholder for the development work that will take place this quarter. Issues will be built out once designs and content are done.

Here's the final copy/design for the new home page.

Components

Header (h1)
Paragraph (p)
Button (primary-button)
Nav height


how to split the deeplab-resnet model to multiple opus

Hi,
I have 2 gpus with 8G for each, I tried to allocate some layers to gpu 0 and the others to gpu1. But got the following errors. I don't see weights initialization for Bottleneck module. Could you please tell me how to assign the weights to a certain gpu for Bottlenecl? Thanks!
File "CLAN_train.py", line 312, in main
pred_source1, pred_source2 = model(images_s)
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 547, in call
result = self.forward(*input, **kwargs)
File "/media/hw/ychen245/ying-projects/fall2019_research/week2/CLAN-master/model/CLAN_G.py", line 182, in forward
x = self.layer3(x.to(1))
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 547, in call
result = self.forward(*input, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/container.py", line 92, in forward
input = module(input)
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 547, in call
result = self.forward(*input, **kwargs)
File "/media/hw/ychen245/ying-projects/fall2019_research/week2/CLAN-master/model/CLAN_G.py", line 89, in forward
out = self.conv1(x)
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 547, in call
result = self.forward(*input, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/conv.py", line 343, in forward
return self.conv2d_forward(input, self.weight)
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/conv.py", line 340, in conv2d_forward
self.padding, self.dilation, self.groups)
RuntimeError: Expected tensor for argument #1 'input' to have the same device as tensor for argument #2 'weight'; but device 1 does not equal 0 (while checking arguments for cudnn_convolution)

This code runs only on single GPU. I think it is entirely possible to run it on multigpu but currently we may not release new version to deal with it. For your own dataset, you can adapt the dataloader to your own data structure.


Option to disable CopyWith generation

is there abitily to disable CopyWith methods generation to reduce generation time?

Thanks for reaching out @sigis151 - before we consider this, I would like to understand your setup better. What kind of generation times are you seeing and how many GraphQL files are you generating?

Hi,
we have around ±100 different queries in the project and it can take up to a minute to rebuild (dart run build_runner build --delete-conflicting-outputs) all generated files, and as we re-map all gql responses to our own domain classes I don't see any real need for copy methods that are generated :)

I've added the disableCopyWithGeneration. Setting this to true will disable copy-with generation.

Those should be added back again in 1.0.1.

Thanks, about 100k lines of generated Dart code removed!


Terminal window closing immediately

I was just editing some code when my terminal window suddenly disappeared. I tried View|Terminal. The terminal window appeared very briefly then closed again immediately. I closed VSCode and started it up again. Still no terminal window and View|Terminal behavior is the same as before. So I checked my $SHELL and it points to /bin/bash, the default. So I updated VSCode to the latest version. Still no terminal window.
I am wondering if I hit a strange key combination by accident while editing. Surely no key combination would cause this behavior by design!
VSCode version: July 2021 (version 1.59)
Patch: Update 1.59.1

Please see this info on launch failures https://code.visualstudio.com/docs/supporting/troubleshoot-terminal-launch

I had already seen these troubleshooting steps and tried all of those things before opening this ticket.
I did eventually figure out what happened though, and I still consider this to be a bug. It is possible to minimize the window containing the Terminal, Output etc down onto the bottom toolbar - I have not yet figured out the key combination that does this, but my fingers must have found it by accident. After you do this, the terminal window will pop up very briefly when you try tp open it. The solution is to click on the minimized window on the bottom toolbar, which brings the window back into its usual position.


addmailuser should restart mailserver if it exited due to 0 accounts

If no accounts were found in config/postfix-accounts.cf, and LDAP is disabled, the dovecot daemon would complain that no accounts were found, and in turn, the mailserver would exit.
Context

I am adding email users programmatically. When doing so, I've added a workaround to restart the postfix if it exited.
What is affected by this bug?
Services that extends docker-mailserver, not CLI users.
When does this occur?
When docker-mailserver is deployed with no postfix accounts.
How do we replicate the issue?

Deploy docker-mailserver without postfix accounts. From the logs, notice that Dovecot complained about lack of email accounts.
Add an email account using addmailuser. Notice how /tmp/docker-mailserver/postfix-accounts.cf gets updated, but not /etc/postfix/vmailbox

Actual Behavior
SMTP server still down, despite adding an account.
Expected behavior (i.e. solution)
SMTP server should be up.

I see what you're up to. This is, technically speaking, expected behavior, not a bug - but of course, with what you're doing, it is a problem. I too think this could and should be handled. Please provide an implementation for the file target/bin/addmailuser and a PR so we can review it. I think this should then be merged quickly.

Note that there are some difficulties here. For SMTP only, there may never be any users and the server should start. For LDAP there may not be any users in the file and the server should start. There may be other cases that I have missed. Finally, how long did you wait? In theory the change detector script should detect that a user was added and restart Postfix. If it doesn't then that should be fixed!

Note that there are some difficulties here. For SMTP only, there may never be any users and the server should start. For LDAP there may not be any users in the file and the server should start. There may be other cases that I have missed. Finally, how long did you wait? In theory the change detector script should detect that a user was added and restart Postfix. If it doesn't then that should be fixed!

I did not use SMTP only, I waited for at least a minute or two -- at some point I've waited for some amount of time after realizing that the script did not start postfix.
Please give me some time to recheck, and submit a PR if need be.

I did not use SMTP only, I waited for at least a minute or two -- at some point I've waited for some amount of time after realizing that the script did not start postfix.
Please give me some time to recheck, and submit a PR if need be.

We migrated to docker-mailserver/docker-mailserver. Please see if your issue persists and check whether check-for-changes.sh restarts your server or maybe any other script. For PRs, if you've found something wrong, please open the PR in the new repository too.

We migrated to docker-mailserver/docker-mailserver. Please see if your issue persists and check whether check-for-changes.sh restarts your server or maybe any other script. For PRs, if you've found something wrong, please open the PR in the new repository too.


[ClickAwayListener] Fix support for portal

Closes #18586

[x] I have followed (at least) the PR section of the contributing guide.

I could've also added the below test for completeness, but not sure if there's any value:
it('should be called when clicking away and `disableReactTree` is `true`', () => {
  const handleClickAway = spy();
  render(
  <ClickAwayListener onClickAway={handleClickAway} disableReactTree>
      <span />
  </ClickAwayListener>,
  );

  fireEvent.click(document.body);
  expect(handleClickAway.callCount).to.equal(1);
  expect(handleClickAway.args[0].length).to.equal(1);
});

Another opportunity:
// Inline this into the effect and remove useCallback
const handleTouchMove = React.useCallback(() => {
  movedRef.current = true;
}, []);

Another opportunity:

Sure, happy to go for it too. Let's get this figure down 😈
ClickAwayListener: {
  parsed: 3839,
  gzip: 1540
},

https://material-ui.com/size-snapshot. I wish we can go further below: https://bundlephobia.com/result?p=react-onclickoutside.

DM'ed you on Twitter but you prob haven't checked. I can implement these changes myself but I've stopped touching the branch to avoid conflicts for either of us.

Basically, I want to go after https://github.com/Hacker0x01/react-datepicker/blob/efffb475290b41793f9bccbf09a8a0304975951f/package.json#L116, selling 1. smaller bundle size 2. safe long term bet, 3. written in hooks, 4. better documented, 5. fewer bugs.

It might be slightly trickier to move to hooks due to us using cloneElement and intercepting user provided ref and onClick but I guess we could

take them as arguments

const clickAwayProps = useClickAway({ onClick })
<div {...clickAwayProps}/>

or tell consumers to wire up the return value themselves (awkward API)..

take them as arguments

It sounds great

It sounds like a great option but what problem would a hook API solve?

point 3 in your comment above 😆

point 3 in your comment above 😆

Well, the core is written in hooks, this was a positive argument. Does it need to leak to the API level?

written

My bad, I misread.

In https://github.com/mui-org/material-ui/issues/18689#issuecomment-562113793, the author mentions easier composition as an argument for a hook API. I'm not sure I buy into it.

@NMinhNguyen Great work!


Add ability to bind to NATS JetStream by stream name.

Describe the feature
Currently, users of DAPR binding can subscribe to a stream only by looking up stream by matching subject.
I would like to add a config option to lookup stream by its name and then using it when calling Subscribe.
This is often simpler and more explicit and will additionaly allow fixing #2145 when user do not pass additional filter subject to the Consumer.
Let me know if you're ok with such approach, then I'll proceed with implementation.
Release Note

RELEASE NOTE:

Could you give an example of what the code would would look like?
Eg, would the topic then be the stream name?
@app.subscribe(pubsub_name='order-pub-sub', topic='orders')
def mytopic(event: v1.Event) -> None:
    data = json.loads(event.Data())
    logging.info('Subscriber received: ' + str(data))

Or do you mean the handlers would still discriminate on topic name, but the Component would force a particular stream?

I was rather thinking of adding a new option to the Component config for NATS JetStream PubSub.

@Jarema will you be working on this?

I was rather thinking of adding a new option to the Component config for NATS JetStream PubSub.

So that was solved in #1114 right?
Is it still possible to then write different handlers to filter the subject (topic in Dapr) like in my example above?


Undefined Offset error in browser display

     I have implemented browser.php on my project for tracking browsers and platform.When I check my browser  it will display all the browser name except

Google Chrome. It displays following error
Undefined offset: 1 in D:\wamp\www\tracker202\assert\Browser.php on line 647.
please help me how to resolve these error?

Hi @srajas02 - sorry this is VERY old but this is fixed now


Mathematics

So the data we have is as follows:
23 categorical variables,
24 ordinal variables,
19 continuous variables,
13 discrete (numerical) variables
79 in total
and 1 dependent variable (house price)

I'm fairly happy with everything but the ordinal variables, I found a good paper about it but has anyone built regression models with ordinal variables before?
What I'm thinking as a starter for 10 (ignoring the ordinal issue for the moment),
Binarize the categorical variables, see if any of our variables are highly correlated and remove them, then perform some kind of feature selection regression (lasso and ridge regression seem like a good start).

For now can't we just order then equally spaced? for example good, neutral and bad would become 1,2 and 3. Ordering them in a clever way would be another modelling problem which could be useful to solve but probably best not doing for now. What are your thoughts?


plexRaw: <IP_ADDRESS>79-424562606 -> <IP_ADDRESS>97-e5987a19d

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for plexRaw is: Media library streaming server
meta.homepage for plexRaw is: https://plex.tv/
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found <IP_ADDRESS>54-f36c552fd with grep in /nix/store/8xr3d247jm3s827hz935h2iqhkklz8fl-plexmediaserver-<IP_ADDRESS>54-f36c552fd
found <IP_ADDRESS>54-f36c552fd in filename of file in /nix/store/8xr3d247jm3s827hz935h2iqhkklz8fl-plexmediaserver-<IP_ADDRESS>54-f36c552fd

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath

plex
plexRaw

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/8xr3d247jm3s827hz935h2iqhkklz8fl-plexmediaserver-<IP_ADDRESS>54-f36c552fd \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A plexRaw https://github.com/r-ryantm/nixpkgs/archive/605cf5373687e473026cc5f2a2804049c5ac3111.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/605cf5373687e473026cc5f2a2804049c5ac3111#plexRaw

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/8xr3d247jm3s827hz935h2iqhkklz8fl-plexmediaserver-<IP_ADDRESS>54-f36c552fd
ls -la /nix/store/8xr3d247jm3s827hz935h2iqhkklz8fl-plexmediaserver-<IP_ADDRESS>54-f36c552fd/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

3 packages built:

plex
plexRaw
plexRaw.basedb

Maintainer pings
cc @badmutex @Forkk @LnL7 @pjones @thoughtpolice @MayNiklas for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

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

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for plexRaw is: Media library streaming server
meta.homepage for plexRaw is: https://plex.tv/
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found <IP_ADDRESS>97-e5987a19d with grep in /nix/store/hikana2d636nzsgv41z406nz6dvjscfp-plexmediaserver-<IP_ADDRESS>97-e5987a19d
found <IP_ADDRESS>97-e5987a19d in filename of file in /nix/store/hikana2d636nzsgv41z406nz6dvjscfp-plexmediaserver-<IP_ADDRESS>97-e5987a19d

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath

plex
plexRaw

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/hikana2d636nzsgv41z406nz6dvjscfp-plexmediaserver-<IP_ADDRESS>97-e5987a19d \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A plexRaw https://github.com/r-ryantm/nixpkgs/archive/86296a6c37ac479018ca5fc6f5d7c63a3ddfbc18.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/86296a6c37ac479018ca5fc6f5d7c63a3ddfbc18#plexRaw

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/hikana2d636nzsgv41z406nz6dvjscfp-plexmediaserver-<IP_ADDRESS>97-e5987a19d
ls -la /nix/store/hikana2d636nzsgv41z406nz6dvjscfp-plexmediaserver-<IP_ADDRESS>97-e5987a19d/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

3 packages built:

plex
plexRaw
plexRaw.basedb

Maintainer pings
cc @badmutex @Forkk @LnL7 @pjones @thoughtpolice @MayNiklas for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

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


Batch size in config not used

The batch size in config.py is not used for anything (instead it used the -b option).
This confused me initially. Maybe it could change the default value.

Yes, I put it to train.py to help modify the parameter easily.


Support all regions in scale property of now.json

This works:
{
"scale": {
    "bru1": {
      "min": 1,
      "max": "auto"
    },
    "sfo1": {
      "min": 1,
      "max": "auto"
    }
  }
}

This throws an error:
{
"scale": {
    "all": {
      "min": 1,
      "max": "auto"
    }
  }
}

I would love to tell all regions to scale like you can with the CLI argument. However, this is the error it shows:
$ now
> Deploying ~/poster.tube under seejamescode
> Error! An unexpected error occurred!
  Error: You have the following errors inside `now.json` [{"keyword":"additionalProperties","dataPath":".scale","schemaPath":"#/properties/scale/additionalProperties","params":{"additionalProperty":"all"},"message":"should NOT have additional properties"}]
    at validateNowJson (/snapshot/repo/dist/now.js:17785:17)
    at readMetaData (/snapshot/repo/dist/now.js:17645:5)
    at <anonymous> Error: You have the following errors inside `now.json` [{"keyword":"additionalProperties","dataPath":".scale","schemaPath":"#/properties/scale/additionalProperties","params":{"additionalProperty":"all"},"message":"should NOT have additional properties"}]
    at validateNowJson (/snapshot/repo/dist/now.js:17785:17)
    at readMetaData (/snapshot/repo/dist/now.js:17645:5)
    at <anonymous>
error Command failed with exit code 1.

Thank you so much for the effort you have put into this issue! 😊
However, since we completely re-worked the entire codebase of Now CLI and this issue does not apply to the new code anymore, I'm closing it now.
You can read more about our biggest release yet here: https://zeit.co/blog/now-2


⚠ API - Lens has degraded performance

In 5a7d1e1, API - Lens ($LENS_API_URL) experienced degraded performance:

HTTP code: 503
Response time: 335 ms

Resolved: API - Lens performance has improved in 44ace5d after 8 minutes.


Hydrogen 1.0.0 installation fails on openSUSE Leap 42.1

The new Hydrogen 1.0.0 both upgrade and clean install fail when run from inside Atom or on a command line with identical errors (see full installation trace below). The issue seems to be that the temporary location /tmp/apm-install-dir-.... created for zeromq build is removed by the apm before it has a chance to use it.
Thank you,
-Azary
hydrogen-install.log.zip

Since 1.0 we bundle zeromq which should make installation easier.
This is really strange. It seems like to be a problem with apm. I don't know why they are using temporary directories during the install.

Please let me know if I can help debug the issue. Unfortunately I'm rather new to JavaScript, Node and Atom. I have a newer instance of Node installed on the system, it did not interfere with Atom installation/upgrade before. Judging by description the #506 and #507 are the same.
Thank you,
-Azary

@asmotrich Your Node installation shouldn't interfere with Atom since it uses its bundled version.
It would be great if you post a issue on the atom/atom repo.

I'm going to close this and move the discussion to https://github.com/nteract/hydrogen/issues/507#issuecomment-261615483


What is meant by "approximate" ... search in readme?

... library for exact or approximate multi-pattern string search ...

I'm curious what is meant in the first line of the readme with "approximate"? I cannot find any functions...

@kootenpv It means one can use wildcard during search in dictionary. So you may lookup for "?at" and get "cat", "rat", "bat", etc.

@WojciechMula Oh cool, I couldn't find anything about it. Has there been anything written on it? And does it mean that ??at also works?
Is there a way to escape ??

@kootenpv It is described in the documentation :) https://github.com/WojciechMula/pyahocorasick#automaton-dictionary-like-methods

@kootenpv feel free to ask further question. Please reopen this issue or create new one, if required.

Thanks, it is very clear!


must change password on first boot

As shown in the figure below, after the first initialization is completed, the password must be changed，but I have configured first_logon_behaviour=no in cloudbase-init.conf & cloudbase-init-unattend.conf.

The first text box is the admin_pass value set in meta_data.json, the second text box is the new password to be configured, and the third text box is to confirm the new password.

Can someone help me please？
Thank you.

Hello @andia10240,
How did you solve the issue, for further reference?
Thank you.

Problem still exists，I reopen it now.
my cloudbase-init.conf：

cloudbase-init-unattend.conf:

The configuration files look good.
To debug the problem, can you please provide the logs located at C:\program files\Cloudbase Solutions\Cloudbase-init\log ?
Also, can you share what Windows version are you using and how you created the image? did you use https://github.com/cloudbase/windows-openstack-imaging-tools ?
Thanks.

Cloudbase-init version: 1.1.0 offical
Windows version: Windows server 2016 standard
logfile:
cloudbase-init.log
cloudbase-init-unattend.log

I didn't choose "Run cloudbase-init service as LocalSystem",and I didn't select "serial port of logging".

From the logs, I saw there is a problem when cloudbase-init service runs under cloudbase-init user.
A fast resolution would be to enable "Run cloudbase-init service as LocalSystem". The difference between running cloudbase-init as LocalSystem or as a dedicated user is that when running under dedicated user, userdata scripts can be used to impersonate other users - similar to su on Linux (useful when automating exchange or sharepoint installs).
The kind of error that showed up in the logs can happen on baremetal servers where some Windows APIs are not available in the early boot process leading to error:
cloudbaseinit.exception.WindowsCloudbaseInitException: Cannot load user profile:
A proper solution might be to add a retry to the user load profile (will make a patch for it).
Thank you,
Adrian Vladu

If I enable "Run cloudbase-init service as LocalSystem"，windows system cannot boot.So I disable it.
Error msg: "The Computer restart unexpectly on encountered an unexpected error.Windows installation cannot proceed...."

Will "Run cloudbase-init service as LocalSystem" options affect change password on first boot?
Thank you.

Hi, @ader1990  I add plugins=cloudbaseinit.plugins.common.setuserpassword.SetUserPasswordPlugin in cloudbase-init-unattend.conf for early execution. But when the system is fully booted up successfully, the password is incorrect when logging in with the set password. In cloudbase-init-unattend.log, shows Password succesfully updated for user Administrator,In cloudbase-init.log, shows Plugin 'SetUserPasswordPlugin' execution already done, skipping _exec_plugin C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\init.py.
I can't understand.Can you help me? Thank you.

The problem is solved. Password is changed by CreateUserPlugin, which use random password. So I add CreateUserPlugin in cloudbase-init-unattend.conf.It works fine. My cloudbase-init-unattend.conf as shown below.

Thank you for your help. @ader1990

enable "Run cloudbase-init service as LocalSystem"

Enabling "Run cloudbase-init service as LocalSystem" should not interfere or provoke the problem you have. Are you sure you created the Windows image correctly?
If you get that error, press Shift+F10 and a cmd will appear. Using notepad.exe you can check the cloudbase-init unattend logs for errors.

@andia10240 the unattend run of cloudbase-init is supposed to use ConfigDrive and ONLY contain the MTU plugin (http metadata might not be available otherwise) and SetHostname plugin (to save an extra reboot).
If you add any other plugin, they might fail because not all the Windows APIs / services are available at that stage. Adding CreateUser or SetUserPassword is a NOOP, as sethostname plugin ends the cloudbase-init execution before the other two plugins get executed.

According to the following part of the code, I understand that SetHostnamePlugin will return reboot_required=True, but allow_reboot=false in cloudbase-init-unattend.conf, so CreateUser or SetUserPassword is useful. It's right?
`    def _handle_plugins_stage(self, osutils, service, instance_id, stage):
plugins_shared_data = {}
reboot_required = False
stage_success = True
plugins = plugins_factory.load_plugins(stage)
    LOG.info('Executing plugins for stage %r:', stage)

    for plugin in plugins:
        if self._check_plugin_os_requirements(osutils, plugin):
            success, reboot_required = self._exec_plugin(
                osutils, service, plugin, instance_id,
                plugins_shared_data)
            if not success:
                stage_success = False
            if reboot_required and CONF.allow_reboot:
                    break

    return stage_success, reboot_required

`

Not all the Windows APIs and services are available during the cloudbase-init unattend stage.
CreateUserPlugin/SetUserPasswordPlugin (or any other plugin, excluding the 3 default ones) can be used at your own risk,.
Their behaviour is not tested in the unattend stage and they are not supposed to be run on that stage.

Hi @wywself , please share me all blueprint code for this, i'm a beginer. thanks.

The problem is solved. Password is changed by CreateUserPlugin, which use random password. So I add CreateUserPlugin in cloudbase-init-unattend.conf.It works fine. My cloudbase-init-unattend.conf as shown below.

So after you add these two components, is the password for the Administrator account set to a random password, or can it be customized and injected?


[CK] CK works with StableTokens not yet deployed

Description
Add to the contractKit the possibility of having stable tokens not deployed, without breaking.
If the net does not have one particular Stable, it won't be showed in the configs or balances
Other changes
Fix all cli network issues
Tested
An explanation of how the changes were tested or an explanation as to why they don't need to be.
Related issues

Fixes #7473
Fixes #7472

Backwards compatibility
The config json, instead of having one entry for every StableToken, or for every Exchange, will have one exchanges and one stableTokens with all the info there, and those two keys were removed

Looks good. Another option (to not have every currency optional) would be to just return 0 right?

@AlexBHarley I thought that, but the idea was to change the tokens iterator, to avoid having an unnecessary amount of not deployed tokens (thinking more in future adds and not just for this case).
If I ensure that iterator will always have a contract source, we are not forcing the users to check if everything exists, to add a default response for the null values. And I tried to avoid the issues of a user coding with the chain with every stable contract released, without taking that in count, and having some issues the next time we try to release a new one.
We could force those defaults for the methods where we use the iterator, but another thing that came to my head, is that in a way, the cEUR it does not exists in mainnet, so it could be misleading showing the user data of something that it can't be consumed or used. I a way, I'm not showing you what does not exists (yet) without having a feature flag for that (not saying that it could not be a an option, but how we handle new contracts or new versions, it should be another issue, and not this one, haha)


Ensure /client/ files are served from docker image

Copy them into the docker image at build time, and add tests to the k8s deployment to ensure they're available.
Before this change, the test would succeed for /client/server.json but not for /client/index.js

Closing PR for now then.


Census: Answering 'Yes' to Are you a schoolchild or student in full-time education? gives error 500

Expected behaviour
Term-time-location screen location screen must be displayed
Actual behaviour
Giving an error '500"
Steps to reproduce the behaviour
Please run the selenium script using the .js file attached
yarn run test_functional -- --spec=census/issues/fulltime-education-question
Navigate to Question: Are you a schoolchild or student in full-time education?
Select Yes and click save and continue
Technical information
Browser
Operating System
Screenshot
census-issues.spec.js.zip

Defect passed retest on branch

Fixed by https://github.com/ONSdigital/eq-survey-runner/pull/608


How to output a response summary

version:5.0.0
///
/// Retrieves a specific product by unique id
///
/// Awesomeness!
/// Product created
/// Product has missing/invalid values
/// Oops! Can't create your product right now
[HttpGet("{id}")]
[ProducesResponseType(typeof(Product), 200)]
public Product GetById(int id)
You can also annotate types with summary and example tags:
public class Product
{
///
/// The name of the product
///
/// Men's basketball shoes
public string Name { get; set; }
/// <summary>
/// Quantity left in stock
/// </summary>
/// <example>10</example>
public int AvailableStock { get; set; }

}
In the output, how to display summaryy?

Read through the following section of the readme:
https://github.com/domaindrivendev/Swashbuckle.AspNetCore#include-descriptions-from-xml-comments


Add tests for RAG

We should add tests and benchmarks for RAG evaluation.
We can start with the ragas evaluation metric:

Medium post
Github repo

Implement in library but give reference.

Evaluate LLMs and RAG a practical example using Langchain and Hugging Face
https://www.philschmid.de/evaluate-llm?ref=blog.langchain.dev


ComboBox search

Hi,
I would like to if ComboBox could enable search/filtering, it means that I would like to be able to write text and the possible variants (selectable_value) of ComboBox would be filtered based on the entered text.
Thank you :-)

@OpoOpo Hello!
I found the solution to this problem. Unfourchantly, it's not so beautiful, but it works.
We can add checking for events into component and change some global states for storing search filters.
There is my example.
Cons of that solution: we should be cautious and watch for the correct filter state.
I have no idea for patching ComboBox because it expects FnOnce closure, I don't know how we can add filtration over it
@emilk could you give advice for a common solution?

@emilk bumping this issue, any ideas on how to handle making this change?

Bump?

I'm missing this feature!

@patrickelectric i found this while searching for it myself:
https://docs.rs/egui_autocomplete/latest/egui_autocomplete/

Hi @MellquistD, I'm using it in the end, works pretty nice! But it would be better to have it as a default control widget under egui.


implement proper error handling for getInt in benchmarks/platform/Task.roc

See this line of code.

No longer relevant since Task was moved to be a builtin and is no longer part of the cli platform. This code was removed in https://github.com/roc-lang/roc/commit/700c7ae9aa3f9642857b9281da726ec93ae2cf71 (note that the file was previously renamed to crates/cli/tests/benchmarks/platform/Task.roc)


"Owner" field in docs site not getting populated as expected

Describe the bug
When the owner config is added to a .yml file in one's dbt project, it creates an entirely new "owner" field in the docs site, rather than populating the one that already exists.
Steps To Reproduce
Make sure you're on v1.4 or 1.5.

Add the owner config (under the meta config) to either a source or model in a .yml file (examples here).

Run dbt docs generate

Open the docs site and navigate to the source/model. You'll notice that a new "owner" field appears at the top of the "Details" section, but the existing owner field under that (see screenshot) does not get populated.

Expected behavior
I would expect the existing "owner" field to get populated instead of an entirely new "owner" field being added.
Screenshots and log output

Further context here, if needed.

Thank you for opening this issue @sophiad96 and providing a nice write-up and visual aid!
This is actually behaving as expected. The difference you are seeing is between the meta config which acts as an "anything" drawer and the formal model owner that is inherited from the model's group (new in dbt v1.5).
Example...
models/_models.yml
groups:
  - name: my_group
    owner:
      name: my group owner
      email<EMAIL_ADDRESS>
models:
  - name: my_model
    config:
      meta:
        owner:
          my meta owner
        something:
          else entirely
    group: my_group
    access: public

When you run dbt docs generate and dbt docs serve, you can see how these are displayed:

The solution in your case here would be to define the owner via the model's group instead of via the meta config.
Since this is behaving as expected, I'm going to close this.


chore: Split Algebra.Group.Center

Additivise a few more lemmas. Unify inv_mem_center/inv_mem_center₀, div_mem_center/div_mem_center₀. Move the few remaining lemmas about GroupWithZero to a new file Algebra.GroupWithZero.Center. Do the same with Algebra.Group.Centralizer.

[x] depends on: #13030

https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/center.20and.20centralizer

Conclusion seems to be that it's fine to merge the files.

I think this is doing too much all at once, so I'll split off some changes the coming days

bors merge


Process for updating in Docker Container?

Hi, I've asked on IRC Channel, Reddit, and poked around on google but haven't been able to discern the process for updating netbox when deployed via docker-compose.  Anyone here have a preferred method of doing so?  Thanks!

After checking the demo site, it appears the docker version installed as version 1.2.0, not sure if this matters on upgrade paths/methods.

Hi, I deployed Netbox in Docker prior to the official Docker release (i.e. I built my own Docker version). When I want to upgrade, I just attach to the container docker attach [container-name/ID] and then go to my Netbox directory /opt/netbox. From there it's a simple matter of following the standard upgrade process:
# git checkout master
# git pull origin master
# ./upgrade.sh

Then restart Nginx and Supervisord, detach from the container Ctrl-P Ctrl-Q and you're done.
If you're running daemonised then you can use docker exec to run those commands in the container.
Caveat: There's always a better way to do something, so I'm not saying this is the definitive way to upgrade but might help you out for the time being.

@pettcomputers Does this answer your question?

I helped, but I couldn't get it going.  I ended up spinning up a new VM and
got it going the standard way.  Thank you again for the awesome app!
On Thu, Aug 4, 2016 at 11:02 AM, Jeremy Stretch<EMAIL_ADDRESS>wrote:

@pettcomputers https://github.com/pettcomputers Does this answer your
question?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/digitalocean/netbox/issues/391#issuecomment-237599885,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATuX6WGCg57Vflxdn1Z_TzSQqDBL8GVaks5qcg0sgaJpZM4JWJAn
.

I'm going to close this out. It'd be great if someone with Docker experience could extend the documentation.


Support Recording Voice Messages from Airy Inbox UI

Currently: the Airy Inbox UI does not support recording voice messages.
Ideally: if a system user sends an audio recording via their Airy Inbox, it should be displayed (in the proper channel + with the proper contact) with a way to quickly and easily listen to the message. These recorded voice messages should render when communicating via sources that support this feature.
This feature should be bidirectional.

@lizhutter great feature. I would definitely split add one issue per source for the backend though. Perhaps this warrants a 🌈 milestone 🌈

@chrismatix you used my favorite word, I was thinking the same - good idea💡 I'll create it

@AudreyKj @thorstenairy: @Edoardo333 is done with the design, please feel free to pick this ticket up


simulator: only use temperature if baro updated

That's better, although VTOL tiltrotor is still broken for other reasons.


Warmup exercises modified

Adding some exceptions to InterestRate, GuessNumber, MonkeyTrouble and TheRightPrice and a cycle to iterate the variable balance in InterestRate. Futhermore, in InterestRate I added some ranges to the variables anno and balance in order to make it more realistic and funny. In GuessNumber I changed some if/else that were useless.

You cannot use exceptions (we still didn't see them properly) in warmup exercises. Italian is also forbidden.


chore: using preact

we love :preact:

⚡ Deploying PR Preview f0f0cf4c7e44295ed4ea05fc8702d8e302231212 to surge.sh ... Build logs

🤖 By surge-preview


Select different emoji set

You should, as a user, have a choice to select different emoji sets instead of only EmojiOne.

One options that's requested often is the twitter emoji set.


Refactor modern-challenge/project submission

The submitModern function https://github.com/freeCodeCamp/freeCodeCamp/blob/683c1806599821e0b4def89ae7ba47ee97d1865a/client/src/templates/Challenges/redux/completion-epic.js#L60
is a little convoluted. It would be good to split that into smaller, focused functions that each handle each special case (i.e. multiple choice questions, classic challenges with tests and so on).
Also, it does not seem right to use the /modern-challenge-completed endpoint to submit multifile cert projects and JavaScript projects.

Also, it does not seem right to use the /modern-challenge-completed endpoint to submit multifile cert projects and JavaScript projects.

Why? Their structure is the same.

Their use is different, though. In general mixing up challenges and projects doesn't feel great.

Can we label this help wanted? there seems no push back for this 🤔


[new] [zip] Terraform-docs.Terraform-docs 0.16.0

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@wingetbot waivers Add Validation-Executable-Error


is_instance JSON support

Codecov Report

Merging #278 (4ae58ed) into main (c13283d) will decrease coverage by 0.00%.
The diff coverage is 94.23%.

:exclamation: Current head 4ae58ed differs from pull request most recent head 14a01c2. Consider uploading reports for the commit 14a01c2 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #278      +/-   ##
==========================================
- Coverage   98.24%   98.24%   -0.01%
==========================================
  Files          52       52
  Lines        5597     5638      +41
  Branches       44       44
==========================================
+ Hits         5499     5539      +40
- Misses         98       99       +1

Impacted Files
Coverage Δ

src/errors/location.rs
98.11% <ø> (ø)

src/input/input_abstract.rs
100.00% <ø> (ø)

src/input/mod.rs
100.00% <ø> (ø)

src/input/parse_json.rs
98.57% <89.47%> (-1.43%)
:arrow_down:

src/input/input_json.rs
96.17% <94.44%> (-0.15%)
:arrow_down:

pydantic_core/core_schema.py
99.15% <100.00%> (+<0.01%)
:arrow_up:

src/input/input_python.rs
98.42% <100.00%> (ø)

src/validators/is_instance.rs
100.00% <100.00%> (+3.57%)
:arrow_up:

src/validators/set.rs
100.00% <0.00%> (+3.70%)
:arrow_up:

Continue to review full report at Codecov.

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


cat it compiled by cygwin?

cat it compiled by cygwin?

I think it should, did you try it?  You may need to modify the makefile a bit.

I had tried it compiled in cygwin had some error.

can you be more specific?


avg pool 2d

avg pool 2d is required for VGG ,
i have used maxpool2d example and https://pytorch.org/cppdocs/api/function_namespaceat_1a7341b8ebb8cfbb5cd252da45997b80b5.html

Here is where we have our tests:
https://github.com/xamarin/TorchSharp/tree/master/test/TorchSharpTest


Add bluetooth and brightness module

Hello! How are you? I need your help, what would be the correct way to enable Bluetooth and Brightness in your settings? I have tried to add it but I couldn't.

Regarding bluetooth: that options are called hardware.bluetooth.enable and hardware.bluetooth.powerOnBoot, so it would make sense to add them to modules/core/hardware.nix.
Not sure what you mean by brightness

I guess the ability to modify laptop's screen brightness.

was about to mention those keybinds found in hyprland


Dyeable Oven [Feature Request]

Hello,
Firstly, thanks for the mod, it's brilliant and I love it.
Would it be possible to have the Oven be Dyeable just like all the fridge and the countertops/sink are, please?
Thank you for the constant mod development!

Duplicate of #401


Support for NATS Micro?

Thanks for awesome tool! Asking for support of NATS Micro protocol: interface for Request-Reply and micro module in natscli.

the request reply part (without microservices) is ongoing so  it will be added shortly. For the micro support, i need to play with the last CLI implementation and see how that part is managed. Apart the basic list / info and endpoints details of micro, do you have some specific use case to share?

the request reply part (without microservices) is ongoing so it will be added shortly. For the micro support, i need to play with the last CLI implementation and see how that part is managed. Apart the basic list / info and endpoints details of micro, do you have some specific use case to share?

Except list / info, it's quite useful to receive metrics from services and adjust services in runtime, like logging level, dummy mode, or something. In case of UI, would be nice to have dynamic interface, because every service can publish their endpoints with schemas in "Info" message. I use a lot of services with lightweight control-plane in NATS Micro, and it's good to work with. Not related to main topic, just a use case from my practice, it's a KV bucket with configuration for service. Thanks to "watch" mechanism, services can read and update config data in real-time. Would be nice to have UI be ready for that topology of services and buckets.
I see Micro UI as list of services with matching prefix for searching, and service panel contain info, ping, stats, and endpoints. After click on endpoints, there is list of them with possibility to request on them.


update usernames for html posts

dont forget the reddit theme

dont forget the reddit theme

rip. I dumb, this is the rt


Add InstanceID to Get-RubrikDatabase for enhanced retrieval

When retrieving databases filtered on an instance, the Get-RubrikDatabase cmdlet will retrieve all databases and then filter by the host name. The API support instance_id for the SQL instance, so adding this as a parameter would be helpful for making the cmdlet more efficient.
Describe the solution you'd like
Add InstanceID to reference instance_id for the Get-RubrikDatabase cmdlet.

Resolved in #279


[Local Environment Setup] Automatically Aggregate App CRDs Under Grafana API Server

As part of the grafana-app-sdk project local generate, create a new script to aggregate app CRDs under a grafana API server. Additionally, add a tilt step in the new-project generated tilt file to do this aggregation automatically.

@IfSentient I assume this closes https://github.com/grafana/grafana-app-sdk/issues/271?


last commit probably

(too lazy to add more lool)
for the now docs are made and added few calculators more ;p

@hacknorris-aka-penguin Currently, there's no need for the functions you have created. So, I'm closing this issue. Will think about it in the future. Thanks :)

AND DOCS?!


FE Unit Tests

*Issue:*https://github.com/bcgov/entity/issues/
Description of changes:
Adding missing FE unit tests
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the namex license (Apache 2.0).

@kris-daxiom are you ok if I merge this?


$(( breaks shell script syntax highlighting for quoted context

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.73.1
OS Version: Arch linux current

Steps to Reproduce:

Enter the following text into a new file:

echo "$((true) )"
echo

Set the language mode for the file to "Shell script"
Observe that the echo on the second line, and any text you add after it before another ", is colored as a continuation of the quoted string on the first line.

Removing the space in ) ) and/or adding a space between (( avoids triggering this misbehavior.
I have confirmed through experimentation that this seems to be valid syntax in current versions of sh, bash, and zsh.

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.74.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

Appears to be fixed by https://github.com/microsoft/vscode/pull/169118!


[Event Request] - Procedure CalculateAmtOfSaleLCY in report 119 - "Customer- Sales List"

Describe the request
Hi
Can you please add the following event to procedure CalculateAmtOfSaleLCY in report 119 - "Customer- Sales List"?
local procedure CalculateAmtOfSaleLCY(): Decimal
var
    CustLedgEntry: Record "Cust. Ledger Entry";
    Amt: Decimal;
    i: Integer;
begin
    with CustLedgEntry do begin
        SetCurrentKey("Document Type", "Customer No.", "Posting Date");
        SetRange("Customer No.", Customer."No.");
        SetFilter("Posting Date", Customer.GetFilter("Date Filter"));
        //>>>>>>>>>>
        OnAfterSetCustLedgEntryFilters(CustLedgEntry, Customer);
        //<<<<<<<<<<
        for i := 1 to 2 do begin

[IntegrationEvent(false, false)]
local procedure OnAfterSetCustLedgEntryFilters(var CustLedgEntry: Record "Cust. Ledger Entry"; Customer: Record Customer)
begin
end;

Additional context
This was a customer request to be able to set filters based on type customer type.Internal work item: AB#494564

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 14883.


Responsivee css

This PR fixes issue #7
Work done:

Added a responsive navigation bar
Fixed responsiveness of the landing pages
Fixed responsiveness of the support-us page images

Problem with Support-Us page images is attached below (as wasn't mentioned in issue #7)

Preview of the fixes made! 🥳
https://user-images.githubusercontent.com/76456498/141205956-88eb6ce2-f812-419d-9507-49f140137e77.mp4
Suggestion: As the website might grow bigger in the future, it would be preferable to use a library/framework like React or Vue. Currently for the Navbar I had to copy paste the same code for all the pages. Using a lib/framework will make this easier

Thanks!


Learners can't promote to voter for originally 3 node setup down to 1

I upgraded to v1.19.3+k3s2 so I have to stop the nodes first. I stopped node 2, 1 then 0 one by one and tried to restart, only to see it failing refutably.
I did cluster-reset beforehand because I have an agent node to upgrade to master (my home server behind a NAT router seems to be able to be promoted to master), then I noticed that the peer IP addresses are not correct, I'm foolish enough to reset it. I started node 0 (supposedly leader/master) then node 1, but now node 1 seems to be stucking in eternity due to that there aren't enough voters for the learner to be promoted.
So it sounds like this perhaps? I reset the cluster but the quorum is actually still remaining at 3, which means I need at least 2 votes to promote 1 learner, because node 1 and 2 is theoretically dead (I reset the cluster), now when node 1 re-joins, it is considered to be a learner, because I have 1/3 survival node in the cluster, which is not enough to promote node 1 either.
The only way to go forward is, unfortunately, completely nuke the cluster.
Here's the log:
Oct 31 09:32:59 k3s-1 k3s[1088080]: {"level":"info","ts":"2020-10-31T09:32:59.855Z","caller":"raft/raft.go:1530","msg":"fccabecbf9f53078 switched to configuration voters=(4666803214023224165) learners=(18215581426134626424)"}
Oct 31 09:33:03 k3s-1 k3s[1088080]: time="2020-10-31T09:33:03.241969183Z" level=info msg="Failed to test data store connection: this server has not yet been promoted from learner to voting member"
Oct 31 09:33:03 k3s-1 k3s[1088080]: {"level":"info","ts":"2020-10-31T09:33:03.700Z","caller":"raft/raft.go:1530","msg":"fccabecbf9f53078 switched to configuration voters=(4666803214023224165) learners=(18215581426134626424)"}
Oct 31 09:33:05 k3s-1 k3s[1088080]: {"level":"info","ts":"2020-10-31T09:33:05.366Z","caller":"raft/raft.go:1530","msg":"fccabecbf9f53078 switched to configuration voters=(4666803214023224165) learners=(18215581426134626424)"}
Oct 31 09:33:08 k3s-1 k3s[1088080]: time="2020-10-31T09:33:08.245064725Z" level=info msg="Failed to test data store connection: this server has not yet been promoted from learner to voting member"
Oct 31 09:33:09 k3s-1 k3s[1088080]: {"level":"info","ts":"2020-10-31T09:33:09.200Z","caller":"raft/raft.go:1530","msg":"fccabecbf9f53078 switched to configuration voters=(4666803214023224165) learners=(18215581426134626424)"}
Oct 31 09:33:10 k3s-1 k3s[1088080]: {"level":"info","ts":"2020-10-31T09:33:10.859Z","caller":"raft/raft.go:1530","msg":"fccabecbf9f53078 switched to configuration voters=(4666803214023224165) learners=(18215581426134626424)"}
Oct 31 09:33:13 k3s-1 k3s[1088080]: time="2020-10-31T09:33:13.248012144Z" level=info msg="Failed to test data store connection: this server has not yet been promoted from learner to voting member"
Oct 31 09:33:14 k3s-1 k3s[1088080]: {"level":"info","ts":"2020-10-31T09:33:14.701Z","caller":"raft/raft.go:1530","msg":"fccabecbf9f53078 switched to configuration voters=(4666803214023224165) learners=(18215581426134626424)"}
Oct 31 09:33:16 k3s-1 k3s[1088080]: {"level":"info","ts":"2020-10-31T09:33:16.383Z","caller":"raft/raft.go:1530","msg":"fccabecbf9f53078 switched to configuration voters=(4666803214023224165) learners=(18215581426134626424)"}
Oct 31 09:33:18 k3s-1 k3s[1088080]: time="2020-10-31T09:33:18.251780626Z" level=info msg="Failed to test data store connection: this server has not yet been promoted from learner to voting member"

However I see that in node 1 I had actually grabbed some data from node 0 perhaps?
root@k3s-1:/var/lib/rancher/k3s/server# du -sh db/
196M    db/

And still there's no progression. Nothing.

I have ultimately decided to use ZeroTier for internal node communication. This also solved my NAT problem. However, since ZeroTier is a userland application and its severely bottlenecked by context switch, and it eats a lot of memory. I'll use it as a short term solution to find a better way to "mesh" things up.
Sigh. Nevermind, if k3s team decided this is a WONTFIX and want to close this issue, I won't mind.

Can you share more information on your order of operations? What sequence did you follow to reset the cluster and join the new node? Are you setting --node-external-ip or anything else that might influence node address selection on the servers?
Based on the logs you shared, the cluster currently has one voting member and one learner. Is the voting member online at the moment? What do the logs on the voting member show?

@brandond

shut down all nodes with k3s-killall.sh
rm -rf /var/lib/rancher/k3s/server/db for each "worker master" node, leaving only node 0 to retain the original data
started k3s server --cluster-init --cluster-reset", after that systemctl start k3s` node 0 first, at this point the cluster is "functional"
but if i tried to add the second node, that error happen, and the "awaiting promotion" process stucks forever. this is not happening in v1.19.3+k3s1 so perhaps this is a...regression?
i'm using zerotier for all workers and masters now, despite it being slow it is to my surprise it is not that unbearable (i mean i used to iperf ZT on lan and only got 300mbps), maybe k3s can even integrate ZT2, which is written in Go in the future lol.

Can you share the logs from the first node when this is all going on? Its the one that would be responsible for promoting the other nodes.
What are you using zerotier for? I've not used it before; it appears to be a peer-to-peer VPN mesh sort of thing? Are all your nodes not on the same network?
If it's slow, that could be part of the problem. Resetting the cluster doesn't wipe old data from etcd, it just removes records pertaining to cluster join/leave. Members can't be promoted until they've caught up with the rest of the cluster, so this will take longer when you've got more data in etcd. I wouldn't imagine it'd take more than a few minutes though...


Inconsistent scanning parameter warning includes "undefined" string

https://openneuro.org/datasets/ds001128/versions/00002

Can this be ellaborated more please. What is the error code?

Tested in latest web validator and was unable to see 'undefined'.


popover: Improve computation of elements at reference elements.

So far, we were only considering elements at the the reference element's bounding box top-left corner, to check if the reference element was covered by other elements. This led to a bug where the popover wouldn't show up even if a very small part of the reference element was covered.
Now we consider elements that are at both the top-left and bottom-right of the reference element's bounding box, as those covering the reference element.
Fixes: CZO message
Screenshots and screen captures:
Now popover is visible even if the button is partially covered by the sticky header

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

Merged, thanks @N-Shar-ma! @amanagr FYI.


Try to run in container.

Old and isn't required anymore, was part of the initial deployment to get dind to work with AiO.


feat: @ts-rest/vue-query

resolves #71
Let's try this again.
I've implemented the example app against apiBlog this time, to make sure parameterised queries and infinite query work as expected.
Also updated the docs to reference vue-query instead of react-query.
Mostly copy-paste from @ts-rest/react-query lib. I substituted @tanstack/solid-query with @tanstack/vue-query where necessary.
See pnpm nx serve example-microservice-web-app-vue for example usage.

@fruchtzwerg this looks awesome! Thank you for your contribution ❤
We'll review this over the coming days hopefully. In the meantime, would it be possible to add some tests? Have a look at how we're running tests for react here https://github.com/ts-rest/ts-rest/blob/main/apps/example-next/tests/react-query.spec.tsx
I'm not familiar with vue that much, but I believe there are vue testing utils that should help with this in the @testing-library/vue library,

@Gabrola sure thing. I'm on vacation for the next two weeks so I'll look into it when boredom strikes.
I'll look out for abstraction opportunities. Maybe some tests could be reused between the tanstack query libs.

Added the relevant tests from the example-next.
I kept the ones for missing features as skipped tests to demonstrate what is not yet supported by vue-query.
To keep it simple, I implemented a stub of renderHook from @testing-library/react-hooks for Vue, thus allowing to copy-paste tests between Vue and React.
The only difference between the two is that Vue's reactivity system requires values to be wrapped in a Ref object. This means that they have to be unref-ed prior to comparison with the expected value. It is possible to do this globally in a Jest setup script. That would allow both @ts-rest/react and @ts-rest/vue to run against the same tests.
I have not included this here because I'm unsure how well this would scale with solid and other integrations you might want to support in the future.
If you're interested I can iron out the kinks and provide the commit.

Thanks for the review @oliverbutler.
I resolved the conflicts due to dependencies.
Tanstack Query will remove overloads of useQuery() in v5. I updated the implementation to maintain compatibility when it releases.

@michaelangelo-io I'm unfamiliar with changesets so I hope this works. I also squashed my commits.

Docs build seems to be broken. I merged @oliverbutler's latest changes on main but it's still complaining about Readme.md. Something about the lonely </br> missing a corresponding open tag and the style="padding-top: 25px" not being valid JSX. Seems fishy to me; this should still be valid HTML ¯_(ツ)_/¯
Since this is blocking this repo and I'm not too familiar with Docusaurus, I'll leave it to you to fix this on main.

@fruchtzwerg You hit the nail on the head - it was docusaurus stalling (not exiting gracefully upon failure) which is super annoying.
I hope we get free actions billing...

@fruchtzwerg if you update from master it'll pass now 🤞 sorry about that 🤦 This is what I get for making one change to master to README

@oliverbutler No worries, this is ~pod racing~ software development after all.
I think we should be good now. I merged the latest version and ran pnpm build-test-all locally and its all 🟢 now.
As you mentioned earlier there are probably some minor bugs and it doesn't implement the full feature-set of tanstack query but it should cover about 80-90% of the most common usecases.

@all-contributors please add @fruchtzwerg for code, docs, and test


Agent stuck at start

Rancher Versions:
Server: 1.5.0
healthcheck:
ipsec:
network-services:
scheduler:
kubernetes (if applicable):
Docker Version:
OS and where are the hosts located? (cloud, bare metal, etc):
Ubuntu
Cloud
DO
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Single node, external DB
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Steps to Reproduce:
Results:
After adding a host to the environment, none of the infrastructure services are started. The agent is just stuck with the error message below. To recover the host, we had to add a label to the host to trigger "reconcile". As you can see from the timestamps, there was a lot of gap in the logs.
time="2017-03-06T21:09:05Z" level=info msg="Connecting to proxy." url="ws://rancher.somecompany.org/v1/connectbackend?token=eyJhbGciOiJSUzI1NiJ9.eyJyZXBvcnRlZFV1aWQiOiI0MDUzM2ExZi0xNzA5LTRjYzgtNjc5Yi02Y2U1NjI1NTlmMmIiLCJzdWIiOiJjYXR0bGUiLCJraWQiOiJkZWZhdWx0IiwiaXNzIjoiaHR0cDpcL1wvY2F0dGxlLmlvIiwiZXhwIjoxNDg4ODM0ODQ1LCJpYXQiOjE0ODg4MzQ1NDV9.PqaBUvNcReWHh1Bg6xnCc9ZCG3FWMwHfG0Yt3QGvzn15exIN0byVsdV5RUBL5f8_9UcID1axOXUEmuU69zHEjxhD15kKuKRjPZ_ozP2wQb62rq1mQgwQGEbay56PLKsbu_HW9PeVYxdUHTtpvyv-JEd3E4AaPTZ_x_RKBnBvgcgiw8XQhWV3jW2ahhTumtW4_YqBL1k6mljXBTe_Es-fznqFfCN8SfjMoo5gcZyCqV_g5O3p_cSE2NfqXfURJWCOzfG-mBNefwGFC4xmXu1-Fz35ZlHaRn94MmXWBVXrvV9dbMIJMvwpzkob_2byUrs0SuNX9xgnlu6tU8lAMbE8fA"
time="2017-03-06T21:09:06Z" level=info msg="Received event: Name: compute.instance.inspect, Event Id: a922a258-2e41-410d-8205-fe5a52eedca7, Resource Id: "
time="2017-03-06T21:09:06Z" level=info msg="rancher id []: Container with docker id [f4c5ee352a59811573cdea782ef96b437103656d34a1c03b5ab001767f9b2c3d] has been inspected"
time="2017-03-06T21:09:06Z" level=info msg="Reply: a922a258-2e41-410d-8205-fe5a52eedca7, compute.instance.inspect, :instanceInspect"
time="2017-03-06T21:09:08Z" level=info msg="Received event: Name: storage.volume.activate, Event Id: a7e190c4-701e-402a-bc2d-07b6aecac459, Resource Id: 1vspm3397"
time="2017-03-06T21:09:08Z" level=info msg="Reply: a7e190c4-701e-402a-bc2d-07b6aecac459, storage.volume.activate, 1vspm3397:volumeStoragePoolMap"
time="2017-03-06T21:09:09Z" level=info msg="Received event: Name: compute.instance.activate, Event Id: 74511c52-c481-42e8-95ec-261130f3a8b4, Resource Id: 1ihm1618"
time="2017-03-06T21:09:09Z" level=info msg="Reply: 74511c52-c481-42e8-95ec-261130f3a8b4, compute.instance.activate, 1ihm1618:instanceHostMap"
time="2017-03-06T21:09:09Z" level=info msg="Received event: Name: storage.volume.remove, Event Id: 1c5a9a2c-7ad4-49e0-ab3e-679140090f9b, Resource Id: 1vspm3362"
time="2017-03-06T21:09:09Z" level=info msg="rancher id [1vspm3362]: Volume with name [] has been removed"
time="2017-03-06T21:09:09Z" level=info msg="Reply: 1c5a9a2c-7ad4-49e0-ab3e-679140090f9b, storage.volume.remove, 1vspm3362:volumeStoragePoolMap"
time="2017-03-06T21:09:10Z" level=info msg="Received event: Name: storage.volume.activate, Event Id: 1a539866-895a-4bd0-9049-d6e1bd241bd9, Resource Id: 1vspm3367"
time="2017-03-06T21:09:10Z" level=info msg="Reply: 1a539866-895a-4bd0-9049-d6e1bd241bd9, storage.volume.activate, 1vspm3367:volumeStoragePoolMap"
time="2017-03-06T21:09:59Z" level=info msg="Received event: Name: compute.instance.activate, Event Id: 55de8190-ef26-49ae-b085-3fa6d72ead19, Resource Id: 1ihm1615"
time="2017-03-06T21:09:59Z" level=info msg="Reply: 55de8190-ef26-49ae-b085-3fa6d72ead19, compute.instance.activate, 1ihm1615:instanceHostMap"
time="2017-03-06T21:12:44Z" level=info msg="Received event: Name: compute.instance.remove, Event Id: 1bb2d22b-9f11-4be7-8950-de7731087be6, Resource Id: 1ihm1604"
time="2017-03-06T21:12:44Z" level=info msg="Reply: 1bb2d22b-9f11-4be7-8950-de7731087be6, compute.instance.remove, 1ihm1604:instanceHostMap"
time="2017-03-06T21:19:38Z" level=error msg="Post http://rancher.somecompany.org/v2-beta/publish: EOF"
time="2017-03-06T21:19:38Z" level=error msg="Error processing event" err="Error sending reply 9264614a-cf37-44d4-ad0d-11cc15dd6ac8: Post http://rancher.somecompany.org/v2-beta/publish: EOF" eventId=9264614a-cf37-44d4-ad0d-11cc15dd6ac8 eventName=ping resourceId=1a216
time="2017-03-06T21:38:31Z" level=info msg="Received event: Name: storage.image.activate, Event Id: b253c108-7e52-4b3b-a20e-129883ca1449, Resource Id: 1ispm1618"
time="2017-03-06T21:38:31Z" level=info msg="Received event: Name: storage.image.activate, Event Id: 6c050f22-cfa5-434c-bf14-ddd502e4866f, Resource Id: 1ispm1619"
time="2017-03-06T21:38:31Z" level=info msg="Received event: Name: storage.image.activate, Event Id: 1ba08a2e-8fb4-433e-a423-d0ccc9da8b3b, Resource Id: 1ispm1620"
time="2017-03-06T21:38:31Z" level=info msg="Received event: Name: storage.image.activate, Event Id: 3bf16a69-87a3-4db1-b6ed-53b114ca5aab, Resource Id: 1ispm1621"

Closing as stale


About some problems in evaluation

Thank you for your great repo! May ask some problems about evaluation?

The model is trained by RGB image, but evaluated with BGR image, which cause slight performance degradation, to be specific, acc on cfp_fp can reach 98% if fix this problem.
May I ask why you use ccrop, first resize 112x112 to 128x128 and then crop to 112x112?
What is the difference with the validation dataset released by InsightFace_Pytorch? I notice that using your released cfp_fp can yield a better accuracy.

Thank you for your great repo! May ask some problems about evaluation?

The model is trained by RGB image, but evaluated with BGR image, which cause slight performance degradation, to be specific, acc on cfp_fp can reach 98% if fix this problem.
May I ask why you use ccrop, first resize 112x112 to 128x128 and then crop to 112x112?
What is the difference with the validation dataset released by InsightFace_Pytorch? I notice that using your released cfp_fp can yield a better accuracy.

Thank you very much. We have updated the code and performance accordingly.
We use center crop during testing because during training we adopted random crop data augmentation.
The data is exactly the same with those used by InsightFace_Pytorch. Our performance is better thanks to the highly effective and efficient face.evoLVe framework:)

It is quite great to improve 92.74 to 98.14 on cfp_fp compared to insightface! Thanks to sharing the highly effective and efficient face.evoLVe framework:)


How to train faster rcnn using our own dataset , without using GPU

I wanted to know if there's any way to train the faster RCNN model in CPU, on our own dataset

I also want to know.Can you save this problem?


Druid SQL dataset __time column registered as a LONG rather than TIMESTAMP

A clear and concise description of what the bug is.
How to reproduce the bug

Add a Druid dataset and notice that the __time column is assigned the type LONG.
Go to SQL Lab and fetch the metadata for said dataset. Notice that the __time column is of type TIMESTAMP which is correct.
Observe the discrepancy.

By registering the __time column as a LONG the right-hand-side of the time comparisons are not formatted corrected—which is handled by the convert_dttm method. Thankfully it seems like Druid might do implicit casting.
Expected results

The metadata for fetching a dataset should be consistent, be that via the add dataset or SQL Lab flow.
For Druid datasets the __time column should be TIMESTAMP.

Actual results
See above. Note https://github.com/apache/superset/issues/15378 may be related.
Screenshots

Environment
(please complete the following information):

browser type and version: Chrome
superset version: master
python version: 3.8
node.js version: node -v
any feature flags active:

Checklist
Make sure to follow these steps before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[x] I have reproduced the issue with at least the latest released version of superset.
[ ] I have checked the issue tracker for the same issue and I haven't found one similar.

@villebro do you recall where and how these two workflows fetch the dataset metadata or how these could differ?

@john-bodley is this still an issue? I'd be tempted to close it as stale, but figure you can help validate here ;)

Closing this as stale since it's been silent for so long, and we're trying to steer toward a more actionable Issues backlog. If people are still encountering this in current versions (currently 3.x) please re-open this issue, open a new Issue with updated context, or raise a PR to address the problem. Thanks!


Clone the Categories explorer into an Additive Explorer

Duplicating the Categories explorer to let users explore additives.

Working on it


Add available query string params to order path and query functions

This PR allows clients to query by more attributes made available by TD Ameritrade.

@MorpheusNephew Let me know if you need me to do anything different to get this merged.


The file type of image data

Hi. I have a quick question. What is the file type (HDR, EXR, PNG, JPG, etc) of the input images for this project? The file type of the images that go into the virtual camera? Correct me if I am wrong, I understand that Virtual Camera creates augmented and LDR images from HDR image. My question is, what is the file type of this HDR image? Is it .HDR or .EXR or .JPG?
Also if you can outline the file types of the image at all the stages of the pipeline will also be very helpful.

I realized that I completely missed this issue. Sorry for that. I guess it is too late now, but it is correct that input is HDR data, for which the virtual camera application generates the LDR training data. The virtual camera requires EXR, but it should be possible to modify to support other HDR formats.
The virtual camera outputs HDR-LDR pairs, where LDR images are stored as JPG. It can also create varying amounts of compression in order for the reconstruction to generalize to those types of image artifacts. If the virtual camera is compiled it is possible to run the training script directly, and this will call the virtual camera if training data has to be generated.


Interactive Actions API doesn't work in the bolt-spring-boot-example

Issue Type
Place an x in one of the [ ].

[x] Bug
[ ] Enhancement / Feature request
[ ] Question
[ ] Documentation

Description
(Describe your issue here)
Method not being invoked for interactive events (Eg. button click), in logs 'No request pattern detected for 'is seen.
Using the method as described https://slack.dev/java-slack-sdk/guides/interactive-components in a spring boot app as configured by the bolt-spring-boot-example project.
As far as I could figure, this is due to Slack is sending a 'application/x-www-form-urlencoded' encoded form request, and variable 'requestBody' evaluating to "". Unsure if issue is on slack side or this needs to be fixed in client code.
I believe this is bug in parsing the form payload in SlackAppServletAdapter.java -> buildSlackRequest(),
where String requestBody = doReadRequestBodyAsString(req) returns as "";
(only for a bug report)
If this is a bug report, filling out the following details about bugs will help us solve your issue sooner.
The issue is reproducible in:

Module Version: 1.1.3
JDK Version: 1.8
OS Version etc: Windows

The steps to reproduce are:

Setup a bolt spring boot project from https://github.com/slackapi/java-slack-sdk/tree/main/bolt-spring-boot-examples
Add button action listener in the java code given from - https://slack.dev/java-slack-sdk/guides/interactive-components
app.blockAction("button-action", (req, ctx) -> {...}
In slack app, prepare and trigger the same button action block from above.
In logs 'No request pattern detected for ' seen

The expected result is:
Code runs in the section app.blockAction("button-action", (req, ctx) -> {...}
The actual result is:
In logs 'No request pattern detected for ' seen
Requirements (place an x in each of the [ ])

[x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've searched for any related issues and avoided creating a duplicate issue.

@zaphodis42 Could you try the following example? You don't need to use the slash command. Just posting a message including the button as the first step should work.
package hello;

import com.slack.api.bolt.App;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import static com.slack.api.model.block.Blocks.actions;
import static com.slack.api.model.block.Blocks.asBlocks;
import static com.slack.api.model.block.composition.BlockCompositions.plainText;
import static com.slack.api.model.block.element.BlockElements.asElements;
import static com.slack.api.model.block.element.BlockElements.button;

@Configuration
public class SlackApp {
    @Bean
    public App initSlackApp() {
        App app = new App();
        app.command("/test-button", (req, ctx) -> {
            return ctx.ack(res -> res.blocks(asBlocks(
                    actions(actions -> actions
                            .elements(asElements(button(b -> b
                                    .actionId("button-action")
                                    .text(plainText(pt -> pt.emoji(true).text("Click this!")))
                                    .value("clicked")
                            )))
                    )
            )));
        });
        // when a user clicks a button in the actions block
        app.blockAction("button-action", (req, ctx) -> {
            String value = req.getPayload().getActions().get(0).getValue(); // "button's value"
            if (req.getPayload().getResponseUrl() != null) {
                // Post a message to the same channel if it's a block in a message
                ctx.respond("You've sent " + value + " by clicking the button!");
            }
            return ctx.ack();
        });
        return app;
    }
}

Thanks and sorry for the delay, the issue seems to be with an additional spring starter import I had added in my pom.xml
I'm not exactly sure though which additional library was the offending one, but possibly related to https://stackoverflow.com/questions/10210645/http-servlet-request-lose-params-from-post-body-after-read-it-once/54258488 , I also read something similar in one blog - "We can't read the body multiple times using the getInputStream() and getReader() methods. If we read the InputStream in one of the filters, then other subsequent filters in the filter chain can't read it anymore"
My workaround to use additional spring starter libraries -
To use my imports, I made a change in my project like below for SlackAppServletAdapter-> buildSlackRequest(HttpServletRequest req)
String requestBody = "";
if (!StringUtils.isEmpty(req.getParameter("payload"))) {
	requestBody = "payload="
			+ URLEncoder.encode(req.getParameter("payload"), StandardCharsets.UTF_8.toString());
} else {
	requestBody = doReadRequestBodyAsString(req);
}
log.info("Request Body: " + requestBody);

Adding the pom.xml below I was using in case you feel it warrants a second check, otherwise please feel free to close the issue.
<project xmlns="http://maven.apache.org/POM/4.0.0"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-parent</artifactId>
		<version>2.1.1.RELEASE</version>
		<relativePath /> <!-- lookup parent from repository -->
	</parent>
	<groupId>com.example</groupId>
	<artifactId>slackbot</artifactId>
	<version>0.0.1-SNAPSHOT</version>
	<name>slackbot</name>
	<description>Slack integration</description>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
		<java.version>1.8</java.version>
		<spring-cloud.version>Finchley.RELEASE</spring-cloud.version>
		<jolt.version>0.1.1</jolt.version>
		<bolt.slack.api.version>1.1.3</bolt.slack.api.version>
	</properties>

	<dependencies>
		<dependency>
			<groupId>com.slack.api</groupId>
			<artifactId>bolt</artifactId>
			<version>${bolt.slack.api.version}</version>
		</dependency>
		<dependency>
			<groupId>com.slack.api</groupId>
			<artifactId>bolt-servlet</artifactId>
			<version>${bolt.slack.api.version}</version>
		</dependency>
		<dependency>
			<groupId>com.slack.api</groupId>
			<artifactId>slack-api-model</artifactId>
			<version>${bolt.slack.api.version}</version>
		</dependency>
		<dependency>
			<groupId>com.slack.api</groupId>
			<artifactId>slack-api-client</artifactId>
			<version>${bolt.slack.api.version}</version>
		</dependency>
		<dependency>
			<groupId>com.slack.api</groupId>
			<artifactId>slack-app-backend</artifactId>
			<version>${bolt.slack.api.version}</version>
		</dependency>
		<dependency>
		    <groupId>com.mashape.unirest</groupId>
		    <artifactId>unirest-java</artifactId>
		    <version>1.4.9</version>
		</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-web</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.cloud</groupId>
			<artifactId>spring-cloud-starter-zipkin</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-configuration-processor</artifactId>
			<optional>true</optional>
		</dependency>

		<dependency>
		    <groupId>org.springframework.cloud</groupId>
		    <artifactId>spring-cloud-starter-sleuth</artifactId>
		</dependency>
<!-- 		<dependency> -->
<!-- 			<groupId>org.springframework.boot</groupId> -->
<!-- 			<artifactId>spring-boot-devtools</artifactId> -->
<!-- 			<scope>runtime</scope> -->
<!-- 			<optional>true</optional> -->
<!-- 		</dependency> -->
		<dependency>
			<groupId>ch.qos.logback</groupId>
			<artifactId>logback-classic</artifactId>
		</dependency>
			<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-actuator</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.security.oauth</groupId>
			<artifactId>spring-security-oauth2</artifactId>
			<version>2.0.14.RELEASE</version>
		</dependency>

 		<dependency>
 			<groupId>org.springframework.boot</groupId>
 			<artifactId>spring-boot-starter-security</artifactId>
 		</dependency>

		<dependency>
			<groupId>org.springframework.security</groupId>
			<artifactId>spring-security-jwt</artifactId>
			<version>1.0.8.RELEASE</version>
		</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-test</artifactId>
			<scope>test</scope>
			<exclusions>
				<exclusion>
					<groupId>org.junit.vintage</groupId>
					<artifactId>junit-vintage-engine</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
	</dependencies>
	<dependencyManagement>
		<dependencies>
			<dependency>
				<groupId>org.springframework.cloud</groupId>
				<artifactId>spring-cloud-dependencies</artifactId>
				<version>${spring-cloud.version}</version>
				<type>pom</type>
				<scope>import</scope>
			</dependency>
		</dependencies>

	</dependencyManagement>
	<reporting>
		<plugins>
			<plugin>
				<groupId>com.spotify.docgenerator</groupId>
				<artifactId>docgenerator-maven-plugin</artifactId>
				<version>0.0.1</version>
				<configuration>
					<jsonClassesFiles>
						<jsonClassesFile>${project.build.directory}/classes/JSONClasses</jsonClassesFile>
					</jsonClassesFiles>
					<restEndpointsFiles>
						<restEndpointsFile>${project.build.directory}/classes/RESTEndpoints</restEndpointsFile>
					</restEndpointsFiles>
				</configuration>
			</plugin>
		</plugins>
	</reporting>
	<repositories>
		<repository>
			<id>spring-snapshot</id>
			<name>Spring Maven SNAPSHOT Repository</name>
			<url>http://repo.spring.io/libs-snapshot</url>
		</repository>
	</repositories>

	<build>
		<plugins>
			<plugin>
				<groupId>org.springframework.boot</groupId>
				<artifactId>spring-boot-maven-plugin</artifactId>
				<configuration>
	                <executable>true</executable>
	                <jvmArguments>-Dfile.encoding=UTF8</jvmArguments>
	            </configuration>
			</plugin>
		</plugins>
	</build>

</project>

@zaphodis42 Thanks for sharing this!
As long as Slack sends only payload parameter in request body, the workaround should work (FYI: request verification requires access to the original raw request body). At this moment, we don't have any plans to add more params. You don't need to worry about it very much so far.

Adding the pom.xml below I was using in case you feel it warrants a second check, otherwise please feel free to close the issue.

I haven't checked yet but I guess spring-cloud dependencies may do something extra. There may be an appropriate way for being compatible with those. That said, as implementing adapters for Bot for Java is simple enough, you can safely go with your own implementation 👍  Let me close this issue now.


test(robot): migrate test_backup_volume_list

Which issue(s) this PR fixes:

Issue https://github.com/longhorn/longhorn/issues/8259
What this PR does / why we need it:
migrate test_backup_volume_list
Special notes for your reviewer:
Additional documentation or context

cc @longhorn/qa


SurfaceTool.add_smooth_group() has no effect

Godot version
3.5 a264b68
System information
Manjaro Linux
Issue description
SurfaceTool.add_smooth_group() is supposed to generate smooth normals for the vertices it is called for but it does not have any effect.
I looked into the C++ source code and think I know what is causing the issue. In SurfaceTool.generate_normals() a HashMap is used to find double vertices (ones that are exactly the same) and then add the normals of the double vertices together. This way a vertex on the edge of two faces will get the sum of the normals for both faces as its smoothed normal.
The problem is that the HashMap does not only check for the hash of two objects to be the same but also checks if both objects are the very same object. This is obviously not true for any two vertices since they are separate objects and thus no smooth normals are calculated.
Steps to reproduce

Create a MeshInstance with a script attached
In the script use SurfaceTool to create a mesh and call "name of your SurfaceTool-Object".add_smooth_group(true) before every call to .add_vertex()
use SurfaceTool.generate_normals() to get your normals

Minimal reproduction project
SurfaceTool.zip

I think you're supposed to call add_smooth_group only once, before calling any add_vertex. If you do this you'll get different results in the MRP.

You are right, if you call it once before adding any vertex, you get smoothed normals but calling it for every vertex gets you "hard" normals again...
I do not think this behaviour is correct because it is not documented this way and it also does not really make sense, right? https://docs.godotengine.org/de/stable/classes/class_surfacetool.html#class-surfacetool-method-add-smooth-group
I am very confused now...

I think the documentation could be clearer about this. There are other add_x that are called per vertex, and add_smooth_group method description doesn't really clarify it shouldn't.
What I think happens is that you can't smooth the normals of a group if the group has only one vertex. So you need to call add_smooth_group(true) and then add the vertices. That's why if you call it once before adding any vertex the whole mesh will have smooth normals.
The Procedural Geometry SurfaceTool tutorial does mention add_smooth_group should be called before add_vertex, but the way it's written it can be understood as "Called before add_vertex for every vertex".
Speaking of Procedural Geometry, I just noticed, but only the ArrayMesh class actually has a link to its respective tutorial. SurfaceTool tutorial links to the 3D Voxel Demo on the Asset Library, but not the tutorial, and both ImmediateGeometry and MeshDataTool don't even mention they have tutorials...

Fixed by #68034.


Add Queue [Java] (#509)

Fixes #{ISSUE_NUMBER}
By submitting this pull request I confirm I've read and complied with the below declarations.

[x] I have read the Contribution guidelines and I am confident that my PR reflects them.
[x] I have followed the coding guidelines for this project.
[x] My code follows the skeleton code structure.
[x] This pull request has a descriptive title. For example, Added {Algorithm/DS name} [{Language}], not Update README.md or Added new code.
[x] This pull request will be closed if I fail to update it even once in a continuous time span of 7 days.

Hi! Thanks for showing interest in contributing to this repository.
Please make sure that you have ticked the points mentioned in PR description correctly.
Thanks again!

closing pull request - it contains other commits...


README has not been updated to reflect 0.3.0

Hex lists nerves_neopixel as version 0.3.0 but the README shows configuration with version 0.1.0. 0.3.0 is also not listed under "Releases" for the GitHub repository
It looks like #2 already tries to fix this but specifically points to GitHub which may not be ideal.
It also looks like the examples use the old 0.1.0 and 0.2.0 code (nerves_io_neopixel) and the code has changed quite drastically since then

Thanks for taking the time to point this out. It looks like I missed a few steps when doing the most-recent release. I am already working on cleaning up the NeoPixel example along with all the other examples over on https://github.com/nerves-project/nerves-examples so I'll be sure to get this cleaned up as well.

I finally got around to spending a little time updating this library and the docs should be synced up now!


edit: ignore empty argument

Golang exec.Command() considers empty args as valid/normal arguments to be
passed to the program to operate against.  In the case of a text editor an
empty filepath may causes different actions depending on the one the user
uses, for example: (1) a "new buffer" (nano) or (2) the current path (vim)
are opened for edit.
With that, when the user call "lab mr create" without specifying a file (-F)
the text editor open two files for edit: the "empty file" (triggering an
undefined behavior) and the actual ISSUE_NOTE/MR_NOTE/MERGEREQ.  This patch
adds a conditional to ignore the args passed to the text editor in case it's
empty, avoiding such behavior.
Signed-off-by: Bruno Meneguele<EMAIL_ADDRESS>

With that, when the user call "lab mr create" without specifying a file (-F)
the text editor open two files for edit: the "empty file" (triggering an
undefined behavior) and the actual ISSUE_NOTE/MR_NOTE/MERGEREQ.  This patch
adds a conditional to ignore the args passed to the text editor in case it's
empty, avoiding such behavior.
@bmeneguele -- I just tried this:
'lab mr create'
and
'lab mr create -F'
and cannot reproduce this behaviour.  Can you give me an example of the failing command?

@prarit if you have a GIT_EDITOR (git config core.editor) with some appended args it won't fail, but with a pure and simple nano or vim it should happen. This issue is annoying me for quite some time already, I just noticed the real issue when I, by curiosity, changed the GIT_EDITOR to nano and noticed the "NEW BUFFER" written where it should've been the filepath.

@prarit, for instance:
$ git config core.editor
nano
$ lab mr create

And right after I press ctrl+x to close the file:

The same happens using vim (or nvim), the difference is that it opens the current folder for edit:

Unless I have something configured in a really non-standard way, it happens 100% the time and the patch resolves it.

I wish there was a way to test this. It's been broken a few times now, ie) 3f4e7ba4f6ff ("edit: Fix GIT_EDITOR evaluation").  In any case, WFM.