Unable to link react-native-vector-icons

Issue Description
I am following native-base docs https://docs.nativebase.io/Components.html#icon-def-headref but getting error Unrecognized font family 'Ionicons' for following code
Issue is of Icon
import React, { Component } from 'react';
import { Container, Header, Content, Icon } from 'native-base';
export default class IconExample extends Component {
  render() {
    return (
      <Container>
        <Header />
        <Content>
          <Icon name='home' />
          <Icon ios='ios-menu' android="md-menu" style={{fontSize: 20, color: 'red'}}/>
          <Icon type="FontAwesome" name="home" />
        </Content>
      </Container>
    );
  }
}

https://cloud.githubusercontent.com/assets/13981427/17029309/c48ee584-4f38-11e6-8e01-0df6f7dabc8f.png

node, npm, react-native, react and native-base version, expo version if used, xcode version
node =>   v12.16.3
npm => 6.14.4
native-base => "^2.13.12"

@wonderer007 for ionicons to work in native base you need to add react-native-vector-icons as a dependency to your project, do you currently have it installed?

Hi @wonderer007, This code works fine. Let us know, if you are still facing the issue.

I'm still facing this issue, I started a fresh project using react native cli and got the error.
Here's exactly what I did

Start new project using npx react-native init demo_app
Installed native-base and react-native-vector-icons - npm install --save native-base react-native-vector-icons
In the ios directory ran pod install
Ran the app in the iOS simulator using npm run ios
Got the error

Please help.

Any update?

Finally got to the bottom of this, the issue was because of the font families not being available in the iOS project. Even though the libraries are auto-linked in React Native >= 0.60 the fonts are still missing and have to be manually added to the iOS project. Here's how to do that

Go to the info.plist file located in [project_root] > ios > [project_name] > info.plist. It's an XML type file
Add the following code. Make sure to not add it between any existing node<key>UIAppFonts</key>
<array>
  <string>AntDesign.ttf</string>
  <string>Entypo.ttf</string>
  <string>EvilIcons.ttf</string>
  <string>Feather.ttf</string>
  <string>FontAwesome.ttf</string>
  <string>FontAwesome5_Brands.ttf</string>
  <string>FontAwesome5_Regular.ttf</string>
  <string>FontAwesome5_Solid.ttf</string>
  <string>Foundation.ttf</string>
  <string>Ionicons.ttf</string>
  <string>MaterialIcons.ttf</string>
  <string>MaterialCommunityIcons.ttf</string>
  <string>SimpleLineIcons.ttf</string>
  <string>Octicons.ttf</string>
  <string>Zocial.ttf</string>
  <string>Fontisto.ttf</string>
</array>

@wonderer007 for ionicons to work in native base you need to add react-native-vector-icons as a dependency to your project, do you currently have it installed?

Are you sure? That is not mentioned in the installation instructions.

@wonderer007 for ionicons to work in native base you need to add react-native-vector-icons as a dependency to your project, do you currently have it installed?

Are you sure? That is not mentioned in the installation instructions.

@wonderer007 's answer works for me too.
I use reac-native 0.63.2
so i don't, and i can't use react-native link, it will auto link
but still got this error, and resoved by his answer

I find it confusing that react-native-vector-icons need to be installed as peer dependency. As mentioned earlier, I do not see any information in the official documentation. I also find confusing that native-base ships already with fonts folder in node_modules.

Ionicons.ttf has only 112kb and seems to be half of the size of official from react-native-vector-icons.
My hypotesis is:
Native-base used to ship with fonts included. However those fonts stopped to be updated and it is expected that react-native-vector-icons installed as a peer dependency to overcome this issue.
Potential solution

Remove fonts from native-base
Add a clear note into docs regarding installing react-native-vector-icons
Add react-native-vector-icons as peer dependency requirement into package.json

I was in version 62.2 then i upgraded to 63.2 and now icons are not working even though they are loaded and linked
I did not install react-native-vector-icons directly (the same way I used native base before) but now the icons are not working as expected for example
  <Icon
            type="MaterialCommunityIcons"
            name="package-variant"
            style={packageFabIconStyle}
          />

it says it doesn't exist! even though it should

The version 12.13.13 have a peer dependency with the latest vector icon lib
"react-native-vector-icons": "^7.0.0"
No need to duplicate it in your own project.

Hi @wonderer007 , you will need to add react-native-vector-icons manually for react-native project. Follow here. Please let us know if the issue still persists.


Revert "[varLib.models] Generate narrower tents"

This reverts commit 688939394b8cae3b2a0d5747e435cbd828a14531.

temporarily works around https://github.com/fonttools/fonttools/issues/2764

Ah, thanks. I was on it. :)

oh, ok ! it broke a couple tests, had to fix manually, let me know if they still make sense

oh, ok ! it broke a couple tests, had to fix manually, let me know if they still make sense

Yes. I was doing the same.

i'll merge once CI passes and then cut bugfix release

Now we should add test case from Just's bug report. I'll see if I can add that now.

Now we should add test case from Just's bug report. I'll see if I can add that now.

Don't wait for that though, obviously.

i also need to fix the doctests..

Test addded.


Ensure first patch handles server rendered keyed elements

This used to work because entering a node created the keymap if there was none. A lot of changes a long the way haven't really been thought through enough that have introduced these sort of bugs. Even with this change there are still other issues around importing a server-rendered tree. For example, if an attribute disappears on the first render.
I'd like to take a step back and evaluate what is the best way to handle it rather than making these one-off changes.

This fixes a live bug with a current implementation:
var child = document.createElement('div');
child.setAttribute('key', 'key');
var container = document.createElement('div');
container.appendChild(child);

patch(container, () => {}); // => TypeError: Cannot convert undefined or null to object

As for ensuring we don't lose a keyed item, we could just test if keyMap exists here instead of lazy creating it.

@sparhami is there any news here? I'm still looking into a way how to have a server-side rendered tree and then incrementally update it.
Actually I'm on the scala-js camp and we are trying to create our own library on top of incremental-js so I'm still figuring out on how to apply the incremental-dom, tree to our template library in a "performant" fashion.
But at the moment we actually render all our templates on the server, but we could probably create the same template engine on the client and parsing the template to a inc-dom tree.
What my current approach about server-side rendering is, would be a initialization method that will actually provide all the keys on the node and will block any update until this happens.
Would that be a good way to do it, instead of handling the first patch as "special"?


Update to Zest based arbiter

Being picky: what should we specify for the architecture eg., as the extension for the Dockerfile? Currently arm64 but perhaps should be arm64v8 or alternatively aarch64?

I think it should be arm64v8
On Thu, Jul 12, 2018 at 12:29 PM, Richard Mortier<EMAIL_ADDRESS>wrote:

Being picky: what should we specify for the architecture eg., as the
extension for the Dockerfile? Currently arm64 but perhaps should be
arm64v8 or alternatively aarch64?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/me-box/driver-sensingkit/pull/17#issuecomment-404481160,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AExIaGMUSAGndqjw73xj1DmiIXlCw8Axks5uFzMwgaJpZM4VMkXe
.

arm64v8 would be my vote, I'll update the ones I've been working on.


Thanos Query returning no points when there are points in all prometheus replicas

Hi, I'm running prometheus with the operator and trying to get thanos working, but query is being unreliable, returning no results, it generally works for like 3 minutes when I restart everything (prometheus + thanos-query) but then it starts returning empty values again, these are my manifests:
prometheus + sidecar statefulset:
apiVersion: apps/v1
kind: StatefulSet
metadata:
  labels:
    prometheus: k8s
  name: prometheus-k8s
  namespace: monitoring
spec:
  replicas: 3
  selector:
    matchLabels:
      app: prometheus
      prometheus: k8s
      thanos-peer: "true"
  serviceName: prometheus-operated
  template:
    metadata:
      labels:
        app: prometheus
        prometheus: k8s
        thanos-peer: "true"
    spec:
      containers:
      - args:
        - --config.file=/etc/prometheus/config_out/prometheus.env.yaml
        - --storage.tsdb.path=/prometheus
        - --storage.tsdb.retention=48h
        - --web.enable-lifecycle
        - --storage.tsdb.no-lockfile
        - --web.route-prefix=/
        image: quay.io/prometheus/prometheus:v2.2.1
        imagePullPolicy: IfNotPresent
        livenessProbe:
          failureThreshold: 6
          httpGet:
            path: /-/healthy
            port: web
            scheme: HTTP
          periodSeconds: 5
          successThreshold: 1
          timeoutSeconds: 3
        name: prometheus
        ports:
        - containerPort: 9090
          name: web
          protocol: TCP
        readinessProbe:
          failureThreshold: 120
          httpGet:
            path: /-/ready
            port: web
            scheme: HTTP
          periodSeconds: 5
          successThreshold: 1
          timeoutSeconds: 3
        resources:
          limits:
            cpu: "4"
            memory: 8G
          requests:
            cpu: "2"
            memory: 8G
        volumeMounts:
        - mountPath: /etc/prometheus/config_out
          name: config-out
          readOnly: true
        - mountPath: /prometheus
          name: prometheus-k8s-db
      - args:
        - --reload-url=http://localhost:9090/-/reload
        - --config-file=/etc/prometheus/config/prometheus.yaml
        - --rule-list-file=/etc/prometheus/config/configmaps.json
        - --config-envsubst-file=/etc/prometheus/config_out/prometheus.env.yaml
        - --rule-dir=/etc/prometheus/config_out/rules
        env:
        - name: POD_NAME
          valueFrom:
            fieldRef:
              apiVersion: v1
              fieldPath: metadata.name
        image: quay.io/coreos/prometheus-config-reloader:v0.0.4
        imagePullPolicy: IfNotPresent
        name: prometheus-config-reloader
        resources:
          limits:
            cpu: 10m
            memory: 50Mi
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /etc/prometheus/config
          name: config
        - mountPath: /etc/prometheus/config_out
          name: config-out
      - args:
        - sidecar
        - --log.level=debug
        - --tsdb.path=/prometheus
        - --prometheus.url=http://<IP_ADDRESS>:9090
        - --cluster.peers=thanos-peers.monitoring.svc.cluster.local:10900
        env:
        image: improbable/thanos:v0.1.0-rc.0
        name: thanos
        ports:
        - containerPort: 10902
          name: http
          protocol: TCP
        - containerPort: 10901
          name: grpc
          protocol: TCP
        - containerPort: 10900
          name: cluster
          protocol: TCP
        volumeMounts:
        - mountPath: /prometheus
          name: prometheus-k8s-db
      dnsPolicy: ClusterFirst
      nodeSelector:
        beta.kubernetes.io/os: linux
      serviceAccount: prometheus-k8s
      serviceAccountName: prometheus-k8s
      volumes:
      - name: config
        secret:
          defaultMode: 420
          secretName: prometheus-k8s
      - emptyDir: {}
        name: config-out
      - emptyDir: {}
        name: prometheus-k8s-db

thanos query:
apiVersion: apps/v1
kind: Deployment
metadata:
  namespace: monitoring
  name: thanos-query
  labels:
    app: thanos-query
    thanos-peer: "true"
spec:
  replicas: 2
  selector:
    matchLabels:
      app: thanos-query
      thanos-peer: "true"
  template:
    metadata:
      labels:
        app: thanos-query
        thanos-peer: "true"
    spec:
      serviceAccountName: prometheus-k8s
      containers:
      - name: thanos-query
        image: improbable/thanos:v0.1.0-rc.0
        args:
        - "query"
        - "--log.level=debug"
        - "--query.replica-label=prometheus_replica"
        - "--cluster.peers=thanos-peers.monitoring.svc.cluster.local:10900"
        ports:
        - name: http
          containerPort: 10902
        - name: grpc
          containerPort: 10901
        - name: cluster
          containerPort: 10900

peers service:
apiVersion: v1
kind: Service
metadata:
  name: thanos-peers
  namespace: monitoring
spec:
  type: ClusterIP
  clusterIP: None
  ports:
  - name: cluster
    port: 10900
    targetPort: cluster
  selector:
    thanos-peer: "true"

the same query always returns results if I query any prometheus replica directly but do not reply any points if I query thanos.

Hey, are you sure query is connected to sidecars via gossip correctly?
pon., 21 maj 2018, 22:55 użytkownik Felipe Cavalcanti <
<EMAIL_ADDRESS>napisał:

Hi, I'm running prometheus with the operator and trying to get thanos
working, but query is being unreliable, returning no results, it generally
works for like 3 minutes when I restart everything (prometheus +
thanos-query) but then it starts returning empty values again, these are my
manifests:
prometheus + sidecar statefulset:
apiVersion: apps/v1
kind: StatefulSet
metadata:
labels:
prometheus: k8s
name: prometheus-k8s
namespace: monitoring
spec:
replicas: 3
selector:
matchLabels:
app: prometheus
prometheus: k8s
thanos-peer: "true"
serviceName: prometheus-operated
template:
metadata:
labels:
app: prometheus
prometheus: k8s
thanos-peer: "true"
spec:
containers:
- args:
- --config.file=/etc/prometheus/config_out/prometheus.env.yaml
- --storage.tsdb.path=/prometheus
- --storage.tsdb.retention=48h
- --web.enable-lifecycle
- --storage.tsdb.no-lockfile
- --web.route-prefix=/
image: quay.io/prometheus/prometheus:v2.2.1
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 6
httpGet:
path: /-/healthy
port: web
scheme: HTTP
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 3
name: prometheus
ports:
- containerPort: 9090
name: web
protocol: TCP
readinessProbe:
failureThreshold: 120
httpGet:
path: /-/ready
port: web
scheme: HTTP
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 3
resources:
limits:
cpu: "4"
memory: 8G
requests:
cpu: "2"
memory: 8G
volumeMounts:
- mountPath: /etc/prometheus/config_out
name: config-out
readOnly: true
- mountPath: /prometheus
name: prometheus-k8s-db
- args:
- --reload-url=http://localhost:9090/-/reload
- --config-file=/etc/prometheus/config/prometheus.yaml
- --rule-list-file=/etc/prometheus/config/configmaps.json
- --config-envsubst-file=/etc/prometheus/config_out/prometheus.env.yaml
- --rule-dir=/etc/prometheus/config_out/rules
env:
- name: POD_NAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.name
image: quay.io/coreos/prometheus-config-reloader:v0.0.4
imagePullPolicy: IfNotPresent
name: prometheus-config-reloader
resources:
limits:
cpu: 10m
memory: 50Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /etc/prometheus/config
name: config
- mountPath: /etc/prometheus/config_out
name: config-out
- args:
- sidecar
- --log.level=debug
- --tsdb.path=/prometheus
- --prometheus.url=http://<IP_ADDRESS>:9090
- --cluster.peers=thanos-peers.monitoring.svc.cluster.local:10900
env:
image: improbable/thanos:v0.1.0-rc.0
name: thanos
ports:
- containerPort: 10902
name: http
protocol: TCP
- containerPort: 10901
name: grpc
protocol: TCP
- containerPort: 10900
name: cluster
protocol: TCP
volumeMounts:
- mountPath: /prometheus
name: prometheus-k8s-db
dnsPolicy: ClusterFirst
nodeSelector:
beta.kubernetes.io/os: linux
serviceAccount: prometheus-k8s
serviceAccountName: prometheus-k8s
volumes:
- name: config
secret:
defaultMode: 420
secretName: prometheus-k8s
- emptyDir: {}
name: config-out
- emptyDir: {}
name: prometheus-k8s-db
thanos query:
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: monitoring
name: thanos-query
labels:
app: thanos-query
thanos-peer: "true"
spec:
replicas: 2
selector:
matchLabels:
app: thanos-query
thanos-peer: "true"
template:
metadata:
labels:
app: thanos-query
thanos-peer: "true"
spec:
serviceAccountName: prometheus-k8s
containers:
- name: thanos-query
image: improbable/thanos:v0.1.0-rc.0
args:
- "query"
- "--log.level=debug"
- "--query.replica-label=prometheus_replica"
- "--cluster.peers=thanos-peers.monitoring.svc.cluster.local:10900"
ports:
- name: http
containerPort: 10902
- name: grpc
containerPort: 10901
- name: cluster
containerPort: 10900
peers service:
apiVersion: v1
kind: Service
metadata:
name: thanos-peers
namespace: monitoring
spec:
type: ClusterIP
clusterIP: None
ports:

name: cluster
port: 10900
targetPort: cluster
selector:
thanos-peer: "true"

the same query always returns results if I query any prometheus replica
directly but do not reply any points if I query thanos.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/improbable-eng/thanos/issues/344, or mute the thread
https://github.com/notifications/unsubscribe-auth/AGoNu33210vbpXs6EhffRCQjZmbrY7fnks5t0ym9gaJpZM4UHmqY
.

hi @Bplotka!
I'm pretty sure, I've restarted query pods to get the startup logs:
kprod logs -f -n monitoring thanos-query-5447bf5d77-4hcv8
level=debug ts=2018-05-21T21:00:55.359432299Z caller=cluster.go:117 msg="resolved peers to following addresses" peers=<IP_ADDRESS>:10900,<IP_ADDRESS>:10900,<IP_ADDRESS>:10900,<IP_ADDRESS>:10900
level=info ts=2018-05-21T21:00:55.368174539Z caller=query.go:252 msg="starting query node" peer=
level=debug ts=2018-05-21T21:00:55.384645872Z caller=delegate.go:82 component=cluster received=NotifyJoin node=01CE282J66MSZWFPHS32RJ7GW3 addr=<IP_ADDRESS>:10900
level=debug ts=2018-05-21T21:00:55.39638811Z caller=delegate.go:82 component=cluster received=NotifyJoin node=01CE26MQ6HQQGGEYEBHW6WZMHP addr=<IP_ADDRESS>:10900
level=debug ts=2018-05-21T21:00:55.396436261Z caller=delegate.go:82 component=cluster received=NotifyJoin node=01CE26HZTNZK1A8ZQ0DPYFWWBC addr=<IP_ADDRESS>:10900
level=debug ts=2018-05-21T21:00:55.396458833Z caller=delegate.go:82 component=cluster received=NotifyJoin node=01CE26EZ4Q7P8FWR6A0T2RX3YX addr=<IP_ADDRESS>:10900
level=debug ts=2018-05-21T21:00:55.396493183Z caller=delegate.go:82 component=cluster received=NotifyJoin node=01CE282HWHBA269QDH04KBWQ26 addr=<IP_ADDRESS>:10900
level=debug ts=2018-05-21T21:00:55.396523655Z caller=delegate.go:82 component=cluster received=NotifyJoin node=01CE26KWPQ3718GB5KK1TADTKQ addr=<IP_ADDRESS>:10900
level=debug ts=2018-05-21T21:00:55.404049405Z caller=cluster.go:201 component=cluster msg="joined cluster" peers=4
```\

$ kprod get pods -n monitoring -o wide
NAME                                  READY     STATUS    RESTARTS   AGE       IP                NODE
alertmanager-main-0                   2/2       Running   0          1d        <IP_ADDRESS>    ip-172-20-103-182.ec2.internal
alertmanager-main-1                   2/2       Running   0          1d        <IP_ADDRESS>   ip-172-20-75-50.ec2.internal
alertmanager-main-2                   2/2       Running   0          1d        <IP_ADDRESS>    ip-172-20-149-136.ec2.internal
grafana-588cc6d84-5dr55               1/1       Running   0          16h       <IP_ADDRESS>    ip-172-20-149-136.ec2.internal
prometheus-k8s-0                      3/3       Running   1          26m       <IP_ADDRESS>   ip-172-20-97-131.ec2.internal
prometheus-k8s-1                      3/3       Running   1          26m       <IP_ADDRESS>    ip-172-20-138-166.ec2.internal
prometheus-k8s-2                      3/3       Running   1          27m       <IP_ADDRESS>   ip-172-20-79-226.ec2.internal
prometheus-operator-5654d9fd4-jfhbt   1/1       Running   0          1d        <IP_ADDRESS>    ip-172-20-103-182.ec2.internal
thanos-query-5447bf5d77-4hcv8         1/1       Running   0          1m        <IP_ADDRESS>     ip-172-20-97-10.ec2.internal
thanos-query-5447bf5d77-r6xv2         1/1       Running   0          1m        <IP_ADDRESS>    ip-172-20-149-136.ec2.internal
thanos-store-0                        1/1       Running   0          29m       <IP_ADDRESS>   ip-172-20-83-118.ec2.internal

thanks for the great project btw

Thanks. Let's see what's going wrong here. This is quite basic functionality and it seems to 100% reliable for others.

Are these IPs actually accessible between pods with the grpc/http ports? Basically you can try curl <thanos-sidecar-ip>:10902/metrics
This might be prom-operator error, but I think you have local compaction turned on. We require to have --storage.tsdb.min-block-duration and --storage.tsdb.max-block-duration equal to 2. Wonder why prometheus operator does not do this. However, this should not affect the query part, so it is not related to the issue.
Can we check thanos-query metrics (they are on HTTP port and /metrics path). Let's check thanos_cluster_members metric. Is it 5 for you all the time? You logs are legit, so I am pretty sure it is 5 indeed.
Can we have thanos-sidecar logs? Maybe it is connected to the gossip, but it has problems with fetching the query results from Prometheus itself?
Sidecar have <IP_ADDRESS>:9090 address to Prometheus. It might be funny, but in container world, <IP_ADDRESS> is not always the same as localhost. Maybe changing to localhost will help (also we would see some sidecar error, so it is kind of unlikely)
This is quite funny as well, but what if we have some problems with time on machines? (they drifted), can we assure they are the same (time on query vs sidecar). Have you tried to do your query for long range? (1d)?

Cannot see anything wrong with your configs. They look alright. We are on the same version and I have similar configs, maybe with just min-block-duration and max-block-duration specified to 2h.

You seem to put query replica label =  prometheus_replica  What exactly external labels your Prometheuses have? Can you also put a screen of Prometheus UI showing query result & Thanos UI showing nothing?

Thanks! (:

@Bplotka suddenly it started working again, the only thing I did was erasing old blocks from s3 (but don't know if there's any correlation because I haven't tested right after deleting them)
As for 2, what would go wrong without setting --storage.tsdb.min-block-duration and --storage.tsdb.max-block-duration? prometheus operator does not seem to allow me do that.

1.9.7 on AWS (deployed with kops)

Let's keep this issue open and I'll let you know if it happens again in the next days and will send logs and screens

Hm, what about right before deletion? Have you checked what is the situation?
Anything interesting in thanos-sidecar logs even now?

As for 2, what would go wrong without setting --storage.tsdb.min-block-duration and --storage.tsdb.max-block-duration? prometheus operator does not seem to allow me do that.
Yea, we can follow on some prometheus operator issue, will create something.

@Bplotka I've been able to reproduce it again:
I had to delete my prometheus instances to add persistent storage, so I deleted the statefulset and created another one with 1 replica less (from 3 to 2 replicas)
I expected thanos query to detect all changes in the cluster (leave of older nodes/join of new ones) and be able to query prometheus (at least for new data on new instances), but instead it's returning empty responses again:
prometheus:

thanos:

I see no strange log in any sidecar, store and query, sidecar and query has only NodeLeave/Join logs, as for store I can see it logging something like this every time I run a query in thanos-query:
level=debug ts=2018-05-22T16:11:48.737366704Z caller=bucket.go:754 msg="series query processed" stats="&{blocksQueried:0 postingsTouched:0 postingsTouchedSizeSum:0 postingsFetched:0 postingsFetchedSizeSum:0 postingsFetchCount:0 postingsFetchDurationSum:0 seriesTouched:0 seriesTouchedSizeSum:0 seriesFetched:0 seriesFetchedSizeSum:0 seriesFetchCount:0 seriesFetchDurationSum:0 chunksTouched:0 chunksTouchedSizeSum:0 chunksFetched:0 chunksFetchedSizeSum:0 chunksFetchCount:0 chunksFetchDurationSum:0 getAllDuration:1064 mergedSeriesCount:0 mergedChunksCount:0 mergeDuration:1121}"

confirming that query can communicate with it...
in this case that prometheus dies and is brought up fresh (with no data) should store be able to get the data it already uploaded to s3 and present the values? it's just a doubt, I've deleted s3 data to see if it would fix the queries but they are still returning empty values.
thanks

@Bplotka discovered the issue!
thanos-sidecar was pointing to the wrong tsdb.path 😑
can't tell how it worked sometimes...
closing

Glad you found it! However this would suggest that you can access all data from Prometheus, just it will not upload anything.
Is there any way Thanos could help you find that out sooner? Like some metric/log "no TSDB block found after 3h"?

IMO thanos has now very few logs, this is something that should be logged ("unable to find any chunk in the specified tsdb path") and for the queries, maybe a warning log saying that the queries are returning empty for this reason, like ("returning empty series, have you checked your tsdb.path config?")

mhmh I think there is a confusion here.
Thanos Query does NOT use anything TSDB related. Tt asks purely gRPC store APIs (store node or sidecars) for data.
Thanos Sidecar does NOT use anything TSDB related for query (read) flow. It uses Prometheus protobuf remote read API (/api/v1/read), so it does not matter if you have proper tsdb path or not.
TSDB path for sidecar is only relevant if you care about backing up blocks in GCS/S3.
So I am pretty sure there must be something else you fixed/is wrong with your configuration that was triggering this issue.

This was really the only thing I changed, after pointing the sidecars to the right tsdb path it started returning query results (for recent data, before that I was getting no data at all, nor recent or old (obviously because chunks weren't being uploaded to s3)), the only thing that happened besides that is that I (obviously) rebooted  prometheus for changing the sidecar configuration, are you sure that missing chunks to upload to s3 doesn't hung any other sidecar routine or procedure?

@Bplotka discovered the issue!
thanos-sidecar was pointing to the wrong tsdb.path 😑
can't tell how it worked sometimes...
closing

Hi, I have the same issue. Can you please share how you resolved this?
Thanks.


Iterative template filling examples

Merged in https://github.com/pupil-labs/realtime-python-api/pull/58


[GIE Compiler] Introduce planner framework HepPlanner and implement FilterMatchRule

What do these changes do?

introduce HepPlanner from calcite which is a heuristic planner framework.
implement FilterMatchRule to push filter into graph operators in match.
fix bugs according to tests on bi.

Related issue number

Fixes

Codecov Report

Merging #2581 (f3cf083) into main (94eaf9c) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

@@           Coverage Diff           @@
##             main    #2581   +/-   ##
=======================================
  Coverage   39.90%   39.90%
=======================================
  Files          88       88
  Lines        9838     9838
=======================================
  Hits         3926     3926
  Misses       5912     5912

Continue to review full report in Codecov by Sentry.

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


Question regarding $rem-baseline

I'm new to SASS mixins and wanted to verify that if I'm using a 16px default font size, that I can just change $rem-baseline to 16 and everything will work the same.

Hi,
you can set $rem-baseline: 16px;, drop the html { font-size: 62.5%; } and the mixin/function will calculate rem values and px fallbacks.
I added more documentation regarding this variable : https://github.com/pierreburel/sass-rem#changing-baseline

Awesome, this will be a big improvement over the mixin I've been using, and love that it's LibSASS compatible.


Aurora is incompatible with CM MasterKeys Pro M with ABNT2 (Brazilian) layout

What are you experiencing an issue with?

[ ] Aurora
[ ] Aurora supported game, (Fill in the game)
[ ] Aurora Wrapper
[ ] Aurora Profile
[x] Aurora supported device, (CM MasterKeys Pro M in ABNT2 layout)
[ ] Aurora Scripts
[ ] Aurora Updater
[ ] Aurora Lighting issue
[ ] Other, (Fill in another issue here)

What kind of an issue is it?

[ ] Crash
[ ] Performance problems
[ ] Visual bug
[ ] Localization issue
[ ] Enhancement suggestion
[X] Device issue
[ ] Other, (Fill in another type of issue here)

Expected behavior:
Keyboard should be recognized and backlight effects should work.
Actual behavior:
Keyboard backlight stops working, won't come back even if you press the backlight configuration keys or close Aurora.
How often does this problem occur?
Every time.
Please describe the steps to reproduce this issue:
The issue can be reproduced by doing following steps:

Get a Brazilian ABNT2 Layout CM MasterKeys M (already checked with other owners, same problem)
Open Aurora
Keyboard gets recognized by Aurora, but the backlight dies out, using any backlight control keys on the keyboard will get nothing.
To get the backlight to work again, you need to remove and insert the keyboard back after closing Aurora.

What is the version of Aurora you are experiencing this issue with?
0.61, but tried the older versions as well.
Does the previous version of Aurora have this issue?
Yes
Please include any logs, screenshots, or files that are related to this issue:
https://pastebin.com/tMdq9HaA

Do you still been experiencing this issue on v0.6.2b?

It works on the last update, thanks!


Monitors: Refer Monitors with hardware-related identifiers

Current Functionality
In the config, monitors are referred by the graphic output's ID (e.g. eDP-1)
Problem and Use Case
As the currently used Identifier usually identifies the output port, but not the monitor itself, configuration for different hardware setups that can be connected to the computer at different times cannot be configured easily.
In my case, I  use my Notebook with three different hardware setups. Two of those are docking stations at different working desks, where different monitors (two each) are present with different desired arrangement and resolutions.
However, on both setups, the IDs of the two monitors are DP-5 and DP-6.
Hence, I cannot configure the individual setups in Hyprland.
Possible Solution
My proposal is to provide an option to identify the monitors via the EDID fields yielded by hyprctl monitors.
Maybe, use an approach similar to window-rulesv2 and call this monitor-rules, where arbitrary EDID fields (and maybe a field called output or id for the old identifier)  may be referred.
A monitor configuration might then be have the form:
monitorv2=serial:J8J313CPAJ2L,1920x1080@60.000000,2560x0,1

Oh, to be honest, I didn't realize that the description contains the serial number. So, I guess the Issue may be closed (despite I could think of border cases where more control is desired, but I understand that simplicity is preferred over catching all those improbable border cases).
Sorry for the noise :)


Removing the dependency on tokio

Great stuff!
My intention is to use this library in embedded projects where every byte of memory usage counts. The intention is to set up a reverse rpc so that units scattered behind nats could connect to a gateways, and be made accessible over the internet through that.
The environment (esp-rs) has built in support for smol, i guess because of its small resource footprint. It is possible to spin up a tokio loop within smol, but due to the constricted resources I would like to avoid that.
Reading through the issues it seems there is no hard dependency on tokio except timers and channels.
How hard do you think it would be to abstract these away and provide integration with both tokio and smol / async_std depending on activated features?

Thanks for filing this! I would definitely be supportive of updating dependencies to facilitate running on esp-rs. Channels should be pretty easy to replace. I don't know offhand how difficult it would be to abstract away timers, though. Are there any alternatives that provide the functionality needed? As mentioned in #385, it's not clear how to abstract away DelayQueue. Maybe it would just need to be removed; the code would need some significant refactoring to remove it.
I'm happy to explore this further, but I probably can't take the lead on it any time soon. If you want to look into it further, I'd be happy to review any work-in-progress PRs after the holidays.

Hmmm. It seems to me that delayqueue could be replaced by a bunch of  ::spawn async { sleep(duration).await; do_thing.await }. Rescheduling is a bit tricky, but I'd say not impossible. We are using a LUT keyed by the request is anyway, the values could be the task handles returned by spawn to enable cancellation, and rescheduling is basically a cancellation and a scheduling with the new timeout. Although I'm not sure if rescheduling is really needed in terms of tarpc. Not as nice as having them in a stream, but it should work. Or it could also be implemented for smol is guess.
Not sure about performance of this though.

Closing in favor of #385


No way to remove elements from a map

There's no way to remove an element from a map. We should support remove(key) or similar.

Added in recent quark


Add support for rx.Single

@artem-zinnatullin сan you provide a little bit more info about this feature?

Basically it's a kind of Observable (actually it's a separate class) but it emits result once, useful for getting result once via Rx and not care about updates.
You can get same result via observable.first().

@artem-zinnatullin I've started digging into Single implementation and just want to hear your opinion about it. This is how I've partially implemented it:

Added createSingle to `PreparedOperation' interface
Created `OnSubscribeExecuteAsBlockingSingle' ([gist] (https://gist.github.com/geralt-encore/57a12f193cb4748af98d))
Implemented createSingle for PreparedGetListOfObjects, for instance, as:

    @NonNull
    @Override
    public Single<List<T>> createSingle() {
        throwExceptionIfRxJavaIsNotAvailable("createSingle()");

        return Single.create(OnSubscribeExecuteAsBlockingSingle.newInstance(this))
                .subscribeOn(Schedulers.io());
    }

And here how it looks like in test:
    @Test
    public void getListOfObjectsSingle() {
        Single<List<User>> singleUsers = storIOSQLite()
                .get()
                .listOfObjects(User.class)
                .withQuery(Query.builder()
                        .table("users")
                        .where("email = ?")
<EMAIL_ADDRESS>                        .build())
                .withGetResolver(UserTableMeta.GET_RESOLVER)
                .prepare()
                .createSingle();
    }

If it is a right approach then I will start implementing and testing support for Single for all possible cases.

Yup, looks good!
Can you please name it asRxSingle() instead of createSingle because Single is very generic word and may mislead somebody. I think we'll deprecate createObservable and rename it to asRxObservable() in same release.
Looking forward to see PR!

Sure. And one more question. Should I unsubscribe from Single?

No :)

Damn, I knew it :(

@geralt-encore moved to v1.8.0! We'll review your PR soon and I hope v1.8.0 will be released soon after 1.7.0
Everybody: I'm checking if everything is okay with 1.7.0 and will try to prepare release in a few hours.

@artem-zinnatullin this one could be closed now I guess

Yay!


Implement MonitorId::get_dimensions for Android

This is not absolutely right (the window could be smaller than the screen), but it's as good as get_position and get_hidpi_factor.

Thanks!


SDP for the RTSP stream missing "a:control" entries

So this is a bit of an odd issue given that I haven't looked at this myself, but I thought I'd share regardless.
I have recently tried to use go2rtc as a source for "Blue Iris", a popular security/nvr software.
Somehow, I have not been able to get it to accept the RTSP stream (or any stream for that matter) originating at go2rtc even though VLC worked well and the codecs were fine according to ffprobe.
I reached out to the Blue Iris support and after some back and forth and me providing a demo RTSP link they found the issue. According to them it was that:

The SDP for the RTSP stream was missing the "a:control" entries, which Blue Iris was expecting.

From what I understand, in RTSP, SDP is used to describe available streams. If you have multiple streams (e.g. an audio and a video stream), you can use a=control:[...] to tell them apart.
They will fix that on the Blue Iris side in one of the upcoming releases, but I thought I'd mention it just in case that's something that go2rtc has control over and it would be something that potentially trips up other software.

I'm using https://github.com/blakeblackshear/frigate, which uses gortc to essentially proxy multiple streams. I'm seeing a=control:* when connecting to the camera directly, but it's missing when connecting to gortc:
$ ffmpeg -i rtsp://<IP_ADDRESS>:8554/frontdoor -an -vn -y -loglevel debug -f null -

...

[tcp @ 0x560cc8488380] Successfully connected to <IP_ADDRESS> port 8554
[rtsp @ 0x560cc8485340] SDP:
v=0
o=- 1 1 IN IP4 <IP_ADDRESS>
s=go2rtc/1.2.0
c=IN IP4 <IP_ADDRESS>
t=0 0
m=video 0 RTP/AVP 96
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1; sprop-parameter-sets=<some hash>; profile-level-id=420032
m=audio 0 RTP/AVP 97
a=rtpmap:97 MPEG4-GENERIC/8000
a=fmtp:97 profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3; config=1588

You using very old go2rtc version
v=0
o=- 1 1 IN IP4 <IP_ADDRESS>
s=go2rtc/1.6.2
c=IN IP4 <IP_ADDRESS>
t=0 0
m=video 0 RTP/AVP 96
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=4D401E;sprop-parameter-sets=Z01AHqaAoD2QAA==,aO48gAA=
a=control:trackID=0
m=audio 0 RTP/AVP 97
a=rtpmap:97 MPEG4-GENERIC/16000
a=fmtp:97 streamtype=5;profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=1408
a=control:trackID=1


How to trace multi-processes with simplecov

Hi Christoph,
I am trying to use simplecov to trace code coverage in my project. My ruby application will launch several sub-processes via exec() method, and those sub-processes communicate with each other via REST calls, instead of simple ruby method call.
How to setup simplecov to trace multi-processes application?
I have added "SimpleCov.start" for each process launch command, but I only get zero line coverage report, after finished testing.
How to retrieve simplecov logs for troubleshooting?
Thanks.

As I went looking for information on this I found the originally referenced PR #126.


newbie question: cannot install

here's what I got after I cloned your repo, when I ran yarn...
yarn
yarn install v1.7.0
(node:45495) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
info "<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
info<EMAIL_ADDRESS>The platform "darwin" is incompatible with this module.
info "<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
info<EMAIL_ADDRESS>The platform "darwin" is incompatible with this module.
info "<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
info<EMAIL_ADDRESS>The platform "darwin" is incompatible with this module.
info "<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
info<EMAIL_ADDRESS>The platform "darwin" is incompatible with this module.
info "<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
info<EMAIL_ADDRESS>The platform "darwin" is incompatible with this module.
info "<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
info<EMAIL_ADDRESS>The platform "darwin" is incompatible with this module.
info "<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
info<EMAIL_ADDRESS>The platform "darwin" is incompatible with this module.
info "<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
info<EMAIL_ADDRESS>The platform "darwin" is incompatible with this module.
info "<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
info<EMAIL_ADDRESS>The platform "darwin" is incompatible with this module.
info "<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] 🔗  Linking dependencies...
warning "react-native > metro ><EMAIL_ADDRESS>has incorrect peer dependency "<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "jest-expo ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>|| ^7.0.0-0".
[4/4] 📃  Building fresh packages...
[1/2] ⠄ fsevents
warning Error running install script for optional dependency: "/Users/bobwalsh/KitchenSink-Vue-Native/node_modules/fsevents: Command failed.
Exit code: 1
Command: node install
Arguments:
Directory: /Users/bobwalsh/KitchenSink-Vue-Native/node_modules/fsevents
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using<EMAIL_ADDRESS>node-pre-gyp info using<EMAIL_ADDRESS>| darwin | x64
node-pre-gyp info check checked for \"/Users/bobwalsh/KitchenSink-Vue-Native/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node\" (not found)
node-pre-gyp http GET https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v64-darwin-x64.tar.gz
node-pre-gyp http 404 https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v64-darwin-x64.tar.gz
node-pre-gyp ERR! Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v64-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v64 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp http 404 status code downloading tarball https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v64-darwin-x64.tar.gz
node-pre-gyp ERR! Tried to download(undefined): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v64-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v64 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp http Connection closed while downloading tarball file
gypgyp  info infoit worked if it ends with it worked if it ends with ok
 ok
gypgyp  infoinfo  usingusing<EMAIL_ADDRESS><EMAIL_ADDRESS>gypgyp  infoinfo  usingusing<EMAIL_ADDRESS>| darwin | x64
<EMAIL_ADDRESS>| darwin | x64
gypgyp info  okinfo
 ok
gyp info it worked if it ends with ok
gypgyp info  using<EMAIL_ADDRESS>infogyp  info it worked if it ends withusing<EMAIL_ADDRESS>| darwin | x64
 ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| darwin | x64
gypgyp  infoinfo  spawnspawn /usr/bin/python
 /usr/bin/python
gyp gypinfo  infospawn args  [ '/usr/local/Cellar/node/10.2.1/libexec/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
spawn argsgyp [ '/usr/local/Cellar/node/10.2.1/libexec/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
 gypinfo  spawn argsinfo   'binding.gyp',
 spawn argsgyp   'binding.gyp',
 gypinfo  infospawn args   '-f',
 gypspawn args    '-f',
info spawn args   'make',
gyp info spawn args   '-I',
gypgyp info  infospawn args    '/Users/bobwalsh/KitchenSink-Vue-Native/node_modules/fsevents/build/config.gypi',
spawn argsgyp   'make',
 gypinfo  infospawn args    '-I',
spawn argsgyp   '-I',
 gypinfo  infospawn args    '/usr/local/Cellar/node/10.2.1/libexec/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
spawn argsgyp   '/Users/bobwalsh/KitchenSink-Vue-Native/node_modules/fsevents/build/config.gypi',
 gypinfo  infospawn args    '-I',
spawn argsgyp   '-I',
 gypinfo  infospawn args    '/Users/bobwalsh/.node-gyp/10.2.1/include/node/common.gypi',
spawn argsgyp   '/usr/local/Cellar/node/10.2.1/libexec/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
 gyp info spawn args   '-I',
gyp info spawn args   '/Users/bobwalsh/.node-gyp/10.2.1/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/Users/bobwalsh/.node-gyp/10.2.1',
gyp info spawn args   '-Dnode_gyp_dir=/usr/local/Cellar/node/10.2.1/libexec/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn argsinfo   '-Dnode_lib_file=/Users/bobwalsh/.node-gyp/10.2.1/<(target_arch)/node.lib',
gyp info  spawn args   '-Dmodule_root_dir=/Users/bobwalsh/KitchenSink-Vue-Native/node_modules/fsevents',
spawn argsgyp   '-Dlibrary=shared_library',
gyp  infoinfo  spawn argsspawn args   '-Dnode_engine=v8',
   '-Dvisibility=default',
gypgyp  infoinfo  spawn argsspawn args   '--depth=.',
   '-Dnode_root_dir=/Users/bobwalsh/.node-gyp/10.2.1',
gypgyp  infoinfo  spawn argsspawn args   '--no-parallel',
   '-Dnode_gyp_dir=/usr/local/Cellar/node/10.2.1/libexec/lib/node_modules/npm/node_modules/node-gyp',
gypgyp  infoinfo  spawn argsspawn args   '--generator-output',
   '-Dnode_lib_file=/Users/bobwalsh/.node-gyp/10.2.1/<(target_arch)/node.lib',
gypgyp  infoinfo  spawn argsspawn args   '-Dmodule_root_dir=/Users/bobwalsh/KitchenSink-Vue-Native/node_modules/fsevents',
gyp   'build',
 gypinfo  spawn argsinfo   '-Dnode_engine=v8',
 gypspawn args    '-Goutput_dir=.' ]
info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
gypgyp  infoinfo  okok

gypgyp info it worked if it ends with ok
 info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| darwin | x64
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| darwin | x64
gypgyp info  spawn make
info spawn make
gyp infogyp  spawn argsinfo [ 'BUILDTYPE=Release', '-C', 'build' ]
 spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
  SOLINK_MODULE(target) Release/.node
  SOLINK_MODULE(target) Release/.node
  CXX(target) Release/obj.target/fse/fsevents.o
  CXX(target) Release/obj.target/fse/fsevents.o
In file included from ../fsevents.cc:85:
In file included from ../fsevents.cc:../src/methods.cc:8514:
:12: warning: 'Call' is deprecated [-Wdeprecated-declarations]
../src/methods.cc:14:12: warning: 'Call' is deprecated [-Wdeprecated-declarations]
  handler->Call(3, argv);  handler->Call(3, argv);
           ^

           ^
../../nan/nan.h:1617:3: note: 'Call' has been explicitly marked deprecated here../../nan/nan.h:
1617:3: note: 'Call' has been explicitly marked deprecated here
  NAN_DEPRECATED inline v8::Local<v8::Value>
  ^
  NAN_DEPRECATED inline v8::Local<v8::Value>
  ^
../../nan/nan.h:../../nan/nan.h98::9840::40 :note : noteexpanded from macro 'NAN_DEPRECATED':
expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
                                       ^
# define NAN_DEPRECATED __attribute__((deprecated))
                                       ^
1 warning generated.
1 warning generated.
rm: ./Release/.deps/Release/obj.target/fse/fsevents.o.d.raw: No such file or directory
make: *** [Release/obj.target/fse/fsevents.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/Cellar/node/10.2.1/libexec/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)
gyp ERR!  System Darwin 17.6.0
node-pre-gyp ERR! command \"/usr/local/Cellar/node/10.2.1/bin/node\" \"/Users/bobwalsh/KitchenSink-Vue-Native/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp\" \"install\" \"--fallback-to-build\"
node-pre-gyp ERR! cwd /Users/bobwalsh/KitchenSink-Vue-Native/node_modules/fsevents
node-pre-gyp ERR! node -v v10.2.1
node-pre-gyp ERR! node-pre-gyp -v v0.6.39
node-pre-gyp ERR! not ok
Failed to execute 'node-gyp build --fallback-to-build --module=/Users/bobwalsh/KitchenSink-Vue-Native/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node --module_name=fse --module_path=/Users/bobwalsh/KitchenSink-Vue-Native/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64' (1)
  COPY /Users/bobwalsh/KitchenSink-Vue-Native/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node
  TOUCH Release/obj.target/action_after_build.stamp
gyp info ok"
✨  Done in 69.61s.

and when I started it:
Bobs-iMac-3:KitchenSink-Vue-Native bobwalsh$ npm start

><EMAIL_ADDRESS>start /Users/bobwalsh/KitchenSink-Vue-Native
> react-native-scripts start

11:37:59 AM: Unable to start server
See https://git.io/v5vcn for more information, either install watchman or run the following snippet:
  sudo sysctl -w kern.maxfiles=5242880
  sudo sysctl -w kern.maxfilesperproc=524288

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>start: `react-native-scripts start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      /Users/bobwalsh/.npm/_logs/2018-06-18T18_37_59_196Z-debug.log

@BobWalsh hi, its the issue with the latest version of the<EMAIL_ADDRESS>as its breaking when trying to install fsevents package. Can u install<EMAIL_ADDRESS>which is stable and try again.

Or you use @aaronksaunders  solution, which is correct.
Or in my case, I wanted solve this by install "Watchman" via Homebrew ( Homebrew is macOS only).
I remember that I had this issue in the past, and I solved this way, seems work.
$ brew update
$ brew install watchman

then run ....
npm start
If you have all installed correctly,  should be work fine.


theme css is still included for components that are not loaded.

lets say you customize your pico by not including the components you do not plan to use in your site, such as _accordion.scss
the theme file still bundles colors and other stuff for accordion...
It seems to go really lightweight you would need to dig into the theme files with a fine tooth come and look it over line by line if your goal is the smallest possible css file.
Luckily the _dark.scss and _light.scss are very well organized with comments, so it makes it easier to find what you need and comment it out.
I wonder if there should be a note about this in the documentation someplace...

@Jieiku,
I noticed you closed this issue.
It's a valid issue.
This will be implemented sooner or later. I started thinking about it, and it's in the roadmap. It takes a bit of refactoring to add variables like $is-accordion-enabled: true;.

oh great, it was just something I noticed but I was not sure if I was correct about what I noticed.
I have started to write my own css framework that uses a little bit of this and that from a few of my favorite css frameworks (this one included)


Allow ignoring attributes for deriving FromRow

This pull request adds a new attribute flag skip for deriving FromRow (similar to serde's skip). It allows to add additional fields to a struct which will be filled with Default::default().

@grgi can you rebase? I just rebased 0.7-dev onto main for a fast-forward merge.

@abonander Yes, it's done.


Addition of List View

What's the Problem?
Mac Finder has a lot of views that Windows lacks. Files introduces the Column view on windows but I wish we also had access to the List view as well.
Solution/Idea
The List view from macOS:

Alternatives
N/A
Priorities

Capability
Priority

This proposal will allow developers to accomplish N/A
Must

This proposal will allow end users to better explore their files
Should

This proposal will allow developers to accomplish N/A
Could

This proposal will allow end users to accomplish N/A
Won't

Files Version
Version: <IP_ADDRESS>
Windows Version
Windows 11 21H2 22000.527
Comments
No response

Merging with #2509


How to generate train dataset

Hi, it is a very interesting work! I am currently trying to train the model by myself. However, when I try to run the script run.py under scripts folder, it shows "cannot copy tree 'invar_datasets': not a directory", I guess I missed some steps to generate training dataset. Can you please help with this? Many thanks!

Hi, this line can be removed! Just updated run.py.
Best,
Stéphane


Upgrade a couple dependencies and use preferred property name

Rationale
We're behind on a couple dependencies and we like using the most current property name. We're also sticklers about accuracy in our comments.

Don't forget the update for jars.txt

I don't think there's anything to update... MySQL is handled automatically and SpringBoot isn't annotated anywhere that I can see

I don't think there's anything to update... MySQL is handled automatically and SpringBoot isn't annotated anywhere that I can see

Yes, you're right. Perhaps we should have those in our credits somewhere, but we don't currently.


Add an API doc warning to the ballerina runtime value classes

Purpose
Add a warning to the ballerina runtime value classes, to make the users aware that these APIs may change in future versions.
sample:

Check List

[x] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

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

@@           Coverage Diff           @@
##           master   #18691   +/-   ##
=======================================
  Coverage   15.04%   15.04%
=======================================
  Files          48       48
  Lines        1263     1263
  Branches      199      199
=======================================
  Hits          190      190
  Misses       1059     1059
  Partials       14       14

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 df244bf...418aa99. Read the comment docs.


Authenticate users only by username

Hi,
I would like to know if it is possible to authenticate users without any password sent ?
In fact, my front end application calls an other webservice that send username to identify the computer.
And then I need to authenticate this username in my API.
The website doesn't plan to be public I just want a JWT token to track users.

Hi,
Yes, nothing should prevent that.
In fact, the part that requires the password is the form_login (or json_login or whichever symfony’s security listener), this bundle just hooks into the result of this authentication listener for delivering a token or not (via success_handler and failure_handler), username/password validation is pure symfony logic.
For your use case, I would replace the form_login by a guard authenticator, the authenticator would take the AuthenticationSuccessHandler and AuthenticationFailureHandler as dependencies and use them in its onAuthenticationSuccess() and onAuthenticationFailure() methods.

I'm closing as this is not a bug nor a feature request, feel free to reopen.

Hello,
I need to make the same thing but i've no idea how do this part : "to the authenticator would take the AuthenticationSuccessHandler and AuthenticationFailureHandler provided by this bundle as dependencies and use them in its onAuthenticationSuccess() and onAuthenticationFailure() methods."
I've already made my custom guard but i don't know how to inject and use the AuthenticationSuccessHandler and AuthenticationFailureHandler from Lexik, is it possible to have a example or any help to do this ?
Thanks.

@scargoll while it might be a little bit late, here is what I ended up with.
Replace the form_login or json_login by a guard:
# security.yml

security:
# [...]
    firewalls:
        login:
            pattern: ^/give-me-a-jwt
            stateless: true
            anonymous: true
            guard:
                authenticators:
                    - App\Security\UsernameAuthenticator
        api:
            pattern: ^/
            stateless: true
            guard:
                authenticators:
                    - lexik_jwt_authentication.jwt_token_authenticator
# [...]

Authentication handlers can be injected in a new dedicated authenticator:
# App\Security\UsernameAuthenticator

# [...]
use Lexik\Bundle\JWTAuthenticationBundle\Security\Http\Authentication\AuthenticationFailureHandler;
use Lexik\Bundle\JWTAuthenticationBundle\Security\Http\Authentication\AuthenticationSuccessHandler;

class UsernameAuthenticator extends AbstractGuardAuthenticator
{
    private $successHandler;
    private $failureHandler;

    public function __construct(
        AuthenticationSuccessHandler $successHandler,
        AuthenticationFailureHandler $failureHandler
    ) {
        $this->successHandler = $successHandler;
        $this->failureHandler = $failureHandler;
    }

    public function supports(Request $request)
    {
        return true;
    }

    public function getCredentials(Request $request)
    {
        $data = json_decode($request->getContent(), true);

        if (json_last_error() !== JSON_ERROR_NONE) {
            throw new HttpException(400, 'Invalid json');
        }
        if (!isset($data['username'])) {
            throw new HttpException(400, 'Username is required');
        }

        return $data['username'];
    }

    public function getUser($credentials, UserProviderInterface $userProvider)
    {
        if (null === $credentials) return null;
        return $userProvider->loadUserByUsername($credentials);
    }

    public function checkCredentials($credentials, UserInterface $user)
    {
        return true;
    }

    public function onAuthenticationFailure(Request $request, AuthenticationException $exception)
    {
        return $this->failureHandler->onAuthenticationFailure($request, $exception);
    }

    public function onAuthenticationSuccess(Request $request, TokenInterface $token, $providerKey)
    {
        return $this->successHandler->onAuthenticationSuccess($request, $token);
    }

    public function supportsRememberMe()
    {
        return false;
    }

    public function start(Request $request, AuthenticationException $authException = null)
    {
        return new Response('Auth header required', 401);
    }
}

The interface can be implemented any way needed, but the interesting part here is the failure/success wiring

@Glideh thank you for sharing your solution ! Works beautifully :+1:


Feature: Export data as PDF.

Export filtered requests/camp details/volunteer data as PDF. Limit count of data to avoid huge transactions.
The documents may be used for official purposes and offline access.

@arjun-pp One of my team members has experience with this. Can you give some more detail about this?

The data can be already accessed as excel files, we can use any spreadsheet tool to then convert that to PDF's.

I saw only NGO list as csv. Rest details like requests/camp lists/requirements I could not find from where to export.

@arjun-pp only admin users can download such csv files

A good solution for this would be to make an open API node to download the data in a specified format (maybe support csv alone for now since coding a PDF generator would take longer).

I have a Live API used for creating PDF Files. Can i know what form is the data available?


🌱 Opt for a more inclusive Other PR category

What this PR does / why we need it:
This PR changes the emoji used for the "Other" PR category to make it more inclusive

/cc @fmuyassarov
/cc @kashifest

/lgtm

it won't go in by additional lgtm  , it would require test-integration to pass

/test-integration


Fix queued job not running.

My heroku dev instance somehow got hosed where no enqueued job would run.  Flushing the database Doing a flushall on the redis db helped to expose this error:
No handlers could be found for logger “apscheduler.executors.default”
which the commented SO thread ended up solving the problem.
The curious thing is that this happened only to my instance but not on nightly.  But this change should be not be harmful.

This change is

👍 once the tests pass.

I think I know what happened here.
(1) redis db did get hosed, so the enqueued jobs are stuck; wiping the redis db with flushall did fix it so that future enqueued job will get processed; i documented this in the dev guide
(2) i was testing with a brand new instance without any data populated; thus the job failed; the scheduler attempts to log the failure, but it couldn't because it needs the python logging library which was not initialized here; so this PR really fixed this here


 I'll work on it.

@mitake I assigned this to you.

@xiang90 sure, I'm working on it.
@heyitsanthony I'm trying to reproduce it but it doesn't happen yet. Maybe it is rare on your environment, too?

@heyitsanthony is this happened on your machine? It seems that fdatasync() took more than 3 mins. Maybe happened on CI server?

@mitake this was on semaphore; can't repro locally

@heyitsanthony I think the failure wouldn't mean bugs in etcd. The timeout was caused by very long fdatasync(). If the timeout of testing is longer, the failure won't appear. How do you think?
BTW does current etcd have a policy about a case of disk I/O timeout?

@mitake I think I figured it out; it's timing out in fsync by coincidence. The cause for the slow test is bcrypt. When I run go test --race -cpu=1,2,4 (i.e., what ./test uses) in auth, it takes about a minute with DefaultCost but only 5 seconds with MinCost. See #5892
I don't think etcd has any policy concerning slow disk IO aside from emitting some warnings.

@heyitsanthony ah I see. The timeout happened during the call of fdatasync() but the system call itself wasn't taking a long time. Thanks a lot for the diagnosis.


Bug in Execute + Export, with @set commands

Just updated from v6.05 to v6.23, on Windows 10.
Functionality that formerly worked is now broken.
Example query:
@set o = Order
select * from "${o}" limit 100
BUG:
If I highlight all, right-click > Execute > Export From Query, it throws error saying:
Data transfer failed
Reason:
SQL Error [42P01]: ERROR: relation "${o}" does not exist
COUNTER EXAMPLE:
If I simply Execute As Script (Alt-x), it works ok (without exporting).
IMPORTANCE:
When executing very long queries, I need to be able to execute and export in one step.  If I have to wait to execute first, view results, then export, this takes way too long.
Thanks!

Another issue, probably related.
Use same script as above.
Alt-x to execute the script, see results in app window.
Right-click results and choose Export Data.
Throws error:
SQL Error [42P01]: ERROR: relation "Orderrr" does not exist
Position: 15
ERROR: relation "Orderrr" does not exist
Position: 15
ERROR: relation "Orderrr" does not exist
Position: 15
Notice the table name has been garbled to "Orderrr" somehow in the Export Data process.

Another permutation, also probably the same bug:
Use same script as above.
Alt-x to execute, see first set of results in app window.
Scroll to the bottom of results, app tries to load more results.
Throws error:
SQL Error [42P01]: ERROR: relation "Orderr" does not exist
Position: 15
So, this may not be directly related to Export?

Thanks for the bug report.
Fixed

verified

Thanks guys!

Confirmed this is fixed in release 6.2.4.
Thanks for the quick turnaround, folks!


Minor Changes to First Similar Intent Solution

Changed a few things about the first solution based on mentor comments:

Remove score from the match metadata
Changing the user variable names in for loops
Added a new test case for the min common intents to be implemented later. For now the test case is commented out.

Closing due to conflicts.


Feature Request： setOffscreenPageLimit

I think what you need is something like this :
// default is 5
pager.getRecycledViewPool().setMaxRecycledViews(0, 3); // 3 = current + 1 before + 1 after


CI for Node

<EMAIL_ADDRESS>test /home/runner/work/github-actions-for-ci/github-actions-for-ci
npx standard && npx jest

npx: installed 520 in 18.086s
FAIL test/game.test.js
App
✕ Contains the compiled JavaScript (11 ms)
Game
Game
✕ Initializes with two players (6 ms)
✓ Initializes with an empty board
✕ Starts the game with a random player (1 ms)
turn
✓ Inserts an 'X' into the top center (1 ms)
✓ Inserts an 'X' into the top left
nextPlayer
✕ Sets the current player to be whoever it is not (1 ms)
hasWinner
✓ Wins if any row is filled (1 ms)
✓ Wins if any column is filled (1 ms)
✓ Wins if down-left diagonal is filled
✓ Wins if up-right diagonal is filled (1 ms)


GetItemAsync

GetItemAsync is not working! I have HttpRequestException when I tried to use it.
P.S. GetPlayerImageAsync also not working.

I'm working on a fix - You can fix it by change this in auctioninfo.cs:
        public long CalculateBaseId()
        {
            return ItemData.AssetId;
        }

It's working fine now. Thanks!

Should be fixed with https://github.com/trydis/FIFA-Ultimate-Team-Toolkit/pull/144


Need a logout button

currently, when we click on the profile image it redirects you to "my" website of the RDS,  but not there or anywhere there is a logout button, sounds primitive but sometimes users can be skeptical of not logging out.
Maybe this is the immature experience of mine that I find this an issue, if so I would love your's thoughtful and valuable opinion on this which can further help me in understanding this.

Maybe this is the immature experience of mine that I find this an issue...

You are perfectly right.

Hello @rohan09-raj , please assign this issue to me.


csrf detection failed 302 forward location problem

Describe the bug
When https post login request gateway is forwarded to security processing by http protocol, csrf detects error 302 The location of forward points to http protocol
I use spring gateway with security, and enable csrf.
The browser requests to spring gateway with https protocol,
The route is defined as lb:http://security-service,
Gateway converts https protocol to http and forwards to security processing,
When the POST /login login request,
csrf detection fails,
the returned 302 forward response Location address in the Header is the url of the http protocol,
Returning to the browser through the gateway is unchanged.
I use PreserveHostHeader and RewriteLocationResponseHeader to no avail.
Browser url changed from https protocol request to http protocol request,
I need the browser to stay on the https protocol
gateway-service.yaml
server:
  forward-headers-strategy: FRAMEWORK
  port: 443
  ssl:
    enabled: true
    key-store: classpath:**.jks
    key-store-password: **
    key-store-type: jks

spring:
  cloud:
    gateway:
      discovery:
        locator:
          lower-case-service-id: true
      enabled: true
      forwarded:
        enabled: true
      loadbalancer:
        user404: true
      x-forwarded:
        enabled: true
        for-enabled: true
        proto-enabled: true
        host-enabled: true
        port-enabled: true
    nacos:
      discovery:
        server-addr: **:8848
        namespace: 40dc1346-885b-4921-9da8-138c50ef0384
        group: MODULE_GROUP
    sentinel:
      transport:
        dashboard: **:8081
        port: 8719
      eager: true
      datasource:
        gateway:
          nacos:
            server-addr: **:8848
            namespace: 40dc1346-885b-4921-9da8-138c50ef0384
            group-id: MONITOR_GROUP
            ruleType: gw-flow
            data-type: json
            data-id: gateway-flow-rules.sentinel
            username: **
            password: **
        api:
          nacos:
            server-addr: **:8848
            group-id: MONITOR_GROUP
            namespace: 40dc1346-885b-4921-9da8-138c50ef0384
            ruleType: gw-api-group
            data-type: json
            data-id: gateway-api-group.sentinel
            username: **
            password: **
  jackson:
    default-property-inclusion: non_null
    time-zone: GMT+8
    date-format: yyyy-MM-dd HH:mm:ss
  redis:
    database: 0
    host: **
    port: 6379
    password: **
    lettuce:
      pool:
        max-active: 8
        max-idle: 8
        min-idle: 0
        max-wait: -1ms
  session:
    store-type: redis

nacos:
  gateway:
    route:
      config:
        data-id: gateway-route
        group: GATEWAY_GROUP
        timeout: 30000

feign:
  sentinel:
    enabled: true

management:
  endpoints:
    web:
      exposure:
        include: '*'

gateway-route
[
    ...
    {
        "id":"security-service",
        "uri": "lb:http://security-service",
        "predicates": [
            {
                "name": "Path",
                "args": {
                    "pattern": "/login/**",
                    "pattern1": "/logout/**"
                }
            },
            {
                "name": "Method",
                "args": {
                    "pattern":  "GET",
                    "pattern1": "POST"
                }
            }
        ],
        "filters":[
            {
                "name": "PreserveHostHeader"
            },
            {
                "name": "RewriteLocationResponseHeader"
            }
        ]
    }
    ...
]

SecurityConfiguration
@Override

protected void configure(HttpSecurity http) throws Exception {

http
    .sessionManagement()

        .sessionCreationPolicy(SessionCreationPolicy.ALWAYS)

        .maximumSessions(3)

            .and()

        .and()

    .csrf()

        .csrfTokenRepository(httpSessionCsrfTokenRepository)

        .and()

    .formLogin()

        .loginPage("/login")

        .loginProcessingUrl("/login")
        .and()

    .rememberMe()
         .tokenRepository(redisTokenRepository)
         .userDetailsService(userDetailsService)

         .and()

    .logout()

         .logoutUrl("/logout")
         .invalidateHttpSession(true)

         .and()

    .authorizeRequests()

         .antMatchers("/login","/logout")

         .permitAll()

         .anyRequest()

         .authenticated()
         .and()
    .anonymous()
         .and();
}

The RewriteLocationResponseHeader does not change the scheme


New Chaos Experiment for Spring Boot

Hello
Based on Chaos Monkey for Spring Boot, I propose to add a new Chaos Experiment to enable assaults from Litmus to Spring Boot application.
I am finalizing the contibution on litmus-go and chaos-charts for this experiment, and can propose soon a PR for that. This issue can be assigned to me.
Regards.

Can I be assigned to that issue ? I will propose a PR for that as per the contribution guidelines.
Thanks.


Livereload: show message when Webview can't connect

If this plugin tries to load the URL provided by Cordova (via <content src="http://...">), but it can't connect, the Webview ends up spinning at the splash screen forever, giving no clue to the user what's going on.
This plugin should show a message that it can't connect.
ref: https://github.com/ionic-team/ionic-cli/issues/4047

:tada: This issue has been resolved in version 4.1.1 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


cube: add null check on wl_*_destroy functions

Encountered the crash on a compositor without keyboard, this seems to
fix it.

Author tleydxdy not on autobuild list. Waiting for curator authorization before starting CI build.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.shironeko seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

CI Vulkan-Tools build queued with queue ID 17835.

CI Vulkan-Tools build # 731 running.

CI Vulkan-Tools build # 731 passed.


Add block_or_numblock_pattern and replace where used

Follow up: https://github.com/rubocop/rubocop-rspec/pull/1566/files#r1088704493

Before submitting the PR make sure the following are checked:

[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[-] Added tests.
[-] Updated documentation.
[-] Added an entry to the CHANGELOG.md if the new code introduces user-observable changes.
[x] The build (bundle exec rake) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).

I updated this PR.


Registry Settings for Server OS's (2016+)

Hi - do these registry settings apply to server OS's?

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

ID: 0184809a-63ff-ecc2-ab67-9c9f4df900f8
Version Independent ID: ac25ee6c-4c57-58b3-1313-e4a53f53c5a1
Content: Manage device restarts after updates (Windows 10) - Windows Deployment
Content Source: windows/deployment/update/waas-restart.md
Product: w10
Technology: windows
GitHub Login: @jaimeo
Microsoft Alias: jaimeo

@eross-msft , @arcarley do you happen to know?

Servers today only receive quality updates, but the policies on that page pertaining to deploying quality updates or to update experience apply to Server OS's. Note anything available in 1607 and above is available to Server 2016 and above and similarly anything available in 1809 and above is available to Server 2019 and above. This is additionally noted in the GP templates and the CSP documentation, Please let me know if you have any further questions.

Thanks for the quick responses everyone - the specific registry entry i'm interested in is to prevent reboots happening outside of the active hours, referenced as "SetActiveHours" which intend to set to 0 on 2016/2019 servers. I will try in my lab to see if it does prevent reboots happening outside of the active hours. Dylan.


[9.x] WFLY-4596 Upgrade mod_cluster to 1.3.1.Final

Jira
https://issues.jboss.org/browse/WFLY-4596

Linux Build 6425 is now running using a merge of f31573c6dcb450c6bd150a5cfc39948ede5dc3d5

Windows Build 1504 is now running using a merge of f31573c6dcb450c6bd150a5cfc39948ede5dc3d5

Windows Build 1504 outcome was SUCCESS using a merge of f31573c6dcb450c6bd150a5cfc39948ede5dc3d5
Summary: Tests passed: 2868, ignored: 373 Build time: 0:48:21

Linux Build 6425 outcome was SUCCESS using a merge of f31573c6dcb450c6bd150a5cfc39948ede5dc3d5
Summary: Tests passed: 2868, ignored: 373 Build time: 0:48:27

@rhusar This is against master. It needs to be against 9.x.

@bstansberry ah, thanks, cannot seem to be changed now so replaced by https://github.com/wildfly/wildfly/pull/7429


Update lego

Please update lego to version 2.2.0 to include some fixex:

[cli] CLI and key type.
[dnsprovider] httpreq: Endpoint with path.
[dnsprovider] fastdns: Do not overwrite existing TXT records
Log wildcard domain correctly in validation

all ready done: https://github.com/containous/traefik/pull/4480
https://github.com/containous/traefik/blob/v1.7/CHANGELOG.md#v179-2019-02-11

Sorry missed that.


Alternatives to this project since it is no longer maintained

This project hasn't been updated since June 8th, 2021. Are there any maintained forks or alternatives?

It’s maintained but stable
On Fri, Dec 16, 2022 at 9:13 AM David R. Myers @.***>
wrote:

This project hasn't been updated since June 8th, 2021. Are there any
maintained forks or alternatives?
—
Reply to this email directly, view it on GitHub
https://github.com/mateodelnorte/meta/issues/313, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEHOXYHEBKTTGGEERFKAK3WNSBKRANCNFSM6AAAAAATBCS2PU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Ah, my apologies for assuming based on the commit timestamp.


Title detection heurisitcs

Currently, PDF title is retrieved directly from the metadata info, but most PDFs (like Arxiv) don't actually have that metadata. We could have custom logic, if we detect that it is an "Arxiv" PDF which is what #52 is about, or else we could add heuristic based "guessing" of title (say from the text with largest font on the first page.) This will obviously not work everywhere. But, it doesn't have to!
I've past experience with KDE's KFileMetaData which used a similar heuristic, and it used to give good results. This was later removed though (commit), because KDE as a distro has to make a lot of people happy.
If you're okay with a heuristic based approach, I could take a stab at implementing this!
Usecase: I would really like to have a script that auto-renames my PDFs with proper titles. I actually had a script that was based on KFileMetaData, but I've since moved onto Windows. https://github.com/dufferzafar/.scripts/blob/master/pdf-titles

I just looked at the code, and the reference detection logic is also heuristical in nature:
https://github.com/metachris/pdfx/blob/9e6864c5f9bcc8801e12c63a64d6efdfd1960494/pdfx/extractor.py#L14-L22

There's a haskell-based tool that's based around renaming PDFs: https://github.com/2mol/pboy but it has no title-heuristics, just metadata.

I actually found a library that implements the heuristics that I talked about: https://github.com/metebalci/pdftitle
It works pretty well. So I've modified my original script to use this instead of KDE's metadump.
Closing this, because I don't think it makes any sense to re-implement this functionality in pdfx.


I didn't get full text when I scroll my app.

Sir, I am using Textjustify class. it works fine textview in english language. it is not compatible with other language (telugu). when scroll my app some lines are missing from the bottom. plz help me...thanking you....

Try manipulating the ext:documentView_insetPaddingBottom

thank you sir. I got the solution.