Add write transaction

Add transaction write feature to DynamoId.

Currently only works for adding multiple write operations

Looks pretty good 👍 .
The only issue I see is that transact method works just for the one model/table but DynamoDB's transaction can involve different tables in one call. I would like to have only one flexible API for write transactions. That's why I would like transact to work with several tables.
The only reason why transactions aren't added yet is that I am not sure what API should be.
I have following thoughts:

API should be high-level and operate model classes instead of table names
operations are hight-level and names match already existing methods like update_attributes/update_fields/upsert/...
callbacks should be called, at least some of them (e.g. for creation/deletion)

I considered following interface:
# Dyhamoid::Document.transaction or User.transaction

Dynamoid::Document.transaction do |txn|
  txn.create(User, attributes)
  txn.update(User, attributes)
  txn.update_fields(User, attributes, conditions)
  txn.upsert(User, attributes)
  txn.delete(User, id)
end

So please let me know what do you think about it.

Looks pretty good 👍 .
The only issue I see is that transact method works just for the one model/table but DynamoDB's transaction can involve different tables in one call. I would like to have only one flexible API for write transactions. That's why I would like transact to work with several tables.
The only reason why transactions aren't added yet is that I am not sure what API should be.
I have following thoughts:

API should be high-level and operate model classes instead of table names
operations are hight-level and names match already existing methods like update_attributes/update_fields/upsert/...
callbacks should be called, at least some of them (e.g. for creation/deletion)

I considered following interface:
# Dyhamoid::Document.transaction or User.transaction

Dynamoid::Document.transaction do |txn|
  txn.create(User, attributes)
  txn.update(User, attributes)
  txn.update_fields(User, attributes, conditions)
  txn.upsert(User, attributes)
  txn.delete(User, id)
end

So please let me know what do you think about it.

Hey thanks for the response. I admit i did this PR with a specific business case in mind. I like your suggestion for the new api design. Will work on it over the next few days.

@andrykonchin what's the status on transact write support, is it planned? any help needed?

Transactions aren't supported right now. The main issue is that it isn't clear to me how the transactions API should look. Any opinion/proposition is welcomed.

Have there been any more thoughts on this? Below is an alternate API idea using an array of arrays. An array of hashes could work too. Personally I prefer single table usage of DynamoDB so don't have a need to span tables but I see why it should be supported.
Dynamoid::Document.transaction([   [User, :create, attributes],   [User, :update, attributes],   [User, :update_fields, attributes, conditions],   [User, :upsert, attributes],   [User, :delete, id] ])


Custom base images with multistage

the added custom_parent_image, identifies whether any parent_image is custom base image,
custom_base_image only identifies if last parent is custom
but now when plugins have to decide whether they run or not, we have 2 cases,
1st plugins like inject_parent_image, is based on last parent only, therefor we check custom_base_image
2nd plugin like add_filesystem has to run when ANY parent is custom base image therefor we use custom_parent_image, also for this plugin based on those 2 options, we want to either set_base (change base image) OR only set parent_images
custom base image has feature that when you specify tag, that tag is used as configuration file for custom base image, but that would mean it would be possible to have multiple different custom base images in the same Dockerfile which would : 1st take a long time, 2nd there shouldn't be need for that, so I've initially wanted to use last configuration for custom base image specified, but I'll change that, so when there are multiple different custom base images specified in Dockerfile, it will raise error

ready for another review

rn upated: - Custom base images now properly work with multistage


IJ flutter test runs in verbose mode(and as a result debug console is polluted with toStringDeep methods)

When launching test(test/painting/image_provider_test.dart from packages/flutter) from IJ IDE I'm seeing following in Console:
Testing started at 3:45 PM ...
$FH/flutter/bin/flutter --no-color test --machine --start-paused --verbose test/painting/image_provider_test.dart
...
[        ] Connecting to service protocol: http://<IP_ADDRESS>:33463/8YJC39D-WdU=/
[ +147 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:33463/8YJC39D-WdU=/
[ +852 ms] test 0: process with pid 245988 connected to test harness
[        ] test 0: awaiting test result for pid 245988[ +655 ms] -> result af1cd84b-5ebc-4b39-ad02-3b514f660f1b
[  +44 ms] -> org-dartlang-debug:synthetic_debug_expression:1:1: Error: Method not found: 'toStringDeep'.
[        ] -> toStringDeep()
[        ] -> ^^^^^^^^^^^^
[   +8 ms] -> org-dartlang-debug:synthetic_debug_expression:1:1: Error: The method 'toStringDeep' isn't defined for the class 'NetworkImage'.
[        ] ->  - 'NetworkImage' is from 'package:flutter/src/painting/image_provider.dart' ('lib/src/painting/image_provider.dart').
[        ] -> Try correcting the name to the name of an existing method, or defining a method named 'toStringDeep'.
[        ] -> toStringDeep()
[        ] -> ^^^^^^^^^^^^
[   +8 ms] -> af1cd84b-5ebc-4b39-ad02-3b514f660f1b /tmp/flutter_test_compiler.FZABGZ/output.dill 2
[ +650 ms] -> result ee931a5c-2e89-4150-8d58-fc87913a4c1f
[   +2 ms] -> org-dartlang-debug:synthetic_debug_expression:1:1: Error: Method not found: 'toStringDeep'.
[        ] -> toStringDeep()
[        ] -> ^^^^^^^^^^^^
[        ] -> org-dartlang-debug:synthetic_debug_expression:1:1: Error: The method 'toStringDeep' isn't defined for the class 'NetworkImage'.
[        ] ->  - 'NetworkImage' is from 'package:flutter/src/painting/image_provider.dart' ('lib/src/painting/image_provider.dart').
[        ] -> Try correcting the name to the name of an existing method, or defining a method named 'toStringDeep'.
[        ] -> toStringDeep()
[        ] -> ^^^^^^^^^^^^
[   +1 ms] -> ee931a5c-2e89-4150-8d58-fc87913a4c1f /tmp/flutter_test_compiler.FZABGZ/output.dill.incremental.dill 4
...

is this intentional?
toStringDeep diagnostic is as expected in verbose mode, but why are we running flutter test in verbose mode? Basically as you move cursor over different parts of the source code and hover over various parts of the source you see those messages added to the Console, which is quite distracting.
@devoncarew , do you know?

@aam, there's a user preference to enable verbose logging for runs - possible this has been enabled on your machine? I'd check the Languages & Frameworks > Flutter settings for 'enable verbose logging'.

Without additional information we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Missing support for SQLAlchemy v2

SQLAlchemy v2 is out and has important new features.
I suggest relaxing the dependency requirement from SQLAlchemy = "^1" to SQLAlchemy = ">=1.0, <3.0"

we will look into this. there are some things that we'd need to update so i dont think its as simple as that

Please see #1272 for more details


A home for language development?

Is there a public repository concerning the development of the asciimath language? Is there a place where user can discuss possible changes to the language itself (not asciimathml)?
I believe this issues should be considered.

This repository is not the right place to raise this issue, but that's my point 😁 (there should be a proper place for it)

While this repository houses the AsciiMathML script, it also serves as the reference implementation for the AsciiMath language.  So yes, this repository is the right place to discuss ideas for the language itself.  There is nowhere else.

I am also interested in such discussions.
It is sort-of possible to use GItHub issues like the thread of a
newsgroup discussion.  So maybe we can try it until doesn't serve
the need?
On Tue, 28 Apr 2020, David Lippman wrote:

While this repository houses the AsciiMathML script, it also serves as the reference implementation for
the AsciiMath language. So yes, this repository is the right place to discuss ideas for the language
itself. There is nowhere else.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, orunsubscribe.[AABTULFJPZYWCXUNMV6KUPLRO5WK7A5CNFSM4MTHMYRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5
WW2ZLOORPWSZGOEUBHQQI.gif]

Alright, thanks!


FIX: ingress was not creating the endpoint when target port is string

When using target port as string, nginx can't generate the right upstream.
$kubectl get svc prometheus-k8s -o yaml
apiVersion: v1
kind: Service
metadata:
  name: prometheus-k8s
  namespace: kube-system
spec:
  clusterIP:  ***
  ports:
  - name: web
    nodePort: 3900
    port: 9090
    protocol: TCP
    targetPort: web
  selector:
    prometheus: prometheus-k8s
  sessionAffinity: None
  type: NodePort
status:
  loadBalancer: {}

Output when using targetPort: web
[temp-nginx-ingress-controller-vki2s] W0110 10:40:36.638062       7 controller.go:833] service kube-system/prometheus-k8s does not have any active endpoints

diff nginx.conf after patching
grubio@localhost:~$ diff nginx.conf-old nginx.conf-new
359c359
<         server <IP_ADDRESS>:8181 max_fails=0 fail_timeout=0;
---
>         server <IP_ADDRESS>:9090 max_fails=0 fail_timeout=0;

Fixed

This change is

Coverage remained the same at 41.207% when pulling 14ae787b404fe11f7af93cb19e9d3d4eda5f7720 on gianrubio:targetport-string into f90e9eeb7c64b7679038e99d5719a69fab270c8e on kubernetes:master.

@gianrubio can you post the ingress rule?

Sure!
$ kubectl get ing -n kube-system prometheus -o yaml
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: '{"kind":"Ingress","apiVersion":"extensions/v1beta1","metadata":{"name":"prometheus","namespace":"kube-system","creationTimestamp":null,"annotations":{"kubernetes.io/tls-acme":"true"}},"spec":{"tls":[{"hosts":["prometheus.mydomain"],"secretName":"prometheus.mydomain"}],"rules":[{"host":"prometheus.mydomain","http":{"paths":[{"path":"/","backend":{"serviceName":"prometheus-k8s","servicePort":9090}}]}}]},"status":{"loadBalancer":{}}}'
    kubernetes.io/tls-acme: "true"
  creationTimestamp: 2017-01-09T15:15:21Z
  generation: 4
  name: prometheus
  namespace: kube-system
  resourceVersion: "64176800"
  selfLink: /apis/extensions/v1beta1/namespaces/kube-system/ingresses/prometheus
spec:
  rules:
  - host: prometheus.mydomain
    http:
      paths:
      - backend:
          serviceName: prometheus-k8s
          servicePort: 9090
        path: /
  tls:
  - hosts:
    - prometheus.mydomain
    secretName: prometheus.mydomain

@aledbf could you review this PR?

@gianrubio sorry for the delay. Tomorrow I will test this PR.

/lgtm

@gianrubio thanks and sorry for the delay.


STX drop down can become locked on screen and user cannot use the extension

I ran into it once normally and what you see in the video was me trying to recreate it.
video of this issue: http://somup.com/cYlUYU2MRn
It seems to happen if I copy and paste an address into the recipient field while the STX token drop down is still lowered the extension locks up and I have to back out.

This is still happening in #761

This is still happening in #761


Issue with import/export rule for "multiple export name of" after upgrading to version 2.25.2

I update the eslint-plugin-import from 2.24.2 to 2.25.2 and I started getting an error "multiple export name of" in the testing-library/react file about the custom render. Here is the Testing React setup guide.
The issue is when you have both export with the render name. One comes from export * from '@testing-library/react' and the other from the customRender which is supposed to override the one from @testing-library/react.

Is there an issue with the eslint rule import/export?

I don’t think it is - the language semantics allow this, but the linter rule can’t know if it’s intentional or not. It seems like the place for an override comment (or, an option that specifically allows this case)


Ensure page resources are loaded in an efficient manner

Current we have a lot of blocking Javascript and CSS when loading a page. Putting them at the bottom of the page instead of the top would streamline loading and rendering the page.

PageSpeed report

The above PR has been merged, but we are getting some complaints from PageSpeed analysis saying we aren't actually using the embed.js pre-load. If you pre-load something and don't use it, it makes performance worse so we want to fix that or get rid of it.
I can't see this problem in dev, so we have to deploy to test. I've made a fix (?) in:

https://github.com/hypothesis/via3/pull/85

We are getting another pre-load warning too, but I think that one is from 'h'. It's for:

https://cdn.hypothes.is/hypothesis@qa

The report is available at:

https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fqa-via3.hypothes.is%2Fhttp%3A%2F%2Fpdf995.com%2Fsamples%2Fpdf.pdf

Nope. This could be a slow process to work out:

https://github.com/hypothesis/via3/pull/90

Yeah I can't get any of the Javascript pre-loading to work. So I've removed it. I'm not sure if the PDF stuff is working or not.


Error in question 2 for Euler's method

There is a t variable in the conditions section when there is no mention of t in the equation
'dx/dy = cos(x)sin(y) + cos(y)'
With initial condition 'x = 0' at 'y = 1'
b.) Plot 'x(y)' up to 'y = 100' using 1000 steps.

Or how about:
dx/dy = cos(x)sin(y) + cos(y)
With initial condition x = 1 at y = 0 - as the initial value of our dependent variable must be when the independent is at 0.
b.) Plot x(y) up to y = 100 using 1000 steps.

In fact, we also need to update the equation so x is  independent and y is dependent, as is usually the case:
dy/dx = cos(y)sin(x) + cos(x)

Hi @Jlcode7 I've updated the webpage. If you think this problem has been fixed, let me know here and I'll close the issue.


ICS files date/times broken

Adding to Google Calendar seems to work perfectly without any issues, however, ICS files generated have invalid values, even on the demo page. They come out with lines like this:
DTSTART;VALUE=DATE:0NaNaNaNTaNaNaN DTEND;VALUE=DATE:0NaNaNaNTaNaNaN
And even worse, when generate an iCalendar link more than once on the same page, the ICS file contains duplicated data, e.g.:
BEGIN:VCALENDAR VERSION:2.0 BEGIN:VEVENT CLASS:PUBLIC DESCRIPTION:Celebrate the independence of the United States with fireworks in one of the greatest cities in the world. DTSTART;VALUE=DATE:0NaNaNaNTaNaNaN DTEND;VALUE=DATE:0NaNaNaNTaNaNaN LOCATION:Battery Park City, New York, NY SUMMARY;LANGUAGE=en-us:Fourth of July Fireworks TRANSP:TRANSPARENT END:VEVENT BEGIN:VEVENT CLASS:PUBLIC DESCRIPTION:Celebrate the independence of the United States with fireworks in one of the greatest cities in the world. DTSTART;VALUE=DATE:0NaNaNaNTaNaNaN DTEND;VALUE=DATE:0NaNaNaNTaNaNaN LOCATION:Battery Park City, New York, NY SUMMARY;LANGUAGE=en-us:Fourth of July Fireworks TRANSP:TRANSPARENT END:VEVENT END:VCALENDAR

Thanks for catching this. Both issues are fixed in 0.0.6.


Prefixes not showing on UltimateChat

Running on a 1.10.2 Sponge Server with latest UltimateChat (1.8.3) and LuckPerms v3.2.60
Rank has weight of 100 - Ran the following command:
/lp group owner addprefix 100 Owner
Can''t seem to get any prefix parsed over from LP to UltimateChat. Is there a workaround or can you get it resolved please?
Thanks and Best Regards

Could you update your Luckperms to the latest please. We can't help you if you're running on a very old build :) https://ci.lucko.me/job/LuckPerms/

I also suggest you update UltimateChat.
If the correct value shows when you run /lp user <user> info, then it's an UltimateChat issue.
If the correct value doesn't show, then you've set up prefixes incorrectly. You can use the meta info command to work out where you went wrong. :)


Added SPLENV_REF parameter to official-release job

I have removed the extra parameter on the triggered job.


Fixed a bug wherein links/click/tap inside mobile carousel does not work.

Proposed changes
Screenshots (if appropriate) or codepen:
Types of changes

[x ] Bug fix (non-breaking change which fixes an issue).
[ ] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to change).

Checklist:

[ x] I have read the CONTRIBUTING document.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@Conrekatsu You clearly haven't read the [CONTRIBUTING guidelines].(https://github.com/Dogfalo/materialize/blob/master/CONTRIBUTING.md)
@Dogfalo please close


Functions related view should be under Knative next to Serving and Eventing

There are two Knative related menu items in the VScode's sidebar, it should be merged into one to live next to Serving and Eventing.

There should be just one Knative extension icon in the Sidebar. @sudhirverma can you have a look at the latest version and see if this issue persists.

We had an agreement to create two Sidebar one for knative and the other for Functions.
cc. @jeffmaury @nainaz


Сlass name is not added to the component when i use inheritAttrs: false

Version
3.1.1
Reproduction link
https://codesandbox.io/s/vigorous-swanson-31rrq
Steps to reproduce
You should open the example and you will see that a component without a class which I added on my component
What is expected?
I am expecting the classes to be applied
What is actually happening?
The component without a class name

This worked in previous versions (2.6.11 and 3.0.8):
2.6.11 -> https://codesandbox.io/s/optimistic-kirch-06cmt
It seems like a new bug after this fix https://github.com/vuejs/vue-next/pull/3742

I'd be suprised if this was "working" in 3.0.8, since this behaviour is an explicitly documented breaking change in 3.0.0:
https://v3.vuejs.org/guide/migration/attrs-includes-class-style.html#migration-strategy
If this "worked" in 3.0.8, that would have been a bug.


Question: DZI zooming in to a single pixel

Hi,
I just started using OSD with DZI images.  I have about 10 levels of zoom and once I get to the highest resolution tile (i.e. 1:1 image:display pixel), is there a way to get OSD to then zoom in to that to show individual pixels - albeit pixellated?
Regards,
Simon

You probably want to experiment with those options:
minZoomImageRatio (default: 0.8)
maxZoomPixelRatio (default: 2)
described here:
http://openseadragon.github.io/examples/ui-zoom-and-pan/

Awesome, thank you!  Worked beautifully.

Hmm, when I compare the image in OSD I get smoothing/blending compared to when using a native image viewer where I get "nice" pixellation.
These are the settings I'm using, I'm sure I have no idea what I'm doing:
maxZoomPixelRatio: tile_size
preserveViewport: true
visibilityRatio: 1
minPixelRatio: 0
minZoomImageRatio: 1

There is no support for pixelation at the moment.
Here is some information if anyone is willing to implement it: http://stackoverflow.com/questions/7615009/disable-interpolation-when-scaling-a-canvas

So I managed to get it work by setting https://developer.mozilla.org/en/docs/Web/API/CanvasRenderingContext2D/imageSmoothingEnabled which is good enough for the browsers I need to support.
I just need to work out how to hook that in to the OSD API load/draw/etc.

Great! Could you make a pull request once you have something working?
I expect you need to set the properties to the main canvas and the sketch canvas in drawer.js.

So this is what I ended up doing:
function pixelateAtMaximumZoom(data) {
  var viewer = data.eventSource;
  var drawer = viewer.drawer;
  var canvas = drawer.canvas;
  var context = canvas.getContext("2d");

  context.mozImageSmoothingEnabled = false;
  context.webkitImageSmoothingEnabled = false;
  context.msImageSmoothingEnabled = false;
  context.imageSmoothingEnabled = false;
}

var viewer = OpenSeadragon(...);

viewer.addHandler("tile-drawn", pixelateAtMaximumZoom);

Thanks for sharing!
I guess setting the CSS properties every time a tile is drawn is a bit overkill.
Wasn't the open event enough?
@iangilman, should we create an option to have that natively?

Almost certainly overkill.  I think it needs to be done on resize and on the initial draw.  I'll play around and work out what the minimum set of events are.

So, I tried just about every combination of events to find some minimum set that would work for paging, full-screen, resizing, etc.  The only thing I could get to work consistently is using the tile-drawn event.
open was good but didn't handle in/out of full-screen/full-page properly.
The combination of open, full-page and full-screen worked for everything except coming back out of full-page/full-screen :)
I suspect you'll have better luck doing it internally hooking in to the correct set of events.
Sorry I wasn't more help.

So it's just coming out of fullscreen/page that doesn't work with the current set of events? Seems like we should update the events so this is possible to implement outside of OSD. I guess it's a pretty small feature, so maybe it's silly to have it be a plugin, but it seems like it'd be good for it to be possible that way.
I'd be okay with adding it as a feature of the core OSD as well... another startup option.
As for hooking into the full-page event... does the event just come a little too soon? How about adding a setTimeout(func, 1) to get it to happen after the current event?


support more than one podCIDR

fix #38
https://github.com/openyurtio/raven-controller-manager/pull/20

LGTM
@BSWANG @DrmagicE  Any comments？


terminal

Terminal is failed to open.. resolve my issue.

It looks like your report is missing some important information, See this wiki page for more info on how to report actionable terminal issues.


RandomX/Cryptonight Support

would it be possible to implement support for rx/* and cryptonight coins?
thanks!

Sorry, this is not for monero variants. https://github.com/dvandal/cryptonote-nodejs-pool and its forks are good enough.


[feat] implement working subscriptions

This is tested with very minimal coverage, but the most basic scenarios work

There appears to be some flakiness with the .fetching .. will try to fix that

Hey @kristiangerkman , thanks so much for the PR! I'll review it shortly when I get the chance

I'll pushed another version of this (which is more close to what you had already done), didn't quite understand the state management in solid when I wrote this initially
I think the main goal for this repo should be to get it merged with the big boys (https://github.com/FormidableLabs/urql/)
So I also added support for Jest and some tests for the subscriptions


Form Text Field is not resizable

Describe the bug
When I open or create a Form with a very long Text input, the Properties Panel becomes hard to use. This was not the case in 8.9
5.9

5.10

Steps to reproduce

Open this Form:

{
  "components": [
    {
      "text": "# Text\nI have a very long Text\nIn this Field\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nIt has whitespace, but I don't care\n\n\n\n\n\n\n\nHello",
      "type": "text",
      "id": "Field_06ike7l"
    }
  ],
  "type": "default",
  "id": "Form_1617zj4",
  "executionPlatform": "Camunda Cloud",
  "executionPlatformVersion": "8.1.0",
  "exporter": {
    "name": "Camunda Modeler",
    "version": "5.9.0"
  },
  "schemaVersion": 7
}

I have to scroll or close the "General" Tab completely to see the rest of the properties.

Expected behavior
The Area has a size limit by default that I can extend if needed to (5.9 behavior)
Environment
Camunda Modeler system information

Version: 5.10.0-rc.0
Operating System: Windows 10 amd64
Plugins:
Execution Platform: Form - Camunda Platform 8

Additional context
No response

While still true, we limit the height of the inputs nowadays and honestly usability is nice. Personally I wouldn't change anything, haven't really had any feedback or notes on this. I guess it's a preference, but at this point it's been this way for a while, so I'd opt for closing.
Wdyt @marstamm?


DNS and openebs failures

Hello.
I have set up a three node cluster in a data centre hosted by ovhcloud and I have been having issues with coredns and probably related to that openebs pvc failures - restarts and ultimately failures.
I have followed advice suggested here:
https://github.com/canonical/microk8s/issues/3043
...and because I think I have multiple network interfaces here:
https://github.com/canonical/microk8s/issues/1511
report.tar.gz
I have also tried numerous times to make use of this article:
https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/
..And I have tried muliple versions and purged and started again many times. All left me with no improvement.
Any help would be much appreciated. I've attached my inpect report.

From another post I tried disabling HA to use flanneld and etcd. This seems to give me a stable system but I'm obviously missing high availability features.

In the inspect tarball, when i looked at the cluster-info from dqlite, it only contains 1 node, which has the ip ending with 197 node.
But looking at the pods deployed, i see there are 3 calico-node running, which indicates that kubernetes seems to see 3 nodes, but dqlite only has 1.
Can you also get the inspect tarball from the other 2 nodes?
Thanks

Thanks for getting back to me.
I have since removed ha-cluster and so back to flannel and that sort of works.
I can purge microk8s and reinstall everything this weekend because I would like to find out what’s going on. Then I could send you the inspections from the other nodes if necessary.
What would a healthy cluster-info look like though?

On 22 Apr 2022, at 00:46, balchua @.***> wrote:
In the inspect tarball, when i looked at the cluster-info from dqlite, it only contains 1 node, which has the ip ending with 197 node.
But looking at the pods deployed, i see there are 3 calico-node running, which indicates that kubernetes seems to see 3 nodes, but dqlite only has 1.
Can you also get the inspect tarball from the other 2 nodes?
Thanks
—
Reply to this email directly, view it on GitHub https://github.com/canonical/microk8s/issues/3071#issuecomment-1105861241, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKVBAOQA6DSTE6J2SCMOF23VGHSEVANCNFSM5TSLYPWQ.
You are receiving this because you modified the open/close state.

I wiped the cluster an install ubuntu 20 to remove any OS static.
Also installed version 21 to avoid any late breaking issues.
I've created a 3 node cluster and enabled dns although it doesn't work of course.
I've attached all 3 nodes inspections. I hope there is a simple explanation :-)
Thanks again.
node3154867.tar.gz
node3166183.tar.gz
node3173026.tar.gz

Hi @harpermj66
I checked the kubelite logs on the node ns3154867 and i see these.  I dont know if these are the reason why DNS doesnt work.  But it looks like the apiserver couldn't reach out to the nodes via the node name.
Apr 22 20:42:59 ns3154867 microk8s.daemon-kubelite[20965]: E0422 20:42:59.439165   20965 status.go:71] apiserver received an error that is not an metav1.Status: &errors.errorString{s:"error dialing backend: dial tcp: lookup ns3173026 on <IP_ADDRESS>:53: no such host"}: error dialing backend: dial tcp: lookup ns3173026 on <IP_ADDRESS>:53: no such host
Apr 22 20:43:03 ns3154867 microk8s.daemon-kubelite[20965]: E0422 20:43:03.084944   20965 status.go:71] apiserver received an error that is not an metav1.Status: &errors.errorString{s:"error dialing backend: dial tcp: lookup ns3173026 on <IP_ADDRESS>:53: no such host"}: error dialing backend: dial tcp: lookup ns3173026 on <IP_ADDRESS>:53: no such host
Apr 22 20:43:07 ns3154867 microk8s.daemon-kubelite[20965]: E0422 20:43:07.336984   20965 status.go:71] apiserver received an error that is not an metav1.Status: &errors.errorString{s:"error dialing backend: dial tcp: lookup ns3173026 on <IP_ADDRESS>:53: no such host"}: error dialing backend: dial tcp: lookup ns3173026 on <IP_ADDRESS>:53: no such host
Apr 22 20:43:11 ns3154867 microk8s.daemon-kubelite[20965]: E0422 20:43:11.006572   20965 status.go:71] apiserver received an error that is not an metav1.Status: &errors.errorString{s:"error dialing backend: dial tcp: lookup ns3173026 on <IP_ADDRESS>:53: no such host"}: error dialing backend: dial tcp: lookup ns3173026 on <IP_ADDRESS>:53: no such host
Apr 22 20:43:13 ns3154867 microk8s.daemon-kubelite[20965]: E0422 20:43:13.697869   20965 status.go:71] apiserver received an error that is not an metav1.Status: &errors.errorString{s:"error dialing backend: dial tcp: lookup ns3173026 on <IP_ADDRESS>:53: no such host"}: error dialing backend: dial tcp: lookup ns3173026 on <IP_ADDRESS>:53: no such host
Apr 22 20:43:18 ns3154867 microk8s.daemon-kubelite[20965]: E0422 20:43:18.808962   20965 status.go:71] apiserver received an error that is not an metav1.Status: &errors.errorString{s:"error dialing backend: dial tcp: lookup ns3173026 on <IP_ADDRESS>:53: no such host"}: error dialing backend: dial tcp: lookup ns3173026 on <IP_ADDRESS>:53: no such host

Usually i add the node names on each server's /etc/hosts

I saw those as well and I did then set up the hostname ip address mappings in the /etc/hosts files on each node to try to get it to work.
The <IP_ADDRESS> ip is the nameserver for the data centre however and that only seems to map to fully qualified domain names not host names. For example ns3154867.ip-51-89-173.eu I could ping by default from another machine but not ns3154867. I think in my case the hostnames mappings isn't helping - not with calico at least.
I suppose I could try someting like ipaddr fqdn hostname in the etc/hosts file but I suspect that wont' work either.
I had a similar issue yesterday with my company data centre where I had only one node but I couldn't reach the internet from within a pod unless I disabled ha-cluster and reverted to flannel.
Another point to note is on a home network I never have these issues because the home network hostname resolution is automatic - so no messing with hosts files.
This looks like it should be a very common issue.

I think you can map the fqdn to kubelet using the hostname-override in this file
/var/snap/microk8s/current/args/kubelet
See if you still see that error.

What I did.
sudo snap remove --purge microk8s
added --hostname-override=ns3154867.ip-51-89-173.eu to /var/snap/microk8s/current/args/kubelet for that node
added --hostname-override=ns3166183.ip-51-89-192.eu to /var/snap/microk8s/current/args/kubelet to the second node with that fqdn.
I then restarted the nodes and deleted the none fqdn hosts that existed for microk8s kubectl get nodes
microk8s add-node in the first node
microk8s join from the second node as a worker.
The second node didn't  appear but I found that -hostname-override=ns3166183.ip-51-89-192.eu in the kubelet file for second node had been changed to --hostname-override=ns3154867.ip-51-89-173.eu
I did this twice to confirm the behaviour.

This all seems like it should be rudimentary. I'll try to work it out for myself but I suspect that will take more time than I have available.
Is there any consulting option I could consider to get paid help if I fail?

Im sure there is enterprise support.  @ktsakalozos will be able to direct you to the right place.
Im trying to understand the scenario, please bear with me.

You purged and reinstall microk8s on all 3 nodes.
On each node you added --hostname-override.
You join the nodes, then suddenly the --hostname-override becomes the node name you intend to join to?

Have another thing in mind.  Clean up microk8s (with purge).
Set the node hostname using sudo hostnamectl set-hostname ns3166183.ip-51-89-192.eu.
Then join them.  So we don't need to play with the hostname-override and let the system take the default of what the command hostname will give.

Yes, that's correct with regard to the --hostname-override.
I actually already tried what you suggested with the hostname-ctl a couple of weeks ago and it didn't make dns resolution work, it just stripped the hostname at the first .

The dns resolution that doesn't work is within the cluster or it doesn't resolve outside?  Can you try the latest 1.23 version?  Like the edge?

It's within the cluster the dns doesn't work. Bear in mind I've had everything working by reverting to flannel --> removing ha-cluster

I will try the latest edge

I tried the latest edge version but it didn't fix the dns. From this site https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution I downloaded the pod for checking dns and ran:
kubectl exec -i -t dnsutils -- nslookup kubernetes.default
I get the following Error from server: error dialing backend: dial tcp: lookup ns3166183 on <IP_ADDRESS>:53: no such host
This is a two node cluster and ns3166183 is the worker node that it the setup can't reach from the master.
<IP_ADDRESS> is the domain name server for the data centre which does not store mappings for ns3166183.
I guess the trick is still going to be to use the fqdn but as I said previously microk8s doen't seem to like those.


ISPN-3824 Upgrade do Narayana 5.0.4

https://issues.jboss.org/browse/ISPN-3824

should we bite the bullet and jump to 5.0.4.Final ?

WF 8.x uses Narayana, 5.0.0, so it'd make sense to do so IMO...

@tristantarrant not finding the upgrade to 5 in this branch. Forgot to push -force the update?

Silly me, I renamed the branch. Closing this.


Bug: JSX namespace not being recognized in vite TSX context

Describe the bug
`JSX element implicitly has type 'any' because no interface 'JSX.IntrinsicElements' exists.` error with jsx and vite.

To Reproduce
1. Setup a vite project with this config:

import { defineConfig } from 'vite';

export default defineConfig({
  esbuild: {
    jsxFactory: 'jsx',
    jsxFragment: 'Fragment',
    jsxInject: `import { jsx, jsxs, Fragment } from 'million/jsx-runtime'`,
  },
});

2. Create a `index.tsx` and `index.html`, and import the tsx file.
3. Write some jsx
4. View intellisense errors

Expected behavior
Should not have this error and vite should use the JSX namespace

Screenshots
N/A

Operating System
MacOS Monterey
Browser
Brave 1.29.77 Chromium: 93.0.4577.63 (Official Build) (arm64)
Additional context
N/A

To let TypeScript find your jsx-runtime's types, there should be {path}.d.ts or {path}/index.d.ts where path = million/jsx-runtime.
So the solution is quite simple:
Move the ./dist/jsx-runtime.d.ts to ./jsx-runtime.d.ts.

What's more, users should know the correct way to write tsconfig.json:
{
    "compilerOptions": {
        "jsx": "react-jsx",
        "jsxImportSource": "million",
        // below is required to find million from node_modules
        "moduleResolution": "Node"
    }
}

Also, the file containing jsx (tsx) should have at least one import/export to be recognized as es module:
export type {} // <- this is required, if there's no other import/export
const hello =
Hello

console.log(hello)

Just put the info here for completion.

Also, there's no problem with your vite config, it is correct, and vite is able to build it correctly.

I'm wondering if theres a more elegant way to do this. Initially, I wanted the conditional export on package.json L29 to be "trapped" first (this one has types associated), and use the jsx-runtime.js as a fallback, but it seems like the jsx-runtime.js is being resolved first, thereby not being able to get the types.
Is it a wise solution to just remove jsx-runtime.js, and hope the bundler is able to catch the conditional export?

Let's clarify that here are two concepts:

bundlers reads exports to resolve js file, which is exactly dist/jsx-runtime.js. They have no reason to choose ./jsx-runtime because exports has the highest priority and once set, there can only be those paths to be exported.

typescript reads types (for entry point) and tsconfig (if exist) to resolve types. Other paths are mapped to be related to the root of package folder.

That is to say, typescript does not know the exports field (at least now), since it already has paths in tsconfig.
(There's a deprecated field called typeVersion which can redirect type path, but I don't recommend that.)
In conclusion, here's a valid pkg stucture if your exports.jsx-runtime is set to ./dist/jsx-runtime.js:
./dist/jsx-runtime.js
./jsx-runtime.d.ts

Another one (also valid):
./dist/jsx-runtime.js
./jsx-runtime/index.d.ts

Yet another one:
./dist/jsx-runtime.js
./dist/jsx-runtime.d.ts
./jsx-runtime.d.ts
  ^ contents: export * from "./dist/jsx-runtime"

Thanks! Your explanation was really helpful. I chose to go with the:
./dist/jsx-runtime.js
./dist/jsx-runtime.d.ts
./jsx-runtime.d.ts
  ^ contents: export * from "./dist/jsx-runtime"

In the commit I referenced


Pass isOnline flag in docs for NodeJS

Overview/summary
The docs to begin OAuth don't include the isOnline argument in the NodeJS code snippet. It is set in the Express example though and basically forces the Cookie to immediately expire when not set - i.e. breaking the OAuth flow when following the vanilla NodeJS docs. I would suggest using online auth in the NodeJS code as well.

Motivation
I spent too much time reverse engineering why the vanilla NodeJS code wasn't working. This small adjustment in your docs could save others the time to figure it out the hard way.
...
Area

[ ] Add any relevant Area: <area> labels to this issue

Checklist

[ ] I have described this enhancement in a way that is actionable (if possible)

That is a great suggestion @maxfrigge, thank you! We'll add that to the documentation to prevent others from running into the same issue.

Closing this issue as docs have since been updated.


Add support for secondary indexes

Define indexes on fields

There is per field annotation supported: https://github.com/tigrisdata/tigris-client-go/issues/230


Update libcaliptra fuse setup to use Runtime SVN Fuse Array

Originally posted by @mhatrevi in https://github.com/chipsalliance/caliptra-sw/pull/496#discussion_r1270831184
caliptra_fuse_array_write(GENERIC_AND_FUSE_REG_FUSE_FMC_KEY_MANIFEST_SVN, fuses->runtime_svn, sizeof(fuses->runtime_svn));

https://github.com/chipsalliance/caliptra-sw/pull/633


Add QVBR Portrait Support

Issue #, if available:
https://github.com/awslabs/video-on-demand-on-aws/issues/28
Description of changes:

Updated README
Added portrait templates for QVBR enabled workflow
Added new layer to use the latest version of the aws-sdk in the encode lambda function
Updated encode lambda function to use the Rotate parameter
Updated profiler lambda function to detect the presence of rotate metadata and swap dimensions for profile selection
Update profiler lambda function to pick the correct profile based on the appropriate dimension based on portrait vs. landscape

Testing

Test each orientation from iOS - PASS
Test each orientation from Android - IN PROGRESS

NOTE: this has not been fully tested yet. I have had successful tests using portrait videos that were actually landscape but had the rotation meta data. Looking for help to fully test.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks for the feedback and the detail. We will review the changes and get the update support for portrait videos on to our features road map.

Hi @arivera-skycred,
Thanks for your contribution, but for the new version of the solution we just released (v5.0.0 - https://aws.amazon.com/solutions/video-on-demand-on-aws/), we ended up using the approach described on https://github.com/awslabs/video-on-demand-on-aws/pull/27


Add ability to re-generate the entire changelog

Motivations
Release-plz only appends the new changes to the changelog.
It would be nice if it could generate the whole changelog from scratch. This can be useful because:

if you change the changelog configuration, you can apply the changes also to previous releases
if you haven't used release-plz before, you can generate the changelog for previous versions

Solution
This should be a new release-plz subcommand. release-plz update should only append the changes for the new version.
TODO
Additional context

Suggested here

You can also call git cliff directly. By default it will generate the whole changelog.

yes, we just need to make sure to use the same release-plz config:
https://github.com/MarcoIeni/release-plz/blob/c5eed2fb325420582b8ad7ede4ccbae74fa69fd9/crates/release_plz_core/src/changelog.rs#L225
I need to document this better


can't build

ionic2 use this add
imports: [
    BrowserModule,
    MarkdownModule.forRoot(),
]

Module build failed: Error: ENOENT: no such file or directory, open '/Users/zhengbin/Documents/Workspace/Ionic/cutePuppyPics/node_modules/angular2-markdown/index.js'
    at Error (native)

it should be index.ts not index.js.

Hope your issue is resolved. So I'm closing this issue.


(cloud-merge) init _index_offset in case undefined behaviour and fix index queue error

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run cloud_p1


An issues of the choice of tform and bias activation in the paper "Learning Neural Light Fields With Ray Space Embedding"

Hello, Neural Light Fields is a great job. But I have some questions that I am confused about.
I have seen you have been archived this repository. So I can only come here to ask you.
In your code, you choose row_l2_norm activation which actually used L2 norm to normalize each line of tform matrix, and tanh to normalize bias vector.
Why do you choose these two normalized methods? Is there any other good normalized methods to choose? especially for tform matrix?

Sorry for the (very) late response. The row_l2_norm activation is supposed to prevent the transform from shrinking/expanding ray space too much, potentially causing positional encoding on the embedded space to behave strangely. We use tanh in order to bound/reduce the affect of the bias -- the bias has more flexibility to map arbitrary rays to the same point in embedded space, whereas we mostly want to use a (locally constant) linear transform to put intersecting rays in correspondence with one another.


Modified logging to better leverage Structured Logging.

Nothing should change around Console logging.
This change allows for filtering/aggregation in consumers of structured logging.

All of these are great changes, thanks!


Load config from spicedb.env

closes https://github.com/authzed/spicedb/issues/1082
Depends on https://github.com/jzelinskie/cobrautil/pull/48
Doc: https://github.com/authzed/docs/pull/127

@suttod Can you please rebase?

@josephschorr rebased. Please note that it won't compile until https://github.com/jzelinskie/cobrautil/pull/48 is merged.

https://github.com/jzelinskie/cobrautil/pull/48 is merged.

@suttod please rebase

@jzelinskie added some error handling to cobrautil before merging the changes, so that existence of env file is required now. This breaks backward compatibility of spicedb cli (raises: Error: open spicedb.env: no such file or directory with default config). My expectation was to silently ignore loading env file, if it doesn't exist (or at most log an info-level message).
Now I'm somewhat confused, which would be the best from user/developer experience:

The cleanest option would be to add a command line flag / envvar option to load further variables from (eg. --spicedb-envfile=./spicedb.env). Though it would introduce the need of some preprocessing of env/flags, and might be more difficult to maintain.
Implement some fallback in pkg/cmd/server/default.go to pass error with loading envfile. Would require double execution of cobrautil.CobraRunFunc (when the first fails). Can introduce further regression as fs.PathError migh be raised from other source as well.
Instead of using SyncViperDotEnvPreRunE of cobrautil, load envfile in sipcedb (pkg/cmd/server/default.go:DefaultPreRunE), and handle error if file doesn't exist (log/pass)
Keep cobrautil siletnly pass if file doesn't exist.

Which do you prefer?

Hey there! Sorry for the delayed response.
I added the additional error handling with the intent of enabling a caller to choose the behavior they want in the case when the file is missing. Some observations looking back on it now:

It's awkward because you have to wrap the function to catch the error
I probably need to wrap the error and define yet another error type so that it can be more easily detected
1+2 is a bunch of boilerplate for what is ultimately the default behavior

I think ultimately most programs using dotenv expect the default to load or fallback. If you agree with 1-3, I'll change it back to your original behavior and add logging when it loads successfully.

Hi, I ultimately agree with your observations, especially with the "load-or-fallback" behavior.
So lets go with my 4th suggestion:

Keep cobrautil siletnly pass if file doesn't exist.

Will you change in cobrautil, or shall I raise a separate MR?

Hi, I ultimately agree with your observations, especially with the "load-or-fallback" behavior.
So lets go with my 4th suggestion:

Keep cobrautil siletnly pass if file doesn't exist.

Will you change in cobrautil, or shall I raise a separate MR?

Raised a new MR in cobrautil that only prints a notification when spicedb.env not found. Also rebased to main branch.

I added a commit so that the info line produced in cobrautil can use the zerolog logger in SpiceDB. Can we pull that in as well?

I added a commit so that the info line produced in cobrautil can use the zerolog logger in SpiceDB. Can we pull that in as well?

Seems reasonable, but please note that when parsing the dotenv file, we are still before processing any configuration. Zerolog as well.


emulator didn't find is_production_hardware script

Hi
when I try to emulator,can find is_production_hardware script
can you show this script file path?

bash emulate.sh
qemu-system-aarch64: -virtfs local,path=./disks/dish-cfg,mount_tag=dishcfg,security_model=mapped-xattr: cannot initialize fsdev 'dishcfg': failed to open './disks/dish-cfg': No such file or directory

Hello,
The error message you posted is not related to the is_production_hardware script.
The error is due to a missing virtual device that I was using to have a persistent partition in which the device was writing stuff.
To fix this you can either create the virtual device ./disks/dish-cfg or remove that option from the qemu command.


Check for version with standby in Invoke-DbaLogShipping

Before submitting a bug report:

[X] Ensure you are able to reproduce it on the latest released version (we release often)
[X] Verified this bug is not already reported in an issue
[X] Verified errors are not related to permissions
[X] Can reproduce in a clean PowerShell session (clean = powershell -NoProfile)

Expected Behavior
The expected behavior is to check if the destination server major version is greater than the current version. If the user wants a database in standby mode the major version has to be the same as the current version. A database cannot be log shipped in standby mode when the destination server major version is greater.

Actual Behavior
The command generates an error that the backup cannot be restored in standby mode due to an upgrade.

Environmental data

PowerShell:

SQL Server:

how's this looking @sanderstad ?


Moving to Service Fabric 10

Updating to Service Fabric 10.
See release notes here:
https://github.com/microsoft/service-fabric/blob/master/release_notes/Service_Fabric_ReleaseNotes_10.md

Error:
Could not load file or assembly 'C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\NS_10\Microsoft.ServiceFabric.Data.Impl.dll'


kv: minor refactor of conn_and_client

Signed-off-by: dongmen<EMAIL_ADDRESS>What problem does this PR solve?

Issue Number: ref #10879
What is changed and how it works?
Rename some function and adjust some code structure.
Check List
Tests

No code

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
None

/retest

/retest


Rename 'context' to 'loginfo' in the logger module

/cc @thaJeztah @justincormack
Signed-off-by: Yanqiang Miao<EMAIL_ADDRESS>

@miaoyq gofmt error 👼
05:30:17 Successfully built f049b54837ce
05:30:19 Congratulations!  All commits are properly signed with the DCO!
05:30:19 These files are not properly gofmt'd:
05:30:19  - daemon/logger/gelf/gelf.go
05:30:19
05:30:19 Please reformat the above files using "gofmt -s -w" and commit the result.

Thanks @vdemeester
Fixed

Another lint error
13:19:30 Errors from golint:
13:19:30 daemon/logger/loginfo.go:10:1: comment on exported type LogInfo should be of the form "LogInfo ..." (with optional leading article)
13:19:30
13:19:30 Please fix the above errors. You can test via "golint" and commit the result.
13:19:30

@vdemeester @justincormack  @AkihiroSuda Could this PR be merged?


Provide OAuth2 Login

Provide OAuth2 Login
Bearer Auth Access Token

OAuth 2.0
OAuth 2.0 is the industry-standard protocol for authorization. OAuth 2.0 focuses on client developer simplicity while providing specific authorization flows for web applications, desktop applications, mobile phones, and living room devices. This specification and its extensions are being developed within the IETF OAuth Working Group.


Fix contest live result

related to #556
Bug:

After fix:

Why would we be missing the ets table when a contest is actively running? 🤔

Why would we be missing the ets table when a contest is actively running? thinking

ets table wasn't an issue, the issue was with pagination. We are are updating live results after every second and when sending an update to the component , I didn't provide the page assigns, each time the contest was active hence it wasn't finding the page key. I have just made a fix by excepting pagination for live results.

That makes sense, thank you
There is also some changes involving the ets logic       <%= if :ets.whereis(String.to_atom(@contest.name)) == :undefined do %> that I am referring to

That makes sense, thank you
There is also some changes involving the ets logic  <%= if :ets.whereis(String.to_atom(@contest.name)) == :undefined do %> that I am referring to

I felt it's safe using the ets logic since the live result and final result are sharing the same page , what differentiates between the two is if the contest is active.
Do you feel like we can use another approach in this case?

Do we NOT need pagination during live results?
You can define a helper function called active_contest? which checks the ETS table

<%= if active_contest?(name_or_id) do %>
     <%= for i <- (@page - 5)..(@page + 5), i >0 do %>
     <%= live_patch i, class: "button button-outline", to:

1. Do we NOT need pagination during live results?

For now yes we don't  need the pagination for the live result
2. You can define a helper function called active_contest? which checks the ETS table
Sure, working on it
<%= if active_contest?(name_or_id) do %>
     <%= for i <- (@page - 5)..(@page + 5), i >0 do %>
     <%= live_patch i, class: "button button-outline", to:


remove gd files, simplify fakeiso

removes fake_iso.txt, now you just get all the files in out/iso available to OVERLORD
simplify game.gp so to have *all-cgos*, *all-vis* and *all-str* lists, to avoid writing out all the names 2x.
remove useless .gd files
remove weird old resources folder that had dummy versions of a few files
make things not blow up if files like SCREEN1.USA is missing

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

11 of 12 (91.67%)  changed or added relevant lines in 3 files are covered.
36 unchanged lines in 5 files lost coverage.
Overall coverage decreased (-0.05%) to 53.194%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

decompiler/Function/Function.cpp
1
2
50.0%

Files with Coverage Reduction
New Missed Lines
%

decompiler/Function/Function.cpp
1
40.1%

game/overlord/isocommon.cpp
3
32.53%

game/system/IOP_Kernel.cpp
4
90.91%

game/overlord/iso_api.cpp
13
45.45%

game/overlord/iso.cpp
15
77.14%

Totals

Change from base Build<PHONE_NUMBER>:
-0.05%

Covered Lines:
40806

Relevant Lines:
76711

💛  - Coveralls


Detection of ligatures - ﬁ problem

ﬁ problem
Bug occurs when strings such as: "fi", "ffi", "fl", "ff" are present in text:
e.g.: "efficient", "final", "stiff"
Example with word "find":
# Previous span
Some climate groups have employed disruptive but non-violent tactics to draw public attention to the slow progress in reducing

greenhouse gas emissions. In 2022, a new disruptive tactic emerged: vandalizing art and museums. In this Brief Communication, we

describe the key

# Current span
ﬁ

# Next span
ndings which are based on an exhaustive search of media articles and social media postings. We

This PDF file (downloaded pdf) was processed with extract_text_to_fp() function with default parameters.
I suggest detecting such symbols as in ligatures_list.txt and heuristically setting font style to their neighbours. Issue can be dealt with later in preprocessing with different libraries, but opens new set of problems later!

I can reproduce this with on
s44168-023-00054-5.pdf:
PYTHONPATH=. python tools/pdf2txt.py ~/Downloads/s44168-023-00054-5.pdf -p 1

...
describe the key ﬁndings which are based on an exhaustive search of media articles and social media postings. We ﬁnd that almost
...

I'm not sure if this is a bug/problem or not. The output of pdf2txt.py by default is a string of utf-8 characters. And "ﬁ" is a perfectly fine unicode characer. Although the output is the same with --codec ascii, so that might be considered a bug.
With Python it is easy to normalize these to normal characters.
Since for --codec utf-8 this is the expected output, and its easy to fix with Python, I'm unsure about whether this should be changed. Leaving the issue open to collect more opinions.


RecyclerView Views Blinking

I noticed that my RecyclerView views are blinking as items are added. Is there a way to remove this effect without removing the animation?

blink is animated when some item is added/removed usually, try to set fixed size and stable ids, that may help


Plaintiff/Defendant list collect

id: plaintiff

"If there are more than one plaintiffs, you may enter more than one name in the provided space."

id: defendant

"If there are defendants other than yourself, you may enter more than one name in the provided space."
If the user is the only defendant, how can we bypass this question? Ask if there are more defendants than the user (yesno) then give input options? Even if the user says yes, can we add their name "behind the scenes"?

Discussed in class on 10/20/2020 that list collect is not the best for this form.


added all the test for autodiff class

Codecov Report

Merging #27 into master will increase coverage by 27.9%.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           master    #27      +/-   ##
========================================
+ Coverage   72.09%   100%   +27.9%
========================================
  Files           2      2
  Lines          86     86
========================================
+ Hits           62     86      +24
+ Misses         24      0      -24

Impacted Files
Coverage Δ

adlib/autodiff.py
100% <0%> (+42.85%)
:arrow_up:

Continue to review full report at Codecov.

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


Moved global max and local max to LinearizerOptions for webgpu

Also added an assert in the call for max bufs so it doesnt go to rust and fail there

Changes made in tinygrad/:
------------------------------------------------------------
files                             insertions       deletions
------------------------------------------------------------
tinygrad/renderer/wgsl.py                  0               2
tinygrad/runtime/ops_webgpu.py             2               1
------------------------------------------------------------
total                                      2               3
------------------------------------------------------------
lines added in the tinygrad folder: -1

Looks like #1252 removed the WEBGPU tests in CI so this bug went unnoticed

Oh, can you reenable them? I should have been more strict with that PR.


Advertise FIRRTL grammar support in Atom

I have just published the adaptation of the sublime-text language support to Atom.
Let's advertise it in the README :)

@edwardcwang just wondering if you or I should have just added the Please Merge tag so mergify would take over


Move the sliding_button of the ui_horizontal_slider by a fixed value each time the left_button/right_button is pressed

Hello, I've been struggling with creating UI components using pygame, till I found pygame_gui. So thank for making is easier.
I've been trying pygame_gui for few days to discover its functionalities.
However, I've been stuck in trying to move the sliding_button of the ui_horizontal_slider by a fixed value each time the left_button/right_button is pressed.
Here is a brief description of what I want to do:
I created a horizontal slider. Let's say that the value_range is [5, 10] and the start_value is 5. I want that the slider value get's incremented by 1 every time the right_button of the slider is pressed (till it reaches 10) and the same when pressing the left_button of the slider, till it reaches 5.
I looked in to the code, and I couldn't find the option of moving the sliding_button by a fixed value. So I tried to create one, but it didn't work: when I click on the left/right button just for once, the sliding_button reaches the limit directly.
Here is the code I am using:
import pygame
from pygame_gui import UIManager, PackageResource

from pygame_gui.elements import UIHorizontalSlider

class SlideBar():
    def __init__(self, ui_manager, screen, screen_width, screen_height):
        self.ui_manager = ui_manager
        self.screen = screen
        self.screen_width = screen_width
        self.screen_height = screen_height

    def recreate_ui(self):
        self.ui_manager.set_window_resolution(
            (self.screen_width, self.screen_height))
        self.ui_manager.clear_and_reset()

    def create_slide_bar(self, pos_x, pos_y, init_value, min_v, max_v):
        self.test_slider = UIHorizontalSlider(
            pygame.Rect((int(pos_x),
                         int(pos_y)),
                        (240, 25)), init_value, (min_v, max_v),
            self.ui_manager, object_id='#cool_slider')
        return self.test_slider

    def update_slider(self, slide_bar):
        value_range = slide_bar.value_range[1] -\
            slide_bar.value_range[0]
        scroll_range = slide_bar.right_limit_position -\
            slide_bar.left_limit_position
        if slide_bar.left_button is not None and (
                slide_bar.left_button.held and
                slide_bar.scroll_position >
                slide_bar.left_limit_position):
            slide_bar.scroll_position -= scroll_range / value_range
            slide_bar.current_value -= 1
        elif slide_bar.right_button is not None and (
                slide_bar.right_button.held and
                slide_bar.scroll_position <
                slide_bar.right_limit_position):
            slide_bar.scroll_position += scroll_range / value_range
            slide_bar.current_value += 1

if __name__ == '__main__':
    pygame.init()
    screen_width = 800
    screen_height = 600
    screen = pygame.display.set_mode((screen_width, screen_height))
    ui_manager = UIManager((screen_width, screen_height),
                           PackageResource(package='data.themes',
                                           resource='theme_2.json'))
    background_surface = pygame.Surface((screen_width, screen_height))
    background_surface.fill(
        ui_manager.get_theme().get_colour('dark_bg'))
    app = SlideBar(ui_manager, screen, screen_width, screen_height)
    app.recreate_ui()
    slide_bar1 = app.create_slide_bar(100, 120, 5, 5, 10)
    running = True
    while running:

        # check for events
        for event in pygame.event.get():
            if event.type == pygame.QUIT:
                running = False
            ui_manager.process_events(event)
        # respond to input
        ui_manager.update(0.001)
        app.update_slider(slide_bar1)
        print(slide_bar1.scroll_position, slide_bar1.current_value)

        # draw graphics
        screen.blit(background_surface, (0, 0))
        ui_manager.draw_ui(screen)

        pygame.display.update()

Is it possible to move the sliding_button by a fixed value?

Is it possible to move the sliding_button by a fixed value?

Not easily right now, it is one of the niggly things on my mental todo list to fix up. I think I'd like it to work with a little 'grace period' so if you just push down and release the mouse button quickly it moves up by a fixed (definable - with a default) increment but if you hold the mouse button longer than 0.5 seconds it starts increasing at a fairly fast clip like now.
Thanks for the issue though, it will likely remind me when I go round doing a polishing pass on some of the older UI elements.
If you want to implement it yourself for your application you could likely subclass the element as MakyUISlider and override just the process_events() and update() methods to make these changes (That's just from memory I haven't looked at this yet).


Feature/propagate settings

Motivation
The repo_owner setting is required to properly work load_module in a branch in a fork of optunahub-registry.
This PR fixes the load_module to propagate the repo_owner setting.
Example
Code to load the "samplers/nelder_mead" package from y0z:feature/debug would be as follows.
load_module("samplers/nelder_mead", repo_owner="y0z", ref="feature/debug")

In nelder_mead.py, it loads "samplers/simple". At the moment, the optunahub library only propagates ref and force_reload settings to inner calls of load_module. Then, https://github.com/y0z/optunahub-registry/blob/feature/debug/package/samplers/nelder_mead/nelder_mead.py#L13
SimpleBaseSampler = optunahub.load_module("samplers/simple").SimpleBaseSampler

will be equal to the following code
SimpleBaseSampler = optunahub.load_module("samplers/simple", repo_owner="optuna", ref="feature/debug").SimpleBaseSampler

(note: the default value for repo_owner is "optuna") and it will cause an error like
github.GithubException.GithubException: 404 {"message": "No commit found for the ref feature/debug", "documentation_url": "https://docs.github.com/v3/repos/contents/", "status": "404"}

because the repository optuna/optunahub-registry does not have a branch named "feature/debug".
This PR changes the behavior of #L13 to
SimpleBaseSampler = optunahub.load_module("samplers/simple", repo_owner="y0z", ref="feature/debug").SimpleBaseSampler

by propagating the repo_owner setting.
Description of the changes

Add repo_owner setting propagation
Add corresponding tests

@toshihikoyanase
Could you review this PR?


How Can I set the node Level ?

When X and Y are both in the same place of two node, how can I put the first node on top ?
var v1 = graph.insertVertex(parent, null, 'Click,', 20, 20, 60, 40);
var v2 = graph.insertVertex(parent, null, 'Doubleclick', 20, 20, 60, 60);

graph.orderCells(false, v1);


Instance: USP Course; Fernanda Silva

Cloud Computing Instance Flavor
g3.xl - GPU instance (32 CPUs, 125 GB RAM and A100 GPU)
Description
I am a postdoc at the Museu Paraense Emílio Goeldi (MPEG) in Brazil, studying morphological variation and evolution in reptiles and amphibians. Our museum acquired a microCT scanner, and I have been generating microCT scans datasets, including diceCT scans. I intend to use SlicerMorph to process, segment, and analyze these 3D datasets.
ORCID
0000-0001-7741-7232
Email
U2FsdGVkX18vTtLhBZVrLGVSudb3NXkZhUiSde7/HIbUVBXy9f8swmkc49wNU44e
Confirm Email
U2FsdGVkX18vTtLhBZVrLGVSudb3NXkZhUiSde7/HIbUVBXy9f8swmkc49wNU44e
Instance Name
instance-126
The instance name is derived from the GitHub issue number using the template instance-NNN. The instance may also be located in the exosphere interface using this name.
Volume Name
My-Data-126
The volume name is derived from the GitHub issue number using the template My-Data-NNN. The volume may also be located in the exosphere interface using this name.

/create

/delete_all

/unshelve


dnsdist as a plugin

dnsdist is a fantastic dns loadbalancing tool, capable of serving requests as DNScrypt or dns-tls, or dns over https.
It's got some significant anti-abuse configuration, as well as the ability to healthcheck and verify upstream dns.
Configuration is kinda advanced tho, so it might just be exposed as a simple text editor for the LUA configuration. Not sure if it's best to just opt for a package by itself, instead of integrated with the UI.
Alternatives
dnscrypt-proxy, ha-proxy for balancing DNS servers, but neither alone, nor combined, offer the same functionality that dnsdist does, as they're more general.
Thanks!

I added my vote for this, and would encourage considering it in place of the listed alternatives - dnsdist is fairly unique and powerful compared to dnscrypt-proxy and haproxy.

+1 for dnsdist

This issue has been automatically timed-out (after 180 days of inactivity).
For more information about the policies for this repository,
please read https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md for further details.
If someone wants to step up and work on this issue,
just let us know, so we can reopen the issue and assign an owner to it.

What does one need to do to make this a plugin?
There's a BSD package already: https://dnsdist.org/install.html
The Contributing document doesn't tell me much about making the plugin. Is there something I could look at?

First you need to build a pkg for it:
opnsense-code ports
cd /usr/ports/dns/dnsdist/ && make install clean
When you successfully build and installed it you can follow the public guides here:
https://docs.opnsense.org/develop.html
Easiest would be to clone an existing plugin and do search+replace:
https://www.routerperformance.net/opnsense/plugin-development/

Man, one day I'll have time for this, because I still wants it.

The next version of AdGuardHome plugin will also offer all option you need :)


Output CSV Columns in IATI Standard Order

Describe the bug
The order of columns when using the CSV download seems to be random and illogical.
To Reproduce
Steps to reproduce the behavior:
Choose some filters and download as CSV
Expected behavior
I would expect the fields to be listed in order as they appear in the Schema. This would make data use easier as the order will more akin to other IATI data sources and will group elements together that logically should be next to each other (e.g. all fields relating to transactions would be next to each other).

I am afraid we cannot control the order of columns in csv output in Solr unless you use fl parameters.

@luminhan As discussed, please look into the possibility of customising the order of Solr generated csv fields.

Will be fixed by a front-end solution.

https://app.zenhub.com/workspaces/iaticloud-5b8e865bb2cc7b6c78ece322/issues/zimmerman-zimmerman/iati.cloud/2065


Fix for switching active queries using file explorer

See associated issue for details:
When clicking the file entry in file explorer, it causes the connection to reconnect with the file input and open in the same editor window as the previous connection to the file. During this phase, the current database name will be in the process of updating itself, and what happens is that the query editor upon having the input state being connected, will immediately try to grab the current database when it isn't reassigned fully yet and thus the resulting database is undefined.
To fix this issue, we need to have a delay to wait for the database name to fully update itself before we can continue, giving at least 200 MS before retrieving it.
It may be possible to switch to the existing input and/or connectionProfile when clicking file explorer, but this may result in complications with connection callbacks not working properly and the input may not be up to date with the current file, so this is a complicated and not practical solution.
this PR fixes: https://github.com/microsoft/azuredatastudio/issues/16992

Will need to fix the tests before this PR is good to go.

Apparently checking for an existing connection profile and not creating a new one works fine, the input is updated appropriately and it does not affect the status of the connection profile.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.0009%) to 41.635%

Files with Coverage Reduction
New Missed Lines
%

src/sql/workbench/contrib/query/browser/queryInputFactory.ts
1
49.44%

Totals

Change from base Build<PHONE_NUMBER>:
0.0009%

Covered Lines:
26396

Relevant Lines:
57410

💛  - Coveralls

Will need to fix the tests as the global connection not being created if an existing connection profile is found.

I've moved the tests around so that they follow in a more logical order, they simulate running under object explorer and editor respectively with the main difference being the MockEditorService being able to assign an active editor with untitledInput.


QGIS crashes when adding/selecting raster layers and base maps

I recently installed the Openlayer plugging and suddenly QGIS started crashing when clicking on the Google hybrid basemap layer. I deleted and re-installed the plug and QGIS but the issue persisted. I thought he issue was the Open Layer plug in but it also  crashes with Quick map satellite base map but not with the street map. I also noticed that QGIS is crashing when adding any other type of raster layer/aerial photographs. Below is the error message:
Process:               QGIS [9322]
Path:                  /Applications/QGIS.app/Contents/MacOS/QGIS
Identifier:            org.qgis.qgis2
Version:               2.18.9 (2.18.9 [exported])
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           QGIS [9322]
User ID:               501
Date/Time:             2017-09-19 20:47:16.892 -0700
OS Version:            Mac OS X 10.12.6 (16G29)
Report Version:        12
Anonymous UUID:        CC3B8B75-E1B7-3E88-12E3-99F67D310FD9
Sleep/Wake UUID:       85BEE627-C150-40E9-A6D0-6E080E79F83C
Time Awake Since Boot: 230000 seconds
Time Since Wake:       1200 seconds
System Integrity Protection: enabled
Crashed Thread:        0  Dispatch queue: com.apple.main-thread
Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000190
Exception Note:        EXC_CORPSE_NOTIFY
Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [0]
VM Regions Near 0x190:
-->
__TEXT                 000000010e50e000-000000010e9ec000 [ 4984K] r-x/rwx SM=COW  /Applications/QGIS.app/Contents/MacOS/QGIS

This issues forms is for QGIS WebSite. Please report to the QGIS application bug report: http://hub.qgis.org/


RangeError: Index out of range on Rasbpi

I'm getting this error every few seconds when running exactly the simple quick-start code from the readme.
`buffer.js:977
throw new RangeError('Index out of range');
^
RangeError: Index out of range
at checkOffset (buffer.js:977:11)
at Buffer.readUInt16LE (buffer.js:1023:5)
at BeaconParser._detectBeaconType (/home/pi/GitHub/transition/bt-node/node_modules/node-beacon-scanner/lib/parser.js:102:18)
at BeaconParser.parse (/home/pi/GitHub/transition/bt-node/node_modules/node-beacon-scanner/lib/parser.js:39:25)
at BeaconScanner.parse (/home/pi/GitHub/transition/bt-node/node_modules/node-beacon-scanner/lib/scanner.js:112:23)
at Noble.noble.on (/home/pi/GitHub/transition/bt-node/node_modules/node-beacon-scanner/lib/scanner.js:72:25)
at emitOne (events.js:116:13)
at Noble.emit (events.js:211:7)
at Noble.onDiscover (/home/pi/GitHub/transition/bt-node/node_modules/noble/lib/noble.js:178:10)
at emitMany (events.js:147:13)`
This does not happen with the same code on my OS X machine, but does happen on my Raspberry Pi 3 B.
I believe this is an issue with one of the devices in my vincinity broadcasting a wrongly formatted BT advertisement. Unfortunately, it's none of my devices so I can't check which one it is. What can I do? Also, shouldn't this error be caught by the catch in the start scanning function?

Thank you for your feedback.
Your feedback is really helpful because I don't have any beacon which broadcasts unexpected packets.
This issue is a bug. This module checked packet size loosely.
I updated this module. Try the latest version.

I tried running without root but got the following error :
noble warning: adapter state unauthorized, please run as root or with sudo
or see README for information on running without root/sudo:
https://github.com/sandeepmistry/noble#running-on-linux

Hello,
just to let you know, i have the same problem.
Thank you for your support ;)
Y.

@YoussF, do you have the problem with your beacon even now?

hello sir,
Can you or anyone help me with same results of ibeacon packets in python3, i am new to raspberry pi 3b+ and i am not able to do that from past 2 weeks?
#urgent #ibeaconscannerinpython3


Update anka-run to 1.0_34

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Additionally, if updating a cask:

[ ] If the sha256 changed but the version didn’t,
provide public confirmation by the developer: {{link}}

Thank you for the contribution. It was merged directly as ab416ffc0922f64c75b5dbd2431b7d5e93ce2025. Your contribution is still credited to you.


Implement automatic upload of new content file on Master to Crowdin

When new/updated content markdown files are merged onto master, these need to be uploaded to Crowdin.
While Crowdin ships with GitHub integration, this is not suitable for this use case (see #619). Instead, this will probably need to be implemented as a Travis job that runs for new commits to master. Upload can be achieved through the Crowdin CLI (https://support.crowdin.com/cli-tool/).

After much discussion, it has been decided to upload new content from develop rather than master. This is because develop is essentially treated as a pre-release staging branch, and we will be merging new translations into develop so keeping it in one branch is cleaner.


Tracking issue for merging dm and ticdc repos

[x] How to cherry-pick the specific commit<COMMIT_SHA> to DM repo See: https://github.com/pingcap/ticdc/issues/3194#issuecomment-954837205
[ ] Github Actions:  https://github.com/pingcap/ticdc/issues/3173
[ ] Merge the dm and cdc code into the root directory to make it conform to the go project standard structure ref: https://github.com/pingcap/ticdc/issues/2199
[x] https://github.com/pingcap/ticdc/issues/3175
[x] #3195
[x] Refine required field in CI test. ref: https://github.com/ti-community-infra/configs/pull/453
[x] Refine CI trigger command, @hi-rustin  will adjust it.

[x] #3196

[ ] Reuse codes

[ ] https://github.com/pingcap/ticdc/issues/3242

We also need to integrate the DM code structure into the root project structure, rather than always as a sub directory.

We also need to integrate the DM code structure into the root project structure, rather than always as a sub directory.

Having adjusted the third TODO item description, we do need to work towards a standard structure!

how about merge dm/pkg/xx to pkg/xx ?

how about merge dm/pkg/xx to pkg/xx ?

Make sense


redflare link

in REDME.md, you link to redflare as https://redflare.ofthings.net/
which should be either http://redflare.ofthings.net/
or better https://github.com/stainsby/redflare
Btw., "a more modern competitor" sounds a bit harsh...
What about "a modern, alternative implementation" or something along these lines?

Since it is not just an alternative implementation (different features and look) I will probably just remove the word "more".


Add support for Node v8 in aws lambda

Changing the environment to node v8 and deploying doesn't work.

I recommend that the Docs are changed to state that this package only currently works for Node 6.10

as mentioned on #25  to run on 8.10 we just have to update the nodejs on .babelrc("8.10") and on serverless.yml (nodejs8.10) and change the handler to:
exports.handler = async (event) => {
  let result;
  let browser;
  try {
    browser = await setup.getBrowser();
    result = await exports.run(browser);
  } catch (err) {
        console.log(err);
        return err;
  }
  return result;
};

Thanks to all for your great works :)
I finally managed to deploy the sambaiz package. It use the lasted stable version of chronium( HeadlessChrome/68.0.3440.106 ) and last version of puppeteer ( 1.7.0 ).
https://www.dropbox.com/s/p4t7zod2nf97cwn/sambaiz-puppeteer.zip?dl=0
If you want to build your own package and you are on windows you can:

Download: https://github.com/sambaiz/puppeteer-lambda-starter-kit
Change package.json by mine:

{
  "name": "puppeteer-lambda-starter-kit",
  "version": "1.1.2",
  "description": "Starter Kit for running Headless-Chrome by Puppeteer on AWS Lambda",
  "scripts": {
    "package": "npm run package-prepare",
    "package-prepare": "npm run babel && copy package.json dist && cd dist && npm config set puppeteer_skip_chromium_download true -g && npm install --production",
    "babel": "mkdir dist && \"./node_modules/.bin/babel\" src --out-dir dist",
    "local": "npm run babel && copy node_modules dist && node dist/starter-kit/local.js",
    "package-nochrome": "npm run package-prepare && cd dist && zip -rq ../package.zip ."
  },
  "dependencies": {
    "babel": "^6.23.0",
    "puppeteer": "^1.1.1",
    "tar": "^4.0.1"
  },
  "devDependencies": {
    "aws-sdk": "^2.111.0",
    "babel-cli": "^6.26.0",
    "babel-preset-env": "^1.6.0"
  }
}

Change the version of node in .babelrc to 8.10
npm install babel ( if it's not already install )
npm run package
Copy chrome/headless_shell-67.0.3361.0.tar.gz to dist
Rename dist/headless_shell-67.0.3361.0.tar.gz to headless_shell.tar.gz

Done !


Bootstrap 4 Sorting Arrows not showing up

With bootstrap V4 Sorting arrows are missing, its mainly due to "caret" class has been removed from Bootstrap V4. Any plans to Upgrade this to Bootstrap V4.

currently I have no any plan to got for v4, but I will spend some time to handle this issue by some specified way.

This is because Glyphicons is being removed in v4 in exchange for Font Awesome.

Upgrade to v4.0.0 and add version='4' on BootstrapTable

I have upgraded to version 4.1.1 and added version='4' on BootstrapTable. But it is not working. It doesn't show any dropdown arrow.
....

umm..  it's wired,  what's version for bootrstrap and what browseer you used? thanks

react-bootstrap-table": "^4.1.1"
"reactstrap": "^4.8.0"
and i am using chrome Version 61.0.3163.100 (Official Build) (64-bit)

I think it's irrelevant about broweser, could you please try to remove reactstrap  from your dependency and try it again? thanks

Same problem here... removing reactstrap didn't help for me.
"bootstrap": "^4.0.0-beta.2",
"react-bootstrap-table": "^4.1.5",
"reactstrap": "^4.8.0",

"react": "^16.1.1",
"react-dom": "^16.1.1",
"react-quill": "^1.2.0",
"react-redux": "^5.0.6",
"react-router": "^4.2.0",
"react-router-dom": "^4.2.2",
"react-spinkit": "^3.0.0",
"react-transition-group": "^2.2.1",
"react-widgets": "^4.1.1",
"react-widgets-moment": "^4.0.4",
"redux": "^3.7.2",
"redux-form": "^7.1.2",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.2.0"

import { BootstrapTable, TableHeaderColumn } from 'react-bootstrap-table';

<BootstrapTable data={events} selectRow={ selectRow } striped hover pagination version='4'>
.....
</BootstrapTable>

@chucktesejme do you add bootstrap css to your HTML? and what's the version of bootstrap?

bootstrap: ^4.0.0-beta.2
Yes, bootsrap css is present in HTML... other bootstrap stuff works fine ( grid, buttons etc.)

@chucktesejme it's a bug again, seems like something change when going to beta, because previous implement is base on alpha, I'll fix it ASAP.  Thank you very much

that's forward to https://github.com/AllenFang/react-bootstrap-table/issues/1783

@chucktesejme please check v4.3.1, thanks

If You use boostrap 4 add below CSS. Its working for me
.caret {
display: inline-block;
width: 0;
height: 0;
margin-left: 2px;
vertical-align: middle;
border-top: 4px dashed;
border-top: 4px solid \9;
border-right: 4px solid transparent;
border-left: 4px solid transparent;
}
.dropup, .dropdown {
position: relative;
}
.dropup .caret, .navbar-fixed-bottom .dropdown .caret {
border-top: 0;
border-bottom: 4px dashed;
border-bottom: 4px solid \9;
content: "";
}

@chamath95 if i add this css, then there is a second arrow added to the pagination icon at the bottom

You can avoid this by prefixing that CSS styling with any parent element in the table, for example the "th"

@chamath95 if i add this css, then there is a second arrow added to the pagination icon at the bottom

You can avoid this by prefixing that CSS styling with any parent element in the table, for example the "th"

You use this to hide dropdown
.dropdown-toggle::after{
border:none;
}


QA & Cert: RATA Run DTO Checks

The scope of this ticket is to address the following RATA Run DTO validations
QA and Certification Data Checks

[x] RATA-67 - Percent Moisture Valid
[x] RATA-69 - Wet Molecular Weight Valid (Results A, B)
[x] RATA-94 - Average Wet Stack Flow Rate Valid
[x] RATA-115 - Reported Average Velocity Without Wall Effects Valid

Test Case: TC1057
Test Passed


[lab] Build and export fixes

Export Slider and ToggleButton from entry points.
So you can do
import { Slider } from '@material-ui/lab'

Build @material-ui/lab/es/ files.

I stuck them both in a single PR because they're so tiny. Happy to break it up if that has your
preference.

@goto-bus-stop Thank you


@folder always uses the same context as @codebase, does not restrict to only the chosen folder.

Before submitting your bug report

[X] I believe this is a bug. I'll try to join the Continue Discord for questions
[X] I'm not able to find an open issue that reports the same bug
[X] I've seen the troubleshooting guide on the Continue Docs

Relevant environment info
- OS: macos 14.6.1
- Continue: v0.9.202, but I've never seen it work correctly on any prerelease or release version I've tried. I've been using continue for 4-6 weeks.
- IDE: VSCode
- Model: Sonnet 3.5, Voyage for embeddings & reranking
- config.json:

{
  "models": [
    {
      "title": "Anthropic",
      "provider": "anthropic",
      "model": "claude-3-5-sonnet-20240620",
      "apiKey": "..."
    }
  ],
  "embeddingsProvider": {
    "model": "voyage-code-2",
    "apiBase": "https://api.voyageai.com/v1",
    "apiKey": "..."
  },
  "reranker": {
    "name": "voyage",
    "params": {
      "apiKey": "..."
    }
  },
  "contextProviders": [
    {
      "name": "folder",
      "params": {
        "useReranking": false,
        "nFinal": 25,
        "nRetrieve": 100
      }
    },
    {
      "name": "codebase",
      "params": {
        "useReranking": true,
        "nFinal": 25,
        "nRetrieve": 100
      }
    }
  ],

Description
Regardless of what folder I choose with @folder, the same snippets are always included in context, and they are the same snippets I get with @codebase. They are not restricted to files in the folder I choose. If I change the message, I get different snippets, so RAG seems to be working, but they are not restricted to
The relevant parts of my config are above. At various times I've also tried with default configs, without reranking, and with other embedding providers.
To reproduce

Use @codebase or @folder with any folder and any message
Look at the 'Context items' dropdown under the message input box, they're always the same for the same message at least.

Log output
No response

Thanks for sharing this! I've just made the needed fix here: https://github.com/continuedev/continue/commit/eb0fb82dc2fdf1b4784c8e3de5e66da9febc9398
This will be in a new release very soon

New release is now available, please don't hesitate to re-open if you encounter anything similar


”Vătava”, ”Dumbrava”, ”Râpa de Jos” are listed in the drop-down menu

Description:
When user writes ”Vătava”, ”Dumbrava”, ”Râpa de Jos” the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Vătava"

Expected results
The location appears in the drop-down menu as "Sat Vătava, MUREȘ (Vătava)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Dumbrava"

Expected results
The location appears in the drop-down menu as "Sat Dumbrava, MUREȘ (Vătava)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Râpa de Jos"

Expected results
The location appears in the drop-down menu as "Sat Râpa de Jos, MUREȘ (Vătava)".


pull request for e2e test at 01/25/2017 11:56:07

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


how to import a chakra-ui component in mdx?

hi, I modify the Demo component by just import a Chakra-ui Button , and it didn't work any more ,  anyone know what should I do to import a  component?

Server Error
TypeError: F.__spreadArray is not a function

Demo.tsx
import { Button } from '@chakra-ui/react';
import * as React from 'react';

function Demo() {
  return (
    <div>
      Neat demo!{' '}
      <Button
        onClick={() => {
          console.log(111);
        }}
      >
        sdfsdf
      </Button>
    </div>
  );
}

export default Demo;

I would suggest for UI components etc... that they should be provided as a global so that any styles are in your app and no the bundle.

I would suggest for UI components etc... that they should be provided as a global so that any styles are in your app and no the bundle.

Can i make the whole chakra framework as a global ?  i tried but didn't work?


Split company models

Codecov Report

Merging #289 into develop will increase coverage by 0.02%.
The diff coverage is 93.15%.

@@             Coverage Diff             @@
##           develop     #289      +/-   ##
===========================================
+ Coverage     92.9%   92.92%   +0.02%
===========================================
  Files           60       63       +3
  Lines         2198     2417     +219
  Branches       193      212      +19
===========================================
+ Hits          2042     2246     +204
- Misses         133      145      +12
- Partials        23       26       +3

Impacted Files
Coverage Δ

datahub/company/models/adviser.py
84.21% <84.21%> (ø)

datahub/company/models/contact.py
95.38% <95.38%> (ø)

datahub/company/models/company.py
96.9% <96.9%> (ø)

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 764c4e8...91829b0. Read the comment docs.


Erroneous Space in example, not accounted for with Quotes

The first example for "every  hours" is as follows:
schtasks /create /sc hourly /mo 5 /sd 03/01/2002 /tn My App /tr c:\apps\myapp.exe
Note that the argument after "/tn" is not enclosed with quotes. According to the documentation for the flag above, this is invalid as it contains a space. I believe the correct text would be:
schtasks /create /sc hourly /mo 5 /sd 03/01/2002 /tn "My App" /tr c:\apps\myapp.exe
All other examples on the page use the example MyApp (without a space) instead, so it's possible the intended example text would be as follows:
schtasks /create /sc hourly /mo 5 /sd 03/01/2002 /tn MyApp /tr c:\apps\myapp.exe

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

ID: 0feda591-bda7-75e4-3eee-f38ec06f6f17
Version Independent ID: f9f5b2ca-d26f-dd8a-70d1-0c07b94a4dd6
Content: schtasks create
Content Source: WindowsServerDocs/administration/windows-commands/schtasks-create.md
Product: windows-server
Technology: windows-commands
GitHub Login: @JasonGerend
Microsoft Alias: alalve

Hey PMaackFT,
Thanks again for contacting Microsoft, we value your feedback.
A documentation change has been made addressing this throughout the examples used and will be live after the next business day. We will now be closing this thread.
Thank you and have a most pleasant day.
#please-close


Entity picture element of chip not in div.content

Current Behavior
Noticed that entity-picture element of chip-cards not included in div.content and placed outside from div.content.
But div.content has padding.
That means that if we use 2 chips (1 with icon and 1 with entity picture)  we have some asymmetry.
I can fix this with card-mod (style: ha-card div.content {padding-left: 0}  ), but maybe we can hardcode that fix?

Expected Behavior
No response
Steps To Reproduce
No response
Environment
- OS:
- Node:
- Version:
- Hassio:

Anything else?
No response

Ah it looks like that because of entity-picture is bigger than mdi icons.
Forgot that my png icons have borders and looks smaller.
Closed. Sorry.


ggl giving error, temporarily fixed by commenting the lines

/Users/my_username/.oh-my-zsh/plugins/git/git.plugin.zsh:120: defining function based on alias ggl' /Users/my_username/.oh-my-zsh/plugins/git/git.plugin.zsh:120: parse error near ()'
Error given on: macOS Mojave 10.14.2

Closing since this is not a proper solution. Let's continue the conversation on #7572


Support both example and examples directories

Allow different example directories to be supported. This change allows the dev server v1 example to be supported, and should finally have a passing green build of the squawk run on Travis.


python2Packages: default to dontUsePythonRecompileBytecode = true;

Motivation for this change
Help alleviate some of the pain around python, just disable recompiling the bytecode, as many packages either contain python3 only test or sample code.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

also using this for some branch stabilization, as there's less noise from non-python packages

that's all the fixing I care to do right now

Thanks!