How to deform the preoperative point cloud to synthesize the intraoperative point cloud?

I have a problem in deforming the source point clouds to get the target point cloud.
I didn't find the part about simulating intraoperative point cloud in your programme. Can you show the specific code for generating intraoperative point cloud from the intraoperative point cloud to me?
I will appreciate it if you can help me.

Hello，you can find the code in the datasets/liver.py

I have read the code in the datasets/liver.py, but I find that you use
tgt_pcd = entry['t_pc']/f_scale
full_tgt_pcd = entry['t_pc_full']/f_scale
What is entry['t_pc'] and what is entry['t_pc_full']?
I think maybe you read the target point clouds directly from a specific file which you have stored the intraoperative point cloud after simualtion.

 def entry2data(self, index, scale=100.0, get_full=False):
        name = self.root_path+self.entries[index]

        with np.load(name, allow_pickle=True) as entry:
            # get transformation
            if 'max_dist' in entry.files:
                max_dist = entry['max_dist']
                f_scale = scale/max_dist
            else:
                f_scale = scale

            rot = entry['rot']
            trans = entry['trans']/f_scale
            s2t_flow = entry['s2t_flow']/f_scale
            src_pcd = entry['s_pc']/f_scale
            tgt_pcd = entry['t_pc']/f_scale
            full_tgt_pcd = entry['t_pc_full']/f_scale
            correspondences = entry['correspondences'] # from simulation
            if 'f_mask' in entry.files:
                f_mask = entry['f_mask']  # anterior face

        # if you want to search corr
        # tsfm = to_tsfm(rot, trans)
        # correspondences = get_correspondences(to_o3d_pcd(src_pcd), to_o3d_pcd(tgt_pcd), tsfm, self.overlap_radius)

        if get_full:
            return full_tgt_pcd, src_pcd, tgt_pcd
        else:
            return rot, trans, s2t_flow, src_pcd, tgt_pcd, correspondences, f_mask, scale

This is the function I think used for getting the intraoperative point cloud from the preoperative point cloud.

Please use the deformation simulation in V2Snet to get the deformed source point cloud.
Then you can do random rigid transformation, crop and adding noise. This part is included in the part.

I have read the code in the datasets/liver.py, but I find that you use
tgt_pcd = entry['t_pc']/f_scale
full_tgt_pcd = entry['t_pc_full']/f_scale
What is entry['t_pc'] and what is entry['t_pc_full']?
I think maybe you read the target point clouds directly from a specific file which you have stored the intraoperative point cloud after simualtion.

Ok，thanks a lot.

By the way, when I use the deformation simulation in V2Snet with my own dataset, do I need to adjust the hyperparameters  of the simulation function? I tried to use the parameters consistent with those in V2Snet's source code, but the simulation deformation failed.

If I need to adjust some hyperparameters of the simulation function in V2Snet, could you tell me which hyperparameters are important and needed to change to fit my own dataset. For example, which hyperparameters are related to the deformation amplitude?

Increasing the zero boundary area size will make the simulation more stable (less failure case). Increasing the force will increase the deformation amplitude.


Github action to build and push docker image on tag

Provided the env DOCKER_USERNAME and DOCKER_PASSWORD have been established as GitHub secrets, this Github workflow will build, tag and push the Dockerfile.testing image to dockerhub.
Note, I've got Dockerfile.testing here on line 21. Maintainers may wish to change this to Dockerfile. The contents are identical at the time of this PR, so I'm not sure what the distinction was mean to be.

@tamirms as discussed would be great if you could take a look at this vs a circle CI auto build mechanism.

We have opted to use Circle CI to publish the quickstart docker image since we have used Circle CI for our other projects. See https://github.com/stellar/docker-stellar-core-horizon/pull/188
I'm closing this PR since it is no longer necessary


Add JobExecutionModeInterceptor to client

Setting the properties genie.client.jobs.execution.embedded or genie.client.jobs.execution.agent to true will force jobs to run in this execution mode on the server.
This is a temporary request interceptor that allows us to deterministically run jobs in environments like testing and for early adopters.

Coverage increased (+0.01%) to 92.565% when pulling 08278890de5376ec59414584fd5c7b5186d93c5b on tgianos:addJobExecutionInterceptor into 5ecff1128721e2815002990501927f563899172e on Netflix:master.


QUESTION : Is NomadBSD rolling release ? How recent are repos/packages ?

I come from using Linux, specifically Arch & Ubuntu.
I moved to arch because I despise not having the latest releases and because I discovered the rolling release style, which I fell in love with.
I am moving to Nomad because I have many temporary computers that keep changing and want to move to a hyper-portable USB-install that runs  on anything x86_64. But I can't really sacrifice the rolling release paradigm , is it the same for NomadBSD 130R-20210508 ?

My own conclusions after research on the FreeBSD handbook + this video by Michael W. Lucas.

Nomad 30R-20210508 is based off of FreeBSD 13-RELEASE

FreeBSD has the following releases : X-RELEASE , X+1-STABLE, X+1-CURRENT. STABLE and CURRENT are rolling release testing branches, i.e, stability is not guaranteed, and especially with CURRENT which is absolutely bleeding edge and things may change strangely at any moment. RELEASE is considered good enough to give to end-users, and only receives security updates in it's lifetime.

You can switch release to CURRENT or STABLE (though it wont be very bright, see below points on packages) by doing this. IMPORTANT : Both the development branches will have to be compiled by you; only RELEASE is available as binaries ( a deal breaker for me).

It would be more ideal to stick to RELEASE. The base system can always be upgraded for security patches like this. When a new STABLE version is released, and when the user has time and feels like it, one can upgrade the base in-place like this. This process is well-implemented so there's little risk of having to reinstall to upgrade versions.

FreeBSD is not like Linux, packages and the base system (kernel, drivers, etc) are different things altogether; pkg doesn't affect the base system.

It is possible to have rolling release base system and packages independently of each other . This allows you to stick to a safe, stable base , with binary builds (which is useful) but still get bleeding edge packages.

To switch to rolling release style packages , one must edit a small text file to change repos from quarterly (default) to latest , see this. This is all I did.


[PB] Simplify disks representation

What changes were proposed in this pull request?
Fix #685
Why are the changes needed?

What are the items that need reviewer attention?
Related issues.
Related pull requests.
How was this patch tested?
/cc @related-reviewer
/assign @main-reviewer

cc @waitinfuture


Add vsite HFE support

Description
Provide a brief description of the PR's purpose here.
Todos
Notable points that this PR has either accomplished or will accomplish.

[ ] TODO 1

Questions

[ ] Question1

Status

[ ] Ready to go

The new tests are quite flaky, likely due to all the changes made to compute them fast. Errors are not to do with vsites though. Also, there's a ton of other tests that fail.


v1.2 Set as Wallpaper doesn't work on Windows 10

I saw this issue mentioned before, but seems like it is still not working, using release 1.2, it just keeps loading.

@soroushchehresa Any update on this issue? is there any work around? Or I am missing something?

This issue is related to the Wallpaper package and it's not related to this application however I updated the package to the latest version and just released a new version (v1.3.0) of this application.

@soroushchehresa thanks for taking a look, however after installed v1.3.0, the issue still not resolved.


Use containerd.io as the source to install containerd not docker

This is a Bug Report

Problem:
The following page uses Docker as the source to install containerd

https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/change-runtime-containerd/#install-containerd

Proposed Solution:
Use containerd.io as the source to install containerd
Page to Update:
https://kubernetes.io/docs/tasks/administer-cluster/migrating-from-dockershim/change-runtime-containerd/#install-containerd

1.24

@reylejano I assume that the motivation here is twofold:

we're suggesting installing containerd from an unofficial source (albeit Docker, Inc did donate containerd)
to avoid readers feeling confused when they come to replace Docker Engine as part of a cluster upgrade

The intent is to get folks into the habit of installing containerd using containerd's resources as opposed to installing from Docker to replace Docker. That's confusing in my view and also going to have the potential for flakier instructions than the project itself.


📚 Linter rules properties: I can't remember the icon labels

Documentation URL
https://biomejs.dev/linter/rules/
Description
At the very top of the page, it explains what each icon means what:

Below the list of rules supported by Biome, divided by group. Here’s a legend of the emojis:

The icon  indicates that the rule is part of the recommended rules.
The icon  indicates that the rule provides a code action (fix) that is safe to apply.
The icon  indicates that the rule provides a code action (fix) that is unsafe to apply.
The icon  indicates that the rule is applied to JavaScript and super languages files.
The icon  indicates that the rule is applied to TypeScript and TSX files.
The icon  indicates that the rule is applied to JSON files.
The icon  indicates that the rule is applied to CSS files.

But this page is too long; scrolling little bit I forgot what  stands for, more scrolling I forgot what  stands for, and after the half of the doc only I can remember was  and . There's no mouseover tooltip in icons, so I have to scroll back to the top.
Expectations
One could be a tooltip, like moving from existing aria-label to title:

  <Icon name="seti:config" />

Or one could be a text label instead of icons, for clear meaning. I think it can be short enough to label as a text.

  Recommended
  Safe fix
  CSS

Code of Conduct

[X] I agree to follow Biome's Code of Conduct

Do you want to send a PR @xnuk ?

No for now. I just wanted to add an idea and ask about which direction you prefer.

I am more incline towards the first approach (which is very similar to the first version we have before having starlight)


[FLINK-4017] [py] Add Aggregation support to Python API

Adds Aggregation support in the Python API accessible through .aggregate() and .agg_and(). (I was unable to use .and() in Python because 'and' is a keyword.)

Thank you for your contribution, I will review this tomorrow :)

Looks good overall. I found 1 big issue, the rest are minor things.

Please write a comment when you update the PR, we don't get any notifications for pushed commits :)

I'll have to try it out to be sure, but i can't a problem looking through the code.

Found a small issue in the documentation, otherwise +1 to merge.

I've addressed the documentation issue, thanks.

merging


Support passing external_id in the secret_access_key for cross-accoun…

Support passing external_id in the secret_access_key for cross-account ECR access

What this PR does / why we need it:
The PR allows passing the external_id which allows a cross-account role to be assumed in case the corresponding role's account requires an external_id to be sent as a request parameter (in order to allow the role to be assumed). This is achieved by passing the secret_access_key / registry_pass variable in this format (separated by a semi-colon) "role_arn;external_id".
Which issue this PR fixes (optional, in fixes #<issue number>)(, fixes #<issue_number, ...) format, will close the issue when PR is merged: fixes #:
Special notes:

@naman thanks for the PR. This is a useful enhancement.

Thanks @naman !


[tool_crash] FileSystemException: Creation failed, OS Error: The system cannot find the file specified., errno = 2

Command
flutter create --template app --overwrite .

Steps to Reproduce

...
...
...

Logs
FileSystemException: Creation failed, OS Error: The system cannot find the file specified.
, errno = 2
#0      _Directory.createSync (dart:io/directory_impl.dart:124:7)
#1      _File.createSync (dart:io/file_impl.dart:303:14)
#2      ForwardingFile.createSync (package:file/src/forwarding/forwarding_file.dart:26:16)
#3      ErrorHandlingFile.createSync.<anonymous closure> (package:flutter_tools/src/base/error_handling_io.dart:282:22)
#4      _runSync (package:flutter_tools/src/base/error_handling_io.dart:587:14)
#5      ErrorHandlingFile.createSync (package:flutter_tools/src/base/error_handling_io.dart:281:5)
#6      Template.render.<anonymous closure> (package:flutter_tools/src/template.dart:321:28)
#7      _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:633:13)
#8      Template.render (package:flutter_tools/src/template.dart:281:24)
#9      CreateBase.renderMerged (package:flutter_tools/src/commands/create_base.dart:483:21)
<asynchronous suspension>
#10     CreateBase.generateApp (package:flutter_tools/src/commands/create_base.dart:506:23)
<asynchronous suspension>
#11     CreateCommand.runCommand (package:flutter_tools/src/commands/create.dart:361:31)
<asynchronous suspension>
#12     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1389:27)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#14     CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#15     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:355:9)
<asynchronous suspension>
#16     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>

[✓] Flutter (Channel stable, 3.19.3, on Microsoft Windows [Version 10.0.22631.3593], locale en-GB)
    • Flutter version 3.19.3 on channel stable at C:\src\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ba39319843 (3 months ago), 2024-03-07 15:22:21 -0600
    • Engine revision 2e4ba9c6fb
    • Dart version 3.3.1
    • DevTools version 2.31.1

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\manso\AppData\Local\Android\sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-b2043.56-10550314)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✗] Visual Studio - develop Windows apps
    ✗ Visual Studio not installed; this is necessary to develop Windows apps.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[✓] Android Studio (version 2023.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-b2043.56-10550314)

[✓] VS Code, 64-bit edition (version 1.89.1)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.90.0

[✓] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22631.3593]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 125.0.6422.142
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 125.0.2535.85

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Flutter Application Metadata
No pubspec in working directory.

Closing this as a duplicate of https://github.com/flutter/flutter/issues/142537


App identified as Intel instead of Universal on an Apple silicon machine

I just downloaded 1.3.2d1, but after unpacking it, it indicated it was for Intel after doing a Get Info, versus a Universal build. I haven't tested it since I have nothing on my M1 system that uses Rosetta 2.

try it again rebuilt this morning with active architecture only off and it is slightly larger

So on Monterey 12.6.3, this build works (via right-click open), but the UI is screwed up, please see the attachments. Knowing to type in my login blindly and then hitting the tab to the password field, I was able to get Hermes working on a silicon M1 ARM64 Mac.

The other UI problem is within Settings where Network won't fit into the window.
The last challenge is that the Hermes version 1.3.2d1 (2059) opens on top of other windows in Monterey (correctly), but does not on Sonoma 14.6.1 (Apple silicon). I have to close a mess of windows and find Hermes behind everything else.

For the first one you can turn off the toolbar buttons in the menu to see it.
For the second you should be able to drag the window to see the toolbar.
I will try to fix these but the first one will take some time because they changed the window handling in the four years since the past version. As far as I know this is the only fork that has been built to arm.


Broken Pipe Exception on Parity Client

I have a web application deployed on Tomcat 8.5.29. The web application communicates with the Parity system, running on the same machine using Parity Client. This works perfectly fine on a local setup but fails on the cloud. I am getting a Broken Pipe Exception from the Parity Client.
sending data to parity server
Uhh ohh!!.. something went wrong !!
 after removing the bad connection--- null
java.io.IOException: Broken pipe
	at sun.nio.ch.FileDispatcherImpl.writev0(Native Method)
	at sun.nio.ch.SocketDispatcher.writev(SocketDispatcher.java:51)
	at sun.nio.ch.IOUtil.write(IOUtil.java:148)
	at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:504)
	at java.nio.channels.SocketChannel.write(SocketChannel.java:502)
	at com.paritytrading.nassau.soupbintcp.SoupBinTCPSession.send(SoupBinTCPSession.java:196)
	at com.paritytrading.nassau.soupbintcp.SoupBinTCPClient.send(SoupBinTCPClient.java:118)
	at com.paritytrading.parity.pojo.ColodaxOrderEntry.send(ColodaxOrderEntry.java:180)
	at com.paritytrading.parity.client.command.WebEnterCommand.execute(WebEnterCommand.java:57)
	at com.paritytrading.parity.client.command.WebEnterCommand.execute(WebEnterCommand.java:38)

Is there any configuration that I am missing?
Thanks for help in advance.

Hi @SachinSPawar! Did you figure this one out? Based on the description, it sounds like an issue in the networking configuration in the cloud environment rather than a Parity issue.

@jvirtanen , The issue was due to changes we had made on top of parity client.

Alright! Thank you for the update. 👍


Need to update the warning message for Notificaiton Marked as Read.

Describe the bug
Need to update the warning message for Notificaiton Marked as Read. Currently we can see that the warning message is inappropriate.
To Reproduce
Steps to reproduce the behavior:

Go to Admin -> Notifications at Top Right.
Click on Mark as Read.

Expected behavior
We need the message to be updated -> Notification has been marked as read."
Screenshots

Checked and found that the warning message has been updated.
https://prnt.sc/izbSqiheuY6O
https://prnt.sc/TZzxZZF41s-2


nwjs: 0.89.0 -> 0.90.0

Description of changes
Supersedes #331284
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

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

10 packages built:

betaflight-configurator
emuflight-configurator
gridtracker
inav-configurator
nwjs
nwjs-sdk
onlykey
pinegrow
pinegrow6
popcorntime


Default Reducer not updating the store

This is a...

[ ] feature request
[x] bug report
[ ] usage question

What toolchain are you using for transpilation/bundling?

[ ] @angular/cli
[x] Custom @ngTools/webpack
[ ] Raw ngc
[ ] SystemJS
[ ] Rollup
[ ] Other

Environment
NodeJS Version: 8.1.1
Typescript Version: 2.3.4
Angular Version: 4.1.2
@angular-redux/store version: 7.1.1
@angular/cli version: (if applicable)
OS: OSX
Link to repo showing the issus
(optional, but helps a lot)
Expected Behaviour:
Input field on change should update the corresponding value in the redux store.
Actual Behaviour:
Input field value doesn't change on keystroke, as it's bound to the store which is not updating.
Stack Trace/Error Message:
Additional Notes:
Just need some help please. Any idea where the problem could be?
<form [connect]="['advertiser', 'campaign', 'campaign']">
    <div class="input-container">
        <input
            ngControl
            ngModel
            class="form-control"
            type="text"
            name="name">
    </div>
</form>

1: The input field shows the value coming from the redux store, so the path is good.
2: On keydown, I can see the action firing in the devtools, payload looks fine.
3. When I inspect State.assign in state.js, state, path, and value arguments look fine but for some reason, the state doesn't get updated. Sorry I can't show repo, but maybe someone has any idea what I'm missing.
Thank you.

I found the issue.
The problem was that I have campaign / campaign in the path I want to access and library doesn't handle that properly. I marked it now as a bug.
This:
https://github.com/angular-redux/form/blob/master/source/state.ts#L44
...indexOf will always find the first one.

@krisvegh So did it work when you renamed one of the 'campaign'?

@maplion Yes, it did.

This is still a bug


Country: Display the most recent contract date instead of the updated date

What's relevant to the user is not when we uploaded new data, but how fresh the data is.
cc @yolile

I just noticed this date is actually the date when COVID cases/deaths were last updated, which is not clear, and this is not the most relevant "last updated" date.
cc @VTarnay1


Document examples of querying parquet files with Spark SQL

Focus on dealing with nested data

https://github.com/google/fhir-data-pipes/wiki/Analytics-on-a-single-machine-using-Docker#best-practices-for-querying-exported-parquet-files


will download again after the package is downloaded.

after have downloaded the source package.
by
nvm install -s v0.12.4
if you execute
nvm install -s v0.12.4
agagin, the package will be downloaded again.

Duplicate of #72.


MJML HERO is not taken account within Laposte’s webmail

Describe the bug
Through https://webmail.laposte.net/, the background image of the MJML hero component is not displayed: the fallback background color is visible instead.

Apparently, this webmail is overwritten the default background property (see screenshot).

Is a hack possible to avoid this?
To Reproduce
Steps to reproduce the behavior:

Create or use a French La Poste’s account here: https://www.laposte.net/accueil
Send an HTML with the hero component

MJML environment :

OS: Window
MJML Version 4.2.0
MJML tool used : MJML visual Studio Plugin

Affected email clients :

Email Client : https://webmail.laposte.net/,
OS:. Windows
Browser : Google Chrome

Well as laposte clearly mess with background property I don't think we can support it :/


chore: add protobuf dependency

discovered that you can't use the compiler unless we've also installed protobuf (which, you know, makes sense)

Thank you!

hmm nbd but this now a breaking change

What breaks?

adding a new dependency is by definition a breaking change


Update CSIMigration state in volumes.md

This PR updates CSIMigration feature state of openstack cinder

Page preview:
https://deploy-preview-20907--kubernetes-io-master-staging.netlify.app/docs/concepts/storage/volumes/

@ramineni . Changes look good.
/lgtm

Thanks!
/approve


[BUG]unable to create longhorn engine pods

Describe the bug
unable to create longhorn engine pods; kubernetes cannot create overlay, thus the environment which being deployed on doesn't have internet connection.
To Reproduce
Steps to reproduce the behavior:

Go to kubernetes manager
Deploy longhorn yaml
kubectl describe -n longhorn-system the engine pod
See error

Expected behavior
the engine pod will have the following response CreateContainerError
Log
this is the logs which belong to the longhorn engine:
Error: Error response from daemon: error creating overlay mount to /var/lib/docker/overlay2/7320279a22646429ee6511fb8214e8c6544adf5e5b9bdcded658afc348f52e07-init/merged: no such file or directory
Warning  Failed     23m                  kubelet, worker06  Error: Error response from daemon: error creating overlay mount to /var/lib/docker/overlay2/9267c223f9275a5d960e3373937b911cb282c2e0434cfeb80017fd4aab026dd5-init/merged: no such file or directory
Warning  Failed     23m                  kubelet, worker06  Error: Error response from daemon: error creating overlay mount to /var/lib/docker/overlay2/1a6813d8cc04707d05d843a52eeefc38837c9dcd3ca9d8cc05c536fd0f7040b8-init/merged: no such file or directory
Warning  Failed     23m                  kubelet, worker06  Error: Error response from daemon: error creating overlay mount to /var/lib/docker/overlay2/f9cc69f3c2b4c0522276decef39cc42a40e2fa79c079e6106306ab5f32a528ee-init/merged: no such file or directory
Warning  Failed     22m                  kubelet, worker06  Error: Error response from daemon: error creating overlay mount to /var/lib/docker/overlay2/60ca10464107bdb7ae8a7a3bc3f93ebdbb85796cc22956e8b99ec627d3e53625-init/merged: no such file or directory
Warning  Failed     22m                  kubelet, worker06  Error: Error response from daemon: error creating overlay mount to /var/lib/docker/overlay2/4d4a1d421136b73cdb5ddac311a578834b71bd7b42a8dcd037b846087ca8d2e5-init/merged: no such file or directory
Warning  Failed     22m                  kubelet, worker06  Error: Error response from daemon: error creating overlay mount to /var/lib/docker/overlay2/1bbc14cf2ce4859cb8dc341180b7bff9c80012a847390d2df42fdf2a8633ebbf-init/merged: no such file or directory
Normal   Pulled     22m (x8 over 23m)    kubelet, worker06  Successfully pulled image "registry/longhorn-engine:v0.8.0"
Warning  Failed     22m                  kubelet, worker06  Error: Error response from daemon: error creating overlay mount to /var/lib/docker/overlay2/20a413c40f0681547d1ee84928afde795a73db856010ec63e38ff70295e7a6f1-init/merged: no such file or directory
Normal   Pulling    3m4s (x95 over 23m)  kubelet, worker06  Pulling image "registry/longhorn-engine:v0.8.0"
this is the log which belongs to the instance manager:
tgtd: iser_ib_init(3431) Failed to initialize RDMA; load kernel modules?
tgtd: work_timer_start(146) use timer_fd based scheduler
tgtd: bs_init(387) use signalfd notification
time="2020-03-19T04:58:21Z" level=info msg="Storing process logs at path: /var/log/instances"
[longhorn-instance-manager] time="2020-03-19T04:58:21Z" level=info msg="Instance Manager listening to <IP_ADDRESS>:8500"
[longhorn-instance-manager] time="2020-03-19T05:00:15Z" level=debug msg="started new process manager update watch"
[longhorn-instance-manager] time="2020-03-19T05:05:39Z" level=debug msg="started new process manager update watch"
[longhorn-instance-manager] time="2020-03-19T05:13:35Z" level=debug msg="started new process manager update watch"
this is the log which belongs to the Longhorn manager:
time="2020-03-19T05:15:14Z" level=info msg="Start overwriting built-in settings with customized values"
time="2020-03-19T05:15:14Z" level=info msg="cannot list the content of the src directory /var/lib/rancher/longhorn/engine-binaries for the copy, will do nothing: Failed to execute: nsenter [--mount=/host/proc/135725/ns/mnt --net=/host/proc/135725/ns/net bash -c ls /var/lib/rancher/longhorn/engine-binaries/], output ls: cannot access '/var/lib/rancher/longhorn/engine-binaries/': No such file or directory\n, error exit status 2"
time="2020-03-19T05:15:14Z" level=info msg="New upgrade leader elected: worker06"
time="2020-03-19T05:15:36Z" level=info msg="Start the APIVersion upgrade process"
time="2020-03-19T05:15:36Z" level=info msg="No upgrade is needed"
time="2020-03-19T05:15:36Z" level=info msg="Upgrade APIVersion completed"
time="2020-03-19T05:15:36Z" level=info msg="Start the instance managers upgrade process"
time="2020-03-19T05:15:36Z" level=info msg="Upgrade instance managers completed"
E0319 05:15:36.829610       1 leaderelection.go:282] Failed to release lock: Lease.coordination.k8s.io "longhorn-manager-upgrade-lock" is invalid: spec.leaseDurationSeconds: Invalid value: 0: must be greater than 0
time="2020-03-19T05:15:36Z" level=info msg="Upgrade leader lost: worker03"
time="2020-03-19T05:15:36Z" level=info msg="Start Longhorn engine controller"
time="2020-03-19T05:15:36Z" level=info msg="Start Longhorn node controller"
time="2020-03-19T05:15:36Z" level=debug msg="Waiting for engine image registry/longhorn-engine:v0.8.0 to be ready"
time="2020-03-19T05:15:36Z" level=info msg="Start Longhorn Setting controller"
time="2020-03-19T05:15:36Z" level=info msg="Start Longhorn volume controller"
time="2020-03-19T05:15:36Z" level=info msg="Start Longhorn websocket controller"
time="2020-03-19T05:15:36Z" level=info msg="Starting Longhorn instance manager controller"
time="2020-03-19T05:15:36Z" level=info msg="Start kubernetes controller"
time="2020-03-19T05:15:36Z" level=info msg="Start Longhorn Engine Image controller"
time="2020-03-19T05:15:36Z" level=info msg="Start Longhorn replica controller"
time="2020-03-19T05:15:37Z" level=debug msg="Start monitoring instance manager instance-manager-r-b5b78ee7"
time="2020-03-19T05:15:37Z" level=debug msg="Start monitoring instance manager instance-manager-e-2fc198a1"
time="2020-03-19T05:15:42Z" level=debug msg="Waiting for engine image registry/longhorn-engine:v0.8.0 to be ready"
time="2020-03-19T05:15:44Z" level=debug msg="Failed to check for the latest upgrade: Post https://longhorn-upgrade-responder.rancher.io/v1/checkupgrade: dial tcp: lookup longhorn-upgrade-responder.rancher.io on <IP_ADDRESS>:53: read udp <IP_ADDRESS>:39357-><IP_ADDRESS>:53: i/o timeout"
time="2020-03-19T05:15:48Z" level=debug msg="Waiting for engine image registry/longhorn-engine:v0.8.0 to be ready"
time="2020-03-19T05:15:54Z" level=debug msg="Waiting for engine image registry/longhorn-engine:v0.8.0 to be ready"
time="2020-03-19T05:16:00Z" level=debug msg="Waiting for engine image registry/longhorn-engine:v0.8.0 to be ready"
time="2020-03-19T05:16:06Z" level=debug msg="Waiting for engine image registry/longhorn-engine:v0.8.0 to be ready"
time="2020-03-19T05:16:12Z" level=debug msg="Waiting for engine image registry/longhorn-engine:v0.8.0 to be ready"
time="2020-03-19T05:16:18Z" level=debug msg="Waiting for engine image registry/longhorn-engine:v0.8.0 to be ready"
time="2020-03-19T05:16:24Z" level=debug msg="Waiting for engine image registry/longhorn-engine:v0.8.0 to be ready"
time="2020-03-19T05:16:30Z" level=debug msg="Waiting for engine image registry/longhorn-engine:v0.8.0 to be ready"
time="2020-03-19T05:16:36Z" level=debug msg="Waiting for engine image registry/longhorn-engine:v0.8.0 to be ready"
time="2020-03-19T05:16:42Z" level=debug msg="Waiting for engine image registry/longhorn-engine:v0.8.0 to be ready"
time="2020-03-19T05:16:48Z" level=debug msg="Waiting for engine image registry/longhorn-engine:v0.8.0 to be ready"
time="2020-03-19T05:16:54Z" level=debug msg="Waiting for engine image registry/longhorn-engine:v0.8.0 to be ready"
time="2020-03-19T05:17:00Z" level=debug msg="Waiting for engine image registry/longhorn-engine:v0.8.0 to be ready"
time="2020-03-19T05:17:06Z" level=debug msg="Waiting for engine image registry/longhorn-engine:v0.8.0 to be ready"
time="2020-03-19T05:17:12Z" level=debug msg="Waiting for engine image registry/longhorn-engine:v0.8.0 to be ready"
time="2020-03-19T05:17:18Z" level=debug msg="Waiting for engine image registry/longhorn-engine:v0.8.0 to be ready"
time="2020-03-19T05:17:24Z" level=debug msg="Waiting for engine image registry/longhorn-engine:v0.8.0 to be ready"
time="2020-03-19T05:17:30Z" level=debug msg="Waiting for engine image registry/longhorn-engine:v0.8.0 to be ready"
time="2020-03-19T05:17:36Z" level=fatal msg="Error starting manager: failed to wait for engine image registry/longhorn-engine:v0.8.0: Wait for engine image registry/longhorn-engine:v0.8.0 timed out"
Environment:

Longhorn version: 0.8
Kubernetes version: 1.16.2
Node OS type and version: ubuntu 16.0.4
Docker verison: 18.09.1
Additional context
Add any other context about the problem here.

@HKMglicks This looks like a Docker issue, e.g. https://github.com/docker/for-mac/issues/1396 . Did you hit this on all the nodes?

@yasker yes we encountered this issue on all nodes when deploying the longhorn engine only within a none internet environment

we have tested to create an overlay with other application; they been working fine expect for longhorn engine @yasker

I noticed you're using a private registry.
Can you try longhornio/longhorn-engine:v0.8.0 instead?
Also, might see if
docker run -it longhornio/longhorn-engine:v0.8.0 bash

And
docker run -it registry/longhorn-engine:v0.8.0 bash

works.

@yasker i tried to both commands and the problem which is occurring is the same
error response from daemon: error creating overlay mount to  "/var/lib/docker/overlay2/1bbc14cf2ce4859cb8dc341180b7bff9c80012a847390d2df42fdf2a8633ebbf-init/merged: no such file or directory"

There is either something wrong with your docker or your private images. The command should work since it's just a normal Docker image.

after bringing down and deleting the images and upgrading the images again in the private repository the overlay is created thanks for your help @yasker


Update environment: pin iris>=3.11, unpin cartopy and allow for numpy >=2

Description

We are now using iris=3.11 which is what we need to be able to unpin cartopy, see @schlunma 's comment https://github.com/ESMValGroup/ESMValTool/issues/3769#issuecomment-2456938359
to not risk getting cartopy==0.24 with an older iris eg iris==3.10, and hence get the bug we pinned cartopy for in the first place, we should pin iris>=3.11
iris==3.11 works well with numpy>=2 so we remove the upper pin in our own environment; note, however, that numpy2 is not yet available to us, due to ncl (that holds esmpy from going past 8.6, and makes us keep that silly importlib_metadata<8 pin, see https://github.com/ESMValGroup/ESMValTool/issues/3699)

Closes #3769
Contributes to https://github.com/ESMValGroup/ESMValTool/issues/3812

Before you get started

[x] ☝ Create an issue to discuss what you are going to do

Checklist
It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.

[x] 🛠 This pull request has a descriptive title
[x] 🛠 Any changed dependencies have been added or removed correctly
[x] 🛠 All checks below this pull request were successful

cheers for the review, Manu :beer:


Deprecate MachAr (support NumPy 1.22)

Test with NumPy 1.22.0rc1 failed:
https://ci.preferred.jp/cupy.linux.cuda-head/87655/
This is because np.MachAr has been deprecated (https://github.com/numpy/numpy/pull/20201)

/test mini

OK to backport this because v10 also requires Python >= 3.7.


Release Google.Cloud.OsLogin.V1Beta version 3.0.0-beta05

Changes in this release:
New features

Location-based HTTP binding for SignSshPublicKey (commit ff031f2)

Created release for Google.Cloud.OsLogin.V1Beta-3.0.0-beta05


Parse anonymous user does not persist when session expires

My ios users seem to get logged out when a session ends. How do I upgrade a session?

Hey @bvallelunga, thanks for the report.
Not sure I understand the problem here, can you describe the flow that you are seeing, with what you expect and what happens?
The sessions are automatically revoked after 1 year of inactivity, which probably is not what happens here. The only other way where a session gets revoked is when the user explicitly logs out (aka PFUser.logOut().

I found out what the problem was. The session tokens were getting rejected because they were not revokable tokens. I turned revokable tokens off in Parse and it fixed everything.

:) Not sure if helped, but am glad you found the solution.


Remove channel_impl from futures-sink

Add an optional sink feature to futures-channel that implements Sink
for the mpsc channel.
Closes #1700

The reversed dependency here was intentional-- my feeling was that the Sink trait is less stable than the interface exposed by the channel types, so by keeping channels as a dependency of Sink rather than the other way around, we make it possible for libraries to expose channels in their public APIs while still upgrading the version of the Sink trait they use.

i'm not terribly strongly attached to this approach, though, so if you feel there's strong motivation for doing it this way I'm happy to discuss.

I get that. As mentioned in #1700, there can be use-cases that want to implement or use Sink but don't need the channel crate. This just one option for solving it. If new versions of Sink are made, a new optional feature could be added.

An alternative approach would be to make the channel impls and the dependency on channels optionally gated on a feature flag in the Sink crate.

Yea, I can do the other option if others prefer it. If there's no preference, I find this way a little cleaner 🤷♂

I personally find this approach a bit easier to approach and reason about. I say go with this version.

SG, will merge once travis is happy.


Need to build PETSc and PETSc4py from MAPDES repo

They are currently hard-coded for tar files on-disk.

They are now building from the official releases, as of the merge of #8.


importing bbio causes immediate segfault

I've got a Beaglebone Black, freshly installed with Ubuntu 14.04.3 (kernel 4.1.13-ti-r36), and I've downloaded this repository and run the doinstall.sh script to install the library. Whenever I attempt to run any of the examples, they do nothing, and adding in print statements to check operation produces no output. If I load up an interactive python session, and attempt to use the library, I get the following behavior:
root@luggage:~# python
Python 2.7.6 (default, Jun 22 2015, 18:31:26)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import bbio
Segmentation fault
root@luggage:~# python
Python 2.7.6 (default, Jun 22 2015, 18:31:26)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from bbio import *
Segmentation fault

I've tried running it as a normal user as well, to no avail. Is there a step I'm missing to get the library up and running?

That's because PyBBIO doesn't support 4.x kernels yet, but it's in the works.
You could try downgrading to 3.8, though I'm not sure how to do that on the Ubuntu image (I mainly just target the official BeagleBoard.org Debian images).
If you're not attached to Ubuntu and 4.x you could also load the Debian 7.9 image, which has the 3.8 kernel, from here: http://beagleboard.org/latest-images

I need Ubuntu in order to be able to interface with ROS - I was hoping to use a more modern kernel, since we've had a lot of trouble with older kernels (I was in the process of attempting to get a working system with a newer kernel.) I know how to downgrade the kernel, so I can give that a shot as well.

OK, that would be good to confirm things are still working on Ubuntu with 3.8 (you shouldn't have any trouble with that...).
The best case ETA for 4.x support would be within the next week as I'll have some time to work on it, though that's assuming no big, unforeseen issues emerge.

I'm running into the same issue. Any progress?

Same problem on Debian 8.3 -- is this still being actively developed?

@patrmccormack I'm working on it when I can - you can track the progress (or help out) here: https://github.com/graycatlabs/PyBBIO/milestones/4.1 kernel support

Thanks Alex
I'll be delivering this project in two weeks time. From 27th May I'll have
some time to spare and would be happy to help.
Pat
“A goal without a plan is just a wish.”
― Antoine de Saint-Exupéry
http://www.goodreads.com/author/show/1020792.Antoine_de_Saint_Exup_ry
On 26 April 2016 at 04:52, Alex Hiam<EMAIL_ADDRESS>wrote:

@patrmccormack https://github.com/patrmccormack I'm working on it when
I can - you can track the progress (or help out) here:
https://github.com/graycatlabs/PyBBIO/milestones/4.1 kernel support
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/graycatlabs/PyBBIO/issues/93#issuecomment-214604295

Any chance this can still be completed? I'm interested in this, and when I run the bbio import I also get an immediate segfault


Message notifications appear, but no messages to be found

Describe the bug
It appears I keep receiving notifications in chat messages in the client, but I can't see the message.
To Reproduce
Try to have a conversation with someone, especially PMs but also Aeolus doesn't appear to always update.
Log or error message
There are no logs that indicate something went wrong. I get a Windows notification (the red little circle with a number in it), I sometimes even hear a sound but then there's ... nothing. Sometimes someone sends me a message, the private chat tab is open but there's no message.
OS
Windows

As an example while being idle all day, they're all empty but the chats exist

I've received messages in Discord about the same bug, so it is not just me.

Yeah I have the same problem, Has been around for at least a week as well

Also note this, maybe relevant(?) correlation with the wird behavior when closing the client:
https://github.com/FAForever/downlords-faf-client/issues/3016#issuecomment-1656281931

Soo, had some time today to debug this a bit with @Garanas and Man_on_the_Moon.
In short: Not everyone seems to be effected by the bug in the same way. Some people, like @Garanas, Mize and me have the first (or more) messages we get sent by anyone vanish. Some others seem, like Man_on_the_Moon, seem(?) to have the chat working correctly for everyone, but people like the first group, and if they chat with them they have the same vanishing message problem. I'm not certain that these two groups truly experience different client behavior though, could be other factors explaining it.
The bug is very easy to reproduce though: Open a new chat with someone you haven't chatted this session yet, send them a message, and they'll have the chat window open but no message shown, exactly as jip describes above. In fact, if you send the first couple messages fast enough, you can even make more than one message disappear. Here for example I sent Jip the first msg twice and neither was shown to him:

It appears that the "vanishing" messages do actually arrive normally, as the message notification sound plays and the message preview of the content gets shown correctly too (most of the time?). Just the display of the messages in the chat window seems to be broken.
Some more testing with Man_on_the_Moon demonstrated that the bug is present in the 2023.6.0 and the 2023.7.0 versions of the client, but does not seem to exist in the 2023.5.0 version.
Specifically, it seems that if you are on the 2023.5.0 version you can recieve messages perfectly fine but if messages you send appear for the other person depends their client version.
I'm not 100% on the 2023.5.0 actually not having this bug as I haven't tested it often enough and with enough people, but it seems to be promising. The release of 2023.6.0 possibly introducing the bug would also fit the time frame of the bug appearing "a couple weeks ago".
Some screenshots:
Sending messages from 2023.5.0 (CheeseBerry) to 2023.7.0 (Man_on_the_Moon) doesn't work, the first "x" message is missing:

This is reproducible:

Sending messages from 2023.7.0 (Man_on_the_Moon) to 2023.5.0 (CheeseBerry) does work, all 7 messages arrived:

After Man_on_the_Moon downgraded to 2023.5.0 as well, both sending and receiving messages works in both directions:

@Garanas Could you downgrade to 2023.5.0 as well and see if that fixes it for you?

Well so much for that approach xd

Should be fixed in 2023.7.1


show loading bar only on real loading

Created this issue after discussion on #156.
Show the loading bar only when a actual request is made, to avoid confusion for the user.

Will be remove with #439


[AOT] Icon + oobe

Summary of the Pull Request
This PR adds some missing images (icons and screenshots) and a minor revamp to OOBE and Settings UI
OOBE

Settings

@SeraphimaZ FYI
Quality Checklist

[ ] Linked issue: #xxx
[ ] Communication: I've discussed this with core contributors in the issue.
[ ] Tests: Added/updated and all pass
[ ] Installer: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Docs: Added/ updated
[ ] Binaries: Any new files are added to WXS / YML

[ ] No new binaries
[ ] YML for signing for new binaries
[ ] WXS for installer for new binaries

Contributor License Agreement (CLA)
A CLA must be signed. If not, go over here and sign the CLA.

@htcfreek Thanks for the comments. I'll fix those in the coming days.

@htcfreek Made some minor changes on the text based on your feedback. Swapped some of the settings around as well. @SeraphimaZ Feel free to merge this into your branch if you approve!

@niels9001
LGTM. Small nit: Comment is missing on enable string.


Trying to install grafanalib to build dashboard

What did you do?
$ pip install -r requirements.txt
Downloading/unpacking<EMAIL_ADDRESS>(from -r requirements.txt (line 1))
  Cloning https://github.com/aknuds1/grafanalib.git (to v0.4.0) to /tmp/pip-uaILR_-build
  Running setup.py (path:/tmp/pip-uaILR_-build/setup.py) egg_info for package from<EMAIL_ADDRESS>
Downloading/unpacking attrs (from grafanalib==0.4.0->-r requirements.txt (line 1))
  Downloading attrs-17.3.0-py2.py3-none-any.whl
Installing collected packages: attrs, grafanalib
  Running setup.py install for grafanalib
      File "/usr/local/lib/python2.7/dist-packages/grafanalib/core.py", line 455
        return {**_as_dict(self), **{
                 ^
    SyntaxError: invalid syntax

    Installing generate-dashboard script to /usr/local/bin
    Installing generate-dashboards script to /usr/local/bin
Successfully installed attrs grafanalib

What did you expect to see?
No error msg
What did you see instead? Under which circumstances?
Syntax error msg
Environment
Ubuntu 16.04

Kubernetes version information:

Kubernetes cluster kind:

Manifests:

Prometheus Operator Logs:

I seemed to get further, but now I have more questions, shouldn't requirments.txt be fed to the docker container?
docker run --rm -it --workdir /data -v /shadycuz_k8_repos/kubeprometheus:/data coreos/generate-prometheus-operator-manifests ./hack/scripts/generate-manifests.sh
the input device is not a TTY


how to copy source, not binaries, and compile source

are there instructions on how to copy the source from the image and compile it? if I use:

COPY --from=oracle_build /usr/local/oracle /usr/local/oracle

those are the binaries right? how can I copy the source and compile?

update: this is more accurate on where the files are located in the image:
COPY --from=oracle_client_build /usr/lib/oracle /usr/lib/oracle
COPY --from=oracle_client_build /usr/share/oracle /usr/share/oracle
COPY --from=oracle_client_build /usr/include/oracle /usr/include/oracle

The source of what? There are no sources in our images, so if you added sources, you should know where they are.

Right, so is there an image where we can get the sources for oracle, and compile them easily? We may want to compile different depending on the target platform, right? Or are these binaries guaranteed to run on any *nix flavor?

The Oracle Instant Client is not open source and as such, we don't release the source code for the client library, just the binaries. I'm going to assign this question across to @cjbj who can answer the second question about binary compatibility.

Binaries are platform specific and match the Oracle DB releases.
Platforms are shown at https://www.oracle.com/technetwork/database/database-technologies/instant-client/downloads/index.html
You'll need to distribute Instant Client (per the license - IANAL) for the target platforms or get your end users to install them.


add support for csv export

need new option --csv to export elements as csv lines. additionally, add --csv-headers option to print out a header line.

This feature and issue #66 should be handled at https://github.com/bgpkit/bgp-models crate.

After further consideration, I decided that this feature is not necessary. Especially considering comma may have conflicts when ASSet is present.


Remove Settings title from Menu header

The "Settings" screen is no longer just for settings. The "Settings" label is misleading. Please change to "Menu".
Also change accessibility label of "hamburger menu" to "Menu"

!
Screenshot 2023-04-24 at 11.29.27 AM.png

Perfect


ReferenceError: _ is not defined

It looks like houston is trying to build the set of fields; the funny thing is that it was working fine before.
W20150910-21:11:35.366(8)? (STDERR) ReferenceError: _ is not defined
W20150910-21:11:35.367(8)? (STDERR)     at find_fields (packages/houston:admin/lib/shared.coffee:21:5)
W20150910-21:11:35.367(8)? (STDERR)     at Object.Houston._get_fields (packages/houston:admin/lib/shared.coffee:37:5)
W20150910-21:11:35.367(8)? (STDERR)     at Object.Houston._get_fields_from_collection (packages/houston:admin/lib/shared.coffee:15:11)
W20150910-21:11:35.367(8)? (STDERR)     at Object.Houston._setup_collection (packages/houston:admin/server/publications.coffee:40:20)
W20150910-21:11:35.367(8)? (STDERR)     at Object.Houston.add_collection (packages/houston:admin/server/exports.coffee:8:11)

I cleared out the collection it was referring to, and the error went away (temporarily). Here's the data that was in there, only 4 records and none of it interesting:
[
  {
    "_id": "y9n6Rmr9cjJ5uYFut",
    "ProjectName": "Saved 1",
    "ProjectNumber": "Proj 1",
    "PersonReporting": "Mike Cunneen",
    "Date": "2015-09-10",
    "TimeFrom": "14:00",
    "TimeUntil": "16:31",
    "Tasks": [],
    "Description": "",
    "Comments": "",
    "userId": "JxGhsn2wRkvNDcjhp",
    "incomplete": false
  },
  {
    "_id": "J4vpWhPpieYNR9GnE",
    "ProjectName": "Project 4",
    "ProjectNumber": "Project Number 4",
    "PersonReporting": "Mike Cunneen",
    "Date": "2015-09-10",
    "TimeFrom": "",
    "TimeUntil": "17:36",
    "Tasks": [],
    "Description": "",
    "Comments": "",
    "userId": "JxGhsn2wRkvNDcjhp",
    "incomplete": true
  },
  {
    "_id": "wmaWy5peZcHp9xYTt",
    "ProjectName": "Hi Wendy",
    "ProjectNumber": "",
    "PersonReporting": "Mike Cunneen",
    "Date": "2015-09-10",
    "TimeFrom": "",
    "TimeUntil": "19:26",
    "Tasks": [],
    "Description": "",
    "Comments": "",
    "userId": "JxGhsn2wRkvNDcjhp",
    "incomplete": true
  },
  {
    "_id": "ccvmSwgXTiWtq2pky",
    "ProjectName": "Project 3",
    "ProjectNumber": "Project Number 3",
    "PersonReporting": "Mike Cunneen",
    "Date": "2015-09-10",
    "TimeFrom": "",
    "TimeUntil": "17:36",
    "Tasks": [],
    "Description": "",
    "Comments": "",
    "userId": "JxGhsn2wRkvNDcjhp",
    "incomplete": true
  }
]

If I insert that first record back in, it collapses again. Here's the code:
JutoCollections.MaintenanceDailyReports = new Mongo.Collection('MaintenanceDailyReports');
Ground.Collection(JutoCollections.MaintenanceDailyReports);
Houston.add_collection(JutoCollections.MaintenanceDailyReports);

(I tried commenting the second line, same result).

Hi,
I was getting same error when i tried to use houston in package. When it's "in app" (installed in ./.meteor/packages) - it works fine, no errors thrown. If i create a custom package (in special meteor folder ./packages/*) for admin related stuff and import there this package - it throws error described in this issue. Maybe that will be helpful to fix this bug :)

I've got the same issue when trying to add the two following collections. My app is separated into different packages.
Houston.add_collection(Meteor.users);
Houston.add_collection(Houston._admins);

+1 even we got this problem the moment we moved Houston to a separate package..

Houston is dependent on Underscore, but doesn't explicitly declare that use in its package.js file. In my project features are organized by sub packages. These packages depend on my core package which exports underscorejs.
As other commenters have stated, if you include Houston as part of a sub package the ReferenceError crops in.
The solution is to add an explicit dependency for Houston in its package.js file for UnderscoreJS. I've forked the project and added:
<EMAIL_ADDRESS>['client', 'server']);
to the Meteor provided packages block (line 23 in v2.0.6) in the package.js file, and this has solved the ReferenceError for me.

Made a pull request with my simple fix. #371

I published the update. Let me know if there are any more issues with this.

I'll test it out today, and let you know if I find anything.

Works as expected. Thanks for the quick merge and update!


QOL improvements? colormap inversion + zoom out support

1.) Allow inversion of colormaps as in ncview. Beneficial when you prefer a colormap but the relative scaling of the variable is inverted. An example of this is FLUT and the gray colormap -- for satellite images, lower OLR (brightness T) is generally colored white. but the current scaling sets white as the maximum of the range. This should be pretty easy in GenerateColorMap (something like std::reverse?).
2.) Double clicking allows zooming in, is there a way to allow zooming out? ncview has the ability to pan, although I generally find that far less useful than zoom out/recenter. This doesn't necessarily need to be a mouse/keyboard shortcut -- I assume a double click on zoom in "locks" a central ncol, that value can just be re-used with a zoom out button in the GUI (i.e., zoom out centered on the most recent "zoom in centroid?")
If I'm missing something, maybe making it more obvious would be helpful (for me... I mean, "other users" :)

Color map invert button added in commit 077d5ac


Does not support typescript

Environment
Using react-native-web unfortunately so can't get diagnostics.

Description
Component explodes app with this error:
<EMAIL_ADDRESS>SyntaxError<EMAIL_ADDRESS>Unexpected token (17:12)

  15 | const RCTSliderNativeComponent = require('./RNCSliderNativeComponent');
  16 |
> 17 | import type {NativeComponent} from 'react-native/Libraries/Renderer/shims/ReactNative';
     |             ^
  18 | import type {ImageSource} from 'react-native/Libraries/Image/ImageSource';
  19 | import type {ViewStyleProp} from 'react-native/Libraries/StyleSheet/StyleSheet';
  20 | import type {ColorValue} from 'react-native/Libraries/StyleSheet/StyleSheetTypes';

Reproducible Demo
I can add if required but it looks like the flow types are tripping up, so should be easy to test on any react-native typescript project.

TS typings are there: https://github.com/react-native-community/react-native-slider/blob/master/typings/index.d.ts
Perhaps you should use babel plugin to strip the flow types?

@michalchudziak
I cannot use a babel plugin as I am using CRA as the base.
Surely there is a better solution than making every typescript user strip the flow types with a babel plugin?

I had this same problem. Using https://babeljs.io/docs/en/babel-plugin-transform-flow-strip-types didn't help

Really? I was hoping React Native components worked with React Native for Web. I'm using Create React App to start with–eventually I'll convert it to custom webpack, but I just got started.

Doesn't seem like this should be closed. Still an issue, any ideas?

Same problem here. Can we open it again please.

Adding
transformIgnorePatterns: [
    "node_modules/(?!@react-native-community).+\\.js$"
  ],

to my jest.config.js fixed the issue


Add support "maintainers" in pyproject.toml and generated files

[x] I have searched the issues of this repo and believe that this is not a duplicate.
[x] I have searched the documentation and believe that my question is not covered.

Feature Request

setuptools supports the "maintainer" and "maintainer_email" metadata values in setup.py and I have some tooling that makes use of this pair of values.  It would great if poetry could add support for these two in a fashion similar to how "authors" in pyproject.toml gets converted into "author" and "author_email" in the generated metadata.
In case you're wondering how this metadata is used, "author" is used to denote the owner of a package whereas maintainer is used to denote individual(s) with write access.

#1175 fixes this issue.


Jumpy behavior in Chrome, FF, Safari if scroller div is shorter than wrapper div

If the contents of the scroller div are not tall enough to stretch it to a greater height than the wrapper div, you'll see mega-jumpy behavior in latest Chrome, FF and Safari builds. The list (or whatever it is you're trying to scroll) will jump up and down wildly if scrolling down. Scrolling up poses no problems.
In my circumstance, I was able to patch it with
_startAni: function () {
    // immediately after variable delcaraitons
    if (that.wrapper.offsetHeight > that.wrapper.children[0].offsetHeight) return;

but I imagine that this isn't appropriate for everyone. I'll be happy to make this a param in the options and submit a Pull Request, unless you think there's a more elegant solution. Thanks!

Are you testing the latest version? I can't replicate this issue.

I'm able to replicate it, even on the iScroll demo at http://cubiq.org/dropbox/iscroll4/examples/simple/ .
Here's a video I made of it: http://screencast.com/t/3TTZaGHBTk . It's actually jumping much more rapidly than that, but the low frame rate couldn't capture it.
I was able to create this situation by opening Chrome's WebKit Inspector and deleting enough of the <li> elements so that the <ul> was shorter than the viewport. Then simply scroll down. The same situation is happening with the most recent iScroll.js in a backbone.js app I'm working on. Thanks!

You have to call refresh() method if you remove s from the inspector

video cubiq.org/dropbox/chrome-test.mov

Hey Matteo, I failed to mention that I'm experiencing this with a trackpad on a new MacBook Air.
I repeated the steps in your video, and still experienced the problem on the iScroll demo. My backbone app is also calling refresh() automatically after loading in list items, and the same behavior is occurring there.
Any ideas?


Creating way to check if a query is similar to other one

Not sure about the naming, but I feel it is in the right place, avoiding repeating the same things in several places. In any case, pending to add/check more tests in order to check when source node comes from shared dataset and so on.
Fixes #9263.
CR: @nobuti
cc @juanignaciosl

👍


extractCss build option doesn't preload the extracted styles

Versions

nuxt: v2.14.0
node: v12.18.3

Reproduction
Please have a look at: https://github.com/nuxt/nuxt.js/issues/6980 perhaps reopen the issue as it seems to have drowned in closed issues. PageSpeed scores are getting hurt because stylesheets are not prefetched when using extractCSS: true in build configuration.

Could you provide a reproduction example on codesandbox?

Created one here, although not sure how I can run yarn nuxt generate in codesandbox: https://codesandbox.io/s/sad-elbakyan-ot9p7?file=/pages/about.vue

Hi @farnabaz & @simplenotezy,
I'm experiencing also the same issue. I've decided to dig a little deeper and came to the following findings:
In my case, it's the nuxt-link smart prefetching mechanism that is causing a Lighthouse/Pagespeed penalty.
Disabling smart-prefetching in the nuxt.config.js improved PageSpeed Scores:
router: {
  prefetchLinks: false,
},

With smart prefetching
https://mrtnvh-f7gx0m4xt.vercel.app/
https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fmrtnvh-f7gx0m4xt.vercel.app%2F

Without smart prefetching
https://mrtnvh-8apsftmsa.vercel.app/
https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fmrtnvh-8apsftmsa.vercel.app%2F&tab=mobile

@simplenotezy Sorry for the late response, check out https://codesandbox.io/s/winter-tree-9qpyw
I have forked you CSB and modify commands to server static target, as you can see prelaod links are generated.
@vanhoofmaarten I guess this isn't an unexpected behavior, smart prefetching, prefetch data and assets of pages that users may visit after this page to reduce navigation delay and improve user experience.
On the other hand PageSpeed measure, just one page and and does not tolerate unused resources.

@farnabaz

I guess this isn't an unexpected behavior, smart prefetching, prefetch data and assets of pages that users may visit after this page to reduce navigation delay and improve user experience.

Agreed. The smart prefetching is a very good feature and provides a wonderful user-experience.
But, IMHO, there is room for improvement. The current implementation of smart prefetching not only fetches, but also evaluates the route chunks visible on screen. It simply injects <scripts> and <style>. Quicklink, on the other hand injects <link rel="prefetch">, which fetches and caches the resource without evaluating it.
I'd be happy to dig a little deeper and open a new issue for this when I know more.

On the other hand PageSpeed measure, just one page and and does not tolerate unused resources.

In my personal scenario, yes. But for websites with a larger amount of pages, where smart prefetching might load and evaluate several page chunks, this could have quite an impact on PageSpeed scores which both influence SEO ranking and UX.

I think that we can resolve this issue if we can get a preload functionality in extract-css-chunks-webpack-plugin,  the Webpack plugin responsible for the extractCSS feature.
Luckily, mini-css-extract-plugin, of which extract-css-chunks-webpack-plugin seems to have a great resemblance, has an open PR for adding a preload functionality.
Some quick local experiments with a fork of extract-css-chunks-webpack-plugin where I ported the preload PR from mini-css-extract-plugin, have proven to be quite fruitful.
Test-scenario:

Nuxt.js commit a748cf0ca350b3a6f92f54c86ea548a47fd394c2
Example nested-routes
Manually added extractCSS: true

Results:

Default: without-preload-localhost_3000-20201013T082250.pdf
Using a fork of extract-css-chunks-webpack-plugin with added preload functionality: with-preload-localhost_3000-20201013T082250.pdf

I'll continue further and try to publish a PR to extract-css-chunks-webpack-plugin.

Hi @farnabaz ,
extract-css-chunks-webpack-plugin has approved my merge-request. Updating to 4.8.0 will enable CSS preloading.
I see Renovate has already picked up the update in PR #8267. Merging that PR closes this issue.

#8267 has been merged by @clarkdo .
This issue can be closed.

It seems like that this version makes the stylesheet link added to the body event though it's already loaded in the header..
I've made a PR to extract-css-chunks-webpack-plugin which resolve the issue for me. https://github.com/faceyspacey/extract-css-chunks-webpack-plugin/pull/307

It seems like that this version makes the stylesheet link added to the body event though it's already loaded in the header..
I've made a PR to extract-css-chunks-webpack-plugin which resolve the issue for me. https://github.com/faceyspacey/extract-css-chunks-webpack-plugin/pull/307


Rename trillium-rustls client example so it doesn't conflict

Fixes an issue observed when compiling on Windows:
warning: output filename collision.
Warning: The example target client in package trillium-rustls v0.5.0 (D:\a\trillium\trillium\rustls) has the same output filename as the example target client in package trillium-client v0.5.2 (D:\a\trillium\trillium\client).
Colliding filename is: D:\a\trillium\trillium\target\debug\examples\client.exe
The targets should have unique names.
Consider changing their names to be unique or compiling them separately.
This may become a hard error in the future; see https://github.com/rust-lang/cargo/issues/6313.
This subsequently causes a link failure on Windows.

Thanks! Any idea why this suddenly failed?

@jbr No idea. It's been a warning for a while, but I don't know why it started producing errors on Windows.


[v1.1.0] Possible problem in Safari

Hello, i have admin panel on domain ex: admin.com and Next.js project on front.com
So i use preview like this https://github.com/pboivin/filament-peek/blob/2.x/docs/page-previews.md#filament-as-headless-cms
in Chrome everything is working, but in Safari i see 404 error with console errors
Blocked a frame with origin "front.com" from accessing a frame with origin "admin.com". Protocols, domains, and ports must match.
SecurityError: Blocked a frame with origin "admin.com" from accessing a cross-origin frame. Protocols, domains, and ports must match.
Also, open preview link in safari - everything is working again. Only in Preview i have errors

Hey @lotarbo, thank you for reporting this, I'll try to replicate it on my end tomorrow. I'll let you know if I find a solution.

@pboivin thank you. all i found - recommends using postMessage to communicate between windows

Hey @lotarbo, I just tagged v1.1.1 with a fix regarding external URLs for previews. When you have some time, can you give this a quick test and let me know if it works for you?

@pboivin thank you. Right now, i don't have errors in console)
But preview still doesn't work in safari. Next.js project hosted on Netlify and uses default preview code from docs. And i saw, Safari can't install Next.js cookies in iframe, that's why i have 404 error i think.
And right now i dont understand, this is problem with iframe, nextjs or headers from both servers(

Sorry, i think i found, problem only with safari) https://community.prismic.io/t/troubleshooting-previews/5449#previews-not-working-in-safari-14

Thanks for looking in to this! So, does the solution in the page you shared solve the problem for you? I think I'm not able to replicate because I'm not using cookies to handle previews on my projects.

It helps)
But i have small question: in chrome and safari i can interact with preview frame, but in config i have this
'allowIframePointerEvents' => false,, its normal behavior? Because i this option should prevent interaction

Yes, unfortunately this is part of the issue I was trying to solve in v1.1.1. allowIframePointerEvents will not work with a preview URLs because it's trying to inject some CSS into the page. I'll add it to the documentation. A simple solution would be to add some CSS in your preview component:
    <style>
        body.is-preview a { pointer-events: none !important; }
    </style>

Thanks @lotarbo


Feat/borderless mouse

A small but useful feature.
Allows the mouse cursor to keep moving when it reaches the edge of the screen and to turn the window around without interrupting parameter changes.

Closing this for now. We can reopen it, as soon as we start working on this again.


Chat work greate but inference broken. Why?

If I use inference the answer breaks down

But in chat mode, everything is fine

I use examples with my prompt.

Works in llama and codallama mode. If you set it to raw mode, everything breaks down too

If tokenizer.encode(text, add_bos = True) everything works fine.
But, if tokenizer.encode(text, add_bos = False) then the answers break down
Can you fix it?

I think this is down to what model you use. Some models are tuned to expect BOS at the start of every sequence and won't perform well without it. Llama-chat models require a specific format for the prompt including EOS and BOS in various places. The base models don't want BOS. And all the various finetunes have their own preferences.
The "raw" mode in the chat example is intended to work with a base model and some other finetunes that don't use BOS.


Have a shell script that automates the Heroku deployment for the end user

Having to run 14 distinct steps manually is far from ideal for an end user.

Added


Add methods to control the state of drawers

This PR adds the following:

Methods for checking if the drawer or end drawer are open
Methods for closing them programmatically

All credit goes to @cforkish

We ended up doing this

Can you elaborate on this? When would you run this code?

Can you elaborate on the following question?

I think you answered it to my satisfaction. I was just wondering if we needed a subscription mechanism (e.g. an InheritedWidget to expose the value), or if this was something that would only be used during event handlers or some such.

@Hixie we use it to wrap the main screen of our app.
If the drawer is closed, the back button opens it. If it's already open, the back button exits the app.
    return new WillPopScope(
      child: new Scaffold(
        key: _globalKey,
        body: _mainScreen(),
      ),
      onWillPop: () {
        ScaffoldState scaffold = _globalKey.currentState;
        if (Platform.isAndroid && scaffold != null) {
          if (scaffold.isDrawerOpen) {
            SystemNavigator.pop();
          } else {
            scaffold.openDrawer();
          }
        }
        return new Future<bool>.value(false);
      },
    );

I had to close this PR and created a new one at https://github.com/flutter/flutter/pull/14673.
I appologize for the inconvenience.

@jslavitz Can we close this now that your PR is submitted?


[API] Add Logger for NNTrainer

In order to log, implement Logger class to use when there is no
logging system. If there is, we are going to use them. For example,
we are going to use tizen dlog for the tizen and android log system
for android with same interface such as nn_log[i,w,e,d].
Self evaluation:

Build test:	 [X]Passed [ ]Failed [ ]Skipped
Run test:	 [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.4.20191203. Thank you for submitting PR #27. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ec2-54-180-96-14.ap-northeast-2.compute.amazonaws.com/.

:octocat: cibot: @jijoongmoon, One of the module of prebuild group is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnstreamer/nntrainer/wiki/.

:octocat: cibot: @jijoongmoon, One of the module of prebuild group is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnstreamer/nntrainer/wiki/.

:octocat: cibot: @jijoongmoon, nntrainer/src/nntrainer_logger.cpp includes bug(s). Please fix incorrect coding constructs in your commit before entering a review process.

:octocat: cibot: @jijoongmoon, One of the module of prebuild group is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnstreamer/nntrainer/wiki/.

:octocat: cibot: @jijoongmoon, nntrainer/src/nntrainer_logger.cpp includes bug(s). Please fix incorrect coding constructs in your commit before entering a review process.

:octocat: cibot: @jijoongmoon, One of the module of prebuild group is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnstreamer/nntrainer/wiki/.

:octocat: cibot: @jijoongmoon, nntrainer/src/nntrainer_logger.cpp includes bug(s). Please fix incorrect coding constructs in your commit before entering a review process.

:octocat: cibot: @jijoongmoon, One of the module of prebuild group is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnstreamer/nntrainer/wiki/.

:octocat: cibot: @jijoongmoon, nntrainer/src/nntrainer_logger.cpp includes bug(s). Please fix incorrect coding constructs in your commit before entering a review process.

:octocat: cibot: @jijoongmoon, One of the module of prebuild group is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnstreamer/nntrainer/wiki/.


Deprecate List.prototype.paginate

Basically, this is too opinionated and fragile for us to continue supporting.
It used to work well with mongoose 3 and callback patterns but with promises now more popular thanks to async/await, and issues where the find() and count() queries may get out of sync with .where() / etc chaining, I think the best option is to deprecate the whole thing and let users deal with it however is most appropriate for their specific use-case.
Let's add a deprecation warning on first use to Keystone 4, and remove in the next major.

Oops - meant to open this in the main Keystone repo!


Pip installable

Modified so it can be pip installable.
So grlc is installable directly from github via pip like this:
$ pip install git+https://github.com/c-martinez/grlc.git@pip-installable
And then someone (like me) can import it into their own project and use, for instance build_spec:
from grlc.utils import build_spec
After pip installing, flask server can be run like this:
$ grlc-server
or gunicorn version like this (still need to have a gunicorn_config.py):
$ gunicorn -c gunicorn_config.py grlc.server:app

Thanks for these @c-martinez !
Some questions:

Why did you move all statics and templates into /src/? Is this required by pip?
We might still want to be virtualenv compatible, so we shouldn't have a /bin/ dir. Is this required by pip too?
We always spell it 'grlc' in low caps ;)

Thanks again for the contribs!

Why did you move all statics and templates into /src/? Is this required by pip?
Files on src/ are copied as part of the package when installed via pip. So yes, it is required by pip.

We might still want to be virtualenv compatible, so we shouldn't have a /bin/ dir. Is this required by pip too?
Things in bin/ (in this case the grlc-server script) get copied to bin/ in the virtualenv. I don't think this makes it incompatible with virtualenv (in fact, I am testing it in a virtualenv). But if we are against it being under bin/, it can be changed to any other location we define on setup.py.

We always spell it 'grlc' in low caps ;)
Ah! I was not sure about that -- I'll change that.

Oh I see the server launching code is also under src/, so that shouldn't be a problem.
Fine with leaving grlc-server under bin/ too if that doesn't affect virtualenv.
If you %s/GRLC/grlc/g I'll merge right away :-)
Thanks!

:+1: thank you sr!


Optimize how to load data before displaying it

See for example this code, found in MainViewDay.razor:
if (value != _selectedDate)
{
    _selectedDate = value;
    GetDataForDay().GetAwaiter().GetResult();
}

This is bad, because the UI won't show anything before this is finished (a user will look at a loading screen for much longer, instead of briefly seeing skeletons in the actual ui).
TODO:

[x] Make the loading of data independent from loading a page - first load the page, then the data.
[ ] Add a cancellation token to the method - in case the user clicks away, we can cancel retrieving data.

Helpful reference (?):

https://www.mikesdotnetting.com/article/365/executing-async-operations-onchange-in-blazor

Fiddled around with the cancellation token and made it work, but I can't really justify implementing it for now. The amounts of data the server has to provide are so tiny (and thus the response is so fast), the user would need to click away in less than 100ms with normal internet speeds - I would say nearly impossible... 😄
Might come back to this for the importer / exporter method, could come in handy there.


checking type converter models in NodeDataModel instead of statically In DataModelRegistry

In DataModelRegistry when we register models we must pass a Boolean to see if it is type converter or not, is it not a better way to add a virtual function in NodeDataModel to manage it? with this approach we can have more flexibility and some extra code will be removed from DataModelRegistry (just check the function) and need not to be checked on compile time:
 template<typename ModelType, bool TypeConverter = false>
  void
  registerModel(std::unique_ptr<ModelType> uniqueModel = std::make_unique<ModelType>(), QString const &category = "Nodes")
  {...}

instead add a function to NodeDataModel to check it:
class NODE_EDITOR_PUBLIC NodeDataModel
  : public QObject
  , public Serializable
{
  Q_OBJECT

public:

  NodeDataModel();

...
 virtual bool isTypeConverter() { return false;}
...

The current implementation is probably faster, due to the type converting nodes being able to to be indexed, reducing finding a type conversion from a O(n) operation to a O(logn) operation.
I don't see any major benefits to your design, what's your use case?

finding a type conversion within small number of operations does not effect performance (there may be at most 1000 types!?) so here performance is not an issue.
suppose I want to create a model  based on NodeDataModel which a user creates it and I created a class to register them all without knowing whether it is a type converter or not!

I'm still confused about your use case--you have to eventually know if it's a converter or not when isTypeConverter is called, so why not just register it?

I believe this issue is obsolete after PR #150


enable awq ipex linear in transformers

This refactor allows transformers integration using WOQLinear_IPEX.

Hi @casper-hansen , do you mind merging this refactor so I can start to integrate it into transformers with this PR?

@jiqing-feng Why remove zero points? They are crucial for accuracy

@jiqing-feng Why remove zero points? They are crucial for accuracy

The zero point here is not the qzeros value from model.safetensors. It's just a bool value to determine whether we should allocate a buffer to save qzeros. I found we always need it so I disabled this parameter to align with other versions.


787XX delegate release notes

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

Preview environment: https://hdh.pr.harness.io/pr-926

Preview environment: https://hdh.pr.harness.io/null

Preview environment: https://hdh.pr.harness.io/null

Preview environment: https://hdh.pr.harness.io/pr-926

Preview environment: https://hdh.pr.harness.io/pr-926

Preview environment: https://hdh.pr.harness.io/pr-926


AGP 4.2.0 support

Fix build errors for android google plugin 4.2.0
https://developer.android.com/studio/releases/gradle-plugin#4-2-0

Does it work with AGP 4.2.1 also? I believe so.

It seems to, but I haven't tested extensively.
For anyone else waiting for this MR to go in, you can use this dependency in the mean time:
com.github.Archinamon:android-gradle-aspectj:PR137-SNAPSHOT
Just make sure you have the jitpack maven repo in your project.

@eyedol Will you merge it?

FYI this seems to work with AGP 7.0.0-beta03 using the standard version of the plugin (not fully tested, just tried with simple aj file). Just be aware that if using java 11 in the project, that the plugin doesn't seem to pass on the java module options to ajc.
So using this config was OK:
aspectj {
ajc = '1.9.6'
java = JavaVersion.VERSION_1_8
}
However using 'java = JavaVersion.VERSION_11' caused problems in the aj file with a message about ambiguous classes.

Will you merge it?

@dmitrikudrenko I won't be able to merge it as I don't have the ability to do it 😢

FYI this seems to work with AGP 7.0.0-beta03 using the standard version of the plugin (not fully tested, just tried with simple aj file). Just be aware that if using java 11 in the project, that the plugin doesn't seem to pass on the java module options to ajc.
So using this config was OK:
aspectj {
ajc = '1.9.6'
java = JavaVersion.VERSION_1_8
}
However using 'java = JavaVersion.VERSION_11' caused problems in the aj file with a message about ambiguous classes.

test confing
aspectj {
//    dryRun false // default value
//    compileTests true // default value

    ajc '1.9.5' // default value
    java = JavaVersion.VERSION_11 // default value
}


feat: add Langchain::OutputParsers::StructuredOutputParser to tame LLM output to JSON specification

similar approach to langchainjs StructuredOutputParser (https://github.com/hwchase17/langchainjs/blob/3f75f819faea30c6b578bb7901f7868d6f2cfaa2/langchain/src/output_parsers/structured.ts) uses json-schema gem (JSON::Schema) in place of zod schema

@joshweir Really cool feature though!!

Review comment suggestions are now addressed in latest commits. cheers


up5401ea Support

Hi, if you don't mind can you add support for up5401ea, you can check layout in https://github.com/asus-linux-drivers/asus-numberpad-driver  . Thanks
This Rust implementation is really really working better then python one for me. But my layout is not in this project. I can be a tester or something, if you need.

okay, problem is different and i noticed now. i checked M433I layout and it's same as mine. check the code and saw the layout is also correct. then i realize why output is different, my keyboard layout is problem. normally my keyboard is Turkish Q and i changed my layout to the English UK, driver works perfectly. So i will close this issue and open new one. Most probably we can fix the code with making it staying always same keyboard or detect systems keyboard layout. second solution is pretty painful i think, that's why first solution is much better i think.
This problem can be happened in other keyboard layouts.

Question- does https://github.com/asus-linux-drivers/asus-numberpad-driver work properly for you? I'm seeing that they have the same layout defined in https://github.com/asus-linux-drivers/asus-numberpad-driver/blob/master/numpad_layouts/up5401ea.py as ours.


Support a connector to Nessus

This would take Nessus results as input and populate a Report. This could either be as a script or as a connector to a remote system via the UI.

See pull request https://github.com/MooseDojo/Serpico/pull/50

Landed.


Possible implementation of external studio host as a resource itself

Why would I want this:
The same sanity project is used in a couple of different deployment pipelines (think staging / prod / dev) and for the Sanity project only one would be able to have the resource of the project (which i don't want) so I have linked the Sanity project as a data object in terraform.
However for my production pipeline, I would like to set the external host name as that is dependent on other resources in that pipeline.
Currently that is not possible because it is available only on the project resource.
Highlights?!?:

Is it even possible to reset the ExternalStudioHost from the sanitly go client, because of https://github.com/tessellator/go-sanity/blob/a666c794259cbd9cb4e41734c3d0ed4b36461576/sanity/projects.go#L201'
if I wanted to reset it to nothing I cannot do that?

Hi @petero-dk. Thanks for this PR! I haven't yet had a chance to take a look at this, but I plan to in the coming week. I appreciate your patience. :)

I opened up #2 so we can put discussion about the problem itself in there decouple from the implementation in this PR.


Set 80 columns for docker exec -it bash sessions

Relates to #227
I confirmed that this resolves the issue when accessing the container in interactive mode.
$ docker exec -it php /bin/bash
wodby@php.container:/var/www/html $ drush --version
Drush Launcher Version: 0.6.0
 Drush Version   :  8.1.17

Another thought on this one is to set it to 160 chars, but I am not sure we can find a char length that works for all cases.

We usually recommend using make shell command that takes $COLUMNS and $SIZE values from the host machine https://github.com/wodby/docker4drupal/issues/273#issuecomment-384952750. Not sure whether we need to add default values for these env vars

Much like what @csandanov said, we altered our makefile to run -
docker exec -ti -e COLUMNS=$(shell tput cols) -e LINES=$(shell tput lines) $(shell docker ps --filter name='$(PROJECT_NAME)_php' --format "{{ .ID }}") sh
tput outputs the lines and columns in your terminal.
https://www.tldp.org/HOWTO/Bash-Prompt-HOWTO/x405.html


Set all links to playground to https instead of http

retported from Twitter

Corrected : https://github.com/BabylonJS/Documentation/pull/393


Using a quote or double-qoute in any javascript expression gives error : invalid char \u201c

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Problem is solved. Thanks


Extremely High GPU VRAM Usage During Conversion

I've observed an issue where occasionally my VM sessions will crash and I tracked it down to VRAM usage during the conversion.
Here is a typical amount of VRAM usage:

And here is the jump when the conversion begins:

I was able to avoid this by adding this before the conversion.  Then the VRAM isn't increased and even the normal ram isn't increased at all.
    import tensorflow as tf
    tf.config.experimental.set_visible_devices([], 'GPU')

Hi! That one seems to be a problem with Tensorflow itself. During conversion, it's usually a good idea to disable the GPU altogether:
import os
os.environ["CUDA_VISIBLE_DEVICES"] = ""

Ah thanks, I haven't seen this since I implemented the fix in my comment.  I am converting at the end of a PyTorch training notebook, so I can't disable cuda entirely, but can hide it from tensorflow.
I was doing the conversions in a separate notebook / after the fact, but PyTorch doesn't save the full model structure in the exported files as best I can tell.  You still need the model class available to convert.  Are you aware of any way to save a fully portable PyTorch model?


Question about training model on ground truth boxes

I found both train_models_sgcls.sh and train_motifnet.sh are trained using -m sgcls, even if it's then used for sgdet evaluation. I also checked the paper. It seems all models are trained on ground truth boxes. But in some scene graph generation codes, they train object detector and relation model jointly. What's the difference? Has anyone try to train motifnet on object detector's output? If yes, what the result is like?

There is another script which fine-tunes the model trained in sgcl, given the object detector's output. That would give the results for SGdet setting.


Add biometric password input to server settings form

Fixes #7331

BiometricPasswordInput and TextFieldOutlinedPasswordBiometric are not designed to play well with the current setup and as a composable. Preview rendering is broken, because of a hard dependency on FragmentActivity. What's why I wanted to go with an different approach. But anyway, then there is a need for another ticket.


Envelope AEAD Data Key Generation

I'd like to confirm a few things about data key generation during envelope encryption.
Based on the envelope example in the documentation here:
https://github.com/google/tink/blob/master/docs/GOLANG-HOWTO.md#envelope-encryption
package main

import (
  "encoding/base64"
  "fmt"

  "github.com/google/tink/go/aead"
  "github.com/google/tink/go/core/registry"
  "github.com/google/tink/go/integration/gcpkms"
  "github.com/google/tink/go/keyset"
)

const (
   // Change this. AWS KMS, Google Cloud KMS and HashiCorp Vault are supported out of the box.
   keyURI          = "gcp-kms://projects/tink-examples/locations/global/keyRings/foo/cryptoKeys/bar"
   credentialsPath = "credentials.json"
)

func main() {
  gcpclient, err := gcpkms.NewClientWithCredentials(keyURI, credentialsPath)
  if err != nil {
    log.Fatal(err)
  }
  registry.RegisterKMSClient(gcpclient)

  dek := aead.AES128CTRHMACSHA256KeyTemplate()
  kh, err := keyset.NewHandle(aead.KMSEnvelopeAEADKeyTemplate(keyURI, dek))
  if err != nil {
    log.Fatal(err)
  }

  a, err := aead.New(kh)
  if err != nil {
    log.Fatal(err)
  }

  msg := []byte("this message needs to be encrypted")
  aad := []byte("this data needs to be authenticated, but not encrypted")
  ct, err := a.Encrypt(msg, aad)
  if err != nil {
    log.Fatal(err)
  }

  pt, err := a.Decrypt(ct, aad)
  if err != nil {
    log.Fatal(err)
  }

  fmt.Printf("Ciphertext: %s\n", base64.StdEncoding.EncodeToString(ct))
  fmt.Printf("Original  plaintext: %s\n", msg)
  fmt.Printf("Decrypted Plaintext: %s\n", pt)
}

The example generates a key handle kh and a AEAD primitive a (via aead.New)
The docs on envelope encryption don't go into much detail on DEK generation.
Could we confirm if a new DEK is generated on each call to the same instance of a.Encrypt? (i.e. no need to re-instantiate AEAD primitive or key handle/key set over and over again)
If thats the case, I presume:

we only need to instantiate the AEAD primitive(+ key handle) ONCE on application startup?
Each invocation of the same instance of a.Encrypt(..) would generate new data keys each time, i.e. cipher texts generated will each have their own separate DEK / data keys embedded.

I've looked through some of the Tink library code, specifically these lines:
https://github.com/google/tink/blob/master/go/aead/kms_envelope_aead.go#L58-L71
// Encrypt implements the tink.AEAD interface for encryption.
func (a *KMSEnvelopeAEAD) Encrypt(pt, aad []byte) ([]byte, error) {
	dekM, err := registry.NewKey(a.dekTemplate)
	if err != nil {
		return nil, err
	}
	dek, err := proto.Marshal(dekM)
	if err != nil {
		return nil, err
	}
	encryptedDEK, err := a.remote.Encrypt(dek, []byte{})
	if err != nil {
		return nil, err
	}

And it definitely looks like its generating a separate data key on each a.Encrypt call (on the same AEAD primitive instance). Using GCP KMS, I was able to debug and see it calling KMS Encrypt API when remote.Encrypt was called, so it does look like its generating DEKs on the fly (and encrypting them via KMS API for each call), through a single instance of the AEAD Primitive (aead.New(...), i.e. no need to re-instantiate)
I raised this issue to double check the approach to ensure that we have separate DEK's embedded per cipher text generated.
Regards

Envelope encryption is also discussed here (and we're generally migrating more and more documentation to this site): https://developers.google.com/tink/client-side-encryption.
On that page there's a callout that speaks to your concern specifically:

Note: Tink's envelope encryption generates a unique DEK for each message you encrypt...

As you found in the code snippet you posted, Tink generates a unique data encryption key (DEK) upon every call to KMSEnvelopeAEAD.Encrypt().
Then, as you can see in the wire format documentation, the DEK is embedded alongside the ciphertext. Then, during decryption, the DEK is extracted and decrypted via a KMS decrypt call, as you see in the implementation of KMSEnvelopeAEAD.Decrypt().


Remote error from secret service: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient

Hello,
I am getting the error:

Remote error from secret service: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.808" (uid=1000 pid=87036 comm="/snap/notifi/x13/bin/notifi " label="snap.notifi.notifi (enforce)") interface="org.freedesktop.Secret.Service" member="OpenSession" error name="(unset)" requested_reply="0" destination=":1.24" (uid=1000 pid=3760 comm="/usr/bin/gnome-keyring-daemon --daemonize --login " label="unconfined")

When doing:
git clone https://github.com/maxisme/notifi
cd notifi
git checkout linux
snapcraft
sudo snap install notifi_0.1.0_amd64.snap --dangerous && notifi

I was expecting adding password-manager-service to apps.notifi.plugs in my snapcraft.yaml but I am still getting the error unfortunately.

https://forum.snapcraft.io/t/remote-error-from-secret-service-org-freedesktop-dbus-error-accessdenied-an-apparmor-policy-prevents-this-sender-from-sending-this-message-to-this-recipient/26508

Here's my snapcraft.yaml that I used to test this plugin while building it.  There is no need for you add a dbus slot for this plugin to work. If it doesn't work after removing the dbus slot, follow this solution.
apps:
  uet-lms:
    command: uet_lms_app
    extensions: [flutter-dev]
    plugs:
    - network
    - mount-observe
    - x11
    - home
    - removable-media
    - browser-support
    - password-manager-service

parts:
  uet-lms:
    source: .
    plugin: flutter
    flutter-target: lib/main.dart
    build-packages:
    - libsecret-1-dev
    - libjsoncpp-dev
    stage-packages:
    - libsecret-1-dev
    - libjsoncpp-dev