DNS-01 Cleanup fails if cannot find record set

Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
Configured for DNS-01 validation and wildcard certs.  This means there is a race between namespaces and/or deployments, a known scenario.
What you expected to happen:
If a DNS TXT validation record is missing, it would be created.
How to reproduce it (as minimally and precisely as possible):
Deleting the TXT record sometime after the order is made and before it is satisfied should do it.  Otherwise, use any method to duplicate requests for a Certificate with DNS-01 validation method.
Maybe this is only an issue on AWS/Route53.  This depends on each provider implementation.
Anything else we need to know?:
I0718 08:47:10.890901       1 controller.go:177] certificates controller: syncing item 'system/wildcard.my.domain'
I0718 08:47:10.891022       1 sync.go:259] Preparing certificate system/wildcard.my.domain with issuer
I0718 08:47:10.891036       1 acme.go:162] getting private key (acme.my.domain->tls.key) for acme issuer system/my.domain
I0718 08:47:10.891500       1 logger.go:27] Calling GetOrder
I0718 08:47:11.066159       1 prepare.go:247] Cleaning up previous order for certificate system/wildcard.my.domain
I0718 08:47:11.074741       1 prepare.go:263] Cleaning up old/expired challenges for Certificate system/wildcard.my.domain
I0718 08:47:11.074770       1 prepare.go:287] Cleaning up challenge for domain "somehost.dev-my.domain" as part of Certificate system/wildcard.my.domain
I0718 08:47:11.564518       1 sync.go:261] Error preparing issuer for certificate system/wildcard.my.domain: Failed to change Route 53 record set: InvalidChangeBatch: Tried to delete resource record set [name='_acme-challenge.somehost.dev-my.domain.', type='TXT'] but it was not found
	status code: 400, request id: 295a5304-8a67-11e8-8a40-31452925375f
E0718 08:47:11.564559       1 sync.go:182] [system/wildcard.my.domain] Error getting certificate 'wildcard.my.domain': secret "wildcard.my.domain" not found
E0718 08:47:11.568749       1 controller.go:186] certificates controller: Re-queuing item "system/wildcard.my.domain" due to error processing: Failed to change Route 53 record set: InvalidChangeBatch: Tried to delete resource record set [name='_acme-challenge.somehost.dev-my.domain.', type='TXT'] but it was not found
	status code: 400, request id: 295a5304-8a67-11e8-8a40-31452925375f

Probably a failure to DELETE should not return an error from CleanUp.  I'm not sure how you want to conditionally eat the failure.
Environment:

Kubernetes version (use kubectl version):

Client Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.0", GitCommit:"91e7b4fd31fcd3d5f436da26c980becec37ceefe", GitTreeState:"clean", BuildDate:"2018-06-27T20:17:28Z", GoVersion:"go1.10.2", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.4", GitCommit:"5ca598b4ba5abb89bb773071ce452e33fb66339d", GitTreeState:"clean", BuildDate:"2018-06-06T08:00:59Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}

Cloud provider or hardware configuration**: AWS / Route 53 for DNS-01
Install tools: helm

A fix to conditionally ignore that error, as you suggest, has landed on master, so it should be in the next major release.
Thanks for the report and suggestion @hobti01
@munnerz since the failure mode is that cert-manager is wedged (iiuc), we should cherry-pick it to a patch release if one is planned.

I'm hitting the same error on 0.4.0, cert-manager cannot renew my letsencrypt certificates.
When the next release will be available?


chore: Update missing natspec

This is only a chore PR but i've also made sure that not other library is left without natspec

@rndquu looks busy with the needed front end on time, let me know for further concerns


The command line argument "{connection_file}" isn't replaced correctly

Prerequisites

[x] Have you checked the solutions in our troubleshooting guide for common problems ?
[x] Have you checked that your issue isn't already filed ?

Description
I have downloaded a external Jupyter kernel from the official list.
It is the tslab kernel
So the issue is hydrogen is not correctly replacing the text {connection_file} with the path to the connection file just because it is not a single argument by itself.
The correct behaviour of jupyter_client on argv should be, quote:

argv: A list of command line arguments used to start the kernel. The text {connection_file} in any argument will be replaced with the path to the connection file.

This is quoted from the jupyter_client documentation.
And indeed, jupyter notebook did correctly replace the {connection_file} despite it not being a stand-alone argument but rather a part of an argument string.  And that kernel works completely fine in jupyter notebook.
Note that tslab is not necessary to produce the said error.
It is actually harder to spot if this happens to ipykernel as it does not complains, but rather just not responding.
Here is the step to reproduce that in using only ipykernel:
Steps to Reproduce
This assumes a *nix / linux OS and environment.

At shell, do jupyter kernelspec list.  You should see something like this:

Available kernels:
  kernelA      /path/to/kernelspec
  kernelB      /path/to/kernelspec
  python3    /path/to/kernelspec

Change directory to the path to the kernel spec for python, or simply open that folder with a file manager.
At that directory, open the kernel.json file, it should originally be something like this:

{
 "argv": [
  "/path/to/python",
  "-m",
  "ipykernel_launcher",
  "-f",
  "{connection_file}"
 ],
 "display_name": "Python 3",
 "language": "python"
}

Edit and save the file to something like this, ( change the path to your installation path of python )

{
 "argv": [
  "/path/to/python",
  "-m",
  "ipykernel_launcher",
  "-f={connection_file}"
 ],
 "display_name": "Python 3",
 "language": "python"
}

do jupyter notebook, create a new python notebook, run 1+1, it should work fine.
do the same at atom, create a new python file, run 1+1, there should be no response.

Clean up
Revert changes to the kernel.json file to fix the issue.
do kill $(pgrep python -m ipykernel_launcher) as the non-responsive ipykernel is actually still running.

Versions

OS version:
MacOS 10.15.6（19G73）

atom --version

Atom    : 1.48.0
Electron: 5.0.13
Chrome  : 73.0.3683.121
Node    : 12.0.0

apm --version

apm  2.5.0
npm  6.14.5
node 10.20.1 x64
atom 1.48.0
python 3.7.6
git 2.24.3

Hydrogen version:

Hydrogen version: 2.14.4
Plugins
Have you installed and activated any of the Hydrogen plugins below ?
NO

[ ] hydrogen-python
[ ] Hydrogen Launcher
[ ] Data Explorer

Logs
[Please post any error logs and the output of the developer tools as described in our Debugging Guide.]
Exception trace for tslab
UnhandledPromiseRejection: Error: ENOENT: no such file or directory, open '{connection_file}'
at Object.openSync (fs.js:465:3)
at Object.readFileSync (fs.js:368:35)
at ZmqServer.init (/usr/local/lib/node_modules/tslab/dist/jupyter.js:411:47)
at startKernel (/usr/local/lib/node_modules/tslab/dist/main.js:101:12)
at Command. (/usr/local/lib/node_modules/tslab/dist/main.js:165:9)
at Command.listener [as _actionHandler] (/usr/local/lib/node_modules/tslab/node_modules/commander/index.js:413:31)
at Command._parseCommand (/usr/local/lib/node_modules/tslab/node_modules/commander/index.js:914:14)
at Command._dispatchSubcommand (/usr/local/lib/node_modules/tslab/node_modules/commander/index.js:865:18)
at Command._parseCommand (/usr/local/lib/node_modules/tslab/node_modules/commander/index.js:882:12)
at Command.parse (/usr/local/lib/node_modules/tslab/node_modules/commander/index.js:717:10)
{ errno: -2, syscall: 'open', code: 'ENOENT', path: '{connection_file}' }

Expected behavior
Replacing the text {connection_file} in any argument at argv in the kernel's kernel.json the path to the connection file.
Screenshots
Not Applicable.
Additional context
The tslab kernel  works correctly with Jupyter notebook, but node.js complains about not having a file called '{connection_file}'
Please see the Logs section for the exception trace.
So I looked into the kernel.json file for that kernel and this is how it looked
{
 "argv": [
   "tslab",
   "kernel",
   "--config-path={connection_file}",
   "--js"
  ],
  "display_name": "JavaScript",
  "language": "javascript"
}

It is then I realised the issue with the help of the  jupyter_client documentation.

I reckon this definitely should be changed as the jupyter_client documentation explicitly says: "the text {connection_file} in any argument will be replaced with the path to the connection file."
That is, if hydrogen would like to behaves as close the Jupyter client as possible.

sorry, but the bug still exists.
Would you fix it? please  m(_ _)m
Versions
OS version:
win10 1909

atom --version

Atom    : 1.49.0
Electron: 5.0.13
Chrome  : 73.0.3683.121
Node    : 12.0.0

apm --version

apm  2.5.0
npm  6.14.5
node 10.20.1 x64
atom 1.49.0
python 3.8.2
git 2.28.0.windows.1
visual studio 2015

Hydrogen version:
Hydrogen version: 2.14.5

Logs
[Please post any error logs and the output of the developer tools as described in our Debugging Guide.]
Exception trace for tslab
UnhandledPromiseRejection: Error: ENOENT:
no such file or directory, open '{connection_file}' at Object.openSync (fs.js:466:3) at Object.readFileSync (fs.js:369:35) at ZmqServer.init
(C:\Users\we684123\AppData\Roaming\npm\node_modules\tslab\dist\jupyter.js:411:47) at startKernel
(C:\Users\we684123\AppData\Roaming\npm\node_modules\tslab\dist\main.js:101:12) at Command.
(C:\Users\we684123\AppData\Roaming\npm\node_modules\tslab\dist\main.js:165:9) at Command.listener [as _actionHandler] (C:\Users\we684123\AppData\Roaming\npm\node_modules\tslab\node_modules\commander\index.js:413:31) at Command._parseCommand
(C:\Users\we684123\AppData\Roaming\npm\node_modules\tslab\node_modules\commander\index.js:914:14) at Command._dispatchSubcommand
(C:\Users\we684123\AppData\Roaming\npm\node_modules\tslab\node_modules\commander\index.js:865:18) at Command._parseCommand
(C:\Users\we684123\AppData\Roaming\npm\node_modules\tslab\node_modules\commander\index.js:882:12) at Command.parse
(C:\Users\we684123\AppData\Roaming\npm\node_modules\tslab\node_modules\commander\index.js:717:10) { errno: -4058, syscall: 'open', code: 'ENOENT', path: '{connection_file}' }

.

Is this fixed yet?


Fixed #25503 -- Fixed system check crash on ForeignKey to abstract model.

https://code.djangoproject.com/ticket/25503

Also, this crash also needs a failing test first, and then fix for make test pass

The ORM isn't my area of expertise, but how about this:
diff --git a/django/db/models/fields/related.py b/django/db/models/fields/related.py
index a1c4ea5..ac6b822 100644
--- a/django/db/models/fields/related.py
+++ b/django/db/models/fields/related.py
@@ -461,6 +461,9 @@ class ForeignObject(RelatedField):
         except exceptions.FieldDoesNotExist:
             return []

+        if not self.foreign_related_fields:
+            return []
+
         has_unique_field = any(rel_field.unique
             for rel_field in self.foreign_related_fields)
         if not has_unique_field and len(self.foreign_related_fields) > 1:
@@ -563,7 +566,7 @@ class ForeignObject(RelatedField):

     @property
     def foreign_related_fields(self):
-        return tuple(rhs_field for lhs_field, rhs_field in self.related_fields)
+        return tuple(rhs_field for lhs_field, rhs_field in self.related_fields if rhs_field)

     def get_local_related_value(self, instance):
         return self.get_instance_value_for_fields(instance, self.local_related_fields)

It doesn't seem correct to me that foreign_related_fields would return a None value in the first place.

@timgraham this indeed looks like better, because (None, ) is not correct list of foreign related fields (as it is on test models I described in a ticket)

I also thought about similar solution. Furthermore we should also change
@@ -564,11 +566,11 @@ class ForeignObject(RelatedField):

     @property
     def local_related_fields(self):
-        return tuple(lhs_field for lhs_field, rhs_field in self.related_fields)
+        return tuple(lhs_field for lhs_field, rhs_field in self.related_fields if lhs_field)

for consistency.

buildbot, add to whitelist.

merged in 914167abf19d16ac97c0f1f6ae1b08cb377c8f3a, thanks!


finalize html skeleton

make sure html is ready so all users can work on project independently
attach jquery to html
wrap all functions in jquery

html skeleton finalized


CHTML output strangeness

Hi.
This is how some text + MathJax is rendered online (client-side) with CHTML output:

This is what it looks like when rendered offline (server side) with mathjax-node-page (using FabianHenneke/jekyll-mathjax-csp) as SVG:

And this is what it looks like when rendered offline as CHTML:

As you can see, the math font is much smaller than either the online CHTML or the offline SVG, and the bbox (\bbox[lightgrey,2pt]) is not colored.

Looks like an upstream issue https://github.com/mathjax/MathJax-node/issues/433

Thanks. What about the font size?

What about the font size?

That will depend on the surrounding CSS (and possibly the browser if you're not careful). Without a live sample, there's not much more to say I'm afraid.


Should the initialState prop to Provider be mandatory if initialState is used?

Hi! :wave:
I made a container that accepts a (mandatory) initial state:
type InitialState = {
  person: string;
}

function useFilters({ person }: InitialState) {
 // code that assumes `person` is defined
}

const { Provider, useContainer } = createContainer(useFilters);

export { Provider as EventFiltersProvider, useContainer as useEventFilters };

I was very pleased to see that the initialState prop to the Provider is properly typed:
<EventFiltersProvider
  initialState={{ person: … }}
>
  // …
</EventFiltersProvider>

However, the Provider component does not require the initialState prop, so this also passes the TypeScript compilation:
<EventFiltersProvider>
  // …
</EventFiltersProvider>

I understand that it may be desirable to make a component accepts an optional default state, but it still feels bad that it's possible to make my TypeScript code fail at runtime by forgetting to pass a prop.
I'm not entirely sure what the correct solution to this problem is, but I've at least tried to describe the issue here. :smile:

I encountered a related case for me. Since initialState is optional in the typings, whenever I wanted to invoke a store-exported function it gave me a warning that this function could be undefined since the initialState is optional. I fixed this by creating a generic typeOverride.d.ts file:
import 'unstated-next'

declare module 'unstated-next' {
  export function createContainer<Value, State = void>(useHook: (initialState: State) => Value): Container<Value, State>
}

Its the original type, but simply initialState made mandatory and therefore any function being invokable without a ts error/warning. Not exactly your issue, but I thought I post it anyway in case other stumble upon it.

It is really unclear why this has not been done. Still relevant


Update build-python-client.sh Docker image

I ran into the following error trying to run mage buildpython on my machine:
sed: couldn't open temporary file proto/armada/sedgxb1ga: Permission denied

Indeed, none of the file's permission bits were set:
$ stat --printf=%f proto/armada/sedgxb1ga
8000

The internet tells me that this is an issue with versions of sed prior to 4.8 (see the "Bug fixes" section of https://savannah.gnu.org/forum/forum.php?forum_id=9647), and upgrading to a Debian version that ships a newer version of sed (see https://packages.debian.org/bookworm/sed) does indeed fix this issue on my machine.

The test failures look unrelated:
E           grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
E           	status = StatusCode.UNKNOWN
E           	details = "[x-request-id: "SCAfkYvNRr5w5XPvuqv23N"] job 01hdsj4cntd4gxfe26x4v4h9nb unschedulable: failed to schedule onto legacy scheduler because 0-th job unschedulable:
E           no executor clusters available"
E           	debug_error_string = "UNKNOWN:Error received from peer  {created_time:"2023-10-27T21:55:02.971995066+00:00", grpc_status:2, grpc_message:"[x-request-id: \"SCAfkYvNRr5w5XPvuqv23N\"] job 01hdsj4cntd4gxfe26x4v4h9nb unschedulable: failed to schedule onto legacy scheduler because 0-th job unschedulable:\nno executor clusters available"}"
E           >

I think I know what could be causing that. I will investigate

The Python client workflows have been fixed on master, so this is ready to go in now.


Prevent syncing when the user is not signed in

Closes #221

Codecov Report

Merging #222 (8756510) into main (ed577f2) will decrease coverage by 0.79%.
The diff coverage is 30.76%.

@@            Coverage Diff             @@
##             main     #222      +/-   ##
==========================================
- Coverage   63.27%   62.48%   -0.80%
==========================================
  Files          73       73
  Lines         648      653       +5
  Branches      176      181       +5
==========================================
- Hits          410      408       -2
- Misses        230      237       +7
  Partials        8        8

Impacted Files
Coverage Δ

src/lib/features/listening-history/model/store.ts
52.38% <20.00%> (-28.87%)
:arrow_down:

...ib/features/listening-history/api/history-table.ts
75.00% <66.66%> (ø)

Continue to review full report at Codecov.

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


Flask codebase

For issue #80
Flask API would be better than Node.Js ...So CodeBase in flask(python) has been written ..
To run project:
make sure flask already installed on your system
2 commands: 1) export FLASK_APP=score.py  2) flask run
Following are some pics for how a running project should look like...

I created basic forms of login register and a home page....
I would like to work on this (Database and adding some features)further once these things get reviewed...
This will help community members to start coding further as it fixes base code issue...
People can contribute in various parts of project like database , frontend , authentication, ...etc.

@ivantha @root5533 Please Review..

Duplicate of #88


Conflict (409) status code implementation, tests, docs (#1)

@Teodor92 For some reason conflict result has conflicts (pun intended). Can you sort them out?

@ivaylokenov Merged with master - there should be no more conflicts.

@Teodor92 Still gives errors in the ClientErrorControllerBaseExtensionsTest.cs class. I believe it is because of a merged pull request before yours.

@ivaylokenov Fixed :)

Merged the conflict! Thanks! 👍


lsdsng-import shouldn't ignore FX/SPEED

i thought instrument data was supposed to carry the whole chunk when importing? maybe something is weird but FX/SPEED was reset to 0 for inst 0E in this song. lsdsng (from LSDManager) and sav from lsdsng-import included. tested in v7.1.4
4thsriff.zip

FX/SPEED should show 1 for inst 0E (not zero)

Thanks, I'll take a look when I find the time!

FX/SPEED has been renamed to CMD/RATE

All right, that's good news for this issue, and then we'd have to think about P/L/V

right. and previously it was also called VIB TYPE. so we might have to
think it through a bit
On Wed, Feb 12, 2020, 3:51 PM Stijn Frishert<EMAIL_ADDRESS>wrote:

All right, that's good news for this issue, and then we'd have to think
about P/L/V
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/stijnfrishert/liblsdj/issues/61?email_source=notifications&email_token=ABLMCWMLCKC4FINOBZDZCWDRCRONVA5CNFSM4JXBGH7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELSKYSA#issuecomment-585411656,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABLMCWME6KBXZPRRZGTS2QDRCRONVANCNFSM4JXBGH7A
.

So what setting is this exactly? Cause I didn't come across it in any of the version changes.

i got confused and started talking about something else. CMD/RATE (first known as FX/SPEED) controls the speed of C commands as well as P in noise channel (and P/L/V when pitch is set to TICK).

Hmmm, ok I'm not entirely sure where in Johan's upgrade code that's featured, so I'll look into that too.

Ok, this issue can actually be closed, the new v2 shouldn't ignore any settings at all anymore.
Opened #78 for post-v2 handling


Use KaTeX instead of MathJax

KaTeX is a lot faster than MathJax. As of recently, functionality is on par.

You can already use your own template which allows you to use KateX and do any other changes you want. I have so far chosen not to support options for the output that can be handled with custom templates.  An alternative would be to allow user passing a dictionary or a custom type to specify options.


httpsinkexporter: add support for metrics and filtering

now supports metrics datatype.
also supports filtering by name and attributes (metrics only)
query URL has changed from / to /spans and /metrics
fixed some other subtle bugs/issues

Thanks @rmfitzpatrick. All passing now.


how do I get bonded rune back in asgardex desktop?

Issue description

Your Environment

ASGARDEX desktop version:

Operating system and version:

Transaction hash(es):

<!---Block #1045362  --
BOND:thor1fwp8z5r9qhshr280yc59lvxmy78tw09mtjymhw>
- Wallet address(es): thor1fwp8z5r9qhshr280yc59lvxmy78tw09mtjymhw

WALLET -> RUNE -> DEPOSIT -> UNBOND

Note:

You can only unbond when your Node is on "standby", ie, just before it is selected to churn in, or after it is churned out.
You cannot unbond if you are "ready" or "active" or have any amount of funds on your Yggdrasil address

^ https://docs.thorchain.org/thornodes/leaving#unbonding


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fast loading(implemented in omake)

Details
Currently, quick load([F2]) is very slow especially you conquer Lesimas and many nefias.
In omake, some stuff are implemented in order to speed up loading.
Variants having this feature
omake

I understood how the fast loading works implemented in omake, but it is related to save files, so we should be careful to port to Foobar. Since v0.2.5 is big, I put off implementing this feature.

Implementation note
Assume that your character's name is lomias.

Delete save/sav_lomias/filelist.txt, no longer necessary.
Do not copy any files from save/sav_lomias/ to tmp/.

Instead, copy each file to tmp/ before loading.
Store copied files and load them if needed again.


fix(Dependacies): Bumps laravel/sentry version

Bumps laravel/sentry version to 3.1.x

Replaced by #5


gitRepo volume mounting fails in Kubernetes envrionment

Rancher Version:
v1.1.0-dev3
Docker Version:
1.10.3  build 20f81dd
OS and where are the hosts located? (cloud, bare metal, etc):
ubuntu 14.04
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Kubernetes
Steps to Reproduce:

Install Rancher (Server and host are different nodes)
Create K8s environment
Create RC with following yaml or any standard example for K8s git-Repo volume:

apiVersion: v1
kind: ReplicationController
metadata:
  name: prometheus-controller
  namespace: default
spec:
  replicas: 1
  selector:
  template:
    metadata:
      labels:
        name: prometheus
    spec:
      restartPolicy: Always
      containers:
      - image: prom/prometheus:0.17.0
        command:
          -  -alertmanager.url=http://alertmanager:9093 -config.file=/etc/prom-conf/prometheus.yml -storage.local.path=/prometheus -web.console.libraries=/etc/prometheus/console_libraries -web.console.templates=/etc/prometheus/consoles
        imagePullPolicy: Always
        name: prometheus
        volumeMounts:
        - mountPath: /etc/prom-conf
          name: prom-conf
      volumes:
      - name: prom-conf
        gitRepo:
          repository: git@github.com:infracloudio/prom-conf.git

Results:
$ kubectl describe pods prometheus-controller-6btku
Name: prometheus-controller-6btku
Namespace: default
Image(s): prom/prometheus:0.17.0
Node: ubuntu1404-2-k/<IP_ADDRESS>
Start Time: Wed, 01 Jun 2016 07:21:49 +0000
Labels: name=prometheus
Status: Pending
Reason:
Message:
IP:
Replication Controllers: prometheus-controller (1/1 replicas created)
Containers:
  prometheus:
    Container ID:
    Image: prom/prometheus:0.17.0
    Image ID:
    State: Waiting
      Reason: ContainerCreating
    Ready: False
    Restart Count: 0
    Environment Variables:
Conditions:
  Type Status
  Ready False
Volumes:
  prom-conf:
    Type: GitRepo (a volume that is pulled from git when the pod is created)
    Repository: git@github.com:infracloudio/prom-conf.git
    Revision:
Events:
  FirstSeen LastSeen Count From SubobjectPath Reason Message
  ───────── ──────── ───── ──── ───────────── ────── ───────
  23m 23m 1 {default-scheduler } Scheduled Successfully assigned prometheus-controller-6btku to ubuntu1404-2-k
  23m 16m 32 {kubelet ubuntu1404-2-k} FailedMount Unable to mount volumes for pod "prometheus-controller-6btku_default(8123964b-27c9-11e6-ab6f-023dfcd9e6aa)": failed to exec 'git clone git@github.com:infracloudio/prom-conf.git': : executable file not found in $PATH
  23m 16m 32 {kubelet ubuntu1404-2-k} FailedSync Error syncing pod, skipping: failed to exec 'git clone git@github.com:infracloudio/prom-conf.git': : executable file not found in $PATH
  15m 4s 70 {kubelet ubuntu1404-2-k} FailedMount Unable to mount volumes for pod "prometheus-controller-6btku_default(8123964b-27c9-11e6-ab6f-023dfcd9e6aa)": failed to exec 'git clone git@github.com:infracloudio/prom-conf.git': : executable file not found in $PATH
  15m 4s 70 {kubelet ubuntu1404-2-k} FailedSync Error syncing pod, skipping: failed to exec 'git clone git@github.com:infracloudio/prom-conf.git': : executable file not found in $PATH

kubelet log
docker logs -f  1c8eeb77c6d3
E0601 14:48:42.289695   17779 pod_workers.go:138] Error syncing pod 5e0de60f-2806-11e6-810f-0258c6bb78f8, skipping: failed to exec 'git clone git@github.com:infracloudio/prom-conf.git': : executable file not found in $PATH

I thought git was not installed in kubelet, but that is not the case:
docker exec -it 1c8eeb77c6d3 bash
# git
usage: git [--version] [--help] [-C <path>] [-c name=value]
          [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
          [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
          [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
          <command> [<args>]

Expected:
git-Repo volume should have been mounted

Could you test it? should be fixed with the latest k8s in qa branch

@alena1108 I tested it on latest Rancher master build image with the latest k8s version in qa branch (k8s 1.4) and it worked, here are my steps:

Install k8s 1.4 stack
Run the following pod:

apiVersion: v1
kind: Pod
metadata:
  name: server
spec:
  containers:
  - image: nginx
    name: nginx
    volumeMounts:
    - mountPath: /usr/share/nginx/html/
      name: git-volume
  volumes:
  - name: git-volume
    gitRepo:
      repository: "https://github.com/galal-hussein/testk8s.git"

The pod created and i was able to verify by exec to the container and check:
root@server:/# ls /usr/share/nginx/html/testk8s/
index.html
root@server:/# cat /usr/share/nginx/html/testk8s/index.html
gitrepo volume is working
root@server:/#


Exported API has no available client

I've been refactoring my code with recent changes to the library.
One change is that we no longer get our user's name or ID on on_connect(), so I'm trying to call slack::api::users::list to find that information.
The problem is the API calls all require a client implementing the SlackWebRequestSender trait. No such client is exposed either by slack or slack_api. The authentication token also needs to be passed to any function that might want to make an API call.
Would it make sense to have something analogous to the RtmClient that essentially wraps the reqwest::Client and an API token? It's what I would likely implement, but I guess my question is whether there's some other way to access a SlackWebRequestSender that I'm missing.

Once connected you can access the start response which contains a lot of the things previously
on the client
https://docs.rs/slack/0.17.1/slack/struct.RtmClient.html#method.start_response
Using the api is currently kind of  standalone. You can use reqwest for the api client or impl your own. It was the same before i thought.

Docs.rs isn't linking to the type for some reason but it's here https://docs.rs/slack_api/0.16.1/slack_api/rtm/struct.StartResponse.html

Ah yes, I did see and then forget about that. Thanks.
That solves my particular issue, but I am still at a bit of a loss as to how to access API functions without rolling my own client. Is that possible?

@squidpickles
Took me quite a while to figure this out, but it seems that the SlackWebRequestSender impl for reqwest only works if the reqwest version in your Cargo.toml matches the one used by slack_api, so 0.4.0 currently.

Oh i did have the same problem with versions. If slack api re-exported its one rather than relying on versions matching it would work better i think

Oh yeah... version mismatch + traits... I have run into that several times before. I don't know why I still don't think to check that. An exported client would help a ton, yes.

Made a PR: slack-rs/slack-rs-api#42.

And another one with an example: #82.


MaskingRingBuffer v1

rustfmt changes are in a separate commit.
Currently, the only storage type that works is [MaybeUninit<T>, 4] because I wanted to focus on the ringbuffer, not implementing PartialStorage. I definitely made some mistakes with unsafe, so please check carefully and roast appropriately.

Before I properly review the code, could you rewrite in terms of the newly-added ArrayStorage type?  It should simplify the MaskingBuffer generics as well.

Before I properly review the code, could you rewrite in terms of the newly-added ArrayStorage type? It should simplify the MaskingBuffer generics as well.

Done!

Alright, I think everything's good!  Thanks for contributing!


harfbuzz 1.0.1: compiles but doesn't load

Ubuntu 16.04, git cloned the current master (ee610d89620aa6d30978aadac142c85b9ca8d4d3) installed everything configure wanted and then did the make install.
$ ./sile examples/test.sil
This is SILE 0.9.5-unreleased
<examples/test.sil>

libtexpdf:fatal: texpdf_dev_locate_font() called with the zero ptsize.
$ ls -l examples/test.pdf
-rw-rw-r-- 1 elijah elijah 15 Sep  4 21:31 examples/test.pdf
$

When I run make test that also dies with a PDF related issue:
### Regression testing tests/pdf.sil
This is SILE 0.9.5-unreleased
<tests/pdf.sil>

! pdf package requires libtexpdf backend at tests/pdf.sil l.2, col.1
Makefile:936: recipe for target 'test' failed
make: *** [test] Error 1

But libtexpdf was installed (and I ran ldconfig as root afterwards).
Are the install directions incomplete?

OK, I haven't seen the first problem before, but it seems to happen when point size is zero (duh, obviously.) Could you run with --debug=fonts?

./sile --debug=fonts examples/test.sil
This is SILE 0.9.5-unreleased
<examples/test.sil>
[fonts] Looking for DejaVu Sans;20;700;Bold Condensed;normal;;LTR
[fonts] Resolved font family DejaVu Sans -> /usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf
[fonts] Looking for Gentium Plus;10;400;;normal;;LTR
[fonts] Resolved font family Gentium Plus -> /usr/share/fonts/opentype/gentiumplus/GentiumPlus-R.ttf
[fonts] Looking for Gentium Plus;9;400;;normal;;LTR
[fonts] Resolved font family Gentium Plus -> /usr/share/fonts/opentype/gentiumplus/GentiumPlus-R.ttf
[fonts] Looking for Gentium Plus;10;400;Italic;normal;;LTR
[fonts] Resolved font family Gentium Plus -> /usr/share/fonts/opentype/gentiumplus/GentiumPlus-I.ttf
[fonts] Looking for Gentium Plus;0;400;;normal;;LTR
[fonts] Resolved font family Gentium Plus -> /usr/share/fonts/opentype/gentiumplus/GentiumPlus-R.ttf

libtexpdf:fatal: texpdf_dev_locate_font() called with the zero ptsize.

OK, I think both are shared library issues. SILE is trying to measure x height, but SILE.shaper:measureChar("x") is failing, which suggest it can't talk to harfbuzz - and the other issue suggests it can't talk to libtexpdf.
Open the SILE repl and try:
> require("justenoughharfbuzz")

and see what error you get.

It doesn't look like an error.
./sile
This is SILE 0.9.5-unreleased
> require("justenoughharfbuzz")
{_shape=function: 0x7fa70f40ca80,get_table=function: 0x7fa70f40c980,shapers=function: 0x7fa70f40c930,version=function: 0x7fa70f40c890}
>

What system do you do development on? I know I tried sile once before, on a different computer, and I think I ran into issues there, too. The exact outcome is a too vague a memory now, just that I'm sure I didn't end up using sile for that project. And I know that was another Ubuntu system.

I don't know what Simon uses personally, but the Travis containers we're doing CI tests with are Ubuntu. The .travis.yml file has code that takes a clean Ubuntu base system and gets sile up and running to run tests. We know it can be made to work on Ubuntu. I think it's kind of silly we don't have a *.deb package build system setup and a repository with the proper dependencies ready to go, but I'm not on Ubuntu myself so it's kind of hard to get going.
On Arch linux it should work out of the box as an AUR package either stable or development packages are available. With an AUR helper either of these can be installed with just one command and all dependencies are fulfilled with Arch packages.

I'm using SILE on an Ubuntu system... sort of. I'm running it under the
Windows System for Linux, but my understanding is that the Ubuntu running
in that is the same as stock. And I've run it in a virtual machine Kubuntu
image in the past. That's just to say that it should definitely work.
I remember getting an error very similar to yours and also remember that
the solution was a missing dependency, but I don't remember what that
dependency was. I do remember that it was not obvious.
Also, in order to get graphite working correctly in SILE I had to go back
and build freetype2, fontconfig, graphite2, and harfbuzz from source. It's
possible that building one of those fixed the zero point size problem I was
having. Keep in mind that if you're changing dependencies, you'll need to
re-build SILE again after doing that.
--Malachi
On Mon, Sep 10, 2018 at 11:00 AM Caleb Maclennan<EMAIL_ADDRESS>wrote:

I don't know what Simon uses personally, but the Travis containers we're
doing CI tests with are Ubuntu. The .travis.yml file has code that takes
a clean Ubuntu base system and gets sile up and running to run tests. We
know it can be made to work on Ubuntu. I think it's kind of silly we
don't have a *.deb package build system setup and a repository with the
proper dependencies ready to go, but I'm not on Ubuntu myself so it's kind
of hard to get going.
On Arch linux it should work out of the box as an AUR package either
stable https://aur.archlinux.org/packages/sile or development
https://aur.archlinux.org/packages/sile-git packages are available.
With an AUR helper either of these can be installed with just one command
and all dependencies are fulfilled with Arch packages.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/simoncozens/sile/issues/539#issuecomment-419796732,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AcxrRs_JHZUAX55LjsSd4SePHvsDFrHwks5uZf_qgaJpZM4WaK5q
.

Those two comments were interesting and useful. I didn't look for a travis file. But now that I have looked at it, I see that it does not use the Ubuntu harfbuzz package. Instead it downloads, compiles, and installs a specific version. When I do that, the example/test.sile file works.
I think that this should be added to the build instructions.

Huh, Ubuntu 16 has harfbuzz 1.0.1, which should have the built-in OT support. (SILE requires a fairly recent harfbuzz; versions after 1.0.0 do the font loading internally, which avoids a dependency on Freetype and is much faster.) Don't know why 1.0.1 wasn't working for you. We should investigate further.

Well, there's that, and (it hadn't finished running), make test still fails for me even after make install. Want me to open that as a separate issue?
### Regression testing tests/pdf.sil
This is SILE 0.9.5-unreleased
<tests/pdf.sil>

! pdf package requires libtexpdf backend at tests/pdf.sil l.2, col.1
Makefile:936: recipe for target 'test' failed
make: *** [test] Error 1

Oh, and Firefox on Ubuntu 16 apparently doesn't like harfbuzz 1.7.1.
(Doesn't like in the sense that it uses libraries that don't like my compiled version. /usr/lib/firefox/firefox: symbol lookup error: /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0: undefined symbol: hb_glib_script_to_script)
Fun times, fun times.

Looks to be 1.0.1: https://launchpad.net/ubuntu/xenial/+source/harfbuzz

What's the oldest Ubuntu we'll officially be able to support compiling and running SILE on?

Release Timeline
Release Code Names

It looks like the current LTS release is 18.04 (Bionic Beaver) and has Harfbuzz 1.7.2 and Lua 5.3.
Anything else we need?
Any burning need to accommodate older releases at this point?

@mnjames Any input here on my previous question^^^? What version of Ubuntu is currently to be expected under WSL?

WSL allows you to install different Linux distros. At least Ubuntu 16.04 and 18.04 are available (I'm not sure about others). I'm now running 18.04 and I assume the default harfbuzz version on it works fine.
IMHO, SILE ought support at least the most recent LTS version of Ubuntu. Which at this point seems to have a recent enough version of harfbuzz. I don't know that SILE needs to go out of it's way to support 16.04, but maybe the documentation should mention in a footnote that it doesn't and link to a page on how to compile harfbuzz from scratch.
I realized looking through my comments above that I hadn't fully explained why I was doing some of what I wrote. I was compiling harfbuzz (and many other dependencies) by hand not because of SILE requirements, but because our font requires quite recent versions of many of them.

Thanks for the feedback @mnjames. I think that makes perfect sense. In that case the namesake of this issue is pretty irrelevant because harfbuzz 1.0.1 is not supported nor any distro that includes it, but I'll wait to close this issue until that is properly documented somewhere. Ubuntu 16.04 is the obvious distro in specific to call out for this, but we'll be mentioning minimum versions in general (currently our minimum supported Harfbuzz version is 1.4.2).


Duplicated cells on reuse

I'm using RxTableViewSectionedAnimatedDataSource, and it appears that when cells are being scrolled off the screen and reused, they get "duplicated" and then stacked on top of each other. When the view first loads:

After scrolling up and down a few times:

Is there a reason why this is happening and how do I prevent it? I'm pretty sure I'm disposing all subscriptions in the tableview cell... Would appreciate some help with this!

Same problem here. @CharlesW95 have you been able to resolve it

I'm having the same problem. Anyone in the know how to avoid this?


Add test suite with coverage

Description
Would y'all be willing to potentially take a PR that adds a test suite with coverage for the docker-gc script? Something using bats maybe.

definitely!


Don't unpin MemoryPoolSlab while in use

May cause heap corruption re: https://github.com/aspnet/Common/pull/332#discussion_r183229246
Currently it Unpins, then a block is returned which throws an ODE exception https://github.com/aspnet/KestrelHttpServer/issues/2486
Log Critical[0]: Unexpected exception in HttpConnection.ProcessRequestsAsync. System.ObjectDisposedException: Cannot access a disposed object.
[20:27:03]	Object name: 'MemoryPoolBlock'.
[20:27:03]	at System.Buffers.ThrowHelper.ThrowObjectDisposedException(ExceptionArgument argument) in D:\b\w\1e8cd6334ef22651\packages\microsoft.extensions.buffers.sources\2.1.0-preview3-32110\contentFiles\cs\netstandard1.0\Microsoft.Extensions.Buffers.Sources\PipelinesThrowHelper.cs:line 51
[20:27:03]	at System.Buffers.MemoryPoolBlock.Dispose() in D:\b\w\1e8cd6334ef22651\packages\microsoft.extensions.buffers.sources\2.1.0-preview3-32110\contentFiles\cs\netstandard1.0\Microsoft.Extensions.Buffers.Sources\MemoryPoolBlock.Release.cs:line 54
[20:27:03]	at System.IO.Pipelines.BufferSegment.ResetMemory()
[20:27:03]	at System.IO.Pipelines.Pipe.CompletePipe()
[20:27:03]	at System.IO.Pipelines.Pipe.CompleteWriter(Exception exception)
[20:27:03]	at Microsoft.AspNetCore.Server.Kestrel.Core.Adapter.Internal.AdaptedPipeline.ReadInputAsync(Stream stream)
[20:27:03]	at Microsoft.AspNetCore.Server.Kestrel.Core.Adapter.Internal.AdaptedPipeline.RunAsync(Stream stream) in D:\b\w\1e8cd6334ef22651\src\Kestrel.Core\Adapter\Internal\AdaptedPipeline.cs:line 45
[20:27:03]	at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.HttpConnection.ProcessRequestsAsync[TContext](IHttpApplication`1 httpApplication) in D:\b\w\1e8cd6334ef22651\src\Kestrel.Core\Internal\HttpConnection.cs:line 183

Probably bad things also happen as the data block would now be using unpinned memory, with a long previously captured pointer... Like heap corruption? https://github.com/aspnet/KestrelHttpServer/issues/2503 https://github.com/dotnet/coreclr/issues/17679
New spin on this; is the change https://github.com/aspnet/Common/pull/332 started throwing ODE exceptions, whereas previously it didn't do, so that may have been where the GC crash leading to hangs surfaced in the error handling/unwind?
Resolves https://github.com/aspnet/KestrelHttpServer/issues/2486 (Test timeout: MemoryPoolBlock ObjectDisposedException)
/cc @pakrym @davidfowl @GrabYourPitchforks @mikeharder @jkotas

Think it mostly arises in Kestrel tests; as a shutdown race

I feel like we need to fix kestrel so it doesn't dispose while in use.

Tests for things that are reliable testable.

@pakrym I'm happy for you to take this on 😉

For the record, https://github.com/aspnet/KestrelHttpServer/issues/2503 was caused by a bug in the GC (https://github.com/dotnet/coreclr/issues/17716) rather than managed heap corruption.

Closing this as there are tons of conflicts and we aren't particularly convinced this is required.


missing test in tictactoe example

Hello,
Minor quibble found while testing with very incomplete trees (few training iterations): in step 5, the game loop may seach node for an action when it is None, in the elif branch of
if node is not None and action in node.children:
node = node.children[action]
elif action not in node.children:
node = None
elif test should be node is not None and action not in node.children.
Found out while toying around with short initial trainings combined with in-game training from current state when "falling off" a tree. BTW your library is a great educational resource.
P.G.

Hi Pierre, thanks for pinpointing that out (which I might have missed during my debugging)!
Indeed, if we were to run step 5 with an incomplete tree, there will definitely be an instance where node = None and trigger an AttributeError.
In that case, let's roll with this:
if node is not None:
    node = node.children[action] if action in node.children else None

I will be adding the code above to the module in the coming days. Cheers!

Feel free to ask questions/point out any bugs in the library; I appreciate it a lot. Will close this issue once I update the library.

Do check the above commit and see if it works. Will be marking this as completed.


updated the navbar style now it's better

Changed some style in the navbar
Related Issue
#1240
Description
Made some changes in the style of the navbar now it looks like original flipkart web
Type of PR

[X] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)

Checklist:

[X] I have performed a self-review of my code
[X] I have read and followed the Contribution Guidelines.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[X] I have commented my code, particularly in hard-to-understand areas.

Additional context:
[Include any additional information or context that might be helpful for reviewers.]

@

@arghadipmanna101 check the PR and please merge it . And also add the GSSoC labels
Thank you


linux: read /proc/meminfo in uv_get_total_memory()

https://github.com/nodejs/node/issues/27170 - it was reported that uv_get_total_memory() reports the wrong value inside an lxc container.
Libuv calls sysinfo(2) but that isn't intercepted by lxc; /proc/meminfo however is - /proc is a FUSE fs inside the container.
It could also be argued that this is an lxc bug that should be fixed there and not here. No strong opinion.

It could also be argued that this is an lxc bug that should be fixed there and not here

Is there a ticket open for it over there? I'd be interested to see what the lxc folks say.

I didn't open one but there are a bunch of issues about reported memory usage being off.
LXC doesn't intercept system calls so I wouldn't expect them to fix it anyway. Perhaps it's the system call itself that needs to be made cgroup aware. I'm not volunteering however. ^^


Investigate enabling this syntax for Add-WorkSheet

Add-WorkSheet -ExcelPackage $excel -CopySource Sheet1

Yeah, just a short form to copy sheet1 to the target package, and if a destination sheet was not specified it create a new one.

OK changed the way Add-Worksheet works.

If worksheetname and clearsheet specified, delete the worksheet if it exists.
If worksheetname not specified and copying and sheet name does not already exists, use the copied sheet name as the destination name
else if WorkSheetName not specified use sheetX where X is number of existing sheets +1
[Change - if whatever calls Add-Worksheet wants "Sheet1" it must say so explicitly, Add-worksheet won't return existing sheet1 when nothing is specified - it will add sheet2 - I've fixed this in Export-Excel and it doesn't cause any other tests to fail]

Just check this in :-)


libopencv-dev broke with RealSense Samples Install

I broke libopencv-dev during my install of RealSense Samples for the R200. I wanted to install realsense_ros_camera. My goal was to use it with OpenCL Caffe, which at the time was working with my laptop's built in web cam. It appears that I should not have attempted this and should have moved on to newer RealSense camera instead. I attempted to roll back by uninstalling RealSense Samples but have been unable to recover libopencv-dev. Furthermore, I cannot install RZ300 drivers until libopencv-dev is fixed.
I posted this on https://communities.intel.com/message/561462#561462. They sent me here. I am hoping this is an issue someone can solve here. If not I can try a ROS group. It appears to be an interaction between ROS and the RealSense SDK.
Apologies: I'm afraid that my knowledge of Ubuntu allows me to get into trouble but not always out of it. Details follow.

Ubuntu: 16.04
ROS: Kinetic
R200 (I will upgrade to a RZ300 after I fix libopencv-dev)
Recent Dell Laptop

I believe I broke OpenCL Caffe and other applications during the  RealSense Samples. I suspect it happened during this command.
sudo apt install -y librealsense-object-recognition-dev librealsense-persontracking-dev librealsense-slam-dev libopencv-dev
This is what I discovered about my install.
$ aptitude search librealsense-object-recognition-dev
     u   librealsense-object-recognition     - Intel(R) RealSense(tm) Object Recognition

$ aptitude search librealsense-persontracking-dev
     u   librealsense-persontracking-dev     - Development files for Intel RealSense Pers

$ aptitude search librealsense-slam-dev
     u   librealsense-slam-dev               - Development files for Intel RealSense SLAM

$ aptitude search libopencv-dev
     BB  libopencv-dev                       - development files for opencv
     p   libopencv-dev:i386                  - development files for opencv

I attempted to back out by removing all the packages I installed above with:
sudo apt-get remove
Then I reinstalled libopencv-dev. It failed when it tried to unpack libopencv3.1-java.
sudo apt-get install libopencv-dev
...
Unpacking libopencv3.1-java (3.1.0+dfsg-1~realsense4.18) ...
dpkg: error processing archive /var/cache/apt/archives/libopencv3.1-java_3.1.0+dfsg-1~realsense4.18_all.deb (--unpack):
trying to overwrite '/usr/share/java/opencv.jar', which is also in package libopencv2.4-java <IP_ADDRESS>+dfsg-1.5ubuntu1
...

In retrospect it appears to be trying to install libopencv-dev 3.1 over 2.4.9 and couldn't. I don't fully understand what the problem is and did a lot of unwise things while I was trying to figure it out. I am no longer sure what my opencv status is. I understand that ROS can be touchy when it comes to specific package versions. On my other Ubuntu box it has ros-kinetic-opencv3, libopencv-dev, and libopencv2.4-java installed. I think I want to get back to that state and don't know how.
This is my current status when I attempt to install libopencv-dev.
-- BEFORE libopencv-dev INSTALL
  $ aptitude search libopencv2.4-java
    p   libopencv2.4-java               - Java bindings for the computer vision libr

  $ aptitude search libopencv3.1-java
    p   libopencv3.1-java               - Java bindings for the computer vision libr

  $ aptitude search libopencv-dev
    p   libopencv-dev                   - development files for opencv
    p   libopencv-dev:i386              - development files for opencv

-- DURING libopencv-dev INSTALL
  $ sudo apt-get install libopencv-dev
    [sudo] password for xxxx:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
      linux-headers-4.15.0-24 linux-headers-4.15.0-24-generic
      linux-headers-4.15.0-29 linux-headers-4.15.0-29-generic
      linux-headers-4.4.0-130 linux-headers-4.4.0-130-generic
      linux-image-4.15.0-24-generic linux-image-4.15.0-29-generic
      linux-modules-4.15.0-24-generic linux-modules-4.15.0-29-generic
    Use 'sudo apt autoremove' to remove them.
    The following additional packages will be installed:
      libopencv3.1-java
    The following NEW packages will be installed:
       libopencv-dev libopencv3.1-java
    0 upgraded, 2 newly installed, 0 to remove and 37 not upgraded.
    Need to get 0 B/487 kB of archives.
    After this operation, 849 kB of additional disk space will be used.
    Do you want to continue? [Y/n] Y
    Selecting previously unselected package libopencv3.1-java.
     (Reading database ... 512825 files and directories currently installed.)
    Preparing to unpack .../libopencv3.1-java_3.1.0+dfsg-1~realsense4.18_all.deb ...
    Unpacking libopencv3.1-java (3.1.0+dfsg-1~realsense4.18) ...
    Selecting previously unselected package libopencv-dev.
    Preparing to unpack .../libopencv-dev_3.1.0+dfsg-1~realsense4.18_amd64.deb ...
    Unpacking libopencv-dev (3.1.0+dfsg-1~realsense4.18) ...
    Processing triggers for man-db (2.7.5-1) ...
    Setting up libopencv3.1-java (3.1.0+dfsg-1~realsense4.18) ...
    Setting up libopencv-dev (3.1.0+dfsg-1~realsense4.18) ...

-- AFTER libopencv-dev INSTALL
  $ aptitude search libopencv-dev
    iB  libopencv-dev                   - development files for opencv
    p   libopencv-dev:i386              - development files for opencv

  $ aptitude search libopencv3.1-java
    iBA libopencv3.1-java               - Java bindings for the computer vision libr

  $ aptitude search libopencv2.4-java
    p   libopencv2.4-java               - Java bindings for the computer vision libr

  $ aptitude search opencv | grep ^i
    ...
    i A ros-kinetic-opencv3             - OpenCV 3.x

  $ find /opt/ros/kinetic/ -name cv2.so
    /opt/ros/kinetic/lib/python2.7/dist-packages/cv2.so

I don't understand what "iB" means in the above context.
As I stated above, I believe I want to get back to version 2.4.9. So that a package search will include the following. I am confused by the mixture of versions 2.4 and 3.x in my package searches but this is how it looks on my working Ubuntu system.
-- TARGET OF WHAT I THINK I WANT
 $ aptitude search opencv | grep ^i
   i   libopencv-dev                   - development files for opencv
   i A libopencv2.4-java               - Java bindings for the computer vision libr
   i A ros-kinetic-opencv3             - openCV 3.x
   ...

 $ find /opt/ros/kinetic/ -name cv2.so
   /opt/ros/kinetic/lib/python2.7/dist-packages/cv2.so

I am appreciative of any clues about how to further analyze my problem and recover. I suspect you will need additional information.
My goal is to leverage the IntelROSProject (http://wiki.ros.org/IntelROSProject).

I'm going to reinstall Ubuntu to get back to a known state.


SIWT Discord Bot: User Feedback

Just tried it out from the native app in OSX. Everything seemed to work as desired. Only problem IMHO is that after signing with my tezos wallet on siwt.xyz in Discord, I don't get a confirmation on my own. so I went out of the verification channel, back in and clicked verify again. then I got the reply "you are verified".

That is the same as in #2 but a good confirmation.

I will close the issue because of #2


Kill this module

Consider the following:
I need to bump rimraf in haibu. haibu uses flatiron.common.rimraf, which comes from broadway.common.rimraf, which comes from utile.rimraf. rimraf had a breaking change. Now, if I have to bump minor version of uitle to avoid breaking compatibility. I also have to bump minor version of broadway, if I want to use new utile version in it. And, if I decide to use new broadway in flatiron, I need to bump minor version of flatiron too. Finally, I can bump flatiron version in haibu.
If not for this module, I'd just bump rimraf version in haibu.

If a Github issue is closed and no one notices, did it make a sound?
Hope you are well @mmalecki 🙏


[FLINK-32817] Harnessing Jackson for Secure Serialization of YarnLocalResourceDescriptor

What is the purpose of the change
If you try to submit a flink jar to a yarn cluster with a filename that contains spaces, the task won't be able to parse the file path in YarnLocalResourceDescriptor. This will result in warning logs being printed by TaskExecutor repeatedly.
To avoid this issue, I plan to use Jackson for serializing and deserializing the YarnLocalResourceDescriptor instance, which will make the process safer.
Brief change log

Using the JscksonMapperFactory to create an ObjectMapper in the YarnLocalResourceDescriptor
To convert the YarnLocalResourceDescriptor into a JSON string, and utilize the ObjectMapper for serialization and deserialization.
Add some UTs

Verifying this change
This change added tests and can be verified as follows:

Modified the YarnLocalResourceDescriptionTest about the file name containing a space
Added more malformed string tests

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: yes
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: Yarn
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? (yes / no) no
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Hello @xintongsong , if you have a moment, could you kindly review this PR? Thank you.

@flinkbot run azure

@xintongsong  Thanks for your confirmation, I'm working on that.

Yarn nodemanager exports the environment variables that are inconsistent with the submitted string, the double-quotes are removed after exporting environment variables, so YarnLocalResourceDescriptor couldn't parse the string which fetched from System.getenv().
e.g.:
$ export _FLINK_DIST_="{"resourceKey":"flink-dist-1.19-SNAPSHOT.jar","path":"hdfs://flink-dist-1.19-SNAPSHOT.jar","size":126733882,"modificationTime":1693301926167,"visibility":"APPLICATION","resourceType":"FILE"}"
$ echo $_FLINK_DIST_
{resourceKey:flink-dist-1.19-SNAPSHOT.jar,path:hdfs://flink-dist-1.19-SNAPSHOT.jar,size:126733882,modificationTime:1693301926167,visibility:APPLICATION,resourceType:FILE}

I found out Jackson allow to configure custom quote character to serialize Object, for example: single-quote, later I'll figure out the exactly way to serialize the string.

@flinkbot run azure

@xintongsong The CI is a success now. Do you have time to take a look?


update test case

As discussed in https://github.com/KWARC/LaTeXML-Plugin-sTeX/pull/96, we simply adapt 01_math  test case for some LaTeXML change.

The travis test should pass for this pull request.


mention Go mod as a requirement in the README

If this will stop the flood of installation issues? I doubt it...

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1981   +/-   ##
=======================================
  Coverage   85.35%   85.35%
=======================================
  Files          99       99
  Lines        7173     7173
=======================================
  Hits         6122     6122
  Misses        771      771
  Partials      280      280

Continue to review full report at Codecov.

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


Question: while moving issues, will it keep the issue under the same user?

@nicolasgarnier
or will create the new issue under my github account?
will it movie all replies and etc?
I have an 2 repos in an organizarion:
the first one is the code
the second one is issue-tracker
I want to move all issues labeled as "feature-request" to a new repo named feature-requests
the problem is that I want the issues to remain associate with the user who opened in first place

The issues will be associated with your account because all comments will be created by it.
Example: https://github.com/SublimeTextIssues/DefaultPackages/issues/111


chore: update-next

PR-Codex overview
This PR primarily updates the configuration and dependencies for a web development project, particularly upgrading the next version and making various adjustments to the yarn.lock file, including adding new dependencies and updating existing ones.
Detailed summary

Updated target in tsconfig.json to ES2017.
Upgraded next from 14.2.14 to ^15.0.3 in package.json.
Added new dependencies related to @img/sharp for image processing in yarn.lock.
Updated styled-jsx from 5.1.1 to 5.1.6.
Added simple-swizzle and color-string dependencies with specific versions.
Enhanced peer dependencies for compatibility with react versions.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Summary by CodeRabbit

New Features

Updated the Next.js dependency to allow for newer features and fixes.
Specified ECMAScript target version to ES2017 for improved compatibility.

These changes enhance the project's ability to leverage the latest updates and maintain compatibility across environments.

Issue found, v14 to v15 update for next breaks the deploy flow


Static Transform

Hi, why is there a static transform for camera frame in the default roslaunch file?

Following is the tf_tree of a rosbag i would like to perform LeGO-LOAM on. Can i get some advice on how should the static transform be done?:

Hi @nyangshawbin, do you have any clue or tips about how to implement the transformation on our own autonomous robots? It would be helpful for anyone. Thank you

Hi @nyangshawbin, do you have any clue or tips about how to implement the transformation on our own autonomous robots? It would be helpful for anyone. Thank you


Improve test matrix for D8 + D9 and PHP8

Spin out into two workflows. There should be one workflow for PHPCS, PHPStan, PHPUnit. One workflow for the Drupal integrations.
For example, first workflow:
    steps:
      - name: "Checkout"
        uses: "actions/checkout@v2"
      - name: "Install PHP"
        uses: "shivammathur/setup-php@v2"
        with:
          coverage: "none"
          php-version: "${{ matrix.php-version }}"
          tools: composer:v2
          extensions: dom, curl, libxml, mbstring, zip, pdo, mysql, pdo_mysql, bcmath, gd, exif, iconv
      - name: "Install dependencies"
        run: "composer update --no-progress --prefer-dist"
      - name: "Downgrade dev dependencies"
        run: "composer require phpunit/phpunit:^7.5 drupal/core-recommended:${{ matrix.drupal }} --with-all-dependencies"
        if: ${{ matrix.drupal == '~8.9' }}
      - name: "PHPCS"
        run: "php vendor/bin/phpcs src"
      - name: "PHPStan"
        run: "php vendor/bin/phpstan analyze src"
      - name: "PHPUnit"
        run: "php vendor/bin/phpunit --debug"

Second workflow:
     - name: Setup Drupal
        run: |
          COMPOSER_MEMORY_LIMIT=-1 composer create-project drupal/recommended-project:${{ matrix.drupal }} ~/drupal --no-interaction
          cd ~/drupal
          composer config minimum-stability dev
          composer config prefer-stable true
          composer config preferred-install dist
          composer config repositories.0 path $GITHUB_WORKSPACE
          composer config repositories.1 composer https://packages.drupal.org/8
          COMPOSER_MEMORY_LIMIT=-1 composer require drupal/core-dev-pinned:${{ matrix.drupal }} --no-suggest
      - name: "require phpstan-drupal"
        run: |
          cd ~/drupal
          COMPOSER_MEMORY_LIMIT=-1 composer require mglaman/phpstan-drupal *@dev
          cp $GITHUB_WORKSPACE/tests/fixtures/config/drupal-phpstan.neon phpstan.neon
      - name: "Test core/install.php"
        run: |
          cd ~/drupal
          ./vendor/bin/phpstan analyze web/core/install.php --debug
      - name: "Test BrowserTestBase is autoloaded"
        run: |
          cd ~/drupal
          ./vendor/bin/phpstan analyze web/core/modules/dynamic_page_cache | grep -q "Class Drupal\Tests\BrowserTestBase not found and could not be autoloaded." && false || true
      - name: "Verify test fixtures are ignored."
        run: |
          cd ~/drupal
          ./vendor/bin/phpstan analyze web/core/modules/migrate_drupal --no-progress | grep -q "tests/fixtures" && false || true
      - name: 'Check "Cannot redeclare token_theme() due to blazy_test.module"'
        run: |
          cd ~/drupal
          COMPOSER_MEMORY_LIMIT=-1 composer require drupal/token drupal/blazy
          ./vendor/bin/phpstan analyze web/modules/contrib/blazy --no-progress || if (($? == 255)); then false; else true; fi

Last failure seems to be on downgrading drupal/core and composer/installers breaking with composer v2

New idea:

remove drupal/core packages from require-dev
create a custom @requires annotation to specify the major version of drupal the test is for
the pipeline runs composer require --dev of specific Drupal major version

For @require drupal 8 and @require drupal 9, see \Drupal\Tests\TestRequirementsTrait.
Parse from $annotations = $this->getAnnotations();


[Proposal] Auto parsing messages from groups and add into map

implemented https://github.com/egorikftp/GrodnoRoads/pull/25


503 Service Temporarily Unavailable

Issue
Getting 503 Service Temporarily Unavailable on deploying the example https://github.com/magecloudkit/magecloudkit/tree/master/examples/magecloudkit-simple-vpc
Intermittently, I have also observed these errors :
Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'magento2.m_store_website' doesn't exist in /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Statement/Pdo.php:228 Stack trace: #0 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array) #1 /var/www/html/vendor/magento/framework/DB/Statement/Pdo/Mysql.php(93): Zend_Db_Statement_Pdo->_execute(Array) #2 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Statement.php(303): Magento\Framework\DB\Statement\Pdo\Mysql->_execute(Array) #3 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array) #4 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `m_store...', Array) #5 /var/www/html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(533): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `m_store...', Array) #6 /var/www/html/ in /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Statement/Pdo.php on line 235

Fatal error: Uncaught PDOException: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:128 Stack trace: #0 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(128): PDO->__construct('mysql:host=db.a...', 'magento2', 'magento2', Array) #1 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /var/www/html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(398): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(460): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #4 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `m_store...', Array) #5 /var/www/html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(533): Zend_Db_Adapter_Pdo_Abstract in /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php on line 144

Terraform version : Terraform v0.11.8
Let me know if you are aware about this issue. Or point me to right direction, so that I can fix this issue.

Hi @harshjain2,
Thanks for reaching out. Unfortunately we no longer actively support or develop MageCloudKit so I am unable to help you with this issue. You can read more about this change in the following blog post. You are welcome to investigate this issue yourself and submit any code changes via a pull request and we'll review your contribution.
I'll leave this issue open as a reminder it still needs to be investigated either by yourself or the community.
Regards,
Rob

@robmorgan I will surely investigate this issue and if I am able to find a solution, I will raise the PR aa well.
Based on your experience, please guide me a bit so that I can start investigating this issue.

@harshjain2 sure!
I'll answer inline, based on my experience:

Getting 503 Service Temporarily Unavailable on deploying the example https://github.com/magecloudkit/magecloudkit/tree/master/examples/magecloudkit-simple-vpc

This likely sounds like none of the ECS tasks are successfully running on the ECS cluster. As a result, none have been added into the ALB (Application Load Balancer) target group as 'healthy'. This is likely causing the 503. It probably has been caused by an empty database. I.e. You can fix it by running the Magento installer somehow or importing a Magento 2 database dump into the RDS database.

Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'magento2.m_store_website' doesn't exist in /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Statement/Pdo.php:228 Stack trace: #0 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array) #1 /var/www/html/vendor/magento/framework/DB/Statement/Pdo/Mysql.php(93): Zend_Db_Statement_Pdo->_execute(Array) #2 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Statement.php(303): Magento\Framework\DB\Statement\Pdo\Mysql->_execute(Array) #3 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array) #4 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT m_store...', Array) #5 /var/www/html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(533): Zend_Db_Adapter_Pdo_Abstract->query('SELECT m_store...', Array) #6 /var/www/html/ in /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Statement/Pdo.php on line 235

Sounds like an empty database. Same issue as above.

Fatal error: Uncaught PDOException: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:128 Stack trace: #0 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(128): PDO->__construct('mysql:host=db.a...', 'magento2', 'magento2', Array) #1 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /var/www/html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(398): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(460): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #4 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `m_store...', Array) #5 /var/www/html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(533): Zend_Db_Adapter_Pdo_Abstract in /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php on line 144

This sounds like PHP is having trouble connecting to the database host. Was the host name modified or entered incorrectly? was it not passed via the ECS task definition correctly? Check the details in the ECS console and see what is in the task definition.

I have not modified the host names, but I have modified the region, I am using ap-south-1 as the region. Can that be an issue?

As per my understanding, DB instances are created after the magento ECS tasks. This could mean that DB was never created and therefore, magento is not able to find the db / db tables.
At what step, DB tables are created?

It probably has been caused by an empty database.
This is the real issue. I am just curious to know the step during which DB is installed.

@robmorgan I am just wondering how the updates will work in magecloudkit?
E.g. I have added a new module which adds a new table. With the current solution, I will create a new Docker file and then upload it to ECR. At which step will I invoke upgrade to reflect those changes in database?


Fix race condition in test case test_agent_actions (#3171)

Pull request opened by the merge tool on behalf of #3171

Pull request rejected by merge tool. The tests for this branch did not succeed.

Merged into branches iso4 in ce98d41c2a6e1fba45e28a6f89083e922645686e


Android/Chrome device alternates between 2 fingerprints

This is a great project, very simple to install and use and mostly it's working as intended. Thank you for making this available and your hard work putting it together.
I'm using clientjs in a project that fingerprints the device and stores the fingerprint in a database. If the value of the cookie on the device and the fingerprint of the device don't match what is stored in the database then the old cookie is unset and a new cookie and fingerprint are set on the device. This is working fine on 2 desktop Windows/Chrome devices but on 2 different Android/Chrome devices the program will get stuck in a loop where it alternates between the following 2 fingerprints. The first fingerprint value will be stored in the db, then on a page reload the device fingerprint will no longer match with the database fingerprint so the second fingerprint is stored, then on a page reload the second device fingerprint will no longer match and the first device fingerprint is stored again. I've included both of the fingerprints hoping that it would be useful. This happens using the client.getFingerprint() method.
[edit] I remember these are md5 hashes of the fingerprints, not the fingerprints themselves.
166fe3d7c2604fee688d8d18b0ad6ecd
and then
ceb983f07355b3750b34d1d7723d648f

I think I've narrowed the issue down to the getCanvasPrint function returning different results but I don't know enough about the canvas element to determine why. This is unfortunate since the canvasprint seems to be one of the more unique data points. The solution I'm going with for now is to run a check for mobile and then perform the standard fingerprint on desktop and a custom fingerprint on mobile which doesn't use the canvasprint data point.
var client = new ClientJS(); // Create A New Client Object
var mobilecheck = client.isMobile();
if(mobilecheck == false) {
var fingerprint = client.getFingerprint(); // Calculate Device/Browser Fingerprint
}else{
var a = client.getBrowser();
var b = client.getEngine();
var c = client.getOS();
var d = client.getOSVersion();
var e = client.getPlugins();
var f = client.getFonts();
var g = client.getTimeZone();
var h = client.getLanguage();
// var i = client.getCanvasPrint();
var fingerprint = client.getCustomFingerprint(a,b,c,d,e,f,g,h);
}

I think I've narrowed the issue down to the getCanvasPrint function returning different results but I don't know enough about the canvas element to determine why. This is unfortunate since the canvasprint seems to be one of the more unique data points. The solution I'm going with for now is to run a check for mobile and then perform the standard fingerprint on desktop and a custom fingerprint on mobile which doesn't use the canvasprint data point.
var client = new ClientJS(); // Create A New Client Object
var mobilecheck = client.isMobile();
if(mobilecheck == false) {
var fingerprint = client.getFingerprint(); // Calculate Device/Browser Fingerprint
}else{
var a = client.getBrowser();
var b = client.getEngine();
var c = client.getOS();
var d = client.getOSVersion();
var e = client.getPlugins();
var f = client.getFonts();
var g = client.getTimeZone();
var h = client.getLanguage();
// var i = client.getCanvasPrint();
var fingerprint = client.getCustomFingerprint(a,b,c,d,e,f,g,h);
}

Having the same issue.
I'll investigate a bit to see what might be the issue.

I‘m having the same issue on an iPad, but in my case it seems to be linked to screen orientation.

the same issue here


Fix metrics tests for headless operation

A number of the metrics tests do not work under headless (such as some CI systems or running under nohup) systems.
Fix up a number of the tests to work (predominantly by not using -ti on docker run or trying to use long-running 'shell's to keep a container 'open' (switch to using tail -f /dev/null).

lgtm


Add ServerBuilder.loopbackPort(int)

A user often binds on a loopback port to serve internal use only requests. It is currently done with port() method:
Server
  .builder()
  .port(new InetSocketAddress("<IP_ADDRESS>", 8080))
  ...

It could be useful to have a shortcut method loopbackPort(int):
Server
  .builder()
  .loopbackPort(8080)
  .loopbackPort(9090, SessionProtocol.HTTP, SessionProtocol.HTTPS)
  .loopbackPort(10100, Set.of(SessionProtocol.HTTP, SessionProtocol.HTTPS))
  ...

Out of curiosity what if there was port(String, int)? port("<IP_ADDRESS>", 8080) doesn't seem like many much more typing than loopbackPort(8080) but is flexible in any IP and doesn't require knowing what loopback means.

Hmmm, I wonder if "<IP_ADDRESS>" is always a good choice. Will there be a case where a user has to specify "::1" instead of "<IP_ADDRESS>" for IPv6 enabled systems? How about localPort() if loopback sounds too nerdy? :laughing:


Help translations

Hi,
I would like to impelement a new language "zh-TW" for Traditional Chinese, but it is not an option on Material Skin.
How to add the new language to the path "MaterialSkin/HTML/material/html/lang/zh-TW.json" ?
Please let me know the files I need to edit, thanks.

Thanks for the offer - much appreciated. I've just written a wiki page which hopefully makes the steps for adding a new translation clearer. Please see https://github.com/CDrummond/lms-material/wiki/15-Translations
As you are adding "zh-TW" I don't think LMS natively supports this, so you will probably also need to update LMS itself.
For Material's JSON files, these are all lowercase, so this would be "MaterialSkin/HTML/material/html/lang/zh-tw.json"

I don't think LMS natively supports this, so you will probably also need to update LMS itself.

Yes, I've raised an issue on slimserver to impelement the new language.
And thanks for your help, I'll submit PR after the translation is done.

OK, will close. Pleas let me know if the instructions I posted are unclear, incorrect, missing steps, etc.


Manually generated typia files should optionally be added a // @ts-nocheck

Manually generating typia files using typia generate, but most of my typescript errors come from those generated files.
I would like, optionally the @ts-nocheck to be added on 'compiled' files. So that i don't have to add it to the template files.

What about sending a PR?

I made a PR for this issue : https://github.com/samchon/typia/pull/1327


Update certficate contruct

DnsValidatedCertificate is deprecated, change construct to not use it.

There is ongoing issue with newer Construct not supporting region specification.
This leads to the need for having 2 different stacks (one for application in preferred region and second in us-east-1 solely for certificate creation which will be imported into App stack).
CDK v3 should provide with easier solution before release, so for now, we wait.


Do series need to forcefully be separated as distinct elements in the source data array?

How can I plot these data points in a line graph?
const originalData = [
  { x: 0, series1: 0, series2: 0, series3: 0 },
  { x: 1, series1: 1, series2: 2, series3: 3 },
  { x: 2, series1: 2, series2: 4, series3: 6 },
  { x: 3, series1: 3, series2: 6, series3: 9 },
];

Expected output:

I checked the Data Model docs at https://react-charts.tanstack.com/docs/api#data-model and the data of the examples have the series' values separated in different arrays:
[
  {
    label: 'Series 1', // series 1
    data: [
      { x: 1, y: 10 },
      { x: 2, y: 10 },
      { x: 3, y: 10 },
    ],
  },
  {
    label: 'Series 2', // series 2
    data: [
      { x: 1, y: 10 },
      { x: 2, y: 10 },
      { x: 3, y: 10 },
    ],
  },
  ... // more series, but each as a separate element of the array
]

However, in my example, each series value is intertwined with other series' values:
const originalData = [
  { x: 0, series1: 0, series2: 0, series3: 0 }, // series 1, 2, and 3 in the same datum
  ...
];

Is it possible to graph this format of data directly without having to do a transformation of my original data array?

@HectorRicardo I took a look at the react-charts internal lib, and it looks like this middleware is being called on every instance of a base Chart component
https://github.com/tannerlinsley/react-charts/blob/next/src/components/pipeline/useMaterializeData.js#L9
In the code here, it seems like the model you referenced is accurate 👍

You will need to transform the data into this structure


make default preview path "scope": "resource"

Since serverRoot is scoped to resource, it makes the most sense to also make the default preview path scoped to be the same. Also, if we set the default preview path per workspace, multi-root always needs to have an absolute path (ie: https://github.com/microsoft/vscode-livepreview/issues/274#issuecomment-1407046996)

Open a multi-root workspace and configure the setting a different absolute path for each workspace.
Open a file in one of the workspaces, and start the server in one of the folders.
Stop the server.
Open a file in another one of the workspaces, and start the server again.
:bug: The server starts at the same location.

I accidentally was unclear when I created the issue- since the setting is scoped to resource instead of per-workspace, the default preview path would need to be relative.


Goofys read chunk size goes down to very small value from 20MB on dropping cache.

Version : 0.19.0-943e017724ea820eb4185419ef3c41d6f921a324
OS : Amazon Linux 2
I am reading 8GB file from S3 bucket in same region as EC2 instance. Wrote a simple app to read 2MB chunks every 500 milliseconds. I observed that on running echo 1 > /proc/sys/vm/drop_caches, goofys read a huge chunk of 300MB and then read chunks of data lesser than 1 MB.
Before dropping cache it was consistently requesting 20MB chunks. After dropping cache goofys tries fetching entire file from S3. This causes read to take longer periods randomly.
Before dropping cache
Feb 28 12:39:32 XYZ_001 /usr/local/bin/goofys[258]: s3.DEBUG DEBUG: Response s3/GetObject Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 206 Partial Content
Content-Length: 20971520
Accept-Ranges: bytes
Content-Range: bytes<PHONE_NUMBER>-1045311487/12334004704
After dropping cache
Feb 28 12:39:45 XYZ_001 /usr/local/bin/goofys[258]: s3.DEBUG DEBUG: Response s3/GetObject Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 206 Partial Content
Content-Length:<PHONE_NUMBER>2
Accept-Ranges: bytes
Content-Range: bytes 987000832-12334004703/12334004704

I need a bit more info. Are you dropping cache in the middle of reading the file? Are you reading multiple files? Could you attach the output of --debug_fuse while this happens?


Failed creating container(s) for edxapp:migrate (uploads,reports,tracking) in 'xxxxxsecuresa'

Hello
On today, We tryied to deploy a lms site with oxa/master.fic  but we got an error like below.
Until yesterday, deployment was successful, but today, we got an error.
Failed creating container(s) for edxapp:migrate (uploads,reports,tracking) in 'xxxxxsecuresa'
We attached the log file.
bootstrap.csx.log
How can we resolve this?
you can find the below logs.
ScriptStackTrace      : at Authenticate-AzureRmUser,
/oxa/oxa-tools/scripts/Common.ps1: line 357
at ,
/oxa/oxa-tools/scripts/Create-StorageContainer.ps1:
line 90
PipelineIterationInfo : {}
At /oxa/oxa-tools/scripts/Common.ps1:112 char:9

    Log-Message -Message $errorMessage -LogType Error;

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorExcep
tion
FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
n,Log-Message

Script execution failed: Login failed
Thanks in advance.

Dear Team, I have the same issue from yesterday.
I tried a lot of times with differents datacenters and configurations, but is the same problem.
"^
SyntaxError: Unexpected token {
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:374:25)
at Module.pModule._compile (/usr/local/lib/node_modules/azure-cli/node_modules/streamline/lib/compiler/register.js:72:15)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object. (/usr/local/lib/node_modules/azure-cli/node_modules/ms-rest/lib/webResource.js:11:20)
at Module._compile (module.js:410:26)
[2018-06-22 13:00:30Z] :: Login failed
Log-Message : [2018-06-22 13:00:31Z] ::
###########################################################################
ERROR ENCOUNTERED
###########################################################################
Error [System.Management.Automation.RuntimeException]:
Login failed
PSMessageDetails      :
Exception             : System.Management.Automation.RuntimeException: Login
failed
TargetObject          : Login failed
CategoryInfo          : OperationStopped: (Login failed:String) [],
RuntimeException
FullyQualifiedErrorId : Login failed
ErrorDetails          :
InvocationInfo        : System.Management.Automation.InvocationInfo
ScriptStackTrace      : at Authenticate-AzureRmUser,
/oxa/oxa-tools/scripts/Common.ps1: line 357
at ,
/oxa/oxa-tools/scripts/Create-StorageContainer.ps1:
line 90
PipelineIterationInfo : {}
At /oxa/oxa-tools/scripts/Common.ps1:112 char:9

    Log-Message -Message $errorMessage -LogType Error;

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorExcep
tion
FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
n,Log-Message

Script execution failed: Login failed
At /oxa/oxa-tools/scripts/Create-StorageContainer.ps1:76 char:5

throw "Script execution failed: $($_)";

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : OperationStopped: (Script execution failed: Logi
n failed:String) [], RuntimeException
FullyQualifiedErrorId : Script execution failed: Login failed

06/22/18 13:00:31 :: [ERROR] Failed creating container(s) for edxapp:migrate (uploads,reports,tracking) in 'nsacoxa10securesa'"
Attached the logfile.
bootstrap.csx.log

We have a fix for it and will be pushing that shortly. See details in PR #358.

@larryuribe , if you are using our repo, once the change is merged to master, your existing deployment issue should self-resolve and succeed. Generally, we have error handling in place such that if there is an error, the setup will fail and keep retrying until you stop it or if the conditions change.

@eltoncarr @egonid Thank you very much!! I change directly the Create-StorageContainer.pst1 with the changes suggested. and NOW i dont have the OXA Bootstrap Failed!
Actually, I have the first email from OXA Bootstrap !! 👍
Installation of the EDX Application (VMSS) has been scheduled.
You are the best guys! 👍
I need just wait for the next 4 emails remaining.
I will say you later how I will finish the deploy with the fix
Regards
Larry Uribe
Netsolution Learning
Santiago de Chile

@eltoncarr but now I have an error in the 4th email:
OXA Bootstrap - nsacoxa15 - EdX Database (Mysql) Setup Failed
Execution of edX MySQL playbook failed (Stamp JB)
Log attached :(
bootstrap.csx.log
bootstrap.log

Hi larryuribe
I had look into your log files, I found bellow logs.
You have to check the gpg key related issue.
I recommend that you can use current oxa/master.fic version.
I had successfully deployed a site using that version.
TASK [common : Add git apt repository] *****************************************
fatal: [<IP_ADDRESS>]: FAILED! => {"changed": false, "cmd": "apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 E1DD270288B4E6030699E45FA1715D88E1DF1F24", "failed": true, "msg": "gpg: requesting key E1DF1F24 from hkp server keyserver.ubuntu.com\ngpg: no valid OpenPGP data found.\ngpg: Total number processed: 0\ngpg: keyserver communications error: keyserver helper general error\ngpg: keyserver communications error: unknown pubkey algorithm\ngpg: keyserver receive failed: unknown pubkey algorithm", "rc": 2, "stderr": "gpg: requesting key E1DF1F24 from hkp server keyserver.ubuntu.com\ngpg: no valid OpenPGP data found.\ngpg: Total number processed: 0\ngpg: keyserver communications error: keyserver helper general error\ngpg: keyserver communications error: unknown pubkey algorithm\ngpg: keyserver receive failed: unknown pubkey algorithm\n", "stdout": "Executing: /tmp/tmp.6sIuYqNYM2/gpg.1.sh --recv-keys\n--keyserver\nhkp://keyserver.ubuntu.com:80\nE1DD270288B4E6030699E45FA1715D88E1DF1F24\ngpgkeys: key E1DD270288B4E6030699E45FA1715D88E1DF1F24 can't be retrieved\n", "stdout_lines": ["Executing: /tmp/tmp.6sIuYqNYM2/gpg.1.sh --recv-keys", "--keyserver", "hkp://keyserver.ubuntu.com:80", "E1DD270288B4E6030699E45FA1715D88E1DF1F24", "gpgkeys: key E1DD270288B4E6030699E45FA1715D88E1DF1F24 can't be retrieved"]}
to retry, use: --limit @/oxa/configuration/playbooks/edx_mysql.retry
PLAY RECAP *********************************************************************
<IP_ADDRESS>                  : ok=13   changed=7    unreachable=0    failed=1

That's an unrelated issue. Most probably a key server issue for a downstream dependency... Generally, retries take care of this. Meanwhile, I will close out this issue: "Failed creating container" since it has been resolved.


HDMI only working with weird workaround

Hi, so I'm using this EFI on my Inspiron 15-3567 on Ventura with mostly no issues except HDMI does not work normally. When I plug in the cable, nothing happens. The only way I've been able to get it working is a weird workaround- turning on the laptop with the cable plugged in and immediately closing the lid- which forces it to output to HDMI. The problem is it only outputs to HDMI and when I open the laptop lid nothing shows on the laptop screen, and the only way to get the screen on the laptop to work again is to reboot with the lid open. Is there any way to get HDMI working normally so I can have two screens at once?
I haven't modified the EFI at all except I replaced itlwm with Airportitlwm and removed the other WiFi kexts for Atheros to make boot time faster (which shouldn't have any effect on the display, I did not modify WhateverGreen)

Hi, try removing and reconnecting the cable, sometimes the Mac doesn't pass an HDMI signal when it connects, as for removing the atheros kexts, it won't make it start faster on the Ventura, the atheros kexts are set to only start up to BigSur.
I tested the HDMI on my notebook, and it is working normally as you see below:

Still nothing- I also tried adding -wegnoegpu to boot-args as some people say that worked but still nothing.


Parse CSVs to populate template contexts

Pushed code that iterates through CSV to find and store exemplar images for each class. I am still working on rendering the images in the skeleton template


SEC: pytreasurydirect.py: http -> https

Thanks! looks good!

Thanks!
Are there any plans to release a new version to PyPI?
On Wednesday, November 29, 2017, Nicholas Pezolano<EMAIL_ADDRESS>wrote:

Thanks! looks good!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/npezolano/PyTreasuryDirect/pull/1#issuecomment-347930132,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADGyz2S2BUrT8VZNVJOGnOLcTwp8O6Cks5s7ZC_gaJpZM4Qtzq7
.

Sure I can put a release out tonight or tomorrow.

Great. Thanks again!
On Wednesday, November 29, 2017, Nicholas Pezolano<EMAIL_ADDRESS>wrote:

Sure I can put a release out tonight or tomorrow.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/npezolano/PyTreasuryDirect/pull/1#issuecomment-347965583,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADGy0YaB0WC8o0EzVupxfALqrHrRA7Kks5s7a07gaJpZM4Qtzq7
.

New version is up on pypi


qrcode and barcode

Hi,
I am in need of a library that helps with qrcode and barcode scanning.
p / s: sorry, my english is very poor

Check out react-native-camera


[ZEPPELIN-4144] After refresh the revision tools are sometimes hidden

What is this PR for?
Fixes issue where after refreshing a note's page the revision controls in the navigation bar are hidden since listConfigurations is only requested in the navbar controller after a loginSuccess broadcast.
This currently works sometimes because another controller (note-import) sends a listConfigurations request when it is loaded and navbar controller is sometimes loaded by the time the response arrives, but I can reproduce it easily using Firefox (gif attached to Jira issue).
What type of PR is it?
Bug Fix
Todos
What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-4144
How should this be tested?
Added unit and e2e tests to make sure listConfigurations is called and controls are visible.
Seems to me like the issue is easier to reproduce using Firefox. Was able to do so using the official 0.8.1 docker image.
Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

Thanks @florpor for the contribution!
Could you check message from Jenkins and try setup travis, and make CI test pass?
Looks like travis-ci is not configured for your fork.
Please setup by swich on 'zeppelin' repository at https://travis-ci.org/profile and travis-ci.
And then make sure 'Build branch updates' option is enabled in the settings https://travis-ci.org/florpor/zeppelin/settings.

Build step 'Execute shell' marked build as failure
Putting comment on the pull request
Finished: FAILURE

Let me know if you need any help setting up CI.

@Leemoonsoo I enabled travis and it took a few force-push-retries for all the jobs to succeed in one run.
Now it seems that the travis_check.py script has had some error in the Jenkins job.


Support Context in the client

Passing Context to the Resty client would allow the user better control over the requests. A common use case would be to pass the context from http.Requests in a server setting.

This is resolved by #9.


how to get the json object again from which printed by the method of dump()

string wormhole;
wormhole = jsonPayload.dump();
How can I convert std::string to json object again?
When I use 'auto x = json::parse(wormhole.c_str()) ', the exception was occurred.

You don't need the .c_str(). Which exception did occur?

I found that the when json data is include some Chinese character, the parse function can't work.

We extensively tested the parse function with all kinds of UTF-8 characters, so it should work. Could you please provide an example where parsing fails?

from dump string
["1","2017-10-18 17:38:41.000322","i","20160506","","晋A12345"] NG
["1","2017-10-18 17:37:12.000321","i","20160506","","a"]  OK

Which exception do you get?

Which exception do you get? The exception gives hint where the parse error occurs.

what kind of exception you want to catch？ it just jump into the catch(...) block..

Just surround the parse call with try/catch(std::exception &e) and give me the result of `e.what()?``.

parse error - unexpected '"'

This is really strange. Could you please try without the .c_str()? Do you use the most recent version from the develop branch?

c_list.push_back(W2A(strId));
								c_list.push_back(W2A(strDataTime));
								c_list.push_back("i");
								c_list.push_back(W2A(strRQ));
								c_list.push_back(W2A(strDDID));
								//c_list.push_back("a");
								c_list.push_back(W2A(strHP));
								json ss(c_list);
								std::string err = ss.dump();
								json xx = json::parse(err);

Actually, I didn't use c_str().

What does W2A do?

how to check the version? I get the json.hpp at version 2.1.1 on 06/18/2017
W2A/A2W is the morco that will convert the between multiByte and wideChar
I use it to convert the CString of mfc to std::sting

Could you try this file: https://github.com/nlohmann/json/blob/develop/src/json.hpp
Is the resulting string UTF-8 encoded?

I am not sure, maybe is not encoded by UTF-8. I will check this after.

Assuming strHP is the string that results in the failure, could you please try
std::string s = "\"";
s += W2A(strHP);
s += "\"";
json::parse(s);

It does the UTF-8 encoding cause this problem:)
I guess my the encoding of environment of my vs2015 is gbk.
After I added an covert function converting string from gbk to utf-8, the exception is gone.
THX ^_^

Thanks for checking back!


[storage] Track read latency from underlying store

Motivation
We should track read latency to spot any performance
anomaly amongst different column families.
(Write your motivation for proposed changes here.)
Have you read the Contributing Guidelines on pull requests?
(Write your answer here.)
Lrf V unir ernq vg.

Test Plan
CI
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/libra/website, and link to your PR here.)

I think measuring the latency at higher level would also be useful. Maybe somewhere inside https://github.com/libra/libra/blob/72e06470d2eebba0e0b33c1134ffee4f76c22980/storage/storage_client/src/state_view.rs#L118

@bors-libra r+

:pushpin: Commit 4082939 has been approved by wqfish

:hourglass: Testing commit<PHONE_NUMBER>56a4e3d578ebf19fa19a6bf8e706bf with merge 863ddcc60da743542372f2b74ba9fec21f8bd271...

:sunny: Test successful - checks-circle_commit_workflow
Approved by: wqfish
Pushing 863ddcc60da743542372f2b74ba9fec21f8bd271 to master...


VR support

Only adds support for Cardboard and features that will make adding support for WebVR easier.
We should add another frustum type for an offset eye that creates a custom PerspectiveOffCenterFrustum, but we expect a PerspectiveFrustum whenever in 3D or Columbus view.
For a demo following an aircraft based on the interpolation Sandcastle example, go to bagnell.github.io/WebVRDemo.

[x] Prevent the display from sleeping on mobile
[x] Add Sandcastle example
[x] Doc
[x] Tests

The demo is awesome on my iPhone.
I was holding it in "landscape mode", then rotated it to "Portrait mode" and it looked like one (or one and part of the other) viewport went away when iOS rotated the canvas 90 degrees.  Is this expected?  Can we disable it?  What is typical?

Part of #3001.

As for the 1x1 video, perhaps let's see what it looks like in a Sandcastle example first.

@emackey @mramato @shunter Can you review the VRButton code?

Another thought would be perhaps VR support should be a CesiumViewer reference app feature and not a Viewer widget feature, but I guess that depends on how cleanly is can be supported in Viewer (in my opinion Viewer has grown way to big for it's own britches and eventually I would like a major refactor to occur).

This is ready for another review.

This is ready once you make the Sandcastle/camera changes discussed offline.

@pjcozzi This is ready.

The tests are crashing Firefox.  Does that happen for you?

However, the Sandcastle demo works in Firefox.  Perhaps the crash is an awkward viewport size.

Nevermind, I updated Firefox and we are good!