[POC] Implement OCIRepository reconciliation

This PR is a proof of concept implementation of the OCIRepository reconciliation as described in the RFC Flux OCI support for Kubernetes manifests.
⚠ This PR only implements pulling OCI artifacts created with flux push artifact. This PR contains a basic smoke test against a public GHCR repo.
API implementation

[x] spec.url
[x] spec.ref.digest
[x] spec.ref.tag
[x] spec.ref.semver
[ ] spec.secretRef
[ ] spec.serviceAccountName
[ ] spec.certSecretRef
[ ] spec.verify

Controller preview

Image: ghcr.io/fluxcd/source-controller:oci-8509ac03
CRDs: kubectl apply -k https://github.com/fluxcd/source-controller/config/crd?ref=oci

Test manifests
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: OCIRepository
metadata:
  name: podinfo-latest
  namespace: flux-system
spec:
  interval: 10m
  url: ghcr.io/stefanprodan/manifests/podinfo
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: OCIRepository
metadata:
  name: podinfo-tag
  namespace: flux-system
spec:
  interval: 1m
  url: ghcr.io/stefanprodan/manifests/podinfo
  ref:
    tag: 6.1.6
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: OCIRepository
metadata:
  name: podinfo-semver
  namespace: flux-system
spec:
  interval: 1m
  url: ghcr.io/stefanprodan/manifests/podinfo
  ref:
    semver: 6.x
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: OCIRepository
metadata:
  name: podinfo-digest
  namespace: flux-system
spec:
  interval: 1m
  url: ghcr.io/stefanprodan/manifests/podinfo
  ref:
    digest: "sha256:3b6cdcc7adcc9a84d3214ee1c029543789d90b5ae69debe9efa3f66e982875de"

Installed Controller Preview and ran test CR for bundle image package. Test succeeded.
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: OCIRepository
metadata:
  name: sample-app
  namespace: default
spec:
  interval: 1m
  url: rkamaldocker/sample-app
  ref:
    tag: 1.0.0

Extracted tar ball - looks good
# curl http://source-controller.flux-system.svc.cluster.local./ocirepository/default/sample-app/2db7841074d483b2f3fde931988962b529c7fdf5d1e6928d2b70b723410e5b81.tar.gz -o oci-test/sample-app.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  193k  100  193k    0     0  94.4M      0 --:--:-- --:--:-- --:--:-- 94.4M
# cd oci-test
# tar -xf sample-app.tar.gz
# ls -a
.  ..  .git  .github  .gitignore  .mvn	LICENSE  README.md  Tiltfile  accelerator.yaml	catalog  config  mvnw  mvnw.cmd  pom.xml  sample-app.tar.gz  src
#

@stefanprodan Seeing issue with the multi-layer image. Please try the following:
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: OCIRepository
metadata:
  name: petclinic
  namespace: default
spec:
  interval: 15m
  url: scothis/petclinic
  ref:
    tag: latest

Error status condition
  - lastTransitionTime: "2022-06-26T03:51:23Z"
    message: tar file entry bin/bzcmp contained unsupported file type Lrwxrwxrwx
    observedGeneration: 1
    reason: OCIOperationFailed
    status: "False"
    type: Ready

tar file entry bin/bzcmp contained unsupported file type Lrwxrwxrwx

@rashedkvm this is expected, we only support regular files https://github.com/fluxcd/pkg/blob/76f30cf3b1d1b2503a5202b2a96d9faeb25623a2/untar/untar.go#L60 To make this work with Flux you need to use spec.ignore and include only the files with Kubernetes manifest.


Please add an OSS license

Hi @paolotiu
Thanks again for merging my PR from last time. Would you think it is possible to license this code under a OSS (i.e., open source definition) license? I am using this wonderful library in my project "Projectify" (frontend repo [here])https://github.com/jwp-consulting/projectify-frontend)) which itself is licensed under AGPLv3.
Since Projectify is a project management application, users can post task cards etc here. The task cards have boring avatars as a fallback for users who did not upload a profile picture, as can be seen on this screenshot.

It would be tremendously valuable to have this library available licensed freely.
Best,
Justus

Added an MIT License!

Sweet!


brutespray not parsing properly

Hello,
I ran brutespray against a target and it only scanned the ssh port even though the file had both ssh and ftp. The command i ran was identical to this one https://github.com/x90skysn3k/brutespray/issues/44 only i ran it on my ubuntu server

do you have the scan available? if it's not on a standard port try the -sV option for Nmap

@x90skysn3k I can share the command but not the output. I'll see if I can clean the output of sensitive data

If you could just paste the part of the scan file that shows the server and port it missed.. for example
Host: <IP_ADDRESS> (localhost)	Ports: 22/open/tcp//ssh//OpenSSH 8.3p1 Debian 1 (protocol 2.0)/, 201/open/tcp//ftp//vsftpd 3.0.3/ etc.. feel free to obfuscate the version, IP address and hostname if needed

Let me see if I can find the file in question because i was just feeding it a long list of files poured in from the find command lol

here you go
Host: <IP_ADDRESS> (example.com)	Ports: 21/open/tcp//ftp///, 22/open/tcp//ssh///, 80/open/tcp//http///, 443/open/tcp//https///, 2222/open/tcp//EtherNetIP-1///, 8011/open/tcp//unknown///, 8012/open/tcp/////, 8013/open/tcp/////, 8014/open/tcp//unknown///, 8015/open/tcp//cfg-cloud///, 8016/open/tcp//ads-s///, 8017/open/tcp/////, 8018/open/tcp//unknown///, 8853/open/tcp/////

did you verify that it is actually FTP? i'd recommend making sure you scan with the -sV flag

Hello,
It looks to be working now, so i will be closing this ticket


Event logs

Hi
Is tabmon able to probe the Windows event logs? This is really useful for capturing errors Tableau is writing to Windows application event logs.
Thanks
Nelson

That is not included in current functionality. It would take quite a bit of analysis to see if it will even be possible and any solution would need to accomodate both Windows and Linux, so doubt this will be implemented anywhere in the near future.
Potential other solutions to pull that data if you have Splunk or an ELK stack or other syslog type solutions, there are several open source solutions to pull the event viewer logs from then and do your alerting in a different application there.

Hello @yapnel,
Currently TabMon is not able to parse the Windows Application logs. We can add this as a feature request but I'm not sure if this will fit within the scope of TabMon.
I'll mark this as a suggestion.
Thanks,
Dan

Didn't mean to close. Reopening.


write tool to unpack HAR of websocket msgs to JSON

While trying to debug the order of messages and the sender (is it the pick "wrapper" kernel or is it the subkernel?), I needed a way to analyze the messages a bit quicker so I wrote a quick way to extract the data from a HAR of Chrome's network session.

To get the HAR, open the notebook page with the Network tab open in the chrome console. Do everything you want to capture,  then select "WS" and right click on the channels and click "Save all as HAR with content".


Update FAQ

Updated with new details
Signed-off-by: ranjithwingrider<EMAIL_ADDRESS>

Added to latest page


Snowflakes turns to ellipsis if width is low

I used it in my project and with canvas size 270x1000px, all snowflakes turn to ellipsis.
It works fine if the canvas is square, but it's bad for thin containers

Hi Arseniy,
Thanks for checking out this project!
I'm unable to reproduce the issue when I re-size a canvas to 270px by 1000px using the library (see screenshot below).
Please could you attach a code snippet here or link me to a page where it is bugging out the snowflakes?
Thanks,
Peter

Hi!
Added it to Codepen:
https://codepen.io/styre/pen/abKXjxQ

Hi Arseniy,
Thank you for providing the Codepen link; I have a pushed a fix for the issue here: 18fd6a5bc6d761f4e570fa38b27625cad5b6ac24
Please let me know if you encounter any further bugs.
Thanks,
Peter

Great, it works, thanks!


Upgrade Required.

Hello,
I installed the project via the npx tool as described in the README file on Github.
I downloaded my modules by typing npm install.
When I run the npm run dev command, port 3000 does not open, another port is opened for the project. When I enter that port, a text appears as "Upgrade Required".
What should I do?

I'm closing it because the owner of the repo is not responding.


Custom scrollbars everywhere

Themes look nicer with custom scrollbars in all panels 😄
Thanks for creating this nice theme!

Thanks for the suggestion!


Various modes of Visualization

There are a couple of ways to visualize the output as far as I understood. Could the authors perhaps tell us how to visualize the output differently? For instance, no matter what I do, I can never see the mesh on Rviz like what's shown in on the main page of this repository - textured and colorful. I am sure there are other ways which may be useful as well.
What are the ways of activating different modes of visualization?
So far I have only could see 1, which is below:

How to see the others?

I thought I met exactly the same question.

There are a couple of ways to visualize the output as far as I understood. Could the authors perhaps tell us how to visualize the output differently? For instance, no matter what I do, I can never see the mesh on Rviz like what's shown in on the main page of this repository - textured and colorful. I am sure there are other ways which may be useful as well.
What are the ways of activating different modes of visualization?
So far I have only could see 1, which is below:

How to see the others?

Sorry for troubing you, but how to see this visualization?


Template type TYPE can be used directly without template params.

Like this:
type DATA<T> = {
  v:T
};
function fuc(d:DATA) { // Should a raw template type not be allowed?
  return d.v;
}
function user_fuc(d:DATA<string>) {
  const rt:number = fuc(d);
}

This will passed with no errors. Is this by design, or those wrong typo should not be allowed? (in this situation, d.v will be marked as T , seems be treated as a any type)

@iamchenxin thanks for the report! Originally this was by design, but we've recently tightened the rules around polymorphic type applications. In an upcoming version we'll be enabling the strict rule by default, but for now, you can enable it by adding the following to your .flowconfig:
[options]
experimental.strict_type_args=true

FYI, we'll be publishing a jscodeshift codemod to convert existing code shortly, if you're interested.


Update LICENSE.txt

https://play.google.com/store/apps/details?id=com.whatsapp&pcampaignid=web_share

Why is there a link to a Google Play / whatsapp in this PR? Is that a mistake?

Closing this PR as it does not appear to add anything new outside of whitespace


The list script for windows or the lists script with certain description does not work.

[Enter feedback here]

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a0c5cd11-36e0-b233-4f0c-3d432a9925a1
Version Independent ID: 99b6e064-4f75-9cce-b6e0-0ad1943552b9
Content: az vm repair
Content Source: latest/docs-ref-autogen/ext/vm-repair/vm/repair.yml
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

hello @swbae31  could you pls look at this issue about vm-repair? thanks

For what script does the 'az vm repair list-script' not work? @diegodct ? I will be glad to look into it if you can explain the issue more in detail.

For what script does the 'az vm repair list-script' not work? @diegodct ? I will be glad to look into it if you can explain the issue more in detail.

@diegodct

Close it since no reply.


Generate missing fields: place generated record bindings in correct positions when possible

"Generate missing fields" action on record instances now respects field declaration order when possible (if already defined bindings are ordered according to declarations)
Fixes RIDER-70850

Could you please add tests for cases where new bindings are inserted next to comments?
{ A = 1;(*foo*)C=2 }

{ A = 1
  // foo
  C = 2 }

{ A = 1 // foo
  C = 2 }

The last one doesn't seem to be handled currently, does it?


Block-align inside array behaves unexpectedly

I found a corner-case where rustfmt changes the formatting in a way that really doesn't look good in my eyes.
Minimal reproducing example:
$ cat Cargo.toml
[package]
name = "cago-fmt-mre"
version = "0.1.0"
edition = "2021"

$ cat src/main.rs
fn some_func(foo: &[u16], bar: usize) {
    println!("Got: {:?}, {:?}", foo, bar);
}
fn main() {
    some_func(
        &[
                    // Let's say I have a bunch of numbers.
            0,      // For example, a short 0. But lots of comments are needed.
            0x1234, // Or a slightly longer value.
            0xFF,   // Fun fact: My personal use-case is providing hand-written
                    // assembly, and not all directives translate to
                    // instructions (e.g. labels).
            0x666,  // Wouldn't it be nice if all comments were aligned?
            0x42,   // However, cargo-fmt strongly disagrees with that.
                    // Hence, this minimal reproducing example.
        ],
        5, // Necessary, for some reason.
    );
}

(I also provided this as a repository.)
The main point is the block of comments in the middle. Observe how all comments are aligned. In the particular use-case of handwritten assembly, this is very desirable: The assembly directives could go on the right, and aligning them makes them easier to read.
rustfmt changes it to this:
$ cargo fmt

$ cat src/main.rs # Yuk!
fn some_func(foo: &[u16], bar: usize) {
    println!("Got: {:?}, {:?}", foo, bar);
}
fn main() {
    some_func(
        &[
            // Let's say I have a bunch of numbers.
            0,      // For example, a short 0. But lots of comments are needed.
            0x1234, // Or a slightly longer value.
            0xFF,   // Fun fact: My personal use-case is providing hand-written
            // assembly, and not all directives translate to
            // instructions (e.g. labels).
            0x666, // Wouldn't it be nice if all comments were aligned?
            0x42,  // However, cargo-fmt strongly disagrees with that.
                   // Hence, this minimal reproducing example.
        ],
        5, // Necessary, for some reason.
    );
}

This shows that rustfmt does have some concept of aligning comments with each other. However, I see no pattern in this behavior, and frankly it doesn't seem very readable to me. Can this be fixed?
I found no mention of this in any other issue. There are some similar results, but they're all different issues:

This issue is different from #4108, as this is not about over-aligning, but instead about not aligning at all.
This issue is different from #4546, as this is not about erroneously aligning with the first line, but instead about not aligning at all.
This issue is different from #4551, as this issue has nothing to do with tabs.

Btw, except for this weird scenario, rustfmt has always guided me towards nicer, more easily readable code. Awesome, thank you! :)

@BenWiederhake thanks for reaching out.
Are there other examples you can point to where multi-line comments between list items are properly aligned? My understanding is that we don't normally want to align these comments. You might get some relief by applying a #[rustfmt::skip] to prevent rustfmt from removing your desired comment alignment.
fn main() {
    some_func(
        #[rustfmt::skip]
        &[
                    // Let's say I have a bunch of numbers.
            0,      // For example, a short 0. But lots of comments are needed.
            0x1234, // Or a slightly longer value.
            0xFF,   // Fun fact: My personal use-case is providing hand-written
                    // assembly, and not all directives translate to
                    // instructions (e.g. labels).
            0x666,  // Wouldn't it be nice if all comments were aligned?
            0x42,   // However, cargo-fmt strongly disagrees with that.
                    // Hence, this minimal reproducing example.
        ],
        5, // Necessary, for some reason.
    );
}

Given that you're trying to write assembly is it not possible to use the asm! macro?

Thanks! The #[rustfmt::skip] trick is what I already use, so there is a workaround, yes.
I'm sad to hear that rustfmt doesn't want to align comments like that, but then I'll have to live with it. (Wontfix, if I understand you correctly.)
The assembly is not any assembly that rustc could possibly handle, since it's for a different platform. Good idea, but doesn't apply here.


Missing LICENSE file

Preflight checklist

[X] I could not find a solution in the existing issues, docs, nor discussions.
[X] I agree to follow this project's Code of Conduct.
[X] I have read and am following this repository's Contribution Guidelines.
[X] This issue affects my Ory Cloud project.
[X] I have joined the Ory Community Slack.
[X] I am signed up to the Ory Security Patch Newsletter.

Describe the bug
It looks like the LICENSE file was removed (along with other useful resources such as the contributing guide/code of conduct) in this commit: https://github.com/ory/hydra-client-go/commit/a98bdcd048644468cfd0bd77bb9986e958967011
Reproducing the bug
Git checkout the repo, check the LICENSE is not available in the main branch.
Relevant log output
No response
Relevant configuration
No response
Version
n/a
On which operating system are you observing this issue?
No response
In which environment are you deploying?
No response
Additional Context
No response

@aeneasr Was this by design? The problem is larger than just the LICENSE file, looks like the whole repo now is somewhat broken and doesn't match the documentation at: https://www.ory.sh/docs/hydra/sdk/go
It's unclear how to use the client any more.

The license is the one from OpenAPI Generator (I believe Apache 2). We will soon add license files to the autogenerated repos.
Regarding your question please see https://github.com/ory/sdk/issues/152#issuecomment-1046731486

This is fixed


Customize D3 force graph?

Mock data:
var nodes = [
  { name: "FaceBook corp.", type: "R" },
  { name: "1-1", type: "B" },
  { name: "1-1-1", type: "C" },
  { name: "1-1-2", type: "C" },
  { name: "1-1-3", type: "C" },
  { name: "1-1-4", type: "C" },
  { name: "1-1-5", type: "C" },
  { name: "1-2", type: "B" },
  { name: "1-2-1", type: "C" },
  { name: "1-2-2", type: "C" },
  { name: "1-2-3", type: "C" },
  { name: "1-2-4", type: "C" },
  { name: "x", type: "C" }
];

var edges = [
  { source: 0, target: 1, type: "R" },
  { source: 1, target: 2, type: "B" },
  { source: 1, target: 3 },
  { source: 1, target: 4 },
  { source: 1, target: 5 },
  { source: 1, target: 6 },
  { source: 0, target: 7 },
  { source: 7, target: 8 },
  { source: 7, target: 9 },
  { source: 7, target: 10 },
  { source: 7, target: 11 },
  { source: 12, target: 1 },
  { source: 12, target: 11 }
];

According to my json structure ,could you give me a code list ,that:
"R"-layer is red point，r:16 ,strok-width:3，linkDistance:150；
“B”-layer is yellow point，r:10, strok-width:2，linkDistance:80；
“C”-layer is yellow point，r8, strok-width:1，linkDistance:40；

Please use Stack Overflow tag d3.js or the d3-js Google group to ask for help. These issues are for feature requests and bug reports only. Thank you!
You can customize the link distance by passing a function to force.linkDistance:
force.linkDistance(function(link) {
  switch (link.type) {
    case "R": return 150;
    case "B": return 80;
    default: return 40;
  }
});

You can customize the stroke-width by similarly passing a function to selection.attr or selection.style (assuming you’re using SVG) or by modifying your Canvas rendering code accordingly. The same with the color.

Thangs a lot.You satisfied me perfectly!
殷敏峰/Bruce.Yin即日----------------------------------------------手机：+86<EMAIL_ADDRESS>foolish，stay hungry！”“好学若饥，谦卑若愚！”
Date: Mon, 25 Apr 2016 17:15:23 -0700
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [mbostock/d3] Customize D3 force graph? (#2811)
Please use Stack Overflow tag d3.js or the d3-js Google group to ask for help. These issues are for feature requests and bug reports only. Thank you!
You can customize the link distance by passing a function to force.linkDistance:
force.linkDistance(function(link) {
switch (link.type) {
case "R": return 150;
case "B": return 80;
default: return 40;
}
});
You can customize the stroke-width by similarly passing a function to selection.attr or selection.style (assuming you’re using SVG) or by modifying your Canvas rendering code accordingly. The same with the color.
―
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub


False positive with the sensor motion and IA camera.

I configured my RLC-510A camera with only car and persons alarms.
It works well, I only receive emails concerning the detection of cars or people.
On the other hand, the sensor motion sensor does not seem to take into account the settings of the IA mode and sending false positives (all motion detection).

Sorry, I hadn't seen the attributes "vehicle state" and "people state"
It's work, thanks

Sorry, I hadn't seen the attributes "vehicle state" and "people state"
It's work, thanks

How do you use these attributes ?
For me, vehicle  and people are always false.
bus_event_id: reolink_dev-event-ec71db3c193f
face: false
people: false
vehicle: false
friendly_name: Cam Door motion
device_class: motion


[Add] New space button

Details
i would like to add a new space button.
Adding a new space button with a glowing boundary can be a creative and visually appealing way to enhance user experience in a digital application
Screenshots
No response
Type of Contribution

[ ] Update to an existing Animated Button
[X] Adding a new Button
[ ] Resolving a bug
[X] Proposal to the Repository
[ ] Changes related to documentation or README.md
[ ] Other Changes

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue
[X] I am a GSSoC'23 contributor

🎉 The GSSOC'23 program has reached its conclusion, prompting us to officially close all pull requests (PRs) and issues. We extend a heartfelt thank you for your amazing contributions! 🙌 Keep the coding spirit alive with the same enthusiasm, and may luck 🍀 favor you in all your future coding adventures!


macOS Mojave (10.14.1) blank screen, no errors.

Hi,
Just updated my mac, found my project rendering a blank screen 😞. So I ran the examples for imgui-rs and gfx-rs to confirm if one of those were broken, and it looks like it's just imgui-rs.
I tired both master branch and v0.0.21 code, all examples, even with the glium renderer gives me a blank window. Also tried switching off dark mode, just in case 😛, no luck though, haha.
Sorry I can't offer much more than that right. Let me know if I can do anything more to help!
Cheers.

Checked just now, the imgui examples using metal or opengl2 work as well 👌. Trying to dig through cimgui and the imgui-rs bindings, but a little out of my depth!

I see a fix on the CHANGELOG of version 0.18.0 of winit saying Fix issue whereby the OpenGL context would not appear at startup on macOS Mojave (#1069).
You will need to update glutin to 0.19.0.
This is impossible to upgrade glutin if you use glium as a backend as latest glium still depends on an old version of glutin.
I made a PR to update glutin for the gfx back-end. Could you confirm that it fixes your issue? Thanks.


add support clothing equip/unequip doafters

About the PR

not for upstream, just a nice balance stick that people talk about a lot
Media

https://github.com/space-wizards/space-station-14/assets/98561806/09d73c02-04db-495b-952a-ef26bd8f741c

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

Breaking changes

Changelog

no cl no fun

i know you said not for upstream... but can you make it upstream?

i know you said not for upstream... but can you make it upstream?

someone is free to add it but uhh. i'm not fighting that fight today.

bout to add hardsuit equip doafter and have someone physically show up at my house this time


[Creating a Data Service] Include a script to create a relevant database in the example.

Doc: https://ei.docs.wso2.com/en/7.1.0/micro-integrator/develop/creating-artifacts/data-services/creating-data-services/
As per the example in the doc, this is connected to an Employee database. It is better if we can add some steps to create a MySQL database as Employee with the given scripts before the 'Create the data service artifact' section.

Hi @isuruuy429, In this section, the focus was to how to create a data service and data source. Complete examples are linked in is section. Example: https://ei.docs.wso2.com/en/latest/micro-integrator/use-cases/examples/data_integration/rdbms-data-service/ with db scripts. Hence closing this.


reorder and add options

reorder - adds grip icons to each item, and enables dragula
add - puts an add button (w/ title) at the bottom of the list
addTitle - allows you to pass custom text to the title

👍


Cannot read property 'namespace' of undefined

TypeError: Cannot read property 'namespace' of undefined from eslint-plugin-import/lib/rules/namespace.js
Getting this error and not exactly sure why. Thanks.

Are you running 1.10.1? I think I totally botched the publish and accidentally packaged the build products for v2.

@benmosher Yes I am

Thanks. Just tried, the error persists.
Cannot read property 'namespace' of undefined
TypeError: Cannot read property 'namespace' of undefined
    at EventEmitter.MemberExpression (/Users/carlosamaral/Documents/www/romanticism-react/node_modules/eslint-plugin-import/lib/rules/namespace.js:132:61)
    at emitOne (events.js:101:20)
    at EventEmitter.emit (events.js:188:7)
    at NodeEventGenerator.enterNode (/Users/carlosamaral/Documents/www/romanticism-react/node_modules/eslint/lib/util/node-event-generator.js:40:22)
    at CodePathAnalyzer.enterNode (/Users/carlosamaral/Documents/www/romanticism-react/node_modules/eslint/lib/code-path-analysis/code-path-analyzer.js:607:23)
    at CommentEventGenerator.enterNode (/Users/carlosamaral/Documents/www/romanticism-react/node_modules/eslint/lib/util/comment-event-generator.js:97:23)
    at Controller.traverser.traverse.enter (/Users/carlosamaral/Documents/www/romanticism-react/node_modules/eslint/lib/eslint.js:905:36)
    at Controller.__execute (/Users/carlosamaral/Documents/www/romanticism-react/node_modules/eslint/node_modules/estraverse/estraverse.js:397:31)
    at Controller.traverse (/Users/carlosamaral/Documents/www/romanticism-react/node_modules/eslint/node_modules/estraverse/estraverse.js:501:28)
    at Controller.Traverser.controller.traverse (/Users/carlosamaral/Documents/www/romanticism-react/node_modules/eslint/lib/util/traverser.js:36:33)

Hmm, tough to say without more info. Looks like a legitimate bug.
Can you isolate to specific lines of code and post them?

Might reside here but I'm not sure. Let me know.
https://gist.github.com/anonymous/197ac98462ce78087136f3262dc91068

Hmm, if any of them, probably one of these lets:
import * as ReactMDL from 'react-mdl';
let Navigation = ReactMDL.Navigation;
let Drawer = ReactMDL.Drawer;
let Layout = ReactMDL.Layout;
let Content = ReactMDL.Content;
let Header = ReactMDL.Content;

Can you try commenting them and see if it goes away?

You're correct. The error is gone. Thanks. What I should use instead? const?

It's definitely a bug in the rule. It shouldn't do anything in these lines, much less throw an exception. I will try to fix ASAP.
In the meantime,

import {
  Navigation,
  Drawer,
  Layout,
  Content,
  Header,
} from 'react-mdl'

is roughly equivalent, and hopefully doesn't throw any errors. 😳

Thanks bro.

PS: I got these errors, not entirely sure if they're related, but the imports are working though.
!  3:27  '/Users/carlosamaral/Documents/www/romanticism-react/node_modules/react-mdl/src/index.js' imported multiple times                                                                         import/no-duplicates
  ✖  4:9   Navigation not found via ../../../node_modules/react-mdl/src/index.js -> ../../../node_modules/react-mdl/src/Layout/index.js -> ../../../node_modules/react-mdl/src/Layout/Navigation.js  import/named
  ✖  4:21  Drawer not found via ../../../node_modules/react-mdl/src/index.js -> ../../../node_modules/react-mdl/src/Layout/index.js -> ../../../node_modules/react-mdl/src/Layout/Drawer.js          import/named
  ✖  4:29  Layout not found via ../../../node_modules/react-mdl/src/index.js -> ../../../node_modules/react-mdl/src/Layout/index.js -> ../../../node_modules/react-mdl/src/Layout/Layout.js          import/named
  ✖  4:37  Content not found via ../../../node_modules/react-mdl/src/index.js -> ../../../node_modules/react-mdl/src/Layout/index.js -> ../../../node_modules/react-mdl/src/Layout/Content.js        import/named
  ✖  4:46  Header not found via ../../../node_modules/react-mdl/src/index.js -> ../../../node_modules/react-mdl/src/Layout/index.js -> ../../../node_modules/react-mdl/src/Layout/Header.js          import/named
  !  4:59  '/Users/carlosamaral/Documents/www/romanticism-react/node_modules/react-mdl/src/index.js' imported multiple times                                                                         import/no-duplicates

Probably are related. Thanks!

Did some digging. Turns out it's because the ES6 behind react-mdl is using object-spread, and ESLint doesn't handle it by default.
Not sure how to resolve. I probably need to handle somehow in the plugin, short-term. You can use these  settings in your eslintrc to resolve for now:
{
  parserOptions: {
    sourceType: 'module',
    ecmaVersion: 6,
    ecmaFeatures: { experimentalObjectRestSpread: true, jsx: true }
  }
}

@benmosher It did the trick. Thanks!

This seems long since resolved.


Resolve "1366 expand operation needs to be optimized for large valuesets 4"

See #1366

Hi, @jamesagnew. This is ready for review.
Please pay special attention to logging and test coverage.
This is still an experimental feature so I've yet to add changelog entries.


Benchmark replacing Arc with Weak in Sender

This could reduce the latency between a Segment no longer in active use and it being reused.

A possible downside is to much contention on a single shared tail Segment.

This would have a tail field in Shared, which would point to the last not yet filled Segment.


Update manifest to avoid merge conflict when using library.

Avoid this issue:
Manifest merger failed : Attribute application@allowBackup value=(false) from AndroidManifest.xml:25:9-36
is also present at [com.sromku:simple-storage:1.1.0] AndroidManifest.xml:12:9-35 value=(true).
Suggestion: add 'tools:replace="android:allowBackup"' to  element at AndroidManifest.xml:24:5-71:19 to override.

@StephaneBg This code shouldn't be there from the beginning. Much thanks!

@StephaneBg Fix was released to jcenter. New version:
dependencies {
    compile 'com.sromku:simple-storage:1.2.0'
}

Much thanks!

Thank you for the good lib!
Le mer. 13 janv. 2016 à 15:02, Roman Kushnarenko<EMAIL_ADDRESS>a écrit :

@StephaneBg https://github.com/StephaneBg Fix was released to jcenter.
New version:
dependencies {
compile 'com.sromku:simple-storage:1.2.0'
}
Much thanks!
—
Reply to this email directly or view it on GitHub
https://github.com/sromku/android-simple-storage/pull/15#issuecomment-171298777
.


HTML output discards trademark symbols

HTML processing currently discards trademark symbols in certain languages, whereas PDF processing includes the ™ and ® symbols as expected regardless of the XML language setting.
With DITA source such as:

This is a trademark: <tm tmtype="tm">MyProduct</tm>.

This is a trademark: <tm tmtype="tm">MyProduct</tm>.

the HTML output includes the ™ trademark symbol in the first (English) paragraph, but discards it in the second where the @xml:lang attribute marks the content as German:

This is a trademark: MyProduct™.

This is a trademark: MyProduct.

In PDF output, the trademark symbol appears in both cases as MyProduct™.
According to comments in org.dita.xhtml/xsl/xslhtml/dita2htmlImpl.xsl Line 1142, this behavior appears to be intentional, though no such rule seems to be applied in other transformation types:

Use the TM for US English and the AP languages (Japanese, Korean, and both Chinese).
Ignore the TM for all other languages.

Though the appropriate usage of trademark symbols in non-English languages is certainly debatable, I would expect OT to handle them consistently across transformation types and render them in HTML output as authored.

For example in Finland the trademark or registered trademark symbols have no legal meaning and they can be omitted. However, I think it should be easy to enable them per language. Not sure what the default should be, though. At least it should be consistent between PDF and HTML.

I'm sure this is a legacy of some early processing in place when the code transitioned from IBM to open source. In IBM we override all trademark processing anyway, to make sure we comply with our latest rules, so any change here won't affect us. Generally - I think it makes sense that the default should mark them the same way, regardless of language. FWIW, I don't know what led to the "US and AP" rule at that time, maybe most other countries work the same as Finland, but author expectation is probably to see them unless they say otherwise?

Revisiting this for a client, I have a custom plugin that preserves trademarks in German HTML output by adding an extra line to the <xsl:choose> group that begins on Line 1150:
<xsl:when test="$parentlang = 'de-de' or $parentlang = 'de'">tm</xsl:when>

This works well enough for now, but the client anticipates additional localizations, so I'd rather not revisit this for each new language.
Can we just eliminate the conditional code in this template and pass trademarks through as authored like in PDF output?

:+1:


CryptoSwift has been updated to 0.6.9

CryptoSwift has been updated to v0.6.9 while Webtrekk uses v0.6.7. Is the older version used on purpose?

Dear @drct
We plan to update version to the latest one. Do you have any specific issue because of that?

I don't have specific issues at the moment, because I use CryptoSwift only through Webtrekk. But if I used it separately I might have.
I was also wondering why you have limited the dependency to one specific Version? You might exclude important bugfixes or features.

It would be nice if you could update CryptoSwift to something like ~> 0.6.9. CryptoSwift does currently not compile with Xcode 9, but they already fixed this in their develop branch. This way we could overwrite the CryptoSwift dependency until they provide a new release.

Hi, @drct and @pfrischmuth
There are couple factors here:

We don't use this library a lot (actually only hash functions) and I would thinking about read of that, to avoid forcing other company to have dependency from this library. However so far there is no problem with library version we are using now.
Except important bug fixing there is also risk of API change. Per SemVer documentation

Major version zero (0.y.z) is for initial development. Anything may change at any time. The public API should not be considered stable.

So in other words changes from 0.6.7 to 0.6.8 version can be not compatible, as they can change already existed API. And if I put version like ~> 0.6.9 code in GitHub might not compile, just because they change/rename existed function and publish next version. That is why until version of Semantic won't became 1.0.0+ I don't fill it would be good to have flexible dependency from version number .
However if you need update version of CryptoSwift as soon as they published version compatible to Xcode 9, I can shortly provide update with new version. At the same time if version became 1.0.0+ I can provide release version with "~> 1.x.0"

Hi @arsen-vartbaronov,
I have the same issue. It would be great if you could provide with that provide with a new version earlier so we can start our migration with all the dependencies working.
This will also speed up your migration process in case issues appear to be ready for day one. If everything is ready beforehand it will be a matter of verifying that everything works like in the betas.
It is pretty common to see this approach in many popular frameworks.
Do you think this would be possible?
Many thanks,
Victor

You can expect an update to CryptoSwift v0.6.9. shortly. There is also a Swift4 version for cocoapods coming.

That's great. Thank you very much.

We have released a new version that doesn't depend on cryptoswift anymore.


Markdown Part 2

Fixes #74
Fixes #75

write markdown in the MakePost component
when the content is empty, the post and preview buttons are disabled
clicking the preview button shows a modal with a preview of what your post will look like with the markdown rendered

The image is currently hardcoded. That will be fixed in another PR when the uploading of image is implemented.

@ceciliaccwei yess!! I have another issue up for making a shared sass file for all the common stylings between components so I’ll leave that for another PR.


MultiLineStringField generation does not work

Here the error that i have when trying to generate a model with a MultiLineStringField :

File "/usr/django/app/src/mommy-spatial-generators/mommy_spatial_generators/generators.py", line 99, in gen_multilinestring
return MultiPolygon([gen_linestring(min_x, min_y, max_x, max_y, srid) for i in range(gen_integer(min_linestrings, max_linestrings+1))])
File "/usr/django/app/src/mommy-spatial-generators/mommy_spatial_generators/generators.py", line 99, in
return MultiPolygon([gen_linestring(min_x, min_y, max_x, max_y, srid) for i in range(gen_integer(min_linestrings, max_linestrings+1))])
File "/usr/django/app/src/mommy-spatial-generators/mommy_spatial_generators/generators.py", line 86, in gen_linestring
return LineString(points)
File "/usr/local/lib/python3.5/site-packages/django/contrib/gis/geos/linestring.py", line 42, in init
raise TypeError('Cannot initialize on empty sequence.')
TypeError: Cannot initialize on empty sequence.

Let me check...

Any news on this problem ? I success to create LineString but not MultiLineStringField.

I saw a problem indeed and I'm fixing it. Also I'm fixing the tests and creating better packaging, so we can distribute this easier.
It will take a while, but I'll try to push an update today.


Can't get it working

I follow the steps from the readme. Also (with pulp) I have crated a fresh purescript project, Main.purs looks like this:
module Main where
import Control.Monad.Eff.Console
my = "hello"
main = do
log "Hello sailor!"
Then I do the following:
dim@Aldan-3L ~/W/psc-ide-master> stack exec -- psc-ide ../purstest/src/Main.purs
Insert the function name to look for:
main
Right Nothing
dim@Aldan-3L ~/W/psc-ide-master> stack exec -- psc-ide ../purstest/src/Main.purs
Insert the function name to look for:
my
Right Nothing
I can't get any response except 'Right Nothing'

psc-ide needs the externs.purs files for type lookup.  Inside of that folder look for your module and pass the path to it's externs.purs file to psc-ide.
Given your current module the path should be ../purstest/output/Main/externs.purs

Looks working


Unable to Deactivate multiple cluster drivers

Setup

Rancher version: v2.6.5 and v2.7-head (Commit ID: 65089ee)
Browser type & version: Brave: v1.46.140 | Chromium: v108.0.5359.99

Describe the bug
Users are unable to deactivate multiple Cluster Drivers at once
To Reproduce

Navigate to Cluster Management -> Drivers -> Cluster Drivers
Select all active Cluster Drivers
Click Deactivate

Result
Nothing appears to happen in the UI, and there are no errors in the Console or Network logs
Expected Result
The selected Cluster Drivers are successfully deactivated
Screenshots

Additional context
According to @rak-phillip in the related issue 7762:
This looks to be an issue with the confirmation dialog.
This only happens when attempting to delete multiple [cluster] drivers.
Holding ctrl before to skip the confirmation dialog while clicking delete will perform the action as expected.

Unfortunately the title for https://github.com/rancher/dashboard/issues/7762 got a little lost as the issue progressed. It's the same bug as this one, so closing


Generate Int overload for Long parameters

Closes #207.
While Long is the technically correct type for ordinal arguments, it's more common to want to format an Int as an ordinal. With this PR, Paraphrase generates an inline overload for all generated functions that contain at least one Long parameter, replacing each Long with Int in the overload.
So if this is generated:
public fun type_ordinal(`value`: Long): FormattedResource {
  val arguments = ArrayMap<String, Any>(1)
  arguments.put(
    "value",
    value,
  )
  return FormattedResource(
    id = R.string.type_ordinal,
    arguments = arguments,
  )
}

Now this overload is also generated:
public inline fun type_ordinal(`value`: Int): FormattedResource = type_ordinal(
  value.toLong(),
)

Hopefully the way the IDE hint looks discourages that.

But sure, helpful lints are nice!


feat: use capi-binary-builds to auto-install deps

Resolves #651

Looks like this brought star down from ~7m to ~2m... not sure why, but I'll take it

vscode ➜ /workspaces/capi (auto-install) $ deno task star
Task star deno task run _tasks/star.ts && deno task check target/star.ts
Task run deno task capi -- deno run -A -r=http://localhost:4646/ "_tasks/star.ts"
Task capi deno run -A main.ts "--" "deno" "run" "-A" "-r=http://localhost:4646/" "_tasks/star.ts"
Capi server listening at "http://localhost:4646/"
A new release of Deno is available: 1.31.1 → 1.32.0 Run `deno upgrade` to install it.
Release notes: https://github.com/denoland/deno/releases/tag/v1.32.0
Blog post: https://deno.com/blog/v1.32
inner command exited with status code 0
Task check deno task capi -- deno cache --check "target/star.ts"
Task capi deno run -A main.ts "--" "deno" "cache" "--check" "target/star.ts"
Capi server listening at "http://localhost:4646/"
Downloading polkadot/v0.9.39-1/x86_64-unknown-linux-gnu
Downloading polkadot/v0.9.39-1/x86_64-unknown-linux-gnu
SyntaxError: Unexpected end of JSON<EMAIL_ADDRESS>(62/71)
    at JSON.parse (<anonymous>)
    at createCustomChainSpec (file:///workspaces/capi/providers/frame/common.ts:22:26)
    at async PolkadotDevProvider.launch (file:///workspaces/capi/providers/frame/polkadot_dev.ts:33:23)
    at async file:///workspaces/capi/providers/frame/FrameBinProvider.ts:22:24
    at async PolkadotDevProvider.connect (file:///workspaces/capi/providers/frame/FrameProxyProvider.ts:60:33)
    at async file:///workspaces/capi/providers/frame/FrameProvider.ts:96:26
    at async withSignal (file:///workspaces/capi/util/withSignal.ts:4:12)
    at async file:///workspaces/capi/providers/frame/FrameProvider.ts:83:29
    at async FsCache._getRaw (file:///workspaces/capi/util/cache/fs.ts:16:23)
    at async file:///workspaces/capi/providers/frame/FrameProvider.ts:80:19
SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at createCustomChainSpec (file:///workspaces/capi/providers/frame/common.ts:22:26)
    at async PolkadotDevProvider.launch (file:///workspaces/capi/providers/frame/polkadot_dev.ts:33:23)
    at async file:///workspaces/capi/providers/frame/FrameBinProvider.ts:22:24
    at async PolkadotDevProvider.connect (file:///workspaces/capi/providers/frame/FrameProxyProvider.ts:60:33)
    at async file:///workspaces/capi/providers/frame/FrameProvider.ts:96:26
    at async withSignal (file:///workspaces/capi/util/withSignal.ts:4:12)
    at async file:///workspaces/capi/providers/frame/FrameProvider.ts:83:29
    at async FsCache._getRaw (file:///workspaces/capi/util/cache/fs.ts:16:23)
    at async file:///workspaces/capi/providers/frame/FrameProvider.ts:80:19
SyntaxError: Unexpected end of JSON<EMAIL_ADDRESS>(69/76)
    at JSON.parse (<anonymous>)
    at createCustomChainSpec (file:///workspaces/capi/providers/frame/common.ts:22:26)
    at async PolkadotDevProvider.launch (file:///workspaces/capi/providers/frame/polkadot_dev.ts:33:23)
    at async file:///workspaces/capi/providers/frame/FrameBinProvider.ts:22:24
    at async PolkadotDevProvider.connect (file:///workspaces/capi/providers/frame/FrameProxyProvider.ts:60:33)
    at async file:///workspaces/capi/providers/frame/FrameProvider.ts:96:26
    at async withSignal (file:///workspaces/capi/util/withSignal.ts:4:12)
    at async file:///workspaces/capi/providers/frame/FrameProvider.ts:83:29
    at async FsCache._getRaw (file:///workspaces/capi/util/cache/fs.ts:16:23)
    at async file:///workspaces/capi/providers/frame/FrameProvider.ts:80:19
Error:   http:// Error: Command failed with exit code 1: bash -c deno task capi bin polkadot v0.9.39-1 build-spec --chain rococo-local --disable-default-bootnode > /tmp/capi_zombienet_31289f05/cfg/rococo-local-plain.json
Task capi deno run -A main.ts "bin" "polkadot" "v0.9.39-1" "build-spec" "--chain" "rococo-local" "--disable-default-bootnode"
Downloading polkadot/v0.9.39-1/x86_64-unknown-linux-gnu
/home/vscode/.cache/capi-binaries/polkadot/v0.9.39-1: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /home/vscode/.cache/capi-binaries/polkadot/v0.9.39-1)
/home/vscode/.cache/capi-binaries/polkadot/v0.9.39-1: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /home/vscode/.cache/capi-binaries/polkadot/v0.9.39-1)
/home/vscode/.cache/capi-binaries/polkadot/v0.9.39-1: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/vscode/.cache/capi-binaries/polkadot/v0.9.39-1)
/home/vscode/.cache/capi-binaries/polkadot/v0.9.39-1: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by /home/vscode/.cache/capi-binaries/polkadot/v0.9.39-1)
/home/vscode/.cache/capi-binaries/polkadot/v0.9.39-1: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /home/vscode/.cache/capi-binaries/polkadot/v0.9.39-1)
/home/vscode/.cache/capi-binaries/polkadot/v0.9.39-1: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /home/vscode/.cache/capi-binaries/polkadot/v0.9.39-1)

undefined
Error: Command failed with exit code 2: bash -c kill -9
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
    at makeError (file:///home/vscode/.cache/deno/npm/registry.npmjs.org/execa/5.1.1/lib/error.js:60:11)
    at handlePromise (file:///home/vscode/.cache/deno/npm/registry.npmjs.org/execa/5.1.1/index.js:118:26)
    at Object.runMicrotasks (internal:core/01_core.js:381:30)
    at processTicksAndRejections (internal:deno_node/polyfills/_next_tick.ts:51:14)
Error: Command failed with exit code 2: bash -c kill -9
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
    at makeError (file:///home/vscode/.cache/deno/npm/registry.npmjs.org/execa/5.1.1/lib/error.js:60:11)
    at handlePromise (file:///home/vscode/.cache/deno/npm/registry.npmjs.org/execa/5.1.1/index.js:118:26)
    at Object.runMicrotasks (internal:core/01_core.js:381:30)
    at processTicksAndRejections (internal:deno_node/polyfills/_next_tick.ts:51:14)
Error: Command failed with exit code 2: bash -c kill -9
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
    at makeError (file:///home/vscode/.cache/deno/npm/registry.npmjs.org/execa/5.1.1/lib/error.js:60:11)
    at handlePromise (file:///home/vscode/.cache/deno/npm/registry.npmjs.org/execa/5.1.1/index.js:118:26)
    at Object.runMicrotasks (internal:core/01_core.js:381:30)
    at processTicksAndRejections (internal:deno_node/polyfills/_next_tick.ts:51:14)
Error: Command failed with exit code 2: bash -c kill -9
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
    at makeError (file:///home/vscode/.cache/deno/npm/registry.npmjs.org/execa/5.1.1/lib/error.js:60:11)
    at handlePromise (file:///home/vscode/.cache/deno/npm/registry.npmjs.org/execa/5.1.1/index.js:118:26)
    at Object.runMicrotasks (internal:core/01_core.js:381:30)
    at processTicksAndRejections (internal:deno_node/polyfills/_next_tick.ts:51:14)
Error: Command failed with exit code 2: bash -c kill -9
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
    at makeError (file:///home/vscode/.cache/deno/npm/registry.npmjs.org/execa/5.1.1/lib/error.js:60:11)
    at handlePromise (file:///home/vscode/.cache/deno/npm/registry.npmjs.org/execa/5.1.1/index.js:118:26)
    at Object.runMicrotasks (internal:core/01_core.js:381:30)
    at processTicksAndRejections (internal:deno_node/polyfills/_next_tick.ts:51:14)
Error: Command failed with exit code 2: bash -c kill -9
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
    at makeError (file:///home/vscode/.cache/deno/npm/registry.npmjs.org/execa/5.1.1/lib/error.js:60:11)
    at handlePromise (file:///home/vscode/.cache/deno/npm/registry.npmjs.org/execa/5.1.1/index.js:118:26)
    at Object.runMicrotasks (internal:core/01_core.js:381:30)
    at processTicksAndRejections (internal:deno_node/polyfills/_next_tick.ts:51:14)
error: Import<EMAIL_ADDRESS>failed: 500 Internal Server Error
    at file:///workspaces/capi/examples/indices.ts:2:39
inner command exited with status code 1
failed to exit gracefully

Star still isn't exiting cleanly, but at least it's exiting at all now. #627


Add field scanner operational log to data stream; add additional information?

Description
According to @smarshall-bmr the field scanner generates a log file. Can this be added to the data stream? It could contain information like start time, stop time, errors, etc.
There may be a list of additional information that could be added, but for starters it would be great if this log could be added to the data stream. Does it contain any sensitive information?
Planning

Scheduling scans and field operations to overlap. Currently we have this calendar

This is a tool for planning, but doesn't need to be used to record what actually happened

Sensor Campaign and Missions

Machine Logs

Scripts used
logs automatically generated by system

don't need to be neat, but are they collecting our information

Operator Logs
Can be created as one or more google forms

gantry operations
Agronomic management
field data collection

Currently we have

FieldBook spreadsheet
Also some draft forms these need to be modified

Field Scanner Log

Github repository for scripts (currently private until LemnaTec agrees or censors content) ask David for access

The FieldBook is a catch-all that can be used to determine what the forms should collect.
Requests for feedback?
What needs to be done and who can do it?
What other information is available, could be recorded?

The PLC log doesn't contain start or stop times.  It's more of a safety record of enabling the laser and PS2 and any errors that have occurred. It would likely be most useful for determining down time.

@TinoDornbusch would you happen to know where this log is stored on the PLC computer? I think it would be useful to pull a section of the log data so we can decide what we would like to do with it.
@dlebauer When we talk about adding this to the data stream, do we mean to store this with the field activity log? I have heard conflicting reports on if the gantry log and field log are going to be split or if the PLC log will be integrated with the gantry log. I would say both of those are good ideas, but I'm not sure what organizational scheme would be most useful to the folks downstream.

@smarshall-bmr by 'add it to the data stream' I meant 'put it on the cache server and have it transferred alongside the rest of the data' ... at appropriate intervals (daily?) and without duplication.

@jdmaloney - are we receiving this data?

@rachelshekar I was unaware of this issue, I don't think we are as I haven't seen it explicitly in the directory structure that I can remember.
@smarshall-bmr If the data can make it to a folder on the cache server via FTP, I can make sure it gets moved to ROGER automatically, that last part is not hard to achieve at all.  Just let me know where it's getting dropped in directory-wise.

I'm having trouble finding where these logs are stored, any help @TinoDornbusch ?

@smarshall-bmr  Sorry I did not see that. The logs are saved on the control PC of the PLC. You can access it via remote desktop. The windows bar is hidden on the left. Mouse over opens the menu and you can start Windows Explorer. You can either Copy&Paste via remote desktop or use an external USB device to copy data.

@jdmaloney - are we getting this data now?

@rachelshekar No we are not

The active log .csv isn't able to be modified while the gantry is operating but I do have one "full" log that runs from 2/15/16 until 6/3/2016. I pulled a copy using a USB drive, any particular place I should put it on the cache server @jdmaloney ?

@dlebauer I have uploaded the csv at https://drive.google.com/file/d/0BzWFmpKimq_6QWVmLXN0WVZBeFE/view?usp=sharing

@smarshall-bmr Sorry this issue slipped by me, we can get this one from Google Drive.  Future logs can go in: /gantry_data/LemnaTec/gantry_log on the gantry-cache machine.  Does that work for you?

@jdmaloney That should work well. I'm anticipating that the system will spit out a new log file soon given the first one covers about 4 months.

@smarshall-bmr are there new logs available? can you move them into the cache directory @jdmaloney mentioned if so (might be a good idea to make this automatic if possible)?

@max-zilla the newest log file is still only 70% full. I've found that if I restart the HMI computer it takes a bit for  the HMI to actually start up and in that time I can save a copy of the log file. If someone is interested in looking at the log data before it's automatically kicked out I can do this.

@smarshall-bmr any updates on this issue?

@max-zilla @smarshall-bmr As we just discussed in today's meeting, we'll just wait to receive this file until it fills up each time

@jdmaloney Could you review the original task and propose an approach to putting all of the different sources of field log information into one location? The PLC logs are only one part, the two other crucial sources of information are the field book and field scanner log
@smarshall-bmr are you still using git commits to record changes to the scripts that define gantry operation?

@max-zilla I'm assuming that these files are size limited, in that case the one currently being used is about 80% full. The few errors that happen the longer it will take to fill up and the HMI is much better behaved now then it has been, so it might take a while.
@dlebauer I'll have to get help on the Git commands again at some point. I made the mistake of updating Git to a new version and it now wants me to update some other programs in order to function correctly. (We have updates turned off on the LemnaControl computer I'll talk to LemnaTec about how recent this install is, we might have to operate an outdated version of Git to get it to work.)

@dlebauer I think there should be a distinction between the PLC logs and those other two inputs.  Having @smarshall-bmr FTP the log over once it fills is a good way for us to get that information.
The other two inputs are more human driven and consistent in content types (columns), which to me indicates those should just get inserted into a database.  I think our most logical direction would be to have one of the students create a simple web form for both the field book and the field scanner log, each submission of the form would insert an entry into a database that Max and I stand up and backup regularly.  Trying to scrape .csv files out of Google Docs (not even sure the feasibility of that) is adding extra work in the middle, when the time comes to reference this data later, having a programmatically query-able data structure will be what we need anyway.
If there is a student who can work on this, I can work with them so they understand the objective and we get this stood up.  I'm still contemplating where we'd run this service for maximum availability, but I should hopefully have that figured out here soon.

@jdmaloney you can programmatically get the field scanner log as:
curl -o filed_scanner_log.csv 'https://docs.google.com/spreadsheets/d/1eQSeVMPfrWS9Li4XlJf3qs2F8txmddbwZhjOfMGAvt8/pub?gid=1394972273&single=true&output=csv' -L
curl -o filed_book.csv 'https://docs.google.com/spreadsheets/d/1eQSeVMPfrWS9Li4XlJf3qs2F8txmddbwZhjOfMGAvt8/pub?gid=665425213&single=true&output=csv' -L

There are also libraries in R (googlesheets) and python (gspread) that provide more advanced functionality.

@jdmaloney please update this issue

@jdmaloney can we close this? is this just a cron thing we have running/need to run?

@max-zilla We'll just be getting a manual push from @smarshall-bmr once the file fills (which isn't a set time).  We're watching the destination on the cache server so we'll get it when we get it.  I am closing the ticket.


working with 4DPi-24-HAT

im installing the FreqShow on a 2.4” 320x240 DPi-24-HAT touchcreen display. the problem is the display cannot receive the touchscreen input. in raspbian i can use the touchscreen but not in the FreqShow application. how to resolve this?

I hate to be, "me too" and without a great solution.  But, me too.
I'm running the official 7" LCD.  Cannot get input from the touchscreen.  I can, with some playing about, still use my mouse.
Looking at the code, it looks like it does ask for the dimensions of the screen that is being used - so I don't know whats going on.

hiya, pull requests would be accepted but we're not going to be spending any time on porting this to other displays...you could ask the makers of the DPi HAT to do it for you, or look around online perhaps someone else has done it
thanks for understanding :)

jflowers: try https://github.com/adafruit/FreqShow/issues/11
?

THANK YOU - Fixed.


update iobroker.vis-2-widgets-rssfeed

replaced by #4057 as this PR contains erronous commits blocking checker scripts.


Allow users to be any falsey value, not just nil.

This support was added by a colleague on Jan 7, 2014.
I'd like to get this merged in so we don't have to use a fork - it wasn't kept up to date.

Thank you :)

@NGMarmaduke I just released 2.2.2 including this

@reneklacan: That was quick, thanks!


Client - typo in gateway generate-certs message

version: development 1.13.0
Actual:
pass phase
Expected:
pass phrase

This code lives in the Hummingbot client, so this issue should be in that repo.


feat(snapshot): build all tests into a single app

This needs to be integrated into the snapshot, so it will be lightning fast
Short description of what this resolves:
50 minutes (or really 100 if you want rtl, 200 if you want dark theme, etc...), reduced to 1 minute for everything
Changes proposed in this pull request:

Add a new app (for now it is under components, so you can run using gulp e2e.watch --f=snapshot/basic

Oops did a bad rebase, squash all commits :)
Ionic Version:  3.x

This is so awesome! :tada:

@brandyscarney Don't get too excited! Still need to figure out how to run protractor on it, with the correct tests for each app (so snapshot can use this by opening each app and running e2e.ts of that app)


Update stable version in repo from 1.2.4 to 1.3.0

Think about update stable version to 1.3.0
Version: stable=1.2.4 (47 days old) => latest=1.3.0 (15 days old)
Installs: stable=495 (38.14%), latest=120 (9.24%), total=1298
Click to use developer portal
Click to edit
Note: This is an automatically generated message and not personally authored by bluefox!

@Schmakus
Is there reason to delay publishing at stable any longer?
If there is no comment within the next 2 weeks (15.11.2023) I will consider publishung anyway.

This issue seems to be outdated.
This issue suggests to update the stable version of this adapter to 1.3.0 but the current stable version is already 1.3.0.
So this issue should be closed.


Release systemd deb packages to github releases

Release #360 to github releases. Also implemented make tasks for staging/kcps systemd debs
(Related: #347)

LGTM

Thanks!


fix crash when object malloc_size no greater than zero

when the number of objects changed frequently, may be will  crash that add wrong thing to instances

for example,before you click the cell of NSCFString, the count of it is 23770, but when you push the view controller, the number of NSCFString changed to 25394, the process of changing will let some instance release，so may be crash

Interesting! The heap objects stuff is inherently unsafe but it seems like this could make it a little better. Thanks for the PR!


GROOVY-8520 add picocli-based CliBuilder

Rebased on the GROOVY_2_5_X branch with all commits squashed.
Requires picocli 3.0.0-beta-2.
Renamed package to {{groovy.cli.picocli}}.
{{groovy.cli.picocli.CliBuilder}} is now fully compatible with the commons-cli based {{groovy.util.CliBuilder}}.

I have merged this. Let's do any further work on the master branch. This PR didn't auto close since I think the Apache github integration expects the PR to be on the master branch. You'll need to do that manually. Thanks for all your work (so far).


SQLite: Is there a way to load extensions?

Hi,
I'm looking for a way to load custom extensions into SQLite, but I can't find anything.
I'm not very experienced with SQLite and completely new to SQLx – is this somehow possible?

TL;DR: this isn't currently supported.
There's SELECT load_extension("<file path>") but that's not enabled by default and the docs seem to highly discourage its use: https://www.sqlite.org/lang_corefunc.html#load_extension
We would probably want to expose the C API to do this, sqlite3_load_extension().
rustqlite supports this in kind of an interesting way, it provides Connection::load_extension() which is the obvious way to do it, but then provides an RAII guard to basically limit the ability to load extensions to a single scope (although you can also just manually call Connection::load_extension_enable() and ::load_extension_disable() whenever you want).
I think I would prefer to limit this even further, and only allow declaring what extensions to load in SqliteConnectOptions. This would also be the best way to load extensions when using sqlx::Pool, I think.
impl SqliteConnectOptions {
    pub fn load_extension(self, path: impl AsRef<Path>, entrypoint: Option<String>) -> SqliteConnectOptions { ... }
}

The other question is how do we make this work with the macros? If we add extensions to SqliteConnectOptions, we could support it as an option in database URLs:
sqlite://mydb.sqlite?extension=%20%path%20%to%20%extension.so
// specify a different entrypoint?
sqlite://mydb.sqlite?extension[foo]=%20%path%20%to%20%extension.so

The other option would be something like we were discussing in #121.

@abonander: Thanks for your response!

There's SELECT load_extension("") but that's not enabled by default and the docs seem to highly discourage its use

The main concern is SQL injection (giving attackers access to the extension-loading functionality). So if a user is careful to deactivate extension-loading after loading all extensions, there shouldn't be a problem.
On the other hand, adding native support to SQLx for loading extensions (as you propose) shouldn't be significantly more work.
Unfortunately, I don't know C, so I can't help implement it, I believe.

The other question is how do we make this work with the macros? If we add extensions to SqliteConnectOptions, we could support it as an option in database URLs

Personally, I'd prefer a second environment variable like SQLX_SQLITE_EXTENSIONS="path/to/ext1.so:path/to/ext2.so". This would eliminate the need to URL-encode the paths.
An alternative would be to use the URL fragment for configuration, which only requires to escape #:
sqlite://mydb.sqlite#extension=/path/to/extension.so
// specify a different entrypoint?
sqlite://mydb.sqlite#extension[foo]=/path/to/extension.so

The URL fragment isn't sent from clients to servers, so this also might serve as a hint, that this is client-side configuration.
I think, SQLite extension-loading would be a great addition to SQLx. My own use-case is to load an extension for transparent row-level text compression (my project will have a huge amount of text).
I guess, for now, I have to use rustqlite and implement my own async layer (unfortunately, losing the fantastic compile-time SQL validation... 🙁)

In your attack scenario, if an attacker is able to overwrite the .env file of the web application, why would they not be able to also just overwrite the application binary already?

I think with env variables depending how they are passed (not from .env) this could be done without write access to the host.
For example when using systemd service for passing the env variables, it doesn't load them every time it restarts the service, only at/when called systemctl daemon-reload, so if you somehow find a way to exploit systemd process and alter the running process you could change env variables for you sqlx service without writing anything to the disk.

I'm going to make a judgement call here, and say that to obviate various issues, the list of extensions to load should more often than not be hardcoded anyway so I now think it should not be part of the database URL or determined by an environment variable.
This makes it harder to forget to specify extensions to be loaded at runtime that are important for an application's function, such as ones that add new SQL functions. You can parse a SqliteConnectOptions from the DATABASE_URL and then add extensions to it:
let mut options = SqliteConnectOptions::parse(&env::var("DATABASE_URL")?)?;

options.load_extension("sqlite-std");

let pool = SqlitePool::connect_with(options).await?;

As for the macros, it's the same thing. You don't want to forget to list extensions in the database URL or miscellaneous environment variable that are necessary to compile, so it makes sense to specify them in the application code:
sqlx::config_macros!(sqlite_extension = "sqlite-zstd");

If you want the list of extensions to be runtime-specifiable still, you can integrate that into your application:
for ext in env::var("SQLITE_EXTENSIONS").ok().unwrap_or_else(String::new).split(",") {
    options.load_extension(ext);
}

closed by #2062

Still can't specify extensions for sqlx migrate.


Can skywalking add support to start agents after the VM has started？

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question or discussion
[ ] Bug
[x] Requirement
[ ] Feature or performance improvement

Requirement or improvement

Please describe about your requirements or improvement suggestions.

We have many project wants to use skywalking. However, there will be too many agent.config files if one project with one config file. So can skywalking add support to start agents after the VM has started? By doing so I can define agent.config in my application.
eg:
System.setProperty("skywalking.agent.service_name","config_tes");
System.setProperty("skywalking.agent.sample_n_per_3_secs","-1");
System.setProperty("skywalking.collector.backend_service","ip:port");
System.setProperty("skywalking.logging.level","ERROR");
Key word: Agent-Class
https://docs.oracle.com/javase/7/docs/api/java/lang/instrument/package-summary.html
Starting Agents After VM Startup

No, we can't. Config file could be used in default. Using system properties and env to override.
You get the bootstrap sequence wrong.

you can config it by VM argument in launching script.
starting Agent after VM startup and before your main method.


Unity S3 Multi-Part Uploader Memory Leak

Hi,
I've been trying to upload large files to S3 using the multi-part uploading in the Unity S3 package.  It works well enough, but it allocates memory the size of the whole file and never frees it.  I've tried using the FilePath member and specifying InputStream but both methods leak memory.  Below is some simple code to demonstrate the issue.  It uploads 8MB chunks.  Task Manager can be used to monitor memory.  Memory usage will just increase forever while the app is running.  Tested in Unity 5.3.7 and 5.5.1.
using UnityEngine;
using System.Collections;
using System.IO;
using Amazon.S3;
using Amazon.S3.Model;
using Amazon.Runtime;
using Amazon.S3.Util;
using Amazon;

public class TestUpload : MonoBehaviour
{
	private const string BUCKETNAME = "";
	private const string KEY = "testUpload.dat";
	private const string ACCESS_KEY = "";
	private const string ACCESS_SECRET = "";
	private const string REGION = "us-east-1";

	private IAmazonS3 _client;
	private IAmazonS3 PublisherAmazonClient
	{
		get
		{
			if (_client == null)
			{
				AWSConfigs.HttpClient = AWSConfigs.HttpClientOption.UnityWebRequest;
				//AWSConfigs.UseSdkCache = false;

				_client = new AmazonS3Client(ACCESS_KEY, ACCESS_SECRET, RegionEndpoint.GetBySystemName(REGION));
			}
			return _client;
		}
	}

	const int MaxChunkSize = 1024 * 1024 * 8;
	private byte[] _fileBuffer = new byte[MaxChunkSize];
	private MemoryStream _dataStream;
	private string _uploadId;
	private int _partIndex = 0;
	private bool _isUploading = false;
	private bool _busyUploading = false;

	void Start()
	{
		UnityInitializer.AttachToGameObject(this.gameObject);
		_dataStream = new MemoryStream(_fileBuffer, 0, MaxChunkSize, false, true);
	}

	void Update()
	{
		if (_isUploading && !_busyUploading)
		{
			// Clear up resources and GC
			Resources.UnloadUnusedAssets();
			System.GC.Collect();

			// Start the next chunk
			UploadChunk();
		}
	}

	private void StartUpload()
	{
		InitiateMultipartUploadRequest request = new InitiateMultipartUploadRequest()
		{
			BucketName = BUCKETNAME,
			Key = KEY,
			CannedACL = S3CannedACL.Private
		};
		_client.InitiateMultipartUploadAsync(request, (response) =>
		{
			if (response.Response != null)
			{
				if (!string.IsNullOrEmpty(response.Response.UploadId))
				{
					_uploadId = response.Response.UploadId;
				}
			}
			else
			{
				Debug.LogException(response.Exception);
			}
		});
	}

	private void UploadChunk()
	{
		_busyUploading = true;

		UploadPartRequest request = new UploadPartRequest()
		{
			BucketName = BUCKETNAME,
			Key = KEY,
			UploadId = _uploadId,
			PartNumber = (_partIndex + 1),
			PartSize = MaxChunkSize,
		};

		_dataStream.Position = 0;
		request.InputStream = _dataStream;

		_client.UploadPartAsync(request, (responseObj) =>
		{
			Debug.Log("Completed chunk " + _partIndex);
			if (responseObj.Exception == null)
			{
				if (responseObj.Response != null)
				{
				}
			}
			else
			{
				Debug.LogError(responseObj.Exception.Message);
			}

			_busyUploading = false;
			_partIndex++;
		});
	}

	void OnGUI()
	{
		if (!string.IsNullOrEmpty(_uploadId))
		{
			if (!_isUploading)
			{
				if (GUILayout.Button("Start Uploads"))
				{
					_isUploading = true;
					UploadChunk();
				}
			}
			else
			{
				GUILayout.Label("Uploading...");
				GUILayout.Label("Uploaded " + _partIndex + " chunks = " + (_partIndex * MaxChunkSize / (1024 * 1024)) + "MB");
				if (GUILayout.Button("Abort Uploads"))
				{
					//AbortUpload();
				}
			}
		}
		else
		{
			if (GUILayout.Button("Connect"))
			{
				_client = PublisherAmazonClient;
				StartUpload();
			}
		}
	}
}

Anyone able to confirm / replicate this?  Seems like quit a serious issue.  Our uploading app crashes when run on 8GB machines currently and we've tried everything we can think of to free memory.

I've provided a nice repro-case but no comments from anyone?
BUMP :)

where do you specify the file name to upload?

The path to the file I mean


The official code about:Reading data from Tfrecord file, I do not this it is a good way.Because it do not real random shuffle data, any one have a better way, and how to sample data with tfrecord file.

tensorflow official code about read data from tfrecord like this:

creat a shuffle file queue
several thread read data from file that dequeue from file queue(The reader will read data from the file until the file is empty, and then the file queue dequeue a new file)
put the data read by the reader to a randomshufflequeue, to make a batch data for training or testing.(this way likes one people drinking sweet water problem:drinking a mouthful of sweet water, and adding equal water.)
Even though you shuffle data before convert it to tfrecord, it is not real random.
If you convert each data to a tfrecord file, I think this is real random, but the efficiency is reduced.
Any one has a better way?
Imbalance data is common, sample is a good way to solve this problem, how to sample data with tfrecord file.
Thanks

This question is better asked on  StackOverflow since it is not a  bug or feature request. There is also a larger community that reads questions there. Thanks!


Make annotation in json files

Hello, I'm trying to use your model to train on my dataset. But I don't know how to makes annotation in .json files. Can you show me the instruction to create person, object and hand bounding boxes?
Thank you!

For custom dataset use Detectron 2 or any other detector of your choosing to estimate person and object bounding boxes as well as person keypoints and arrange them according to the structure of our provided annotations


Revert "Create alert for poller status changes"

Reverts RackHD/on-core#172
The Jenkins fails after this PR is merged.  Revert this commit to recovery Jenkins.

+1

Jenkins: test this please

The revert doesn't need any more, as @pengz1 has fixed in this PR: https://github.com/RackHD/on-tasks/pull/262


Add some missing documents for v6

Prepare v6 release.

Coverage increased (+0.1%) to 12.29% when pulling 7c1a995bfaff9dcf62093dca15188c881b881bdf on v6-doc into 0c6a784e99354c694a2747a4bb911f035c2cf8da on master.


Battery

Battery Health doesn’t show up in settings

I have same problem on my iph11 pro iOS 16.3.1 now it does not even show when I boot in stock mode

Bro me too

The only thing there is a tweak which will show heath in control centre

I have same problem on my iph11 pro iOS 16.3.1 now it does not even show when I boot in stock mode

If it doesn't show up in stock mode, it's not caused by Dopamine!

Hi before I jaibreak iphone 11 pro it was showing but since I jb not showing even in stock mode

Hi before I jaibreak iphone 11 pro it was showing but since I jb not showing even in stock mode I am tempted to do a erase and reset and see But frightened to loose all tweaks

you probably just disabled a daemon or something, that can easily be undone without resetting your device.

I wish I knew what to look for..

The only thing there is a tweak which will show heath in control centre

What is the tweak?

Hi before I jaibreak iphone 11 pro it was showing but since I jb not showing even in stock mode I am tempted to do a erase and reset and see But frightened to loose all tweaks

you probably just disabled a daemon or something, that can easily be undone without resetting your device.

How do we re-enable it?

 The only problem is, I have no idea how it was disabled.

Suddenly after months battery is showing I have not changed anything

Hi before I jaibreak iphone 11 pro it was showing but since I jb not showing even in stock mode I am tempted to do a erase and reset and see But frightened to loose all tweaks

you probably just disabled a daemon or something, that can easily be undone without resetting your device.

How do we re-enable it?

use (geranium)[https://github.com/c22dev/Geranium]!

Suddenly after months battery is showing I have not changed anything

bruh me too yea

Suddenly after months battery is showing I have not changed anything

Bruh it’s gone for me again 😂😂

closing since this is clearly unrelated to dopamine


Error "Existing installation of Helios not found."

Hey, I keep getting an error in this line of code:
pprint(agml.synthetic.available_canopies())

Could you please help me take a look on it? Thanks!

Hi @StupiddCupid,
Could you:
(1) try it in a python script (.py file) or in terminal directly?
(2) Provide details of your OS?

Hii, thanks for reply!
(1) I tried to run it in terminal and got this error.

(2) OS info of my laptop I'm using.

Heyy, I updated my os system and fixed this issue. Thanks!

Great!


<EMAIL_ADDRESS>update due to file name change.

Relates to https://github.com/ScoopInstaller/Extras/issues/10947

[x] I have read the Contributing Guide.

/verify

/verify

#10977


Error with webpack: "error reading first path in the walk .../protos"

Environment details

OS: macOS/Linux
Node.js version: 14.3.0
npm version: 6.14.5
@google-cloud/logging version: 7.3.0 and 8.0.1

Steps to reproduce

Clone the following repo: https://github.com/slhck/pino-stackdriver/
Checkout the branch git checkout update
Run yarn install && yarn run build && node dist/index.js

Error Description
The program errors with:
➜ node dist/index.js
events.js:292
      throw er; // Unhandled 'error' event
      ^

Error: error reading first path in the walk /Users/werner/Documents/Projects/slhck/protos
Error: ENOENT: no such file or directory, lstat '/Users/werner/Documents/Projects/slhck/protos'
    at EventEmitter.<anonymous> (/Users/werner/Documents/Projects/slhck/google-sdk-error/dist/index.js:242:92015)
    at Object.onceWrapper (events.js:422:26)
    at EventEmitter.emit (events.js:315:20)
    at i (/Users/werner/Documents/Projects/slhck/google-sdk-error/dist/index.js:242:90731)
    at w (/Users/werner/Documents/Projects/slhck/google-sdk-error/dist/index.js:242:90829)
    at a (/Users/werner/Documents/Projects/slhck/google-sdk-error/dist/index.js:242:92081)
    at Function.a.sync (/Users/werner/Documents/Projects/slhck/google-sdk-error/dist/index.js:242:92438)
    at Object.<anonymous> (/Users/werner/Documents/Projects/slhck/google-sdk-error/dist/index.js:26:178743)
    at r (/Users/werner/Documents/Projects/slhck/google-sdk-error/dist/index.js:1:110)
    at Object.<anonymous> (/Users/werner/Documents/Projects/slhck/google-sdk-error/dist/index.js:3:95373)
Emitted 'error' event at:
    at EventEmitter.<anonymous> (/Users/werner/Documents/Projects/slhck/google-sdk-error/dist/index.js:242:92002)
    at Object.onceWrapper (events.js:422:26)
    [... lines matching original stack trace ...]
    at Object.<anonymous> (/Users/werner/Documents/Projects/slhck/google-sdk-error/dist/index.js:3:95373)

The program is using pino-stackdriver which loads @google-cloud/logging. The update branch is using the latest version of the latter package, so it's not pino-stackdriver that is the issue.

It seems this can be fixed by setting:
    node: {
      __dirname: true,
    }

in the webpack config.

Reopening, as even that does not solve the issue. Depending on where I run the packed file from, I still get the error:
events.js:291
      throw er; // Unhandled 'error' event
      ^

Error: error reading first path in the walk node_modules/google-gax/protos
Error: ENOENT: no such file or directory, lstat 'node_modules/google-gax/protos'

It tries to find a node_modules directory that isn't there at runtime.

@slhck Have you tried using the webpack config similar to the one we publish (https://github.com/googleapis/nodejs-logging/blob/master/webpack.config.js), and passing {fallback: true} to the logging client constructor?

@alexander-fenster I tried with the fallback option and the following webpack config, but I get this error:
ERROR in<EMAIL_ADDRESS>Module parse failed: Unexpected end of JSON input while parsing near ''
File was processed with these loaders:
 * ./node_modules/null-loader/dist/cjs.js
You may need an additional loader to handle the result of these loaders.
SyntaxError: Unexpected end of JSON input while parsing near ''
    at JSON.parse (<anonymous>)
    at parseJson (./node_modules/json-parse-better-errors/index.js:7:17)
    at JsonParser.parse (./node_modules/webpack/lib/JsonParser.js:16:16)
    at ./node_modules/webpack/lib/NormalModule.js:482:32
    at ./node_modules/webpack/lib/NormalModule.js:358:12
    at ./node_modules/loader-runner/lib/LoaderRunner.js:373:3
    at iterateNormalLoaders (./node_modules/loader-runner/lib/LoaderRunner.js:214:10)
    at iterateNormalLoaders (./node_modules/loader-runner/lib/LoaderRunner.js:221:10)
    at ./node_modules/loader-runner/lib/LoaderRunner.js:236:3
    at runSyncOrAsync (./node_modules/loader-runner/lib/LoaderRunner.js:130:11)
    at iterateNormalLoaders (./node_modules/loader-runner/lib/LoaderRunner.js:232:2)
    at ./node_modules/loader-runner/lib/LoaderRunner.js:205:4
    at ./node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:85:15
    at processTicksAndRejections (internal/process/task_queues.js:79:11)
 @ ./node_modules/google-gax/build/src/grpc.js 71:31-68
 @ ./node_modules/google-gax/build/src/index.js
<EMAIL_ADDRESS> @ ./node_modules/pino-stackdriver/src/stackdriver.js
 @ ./node_modules/pino-stackdriver/src/index.js
 @ ./src/Logger.ts
 @ ./src/index.ts

Config:
module.exports = {
  entry: './src/index.ts',
  target: 'node',
  mode: 'production',
  node: {
    __dirname: false,
    child_process: 'empty',
    fs: 'empty',
    crypto: 'empty',
  },
  module: {
    rules: [
      {
        test: /\.tsx?$/,
        loader: 'ts-loader',
        exclude: /node_modules/,
        options: {
          // disable type checker - we will use it in fork plugin
          transpileOnly: true,
        },
      },
      {
        test: /node_modules[\\/]@grpc[\\/]grpc-js/,
        use: 'null-loader',
      },
      {
        test: /node_modules[\\/]grpc/,
        use: 'null-loader',
      },
      {
        test: /node_modules[\\/]retry-request/,
        use: 'null-loader',
      },
      {
        test: /node_modules[\\/]https?-proxy-agent/,
        use: 'null-loader',
      },
      {
        test: /node_modules[\\/]gtoken/,
        use: 'null-loader',
      },
    ],
  },
  resolve: {
    alias: {
      '../../../package.json': path.resolve(__dirname, 'package.json'),
    },
    extensions: ['.tsx', '.ts', '.js', '.json'],
  },
  output: {
    filename: 'test',
  },
  plugins: [new ForkTsCheckerWebpackPlugin()],
};

Hi @slhck,
ERROR in<EMAIL_ADDRESS>Module parse failed: Unexpected end of JSON input while parsing near ''

This is weird - can you double check this file is not broken for whatever reason? maybe reinstall?
re: PR - I'll take a look, thank you for the contribution and sorry for this taking that long!

Sorry for the misunderstanding; the PR was on the third party repo that I used for logging, where I pass the fallback constructor.
The JSON file is simply not there, as it is replaced by the null-loader in /node_modules[\\/]@grpc[\\/]grpc-js/, via the webpack config you shared. Hence the error trying to parse it.

@slhck , it sounds like your PR resolved this issue. Feel free to reopen this bug otherwise.

@slhck , it sounds like your PR resolved this issue. Feel free to reopen this bug otherwise.


old STATS.csv files can no longer be used

Make a conversion function from STATS.csv to STATS.h5

STATS.csv will not contain settings information implemented in #24, and so will also need the config.ini file used to process the data in order to build a STATS.h5 file with the setting included as metadata.


Changelog strategy in the 3.0 branch

How do we document the changes that have been made in development_3.0?
For a while, this branch is going to have both changes merged from development and API-breaking changes. Both require changelog entries. The entries should be in separate sections.
My suggestion: every 3.0 PR documents what it does in a file in ChangeLog3.d.
Rationale:

One file per PR (unless a PR is a follow-up to one that is already merge), to avoid merge conflicts. It's the same reason we have ChangeLog.d which is later consolidated into ChangeLog.
Separate directory so that we'll have separate sections when we consolidate the changelog file. We'll want a section for 2.26.0 changes (which will reach development_3.0 via development that is separate from the section from 3.0 changes
Document in each PR because otherwise we'll scramble later when things aren't fresh on our minds anymore.

Thanks for raising the issue! I'm not sure I understand the problem however, at it seems to me that the naive strategy would work:

create entries in ChangeLog.d in both branches: development only has the 2.x entries, and development_3.0 has both.
prepare the 2.26.0 release as usual, and after the 2.26 release, merge it back to the 3.0 branch (which is also pushed as development at this point)
from now on, ChangeLog.d in the 3.0 branch (now known as development) only has the 3.0 entries, so when we prepare the 3.0 release, 3.0 entries naturally go the 3.0.0 section of the ChangeLog. (And as usual we have subsections with "API Change", "Removals", etc.)

Am I missing something?

When I wrote this, I must have thought the naive strategy would cause 2.x and 3.0 entries to be mixed. But I think you're right and I was wrong: I don't see a problem with it now. As long as we don't run assemble_changelog on the 3.0 branch, merging will do the right thing.

I'm closing this as we seem to have agreement that there is no problem after all.


render footer triggers onEndReached infinitely when it has state

if you have state changes in your render footer. the onEndReached event of listview triggers indefinitely.
I am using this because I wanted to show a loading view when the on end reached triggers but now I am forced to not use the renderFooter prop and separate this outside of my listview which overlays the bottom part and is kinda ugly.
_renderFooter() {
if(this.state.skip > 15 &&
  this.state.onEndReached && !this.state.refreshing && !this.state.isLoading) {
  const footer = {
    width: width,
    height: 40,
    backgroundColor: 'white',
    justifyContent: 'center',
    alignItems: 'center',
  };
  return <View style={footer}><Spinner type="Wave" /></View>;
}
return null;
}

here is also my onEndReached:
_onEndReached() {
if(this.state.onEndReached || this.state.refreshing || this.state.isLoading) {
  return;
}

this.setState({
  onEndReached: true,
});

if (BaseView.hasInternet(this.props.connectionInfo)) {
  this.props.fetchAdditionalPhotos(this.props.user, this.state.skip).then((photos) => {
    if (photos.length > 0) {
      this.setState({
        skip: this.state.skip + photos.length,
      });
    }
    this.setState({
      onEndReached: false,
    });
  });
} else {
  this.setState({
    onEndReached: false,
  });
}
}

happens on RN >=0.36.0
was fine on RN 0.35.0

i have to add more safeguards for it to not render because of the behavior change

@jjdp how did you end up fixing this?

_onEndReached() {
if(this.state.onEndReached || this.state.refreshing || this.state.isLoading) {
  return;
}

add more conditions there depending on your case


MessageBuilder and MessageOptions merge.

MessageBuilder and MessageOptions currently do similar stuff, but they're on a separate class.
For example: you can't send an attachment using MessageBuilder, but you can using MessageOptions. Though, you can, for example, send an embed or a simple message with both.
Seeing as both want to accomplish the same thing, both should be merged into MessageBuilder.

@SamOphis pls fix

@SamOphis this is your bad api design plz fix or you're blocked from the repo forever

@SamOphis smh kotlin users not even fixing the issues they created it's been a week you nerd smhing my head at you

Fixed in #248 #249


feat: add base classes for user-specified compaction

What problem does this PR solve?
Add base classes for user-specified compaction.
compaction_operation represents the compaction operation, such as update ttl/delete key
compaction_filter_rule represents the compaction rule to filter the keys which are stored in rocksdb.
Checklist
Tests

Unit test
No code actually.  I will add unit tests in later pull requests.

What problem does this PR solve?
Add base classes for user-specified compaction.
compaction_operation represents the compaction operation, such as update ttl/delete key
compaction_filter_rule represents the compaction rule to filter the keys which are stored in rocksdb.
Checklist
Tests

Unit test
No code actually.  I will add unit tests in later pull requests.

Better to add a proposal for this feature, even a Chinese doc.

I agree with @acelyc111 , expecting your proposal and comments.


Some problem with activeRecord relation and indexBy

I have some model with relation.
For example:
class Order extends \yii\db\ActiveRecord
{
    public function getOrderItems()
    {
        return $this->hasMany(OrderItem::className(), ['order_id' => 'id'])->indexBy('item_id');
    }
}

if use:
$model = new Order();
$model->orderItems;

work fine.
But if try use:
$models = Order::find()->with('orderItems')->all();

foreach ($models as $model)
    $model->orderItems;

Where many orders have the same item, only first order have full item list.

:up:

:+1:

One more thing: if we allow groupping for indexBy as this issue suggest. The next requirement, which will appear is a nested indexBy support. For example: developer may want to index rows at first level by 'group_id' and in sub-set by 'id':
$rows = Item::find()->indexBy(['group_id', 'id'])->all();

output:
[
    1 => [
        1 => ['id' => 1, 'group_id' => 1],
    ],
    2 => [
        2 => ['id' => 2, 'group_id' => 2],
        3 => ['id' => 3, 'group_id' => 2],
    ]
]

in fact I'm looking for a function exactly like that in yii, if someone knows this, i will thank you


Select & enable numeraires

A decent amount of work (tracking issue) has been done to enable prax to keep an index of prices. Since the launch of mainnet, this feature has not been enabled because numeraires in the registry have not been chosen.
Tasks:

Select appropriate numeraires
Add them to the registry
Test out onboarding (especially this logic)
Test out Prax settings page
See equivalent prices displayed in minifront
Communicate to users the new feature

closed by https://github.com/prax-wallet/prax/pull/203?

Indeed!


Rails 4 Upgrade

Many, many changes to get us on Rails 4... only a year late! The most
significant changes are probably the finder methods and the different behavior
of includes, which seems to be even lazier about loading associates and
doesn't seem to trigger joins early enough for conditions to use them.

Put on your helmets everyone :construction_worker:

Hah, helmets have been on since last week. Just been holding off on a merge so we could use the old code as a reference, but most things seem to be working.

:fireworks:


npm package

Hi,
can't find "stasoft91/vue-zeye-client" nor "vue-zeye-client" npm package.

Hmm, have you tried zeye-ru/*?

Tried "zeye-ru/vue-zeye-client" , "stasoft91/vue-zeye-client" and "vue-zeye-client" ... no chance, no answer.
Are you sure you released the package?

I ended up solving the problem by adding this line to
"dependencies": {
....
"vue-zeye-client": "git://github.com/zeye-ru/vue-zeye-client.git"
}


Fix typo in node pattern defining method name

Should be def_node_matcher, not def_node_pattern. At least, I couldn't find the latter being defined anywhere.

Thanks!


iOS App is not staring in release mode

After releasing the app, the app is not staring anymore if I add Crashlytics like it is described in the readme

Are you using Fabric or Firebase for crashlytics ?

I have to say the iOS setup instructions are not that good anyway ;-). Would probably be nice to update it to a little clearer instructions.

Not sure what I have to do in the build phase. Text & image do not really say the same thing. And then the xcode 10 note is not clear. What needs to be done on xcode 10?
"Then on your Podfile add use_frameworks!" is that as well if one didn't do the things before it (not fabric and not disabling automatic collection)

If you want I can as well create a new issue for this. But thought this might be related.

Closing as no news, please provide a small example to reproduce the problem.


NullPointerException initializing JedisPool with URI with no path

When constructing a JedisPool using the URI constructor, if you supply a minimalist basic URI without path, such as localhost:6379, the result is an NPE in the JedisURIHelper:
  public static Integer getDBIndex(URI uri) {
    String[] pathSplit = uri.getPath().split("/", 2);  // <-- Exception here, because uri.getPath() is null
    if (pathSplit.length > 1) {
    // ...
    }
  }

To be clear, I know that the simple workaround is to instead pass localhost:6379/ as the URI.  However, the slash should not be required.

@bennesher Thanks for finding!
If you don't mind, could you craft a patch and post a pull request?

@bennesher actually if you use redis://localhost:6379 it should work.
I think we are having problem when user does not pass the redis part. I'll fix it.

@HeartSaVioR should we support URIs without scheme?

@nykolaslima we shouldn't. We need to throw an InvalidUrlException or something if the scheme is not supplied.


Disease mapping

The diseases listed in the xmls on the ftp site for dbGaP are not the same as the diseases which can be queried using the [disease] advanced search.

Interesting.. If I remember correctly we had extracted the disease names from the XMLs right?
I will ask Ben / Mas about this.
How much does it affect the search results?

I haven't done exhaustive testing, but some searches, such as for stomach/gastric cancer will return no dbGaP results.  Others, such as breast, will still return results, but will be missing studies. Do you know if there is an easy way to get the index list out of the advanced search?


RACK_TIMEOUT_TERM_ON_TIMEOUT=0 still does not allow TruffleRuby to run

Getting
Current Runtime does not support processes
/build/openprojectv/src/openproject/vendor/bundle/truffleruby/<IP_ADDRESS>.1.0/gems/rack-timeout-0.6.3/lib/rack/timeout/core.rb:78:in `initialize'

when invoking RACK_TIMEOUT_TERM_ON_TIMEOUT=0 RAILS_ENV=production bundle exec rake db:migrate db:schema:dump db:schema:cache:dump with TruffleRuby (JVM version) 23.1.1.
Trying to hack around it currently with sed -e 's/@term_on_timeout   =.*/@term_on_timeout   = ::RUBY_ENGINE == "truffleruby" ? false : read_timeout_property(term_on_timeout, ENV.fetch("RACK_TIMEOUT_TERM_ON_TIMEOUT", 0).to_i)/' lib/rack/timeout/core.rb but it seems like either the ENV var is being overridden or term_on_timeout is already true somehow.

Can you please share your use (or insert_before) statement?
The environment variables will not override setting a value at initialization time. If you want to be able to toggle a setting on/off using environment variables, you must always use environment variables. The alternative is to handle it yourself to have the effect you desire.
use Rack::Timeout, term_timeout: ENV['RACK_TIMEOUT_TERM_ON_TIMEOUT'] || 15

In this case, it will prefer to use the ENV var since it's being explicitly passed in, but default to 15 if it is unset.
Otherwise, this appears to be a bug in TruffleRuby (arguably, it already is, since the error you provided is not being printed by rack-timeout, and rack-timeout only attempts to run ::Process.respond_to?(:fork), which should be able to return false in TruffleRuby rather than raising an error).

Ah, sorry, this error was raised by rack-timeout; the error message was changed on HEAD in this commit 0f35a85a89a8206c2b8a2d1714c39329b3490ce6 which mislead me here.


Add doc reference HIP-844

Problem
HIP: https://hips.hedera.com/hip/hip-844
Protobuf PR: https://github.com/hashgraph/hedera-protobufs/pull/312
Introduce rules for when to update an Ethereum transaction signer’s nonce and a new field for externalising the nonce update in the record stream. This will help resolve issues where the Consensus nodes and the Mirror nodes are out of sync in regards to what the current value of an account’s nonce is.
message ContractFunctionResult {

    [...]

    /**
     * If not null this field specifies what the value of the signer account nonce is post transaction execution.
     * For transactions that don't update the signer nonce (like HAPI ContractCall and ContractCreate transactions) this field should be null.
     */
    Int64Value signer_nonce = 15;
}

Solution
Add doc for signer_nonce
Alternatives
No response

New APIs
None!
Updated APIs
ContractFunctionResult
int64 signerNonce: The value of the signer account nonce.

NOTE: This value can be null.

Example
ContractFunctionResult cfr;
cfr.signerNonce = 1;


Pull plotly from CDN instead of inlining whole javascript into notebook file

This makes the notebook file much larger than it needs to be, is it possible to just pull plotly.js from the plotly CDN and inject like bokeh does (https://github.com/bokeh/jupyterlab_bokeh/blob/master/src/renderer.ts#L39)

There is no inline Javascript being inserted into notebook files. Currently (due to issues with plotly.js and JupyterLab extensions not having full control over webpack config), plotly.min.js text content is being imported and injected into a script tag in the document head. In the future, we would like to just import it like we do with almost every other library.

is this new? this is what I see:

yeah I see it here, let me update and check
https://github.com/jupyterlab/jupyter-renderers/blob/master/packages/plotly-extension/src/index.tsx#L32

What you're seeing there is the result of calling plotly.offline. init_notebook_mode(connected=False) method from the plotly python library. This method doesn't work in JupyterLab because JupyterLab does not evaluate inline Javascript in outputs like classic notebook did. Just leave out that call in JupyterLab and you're outputs should be very lean 👍

@gnestor ah excellent, thanks!


token for a long time to create a new project

when i want to init a new project,it would token for a long time during the npm installing packages,
is there have another way to fixed this problem?
such as make a easy project template in local file system,when i want to create a new project , just copy it to my dest project with some config.
xd~

Hi @inickel
react-native init ProjectName install react-native and all other required packages from npm and create the Template project for the given ProjectName.
You can make your own changes for your requirements. But I believe it doesn't make sense to make change on react-native cli.
If this answers your question , please close the issue.

The CLI is designed to download the latest version of react-native from npm. It doesn't include a template itself.
You can try a few things:

Use npm 2
Make sure you have a fast connection to the npm registry server

just a suggestion ,maybe someone face the same problem,ths for the all answers