1.9.8 composite layer bug

An error occurred while I was exporting the laye
layer.composite().save('./preview.png')
[psd_8.psd.zip](https://github.com/psd-tools/psd-tools/files/4400656/psd_8.psd.zip)

Artboard('宝贝' size=288x477)
Traceback (most recent call last):
  File "index.py", line 62, in <module>
    opj = output2json('./psd_8.psd')
  File "index.py", line 43, in output2json
    dsl = Parse.export(trees[0])
  File "/Users/david.wsw/Documents/gitlab/mui/psd-parse-service/mods/parse.py", line 130, in export
    result.append(_export_mods(tree))
  File "/Users/david.wsw/Documents/gitlab/mui/psd-parse-service/mods/parse.py", line 34, in _export_mods
    layer.composite().save('./preview.png')
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/psd_tools/api/layers.py", line 677, in composite
    self, color, alpha, viewport, layer_filter, force, as_layer=True
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/psd_tools/composite/__init__.py", line 39, in composite_pil
    as_layer=as_layer
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/psd_tools/composite/__init__.py", line 108, in composite
    compositor.apply(layer)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/psd_tools/composite/__init__.py", line 190, in apply
    color, shape, alpha = self._get_group(layer, knockout)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/psd_tools/composite/__init__.py", line 287, in _get_group
    force=self._force
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/psd_tools/composite/__init__.py", line 108, in composite
    compositor.apply(layer)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/psd_tools/composite/__init__.py", line 190, in apply
    color, shape, alpha = self._get_group(layer, knockout)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/psd_tools/composite/__init__.py", line 287, in _get_group
    force=self._force
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/psd_tools/composite/__init__.py", line 108, in composite
    compositor.apply(layer)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/psd_tools/composite/__init__.py", line 190, in apply
    color, shape, alpha = self._get_group(layer, knockout)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/psd_tools/composite/__init__.py", line 287, in _get_group
    force=self._force
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/psd_tools/composite/__init__.py", line 108, in composite
    compositor.apply(layer)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/psd_tools/composite/__init__.py", line 212, in apply
    self._apply_stroke_effect(layer, color, shape_mask, alpha)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/psd_tools/composite/__init__.py", line 463, in _apply_stroke_effect
    self._viewport, shape, effect.value, layer._psd
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/psd_tools/composite/effects.py", line 38, in draw_stroke_effect
    edges = filters.scharr(shape[:, :, 0])
TypeError: 'float' object is not subscriptable

please help me

psd_8.psd.zip


ExtendableEvent page: install and activate event links point to wrong places

Request type

[ ] Please close this issue, I accidentally submitted it without adding any details
[ ] New documentation
[x] Correction or update

Details
The ExtendableEvent page refers to two events, namely the install and activate events used in Service Workers.

The page links to this install event URL:
https://developer.mozilla.org/en-US/docs/Web/Events/install
Which, I believe incorrectly, redirects to:
https://developer.mozilla.org/en-US/docs/Web/API/Window/appinstalled_event
The page should probably link to the existing Service Worker install page:
https://developer.mozilla.org/en-US/docs/Web/API/InstallEvent

The document also links to the following activate event:
https://developer.mozilla.org/en-US/docs/Web/Events/activate
However, that page redirects to a different page, which contains unrelated information about the DOM:
https://developer.mozilla.org/en-US/docs/Web/API/Element/Activate_event
I believe that a new page about the activate event should be created. Such a page should probably live at this URL for consistency:
https://developer.mozilla.org/en-US/docs/Web/API/ActivateEvent

Thanks for reporting this @tlhunter ! I ended up fixing this by creating new pages for the activate and install events:
https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/activate
https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/install
I also filed a PR to add compat data for both of them:
https://github.com/mdn/browser-compat-data/pull/3907


Localize some variables that where accidentally global.  #1806

Localize some variables that where accidentally global in CommonHTML.
Resolves issue #1806.

Unbelievable coincidence ... I wanted to see whether the scale variable did indeed leak into the global object and I found a bug in my own website that also leaked a variable of the same name.
An idea for automated testing of such things: Make a snapshot of all global variables, then load MathJax, display a bunch of different math content, then make a snapshot again and check that there are no new unexpected global variables.

Yes, that is how I found these two (after one was reported in #1806).  The compressor we use reports these variables in some cases (and I thought all cases), but apparently not.  So something like what you suggest would help.  But MathJax consists of 10's of thousands of line of code, and unless you run all of it, you aren't guaranteed to find all global variables.  But it would at least be a step in the right direction.

Assuming that the regular tests cover most of MathJax, would it be an option to do the check before/after running all tests in a row, or before/after each individual test?

That is a nice idea, but many of the tests create globals as part of the test, so they would cause problems for this approach.  It would require modifying many of the test files to make that work.
The test framework for version 3 will be entirely rewritten, so we don't expect to put a lot of effort into the current test suite at this point.  Also, version 3 is using Typescript, which will catch these sorts of errors in the development phase.


suppaftp enforce to use native-tls

We should make it work with rustls by default.

I tried to finish the work, but failed.
I hope there is still something useful in my failed attempt, which can help other contributors.
bad pr : https://github.com/sd44/incubator-opendal/commit/3fc1673434c07036d7e68ffd6b21363c3162eb4c
error log:
error[E0277]: the trait bound `AsyncRustlsConnector: From<TlsConnector>` is not satisfied
   --> core/src/services/ftp/backend.rs:244:21
    |
244 |                     AsyncRustlsConnector::from(TlsConnector::from(confi...
    |                     ^^^^^^^^^^^^^^^^^^^^ the trait `From<TlsConnector>` is not implemented for `AsyncRustlsConnector`
    |
    = help: the trait `From<async_tls::connector::TlsConnector>` is implemented for `AsyncRustlsConnector`

For more information about this error, try `rustc --explain E0277`.
error: could not compile `opendal` (lib) due to previous error

I will take over it!


Generate matching strings from rules.

I added the method generate() to Rule and Expansion. This method generates a string which matches the rule or expansion.
For AlternativeSets the child is choosen randomly with evenly distributed probabilities. Any idea on how to implement this using weights?
For KleeneStar and Repeat the probability to add the child one more time is 50% each time. This was selected for no good reason.
The chance for an OptionalGrouping to appear in the string is also 50%.

Thank you for this. I didn't know you could do this sort of thing with Python!

For AlternativeSets the child is choosen randomly with evenly distributed probabilities. Any idea on how to implement this using weights?

This is the correct behaviour if weights aren't set. Things get tricky if they are though. The generate() method would need to pick a random alternative that is as likely as the weight indicates when compared to every other weight. Alternatives with weights of zero should be excluded because that means they are disabled. Weights are discussed a bit in section 4.3.3 of the JSGF spec. You can go ahead with implementing this, but I'm not really sure it's worth the effort.
The build is currently failing for Python 2.7. This isn't a big problem really given that v2.7 reaches its end-of-life date next year. I suspect it is failing because the random module has internal implementation differences between Python versions. So even though you're using the same seed in the tests (123), the RNG algorithm used behind the scenes might produce a different result.
I think your tests could just be run with only with a specific version of Python. That should solve this issue. If we get random failures, they can just be excluded from the build and run manually sometimes.

Weights are now used when generating a string. I hope the probabilities are calculated as specified in the JSGF spec.
Regarding the tests I could use mock for changing the behaviour of random during the tests. What do you think?

Weights are now used when generating a string. I hope the probabilities are calculated as specified in the JSGF spec.

Nicely done! Just tested it and I'm certain you have it correct. The relevant lines from the spec are:
<size> = /10/ small | /2/ medium | /1/ large;

In the first example, the grammar writer is indicating that "small" is 10 times more likely to be spoken than "large" and 5 times more likely than "medium."

This test confirms the probabilities as roughly 77% small, 15% medium and 7% large:
from jsgf import parse_expansion_string

def test(e, sample_size):
    l = [e.generate() for x in range(sample_size)]
    for c in e.children:
      text = c.text  # assuming all children are literals
      probability = l.count(text)/float(sample_size)
      print("Probability of '%s' = %d%%" % (text, probability*100))

test(parse_expansion_string('/10/ small | /2/ medium | /1/ large'), 10000)

Using mock for the tests sounds like a great idea.

Tests are now using mock in order to generate the expected random numbers. Build is now passing for all versions.

Looks good. Thanks again :+1:
I have fixed a problem with the Repeat and KleeneStar generate methods where possible extra repetitions would be the same generated string. Each extra repetition now uses a new generated string instead. I've also added some tests and commented the print statements you added for testing.
I think this is ready for merging now unless you see any other issues? I'm curious, what will you use these generate() methods for?

I built a little speech assistant using pocketsphinx. I parse the returned string using pyjsgf to retrieve the tags. But the answers were always the same sentence, just filled with the correct data. To create some variation I want these answers to differ a bit. So I wrote a jsgf-grammar which generates those answers. And this generation is now performed by the generate() method.

And I also think you could merge this now.

Sounds useful! Generating answers to responses for variation is quite a creative use of grammars. I can add a usage example for the generate() methods into the examples directory for others if you like.
I'll merge this now then. I can release a new version later today after I've fixed some bugs with the parser.


What constrains the performance of dual GPUs?

I apologize for posting my query here, but the discussion section appears to be rather inactive.
Upon reviewing the README information, I noticed that when employing dual GPUs, the token generation speed of the 65B model is substantially slower compared to the speed of a single 33B model on each GPU.
I’ve made a similar observation: when utilizing dual GPUs, the individual usage rates hover around 60-70%. This is significantly lower compared to using only one GPU which is over 90% utilization.
Initially, I suspected that the PCI-E bandwidth between the GPUs might be the constraining factor. However, upon limiting the PCI-E speed to 1X, I found no notable impact on the performance. Currently, the PCI-E speed is configured at 8x + 8x.
For additional context, my system is equipped with a 7950X and has ample RAM bandwidth (DDR5 6000), but these components don’t appear to be hindering factors anyway.
Does anyone know the reason behind it?

Initially, I suspected that the PCI-E bandwidth between the GPUs might be the constraining factor. However, upon limiting the PCI-E speed to 1X, I found no notable impact on the performance.

Huh, I always figured PCI-E bus speed would be meaningful for this purpose. Now I'm curious how a bunch of cards on mining risers would fare, given the practical complications of connecting more than 2 GPUs up to a typical motherboard otherwise.
(Apologies that I haven't got anything more to add.)

I apologize for posting my query here, but the discussion section appears to be rather inactive.

It's only inactive because people keep raising issues whenever they have a comment or a question. ;)
Anyway, ExLlama doesn't use multiple devices in parallel. It's surprising if you can get over 50% utilization per GPU, actually, because that shouldn't be happening. The GPUs work in turn and there's only a small amount of data to pass between them at the point where the model is split, which is why PCIe bandwidth doesn't make much of a difference.
I can't speak to what Llama.cpp does. They've got a lot of talented people working on that project, and I'm not surprised they've been able to implement some solution for parallelism. It's not a trivial thing. I don't doubt I could do it if I had infinite time or maybe someone wanted to contribute with a core feature like that. But for now I have to prioritize, and ~20 tokens/second on 65b isn't prohibitively slow, so I'm more concerned with the limited context size of 65b on a dual 24 GB GPU setup. I need to explore the options that have opened up with the latest NVIDIA driver, and also I'm experimenting with some novel quantization methods that might reduce memory requirements overall.

@turboderp
The initial tests were conducted on a hybrid platform comprising of a 3090 and a 4090 GPU.
Based on the utilization rate of the 3090 (Exllama 60%+, llama.cpp 85%+ ), I made an inference on the actual speed if both graphics cards were 3090s. Later on, I realized that such inference might not be accurate.
I managed to get another 3090 later today and conducted the tests again with two 3090s.
I discovered that the average GPU utilization rate for exllama was 40%, while for llama.cpp it was 60%.  And it indeed matches exllama's speed. Both are around 12- 13 tokens/s. Around 20% slower than 3090+4090.
Thank you so much for the explanation. I'll close the "issue".


schema: add missing definition for personality

Closes: https://github.com/opencontainers/runtime-spec/issues/1023
Signed-off-by: Giuseppe Scrivano<EMAIL_ADDRESS>

@justincormack PTAL

I needed to add a couple of extra fixes to make the CI happy

Thanks for doing this, LGTM.

LGTM

LGTM


[Bug] Regression: loadImage is failing for a particular slice

Describe the Bug
This slice loaded normally in cornerstone legacy, but no longer in cornerstone 3d. Another slice of the same volume works normally.
Steps to Reproduce

Download this .zip file and unzip it:
broken-slice.zip
yarn install
yarn dev
browse to the indicated address
observe the console

The current behavior
The following messages & error is displayed:

Uncaught (in promise) TypeError: B is not a constructor
    at q (f5e43be9-e9a4-4f29-b5e8-5fab295d2cee:1:1209505)
    at f5e43be9-e9a4-4f29-b5e8-5fab295d2cee:1:1211882
    at f5e43be9-e9a4-4f29-b5e8-5fab295d2cee:1:1211891
    at b (f5e43be9-e9a4-4f29-b5e8-5fab295d2cee:1:1212572)
    at async Object.handler (f5e43be9-e9a4-4f29-b5e8-5fab295d2cee:1:1212845)

The expected behavior
Both images load normally, and loadImage does not throw.
OS
macOS 14.0
Node version
20.8.1
Browser
Chrome 119.0.6045.159

The issue seems to be gone when I set preScale.enabled to false, but this then conflicts with #887

The B is not a constructor error seems to come from this call to new B(g.pixelData.length):

Which, based on proximity, seems to be a minimized version of this call to new TypedArrayConstructor here:
https://github.com/cornerstonejs/cornerstone3D/blob/bb586320e1b8c8d07ae7f695cc838ed529631050/packages/dicomImageLoader/src/shared/decodeImageFrame.ts#L375

Indeed, stopping in the debugger, B is undefined at this point:

So min being -8192 and max being 43746, getPixelDataTypeFromMinMax has pixelDataType being undefined (since max is larger than 32767), but then it should return Float32Array in this case, which it doesn't seem to do

So it looks like an issue with minification. If I run getPixelDataTypeFromMinMax exactly as copied from the source, it returns the Float32Array constructor as expected. But if I run the minified version as copied from the browser devtools, it returns undefined.
console.log(getPixelDataTypeFromMinMax(-8192, 43746));
const B = function(A, I) {
                let g;
                return Number.isInteger(A) && Number.isInteger(I) ? A >= 0 ? I <= 255 ? g = Uint8Array : I <= 65535 && (g = Uint16Array) : A >= -128 && I <= 127 ? g = Int8Array : A >= -32768 && I <= 32767 && (g = Int16Array) : g = Float32Array,
                g
            }(-8192, 43746)
console.log(B);

It looks like if I minify that getPixelDataTypeFromMinMax now, the result is slightly different, namely:
function t(e,n){let r;return Number.isInteger(e)&&Number.isInteger(n)&&(e>=0?n<=255?r=Uint8Array:n<=65535&&(r=Uint16Array):e>=-128&&n<=127?r=Int8Array:e>=-32768&&n<=32767&&(r=Int16Array)),r||Float32Array}

And this properly returns Float32Array when calling it with these min/max. So I think one of the minified pre-builds of cornerstone might be at fault. If I search for the original minified function which ends with :g=Float32Array,g} I can find it in these places:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

This still seems to occur in the newest main:
packages/dicomImageLoader$ git checkout main
packages/dicomImageLoader$ rm -rf dist
packages/dicomImageLoader$ yarn build
packages/dicomImageLoader$ js-beautify dist/cornerstoneDICOMImageLoader.bundle.min.js | grep -C3 Float32Array
[...]
        function aA(A) {
            const I = function(A, I) {
                let g;
                return Number.isInteger(A) && Number.isInteger(I) ? A >= 0 ? I <= 255 ? g = Uint8Array : I <= 65535 && (g = Uint16Array) : A >= -128 && I <= 127 ? g = Int8Array : A >= -32768 && I <= 32767 && (g = Int16Array) : g = Float32Array, g
            }(A.smallestPixelValue, A.largestPixelValue);
            if (!I) throw new Error("Could not apply a typed array to the pixel data");
            {
[...]

Copy-pasting that const I into a console and running it on my min/max values:
const I = function(A, I) {
                let g;
                return Number.isInteger(A) && Number.isInteger(I) ? A >= 0 ? I <= 255 ? g = Uint8Array : I <= 65535 && (g = Uint16Array) : A >= -128 && I <= 127 ? g = Int8Array : A >= -32768 && I <= 32767 && (g = Int16Array) : g = Float32Array, g
            }
I(-8192, 43746)
// undefined

Actually, if I disable minification I still get a function that doesn't output properly, so it might not be the whole story --
--- a/packages/dicomImageLoader/.webpack/webpack-bundle.js
+++ b/packages/dicomImageLoader/.webpack/webpack-bundle.js
@@ -100,12 +100,7 @@ module.exports = {
     asyncWebAssembly: true,
   },
   optimization: {
-    // minimize: false,
-    minimizer: [
-      new TerserPlugin({
-        parallel: true,
-      }),
-    ],
+    minimize: false,
   },
   // plugins: [new webpack.ProgressPlugin(), new BundleAnalyzerPlugin()],
 };

packages/dicomImageLoader$ rm -rf dist
packages/dicomImageLoader$ yarn build
packages/dicomImageLoader$ js-beautify dist/cornerstoneDICOMImageLoader.bundle.min.js | grep -C32 Float32Array
[...]
// CONCATENATED MODULE: ./shared/getPixelDataTypeFromMinMax.ts
            function getPixelDataTypeFromMinMax(min, max) {
                let pixelDataType;
                if (Number.isInteger(min) && Number.isInteger(max)) {
                    if (min >= 0) {
                        if (max <= 255) {
                            pixelDataType = Uint8Array;
                        } else if (max <= 65535) {
                            pixelDataType = Uint16Array;
                        }
                    } else {
                        if (min >= -128 && max <= 127) {
                            pixelDataType = Int8Array;
                        } else if (min >= -32768 && max <= 32767) {
                            pixelDataType = Int16Array;
                        }
                    }
                } else {
                    pixelDataType = Float32Array;
                }
                return pixelDataType;
            }

This implementation also returns undefined on my values of (-8192, 43746) and differs from the implementation at https://github.com/cornerstonejs/cornerstone3D/blob/main/packages/dicomImageLoader/src/shared/getPixelDataTypeFromMinMax.ts#L3.

Oh I finally see now that my main was a bit behind and this was actually fixed very recently, Nov 14 85fd19396762f54c6806fdbebf0235139a67629a

I see 85fd19396762f54c6806fdbebf0235139a67629a was released in v1.29.0+, but unfortunately when I try to use that I get other errors which might boil down to the known circular dependency issue in Vite:
createImage.ts:155 Uncaught (in promise) TypeError: Cannot destructure property 'use16BitDataType' of 'o2' as it is undefined.
    at kA (createImage.ts:155:11)
    at A3.then.D2.error (loadImage.ts:63:30)

options is undefined here, but if I click through to the getOptions call then that options is set properly. So this is blocking me from upgrading to v1.29.0 currently.

Indeed, if I apply this patch to the v1.21.2 tag:
--- a/packages/dicomImageLoader/src/shared/getPixelDataTypeFromMinMax.ts
+++ b/packages/dicomImageLoader/src/shared/getPixelDataTypeFromMinMax.ts
@@ -24,5 +24,5 @@ export default function getPixelDataTypeFromMinMax(
     pixelDataType = Float32Array;
   }

-  return pixelDataType;
+  return pixelDataType || Float32Array;
 }

Then do a rebuild
packages/dicomImageLoader$ rm -rf dist
packages/dicomImageLoader$ yarn build

And then replace the dist files in my node_modules , taking care to remove any caches:
$ cd node_modules/@cornerstonejs/dicom-image-loader
$ rm -rf dist
$ cp -R /Users/sjors/..../cornerstone3D/packages/dicomImageLoader/dist .
$ cd ../../../
$ rm -rf .vite node_modules/.vite
$ yarn dev

Now, both the working.dcm and broken.dcm load properly.

Closing this, since the actual issue is already resolved in v1.29.0, and the most likely reason that version doesn't work in Vite is known and being addressed for v2.


Cups returns invalid (empty) media-supported values

Describe the bug
I share my USB-connected printer using cups. Cups response to get-printer-attributes requests is invalid: a couple of media-supported values are empty. The problem is that recently downstream servers that exercise extra checks to guard against CVE-2024-47175 started to choke on this invalid response and refuse to choose the printer for printing.
To Reproduce
Steps to reproduce the behavior:

Connect the "HP Smart Tank 720" printer using USB cable
Set it up using the stock ppd file (kotlownia2.ppd.txt)
Inspect it using ipptool -j http://<IP_ADDRESS>:631/printers/kotlownia2 get-printer-attributes.test > via-cups.json (via-cups.json)
Notice a couple of empty values in media-supported list in the printer-attributes-tag group, and the following warning from ipptool: "media-supported": Bad keyword value "" - invalid character (RFC 8011 section 5.1.4).

Expected behavior
A valid response.
System Information:

OS and its version: Debian GNU/Linux 12.7 (bookworm)
Application: another cups server, evince trying to use it
CUPS version 2.4.2-3+deb12u8

Additional context
More info in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1084021
The above Debian bug report also shows that when the printer is contacted directly over its WiFi interface, it produces a valid get-printer-attributes response. direct.json
Some more diagnostics:
$ sudo ipp-usb check
Configuration files: OK
IPP over USB devices:
 Num  Device              Vndr:Prod  Model
   1. Bus 002 Device 007  03f0:3a54  "HP Smart Tank 710-720 series"

$ lpstat -l -e
HP_Smart_Tank_710_720_series_FDDE68 network none ipps://HP%20Smart%20Tank%20710-720%20series%20%5BFDDE68%5D._ipps._tcp.local/
HP_Smart_Tank_710_720_series_FDDE68_USB network none ipp://HP%20Smart%20Tank%20710-720%20series%20%5BFDDE68%5D%20(USB)._ipp._tcp.local/
HP_Smart_Tank_710_720_series_piec network none ipps://HP%20Smart%20Tank%20710-720%20series%20%40%20piec._ipps._tcp.local/cups
kotlownia2 permanent ipp://localhost/printers/kotlownia2 usb://HP/Smart%20Tank%20710-720%20series?serial=CN172171F5&interface=1

$ lpoptions -p kotlownia2 -l
PageSize/Media Size: 2L L 4x6in 5x7in 8.5x13 8x10 A4 *A4.Duplex A5 A6 B5 B5.Duplex JB5 JB5.Duplex Custom1 Envelope#10 EnvelopeC6 EnvelopeDL Executive Executive.Duplex IndexCard4x6 IndexCard5x8 IndexCardA4 IndexCardLetter JapaneseEnvelope#3 JapaneseEnvelope#4 JapanesePostcard Legal Letter Letter.Duplex OfukuHagaki Statement Executive.FB Legal.FB Statement.FB B5.FB Envelope#10.FB EnvelopeDL.FB EnvelopeC6.FB JapaneseEnvelope#4.FB 8.5x13.FB Custom.WIDTHxHEIGHT
Duplex/Double-Sided Printing: *DuplexNoTumble DuplexTumble None
InputSlot/Media Source: *Main
ColorModel/Output Mode: CMYGray KGray *RGB
MediaType/Media Type: *Plain Glossy CoatedBrochure CoatedMatte BrochureGlosy FastGlossy Coated Brochure PlainPaperLight
OutputMode/Print Quality: *Normal Best Photo

attr.log from this command:
    $ ipptool --ippserver attr.log -v ipp://localhost:60000/ipp/print get-printer-attributes.test

Thank you @michaelrsweet , the # characters indeed seemed to be what was tripping cups up. After performing the recommended replacements (and another for JapaneseEnvelope#3) things seem to work.
However, in the name of robustness, wouldn't it be better if going forward cups simply omitted problematic media in the response to get-printer-attributes rather than using invalid empty values? Arguably missing items would be a better hint that something is wrong than the current "printer unusable" situation.

@porridge

However, in the name of robustness, wouldn't it be better if going forward cups simply omitted problematic media in the response to get-printer-attributes rather than using invalid empty values? Arguably missing items would be a better hint that something is wrong than the current "printer unusable" situation.

I'm pretty sure (still need to spend some time testing this) that the current CUPS 2.4.x code does, in fact, correctly convert such names into names/sizes that are valid in IPP. There have been a lot of changes and fixes in this code since CUPS 2.4.2 in May 2022...

... and it looks like the change was part of CUPS 2.4.11.


Latest quest causing raster-gdal error

When running the tests currently we are getting a newer version of quest (quest-2.4.2.dev10), which seems to be causing error when reading rasters in the GSSHA notebooks. Specifically I'm seeing the following error:
E                   ~/build/pyviz/EarthSim/earthsim/gssha/__init__.py in get_file_from_quest(collection_name, service_uri, parameter, mask_shapefile, use_existing)
E                       118                                                    'service_uri': service_uri,
E                       119                                                    'parameter': parameter})
E                   --> 120     return quest.api.open_dataset(d).name
E
E                   ~/miniconda/envs/earthsim/lib/python3.6/site-packages/quest/api/datasets.py in open_dataset(dataset, fmt)
E                       388
E                       389     if file_format not in list_plugins('io'):
E                   --> 390         raise ValueError('No reader available for: %s' % file_format)
E                       391
E                       392     io = load_plugins('io', file_format)
E
E                   ValueError: No reader available for: raster-gdal

Our gdal dependencies have not changed at all, so I'm assuming this an issue with quest. @kcpevey @dharhas

Scott is working on new versions of the GSSHA notebooks because I was having some issues running them.

So I got the new whitebox_tools (based on upstream) packaged and working on Thursday or Friday which was a prerequisite for getting the GSSHA workflow working again. It is on @sdc50 plate to start work on getting all working this week. Not sure how long it will take.
I think it would totally reasonable to disable tests on these notebooks and re-enable them once we have the new versions working.

Alright this fix is simple and quick I believe, I figured out the problem and told Scott about it. Since I am not in the office until Wednesday there can be a quick PR for the simple change. Thanks.

Just a quick note to say that I got the 'GSSHA_Parameter_Sweep' notebook working by pinning quest to version 2.4.0:

pip install<EMAIL_ADDRESS>

We're using quest 2.4.1 in the current environment (just merged). Can anyone confirm that this issue doesn't apply to the current environment?

@ceball that issue is not present in that release of Quest but we did just release 2.5 for Quest.  Thanks.

Thanks. Do we need to update quest to 2.5 for any particular reason this week during scipy? If not, we should probably do it after.

@ceball there were major changes to how the infrastructure works, bug fixes, and new provider plugins were added. I would just use the release that you have and upgrade after SciPy. Thanks.

@AaronV77, I started upgrading to quest 2.5.0, but then I noticed there's no win64 quest package:

(from https://anaconda.org/erdc/quest).
Is that deliberate, or an oversight? (Or am I looking in the wrong place?)
Thanks

@ceball I was just about to say something rhetorical until I saw the 2.4.1, yes that was an oversight on my part. The package has just been added to our Anaconda channel, sorry!


tox + tox-conda + filelock=3.8 fail to install dependencies

Recently my builds have started failing when using tox and tox-conda.
I hadn't changed anything so I started looking at the diff between dependencies and the only difference I saw was a new version of filelock: 3.7.1 -> 3.8.0.
By constraining filelock to 3.7.1 my build started to work again - not sure if this is an issue in tox, tox-conda or filelock but thought I'd start here.
Unfortunately I cannot reproduce this on OSX - could be Linux-specific.

Python=3.9
conda=4.13

Log output from AWS Linux with filelock=3.8.0:
[Container] 2022/08/18 09:23:06 Running command $CONDA run tox
ERROR conda.cli.main_run:execute(49): `conda run tox` failed. (See above for error)
.tox create: /codebuild/output/src003655152/src/github.com/org/repo/.tox/.tox
.tox installdeps: tox-conda, tox >= 3.25.1
py39 create: /codebuild/output/src003655152/src/github.com/org/repo/.tox/py39
ERROR: invocation failed (exit code -9), logfile: /codebuild/output/src003655152/src/github.com/org/repo/.tox/py39/log/py39-0.log
================================== log start ===================================
Collecting package metadata (repodata.json): ...working...
=================================== log end ====================================
ERROR: InvocationError for command /root/miniconda3/bin/conda env create -p /codebuild/output/src003655152/src/github.com/org/repo/.tox/py39 --file /codebuild/output/src003655152/src/github.com/org/repo/env.yaml (exited with code -9 (SIGKILL)) (exited with code -9)
___________________________________ summary ____________________________________
ERROR:   py39: InvocationError for command /root/miniconda3/bin/conda env create -p /codebuild/output/src003655152/src/github.com/org/repo/.tox/py39 --file /codebuild/output/src003655152/src/github.com/org/repo/env.yaml (exited with code -9 (SIGKILL)) (exited with code -9)

Sound like a tox-conda error.

Would be useful to shed some light on the changes between 3.7.1 and 3.8 in filelock to help finding the issue?
Given it's the only thing that breaks tox-conda

https://github.com/tox-dev/py-filelock/compare/3.7.1...3.8.0


Release azure-cli-batch 2.0.1

Reviewers, please verify the following for this PR:

[ ] The PR title has format Release <component-name> <version>.
[ ] setup.py has been modified with the same version as in the PR title.
[ ] HISTORY.rst has been modified with appropriate release notes.
[ ] If releasing azure-cli or azure-cli-core, __version__ defined in __init__.py should also be modified to match.

Started releasing azure-cli-batch 2.0.1...

Release of 'azure-cli-batch' with version '2.0.1' successful. View at https://pypi.python.org/pypi/azure-cli-batch/2.0.1.

GitHub release created. https://github.com/Azure/azure-cli/releases.


chore: fix audit

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


bucket: thanos.blocks is null

Thanos bucket version used: v0.11 & master
Object Storage Provider: S3
What happened:
We had an issue with overlapping data in one of our blocks. Bucket web worked fine while this data existed for some time. However, after running compactor (and removing a few blocks that it complained about), Bucket web no longer loads.
When trying to load bucket web, we see an error in the console that thanos.blocks is null. And therefore (of course) there's no way to .sort().
What you expected to happen:

Bucket web should display a helpful error message

Handling this could be pretty simple (see example), but I have no idea what error message would be most apt.
# bucket.js

function draw() {
    if (thanos.refreshedAt == "0001-01-01T00:00:00Z") {
        thanos.err = "Synchronizing blocks from remote storage";
    }
    else if (!thanos.blocks)
    {
        thanos.err = "No blocks are loaded";
    }
    ...

Alternatively,

Data that overlaps should just not be displayed in bucket web, or
Some other more elegant solution, any suggestions?

How to reproduce it (as minimally and precisely as possible):
Unfortunately this is not too easy for me to replicate. This is my best guess.

Create Thanos instance with 2x Prometheus instances
Do not set any external labels, or duplicate the external labels
Upload some blocks
Try to run compactor
(Remove a block that compactor complains about?)
Load bucket web interface

Do not set any external labels, or duplicate the external labels
If not set it, sidecar would fail to run.

@daixiang0 You could also just have two instances with identical labels, e.g.

Prometheus-0
Prometheus-1

prometheus_group
ex1
ex1

prometheus_replica
r1
r1

Just some way for you to force some overlapping blocks into storage.

@MacroPower what do you see in the logs of bucket web?

@GiedriusS Nothing super interesting from what I can see.
level=info ts=2020-03-13T16:18:34.449771Z caller=main.go:153 msg="Tracing will be disabled"
level=info ts=2020-03-13T16:18:34.45242Z caller=intrumentation.go:48 msg="changing probe status" status=ready
level=info ts=2020-03-13T16:18:34.453029Z caller=intrumentation.go:60 msg="changing probe status" status=healthy
level=info ts=2020-03-13T16:18:34.45307Z caller=http.go:56 service=http/server component=bucket msg="listening for requests and metrics" address=<IP_ADDRESS>:10902
level=info ts=2020-03-13T16:18:34.453071Z caller=factory.go:46 msg="loading bucket configuration"
level=info ts=2020-03-13T16:18:34.456062Z caller=bucket.go:468 msg="synchronizing block metadata"
level=info ts=2020-03-13T16:18:34.801354Z caller=bucket.go:479 msg="downloaded blocks meta.json" num=0

The console logs are:

Sorry, I should have included this in the original post.

Ah, I see. I was wondering how could this happen. Then, it seems, like we need to tweak the download function in cmd/thanos/bucket.go to at least return an empty array in case no blocks are found or check for it in the callee. :smile: AFAICT this was never accounted for. @MacroPower wanna contribute such a PR? :p

@GiedriusS Great catch, I didn't even realize it was loading 0 blocks! It should be loading 40+, not sure why it's loading none.
I might look into that further and submit a PR depending on my schedule over the next few weeks.

@GiedriusS Still no idea why bucket isn't picking up blocks, but I put in a PR #2271 just to handle this specific case. Take a look and feel free to make any suggestions!


(PPTX) get context by image

Desiderable: Usage of Google Lens or equivalent service to analyze an image and retrieve information about it

In order to do it, it is possible to consider https://github.com/vsakkas/sydney.py to generate the text represent the context


layout file fix2

Describe changes:
What issues or discussions does this update address?
The previous patch (https://github.com/AllenNeuralDynamics/dynamic-foraging-task/pull/1100) had some remaining issues that I don't know why exactly it happened (was not solved).
Could be due to conflicting PRs at develop level, overwriting the Bonsai.layout file.
Describe the expected change in behavior from the perspective of the experimenter

Now you should see CameraRecording window properly
LickVisualizer speed optimised

__
Now those should be solved by next weeks integration:
https://github.com/AllenNeuralDynamics/aind-behavior-blog/issues/798
https://github.com/AllenNeuralDynamics/aind-behavior-blog/issues/802
Describe any manual update steps for task computers
NA
Was this update tested in 446/447?

[x] 447-1-D
[x] 447-3-D
[x] 446-6-A

@alexpiet issue #798 is currently blocking this weeks merging and this pr should be a fix. This should also be tested along with any metadata fix before merging this week


mikrotik-6.49 default password not working

itry mikrotik-6.49 default username admin and password (blank) is not working,
could you please advise?

If it doesn't work you need to factory-reset, on v6 amdin/no pass

hi @davidgonzalezh , may i know how to factory-reset on mikrotik eve-ng ? try to wipe the data and login with admin/no pass still not working


Use with webpack and babel

Hello @caspervonb I tried use example with webpack and babel but this one doesn't work. Could you create a simple example which will be working?

Updated the amok-examples repo to 1.x

@caspervonb I see, but livereload doesn't work even if I changed text Hello

Just re-tested on mac and windows, it's working.
The most likely cause, is that if chrome is already running when running amok, it has to be listening on port 9222. Add additional options like a profile to CHROME_FLAGS to force a new process to be spawned.
CHROME_FLAGS="user-data-dir=path/to/somewhere"

One question. What is path/to/somewhere?

Any directory path the file system

Probably a reason why doesn't working because in my environment settings existed AMOK_CLIENT. I removed it and livereloading looks like working. I think this issue could be closed.

Great ;)

Sorry, I have one question. What is an url I need include in my index.html if my source contains in src folder? In react-hot-loader it will be:
<script src="/static/bundle.js"><script>

I realize why this doesn't work. At my package.json I need use \\ separator because I have Windows.
"scripts": {
    "start": "amok --hot --browser chrome --compiler webpack src\\index.js"
  }

What is an url I need include in my index.html if my source contains in src folder?

The output bundle will be the same as the entry path, so src/foo/bar.js becomes src/foo/bar.js

I realize why this doesn't work. At my package.json I need use \ separator because I have Windows.

In this case it might make more sense to cd/chdir into to src.


Option to disable the MDE

I'm using EMDE as part of a form. There are points in the process when I want the MDE to be disabled, so the text is visible but not editable. I can't currently see an option for this

I have a similar requirement to disable text input in my Next.js project - I'd like to keep the toolbar active since I want for example the Preview button to be visible and enabled so that the user can preview the text but not enter any text changes,

This is the way to disable input in Next.js:
const [simpleMDEEvents, setSimpleMDEEvents] =  useState<SimpleMdeToCodemirrorEvents>({
      beforeChange: (instance: any, changeObj: any) => {
        console.log("beforeChange", changeObj);
        changeObj.canceled = true;
      },
    });

      <SimpleMDE
        id="someid"
        value={somevalue}
        options={mdeOptions}
        events={simpleMDEEvents}
      />


Move poetry installation script source url to new location

Reverted in #343 because of flaxy download url 😕

Do you have a link where the flakiness is visible?
Seems like the CDN of github is better than the one from the poetry project

sure: https://github.com/containerbase/buildpack/runs/5580677691?check_suite_focus=true#step:9:2717
failed on two attempts, so reverted for now 🤷♂

Fine with me, should we open a ticket on the poetry project asking for investigation or are we OK with the old install path until it kicks the bucket?

Closing, as we are now using a virtualenv to install poetry. It's nearly same what the poetry installer does


Add SchemaStore and policy validation

Created the SchemaMemoryStore with get, update and delete operations
Implemented creating schema from file
Added API endpoints for the three operations
Added validation to policy create/update endpoints

Hey @Akamatsu21 -
We're taking a look at the PR - but maybe it'll be worth to add some tests here :)
Thanks for the contribution !

Hey, @Akamatsu21, do you have an estimate of when you can add tests?

Hey, @Akamatsu21, do you have an estimate of when you can add tests?

Hello and big apologies, I have been away for the past two weeks on a long holiday. I will have a look at adding some tests, you can expect them by the end of this week. Appreciate your patience on this!

Hello @obsd @RazcoDev, I just pushed some unit tests, looking forward to your feedback.

Thanks @Akamatsu21, I will ask someone to review :)

Correct me if I'm wrong but the PR is missing the DataStore changes:

checks
validations
etc

Correct me if I'm wrong but the PR is missing the DataStore changes - validations

Hi @omer9564 thank you so much for the review, I will address your comments today. As mentioned in the discussion the data store validation is the next item on the list, but I wanted to check that the logic thus far has been correct before I attempt it.

Hey @Akamatsu21 ,
Overall logic looks very good, besides what I wrote in the comments everything seems ok.
Please tag me once you finish with the data store validation and I will re-review everything :)

Hi @omer9564 apologies you had to wait quite long for this fairly small update. I completed all the remaining tasks on my original list, please let me know if this is good to be merged. I am attaching a screenshot of passing tests, this was run on the RustRover IDE with the cargo version 1.76.0 (c84b36747 2024-01-18).
By the way, I merged the main branch into this one in order to make sure any tests added by other people still pass. I appreciate in hindsight that maybe a rebase would have made for a cleaner commit history, hope it's not a big issue.

Thanks for the update, will take a look in the following days :)

Sorry for the delay, had busy couple of weeks.
Will hopefully check this in the first week of April.

Looks very good in general,

left a single comment on how the error handling of the policy store can be simplified with a reference to rust docs
left a single comment on a missing validation on schema mutation
@Akamatsu21  Sorry for taking so long to re-review 😅

No worries, and also sorry for taking a while. I should be able to respond faster now. I added the missing validation, but still think the unpacking of that error type is as good as it's going to be, unless we agree to just overhaul the return types

@Akamatsu21 I will try to push it next week :)

@Akamatsu21 Will merge & release a new version later this week

Fixes the discussion #23


Current version of interproscan does not work on java version 1.8

Dear interproscan team,
The minimal requirements have to be updated in the documentation since interproscan version 5.47-82.0 (which I just downloaded and installed) does not work with java version 1.8.0_152-release. The provided test example told me that java version 11 was required to run interproscan. I created a new conda environment containing java version 11 and in this environment the test in the docs worked.
Kind regards,
David Nieuwenhuijse

hi, let me know which documentation you referenced as you can check here https://interproscan-docs.readthedocs.io/en/latest/InstallationRequirements.html, we have updated the java 11 requirement in the documentation since version 5.37-76.0
i know there is another page https://interproscan5-docs.readthedocs.io/ that is not referenced anywhere and that has old documentation and we will take it down asap.


Method not found: 'System.__Canon BrockAllen.MembershipReboot.UserAccountService`1.CreateAccount

I am receiving the below error. Any idea on what might be the cause?  I get this error message only when i try to create a user using identity manager new user page.
Version Installed:
IdentityServer3 2.5
BrockAllen.MembershipReboot 8.4
IdentityServer3.MembershipReboot 2.0
IdentityManager.MembershipReboot 1.0.0-beta5 (Prerelease)
IdentityManager 1.0.0-beta5-4 (Prerelease)

Yea, I think I've seen this before when there's some version mismatch. Are all the nugets up to date.

Yes. I tried in all the combinations unless u want me to downgrade everything, which is not possible.
You might have seen the similar issue at the below link. I even replied the same thing there but no support. Thought it will be rectified by now and upgraded everything to latest. But still the problem exists.
https://github.com/IdentityServer/IdentityServer3/issues/1790

Thanks @brockallen , I faced the very same exception and as you suggested it was because of version mismatch. The Consolidate option in Nuget Package Manager fixed that.


api for /queue*

Jenkins does have at /queue an api for the build queue, this is currently missing.

Queue support has been added in 0.3.4. But thanks for the report.


Refactor - Decouple internal packages from command level code

Decouple the internal packages from the upper level commands by well defining internal packages interface
Move whatever code is needed to its proper place to prevent unnecessary dependencies
Add architectural documentation on how it's supposed to work to help contributors understand where code should go

Closed by #188


autoupdate: pre-commit

Automated changes by create-pull-request GitHub action

Codecov Report

Merging #53 (d09dda6) into master (6e2a7e1) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master       #53   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           13        13
  Lines          459       459
=========================================
  Hits           459       459

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Does dN/dm change much with redshift?

Not much---reference Belczynski & Mapelli papers.

Also closed by the commits that closed #2


Set doc=true as a default in sources.json

Actually, I realized that all source files are documented. Removed the doc attributes.


AbstractChannel.newId() should be removed

Motivation:
We should better remove AbstractChannel.newId() so it can not be overriden as this method is called from within the constructor. If a sub-class of AbstractChannel wants to use its own ChannelId implementation it should just use the constructor of AbstractChannel that takes a ChannelId.
Modifications:
Remove newId() static
Result:
Cleanup code-smell

This is some cleanup that I noticed while working on other things

Let me pull this in


Window size/position is not remembered when opening from tray

Hi, and first thanks for this great wrapper for Syncthing! :)
The position and size of the main window is always reset to default when restoring from tray.
On smaller screens I use SyncTrayzor always maximized, so it would be great if the window state is saved, also when closing and restarting the application.
I have looked over the code, thought I fix it myself ... but I'm not that much into WPF ... just saw that it must have something to do with Stylets WindowManager.CreateWindow function... (?)

Fair request! This is a problem I know enough to know that it isn't trivial - things like monitors changing, resolution changing, etc, can cause your windows to be restored to desktops that no longer exist, or in places the mouse can't get to (like the title bar being above the top of the screen). I've got some badly-written programs which like to do things like this, and it's really annoying.
Actually implementing this will be fairly easy (I'd bind the ShellView's StartupLocation, Top, Left, Width, and Height through to properties on ShellViewModel), but I want to make sure I understand all of the gotchas before trying to implement this! Luckily I've got the whole weekend to work on SyncTrayzor, so let's see what happens.

Turned out to be fairly easy - there's a set of native methods to handle all of the edge-case logic

Cool! :)


First step

The most basic UI should be able to perform the following tasks, typically in separate tabs

[ ] OCP definition

[ ] load a .jl file

[ ] display a .jl file

[ ] edit in textfield

[ ] save in a .jl file

[ ] solve the problem

[ ] call to solve with default options

[ ] display solver iterations and output

[ ] save solution in a .sol file

[ ] set options for solve

[ ] plot the solution

[ ] basic display of plot command

[ ] save the graphs

[ ] load and display a solution file

[ ] edit / custom graphs

ouh, nice program Mr @PierreMartinon 🙂

@jbcaillau la version mousetrap fait les operations de base, a voir jusqu'ou on peut pousser. Je pense que QML sera plus puissant (on retombe sur Qt) mais a voir niveau difficulte de prise en main.


Loyalty Program 'repeat visitor' page

Very similar to the 'Thank you' page, when the user returns after already submitting their registration, we show them a confirmation page.
https://cloud.githubusercontent.com/assets/1022172/23515188/6c4be048-ff37-11e6-974d-880d7ca86772.jpg
This requires https://github.com/artsy/gravity/issues/10917 to be done (so that the page can tell if a user already submitted).

This means we'll need to fetch the user's collector profile when loading the page (in order to see whether or not they are a loyalty_applicant).

Somewhere here is maybe where we'd do that? https://github.com/artsy/reaction-force/blob/a72aa3fe4bd9280057860c24af246226f43a40a4/src/apps/loyalty/server/index.tsx#L67-L72

finished in #64.


Add special target tokens by default

Overview
The purpose of this PR is to alleviate the need for the user to have to provide the special target tokens in the config. These are the tokens we rely on for serialization/deserialization of annotations, and so they are hardcoded. Not providing them can lead to subtle bugs, e.g. when the tokenizer splits them up, leading to degraded performance.
There are basically two places these special tokens need to be added:

In the pretrained transformer tokenizer. This is so the tokenizer does not split or lowercase them. This PR achieves this by subclassing PretrainedTransformerTokenizer and passing the special tokens to the HuggingFace tokenizer.
In the AllenNLP vocabulary. This is so the model can select these tokens from the vocabulary during decoding. I achieved this by calling Vocab.add_tokens_to_namespace() in the model CopyNetSeq2Rel. I am almost sure this works, as it is also how the parent class adds the special copy token. My only concern is that (I think) this occurs after data-loading, tokenization and indexing, which would lead to special tokens being replaced with OOV.

This does not address special tokens that are unique to a particular dataset. For that, a user will still have to use the config files. It would be nice if we could auto-detect these somehow. I suspect this will be difficult not least because it would require iterating through the whole dataset. Tracking that in #71.

EDIT: This doesn't work as is... I suspect because the special tokens don't get created until after the tokens have been indexed. It is possible we will have to add a subclassed token indexer that also adds the tokens.
TODO
Any easy way to check 2. is just to train a model and confirm performance is unaffected. If special tokens are being replaced with OOV tokens, then performance should go to 0.

[x] Retrain a model and make sure performance is uneffected

Closing this as I no longer plan on implementing it.


fix: currentDownloadSource showing undefined

Description

Added nullish coalescing to the text for the currentDownloadSource.
Motivation and Context

If the user previously visited an old version of the files website their localstorage would hold an invalid value for the key downloadSource [number] it would display undefined. This issue was introduced in this commit
Screenshots (if appropriate):

I'm closing this because while the problem exists (previous localStorage values cause problems in newer versions of the site), this isn't a good solution.
A better solution would be to reset the localStorage value if it's invalid. I'm gonna take a look at this tomorrow, unless you wanna take a shot at it.

@TheOnlyTails there ya go


input type='range' acts not properly on Safari on iOS

Hello,
Range sliders (e.g. in http://materializecss.com/forms.html) are acting weird sometimes on Safari (tested on iPad & iPhone iOS 8.4):

the 'thumb' does not disappear when we stop touching the slider
it may be not aligned with the slider itself

+1

+1

hi, i had some problem with range too, Safari need prefix -webkit- for transition and transform css, try to add to css same command for this just with prefix

in my case i saw this, but when i add this to css, it was ok:
`.noUi-target .range-label{
-webkit-transition: border-radius .25s cubic-bezier(.215, .61, .355, 1),transform .25s cubic-bezier(.215, .61, .355, 1);
-webkit-transform: scale(.5) rotate(-45deg);
-webkit-transform-origin: 50% 100%;
}
.noUi-target .noUi-active .range-label{
-webkit-transform:rotate(-45deg) translate(23px, -25px);
}
.noUi-horizontal .noUi-handle{
-webkit-transition:width .2s cubic-bezier(.215, .61, .355, 1),height .2s cubic-bezier(.215, .61, .355, 1),left .2s cubic-bezier(.215, .61, .355, 1),top .2s cubic-bezier(.215, .61, .355, 1);
}
.range-label span{
-webkit-transform: rotate(45deg);
-webkit-transition:opacity .25s cubic-bezier(.215, .61, .355, 1);
}`

Closed due inactivity. Feel free to reopen it, if it's still necessary.

This is still prevelant. Can some one please re-open this. Safari range slider doesnot work on tap. It does however work on slide.

Having issues on this with touch devices..

same here


Function Signature in VS Code Differs from the Documentation

Hi,
The function signature in VS Code differs from the documentation. This is the function template that is generated when I use VS Code:
from typing import List
import logging

import azure.functions as func

def main(events: List[func.EventHubEvent]):
    for event in events:
        logging.info('Python EventHub trigger processed an event: %s',
                        event.get_body().decode('utf-8'))

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

ID: a109c38e-b241-c9a2-7ef8-2e828659191c
Version Independent ID: 69842b0f-607f-5cf5-6e1a-4d312c98100c
Content: Azure Event Hubs trigger for Azure Functions
Content Source: articles/azure-functions/functions-bindings-event-hubs-trigger.md
Service: azure-functions
GitHub Login: @craigshoemaker
Microsoft Alias: cshoe

@XavierGuerette , Thanks for reaching out. We will investigate and update this thread.

@XavierGuerette Thanks for the feedback! The snippet mentioned in the doc is how you can bind to a single event and the one generated from VS Code is how you can process a batch of messages in a single invocation, both of which are correct.
We will update the docs to include batch processing as well.

@XavierGuerette We've created an internal PR to get this resolved which once merged should reflect in a couple of hours. Thanks again for the feedback!


[SUPPORT] The parquet files for the MOR table have been generated, but the RO table in Hive still cannot query the latest data in the parquet files.

Tips before filing an issue

Have you gone through our FAQs?

Join the mailing list to engage in conversations and get faster support at<EMAIL_ADDRESS>

If you have triaged this as a bug, then file an issue directly.

Describe the problem you faced
Writing to hudi mor table in Flink and syncing to Hive, there is a significant data latency (6+ hours) when querying the ro table in Hive. The HDFS directory shows that .parquet files have been generated for the past few minutes, but the ro table in Hive still does not show the data from the past few minutes. Only the data from the past 6+ hours is visible.
To Reproduce
Steps to reproduce the behavior:
//hive sync conf
options.put(FlinkOptions.HIVE_SYNC_ENABLED.key(), "true");
options.put(FlinkOptions.HIVE_SYNC_MODE.key(), "hms");
options.put(FlinkOptions.HIVE_SYNC_DB.key(), "ods_rbs");
options.put(FlinkOptions.HIVE_SYNC_TABLE.key(), "ods_rbs_rbscmfprd_cmf_fin_acct_distributions_cdc");
options.put(FlinkOptions.HIVE_SYNC_CONF_DIR.key(), "/etc/hive/conf");
options.put(FlinkOptions.HIVE_SYNC_METASTORE_URIS.key(), connectInfo.get("hive_metastore_url"));
options.put(FlinkOptions.HIVE_SYNC_JDBC_URL.key(), connectInfo.get("conn_url"));
options.put(FlinkOptions.HIVE_SYNC_SUPPORT_TIMESTAMP.key(), "true");
options.put(FlinkOptions.HIVE_SYNC_SKIP_RO_SUFFIX.key(), "true");
//compaction conf
options.put(FlinkOptions.COMPACTION_TASKS.key(), 4);
options.put(FlinkOptions.COMPACTION_TRIGGER_STRATEGY.key(), "num_or_time");
options.put(FlinkOptions.COMPACTION_DELTA_COMMITS.key(), "5");
options.put(FlinkOptions.COMPACTION_DELTA_SECONDS.key(), "300");
options.put(FlinkOptions.COMPACTION_MAX_MEMORY.key(), "1024");
select _flink_cdc_ts_ms,_flink_cdc_table,last_update_date from ods_rbs.ods_rbs_rbscmfprd_cmf_fin_acct_distributions_cdc a order by _flink_cdc_ts_ms desc  limit 50;
+--------------------------+-----------------------------+------------------------+
|     _flink_cdc_ts_ms     |      _flink_cdc_table       |    last_update_date    |
+--------------------------+-----------------------------+------------------------+
| 2024-03-21 21:15:02.773  | cmf_fin_acct_distributions  | 2024-03-21 18:05:02.0  |
| 2024-03-21 21:15:02.773  | cmf_fin_acct_distributions  | 2024-03-21 18:05:02.0  |
| 2024-03-21 21:15:02.772  | cmf_fin_acct_distributions  | 2024-03-21 18:05:02.0  |
| 2024-03-21 21:15:02.772  | cmf_fin_acct_distributions  | 2024-03-21 18:03:07.0  |
| 2024-03-21 21:15:02.772  | cmf_fin_acct_distributions  | 2024-03-21 18:03:43.0  |
| 2024-03-21 21:15:02.771  | cmf_fin_acct_distributions  | 2024-03-21 18:03:00.0  |
| 2024-03-21 21:15:02.771  | cmf_fin_acct_distributions  | 2024-03-21 18:02:49.0  |
| 2024-03-21 21:15:02.771  | cmf_fin_acct_distributions  | 2024-03-21 18:02:08.0  |
| 2024-03-21 21:15:02.77   | cmf_fin_acct_distributions  | 2024-03-21 18:02:08.0  |
Expected behavior
A clear and concise description of what you expected to happen.
Environment Description

Hudi version :

Spark version :

Hive version :

Hadoop version :

Storage (HDFS/S3/GCS..) :

Running on Docker? (yes/no) :

Additional context
Add any other context about the problem here.
Stacktrace
Add the stacktrace of the error.

@Toroidals Just to check, if you just restart the hive cli, do you see latest data?

只是为了检查，如果你只是重新启动 hive cli，你会看到最新数据吗？
I have tried restarting the Hive client, but still cannot query the latest data.

@ad1happy2go The amount of data in my table is very large, around 350 million records. The size of each individual Parquet file is around 400MB. I am using index type=bucket, hoodie.bucket.index.num.buckets=SIMPLE, and hoodie.bucket.index.num.buckets=128. Can increasing hoodie.bucket.index.num.buckets and compaction tasks help mitigate this issue, or are there other good solutions available?

@Toroidals Ideally you should not see this issue at all. I see the parquet file with size 0. Was that the parquet file you are missing in hive.
@danny0405 Any insights here?

Is the compaction triggered normally?

Can you check the last_commit_time_sync in hive?  And check if the compaction instant is finished. Maybe the compaction is still running.

@Toroidals Did you got a chance to check it? Were you able to identify the root cause for the issue?


Update microsoft.compute.md

"Azure AD" is the old name so I've updated references to "Microsoft Entra ID"

#please-close


create a navigation drop box for versions after header

Update:
Overview:

Dropdown for versions

https://docs.streamlit.io/library/api-reference/widgets/st.selectbox

Fixed in #13


github.py is included in pygments-main

This is just to keep a note, it may already be mentioned.
The real pygments main package doesn't have a github.py lexer (https://bitbucket.org/birkenfeld/pygments-main/src/7941677dc77d4f2bf0bbd6140ade85a9454b8b80/pygments/lexers/?at=default).
I think the reason it's there is it's copied from custom_lexers https://github.com/tmm1/pygments.rb/blob/master/vendor/custom_lexers/github.py and the intention is to have it register automatically.
I'm going to follow up on the pygments project itself with a more sensible way to register lexers outside of setuptools entry points (http://pygments.org/docs/plugins/).

I followed up over here: https://bitbucket.org/birkenfeld/pygments-main/issues/1392/setuptools-entry-points-only-way-to
Maybe I'm missing something, but I find that I'm using my own lexers for corner cases (not worth patching upstream) and there's no way to make it searchable via lexers.get_lexer_by_name. That means plugins won't be able to find the new lexer.


Allow config_output_path to specify the full path

PR o'clock
Description
Currently the kubectl configuration file is always written to a file named kubeconfig_${var.cluster_name}. I want to write to ~/.kube/config instead, so allow var.config_output_path to refer to a file as well as a directory.
Checklist

[x] terraform fmt and terraform validate both work from the root and examples/* directories
[x] CI tests are passing
[x] I've added my change to CHANGELOG.md and highlighted any breaking changes
[x] README.md has been updated after any changes to variables and outputs. See https://github.com/terraform-aws-modules/terraform-aws-eks/#doc-generation

The module doesn't write this file for this own usage, as otherwise it wouldn't work with write_kubeconfig = false. Of course I can use the local_file resource myself, that's what I am doing at the moment.

@max-rocket-internet any thoughts ?


ISPN-6959 Upgrade to WildFly 10.1

Also bump the configurations to use wildfly domain schema 4.2

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

The failure is unrelated

LGTM... pulling

Integrated thanks!


docs update to explain how to add a dependency from a git repo commit

What's the problem this feature will solve?
There does not appear to be any documentation that explains how to add a dependency based on a github commit url
Describe the solution you'd like
Adding this to the README.md by someone who knows what the format in requirements.in should look like, should be enough to address this.

Info: The syntax should be the same as the requirements.txt and pip install syntax:
git+https://github.com/jazzband/django-axes@0eecff2e57dd1748ce561b9d1340f079feb278f9

We could include a git example directly in the readme, link to the docs, both, or something else?

For me, the most useful place would be to include it in the https://github.com/jazzband/pip-tools#without-setuppy section, with the example requirements.in enriched to show off all possible  source indicators - that way the information's immediately accessible to people who just need to update a dependency for a project that uses a requirements.in file (especially people who rarely every use pip tools =)


Update sublime-text-dev to 3129

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.

Thanks!


Unification modulo #Notation

Right now the itp does unification of terms when applying a theorem.
But it does not take #Notation into consideration.
For instance, even if we have #Notation ( \not ph0 ) ( \imp ph0 \bot ), we cannot use the following statement as a hypothesis of modus ponens:
|- ( \not ph0 )

And one has to use the desugar tactic to expand it first.

added in 03b1a1605a12b3903aafd6db1a3fa6a79a2687c5


Logs Gateway corrupts query

I found this issue in the openshift-logging platform and traced it back to this component.
My example query of { kubernetes_namespace_name="some-namespace" } | json | level = "error" fails with the error
parse error at line 1, col 2002: syntax error: unexpected STRING

Tracing back lead me to the label enforcer, which somehow corrupts this query. In the debug logs i found that the query:
{log_type=~".+", kubernetes_namespace_name=~"<injected namespaces>"} | json | "error|err|eror"

is being sent upstream, meaning that we're losing the level field selector somewhere.
Hope I'm in the right place, but I'm not sure how to debug this further.

cc @periklis

You are looking probably at this fix: #422 422


What other services would you like to see on Notifyme?

Love to hear some suggestions and we are accepting all PR for new services :)

WhatsApp
Yo

Hmm. What about supporting email notifications. That could be done easily through illuminate/mail.

Also, once we get a laravel 5 version of this package, I'm probably going to get styleci to use it. :)

What about supporting amazon's message stuff too?

@GrahamCampbell :+1: Yeah I had mail in mind :)
@jbrooksuk Do you know if WhatsApp has an integration?

That would be awesome!!!!

http://aws.amazon.com/ses/

http://aws.amazon.com/sns/

Do you know if there is info about developing L5 packages yet?

It's pretty much the same.

In the case of this package, there are no changes needed.

Perfect so maybe I can update the composer.json to require also 5.0.
On Jan 10, 2015 4:36 PM, "Graham Campbell"<EMAIL_ADDRESS>wrote:

It's pretty much the same.
—
Reply to this email directly or view it on GitHub
https://github.com/dinkbit/notifyme/issues/2#issuecomment-69474999.

Yeh. "4.2.|5.0.".

TBH, are you sure this doesn't work on 4.1 too. It might be an idea to do: "~4.1|~5.0".

I guess it can work also on 4.1 updating...
On Jan 10, 2015 4:39 PM, "Graham Campbell"<EMAIL_ADDRESS>wrote:

TBH, are you sure this doesn't work on 4.1 too. It might be an idea to do:
"~4.1|~5.0".
—
Reply to this email directly or view it on GitHub
https://github.com/dinkbit/notifyme/issues/2#issuecomment-69475112.

Updated https://github.com/dinkbit/notifyme/commit/2d0190c049484569bf6ff75b5218671efca7c2bc

Intercom?

Upcoming integrations https://github.com/dinkbit/notifyme/commit/56b05dee16c815a256d2e7a5ea7d099fd70f6bda

Perhaps Pushbullet?

Pushover too.

APNS?

Pubnub?

I think we're getting a point where it would make more sense to move notifyme to it's own organisation, and have separate repos for each integration, whereby each integration is able to require it's own dependences, and they all depend on the core pacakge.

Yeah that might be a good idea, since now I'm making each integration lightweight with out dependencies.

Do you want to get started on that now? I can give you a hand. :)

Since this package is so new, we can probably get away with renaming it on packagist too.

You can just delete it and re-add it after changing it's name.

I am not such a fan of the packages with many dependencies, but if you think it would help grow the implementations we can make the change now :)

notifyme org it's in use :( .  https://github.com/notifyme-php

Will help when I have some time :)
Sent from my iPhone

On 12 Jan 2015, at 19:16, Joe Cohen<EMAIL_ADDRESS>wrote:
notifyme org it's in use :( . https://github.com/notifyme-php
—
Reply to this email directly or view it on GitHub.

I am not such a fan of the packages with many dependencies

This way we end up with fewer dependencies, and can test different package versions. For example, if we keep it in one sdk, we are forced to use either aws sdk v2 or aws sdk v3, and can't have separate support for both.

@joecohens Contact github support and ask them to release the name for you. GitHub does not allow name-parking.

GitHub account name squatting is prohibited. Inactive accounts may be renamed or removed by GitHub staff at their discretion. You can examine an account's public profile to see if there's recent activity and request that support release a name for you, but keep in mind that not all activity on GitHub is publicly visible. Staff will not remove or rename any active account.

GitHub account names are provided on a first-come, first-served basis, and are intended for immediate and active use. Account names may not be inactively held for future use.

Attempts to sell, buy, or solicit other forms of payment in exchange for account names are prohibited and may result in permanent account suspension.

I wanna help too. I can try to make pushbullet integration as soon as you guys prepare everything and show the way.

It may be a private repo.
Sent from my iPhone

On 12 Jan 2015, at 20:00, Graham Campbell<EMAIL_ADDRESS>wrote:
@joecohens Contact github support and ask them to release the name for you. GitHub does not allow name-parking.
—
Reply to this email directly or view it on GitHub.

@jbrooksuk I was hopping you do :)
@rscafi Awesome!!!
@GrahamCampbell Thanks I'll contact them!

It may be a private repo.

Yeh, the github staff can check if it's truly unused or not.

If there is some documentation to start with, I would love to jump in and contribute too.

I totally changed how everything worked yesterday. Docs will come soonish.

Plivo

TelAPI

pump.io

xmpp => jabber => "google talk"/hangout

I've created an irc repo. Please do contribute :)

Also xmpp


cal(R) prints the fraktur R, and vice versa

This only seems to affect the uppercase R.

Are you using the latest version? This was fixed recently
https://github.com/typst/typst/pull/593

My bad, I need to update


Update workflow check with new function added in the SDK

Update workflow check with new function added in the SDK

This PR breaks workflow check.
workflowcheck ./...
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
        panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x104880200]

goroutine 1015 [running]:
go/types.(*Checker).handleBailout(0x140022fa200, 0x14002407b98)
        /nix/store/2022s0jnrn2iyxjaikfy51w5fvifp38b-go-1.22.0/share/go/src/go/types/check.go:367 +0x9c
panic({0x104a82be0?, 0x104c9fde0?})
        /nix/store/2022s0jnrn2iyxjaikfy51w5fvifp38b-go-1.22.0/share/go/src/runtime/panic.go:770 +0x124


AsVec wrapper type for associative containers for faster serialization

More traditional serialization systems serialize associative containers like HashMap and BTreeMap as a vector of key-value pairs. This doesn't allow you to leverage the fast lookup or data locality properties that make the default implementations so useful, but if you don't need it then it allow you to reclaim the space and time you spend to construct them.

Fixed by 7647ea7751b9421b52402c9a3219e4a549e916a6


Add a method to change options post initialisation

Specifically, I'd like to be able to control the offset option after constructing Blazy instance.

The use case:

Before DOMContentLoaded event, I want to use offset 0.
After, I want to increase to a different value.

hey @gajus
That's already possible. If you save blazy as a variable you can change the options on the variable whenever you want:
var bLazy = new Blazy();
...
bLazy.options.offset = 100;

@dinbror Thank you for pointing this out. I figured it eventually by looking at the source code, though I was expecting to see a setter. Controlling options in this manner can lead to all sorts of unexpected mutations.

@gajus: yes it also isn't build for that. No setters to keep filesize small


use path-is-absolute polyfill module

No point in hardcoding this. It's the same code as path.isAbsolute() in Node 0.12 and iojs.
https://github.com/sindresorhus/path-is-absolute

I'm getting the same test failures locally on master too. Might have something to do with needing to regenerate test fixtures, but running npm run test-regen fails for me:
npm ERR! Darwin 14.1.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "test-regen"
npm ERR! node v0.12.2
npm ERR! npm  v2.7.4
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>test-regen: `npm run profclean && TEST_REGEN=1 node test/00-setup.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>test-regen script 'npm run profclean && TEST_REGEN=1 node test/00-setup.js'.
npm ERR! This is most likely a problem with the glob package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm run profclean && TEST_REGEN=1 node test/00-setup.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls glob
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/sindresorhus/dev/node-glob/npm-debug.log

Landed on master.  Thanks!


Rework TMX struct

https://github.com/32blit/32blit-tools/pull/79
Also makes load_tmx reject unhandled maps instead of drawing a broken mess.

grits teeth
Thank you! Breaking changes in release candidates hooray! :laughing:


Bump lightspark-remote-signing version

Current dependencies on/for this PR:

main

PR #40   👈

This stack of pull requests is managed by Graphite.


when can we expect the next release. Very nice project

when can we expect the next release. Very nice project. Really liked the approach.

since the original creator is not here anymore, we made a new repository here. Everyone is welcome to join https://join.slack.com/t/caesarcommerce/shared_invite/enQtNTA0ODExMjIyNjU3LWRhNTM2YzQ4MzMwMjMzN2Y1ZTNmYTkzMWJiOTg5NmE3OGZmOWRlNzViMmQyOTM1NjZjOGNlMWUyNmU5MzJmNjE

you can find new releases at https://github.com/cezerin2/cezerin2
don't forget to close this issue

@ravitalari


Could not automatically map gpt-35-turbo to a tokeniser.

The bug
When I run the code below, I get this error:
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
Cell In[16], line 1
----> 1 llm = guidance.llms.OpenAI(
      2     model="gpt-35-turbo",
      3     api_type="azure",
      4     api_key=OPENAI_API_KEY,
      5     api_base=OPENAI_API_ENDPOINT,
      6     api_version=OPENAI_API_VERSION,
      7 )

File ~\AppData\Local\Programs\Python\Python39\lib\site-packages\guidance\llms\_openai.py:179, in OpenAI.__init__(self, model, caching, max_retries, max_calls_per_min, api_key, api_type, api_base, api_version, deployment_id, temperature, chat_mode, organization, rest_call, allowed_special_tokens, token, endpoint, encoding_name)
    177 import tiktoken
    178 if encoding_name is None:
--> 179     encoding_name = tiktoken.encoding_for_model(model).name
    180 self._tokenizer = tiktoken.get_encoding(encoding_name)
    181 self.chat_mode = chat_mode

File ~\AppData\Local\Programs\Python\Python39\lib\site-packages\tiktoken\model.py:70, in encoding_for_model(model_name)
     67             return get_encoding(model_encoding_name)
     69 if encoding_name is None:
---> 70     raise KeyError(
     71         f"Could not automatically map {model_name} to a tokeniser. "
     72         "Please use `tiktok.get_encoding` to explicitly get the tokeniser you expect."
     73     ) from None
     75 return get_encoding(encoding_name)

KeyError: 'Could not automatically map gpt-35-turbo to a tokeniser. Please use `tiktok.get_encoding` to explicitly get the tokeniser you expect.'

To Reproduce
Give a full working code snippet that can be pasted into a notebook cell or python file. Make sure to include the LLM load step so we know which model you are using.
llm = guidance.llms.OpenAI(
    model="gpt-35-turbo",
    api_type="azure",
    api_key=OPENAI_API_KEY,
    api_base=OPENAI_API_ENDPOINT,
    api_version=OPENAI_API_VERSION,
)

System info (please complete the following information):

OS (e.g. Ubuntu, Windows 11, Mac OS, etc.): Windows 11
Guidance Version: 0.0.64

The model name is gpt-3.5-turbo (mind the .)

Thank you @cestoliv

I think we could throw a more informative error here, but @cestoliv is right -- changing the model name should solve things here! Feel free to re-open if there are continued issues.


License file doesn't install automatically in EAP 7

In the EAP 7 branch setting DT_SERVER_LICENSE_KEY_FILE_URL=<something> doesn't actually do anything.  I had to apply the license via the thick client instead.
I don't see any references to any script actually calling https://github.com/Dynatrace/Dynatrace-Docker/blob/EAP_<IP_ADDRESS>6/Dynatrace-Server/build/scripts/pull-license-key-file.sh
I even tried running that script at boot, and it copied the license in place, but it didn't do anything.

Hi @pearj
Thanks for the feedback. It is fixed in 7fafab3. Let us know if it works for you.
Thanks,
BT


undefined method `empty?' for nil:NilClass

undefined method `empty?' for nil:NilClass
  Use --trace for backtrace

asciidoctor-fb2 -v
Asciidoctor FB2 0.2.2 using Asciidoctor 2.0.10 [https://asciidoctor.org]
Runtime Environment (ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux-gnu]) (lc:UTF-8 fs:UTF-8 in:UTF-8 ex:UTF-8)

I need output with --trace

asciidoctor-fb2 index.adoc --trace
Traceback (most recent call last):
        47: from /usr/local/bin/asciidoctor-fb2:23:in `<main>'
        46: from /usr/local/bin/asciidoctor-fb2:23:in `load'
        45: from /var/lib/gems/2.5.0/gems/asciidoctor-fb2-0.2.2/bin/asciidoctor-fb2:24:in `<top (required)>'
        44: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/cli/invoker.rb:111:in `invoke!'
        43: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/cli/invoker.rb:111:in `each'
        42: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/cli/invoker.rb:128:in `block in invoke!'
        41: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/convert.rb:183:in `convert_file'
        40: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/convert.rb:183:in `open'
        39: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/convert.rb:183:in `block in convert_file'
        38: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/convert.rb:118:in `convert'
        37: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/document.rb:951:in `convert'
        36: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/converter.rb:388:in `convert'
        35: from /var/lib/gems/2.5.0/gems/asciidoctor-fb2-0.2.2/lib/asciidoctor_fb2.rb:75:in `convert_document'
        34: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/document.rb:1020:in `content'
        33: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/abstract_block.rb:84:in `content'
        32: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/abstract_block.rb:84:in `map'
        31: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/abstract_block.rb:84:in `block in content'
        30: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/abstract_block.rb:75:in `convert'
        29: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/converter.rb:388:in `convert'
        28: from /var/lib/gems/2.5.0/gems/asciidoctor-fb2-0.2.2/lib/asciidoctor_fb2.rb:103:in `convert_section'
        27: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/abstract_block.rb:84:in `content'
        26: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/abstract_block.rb:84:in `map'
        25: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/abstract_block.rb:84:in `block in content'
        24: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/abstract_block.rb:75:in `convert'
        23: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/converter.rb:388:in `convert'
        22: from /var/lib/gems/2.5.0/gems/asciidoctor-fb2-0.2.2/lib/asciidoctor_fb2.rb:107:in `convert_section'
        21: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/abstract_block.rb:84:in `content'
        20: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/abstract_block.rb:84:in `map'
        19: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/abstract_block.rb:84:in `block in content'
        18: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/abstract_block.rb:75:in `convert'
        17: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/converter.rb:388:in `convert'
        16: from /var/lib/gems/2.5.0/gems/asciidoctor-fb2-0.2.2/lib/asciidoctor_fb2.rb:107:in `convert_section'
        15: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/abstract_block.rb:84:in `content'
        14: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/abstract_block.rb:84:in `map'
        13: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/abstract_block.rb:84:in `block in content'
        12: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/abstract_block.rb:75:in `convert'
        11: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/converter.rb:388:in `convert'
        10: from /var/lib/gems/2.5.0/gems/asciidoctor-fb2-0.2.2/lib/asciidoctor_fb2.rb:115:in `convert_paragraph'
         9: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/block.rb:113:in `content'
         8: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/substitutors.rb:91:in `apply_subs'
         7: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/substitutors.rb:91:in `each'
         6: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/substitutors.rb:102:in `block in apply_subs'
         5: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/substitutors.rb:379:in `sub_macros'
         4: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/substitutors.rb:379:in `gsub'
         3: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/substitutors.rb:396:in `block in sub_macros'
         2: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/inline.rb:32:in `convert'
         1: from /var/lib/gems/2.5.0/gems/asciidoctor-2.0.10/lib/asciidoctor/converter.rb:388:in `convert'
/var/lib/gems/2.5.0/gems/asciidoctor-fb2-0.2.2/lib/asciidoctor_fb2.rb:193:in `convert_inline_menu': undefined method `empty?' for nil:NilClass (NoMethodError)

Thanks.
Minimal testcase is:
= Title
:experimental:

menu:File[]

Fixed in 0.2.3 :)

You did it! It works now.


Bugfix: DecentDatePicker jankyiness

Make sure Date is correctly time to UTC.
Selecting Date Range isn't smooth

Closed via #2268


Swift 4 Compatibility Issues

Pod is not converted to Swift 4 properly yet. Looking forward to it. I have integrated this pob previously in my project now i am stuck with it.

I hope you guys convert it to swift 4 and compatible to Xcode 9 soon
Installing BSGridCollectionViewLayout 1.2.0 (was 1.2.0-swift23)
Installing BSImagePicker 2.7.1
I have updated my pods even then i am facing the issue.
Issue 150 was also about the same issue and was closed but issue is not solved yet

This should indeed be solved by now, but yes as you have to change swift language version in the project file.


Add support for adding devices to container

Also add --quiet option to kpod create/run since
this will help with writing tests.
Signed-off-by: Daniel J Walsh<EMAIL_ADDRESS>

LGTM

LGTM

@rh-atomic-bot r=TomSweeneyRedHat


Component not found: sonoff

I installed again HA from 0,
with component Sonoff , said me Component not found: sonoff
¿can help me?
Thanks

Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/loader.py",                                                                                line 166, in _load_file
module = importlib.import_module(path)
File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/homeassistant/.homeassistant/custom_components/sonoff/init.py"                                                                                , line 28, in
import websocket
ModuleNotFoundError: No module named 'websocket'
2019-05-02 20:53:34 ERROR (MainThread) [homeassistant.loader] Unable to find com                                                                                ponent sonoff
2019-05-02 20:53:34 INFO (MainThread) [homeassistant.loader] Loaded notify from                                                                                homeassistant.components.notify
2019-05-02 20:53:34 INFO (MainThread) [homeassistant.loader] Loaded cloud from h                                                                                omeassistant.components.cloud
2019-05-02 20:53:34 INFO (MainThread) [homeassistant.loader] Loaded camera from                                                                                homeassistant.components.camera
2019-05-02 20:53:34 INFO (MainThread) [homeassistant.loader] Loaded script from                                                                                homeassistant.components.script
2019-05-02 20:53:34 INFO (MainThread) [homeassistant.loader] Loaded weather from                                                                                homeassistant.components.weather
2019-05-02 20:53:34 ERROR (MainThread) [homeassistant.loader] Error loading cust                                                                                om_components.sensor. Make sure all dependencies are installed
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/loader.py",                                                                                line 166, in _load_file
module = importlib.import_module(path)
File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed

I try reboot pc and HA sometimes

install missing python module
import websocket
ModuleNotFoundError: No module named 'websocket

Sent with GitHawk

ok., i have been installe , but now on restart, HA not work
Thanks in advanced

i'm sorry to say this, but it looks to me that you are ignoring basic installation steps and you're not offering enough enough details to work with.
due to time constrains, this project is not meant to offer support for everyone and all the levels (you might be better off searching help on the dedicated community forum). if this it's not working for you there's always the tasmota flashing alternative.
all the best!


libjxl: 0.5 -> 0.6.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/libjxl/libjxl/releases.
meta.description for libjxl is: "JPEG XL image format reference implementation."
meta.homepage for libjxl is: "https://github.com/libjxl/libjxl"
meta.changelog for libjxl is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
/nix/store/wngxy8ppi05g6pykxmaw7a0xsgmkyjrn-libjxl-0.6.1/bin/djxl passed the binary check.
/nix/store/wngxy8ppi05g6pykxmaw7a0xsgmkyjrn-libjxl-0.6.1/bin/cjxl passed the binary check.
/nix/store/wngxy8ppi05g6pykxmaw7a0xsgmkyjrn-libjxl-0.6.1/bin/benchmark_xl passed the binary check.
3 of 3 passed binary check by having a zero exit code.
3 of 3 passed binary check by having the new version present in output.
found 0.6.1 with grep in /nix/store/wngxy8ppi05g6pykxmaw7a0xsgmkyjrn-libjxl-0.6.1
found 0.6.1 in filename of file in /nix/store/wngxy8ppi05g6pykxmaw7a0xsgmkyjrn-libjxl-0.6.1

Rebuild report (if merged into master) (click to expand)

415 total rebuild path(s)

284 package rebuild(s)

284 x86_64-linux rebuild(s)
0 i686-linux rebuild(s)
131 x86_64-darwin rebuild(s)
0 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
abiword
adapta-gtk-theme
aether
almanah
arc-theme
arx-libertatis
asc-key-to-qr-code-gif
asciidoc-full
asciidoc-full-with-plugins
asymptote
authenticator
auto-multiple-choice
autotrace
awesome
awesome-4-0
ballerburg
beets
beetsExternalPlugins.alternatives
beetsExternalPlugins.copyartifacts
beetsExternalPlugins.extrafiles
betterlockscreen
bibata-cursors
bibata-cursors-translucent
bibata-extra-cursors
bisq-desktop
blockhash
bombono
brasero
brasero-original
btrbk
calibre
calibre-web
calligra
capitaine-cursors
cd-hit
chafa
chrome-gnome-shell
ciano
cinnamon.cinnamon-screensaver
cinnamon.iso-flags-png-320x420
cinnamon.iso-flags-svg
clevis
crypto-org-wallet
cuneiform
dblatexFull
deliantra-arch
deliantra-maps
deliantra-server
denemo
devede

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/wngxy8ppi05g6pykxmaw7a0xsgmkyjrn-libjxl-0.6.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A libjxl https://github.com/r-ryantm/nixpkgs/archive/71a1e6b56265fdeda545899406e17613d273dcae.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/wngxy8ppi05g6pykxmaw7a0xsgmkyjrn-libjxl-0.6.1
ls -la /nix/store/wngxy8ppi05g6pykxmaw7a0xsgmkyjrn-libjxl-0.6.1/bin

Pre-merge build results
NixPkgs review skipped

Maintainer pings
cc @nh2 for testing.

#144394
https://nvd.nist.gov/vuln/detail/CVE-2021-22563
https://nvd.nist.gov/vuln/detail/CVE-2021-22564

Preparing patch for stable releases as it's explicitly mentioned as an option by upstream.

Fails for me on macos 10.15 with
[ 47%] Built target jxl_enc-obj
[ 47%] Built target jxl_dec-obj
[ 47%] Linking CXX shared library ../libjxl.dylib
[ 47%] Linking CXX shared library ../libjxl_dec.dylib
[ 48%] Linking CXX static library libjxl_dec.a
[ 50%] Linking CXX static library libjxl.a
ld: unknown option: --exclude-libs=ALL
clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/CMakeFiles/jxl.dir/build.make:320: libjxl.0.6.1.dylib] Error 1
make[1]: *** [CMakeFiles/Makefile2:3870: lib/CMakeFiles/jxl.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
ld: unknown option: --exclude-libs=ALL
clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/CMakeFiles/jxl_dec.dir/build.make:213: libjxl_dec.0.6.1.dylib] Error 1
make[1]: *** [CMakeFiles/Makefile2:3013: lib/CMakeFiles/jxl_dec.dir/all] Error 2
[ 50%] Built target jxl_dec-static
[ 50%] Built target jxl-static
make: *** [Makefile:146: all] Error 2
builder for '/nix/store/785zvb41g7rb9kf6jy7qg9s3cjpmkn35-libjxl-0.6.1.drv' failed with exit code 2
error: build of '/nix/store/785zvb41g7rb9kf6jy7qg9s3cjpmkn35-libjxl-0.6.1.drv' failed

Looks like https://github.com/libjxl/libjxl/pull/582 might be the answer. Annoying that it's not in the stable release.

Builds for me, macos 10.15 & nixos x86_64


HDDS-10190. [hsync] Handle lease recovery for file without blocks.

What changes were proposed in this pull request?
Handle lease recovery for the file which don't have any blocks. Once after file is created and hsync is called the lease recovery can be called before any block allocation after the soft limit period. In this case recovery should work and file should get closed.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-10190
How was this patch tested?
Unit test

@ChenSammi @jojochuang, Can you please take a look.


JSX element renaming issues

I just noticed that renaming an JSX element doesn't rename the end tag. I also expect renaming an intrinsic element would be local, when in fact, it renames all elements of that type and even the interface member of JSX.IntrinsicElements. Renaming intrinsic elements is quite destructive for a project.

I just noticed that renaming an JSX element doesn't rename the end tag

Ouch, definitely a bug

I also expect renaming an intrinsic element would be local

I think the more likely fix is that we would disallow this the same way we disallow renaming things in lib.d.ts. Rename always means 'rename', not 'change to some other thing' -- switching a div to a span or what not should be a different operation.

Rename always means 'rename', not 'change to some other thing

:+1:
@RyanCavanaugh I also find that go to definition in the end tag doesn't work.

#4096 should fix that as well


MudDatePicker: Add support for custom classes to be applied to specific days

Similar to IsDateDisabledFunc, the MudDatePicker component now accepts another function that applies a custom class to specific days.
Description
Implements issue #4666.
How Has This Been Tested?
Only visually
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[X] The PR is submitted to the correct branch (dev).
[X] My code follows the code style of this project.
[ ] I've added relevant tests.

Hello,
sorry for the (long) delay, I was very busy in other projects. I've now pushed a new commit with a new unit test that makes shure the class is actually added to the button object.
Please check this out.
Thanks, Juri

Thanks Juri!

Thanks to you for the excellent work on this project. It's a pleasure to give my very little contribute to it!


Ignore archived subscriptions on notifications

Got a monthly notification and an archived subscription was listed.
Silly bug.

CI passed but it wasn't updated here. Merging..


Creating site not work - Site status 3

Hello,
Reference: https://github.com/pnp/PnP-Sites-Core/issues/2538 .
Please,
This problem still exists, is there an action or something to do to solve this problem? (with the LCID to 1033)
Thanks
Best regards

This error occurs mostly when you have a site with the same name/url in your active or deleted sites. Try to permanently delete the site first.

Also, if you try all the suggestions and nothings seems to work, try having as an Owner a different user than the one who's running the script. This was what finally solved New-PnPSite error for me. I run my code in an Azure Pipeline's task with an app-only connection. So far I've learned that some things with PnP work locally but not in the pipeline.


Large image headers decrease docs usability

The large image header on each page requires a user to scroll past the height of the viewport just to read the content of the page. This is rather annoying, and I'm not sure why this whitespace was added. Simply removing this rule makes the  docs significantly easier to read.
It's especially annoying when I'm switching between pages looking for a specific piece of information, as the page's table of contents is below the fold, requiring me to scroll just to figure out if the page I'm on contains the information I'm looking for.

Fixed by https://github.com/influxdata/docs.influxdata.com/pull/352


Edit README for new user friendliness

@minrk I did a quick pass through the README since there has been some recent user questions on SudoSpawner.

Thanks!