LSTM: Warnings on console when using -oem 4 on command line on windows

While using png files as input and using oem 4 - LSTM, tesseract gives warnings on console in command mode. oem 0, 1, 2 and 3 gives no warnings.
On Windows 10, using 4.0 Alpha binaries provided by @stweil  and 4.0 alpha traineddata

tesseract hin001.png hin001-hin-3 -oem 3 -l hin
Tesseract Open Source OCR Engine v4.00.00alpha with Leptonica

tesseract hin001.png hin001-hin-4 -oem 4 -l hin
Tesseract Open Source OCR Engine v4.00.00alpha with Leptonica
Warning in pixWriteMemPng: work-around: writing to a temp file
Warning in fopenReadFromMemory: work-around: writing to a temp file
Warning in pixWriteMemPng: work-around: writing to a temp file
Warning in fopenReadFromMemory: work-around: writing to a temp file
...

The warnings seem to be given per line, so a page with 20 lines of text gets about 40 lines of messages.
I have not tested this in the linux environment. The warnings are probably from leptonica.

What is an issue?

There are a large number of warning messages when using -oem 4, not with other oem modes.
Is there a way to eliminate these?
C:\shree>tesseract san001.png san001 -oem 4 -l san
Tesseract Open Source OCR Engine v4.00.00alpha with Leptonica
Detected 18 diacritics
Warning in pixWriteMemPng: work-around: writing to a temp file
Warning in fopenReadFromMemory: work-around: writing to a temp file
Warning in pixWriteMemPng: work-around: writing to a temp file
Warning in fopenReadFromMemory: work-around: writing to a temp file
Warning in pixWriteMemPng: work-around: writing to a temp file
Warning in fopenReadFromMemory: work-around: writing to a temp file
Warning in pixWriteMemPng: work-around: writing to a temp file
Warning in fopenReadFromMemory: work-around: writing to a temp file
Warning in pixWriteMemPng: work-around: writing to a temp file
Warning in fopenReadFromMemory: work-around: writing to a temp file
Warning in pixWriteMemPng: work-around: writing to a temp file
Warning in fopenReadFromMemory: work-around: writing to a temp file
Warning in pixWriteMemPng: work-around: writing to a temp file
Warning in fopenReadFromMemory: work-around: writing to a temp file
Warning in pixWriteMemPng: work-around: writing to a temp file
Warning in fopenReadFromMemory: work-around: writing to a temp file
Warning in pixWriteMemPng: work-around: writing to a temp file
Warning in fopenReadFromMemory: work-around: writing to a temp file
Warning in pixWriteMemPng: work-around: writing to a temp file
Warning in fopenReadFromMemory: work-around: writing to a temp file
Warning in pixWriteMemPng: work-around: writing to a temp file
Warning in fopenReadFromMemory: work-around: writing to a temp file
Warning in pixWriteMemPng: work-around: writing to a temp file
Warning in fopenReadFromMemory: work-around: writing to a temp file
Warning in pixWriteMemPng: work-around: writing to a temp file
Warning in fopenReadFromMemory: work-around: writing to a temp file
Warning in pixWriteMemPng: work-around: writing to a temp file
Warning in fopenReadFromMemory: work-around: writing to a temp file
Warning in pixWriteMemPng: work-around: writing to a temp file
Warning in fopenReadFromMemory: work-around: writing to a temp file
Warning in pixWriteMemPng: work-around: writing to a temp file
Warning in fopenReadFromMemory: work-around: writing to a temp file
Warning in pixWriteMemPng: work-around: writing to a temp file
Warning in fopenReadFromMemory: work-around: writing to a temp file
Warning in pixWriteMemPng: work-around: writing to a temp file
Warning in fopenReadFromMemory: work-around: writing to a temp file
Warning in pixWriteMemPng: work-around: writing to a temp file
Warning in fopenReadFromMemory: work-around: writing to a temp file
Warning in pixWriteMemPng: work-around: writing to a temp file
Warning in fopenReadFromMemory: work-around: writing to a temp file
Warning in pixWriteMemPng: work-around: writing to a temp file
Warning in fopenReadFromMemory: work-around: writing to a temp file
Warning in pixWriteMemPng: work-around: writing to a temp file
Warning in fopenReadFromMemory: work-around: writing to a temp file
Warning in pixWriteMemPng: work-around: writing to a temp file
Warning in fopenReadFromMemory: work-around: writing to a temp file
Warning in pixWriteMemPng: work-around: writing to a temp file
Warning in fopenReadFromMemory: work-around: writing to a temp file

The warnings are indeed from Leptonica. They will not appear in Linux.

Is there a way to eliminate these?

https://github.com/tesseract-ocr/tesseract/issues/292#issuecomment-222529057

Warnings are not limited to png, same for tif, gif and jpg.

use tesseract user forum for asking question.
this is more leptonica build problem (allowed warnings)
Did you tried https://github.com/tesseract-ocr/tesseract/wiki/FAQ#how-can-i-suppress-tesseract-info-line?

They will not appear in Linux.
Because that problem is related to windows...

@zdenop @amitdo Thanks!
@stweil Is the version of leptonica included with the windows binaries a debug version?

Warnings are not limited to png, same for tif, gif and jpg.

Still same answer...
It not a bug, although from a end user point of view it sure looks confusing.

The warnings are an indicator for potential optimizations and require more examination by developers, so I see there an issue to be discussed here.
AFAIK Leptonica warns when an image file is going to be mapped to memory, something that is unsupported for Leptonica's Windows code which uses a temporary file copy as an alternative.
If OCR of a single image results in many (number of lines) of those warnings, that might be caused by the same image being opened very often, or Tesseract acts on in-memory line images, but Leptonica for Windows has to write those images to disk. Then it is clear that at least for Windows the performance suffers and something should be done - either in Leptonica code or in Tesseract.

Is the version of leptonica included with the windows binaries a debug version?

No, it is production code. Such warnings also occurr(ed) with Tesseract 3.05 and earlier, for example when processing JPEG 2000 images (but only once per image). Some improvements in newer Leptonica code reduced the cases where this kind of warnings are shown.

++<EMAIL_ADDRESS>cc:ing Dan Bloomberg for his input regarding Leptonica
ShreeDevi

भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com
On Fri, Dec 2, 2016 at 7:12 PM, Stefan Weil<EMAIL_ADDRESS>wrote:

The warnings are an indicator for potential optimizations and require more
examination by developers, so I see there an issue to be discussed here.
AFAIK Leptonica warns when an image file is going to be mapped to memory,
something that is unsupported for Leptonica's Windows code which uses a
temporary file copy as an alternative.
If OCR of a single image results in many (number of lines) of those
warnings, that might be caused by the same image being opened very often,
or Tesseract acts on in-memory line images, but Leptonica for Windows has
to write those images to disk. Then it is clear that at least for Windows
the performance suffers and something should be done - either in Leptonica
code or in Tesseract.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tesseract-ocr/tesseract/issues/522#issuecomment-264456364,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE2_o78_PkgYGsXTyk4uL6PqJdNjEorFks5rECBXgaJpZM4LCeas
.

@stweil
#292 (comment)
How did you compile Leptonica?

http://www.leptonica.org/source/README.html

Compile-time control over stderr output (see environ.h)

Leptonica provides both compile-time and run-time control over
messages and debug output (thanks to Dave Bryan).  Both compile-time
and run-time severity thresholds can be set.  The run-time threshold
can also be set by an environmental variable.  Messages are
vararg-formatted and of 3 types: error, warning, informational.
These are all macros, and can be further suppressed when
NO_CONSOLE_IO is defined on the compile line.  For production code
where no output is to go to stderr, compile with -DNO_CONSOLE_IO.

https://github.com/DanBloomberg/leptonica/blob/7e0191abd/src/environ.h#L290

It not a bug, but I agree that there is a place for improvements.

How did you compile Leptonica?

Basically I used ./configure: make; make install, but in a cross build on Debian GNU Linux.

In production, there should be no need to see any leptonica output (info, warnings, errors) to stderr.
Methods for suppressing them are described above by Amit.
These messages are arguably INFO rather than WARNING.
Writes to file for in-memory I/O on Windows are no longer required for gif and tiff formats. They were never required for webp.  They are still required for jpeg, jp2k and png.

Dan,
Thanks for the info.

Reads and writes from/to file for in-memory I/O on Windows are no longer required for gif and tiff formats.

Since which version?
The solution to the optimization problem might be in this specific case to always save the textlines images to tiff in memory.

Technically, the warnings occur on any platform which does not have a fmemopen function. Leptonica outputs them using a macro L_WARNING. It is possible to call setMsgSeverity from Tesseract code to disable any warning message from Leptonica (I don't think that would be a good idea).

Amit,
1.73 required r/w for in-memory I/O for gif and tiff on Windows. The current github master (and soon to be release 1.74.0) does not.  The tiff patch was contributed by Stefan.
Yes, any 1 bpp images (e.g., in tesseract/viewer and ccstruct) can be output in IFF_TIFF_G4, which typically has better compression than png.  Grayscale and color can be output in TIFF_ZIP or TIFF_LZW, which are typically inferior to png in compression.

Stefan, we can downgrade those messages in leptonica to INFO, and you can use setMsgSeverity() to disable INFO statements.

That would be possible, yes. But without those nagging messages, I'd never have had a look on that part of Leptonica.

Nevertheless, this seems like a reasonable thing to do to solve this annoyance and still present other WARNING messages.

Annoying messages have now been downgraded to INFO at github head.
You can use this in tesseract code to suppress all INFO and less urgent messages at run time:
setMsgSeverity(L_SEVERITY_WARNING);
Alternatively, for a bit more flexibility, you can define the environmental variable
#define  LEPT_MSG_SEVERITY   L_SEVERITY_WARNING
and use
setMsgSeverity(L_SEVERITY_EXTERNAL);
You can also change the severity level to WARNING and higher at compile time with this compiler flag:
-DDEFAULT_SEVERITY=4
This can be over-ridden at run time with either of the first two methods.

Reads and writes from/to file for in-memory I/O on Windows are no longer required for gif and tiff formats.

I wonder how giflib and libiff do the equivalence of fmemopen on Windows.

@DanBloomberg : Thanks for support. Maybe it would be good to enable all warning for debug builds and hide them for release builds.

@zdenop  That's an interesting idea.  Default setting is for INFO, WARNING and ERROR, but for a release that will be used in production it makes sense to only show ERROR.

@amitdo
Look at the leptonica wrappers for tiff (tiffio.c) and gif (gifio.c) to see how it is done.
Even better, the webp library implements compression and decompression directly with memory buffers, not with file streams. This is very nice, because it's platform independent, and you can easily read and write to files using it (see webpio.c). I wish the other image compression libraries had been implemented that way, but ...


Custom scrollbar

Adding a custom scrollbar would improve the look of the website.

Hey @parthpanchal123 can I work on this for Hacktoberfest 2021? You can let me know your colour preferences, if any.

Black probably

Black probably

I too thought the same. Please add hacktoberfest label and assign me.

@parthpanchal123 do have a look at #15


added update functions

i added update functions for shaders

this..
no.
this isnt.. how these shaders are used.


Benchmarks

As guidance perhaps you can benchmark against similarly frameworks. Though not exact matchers include: http://www.seastar-project.org/, http://actor-framework.org/, http://www.ponylang.org/

The plan was to launch a benchmark suite after the JSON stats API was implemented. That way it becomes very easy with script a topology with python, run it, gather the results, make nice plots with matplotlib (or similar). Anyway, the JSON stats are in now and FWIW, I did use them to do some basic profiling on the scheduling overhead.
Anyway, the issue for the benchmarks is here: https://github.com/pothosware/pothos/issues/5 And I would be interested to learn about any particular topologies that are of interest, worth optimizing for, or useful for comparison purposes.


Also apply rendition upload logic to remote-B results

Opened the same PR last night:
https://github.com/livepeer/catalyst-api/pull/107


Request - Check Each Week of Asda Slots

Currently the asda bot is able to only check the first week, is it possible to make it check each week? Like how this site does it http://shoppingslot.co.uk/

I'm planning to do this, just there's a little complexity in getting the snapshot of each 4 day slide (although I can easily just get the full slot list for the weeks ahead without)

I'm planning to do this, just there's a little complexity in getting the snapshot of each 4 day slide (although I can easily just get the full slot list for the weeks ahead without)

If you're unable to get a screenshot version I think everyone would be fine with it just sending over a message with the slots available, an asda bot is needed because they post slots whenever they feel like it which is incredibly annoying

I second this, would be happy enough without the screenshot for now if it is easy to get the full slot list for the weeks ahead. Would be really helpful.

+1 @gitnatalie


Add more functionality to find command

Currently, find only returns 1 module. Maybe include find /t, find /m {first 2/3 letters of module code} and find /y also?

Need to make it behave more like a filter


applying a patch doesn't result in a modified object

Hi, and thanks for you work on this. I'm trying to see if json-joy is a good fit in order to add collaboration features.
Here's the code I have (roughly):
import { Model } from "json-joy/es6/json-crdt";
import { s } from "json-joy/es6/json-crdt-patch";
import { encode, decode } from "json-joy/es6/json-crdt-patch/codec/verbose";

// Instanciate the model
const model = Model.withLogicalClock();
model.api.root({
  markers: {},
});

// Generate a patch when needed (here that's when a new marker is created on the map)
model.api.obj("markers").set({ [uuid]: s.con(latlng) });
// send it to the websocket
ws.send("patch", encode(model.api.flush()));

// When receiving stuff from the websocket, apply the patch
let ws = new WebSocketTransport(({ kind, payload }) => {
  if (kind == "patch") {
    console.log("got a patch from another client");
    let patch = decode(payload);
    model.api.apply(patch);
    console.log(model.api.view());
  }
});

The websocket is mainly here to relay messages from one client to the other.

When the patches are applied (on the receiving end), it results in an empty view, and I'm not sure what I'm doing wrong.
Here are are a few questions:

I've seen in the exemples that it's initiating the same state by creating the model from the same binary (using Model.fromBinary). Is it possible to initiate from an empty state without doing that?
Why does the .view() return an empty object after applying the patch? (I see on the other client that the same .view() returns the markers I added.

Why does the .view() return an empty object after applying the patch?

My guess, that is because you have two different documents and each document has a different objects (root object and object at /markers) inside of them. So, when you apply the operations on the second document, the operations cannot find the objects.

Is it possible to initiate from an empty state without doing that?

Yes, you need to initiate a document with the default state on each state with the same session ID. And then fork it on each end. That way the common schema (the objects) will have the same IDs.
See example here: https://runkit.com/streamich/json-joy-issue-541
(Note on both ends documents are started with the same common session ID 11111111 and then forked. Once forked a new session ID is generated randomly.)


[new feature] multi-lines Input

Current Input commits the msg once Enter is pressed. However, in some situations, we need Enter to start a new line just like  using an editor. In my case, I want to make a chatGPT dialog CLI tool, which needs inputting multi-lines to be sent to the API, it's naturally that I want to read multi-lines from terminal.
Enter just submits the input content, while Shift+Enter not works either.
Expected
One of the two:

add Input::new_line_keys_binding(&mut self, keys: Key) to allow starting a new line.
new MultilLineInput, in which CMD+Enter on macOS or Ctrl+Enter on Windows to commit.

I found it's nearly impossible with console::Key...

I found it's nearly impossible with console::Key...

...and trying to move out from console crate makes things pretty complicated

Implemented in PR #54

@kingwingfly cliclack v0.3.0 is alive!

Awesome！！

@fadeevab I found that I was not included into contributor list properly. Maybe @kingwingfly should be removed from Co-authored-by: Louis<EMAIL_ADDRESS>@kingwingfly

@fadeevab I found that I was not included into contributor list properly. Maybe @kingwingfly should be removed from Co-authored-by: Louis<EMAIL_ADDRESS>@kingwingfly

Right, fixed :)

Thank you!


[BUG] Unable to build website

Describe the bug
When I execute hugo server at  v0.79.1/extended windows/amd64 ,
I copy the config.toml from themes\uBlogger\exampleSite\  ,
then show an error as follow.
BUT, when using  Basic Configuration ,it's ok ,and just cannot show homepage (Other pages are normal)
Screenshots
Start building sites …
WARN 2020/12/31 20:40:00

Current environment is "development". The "comment system", "CDN" and "fingerprint" will be disabled.
当前运行环境是 "development". "评论系统", "CDN" 和 "fingerprint" 不会启用.

ERROR 2020/12/31 20:40:01 render of "page" failed: execute of template failed: template: posts/single.html:131:16: executing "no-content" at <partial "single/footer.html" .>: error calling partial: "D:\youdef.com\themes\uBlogger\layouts\partials\single\footer.html:11:14": execute of template failed: template: partials/single/footer.html:11:14: executing "partials/single/footer.html" at <index .Site.Data.authors $authorName>: error calling index: index of untyped nil
ERROR 2020/12/31 20:40:01 render of "page" failed: execute of template failed: template: posts/single.html:131:16: executing "no-content" at <partial "single/footer.html" .>: error calling partial: "D:\youdef.com\themes\uBlogger\layouts\partials\single\footer.html:11:14": execute of template failed: template: partials/single/footer.html:11:14: executing "partials/single/footer.html" at <index .Site.Data.authors $authorName>: error calling index: index of untyped nil
ERROR 2020/12/31 20:40:01 render of "page" failed: execute of template failed: template: _default/single.html:34:16: executing "_default/single.html" at <partial "footer.html" .>: error calling partial: "D:\youdef.com\themes\uBlogger\layouts\partials\footer.html:36:30": execute of template failed: template: partials/footer.html:36:30: executing "partials/footer.html" at <index .Site.Data.authors $authorName>: error calling index: index of untyped nil
ERROR 2020/12/31 20:40:01 render of "home" failed: execute of template failed: template: index.html:36:20: executing "content" at <.Render>: error calling Render: "D:\youdef.com\content\posts\daohang.md:42:26": failed to execute template ["summary"] v: "D:\youdef.com\themes\uBlogger\layouts\_default\summary.html:42:26": execute of template failed: template: _default/summary.html:42:26: executing "_default/summary.html" at <index .Site.Data.authors $authorName>: error calling index: index of untyped nil
Built in 275 ms
Error: Error building site: failed to render pages: render of "page" failed: execute of template failed: template: _default/single.html:34:16: executing "_default/single.html" at <partial "footer.html" .>: error calling partial: "D:\youdef.com\themes\uBlogger\layouts\partials\footer.html:36:30": execute of template failed: template: partials/footer.html:36:30: executing "partials/footer.html" at <index .Site.Data.authors $authorName>: error calling index: index of untyped nil

Build Environment

OS: [Windows 10,]
Theme version/commit [ ?how to see, maybe lastest ]
Hugo version [v0.79.1/extended windows/amd64 ]

Please try to use Hugo extended version before opening the issue.
Screenshot of homepage by using Basic Configuration
(https://s3.ax1x.com/2020/12/31/rvgC6I.png)

@achenger  it's not a bug here you have the solution

tks, I start the site lucky,
but, there is no posts list in homepage, shown as:
(https://s3.ax1x.com/2020/12/31/rvc4kF.png)
   [params.home.posts]
      enable = true
      # special amount of posts in each home posts page
      paginate = 6

Do you have posts in the content folder?

Yes, I have posts. you can visit my site by (https://youdef.vercel.app/) , and building source is here: (https://github.com/achenger/youdef.com)
Thanks.

Yes, I have posts. you can visit my site by (https://youdef.vercel.app/) , and building source is here: (https://github.com/achenger/youdef.com)
Thanks.

OK, I find the problems of that I add ex-catalog in content dir. Thanks.

OK, I find the problems of that I add ex-catalog in content dir. Thanks.

@achenger could you describe how you solved the problem in more detail

@achenger could you describe how you solved the problem in more detail

I found how to fix the problem via config.
To do this, add
[params]
  mainSections = ["posts"]

I found how to fix the problem via config.
To do this, add
[params]
  mainSections = ["posts"]

but for now there is an actual problem with tags, I will fix it in a week. #8
For now, I recommend using tags

but for now there is an actual problem with tags, I will fix it in a week. #8
For now, I recommend using tags

Yes, you are right.
I like putting other files or dir under ./content/. (I used to like to use Hexo before, the platform allow the action.)
I removed redundant files to /static , then solve it.
For: https://github.com/uPagge/uBlogger/issues/10#issuecomment-753290261  I will try your suggestion.

Yes, you are right.
I like putting other files or dir under ./content/. (I used to like to use Hexo before, the platform allow the action.)
I removed redundant files to /static , then solve it.
For: https://github.com/uPagge/uBlogger/issues/10#issuecomment-753290261  I will try your suggestion.

Finally, maybe I find a bug:
(https://s3.ax1x.com/2021/01/01/rzSgVP.png)
API requested image  didn't show normaly in https://youdef.vercel.app/, but the special image shown in http://localhost:1313/ .
So, what happened? We can talk about it.

Finally, maybe I find a bug:
(https://s3.ax1x.com/2021/01/01/rzSgVP.png)
API requested image  didn't show normaly in https://youdef.vercel.app/, but the special image shown in http://localhost:1313/ .
So, what happened? We can talk about it.

I can't help with so little data.
Everything works for me and there were no such problems, and your repository does not contain the current version of the site, there is no such post.

I can't help with so little data.
Everything works for me and there were no such problems, and your repository does not contain the current version of the site, there is no such post.

Got it , thanks for your guidance all the time.

Got it , thanks for your guidance all the time.


My survival world is called "s01" My domain name is called "net" I can't teleport creatures

My survival world is called "s01"
My domain name is called "net"
I can't teleport creatures

What has domain name got to do with anything? Also follow the issue template if you want further help.

[00:38:14] [Server thread/WARN]: [Multiverse-Core] "Multiverse-Core v4.2.2-b812" has registered a listener for org.bukkit.event.entity.EntityCreatePortalEvent on method "public void com.onarandombox.MultiverseCore.listeners.MVPortalListener.entityPortalCreate(org.bukkit.event.entity.EntityCreatePortalEvent)", but the event is Deprecated. "Server performance will be affected"; please notify the authors [dumptruckman, Rigby, fernferret, lithium3141, main--].


Update CHANGELOG.md

This commit adds syntax highlighting for SE-0148 example.

Thank you kindly.
@swift-ci please smoke test and merge


How to represent connection where we send different struct fields to different receivers?

Here's how to do this without new syntax
const {
    pathToData string = "data"
    pathToIdx string = "idx"
    pathToLast string = "last"
}

component Foo(...) (...) {
    nodes {
        #bind(pathToData)
        data Field<any>

        #bind(pathToIdx)
        idx Field<int>

        #bind(pathToLast)
        last Field<bool>
    }
    net {
        :item -> [data, idx, last]
        ...
    }
}

Obv this isn't not the option. We can do better
Option 1 - Just allow several connections with same sender
:item -> lock:data
:item.data -> handler:data
:item.idx -> handler:idx
:item.last -> handler:last

Related to #473 and #501
Option 2 - Introduce special syntax
Because we have syntax for struct fields (selectors) for sender shouldn't we have it for receivers?
This version is probably consistent with "sender selector" syntax, but selector is not after port address but before it. It might be weird to have it there tho.
:item -> [
  data.handler:data,
  idx.handler:idx,
  last.handler:last
]

Another option could be this:
:item -> [
  .data -> handler:data,
  .idx -> handler:idx,
  .last -> handler:last
]

It looks better imo but less consistent with the language. It looks like a list of several connections, which they are actually, but sender selector doesn't look like that. If sender selector could look like this:
:item -> .data -> handler:data

Then it probably could more be consistent. It kind of looks like a chained connection (which, again, it actually is, in some sense).
Another thing is that some code will be bigger this way
httpGet:resp.body -> println

Will become
httpGet:resp -> .body -> println

Solution
After conversation with @Catya3 I decided to do 2 things to solve this
Add new syntax
For cases where one message is sent to several receivers but with different struct selectors syntax gonna be this
:item -> [
  .last -> wrap:last,
  .data -> handler -> wrap:data,
  .idx -> wrap:idx
]

It's consistent with existing ->[...] syntax
Also with idea of allowing chained connections inside []
And finally with the new one that we gonna add in the second section here

Implementation
Looks like a chained connection
RN it's implemented at the level of parser because that's easy (even tho it's dirty)
So we need to

Remove selectors from SenderSide
Add another type of sender - selector
Implement this as a chained connections

Update existing syntax
Replace :item.data -> handler with :item -> .data -> handler

That will be consistent with prev syntax
It reflects what is actually going on much better

Close in flavor of https://github.com/nevalang/neva/issues/653


Cypress test to check image rotate.

Cypress test to check image rotate.
Motivation and context

How has this been tested?

Checklist

[x] I submit my changes into the develop branch
[ ] I have added description of my changes into CHANGELOG file
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues (read github docs)
[ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[x] I have updated the license header for each file (see an example below)

# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT

Coverage remained the same at 65.389% when pulling 0d4a4f12ad85d746f23b9bc9d406fa79f058531a on dvkruchinin:dkru/cypress_test_case_5 into 24027931f91e87223241f26cd71045ed4a4c9304 on openvinotoolkit:develop.


Changing frontend from bootstrap to semantic-ui causes error

Changed UI from bootstrap to semantic-ui and got this. Not big issue, but wanted to report it anyways.
While determining active plugins:
error: conflict: two packages included in the app (flemay:less-autoprefixer and less) are both trying to handle *.less
error: conflict: two packages included in the app (flemay:less-autoprefixer and less) are both trying to handle *.lessimport

Got the same error while changing current project UI bootstrap to semantic-ui then run Meteor
While determining active plugins:
error: conflict: two packages included in the app (flemay:less-autoprefixer and less) are both trying to handle *.less
error: conflict: two packages included in the app (flemay:less-autoprefixer and less) are both trying to handle *.lessimport
However, when I try to delete all data in the current folder or created new folder and generate from the same .json again, I got no error when run Meteor but there is no Semantic-UI applied, look at the screentshot below:

Again, when I tried created empty project with Semantic-UI from the start, it works just fine.
So I can conclude that semantic-ui may has some errors with more complex code project.

@ljack @quangmach this is normal behavior: semantic-ui requires flemay:less-autoprefixer and bootstrap requires less package for processing less files.
Once package is added, meteor-kitchen will not automatically remove it. So, if you build app with bootstrap3, meteor-kitchen adds less package. Later when you change to semantic-ui meteor-kitchen adds flemay:less-autoprefixer but less remains. These two packages cannot coexist in the same project and that causes error.
So, you can clean build app or just remove bootstrap and less packages after you switch to semantic-ui.
I agree that meteor-kitchen requires better package management, but that's what we currently got. :+1:

Dear,
I've tried to remove all and rebuild with semantic-ui, It is able to build without error but the semantic-ui theme does not applied like my screenshot above

I'l investigate, expect answer in next few hours.

@quangmach example contains bootstrap class names for menus in .json, for example:
{
	"name": "left_menu",
	"type": "menu",
	"class": "nav navbar-nav",
	"dest_selector": "#menu",
	"items": [
		{ "title": "Home", "route": "home_private" }
	]
},

You can see nav navbar-nav here - that's bootstrap class and doesn't work with semantic-ui. Goal is to remove all class names from example input files to make examples framework independent, but I didn't have a time to play with that.
Actually, if you just remove class names from .json, you'll get better results.


only replace url for private pipenv source

Instead of filtering out private pipenv sources completely, and inserting the urls from the Dependabot credentials configuration (which removes other parts of the pipenv source configuration, e.g. the source name), only replace the url with the new authed url.
This should fix https://github.com/dependabot/dependabot-core/issues/6157

Cool, I've given it a go - let me know if that works for you.

Nice, thank you! There's a spec that broke and looks related to the changes in here, can you have a look?

I've made some changes, but I'm not 100% I've handled it correctly.
I've now

added in the auth from the credentials to existing Pipfile sources if the repository URLs can be matched,
removed existing Pipfile sources that require auth but don't have a match in the credentials
added all the sources from the credentials.

I have a suspicion that the old approach is based on pipenv scanning all repository sources, which doesn't happen in newer versions of pipenv (see the note here).
But I don't really have the historical background with pipenv to comment more on that.

Interesting, so what you mean is that your initial work that was making one spec fail may be correct in newer piping versions, and we may want to instead change the spec to the new "correct behavior"?
In any case, this PR looks good to me, pending a closer review.

@m3h can you comment on ☝ ?

Interesting, so what you mean is that your initial work that was making one spec fail may be correct in newer piping versions, and we may want to instead change the spec to the new "correct behavior"?
In any case, this PR looks good to me, pending a closer review.

No, sorry, I don't think I was being clear. I do think the code needs updating due to the new pipenv behaviour. See my comments in https://github.com/dependabot/dependabot-core/issues/6157
The current dependabot behaviour is to replace this:
[[source]]
url =<EMAIL_ADDRESS>verify_ssl = true
name = "testindex"

with this:
[[source]]
url =<EMAIL_ADDRESS>
stripping the name and verify_ssl parameters in the process. I was just commenting that this probably used to work when pipenv searched all sources for a matching package, whereas current versions of pipenv will only search sources with a matching name parameter (which is being stripped by the current dependabot code).
The intent of the PR is to have dependabot instead replace this:
[[source]]
url =<EMAIL_ADDRESS>verify_ssl = true
name = "testindex"

with this:
[[source]]
url =<EMAIL_ADDRESS>verify_ssl = true
name = "testindex"

keeping the verify_ssl and name (and other) parameters intact.

@deivid-rodriguez  thanks for the comments! I think I've applied them all now.

I'm going to set auto-merge as I assume CI will pass and looks low risk to merge straight to main w/o a deploy, so this will probably get picked up as part of a deploy tomorrow.


Anomaly Scanner In-hand Sprites

About the PR
Adds in-hand sprites to the Anomaly Scanner.
Why / Balance
Currently it has no in-hands, so this is adding one.
First attempt at working on #33386
Media

Requirements

[x] I have read and am following the Pull Request and Changelog Guidelines.
[x] I have added media to this PR or it does not require an ingame showcase.

Changelog

:cl:

add: Adds in-hand sprites to the Anomaly Scanner.

Sir, your PR has no content

Sir, your PR has no content

my brain is very small please forgive me there is content now


Adding new Jobtypes to Documentation.

Adding sections for:

Script Jobs (https://github.com/azkaban/azkaban/blob/master/azkaban-common/src/main/java/azkaban/jobExecutor/ScriptJob.java)
Python Jobs - Script (https://github.com/azkaban/azkaban/blob/master/azkaban-common/src/main/java/azkaban/jobExecutor/PythonJob.java)
Ruby Jobs (https://github.com/azkaban/azkaban/blob/master/azkaban-common/src/main/java/azkaban/jobExecutor/RubyJob.java)

This looks very helpfull to me.. I didn't know there was a Python or Ruby job-type. Can this be merged?

Also maybe it would be nice to also state that if you want to use python3 on debian systems you can simply set the python variable in jobProps to python3 which then will be used as executable for python scripts.

These job types are not documented. I am curious if these job types over significant value over simply using the command job type.

These job types have been removed. #1431


cannot get it work on Raspberry Pi 2 Model B

I followed the documentation as usal and installed the python/pip dependencies, then installed unicornhat via pip. Every attempt on running any of the examples ends up with a clean script execution with no errors, but the hat actually does nothing.
here are the output of the pip installation of unicornhat:
Downloading/unpacking unicornhat
  Downloading unicornhat-1.0.2.tar.gz
  Running setup.py egg_info for package unicornhat

Downloading/unpacking ws2812 (from unicornhat)
  Downloading ws2812-1.0.0.tar.gz (58Kb): 58Kb downloaded
  Running setup.py egg_info for package ws2812

    warning: no files found matching 'ws2812-RPi.h'
    warning: no files found matching 'ws2812-RPi.c'
    warning: no files found matching 'LICENSE.txt'
Installing collected packages: unicornhat, ws2812
  Running setup.py install for unicornhat

  Running setup.py install for ws2812
    building '_ws2812' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Ilib/ -I/usr/include/python2.7 -c lib/ws2812-RPi.c -o build/temp.linux-armv7l-2.7/lib/ws2812-RPi.o
    In file included from lib/ws2812-RPi.c:1:0:
    lib/ws2812-RPi.h:95:1: warning: multi-line comment [-Wcomment]
    In file included from lib/ws2812-RPi.c:1:0:
    lib/ws2812-RPi.h:123:1: warning: multi-line comment [-Wcomment]
    lib/ws2812-RPi.h:389:1: warning: multi-line comment [-Wcomment]
    lib/ws2812-RPi.h:436:1: warning: multi-line comment [-Wcomment]
    lib/ws2812-RPi.h:456:1: warning: multi-line comment [-Wcomment]
    lib/ws2812-RPi.h:470:1: warning: multi-line comment [-Wcomment]
    lib/ws2812-RPi.h:481:1: warning: multi-line comment [-Wcomment]
    lib/ws2812-RPi.c: In function 'reverseWord':
    lib/ws2812-RPi.c:49:16: warning: variable 'bit' set but not used [-Wunused-but-set-variable]
    lib/ws2812-RPi.c: At top level:
    lib/ws2812-RPi.c:147:1: warning: multi-line comment [-Wcomment]
    lib/ws2812-RPi.c:292:1: warning: multi-line comment [-Wcomment]
    lib/ws2812-RPi.c:471:1: warning: multi-line comment [-Wcomment]
    lib/ws2812-RPi.c: In function 'initHardware':
    lib/ws2812-RPi.c:569:3: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
    lib/ws2812-RPi.c: At top level:
    lib/ws2812-RPi.c:745:1: warning: multi-line comment [-Wcomment]
    lib/ws2812-RPi.c: In function 'show':
    lib/ws2812-RPi.c:829:1: warning: "/*" within comment [-Wcomment]
    lib/ws2812-RPi.c:762:10: warning: unused variable 'color' [-Wunused-variable]
    lib/ws2812-RPi.c:758:15: warning: unused variable 'PWMWaveformBitPos' [-Wunused-variable]
    lib/ws2812-RPi.c:757:15: warning: unused variable 'LEDBuffeWordPos' [-Wunused-variable]
    lib/ws2812-RPi.c: At top level:
    lib/ws2812-RPi.c:839:1: warning: multi-line comment [-Wcomment]
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Ilib/ -I/usr/include/python2.7 -c ws2812-RPi_wrap.c -o build/temp.linux-armv7l-2.7/ws2812-RPi_wrap.o
    In file included from ws2812-RPi_wrap.c:2967:0:
    lib/ws2812-RPi.h:95:1: warning: multi-line comment [-Wcomment]
    In file included from ws2812-RPi_wrap.c:2967:0:
    lib/ws2812-RPi.h:123:1: warning: multi-line comment [-Wcomment]
    lib/ws2812-RPi.h:389:1: warning: multi-line comment [-Wcomment]
    lib/ws2812-RPi.h:436:1: warning: multi-line comment [-Wcomment]
    lib/ws2812-RPi.h:456:1: warning: multi-line comment [-Wcomment]
    lib/ws2812-RPi.h:470:1: warning: multi-line comment [-Wcomment]
    lib/ws2812-RPi.h:481:1: warning: multi-line comment [-Wcomment]
    ws2812-RPi_wrap.c: In function 'init_ws2812':
    ws2812-RPi_wrap.c:4722:21: warning: variable 'md' set but not used [-Wunused-but-set-variable]
    ws2812-RPi_wrap.c: At top level:
    lib/ws2812-RPi.h:336:17: warning: 'virtbase' defined but not used [-Wunused-variable]
    lib/ws2812-RPi.h:338:31: warning: 'pwm_reg' defined but not used [-Wunused-variable]
    lib/ws2812-RPi.h:339:31: warning: 'clk_reg' defined but not used [-Wunused-variable]
    lib/ws2812-RPi.h:340:31: warning: 'dma_reg' defined but not used [-Wunused-variable]
    lib/ws2812-RPi.h:341:31: warning: 'gpio_reg' defined but not used [-Wunused-variable]
    lib/ws2812-RPi.h:359:31: warning: 'ctl' defined but not used [-Wunused-variable]
    gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-armv7l-2.7/lib/ws2812-RPi.o build/temp.linux-armv7l-2.7/ws2812-RPi_wrap.o -Llib/ -o build/lib.linux-armv7l-2.7/_ws2812.so

    warning: no files found matching 'ws2812-RPi.h'
    warning: no files found matching 'ws2812-RPi.c'
    warning: no files found matching 'LICENSE.txt'
Successfully installed unicornhat ws2812
Cleaning up...

then i downloaded an example from this repo and tried to run that:
pi@fwrpi ~ $ wget https://raw.githubusercontent.com/pimoroni/UnicornHat/master/python/examples/matrix.py
--2015-02-09 17:54:50--  https://raw.githubusercontent.com/pimoroni/UnicornHat/master/python/examples/matrix.py
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... <IP_ADDRESS>
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 981 [text/plain]
Saving to: `matrix.py.1'

100%[===========================================================================================>] 981         --.-K/s   in 0.001s

2015-02-09 17:54:54 (1.28 MB/s) - `matrix.py.1' saved [981/981]

pi@fwrpi ~ $ chmod +x matrix.py
pi@fwrpi ~ $ sudo python matrix.py
^CTraceback (most recent call last):
  File "matrix.py", line 23, in <module>
    unicorn.show()
  File "/usr/local/lib/python2.7/dist-packages/unicornhat.py", line 117, in show
    ws2812.show()
KeyboardInterrupt
pi@fwrpi ~ $

waited several seconds (up to 30) before that ctrl+c with no effect on the hat...

This is something to do with the Pi 2, and we're working on it. You can keep up-to-date on what does and doesn't work on the Pi 2 here: http://forums.pimoroni.com/t/raspberry-pi-2-what-works-and-what-doesnt/352/2

thanks for the clarification, i'll follow that thread!


Quid Oldreader support?

Hello
Wondering if you'd consider the Oldreader (or Feedly) support?
dGo

@dgoosens that can be one of the enhancement. How would you want to integrate with feedly? In the sense of synchronize it in app for later offline read etc?

I find both are terrible for Desktop users (work nicely on mobile devices) and figure it would be nice to be able to check out the feeds that are stored in those apps within your application.
Basically, one would only need to sign in and your rss-reader would sync new/read feeds automatically every n minutes.
I guess these apps have some sort of API that would enable you to do so?

I guess feedly has API have to look into other one.

found this:
https://github.com/theoldreader/api


I just can't seem to get it working.

I used every instrustion and detail in your wiki, but i just can't seem to get it working on my computer, the build is made, but when i run the checker, it says,
Watchdog: no
Miners:
GPU: No compatible GPU found.
Should'nt it be running on CPU. There seems to be some kind of problem.

Also, I used the config file from you and used my eth wallet address from coinbase, is that all that i have to do? or is there something else that needs to be done, I have installed web panel, no showups, there too, the windows defender.


Error: Dependency review is not supported on this repository. Please ensure that Dependency graph is enabled, see https://github.com/xxxx/xxxxx/settings/security_analysis

Hi Guys,
Dependency graph is enabled in our repo. But still it shows an error in Github actions.
My build.yaml looks like,
- name: 'Dependency Review'
uses: actions/dependency-review-action@v1

Could someone help me to fix this issue?

@palanisamy-emis Sorry for the issues! I can see this is a private repo, couple of questions:

Can you try to use version 1.0.2 and let us know if the output is any different?
Is your organization a GitHub Advanced Security customer? This is required to enable the Dependency Review Action in private repos.

Please re-open if you happen to be on an enterprise plan with GitHub Advanced Security enabled.


docs(cdk): add API docs for a11y region attributes

What is the expected behavior?
The 3 attributes discussed in https://material.angular.io/cdk/a11y/overview#regions (cdkFocusRegionStart, cdkFocusRegionEnd and cdkFocusInitial) should have API docs.
What is the current behavior?
These APIs are not found on https://material.angular.io/cdk/a11y/api.
What are the steps to reproduce?
See above.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular Material: 7.3.7
Is there anything else we should know?
No.

Ah yeah, good point. I don't see a good way for dgeni to discover and document these either 😞
https://github.com/angular/components/blob/48c70da05bfe8d542c4c76433191ea91ac98239f/src/cdk/a11y/focus-trap/focus-trap.ts#L167-L169


HTTP POST, CSRF and API changes for v3

Change Log

The NEXTAUTH_URL environment variable can now be set to configure all pages and routes within the application, this replaces the  site configuration option in version 2.0.
Sign in routes all now use HTTP POST (instead of HTTP GET) and require Cross Site Request Forgery Tokens.
Cross Site Request Forgery Tokens are now checked on all sign in routes - some POST routes were missing it.
Compliance with the recommended use of the state object in RFC 6749. Client state is now checked and verified on all OAuth 2.0 providers, using a value unique and known only to the client. It can be disabled for OAuth providers who do not support the option using useState: false.
The Client API and the options for Events, Callbacks and Pages are all now camelCase (e.g. 'signin()' is now 'signIn()' and 'signOut' is now 'signOut()' This is a breaking change except in the case of the Client API which supports both for backwards compatibility.  Configuration of Events, Callbacks and Pages should be updated.
Improved client event handling for reduced network and memory footprint, while improving automatic session state syncing in clients and across tabs/windows.
Changes include refactored event handler logic and improved clientMaxAge behaviour (now more passive / efficient) and new keepAlive option. Users with short session expiry times will benefit the most from these changes.
The documentation and example code has been updated and examples improved and expanded.

I have made an announcement about general availability and after considerable testing am going to merge this in and fix forward and talk to the team about what else we might want to include for release of v3.

Merging in this horrible monster into the v3 before it gets any bigger :-) We are going to do integration testing in the v3 branch - and release beta updates form there - and fix-forward on issues before release.


Login: Two Factor Authentication

I mistakenly thought this was already on the list, but I was wrong (It's probably in my notes somewhere instead).
Two Factor Authentication.
Because we have zero budget to do this via text messages, do this via Google Authenticator. Google Authenticator is available for Android and iOS. The algorithm is open, so compatible apps are available for Windows Phone and BlackBerry OS (haven't they gone full-Android by now?).
For reference, there are alternatives:

Text messages

Sadly though, this is a very tricky option.
3rd part services charge quite a bit of money to do this on your behalf. But after all, they did the homework.
Behind the scenes though, I believe what they're doing is sending e-mails to cellphone provider specific e-mail addresses. Nearly every cellphone provider has support for this (a custom email address like<PHONE_NUMBER>@mycellprovider.com). The problem is there are hundreds, if not a thousand cell providers around the world, and each system may not function exactly the same (authenticated, not authenticated, different phone number encodings, etc).

Email Authentication

This is what Steam does, but I'm not entirely sure the browser has a way to uniquely identify itself (TBD). It's fine for Steam, as Steam can do things like look at the MAC address, and whatnot.

Alternative Authentication Apps

No. I use Google, and many other services use it too (BitBucket, Slack)

This is somewhat low priority, but on my radar, as it affects the e-mail signup/activation loop. It also means extra recovery steps are necessary, in case of lost code.
The email options (email and text messages) I'm slightly reluctant of, mainly because we don't yet know what sort of blacklisting we may incur by sending so many more emails. So far it's been good, ever since the e-mail servers have been correctly authenticated using current standards, but the implications of this I'm not yet entirely sure about yet.

There's a stub field in the DB for the authentication "secret". Hopefully it's to spec.

Hey me from 6 years ago: I use Aegis now. It's like Google Authenticator (compatible with), and in leu of #1223 it's a great option.


OctoPod shows different file sizes

As you can see on the attached screenshot, the sizes of the files displayed in OctoPrint are different when compared to sizes in OctoPtint UI. Not a big deal, I'm just curious. Maybe it is due to a different formula used for the conversion from bytes to MB (SI conversion, where 1 MB = 10^6 B vs binary conversion, where 1 MB = 2^20 B)?

Wow. That is SUPER weird! :) Could you upload one of those gcode so I can reproduce it locally and fix it?
Thanks,
Gaston

Of course, here is it: F9_Land_Gear_Mount.gcode.zip


Fix bug invalid questions.yaml file

There are unescaped " characters that render the questions.yaml an invalid yaml file
longhorn/longhorn#7496

@mergify backport v1.6.x


Database heroku configuration

When upload to heroku the app show 500 server error. Because the database is no configured. Where can to find the documentation for upload the app to heroku and create de database or put the credentials for this success.

The database is configured. However, the sample app on Heroku is running on the free tier and gets filled up very quickly. You may want to set up your own instance using the source code.


Implemented HDS Record to QDM Patient conversions

This PR includes an implementation of a module/class that converts the old HDS Record model to the new QDM based Patient model. See changes to the README.md for info on how to use it.

Pull requests into cqm-converter require the following. Submitter and reviewer should :white_check_mark: when done. For items that are not-applicable, note it's not-applicable ("N/A") and :white_check_mark:.
Submitter:

[x] This pull request describes why these changes were made.
[x] Internal ticket for this PR: https://jira.mitre.org/browse/TACO-30
[x] Internal ticket links to this PR
[x] Code diff has been done and been reviewed
[x] Tests are included and test edge cases
[x] Tests have been run locally and pass
[x] If applicable, the library version number in cqm-converter.gemspec has been updated

Reviewer 0:
Name: @jbradl11

[x] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[x] The tests appropriately test the new code, including edge cases
[x] You have tried to break the code

Reviewer 1:
Name: @okeefm

[ ] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[ ] The tests appropriately test the new code, including edge cases
[ ] You have tried to break the code

Reviewer 2:
Name: @ljades

[ ] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[ ] The tests appropriately test the new code, including edge cases
[ ] You have tried to break the code

Still reviewing this code, so far things look good. However, I am unable to use this as a Gem in Bonnie (issues with loading Gems and the erb file). I want to test this using the Patients in Bonnie's DB before I give it the Bonnie approval.

@jbradl11 notes is a Bonnie specific extension to the HDS model, which is why it is not included in these models and their converters (these converters are pure HDS). When the time eventually comes that Bonnie uses this to do a one time conversion of all Bonnie HDS Records, the Bonnie team can branch this and add any bonnie-specific fields.


rename Queen's Pawn Game: Mason Variant to Accelerated London System

I've never heard anyone before call this opening Mason Variant, everyone
is just calling it a variant of London System.
some examples:
wikibooks uses Accelerated London System:
https://en.wikibooks.org/wiki/Chess_Opening_Theory/1._d4/1...d5/2._Bf4
wikipedia uses Modern London System:
https://en.wikipedia.org/wiki/London_System#The_Modern_London
chess.com uses Accelerated London System:
https://www.chess.com/openings/Queens-Pawn-Opening-Accelerated-London-System
I also had a look in Lichess studies and studies explaining 1. d4 d5 2. Bf4
are usually referring to London System, I found just one study that explained
this opening and was named "Mason Variant".
Therefore, this commit proposes to change the name of this opening from:
Queen's Pawn Game: Mason Variation
to:
Queen's Pawn Game: Accelerated London System
I think this should be more friendly to beginners as this opening is usually
called this way nowadays.

Agreed. Thanks!


fix(numeric): Fix Bug caused by initial value greater than maximum

PR
PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our Commit Message Guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

你运行一下pnpm run test:unit3 numeric，单元测试好像没有通过

是滴，更新了测试文件，其中一个问题是另一个bug的了 964

你运行一下pnpm run test:unit3 numeric，单元测试好像没有通过

是滴，更新了测试文件，其中一个问题是另一个bug的了 964

嗯嗯


Azure Pipelines Task - volume mount other directories into container

Is your feature request related to a problem? Please describe.
After publishing a package of my SWA in a build pipeline, a second job downloads and attempts to deploy that package.
The default download location for artifacts in a deployment job is Agent.BuildDirectory or /home/vsts/work/1
However the container that the task runs in only volume mounts the sources directory ($(Pipeline.Workspace)/s or /home/vsts/work/1/s) , even if the you've opted to skip the app build.
The artifact in its default staging location will never be available to this container.
This can be seen in the temp file created to run docker for the task:
/usr/bin/bash --noprofile --norc /home/vsts/work/_temp/493fb7f3-fb40-4805-99c8-080bcbda716a.sh
workspace="/working_dir"

params=()

[[ ! -z "$SWA_APP_LOCATION" ]] && params+=(-e "INPUT_APP_LOCATION=$SWA_APP_LOCATION")
[[ ! -z "$SWA_APP_BUILD_COMMAND" ]] && params+=(-e "INPUT_APP_BUILD_COMMAND=$SWA_APP_BUILD_COMMAND")
[[ ! -z "$SWA_OUTPUT_LOCATION" ]] && params+=(-e "INPUT_OUTPUT_LOCATION=$SWA_OUTPUT_LOCATION")
[[ ! -z "$SWA_API_LOCATION" ]] && params+=(-e "INPUT_API_LOCATION=$SWA_API_LOCATION")
[[ ! -z "$SWA_API_BUILD_COMMAND" ]] && params+=(-e "INPUT_API_BUILD_COMMAND=$SWA_API_BUILD_COMMAND")
[[ ! -z "$SWA_ROUTES_LOCATION" ]] && params+=(-e "INPUT_ROUTES_LOCATION=$SWA_ROUTES_LOCATION")

params+=(-e "INPUT_SKIP_APP_BUILD=$SWA_SKIP_APP_BUILD")

docker run \
    -e INPUT_AZURE_STATIC_WEB_APPS_API_TOKEN="$SWA_API_TOKEN" \
    -e GITHUB_WORKSPACE=$workspace \
    -e DEPLOYMENT_PROVIDER=DevOps \
    -e REPOSITORY_URL="$BUILD_REPOSITORY_URI" \
    -e IS_PULL_REQUEST=false \
    -e BASE_BRANCH="$BUILD_SOURCEBRANCHNAME" \
    "${params[@]}" \
    -v "$BUILD_SOURCESDIRECTORY:$workspace" \
    "$SWA_DEPLOYMENT_CLIENT"

Describe the solution you'd like
The task should either provide an input parameter to control which directory is mounted into the container, or otherwise factor in some additional logic if skip_app_build: true is set.
Additional context
Relevant parts of the pipeline:
variables:
  artifact_name: 'test'
  build_output_dir: build
  vmImageName: 'ubuntu-latest'

pool:
  vmImage: $(vmImageName)

stages:
  - stage: ci_cd
    displayName: Cont. Integration Test and Package

    jobs:
      - job: ci
        displayName: Cont. Int.
        steps:
          - task: NodeTool@0
            displayName: Set Node Version
            inputs:
              versionSpec: '10.x'

          - script: yarn install
            displayName: Install Deps

          - script: yarn validate
            displayName: Run linting and testing

          - script: yarn build
            displayName: Create build

          - script: cp staticwebapp.config.json build/staticwebapp.config.json
            displayName: Add SWA Config to Build

          - publish: ${{ variables['build_output_dir'] }}
            displayName: Publish Artifact
            artifact: ${{ variables['artifact_name'] }}

      - deployment: cd
        dependsOn: ci
        condition: succeeded()
        displayName: Cont. Deploy to Integration
        environment: integration_${{ variables['artifact_name'] }}
        strategy:
          runOnce:
            deploy:
              steps:

                - task: AzureStaticWebApp@0
                  displayName: Publish SWA
                  inputs:
                    app_location: /${{ variables['artifact_name'] }}
                    skip_app_build: true
                  env:
                    azure_static_web_apps_api_token: $(my_deployment_token_secret)

@RossMurr4y This is tracked here: https://github.com/microsoft/azure-pipelines-tasks/pull/14807#issuecomment-863763241
Please take a look to see if the proposed solution would work in your scenario.

@anthonychu The proposed solution addresses my issue here - thanks for this. Apologies for the duplicate.


Find in page

Ref: Conversation #1981 / David

Ref: Conversation #4180 / Roxasora7

Ref: Conversation #6826 / Bert Wen


Setup IP with Streamdeck

It would be very nice if satelite has no connection it displays numbers on the streamdeck and the ip of companion host can be set headless.

If you enable mDNS on Satellite, Companion can find Satellite and set it's own IP address automagically.


Web based configuration tool

After today's discussion on gitter, I decided to start an issue that would compile every piece of information, so it doesn't get lost in gitter chat logs.
Everything below is up for discussion, this is a very early draft and I'm not a p9k/zsh expert (or even experienced). I'll try and keep this post updated with the most-updated information from the discussion, so if you want to react to something from this post please include it as a quote.
Proposal
Inspired by fish's web based configuration, p9k wants to eventually have a similiar configuration tool. The priority is to have it online with export/import functionality, but offline version that would directly edit a configuration file is also wanted. That way a more casual user of p9k can just run a command that would open a webpage in his browser, where he could interactively customize his prompt, and export/save it into a file loaded in .zshrc.
Implementation
This tool shouldn't need to be updated with each segment, instead every segment should provide a set of variables (or a custom function that would output them) needed for the tool to configure them. The result would be saved into a .powerlevelrc (or .p9krc) file that would be sourced in .zshrc. These files could be more easily shared, displayed as examples and preloaded for further customization.
As I pretty much volunteered into making this tool, here's how I would do it:

Simple python3 http server (flask)
Server loads p9k from the system (online from master branch from git) and looks for all segments available and their information.
Page is rendered offering few most commonly used configurations (with screenshots/dynamic previews), or enables an advanced mode (from currently loaded mode).

Advanced mode would have to be in javascript, interactively adding/removing/moving/changing segments (and other options) and displaying a preview.

Thanks to the library sh python can easily interact with the system and fetch needed information for the local server (preview, context etc.).
Requirements
General

No huge breaking changes in progress (async)

Segments
Segments need to be more structured and offer a communication interface, right now they are just function defined wherever. Ideally we would want custom segments to be available in this tool too, therefore I propose (without knowing how feasible it is):

Special folder for segments (${p9k_directory}/segments/, where each segment has it's own file. Custom segments should be in another folder available through an environmental variable P9K_CUSTOM_SEGMENT_FOLDER. With default being ${p9k_directory}/custom/segments/ (following the oh-my-zsh structure)
Tool would browse this folder, individually try and source each of the files and calling either segment_spec with no arguments, or segment_$name_spec e.g. segment_kubecontext_spec. The segment would ideally return json (fingers crossed this is possible) formatted specification like this example:

{
    'name': 'kubecontext',
    'description': 'Segment showing active kubernetes context and namespace',
    'default_background': 'magenta',
    'default_foreground': 'white',  // or null for default_color/default_color_inverted
    'icon': 'KUBERNETES_ICON',
    'required_commands': ['kubectl', 'grep', 'awk'],
    'variables': [
        {'variable': 'k8s_namespace', description: 'Active kubernetes namespace', 'example': 'production', 'default': null},
        {'variable': 'k8s_context', description: 'Active kubernetes context', 'example': 'powerlevel9k', 'default': null}
    ],
    'configuration_variables': []
}

Obviously this is a very simple segment, segment like vcs history are perhaps a lot more difficult to specify, I'd be very glad for someone to say what exactly can be specified more. These specifications could be used for much more than just configuring, but also some kind of minidocs etc. configuration_variables would include special variables like POWERLEVEL9K_SHORTEN_STRATEGY.
WIP: I think this post is missing few things, but I'll post it for now while I run off for the night, I'll get back to it as soon as possible. In the meantime, feel free to discuss/propose/comment/criticize!

Page is rendered offering few most commonly used configurations (with screenshots/dynamic previews), or enables an advanced mode (from currently loaded mode).

Maybe a "theme" setting to show the configuration in different themes (like the code themes at https://carbon.now.sh/) and ways how to download these themes as well from ${p9k_directory}/themes/${theme}/${emulator}.conf eg. themes/material/iterm2.conf

Thanks so much for putting this together, @iScrE4m! I'm really excited about this - it would be significant contribution to the project.
I think what you've laid out here is good. A few notes:

We are actually in the process of moving segments into their own files in a new directory. You can follow @onaforeignshore's work on this in #771!
I like the idea of using JSON to describe the segments. Great idea!

I am very interested in a web config tool. I am dreaming of this for a couple of years now.
My thoughts about this are:

I don't think we need to execute a real shell for every user. For security and performance (not that I want to draw the curtain over our performance-issue; we should work on that!) reasons I'd prefer a mocked version.
I am not sure if the segment config needs to be in the same directory, because, despite they provide the same information (one as JSON for the web tool; one for P9K), they are still different and not really interoperable, unless we don't rely on jq or similar tools. My approach to a json like configuration per segment failed greatly.
I think SVG could be a good choice. I have a bit experience with d3. On their website there is an example that features a powerline-like info bar (just hover on the sunburst).
The website should live in it's own repo, under the p9k Organization.

So, to wrap my thoughts up: I would probably create a new repo for the metadata (I am 50/50 on that), put the json for each P9K in it's own subfolder there. This repo needs to be checked out on a webserver in a publicly reachable directory. And we should write a little JavaScript (probably based on D3) where users can drag and drop their segments, adjust colors etc.

https://github.com/nbedos/termtosvg this might be a good tool for rendering to SVG


Batch - ensure that logs are posted in chronological order

I am testing Batch jobs in moto and many of my batch jobs fail. It appears that some jobs are posting log events that are not in chronological order. I believe this is because here:
                for line in logs_stdout + logs_stderr:
                    date, line = line.split(" ", 1)
                    date_obj = (
                        dateutil.parser.parse(date)
                        .astimezone(datetime.timezone.utc)
                        .replace(tzinfo=None)
                    )
                    date = unix_time_millis(date_obj)
                    logs.append({"timestamp": date, "message": line.strip()})

stdout and stderr are appended together but some stderr events may come before some stdout events. I considered a few things to fix this but ultimately I think sorting the logs after the fact is the best way to fix this. If the logs are out of order for any reason and you want them to stay that way this removes that.
I also considered weaving the two together and I tested this and it does fix the problem. However it makes the code a lot more complicated for minimal benefit.
I also considered adding the previous timestamp if the timestamp is earlier than the previous, though this distorts the timestamps.

Codecov Report

Merging #4710 (47c8ade) into master (ce9fb90) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #4710   +/-   ##
=======================================
  Coverage   95.28%   95.28%
=======================================
  Files         556      556
  Lines       61004    61005    +1
=======================================
+ Hits        58127    58129    +2
+ Misses       2877     2876    -1

Flag
Coverage Δ

servertests
47.81% <0.00%> (-0.01%)
:arrow_down:

test_responses
32.49% <0.00%> (-0.01%)
:arrow_down:

unittests
95.20% <100.00%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

moto/batch/models.py
89.48% <100.00%> (+0.01%)
:arrow_up:

moto/awslambda/models.py
93.03% <0.00%> (+0.11%)
:arrow_up:

Continue to review full report at Codecov.

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


#14 Implement Redis storage and corresponding interfaces

PR-Codex overview
This PR focuses on adding token type functionality, refining token storage implementations, and updating dependencies.
Detailed summary

Added tokenType functionality to TokenServiceImpl
Implemented TokenStorage interfaces in TokenStorageImpl and RedisTokenStorageImpl
Updated README.md with Maven dependency information

The following files were skipped due to too many changes: src/main/java/io/github/javacoded78/jwthumble/storage/RedisTokenStorageImpl.java, src/test/java/io/github/javacoded78/jwthumble/storage/TokenStorageImplTests.java, pom.xml, src/test/java/io/github/javacoded78/jwthumble/storage/RedisTokenStorageImplTests.java, src/test/java/io/github/javacoded78/jwthumble/TokenServiceImplTest.java, src/main/java/io/github/javacoded78/jwthumble/service/PersistentTokenServiceImpl.java, src/test/java/io/github/javacoded78/jwthumble/service/PersistentTokenServiceImplTests.java, src/main/java/io/github/javacoded78/jwthumble/TokenParameters.java

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

close #14

Codecov Report
Attention: Patch coverage is 91.66667% with 10 lines in your changes missing coverage. Please review.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files
Coverage Δ
Complexity Δ

...d78/jwthumble/config/redis/DefaultRedisSchema.java
100.00% <100.00%> (ø)
2.00 <2.00> (?)

...avacoded78/jwthumble/service/TokenServiceImpl.java
100.00% <100.00%> (ø)
7.00 <1.00> (?)

...avacoded78/jwthumble/storage/TokenStorageImpl.java
100.00% <100.00%> (ø)
5.00 <5.00> (?)

.../javacoded78/jwthumble/config/TokenParameters.java
92.85% <77.77%> (ø)
7.00 <1.00> (?)

.../jwthumble/service/PersistentTokenServiceImpl.java
93.22% <93.22%> (ø)
8.00 <8.00> (?)

...ded78/jwthumble/storage/RedisTokenStorageImpl.java
84.00% <84.00%> (ø)
4.00 <4.00> (?)


Update Page “team”

Automatically generated by Netlify CMS

Deploy preview for dds-mil ready!
Built with commit 221c9d9482c48055dec4b62911a9384715a770dd
https://deploy-preview-290--dds-mil.netlify.app


ytmdesktop: 1.13.0 -> v1.17.0

Checklist

[X] Checked the nixpkgs master branch

[X] Checked the nixpkgs pull requests

Project name
nix search name: ytmdesktop

current version: 1.13.0
desired version: v1.17.0 note it seems they added a "v" to the front of the version
Notify maintainers

maintainers: @LogicalOverflow
Note for maintainers
Please tag this issue in your PR.

Thanks for the issue, but the ytmdesktop package does not package https://github.com/th-ch/youtube-music (which you linked in the issue), but https://github.com/ytmdesktop/ytmdesktop, whose latest stable release still is 1.13.0. I'll close this issue for now, but feel free to create a new packaging request (or to turn this issue into one and re-open it).
(Having had a quick look at it, it does look like an interesting alternative for me. I might get around to packaging it, but most likely not in the next few week.)

Thanks for the follow up. The current app no longer starts up and just crashes immediately on launch. So switching may be the only solution.


Mobs unable to pickup items server-wide

Hi, absolutely love the plugin.
I noticed while trying to make a farm with foxes that they were unable to pickup items. So I loaded up a fresh server with all the plugins I have, deleting plugins until I identified this one as the cause. I did some testing and with only this plugin enabled on a fresh install, both foxes and zombies are unable to equip items at all. My guess is whatever prevents the zombies in the arena from picking up items, applies server-wide and to all mobs. As far as I can see, no error messages are generated anywhere to send so I don't have much more information to offer than this. Thanks for putting in the work to create such a cool plugin.

Hmmm. Interesting. I'll have to look into this!

Hmmm. Interesting. I'll have to look into this!

Oh well that explains that issue on my server, too.

Oh well that explains that issue on my server, too.

v2.2.64 Was just submitted to Curse fixing this bug. If the issue still persists please reopen this ticket!

v2.2.64 Was just submitted to Curse fixing this bug. If the issue still persists please reopen this ticket!


Use ScrollView in more places

Now that ScrollView supports itemExtent, we can use it in a few more places.

@Hixie


sync to live

Docs Build status updates of commit c56840e:
:clock10: Pending: waiting for processors (31 builds ahead of you)
:warning: Docs Build is busy, currently there are 31 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit c56840e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/develop-your-app/BuildingAppsForIoTCore.md
:white_check_mark:Succeeded

windows-iotcore/manage-your-device/AzureIoTDA.md
:white_check_mark:Succeeded

windows-iotcore/tutorials/quickstarter/DeviceSetup.md
:white_check_mark:Succeeded

windows-iotcore/windows-iot-core.md
:white_check_mark:Succeeded

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


key names for plan object

   1..0 # Skipped: WWW::Mechanize not installed
   {start: 1, end: 0, skipAll: true, skipReason: 'Skipped: WWW::Mechanize not installed'}

This is the output tap-parser produces. Do this or something else?

And is there a principle that says an object produced by a function should always have the same structure?
{start: 1, end: 5, skipAll: false, skipReason: ''}
vs
{start: 1, end 5}

hmm, I don't see skip messages described for plan lines in the spec.  I only see skip messages described for test lines.
I wouldn't expect the lexer to look for skip/todo in test lines - those are just sub-types that the parser would find when looking at test tokens, based on my reading of the spec.

It's there, though in an odd place. Under the "Directives" for a "test", the last part of the section "Skipping tests".

Similarly, one can include an explanation in a plan line, emitted if the test file is skipped completely:
1..0 # Skipped: WWW::Mechanize not installed

See these tests for sample input and expected parsing results:

This project is now lexing only. Parsing will be elsewhere.


hbase: remove 1.7, 2.4.11 -> 2.4.15, init 2.5.1, 3.0.0-alpha-2 -> alpha-3

Description of changes

Update hbase versions 2 and 3
remove outdated version 1.7

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

version changes in commit message broken into multiple lines because it was wrapping


Resolve main.rkt hacks (support combinational synthesis with DSP sketch, support DSP sketch having a different signature)

https://github.com/uwsampl/lakeroad/pull/233/commits/9d38b0c3aa8b86fccaa02be4a936ddbb44d6a331

Closed by #257


Upper case words are not correctly tokenized

Hello @henchc,
While implementing your method in JavaScript for the Talisman library (code here), I noticed that your legalipy method will incorrectly handle capitalized words.
Here is some code you can put in __main__ to easily test the issue:
text = """History is the discovery, collection, organization, analysis, and presentation of information about past events. History can also mean a continuous, typically chronological record of important or public events or of a particular trend or institution. Scholars who write about history are called historians. It is a field of knowledge which uses a narrative to examine and analyse the sequence of events, and it sometimes attempts to objectively investigate the patterns of cause and effect that determine events. Historians debate the nature of history and its usefulness. This includes discussing the study of the discipline as an end in itself and as a way of providing "perspective" on the problems of the present. The stories common to a particular culture but not supported by external sources (such as the legends surrounding King Arthur) are usually classified as cultural heritage rather than as the "disinterested investigation" needed by the discipline of history. Events of the past prior to written record are considered prehistory."""

onsets = getonsets(text)

print(legalipy("History", onsets[0]))
print(legalipy("history", onsets[0]))

"History" will be tokenized as ['H', 'i', 'sto', 'ry']
while "history" will be tokenized as ['hi', 'sto', 'ry']
I can submit a pull request to fix this if you so desire.
Have a good day :)

thank you @Yomguithereal , just fixed it! I'll link your repo in the readme. I also just committed SonoriPy, another syllabification algorithm but it must be slightly modified for the language (just declaring the hierarchy), so depending on the audience it may be useful.

Thanks @henchc. I'll check SonoriPy & see if I can port it to JavaScript also.

which is a quick and dirty method

That is certainly the best quick & dirty method I found so far. Thanks for your work.
One drawback I found however, is that for some language where combinations of consonants & vowels are sounding as a single consonant (like the French "qu"), the algorithm is not really tuned to work. But I am sure this can be somewhat fixed by giving some hints to the onset training. What do you think?

The usage of 'y' as a consonant sometimes (like in the French "rayon" where it's pronounced 'j') also tackles the limits of the method.

Yes, French and English will probably show the worst performances due to a complicated orthography. "yo" is not recognized as a permissible onset because, to my knowledge, no, or very few, French words begin with "yo", so that may just be an anomaly. One possible fix for this (and possible improvement to SonoriPy) would be to first translate to IPA. Then it might find a word pronounced with the same onset, despite being spelled differently, and then be deemed permissible (although I can't think of any "yo" onset sounds in French with any spellings). There are probably dict lookup methods or even algorithms for IPA translations, I haven't looked into it too much. This would, however, require the user to identify the language.
As for "qu", I'm not sure if you mean in something like qu'est ce que, but one problem is that the algorithm doesn't account for vowel clusters or dipthongs at all. This would be relatively easy to build in though, but would require more input from the user (the original intention was 0 input from the user aside from a large text or corpus). You could just map all dipthongs and monophonemic vowel clusters to one special character and then map it back out at the end and it would solve most vowel issues. You would need the dipthongs and clusters as input though.
I'll let you know if I come up with a different way, I work with relatively resource-poor languages lacking dictionary lookup, so I'll be tweaking these in the future.

for what it's worth, combining the two (first implementing SonoriPy and then correcting with LegaliPy, i.e. fixing illegal onsets) is most accurate.

How concretely would you combine both? First tokenize with SonoriPy then LegaliPy, but how should the correction should be done?

Essentially run SonoriPy as it is (requiring hiearchy input from user, so just modifying lines 34-39 for the specific language, then take getonsets function from LegaliPy, iterate through each syllable yielded by SonoriPy and if the onset is not in the set of onsets deemed permissible (it will mostly be consonant clusetrs like "dl" or something), then assign everything up to the permissible onset to the previous syllable


Overnight event doesn't render on second day

I have a use case where events can span midnight. When these events are drawn on the calendar only the portion on the first day is shown.

Do you have a specific example? Please provide a reproduction thanks

When adding the following event to examples/events.js I would not expect to see an "all day" event as the event does not go for an entire day.
{
'title': 'TEST',
'start': new Date(2015, 3, 3, 11, 0, 0),
'end': new Date(2015, 3, 4, 0, 10, 0)
},


Adds rewind function to allow curl seek and retry sending data to server

Issue

https://github.com/alexa/avs-device-sdk/issues/1526
About 1 in 10 Alexa requests fail on mobile devices.
Requests generally fail with one of two errors: curl error code 56 which is "receive error" or curl error code 65 which is "rewind failed"
I turned on ACSDK_EMIT_SENSITIVE_LOGS to output curl error messages and me help investigate what was going on
It looks like the errors (both 56 and 65) are accompanied with this message "necessary data rewind wasn't possible":

CurlEasyHandleWrapper:libcurl:id=AVSEvent-619,text=necessary data rewind wasn't possible
LibcurlHTTP2Request:getResponseCode:responseCode=0
LibcurlHTTP2Connection:streamFinished:streamId=AVSEvent-619,result=Error,CURLcode=56

It seems that implementing the CURLOPT_SEEKFUNCTION and setting CURLOPT_SEEKDATA will solve this problem
This is a fairly simple change, as AttachmentReader already has a seek function which mirrors the implementation of CURLOPT_SEEKFUNCTION: Both expect to be able to set the absolute index of the buffer instead of changing the cursor by some delta.

Description of changes:

Implemented callback functions for CURLOPT_SEEKFUNCTION
Add a rewind function to the read callbacks
Call seek on AttachmentReader when called from curl

Testing:
Was able to build and run automated tests. This seems to fix the issue. No more 56 or 65 errors.

Hi @jbfitb,
Thank you for the pull request. Our process is to make changes internally and run all test before pushing the change to github in the form of a new release. I have added this to our internal tracking system to be assessed and prioritized.
Thanks,
Kenneth


avs-device-sdk: Alexa not able to play music in version 1.9

Hello AVS Team,
Alexa is not able to play music.
avs-device-sdk version - 1.9
I give the command-  "Alexa, Play music from saavan"
It replied back me with "Hindi chartbusters from saavan"
But It doesn't able to play the music.
I have enabled the error logs and I found:-
JsonUtils:findNodeFailed:reason=missingDirectChild,child=streamFormat
Please let me know if anything required
Here are the complete error logs:-
###########################
Thinking...
###########################
2018-08-20 12:08:48.992 [  2] E MediaPlayer:saveOffsetBeforeTeardown - gst_element_query_position failed
###########################
Speaking...
###########################
2018-08-20 12:08:51.309 [  3] E JsonUtils:findNodeFailed:reason=missingDirectChild,child=streamFormat
2018-08-20 12:08:51.311 [  3] E JsonUtils:findNodeFailed:reason=missingDirectChild,child=progressReport
2018-08-20 12:08:51.311 [  3] E JsonUtils:findNodeFailed:reason=missingDirectChild,child=expectedPreviousToken
2018-08-20 12:08:51.314 [  4] E MediaPlayer:validateSourceAndIdFailed:reason=sourceNotSet
2018-08-20 12:08:51.314 [  4] E MediaPlayer:handlePauseFailed
########################################
Alexa is currently idle!
########################################
2018-08-20 12:08:51.515 [  4] E MediaPlayer:saveOffsetBeforeTeardown - gst_element_query_position failed
2018-08-20 12:08:51.534 [  4] E MediaPlayer:saveOffsetBeforeTeardown - gst_element_query_position failed

Hi,
You can close this issue for now. The problem might be with the internet.
I am able to play music sometimes. Sometimes it fails (from saavan).
But able to play music from gaana.com and amazon prime
Thanks a lot for your support.
Sumit

Thanks @sumit3817


[SASS-3296] Create -"Did your pension schemes pay tax on the amount that resulted in a transfer charge?"

[x]  Had a QA verify that all acceptance criteria have been met, with comment(s) in the ticket?
[x]  Hosted a group review of your implementation?
[x]  Rebased against main?
[x]  Ensured that your commit(s) contain the ticket key?
[x]  Ensured that your branch is named after the ticket key?
[x]  Successfully run the unit tests?
[x]  Successfully run the integration tests?
[ ]  Successfully run the journey tests? If not, please add a comment explaining why it wasn't necessary.
[ ]  Ensured that the PR job has passed.

Reviewer: Before Reviewing
Have you ...

[x]  Pulled the branch down?
[x]  Assigned yourself to this PR?
[ ]  Moved the Jira subtask to “in review”?

Developer: After Approval
Have you ...

[ ]  Moved the Jira subtask to “in pipeline”?

Developer: After Merging
Have you ...

[ ]  Scheduled a demo? If not, please add a comment.

Is [app/views/pensions/transferIntoOverseasPensions/transferChargeVeiw.html] supposed to be empty?

Is [app/views/pensions/transferIntoOverseasPensions/transferChargeVeiw.html] supposed to be empty?

removed


Replace oh-my-zsh with zplug

I found kuntau dotfile use zplug, and it makes .zshrc very clear. Maybe I can do it.
https://github.com/kuntau/dotfiles/blob/8ddb7ff957e2121feeaa1154ca1d6581e1b870eb/config/zshrc#L7-L36

Closed, because there is no interest.


Improved SpringResourceAccessor

Support classpath*:
Correctly find classes in directories and jar files

Fixes #1657
Fixes #1436
Fixes #1595
┆Issue is synchronized with this Jira Story by Unito

I don't think this change will fix #1436 (for Quarkus) since that problem seems to be located somewhere else: https://github.com/liquibase/liquibase/blob/v4.2.2/liquibase-core/src/main/java/liquibase/resource/ClassLoaderResourceAccessor.java#L236

@wwillard7800 have you seen my comment? WDYT? Thanks!

@famod you are right. This doesn't address your issue. I hadn't looked closely enough at the error messages when I marked this as fixing yours. I'll comment more on your ticket.


Support JSON Type

https://github.com/GreptimeTeam/greptimedb/issues/4872

https://github.com/GreptimeTeam/greptimedb-ingester-go/pull/51


[Request Implemented 1.308] generate box can set default height and auto commit

feature request generate box can set default height and auto commit ?

if you create a shape and immediately press enter it will create the shape with a height of 1.
there's no way to set the default height (yet) though

are there any easy way to defind custom height?

you can set the height manually in the tool window .. I don't think it remembers the height at the moment, but should be easy to implement.
I'm away on a trip right now though, so won't be able to implement that (remembering the heighr) until mid next week.

In version 1.308 which is available on the update site ( http://prenominal.nl/updates/index.php ) , it now stores the last used shape height as the default height. If you then make another 2D shape and press enter it'll create it at that default height!
I will close this ticket when it's available on the asset store

Let me know if that works for you

Fix is in the version that's on the asset store now, so closing ticket


Conversion tests implementation

Integrating @apgoucher's work for testing floating point conversions in triton. Small additions from me include support for different rounding modes.
Co-authored-by: apgoucher<EMAIL_ADDRESS>

Why did we not delete conversion_tests.py file, seems empty

@zahimoud I did delete that file, is it just github's way of showing it?


Reconnect doesn't work

Describe the bug
Once the connection has been established, I see that the onDisconnected() event is called often (by the way, why?), so I've implemented a reconnect following your guidelines.
Unfortunately, after a while, it goes into a state where it's impossible to reconnect. I see tons of messages like this:
com.neovisionaries.ws.client.WebSocketException: Failed to connect to '<my-host>:443': null
	at com.neovisionaries.ws.client.SocketConnector.connectSocket(SocketConnector.java:127)
	at com.neovisionaries.ws.client.SocketConnector.doConnect(SocketConnector.java:239)
	at com.neovisionaries.ws.client.SocketConnector.connect(SocketConnector.java:190)
	at com.neovisionaries.ws.client.WebSocket.connect(WebSocket.java:2323)
	at mypackage.connect(WSChannelClient.java:85)
	at mypackage.WSChannelClient.reconnect(WSChannelClient.java:156)
	at mypackage.WSChannelClient$1.onDisconnected(WSChannelClient.java:80)
	at com.neovisionaries.ws.client.ListenerManager.callOnDisconnected(ListenerManager.java:224)
	at com.neovisionaries.ws.client.WebSocket.finish(WebSocket.java:3730)
	at com.neovisionaries.ws.client.WebSocket.onThreadsFinished(WebSocket.java:3696)
	at com.neovisionaries.ws.client.WebSocket.onReadingThreadFinished(WebSocket.java:3663)
	at com.neovisionaries.ws.client.ReadingThread.notifyFinished(ReadingThread.java:1138)
	at com.neovisionaries.ws.client.ReadingThread.runMain(ReadingThread.java:80)
	at com.neovisionaries.ws.client.WebSocketThread.run(WebSocketThread.java:45)
Caused by: java.lang.InterruptedException
	at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1343)
	at java.base/java.util.concurrent.CountDownLatch.await(CountDownLatch.java:232)
	at com.neovisionaries.ws.client.SocketInitiator$SocketFuture.await(SocketInitiator.java:293)
	at com.neovisionaries.ws.client.SocketInitiator.establish(SocketInitiator.java:370)
	at com.neovisionaries.ws.client.SocketConnector.connectSocket(SocketConnector.java:115)
	... 13 more

To Reproduce
Steps to reproduce the behavior:
This my piece of code:
@Override
public void onDisconnected(WebSocket websocket, WebSocketFrame serverCloseFrame, WebSocketFrame clientCloseFrame, boolean closedByServer) {
  if (connection != null) {
    connection.sendClose();
    connection.disconnect();
    connection = null;
  }
   connection = factory.createSocket(serverURL);
  // REGISTER MY LISTENERS
  connection.connect();
  }
});

I've also tried the recreate, like this:
connection = connection.recreate();
connection.connect();

But doesn't work either:
com.neovisionaries.ws.client.WebSocketException: The current state of the WebSocket is not CREATED.
	at com.neovisionaries.ws.client.WebSocket.changeStateOnConnect(WebSocket.java:3259)
	at com.neovisionaries.ws.client.WebSocket.connect(WebSocket.java:2315)
	at mypackage.WSChannelClient.connect(WSChannelClient.java:85)
	at mypackage.WSChannelClient.reconnect(WSChannelClient.java:157)
	at mypackage.WSChannelClient$1.onDisconnected(WSChannelClient.java:80)
	at com.neovisionaries.ws.client.ListenerManager.callOnDisconnected(ListenerManager.java:224)
	at com.neovisionaries.ws.client.WebSocket.finish(WebSocket.java:3730)
	at com.neovisionaries.ws.client.WebSocket.onThreadsFinished(WebSocket.java:3696)
	at com.neovisionaries.ws.client.WebSocket.onWritingThreadFinished(WebSocket.java:3685)
	at com.neovisionaries.ws.client.WritingThread.notifyFinished(WritingThread.java:539)
	at com.neovisionaries.ws.client.WritingThread.runMain(WritingThread.java:78)
	at com.neovisionaries.ws.client.WebSocketThread.run(WebSocketThread.java:45)

Hello @lvca,
we do not provide an API like onDisconnected.
Please report this issue to the correspondig project!
Best regards,
Marcel

Sorry, I was evaluating 2 libs and actually this library works much better than the other one. Please forget this issue and congrats for the project!

All good :) and thx


Inverted Mode using OSD

I have installed a BP in a spectrum and the result has been great, but there is a detail that I do not understand, everyone appears the letters in color and to me appears the background color and transparent letters, I have reviewed configuration but can not find anything. What can be? I did not have 4k7 and I put 10k, to pull up would work the same, right?

Have you attached to the green signal only in the Spectrum? Perhaps you are overdriving the signal, in which case you should try connecting with a bigger series resistor to the green signal.

Have you attached to the green signal only in the Spectrum? Perhaps you are overdriving the signal, in which case you should try connecting with a bigger series resistor to the green signal.

Maybe i´m wrong and my picture is ok. Let me attach two pictures.
Non Inverted?

Inverted?

Maybe i´m wrong and my picture is ok. Let me attach two pictures.
Non Inverted?

Inverted?

Sorry yes, I think all the above are correct including your original picture. Assuming you are on the green signal, lettering will be adding green and the OSD box background is subtracting green.
On the Spectrum, the white background is already "full green". You can't add more green. Hence the lettering appears like the main background (white), while the OSD background is predominantly red+blue (=purple).
 Again the OSD box is predominantly red+blue=purple, but it just happens to be paler here.
And the Amiga Test Kit screen is predominantly dark red, not much blue or green. So the OSD text stands out as vivid red and the OSD box, having little of any RGB, is almost black.
So, that's just how it is :)

Sorry yes, I think all the above are correct including your original picture. Assuming you are on the green signal, lettering will be adding green and the OSD box background is subtracting green.
On the Spectrum, the white background is already "full green". You can't add more green. Hence the lettering appears like the main background (white), while the OSD background is predominantly red+blue (=purple).
 Again the OSD box is predominantly red+blue=purple, but it just happens to be paler here.
And the Amiga Test Kit screen is predominantly dark red, not much blue or green. So the OSD text stands out as vivid red and the OSD box, having little of any RGB, is almost black.
So, that's just how it is :)

The only way to make it “better” is to use an analog switch and completely replace the original video signals.
There’s a display enable signal that can be used to drive this but it’s a much more complicated install as you need to more electronics and you need to cut traces on the computer.

The only way to make it “better” is to use an analog switch and completely replace the original video signals.
There’s a display enable signal that can be used to drive this but it’s a much more complicated install as you need to more electronics and you need to cut traces on the computer.

No no, this solutions is perfect for me, my mistake was not try with
another backgrounds, now i tested with black background and it's perfect,
awesome.
El mar, 5 ene 2021 a las 13:43, penfold42<EMAIL_ADDRESS>escribió:

The only way to make it “better” is to use an analog switch and completely
replace the original video signals.
There’s a display enable signal that can be used to drive this but it’s a
much more complicated install as you need to more electronics and you need
to cut traces on the computer.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/keirf/FF_OSD/issues/36#issuecomment-754612147, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AI3NSKFZDMF4QOW6DS5QQTTSYMCNTANCNFSM4VUUK3XQ
.

No no, this solutions is perfect for me, my mistake was not try with
another backgrounds, now i tested with black background and it's perfect,
awesome.
El mar, 5 ene 2021 a las 13:43, penfold42<EMAIL_ADDRESS>escribió:

The only way to make it “better” is to use an analog switch and completely
replace the original video signals.
There’s a display enable signal that can be used to drive this but it’s a
much more complicated install as you need to more electronics and you need
to cut traces on the computer.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/keirf/FF_OSD/issues/36#issuecomment-754612147, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AI3NSKFZDMF4QOW6DS5QQTTSYMCNTANCNFSM4VUUK3XQ
.


Error while playing after the new update

Uploading LogOutput.log…
[Message:GsiX MultiCraft] MultiCraft Button Success
[Info   : Unity Log] 04/12/2024 14:00:42: Minimap: Adding unique location (1.99, 54.47, 0.58)
[Info   : Unity Log] 04/12/2024 14:00:42: Minimap: Adding unique location (3006.99, 34.41, 3837.71)
[Error  : Unity Log] MissingFieldException: Field not found: UnityEngine.Vector3 .ZoneLocation.m_generatorPosition Due to: Could not find field in class
Stack trace:
VentureValheim.LocationReset.LocationReset.TryReset (LocationProxy loc, System.Int32 hash, System.Boolean force) (at <21310b1290364205b032ca79a17a7369>:0)
VentureValheim.LocationReset.LocationProxyReset+d__3.MoveNext () (at <21310b1290364205b032ca79a17a7369>:0)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at :0)
[Error  : Unity Log] MissingFieldException: Field not found: UnityEngine.Vector3 .ZoneLocation.m_generatorPosition Due to: Could not find field in class
Stack trace:
VentureValheim.LocationReset.LocationReset.TryReset (LocationProxy loc, System.Int32 hash, System.Boolean force) (at <21310b1290364205b032ca79a17a7369>:0)
VentureValheim.LocationReset.LocationProxyReset+d__3.MoveNext () (at <21310b1290364205b032ca79a17a7369>:0)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at :0)
[Info   : Unity Log] 04/12/2024 14:00:44: Starting music home

If you are playing on game version 217.46 please make sure you are using version 0.8.2 of Location Reset.