Chat Window Grows Steadily And Doesn't Scroll Automatically

When starting empty, the chat window is sized for ~3 die roll cards. Die rolls beyond this cause the chat window to scale to full vertical height, but also introduce a scroll bar that means the chat window is always one roll behind, meaning you have to go into the stream view and scroll down.
(This is a great module and I'm really appreciative that it exists!)

Hrm, I can't reproduce - for me the chat log scrolls automatically, and the most recent roll remains pinned to the bottom of the popout. Do you have any other modules that affect the chat log at all? I'm happy to look into it, but I need to be able to reproduce the behaviour you're seeing.

Ah, a bit of trial and error suggests it's an issue with Dice So Nice – if that module isn't set to Display Chat Message Immediately the delay between rolling the die and the chat message showing up seems to interfere with the scrolling. It's obviously an easy workaround just to turn that setting on though!

Interesting, I'll try to find some time to have a play around with DSN and see if I can find why it does that, as I'm just using the standard chat log popout, but with the header and input parts removed.

Turns out this is a bug in core Foundry - when chat is in a popout, calling ui.chat.scrollBottom() (which is how DSN and probably some other modules scroll the chat log after appending a message) does not target the popout chat, only the original one in the sidebar.
I've reported via Discord, so I'm going to close this issue - I expect a future Foundry release will resolve this for good. If for some unexpected reason they decline to solve it there, I'll re-open and implement a fix to core in this module.

Issue found here: https://gitlab.com/foundrynet/foundryvtt/-/issues/5542


Add missing parenthesis/parentheses.

Nice catch, thanks @YesCT !
I'm wondering if maybe this is an incomplete sentence too?

Oof, looks like that's roughly where the linter cuts things off, so I'm guessing something got moved around by the linter and removed somehow. I'm not sure what it should be but I'll add a couple of words to complete the sentence. Thanks for the catch, @YesCT and @q0rban !

test this please

Blarg. I did a silly so I'll close this and merge the version from my local. Thanks, both!


handle xz compressed files

Yeah, I considered that.  That would require temporarily having the necessary disk space available.  I believe I wrote it so that the output type is determined by the name used, so if we find this to be too slow we just have to change the name back and add in the other method.


Invalid Query Crashes ArangoDB

My Environment

ArangoDB Version:        3.5.0
Storage Engine:             RocksDB
Deployment Mode:       Single Server
Operating System:        Windows 10
Total RAM in your machine:        32 GB
Disks in use:        SSD

Component, Query & Data
Affected feature: AQL query
AQL query:
FOR x IN OUTBOUND "" GRAPH "MyGraph" RETURN x
Dataset:
The dataset does not seem to matter. I can reproduce the crash with a simple graph of 3 nodes connected in a chain.
Problem:
The ArangoDB server crashes when the above query is run. The problem is that the start node is an empty string which, of course, is invalid but still shouldn't crash the server.

@jbw3: reproduced it in 3.5 with an empty graph. Doesn't seem to happen in 3.4.x.

Fixed via the above PRs. Fix is expected to land in 3.5.2.

Hi @jbw3,
Version 3.5.3, which includes a fix for ths issue, has been released.
From the Changelog:

Fixed issue #10158: Invalid Query Crashes ArangoDB.
This fixes traversal queries that are run on a static empty start vertex
string.

Please find the latest release in the download section.


(Swift) Incorrect highlighting in operator functions

What exactly is going on here?

@joshgoebel I’ll try to improve the Swift grammar a bit during the holidays. I'll start by looking into the JS regex syntax, then reading the HLJS developer documentation Can you recommend some grammars I should look at for inspiration?

I'd try to tell you but you gave me screenshots instead of actual code I could copy and paste. :-p :~(

Sorry!
protocol Comparable: Equatable {

  static func < (lhs: Self, rhs: Self) -> Bool
  static func <= (lhs: Self, rhs: Self) -> Bool
  static func > (lhs: Self, rhs: Self) -> Bool
  static func >= (lhs: Self, rhs: Self) -> Bool
}

Now that I'm more familiar with the grammar, the problem seems to be that the grammar doesn't support protocol requirements. It assumes that the requirement static func < (lhs: Self, rhs: Self) -> Bool is a function declaration, so it keeps looking for an opening brace, which is never found,  so the remainder of the code is parsed as a function declaration:

Yes, quite right.  A few thoughts:

The TITLE_MODE rule also will need to be expanded to include the list of valid operators that Swift allows overloading.
If you wanted to tackle that we'd want the operators in a separate array (one per line) and then we'd join then using utility functions and see them beside the existing /[A-Za-z$][0-9A-Za-z$]*/ rule.
If you wanted to start by just fixing the actual BUG here then I think we may simply need a contains rule that matches -> and then endsParent... or the end function rule could be updated.
Detecting the difference between a function/declaration/protocol requirement might be a bit out of scope.

Ah you're also going to fall afoul the templating rule begin: /</, end: />/ so I think to deal with this properly we'll have to fix the TITLE rule first.

Is there a way to express a specific ordering of patterns?
For example, in a function declaration, the function's name must come before the generic parameters, so in this example:
func < <T>()

The first < is the name of the function (< is a valid operator name), whereas the second < starts the generic parameter list. As you can see, GitHub's syntax highlighter matches this correctly. Can we express this in HLJS as well?

W.r.t. the TITLE rule, I was looking at the grammar for identifiers in Swift:
https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html#grammar_identifier
This seems doable to implement. However, I'm wondering if the 5-hex-digit Unicode characters (such as U+9FFFD) are supported? I'm finding contradicting information regarding \uhhhhh. Is this supported?

Is there a way to express a specific ordering of patterns?

We have starts but that can get gnarly fast.  I think in this case it might make sense to treat func < as a special case and handle it with a slightly different rule. (variants can do this)

This seems doable to implement. However, I'm wondering if the 5-hex-digit Unicode characters (such as U+9FFFD) are supported? I'm finding contradicting information regarding \uhhhhh. Is this supported?

Regarding TITLE I was only talking about fixing it to match the operators... all those unicode characters might be a bit out of scope and better solved with https://github.com/highlightjs/highlight.js/issues/2756.
There are one or two places we use Unicode stuff in grammars now; ie, java:
var JAVA_IDENT_RE = '[\u00C0-\u02B8a-zA-Z_$][\u00C0-\u02B8a-zA-Z_$0-9]*';

But as you can see that's very minimal and clean usage.  If a grammar instead needs 50 different unicode match rules (as Swift seems to) then it's time to consider a different approach.

I think it's important when working on grammars to remember the desired goal is to be useful not necessarily correct.  Often correctness is impossible (or too hard to accomplish) so we just do the best we can to provide the best highlighting in the most circumstances.

Is there a (performance) downside to writing it correctly?
I've noticed the TextMate grammar uses the following rule for identifiers: (?<q>?)[\p{L}][\p{L}\p{N}\p{M}]*(\k)`.
So basically "starts with a letter or an underscore, followed by zero or more letters, marks, or numbers, and optionally wrapped in backquotes. I don't think this is 100% the same as the official grammar, but it may be close.
I assume that's acceptable?

The TextMate grammar also seems to spell out all possible Unicode characters for operators:

The TextMate grammar also seems to spell out all possible Unicode characters for operators:

That seems a bit much. I'd consider a smaller subset or simplifying the rule to make it "wider" such that is still mostly works even if not 100% correct.  This being a case of size/complexity vs correctness.  Also anytime I see this UTF-8 stuff I wonder if it's better solved by some of the new UTF-8 stuff we haven't gotten into yet.

Is there a (performance) downside to writing it correctly?

Well, usually I'm more concerned about size/complexity since we don't a benchmark suite, but yes performance is also a consideration.  More complex grammars take longer to execute than less complex grammars.
Some of the TextMate grammars are like 1mb of rules... that's simply not what we're aspiring to do here, so sometimes we look at a thing and go "we're going to have to take a pass on that".

I've noticed the TextMate grammar uses the following rule for identifiers: (?`?)[\p{L}][\p{L}\p{N}\p{M}]*(\k).
So basically "starts with a letter or an underscore, followed by zero or more letters, marks, or numbers, and optionally wrapped in backquotes. I don't think this is 100% the same as the official grammar, but it may be close.

Pretty sure none of this is supported at all unless we're using the new ES2015 /u regex flag, which we don't yet.  Again see #2756.  For many languages using the new Unicode stuff might ultimately be the "best" solution, but so far no one has been interested in looking into the performance considerations.

Some of the TextMate grammars are like 1mb of rules... that's simply not what we're aspiring to do here, so sometimes we look at a thing and go "we're going to have to take a pass on that".

I'm also trying to find some middle ground. I just want to get rid of incorrect highlighting that may confuse readers. My current plan is try to to implement the grammar for types — especially function types — and their prerequisites, such as operators, identifiers, and attributes. I'm hoping that will allow me to detect the end of a function declaration, even if there's no body, which will fix this issue.

I just want to get rid of incorrect highlighting that may confuse readers.

Sure, just it can be hard to balance sometimes.  Historically we err on the side of highlighting "more things" with "good" accuracy vs highlighting less but with 100% accuracy.  For example see our regex support in many languages which is often cantfix because it's simply too complex to figure out what is and isn't a regex without a full parser aware of context.  Some people absolutely think this is the wrong choice, but 99% of the time the outcome is very good.
Simply never highlighting regex because we get it VERY wrong 1% of the time would be a huge loss.

My current plan is try to to implement the grammar for types — especially function types — and their prerequisites, such as operators, identifiers, and attributes. I'm hoping that will allow me to detect the end of a function declaration, even if there's no body, which will fix this issue.

Often newer contributors over-engineer their initial solutions. :-)  Trying to build language parsers instead of "do the simplest thing".  If the regexs for all this is straight forward that might be ok, but in many cases an equivalent thing can often be achieved with a "one line hack"... such as adding additional "short-circuit" characters to the end mode... and often those hacks are much, much easier to maintain long-term than whatever the far more complex "correct" solution would be.

Quick question here: does the end rule take precendence over the contains rule? I'm wondering if I can detect the end of a function declaration (even in the absence of an opening brace) by providing subrules for all the parts (generic parameters, parameters, return type, and where clause) and then just ending the function mode if there's no more submodes to match.

I have a quick fix for this ready :)
I'll upload it in my next PR and try to fix #2857 too, as that's also function related.

Could we make these separate PRs?  It's super hard to constantly review a huge PR that keeps growing.  It would be much simpler to freeze it, get it solid... and then add these things as smaller and much easier to review PRs that come after.

Quick question here: does the end rule take precendence over the contains rule?

I'm not sure what you mean.  When in a given mode the contains list + the end expression (plus illegal) is constantly scanned for.  First found wins.  Finding end of course ends the mode.

I'm wondering if I can detect the end of a function declaration (even in the absence of an opening brace) by providing subrules for all the parts (generic parameters, parameters, return type, and where clause) and then just ending the function mode if there's no more submodes to match.

This can work in some cases if it doesn't get too complex and if the rules are distinct enough that lack of sequencing is not an issue - as we do not provide great tools for X, then Y, then Z type expressions.

I suggested combining these issues into a PR because they both involve rewriting the FUNCTION mode.
W.r.t. the end/contains, I was wondering in what order these are attempted. First end, then contains? First contains, then end? Or undefined? I was just trying to think of a way to match rules like "may be followed by ..." when there is no clear end character, just the lack of ... following it.

Yes I was only saying not to mix them with the existing PR... it's already too large.

W.r.t. the end/contains, I was wondering in what order these are attempted. First end, then contains?

No.  contains + end + illegal.  End or illegal only matches when no contains first match.

I was just trying to think of a way to match rules like "may be followed by ..." when there is no clear end character, just the lack of ... following it.

Huh? I dont' follow.

Yes I was only saying not to mix them with the existing PR... it's already too large.

Ah yes, the current PR is definitely too large 😅

Huh? I dont' follow.

Currently, the function params mode uses endParent. However, a function declaration may also have trailing keywords (throw or throws), a return type (-> Type) if it's not Void, and a list of generic constraints (where T: Constraint), in that order. I'm contemplating adding modes to match those, so I can properly detect those.
However, now that I can distinguish a function title of < from the start of the generic parameter clause (also <), that may not be necessary anymore, and I may be able to match whatever comes after the params as "just code", and hope that it just works.

However, a function declaration may also have trailing keywords (throw or throws), a return type (-> Type) if it's not Void, and a list of generic constraints (where T: Constraint), in that order. I'm contemplating adding modes to match those, so I can properly detect those.

Those things don't necessarily need to be handed inside the scope of "function" though.  Context-free grammars are better (much easier to debug and maintain) than context-filled grammars, when possible.

and I may be able to match whatever comes after the params as "just code", and hope that it just works.

And it just may.  I think you're saying the same thing I just said.

WIP:

Getting there!


Adding conditions to CAPH

Initial commit for adding conditions to CAPH.
Also contains changes from cluster phasing pr (https://github.com/microsoft/cluster-api-provider-azurestackhci/pull/88), pending e2e testing.

good to merge?


Axios.all for dynamic post calls?

I have to make dynamicpost call to my server for that I am using axios.all this seems to be easy at first.I don't how to get the response for dynamic changing post queries Still don't get it see the example
    function getThatAxiosMultiple(PhotoDataBlob,postId) {
        let ReturnThatAxios = [];
        PhotoDataBlob.map(data => {
            let pushThis = axios.post('/postthispic',{data,postId})
            ReturnThatAxios.push(pushThis)
        })

        return ReturnThatAxios
    }

    function getResponseLength(PhotoDataBlob) {
        let returnThis = []

        for(let i=0;i < PhotoDataBlob.length;i++){
            let response = `response${i}`;
            returnThis.push(response)
        }
        return returnThis.join() // response1,response2,response3....
    }

    let postId = 'XXXXX';
    let getReadyresponseLength = getResponseLength(PhotoDataBlob);     //this dynamic changing variable is not accesible
    console.log(getReadyresponseLength)
    let axiosMultipleArray = getThatAxiosMultiple(PhotoDataBlob,postId)
    axios.all(axiosMultipleArray).then(axios.spread((  getReadyresponseLength )//response1,response2... => {
        console.log(getReadyresponseLength)
    }))

Any other way how to do it ?

Not sure about what you want to accomplish but as long as this isn't a feature request, a bug or a specific question about axios but about general promise handling please use StackOverflow, our gitter channel or any other means.

@vignestion Following is the code to demonstrate how i used axios.all and axios.spread in my code. Basically the code query cryptocompare api to pull historical crypto currency data for number of days.
// Number of days to pull the data
const numberOfDays = 4
// Initializing days array
const days = [...Array(numberOfDays)].map((v,i) => ++i)
// Fetch function to make get request to cryptocompare api
let fetch = (curr,day) => axios.get(https://min-api.cryptocompare.com/data/pricehistorical?fsym=${curr}&tsyms=USD&ts=${day})
// Building the dynamic array of fetch calls for number of days
let fetchCalls = days.map((t) => fetch('BTC',moment().subtract(t, 'days').unix()))
// Using axios.all and axios.spread with es6 spread operator to access results
axios.all(fetchCalls).then(axios.spread((...res) => res.map(d => console.log(d.data))))


Keen to help? Join as a collaborator!

Hello! We've had almost 100 PRs merged into Control Room now, and I'm keen to get more people involved. If you've had a pull request merged in already and would like to help more, I'd be happy to add you as a collaborator so you can push code directly, merge PRs from others, and otherwise help provide direction for the project.
If you're interested, reply below with a link to your PR! It doesn't need to be huge – all help is welcome 🙌

Would be happy to help! (https://github.com/twostraws/ControlRoom/pull/175)

Great to hear! Count me in. Here's my merged PR (#166).  Excited to contribute more! 🎉

Great to hear! Count me in. Here's my merged PR (https://github.com/twostraws/ControlRoom/pull/166). Excited to contribute more! 🎉


code snippets produce duplicate code

Environment data

Python version (& distribution if applicable, e.g. Anaconda): 3.8.5.final.0 (conda/4.8.5)
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Value of the python.languageServer setting: Pylance

Expected behaviour
I want to apply a code snippet, such as:

and pressing Enter I should get this:

Actual behaviour
If I press Enter on the snippet, I get this:

note the duplicated and annoying if
Steps to reproduce:
see above

Logs

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

XXX

Nothing relevant here.

Code snippets are not smart enough to automatically replace part of the snippet if you happen to have already typed part of it out. If you would like that functionality then you will need to file a feature request with VS Code as we don't control code snippets, we just provide them.

Sorry, but this doesn't seem to be the case from the animated gif at the beginning of this page, i.e. code is not duplicated there. Besides, what's the point of having snippets that cannot be triggered by typing part of the snippet code... Feels the same as having a code completion engine that duplicates the part of code that you already typed...
Am I missing something?

Is this related to the fact that I have already typed more than one command (i.e. if __n in my case)?

@carlodri no idea. As I said, we don't control how snippets get inserted; it's provided by VS Code, not us. We literally just have a string constant that we define which VS Code uses to do code snippets:
https://github.com/microsoft/vscode-python/blob/66a4cb141b9361456a6ad23e44e249ae11a5382c/snippets/python.json#L125-L128


Update index.yml

Changed tutorial link list order - swapped 3 and 4 into correct sequence. Configure networking comes before access a private cloud - without the network access, you cannot access the private cloud.

#sign-off

@rvandenbedem @suzizuber - i know this is a small change, but since it's a landing page and yaml ... there's no way of verifying ... this should be submitted via the private repo so we can use staging to ensure proper rendering and validation to check the links.
That said, we can merge this here if you ensure that you will follow up by promptly checking the live page. Let me know. thanks.

I can follow up with checking the live page.


Yaw Calculation

Hi,
I am using ICM20948_07_pitch_and_roll and using that I am getting two rotational values/degrees change.
But When I do rotation on Surface then I do not see any change. How can we calculate Yaw in Example#7 and have rotation changes in all directions?

Hi, the issue with the yaw angle is that you can't calculate it from the (static) acceleration values when the sensor is positioned flat. The z-sensor will show 1g, x and y are 0.
You could use the magnetometer values to detect the direction of the x- and y-axis. In theory, this is easy, in praxis it is less easy. The biggest hurdle is to write a reliable calibration routine. I tried a bit but did not get something which was working good enough. Therefore, my library only provides the raw magnetometer values.
The other option is to constantly measure the gyroscope data. E.g. if you detect a rotational speed of let's say 120°/s for 0.5 seconds, you know that the yaw angle has changed 60°. But even if you measure at high frequency, you will always have certain error and this will sum up over time.
The best option to calculate orientations and rotations is through quaternions (https://en.wikipedia.org/wiki/Quaternions_and_spatial_rotation)
You find this implemented e.g. in the great library of Kris Winer for the MPU9250:
https://github.com/kriswiner/MPU9250/blob/master/quaternionFilters.ino
But sorry, this is stuff for which I would need much time to understand how it's working and for the implementation. Time that I do not have, and therefore I will not promise to work on this in near future.

Since there was no further comment I close this issue.


fix: DIA-666: [FE] Semantic search polish monorepo

Hi @yyassi-heartex!
This PR was created in a response to PRs in upstream repos:

https://github.com/HumanSignal/dm2/pull/266

closing this as monorepo was merged to develop branch


Upgrade robots to the latest NWS/NWC layers - 1

This PR modifies XML files for the following robots :

iCubGenova04
iCubGenova02
iCubErzelli01
iCubErzelli02

The mods have been done starting from the default XML file contained in the yarprobotinterface.ini file (i.e. icub_all.xml)
The new files should be tested by the users.
@randaz81 , could you please have a look at them?
cc @pattacini @traversaro

For this PR I tested on the robot the files for :

iCubGenova02
iCubGenova04

Also tested the correct files parsing using DEBUG mode for :

iCubErzelli01
iCubErzelli02

cc @pattacini @Nicogene

Great @davidetome 👍🏻
Just awaiting the outcome of the tests on iCubErzelli0x and then I'll merge the PR.

Tested carried out successfully.
Merging.

@davidetome could you zip and send me a can robot config file to be used with yarprobotintareface


Add a basic Czech localization.

I've added a basic Czech localization. Please let me know if I'm missing something important, it seems to be working reasonably well for me.

As there are no comments and the time is pressing, I've decided to merge this myself. I hope that no kittens are going to be harmed.

Thanks for the branch @miloskroulik awesome to get Czech added. However this implementation for is broken in a few ways (for cs only though):

getLanguage in widget.js needs to be updated to support 'cs' as a language
Removing the  from the translation yml breaks handleCustomWebsiteName on line 50
Without adding a URL for 'cs' in the GLOBAL_CLIMATE_STRIKE_URLS const, the links don't go anyway.

We should also update the README to folks know Czech is now available.
Now it shouldn't take this many changes to add a language, so we have lots to improve. it should be as simple as adding a new .yml file. However we're not quite there yet :) I'll create a new issue to help refactor some of this code so these sort of bugs don't get introduced, or are unlikely to be introduced.
Going forward, I'd suggest the follow to our dev workflow:

PRs get reviewed by someone familiar with the codebase before being merged in. For now, I'm happy to be that person and will generally respond within 24 hours (unless it's the weekend).
Changes are thoroughly tested locally before PR is created. This means testing the footer banner, full page view, full page with close view and links in all cases. I caught the issues above by doing this :)

Very open to tweaks to these suggestions. I don't to be process focused or make any feel restricted in how to contribute. But I also want to keep master bug free / stable given we have 100+ websites already using the widget (a good problem to have!)

I'm going to create a new branch with the fixes, and would love you to review and test locally before we merge it down, @miloskroulik

That would be awesome, sorry for not adhering to the standard development process here. I've also created another PR with some notes about localization added, it would be probably good to fix it as part of correcting issues mentioned here.

Agree, updating the CONTRIBUTING is a great idea.
Here's the new PR: https://github.com/fightforthefuture/digital-climate-strike/pull/65/files


add nri-metadata-injection job cleanup to K8s recipe

This change adds an if statement that checks for existing nri-metadata-injection jobs in the cluster.  If they exist, they will be deleted before proceeding with the install.  This has caused installation conflicts for a number of users and should provide a better experience.

I noticed this error message in New Relic installation dashboard for an installation done on Nov 02, 2022. Could it be related to this code change because the code change also involved newrelic-k8s.yml?
execution failed for kubernetes-open-source-integration: exit status 1: open /tmp/newrelic-k8s.yml: permission denied
cc: @bpschmitt @NRhzhao


TS-5019: Add total header length checks in HPACK (back-port)

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/1119/ for details.

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/1013/ for details.

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/1018/ for details.

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/1125/ for details.

This should be a cherry-pick from a5c11a863d961099af500649c4669fb711d48991 and not 79da839ba8fa85cb17593528c046d38b676e6126 which doesn't exist in my tree. It looks like you cherry-picked from your PR feature branch.
Also, make sure to have any conflicts uncommented.
Thanks.

Updated. Please take another look.

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/1139/ for details.

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/1032/ for details.

Can you explain what this is doing and why you want it back ported? I checked the JIRA and it was empty and the original PR doesn't say much either.
Thanks.


@ components library

What's the problem?
Folders that should be in here ...

Text (titles, basic text)
Buttons (square icons, regular buttons (logout))

add other shared components in here

StatusBar
loading indicator

thumbnail (the user profile image)


Remove runaway test after migration

A leftover after #575.

Should we move this to the new directory, crates/test-programs/wasi-tests/src/bin, rather than removing it?

 I thought it was just a runaway but it seems I didn't properly merge the test in when the original PR landed. Let me rectify this. Oh, and excellent catch, thanks!


KeyboardDisplayRequiresUserAction is not respected

There seems to have been some discussions and fixes over this problem in the previous deprecated and archived plugin cordova-plugin-wkwebview-engine  using pull requests that originated from this other deprecated and archived plugin cordova-plugin-wkwebview-inputfocusfix, but right here on this new and improved and merged plugin cordova-plugin-ionic-webview this issue seems to live on.
Anyone aware of the fact that input.focus() doesn't work anymore on iOS?
see also #238

On which iOS version? Apple has changed the selector a few times and I think we cover all of them, but one might be missing.

i will check later, but i can tell you installing the old inputfocusfix plugin seems to have fixed it for me. problem is it is deprecated so I don't know if it will work next version.

this one has a fresh update for iOS 13

Yeah, but as iOS 13 is still beta it can change before releasing, so it’s not a priority to fix it at the moment. Let me know if you face the issue on iOS 11 or 12 devices with the exact version

ok i'll close it and observe changes later

This error is happening now in iPadOS 13.4 with cordova-plugin-ionic-webview 4.1.3.
Not sure what is happening or if a workaround could be possible for this, but it doesn't happens if I use cordova-plugin-wkwebview-engine

I'm using my own plugin because for some reason this plugin doesn't do it for me. if you want to try my package here it is:
"cordova-plugin-wkwebview-inputfocusfixx": "0.0.3"


MAIN SYSTEM: DISCUSSION ON HOW THE SYSTEM WORKS

Description
@Dun-sin @renzil @Pradumnasaraf @Dharmik48 I guess now we need to have a discussion on how the system would work from pairing to chatting, etc.
What features would the system be having? would there be:

video calls?
group chats?

Pls let's discuss...
Screenshots
No response

I guess it's time to create my community
@renzil and @Pradumnasaraf aren't really into this project

I guess it's time to create my community
@renzil and @Pradumnasaraf aren't really into this project

Oh ok

I guess it's time to create my community

Absolutely!

So @Dun-sin what's up?

Created the discord server @mathiasayivor
https://discord.gg/KUWjx4fygJ


Namespace/Project Filter Search becomes unclickable after one option is selected

Setup

Rancher version: dev of 2.10.0

Describe the bug
User is unable to enter any text in the search field of the namespace/project filter after an single entry
To Reproduce

Cluster Explorer --> click on the ns/project filter drop down (note clicking on the search input field and entering text works) --> Select Project:Default --> click on the search input field --> type in a

Result

a is not shown in field

Expected Result

a shown in field, results filtered by it

This was most likely introduced as a part of #11762. We might need to revert this change and rework the solution for getting mouse and keyboard events properly working for this component.

e2e test is sufficient. moving to done


doesn't detect the crew 2

i have a problem with it not detecting the crew 2 on the add processes, even when i press refresh multiple times

I need to see the logs. Open your game, then open the file %appdata%\AutoCursorLock\log.txt and paste some of the most recent lines from the log file in a comment here.
I'm looking for logs that say [ERR] or logs that say something to do with 'the crew'.
My guess is that AutoCursorLock is getting permission errors when inspecting the window.

For what it's worth, I have the same problem with Space Marine 2:
[ERR] Failed to get process list item for process: Warhammer 40000 Space Marine 2 - Retail System.ComponentModel.Win32Exception (5): Access is denied.    at System.Diagnostics.NtProcessManager.EnumProcessModulesUntilSuccess(SafeProcessHandle processHandle, IntPtr[] modules, Int32 size, Int32& needed, Int32 filterFlag)    at System.Diagnostics.NtProcessManager.GetModules(Int32 processId, Boolean firstModuleOnly)    at System.Diagnostics.NtProcessManager.GetFirstModule(Int32 processId)    at AutoCursorLock.App.Views.MainWindow.RefreshButton_Click(Object sender, RoutedEventArgs e) in D:\code\AutoCursorLock\src\AutoCursorLock.App\Views\MainWindow.xaml.cs:line 305

Interesting, could be a permission issue getting the icon or the executable path. I can try just giving those programs blank icons and see if windows at least lets AutoCursorLock detect when the window is in focus without permissions errors.


Migrate to a PaaS solution

Context
We currently have the site running on a Linode Ubuntu container with NGINX functioning as a reverse proxy and Gunicorn as an application server. All images and content are stored on the server.
Ideal behavior
With a PaaS solution like Heroku, I can stop thinking about firewalls, OS updates, and all that 'IT stuff.' It would also allow me to easily set up QA/staging environments with very little overhead.
Things to consider
Since everything is on one machine (Web server, postgres, images, static content), I'll have to do some thinking about how I want to do the deployment.
It might make sense to put some of these pieces on their own node and put uploaded images on a storage site like S3.

I am going to revisit this issue once https://github.com/jsolly/awesome-django-blog/issues/118 is implemented, so let's keep it open.

Going to keep things as they are for now.


fornberg(2020) weights based on hermite-based finite difference

same PR from https://github.com/SciML/DiffEqOperators.jl/pull/501 and also https://github.com/SciML/MethodOfLines.jl/issues/13

@xtalax review?

hey @ChrisRackauckas
@xtalax  reviewed partially on DiffEqOperator.jl here
I would like to work on extending this a bit in actually solving PDE, but currently caught up in some other work. I will get back to it late this month.
Till then this PR is good to be to merge as it won't break anything.

Sorry about the delay, looks good to me

Sorry about the delay, looks good to me

@xtalax I see new some changes from my last commits in fornberg file. i will do same, resolve some conflicts and re-submit new commits

@xtalax Done from my side for this PR !


amplify push fails when adding sortField to an existing @connection

Note: If your question is regarding the AWS Amplify Console service, please log it in the
official AWS Amplify Console forum

** Which Category is your question related to? **
GraphQL annotated template
** What AWS Services are you utilizing? **
AppSync, DynamoDB, Lambda, APIGateway,Cognito
** Provide additional details e.g. code snippets **
I am trying to update a GraphQL template, adding sortField: "createdAt" to the connection, it compiles succesfully but during the amplify push I get the following error:
Cannot update GSI's properties other than Provisioned Throughput. You can create a new GSI with a different name.
Is there a workaround? I tried deleting the existing GSI hoping it would be recreated with the right sorting, but all the resolvers for that table failed and push still fails. I also tried recreating the GSI manually with "createdAt" as the sort field, and that still doesn't work.

This is known issue. Currently when deploying changes to @connection fields that will result in a DynamoDB table GSI schema change you need to first delete the connection, push, and then re-add the connection. There is an open discussion here #1062 where we are working towards a design that solves these issues introduced by CFN update stack limitations such as this one from DynamoDB.

Duplicate of #902. Also see #1062.


Adjusting travis regex for prod release

/do-e2e-tests

Codecov Report

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

@@           Coverage Diff           @@
##           master     #398   +/-   ##
=======================================
  Coverage   73.49%   73.49%
=======================================
  Files          30       30
  Lines        2724     2724
  Branches      464      464
=======================================
  Hits         2002     2002
  Misses        611      611
  Partials      111      111

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 2f40123...38a2e10. Read the comment docs.


DISTX-367-Introduce optional gateway HostGroup in DE Templates

Introduce optional Gateway HostGroup in DE Templates.
Default Gateway Node Count will be 0.
Closes #DISTX-367

Followed up in https://github.com/hortonworks/cloudbreak/pull/7046 due to failing integration tests.


feat: set multiple merkle tree depths

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

8 of 8 (100.0%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
611

Relevant Lines:
611

💛  - Coveralls


Instance Manager tests

@dougwig or @Cedev I would like to be reviewed and subsequently merged if found worthy. :)


ErrorException when try to serialize a model with Illuminate\Queue\SerializesModels trait

Hi, all.
I'm using Laravel 5.1 on PHP 5.6.7.
I got excepiton like this:
serialize(): "snakeAttributes" returned as member variable from __sleep() but does not exist

When I try to cache result of User::all() like this:
$users = User::all();
dd(serialize($users));

Here is my User model:
<?php namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Queue\SerializesModels;

class User extends Model {

    use SerializesModels;

	protected $table = 'user';

    protected $fillable = ['name'];

    public $timestamps = false;

}

And migration:
<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\Schema;

class CreateUserTable extends Migration {

	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		Schema::create('user', function(Blueprint $table)
		{
            $table->increments('id');
            $table->string('name');
		});
	}

	/**
	 * Reverse the migrations.
	 *
	 * @return void
	 */
	public function down()
	{
        Schema::drop('user');
	}

}

Am doing it wrong?
If I remove the SerializesModels Trait, it'll be OK.

You can'y actually call "serialize". That won't work.

The trait means laravel doesn't actually serialise your data on queue, but does something more clever.

Thanks for your reply!
So if I want to cache results, and this model hapends to use SerializesModels trait, what should I do?

Ahh, you can't cache results like that. That won't work.You'd need to call toArray and then stick that into the cache. Also, don't call serialize before caching, laravel deals with all of that. This does mean you can't work with eloquent models at the other end though. Any futher questions, please ask on the forums.

Thank you very much @GrahamCampbell ! That's very helpful !
I'll be asking questions on the forums next time.
Cheers.


Alternator not working in 5.0.9-beta.6

JSFiddle: https://jsfiddle.net/z3wgjdhf/1/
Seems to be broken since 5.0.9-beta.3 (commit 377a8695220b28b17bb4fd0554bbbe83b96288e5). Version 5.0.9-beta.1 (commit 32dec4abd9260e484d7d95c30d8893b47b7b211f) is working.
Mask is configured with
Inputmask({
    // complex alternator mask as optional is working as expected
    mask: '(*-******)|(*-******-**)|(*-******-**-**)|(*-******-**-**-**)|(*-******-**-**-**-**)|(*-******-**-**-**-**-***)',
    clearIncomplete: true,
    keepStatic: true
})

If you type in 7 chars (first mask), everything is just fine.

But if you add one more char to start the second mask (here an a), the mask gets messed up.

It directly jumps to the third mask and even removes some digits.

Additional observation with beta.3:
If you just enter 1-1 and press backspace, the result is -1 instead of 1-.
This is also working with beta.1

Same here!

Can you retry with 5.0.9-beta.7

This bug seems to be fixed


Workflows relying on resource template fail on arm64

Pre-requisites

[X] I have double-checked my configuration
[X] I can confirm the issues exists when I tested with :latest
[ ] I'd like to contribute the fix myself (see contributing guide)

What happened/what you expected to happen?
After switching to v3.4.5 workflows that rely on the resource template fail when running on arm64. Basically the changes introduced here (https://github.com/argoproj/argo-workflows/commit/6673cfbdfaec5c8082b7c37516024e9fe6c35859) use bitnami/kubectl:1.24.8, which is only available for amd64 and not arm64. This means that the argoexec image is built for amd64 but includes an amd64 binary for kubectl.
Version
v.3.4.5
Paste a small workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
time="2023-02-15T23:17:45.632Z" level=info msg="kubectl create -f /tmp/manifest.yaml -o json"
time="2023-02-15T23:17:45.633Z" level=warning msg="Non-transient error: fork/exec /bin/kubectl: exec format error"
time="2023-02-15T23:17:45.633Z" level=error msg="executor error: no more retries fork/exec /bin/kubectl: exec format error"

Logs from the workflow controller
Not relevant

Logs from in your workflow's wait container
Not relevant

Thanks for leaving the comment. @radusora - do you have a suggestion for a base kubectl image that supports both arm and amd? If so, could you put out a quick PR with it added instead of the bitnami image?
cc @juliev0

@JPZ13 The only thing that comes close to being acceptable is alpine/k8s as they recently introduced multi arch support. However, it's 3 times larger than the kubectl one being used now. Depending on your motivation to move away from curl, it might or might not make sense to use it. Let me know!

@radusora - alpine/k8s is still a small image at ~200mb. I think it would be better to use than curling it ourselves. Can you put out a PR for it?

@JPZ13 Sounds good, will do!

@JPZ13 Realised that this will also be fixed by #10550 which should be better than just swapping the image as discussed
cc @johejo

Thanks for posting an update @radusora. Closing this since #10550 merged.


drl_grasping

Andrej !
When I follow your steps——according to the docker/Dockerfile
colcon build --merge-install --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release
I don't know how to solve this problem---When I carry out the above command
The output is <RuntimeError: The package_dir contains a mapping from 'ocnn' to 'ocnn' which is also a key>
Summary: 0 packages finished [9.43s]
1 package failed: ocnn
7 packages aborted: Caffe Octree drl_grasping iDynTree ign_moveit2 ros_ign_bridge ros_ign_gazebo
4 packages had stderr output: Caffe iDynTree ocnn ros_ign_bridge
9 packages not processed

Hello @lisheng-han.
Have you solved the error? If not, I have some suggestions (either of them should fix this issue):

cd into drl_grasping directory if you followed docker/Dockerfile (including directory structure).
Move ocnn outside of the workspace that contains ROS 2 repositories (drl_grasping, ign_moveit2, ...).
Add COLCON_IGNORE file inside the low-level directory that contains ocnn (e.g. touch ./O-CNN/COLCON_IGNORE).

This is because ocnn dependency cannot be built/installed directly with colcon. In fact, most of the used dependencies cannot.

Okay, Andrej ! Thanks for your advice，I will reconfigure the environment


pulled my first PR (You can change this LOL as per you want)

@srummanf I am so so sorry for the trouble, it's indeed a contribution but, please contribute in quantity, put as much as you can
Again, contribute in quantity, justifying the quality of the file!
Thank you and sorry

yeah sure! Got your point Sir
On Thu, 6 Oct 2022 at 19:24, Chiranjeev Veer Srivastava <
@.***> wrote:

Closed #46 https://github.com/GeekGuy-29/OneStopInfo/pull/46.
—
Reply to this email directly, view it on GitHub
https://github.com/GeekGuy-29/OneStopInfo/pull/46#event-7535152451, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AWWKQPGOJM6CR4JC5XAMJ3LWB3KZDANCNFSM6AAAAAAQ6UQJRU
.
You are receiving this because you were mentioned.Message ID:
@.***>


AIL<PHONE_NUMBER>2436_CreateTableDistributedQueryCampaigns.go (Error 1293: Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause), quitting migration

What version of fleet are you using (fleet version --full)?
fleet - version 2.1.0
branch: 	master
revision: 	ab948beb718230483c12b84995f79034eb3f0777
build date: 	2019-04-09T18:31:16Z
build user: 	zwass
go version: 	go1.11.5
What operating system are you using?
Red Hat Enterprise Linux Server release 7.3 (Maipo)
What did you do?
/usr/bin/fleet prepare db \

--mysql_address=<IP_ADDRESS>:3306 \
--mysql_database=kolide \
--mysql_username=kolide \
--mysql_password=kolide

2019/05/23 17:00:21 FAIL<PHONE_NUMBER>2436_CreateTableDistributedQueryCampaigns.go (Error 1293: Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause), quitting migration.
What did you expect to see?
Successfully completion of the prepare db step
What did you see instead?
2019/05/23 17:00:21 FAIL<PHONE_NUMBER>2436_CreateTableDistributedQueryCampaigns.go (Error 1293: Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause), quitting migration.
Database info
mysql -V
mysql  Ver 15.1 Distrib 5.5.52-MariaDB, for Linux (x86_64) using readline 5.1

Folks have reported various issues with MariaDB, though I do think it is possible to get it working.
Fleet is definitely compatible with MySQL 5.7.

@zwass thanks for your feedback! Moved to MySQL 5.7 and It works as expected.


Fix paired US extra vars in compare page

The "Explain Layer" button does not map on to the correct fields.

That fixes the text (with several commits accidentally referring to #138 instead of #148). Now need to address separate issue of ensuring paired graphs only show US cities when US-only variables are selected.


VM is killed every 10 seconds and created immediately

Is this a BUG REPORT or FEATURE REQUEST?:

/kind bug

What happened:
VM is killed every 10 seconds, and created immediately.
virt-controller start Dispatching delete event:
{"component":"virt-controller","level":"info","msg":"reenqueuing VirtualMachineInstance default/testvm","pos":"vmi.go:201","reason":"Operation cannot be fulfilled on virtualmachineinstances.kubevirt.io "testvm": the object has been modified; please apply your changes to the latest version and try again","service":"http","timestamp":"2020-09-01T09:22:54.244704Z"}
{"component":"virt-controller","kind":"","level":"info","msg":"Dispatching delete event","name":"testvm","namespace":"default","pos":"vm.go:694","service":"http","timestamp":"2020-09-01T09:23:02.150124Z","uid":"71f94ddc-50c7-4480-aad2-9d42a41cae93"}
{"component":"virt-handler","level":"info","msg":"Processing event default/testvm","pos":"vm.go:1068","timestamp":"2020-09-02T02:13:46.311765Z"}
{"component":"virt-handler","level":"info","msg":"VMI does not exist","pos":"vm.go:1072","timestamp":"2020-09-02T02:13:46.311826Z"}
{"component":"virt-handler","level":"info","msg":"Domain does not exist","pos":"vm.go:1077","timestamp":"2020-09-02T02:13:46.311887Z"}
{"component":"virt-handler","kind":"VirtualMachineInstance","level":"info","msg":"Performing final local cleanup for vmi with uid ","name":"testvm","namespace":"default","pos":"vm.go:1321","timestamp":"2020-09-02T02:13:46.311976Z","uid":""}
{"component":"virt-handler","kind":"Domain","level":"info","msg":"Removing domain from cache during final cleanup","name":"testvm","namespace":"default","pos":"vm.go:1351","timestamp":"2020-09-02T02:13:46.312034Z","uid":""}
What you expected to happen:
VM is running normally.
How to reproduce it (as minimally and precisely as possible):
no operation.
Anything else we need to know?:
no
Environment:

KubeVirt version (use virtctl version):
Client Version: version.Info{GitVersion:"v0.30.5", GitCommit:"53b764825eb80321b18eb39a5767c25a77ea470b", GitTreeState:"clean", BuildDate:"2020-07-17T01:17:41Z", GoVersion:"go1.12.8", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{GitVersion:"{gitVersion}", GitCommit:"{gitCommit}", GitTreeState:"{gitTreeState}", BuildDate:"{buildDate}", GoVersion:"go1.12.8", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes version (use kubectl version):
Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.9", GitCommit:"59603c6e503c87169aea6106f57b9f242f64df89", GitTreeState:"archive", BuildDate:"2020-08-11T13:11:52Z", GoVersion:"go1.14.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.9", GitCommit:"59603c6e503c87169aea6106f57b9f242f64df89", GitTreeState:"archive", BuildDate:"2020-08-11T13:08:33Z", GoVersion:"go1.14.3", Compiler:"gc", Platform:"linux/amd64"}

VM or VMI specifications:
apiVersion: v1
kind: Pod
metadata:
annotations:
k8s.v1.cni.cncf.io/network-status: |-
[{
"name": "cbr0",
"interface": "eth0",
"ips": [
"<IP_ADDRESS>",
"1000::ada"
],
"mac": "12:11:9e:82:09:b7",
"default": true,
"dns": {}
}]
k8s.v1.cni.cncf.io/networks-status: |-
[{
"name": "cbr0",
"interface": "eth0",
"ips": [
"<IP_ADDRESS>",
"1000::ada"
],
"mac": "12:11:9e:82:09:b7",
"default": true,
"dns": {}
}]
kubevirt.io/domain: testvm
traffic.sidecar.istio.io/kubevirtInterfaces: k6t-eth0
creationTimestamp: "2020-08-31T08:06:46Z"
deletionGracePeriodSeconds: 60
deletionTimestamp: "2020-08-31T08:07:55Z"
generateName: virt-launcher-testvm-
labels:
kubevirt.io: virt-launcher
kubevirt.io/created-by: 0bf2dd1b-643a-440a-b665-3510914fc598
kubevirt.io/domain: testvm
kubevirt.io/size: small
name: virt-launcher-testvm-rvt68
namespace: default
ownerReferences:

apiVersion: kubevirt.io/v1alpha3
blockOwnerDeletion: true
controller: true
kind: VirtualMachineInstance
name: testvm
uid: 0bf2dd1b-643a-440a-b665-3510914fc598
resourceVersion: "972547"
selfLink: /api/v1/namespaces/default/pods/virt-launcher-testvm-rvt68
uid: 619a8efe-156b-45a5-8620-47f12e0f5aea
spec:
automountServiceAccountToken: false
containers:
command:

/usr/bin/virt-launcher
--qemu-timeout
5m
--name
testvm
--uid
0bf2dd1b-643a-440a-b665-3510914fc598
--namespace
default
--kubevirt-share-dir
/var/run/kubevirt
--ephemeral-disk-dir
/var/run/kubevirt-ephemeral-disks
--container-disk-dir
/var/run/kubevirt/container-disks
--readiness-file
/var/run/kubevirt-infra/healthy
--grace-period-seconds
"45"
--hook-sidecars
"0"
--less-pvc-space-toleration
"10"
--ovmf-path
/usr/share/OVMF
image: kubevirt/virt-launcher:latest
imagePullPolicy: IfNotPresent
name: compute
readinessProbe:
exec:
command:

cat
/var/run/kubevirt-infra/healthy
failureThreshold: 5
initialDelaySeconds: 4
periodSeconds: 1
successThreshold: 1
timeoutSeconds: 5
resources:
limits:
devices.kubevirt.io/kvm: "1"
devices.kubevirt.io/tun: "1"
devices.kubevirt.io/vhost-net: "1"
requests:
cpu: 100m
devices.kubevirt.io/kvm: "1"
devices.kubevirt.io/tun: "1"
devices.kubevirt.io/vhost-net: "1"
memory: "225679432"
securityContext:
capabilities:
add:
NET_ADMIN
NET_RAW
SYS_NICE
privileged: false
runAsUser: 0
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:

mountPath: /var/run/kubevirt-ephemeral-disks
name: ephemeral-disks
mountPath: /var/run/kubevirt/container-disks
mountPropagation: HostToContainer
name: container-disks
mountPath: /var/run/libvirt
name: libvirt-runtime
mountPath: /var/run/kubevirt/sockets
name: sockets
mountPath: /var/run/kubevirt-infra
name: infra-ready-mount

args:

--copy-path
/var/run/kubevirt-ephemeral-disks/container-disk-data/0bf2dd1b-643a-440a-b665-3510914fc598/disk_0
command:
/usr/bin/container-disk
image: swr:6666/kubevirt/cirros-registry-disk-demo
imagePullPolicy: IfNotPresent
name: volumerootfs
readinessProbe:
exec:
command:

/usr/bin/container-disk
--health-check
failureThreshold: 5
initialDelaySeconds: 1
periodSeconds: 1
successThreshold: 1
timeoutSeconds: 1
resources:
limits:
cpu: 100m
memory: 40M
requests:
cpu: 10m
memory: 1M
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:

mountPath: /var/run/kubevirt-ephemeral-disks/container-disk-data/0bf2dd1b-643a-440a-b665-3510914fc598
name: container-disks
mountPath: /usr/bin
name: virt-bin-share-dir
dnsPolicy: ClusterFirst
enableServiceLinks: true
hostname: testvm
initContainers:

command:

/usr/bin/cp
/usr/bin/container-disk
/init/usr/bin/container-disk
image: kubevirt/virt-launcher:latest
imagePullPolicy: IfNotPresent
name: container-disk-binary
resources:
limits:
cpu: 100m
memory: 40M
requests:
cpu: 10m
memory: 1M
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
mountPath: /init/usr/bin
name: virt-bin-share-dir
nodeName: <IP_ADDRESS>
nodeSelector:
kubevirt.io/schedulable: "true"
priority: 0
restartPolicy: Never
schedulerName: default-scheduler
securityContext:
fsGroup: 107
runAsUser: 0
serviceAccount: default
serviceAccountName: default
terminationGracePeriodSeconds: 60
tolerations:

effect: NoExecute
key: node.kubernetes.io/not-ready
operator: Exists
tolerationSeconds: 300
effect: NoExecute
key: node.kubernetes.io/unreachable
operator: Exists
tolerationSeconds: 300
volumes:
emptyDir: {}
name: sockets
emptyDir: {}
name: infra-ready-mount
emptyDir: {}
name: virt-bin-share-dir
emptyDir: {}
name: libvirt-runtime
emptyDir: {}
name: ephemeral-disks
emptyDir: {}
name: container-disks
status:
conditions:
lastProbeTime: null
lastTransitionTime: "2020-08-31T08:06:49Z"
status: "True"
type: Initialized
lastProbeTime: null
lastTransitionTime: "2020-08-31T08:06:55Z"
status: "True"
type: Ready
lastProbeTime: null
lastTransitionTime: "2020-08-31T08:06:55Z"
status: "True"
type: ContainersReady
lastProbeTime: null
lastTransitionTime: "2020-08-31T08:06:46Z"
status: "True"
type: PodScheduled
containerStatuses:
containerID: docker://93ed025236079e3ff00c2f6c5c35fa7e11f3e1deeacf6366e64b3d50c4e4fa0f
image: kubevirt/virt-launcher:latest
imageID: docker://sha256:c3ab95e4b66314fe8014c63490b90660344509c1fed78b754b0934a32985b2c9
lastState: {}
name: compute
ready: true
restartCount: 0
started: true
state:
running:
startedAt: "2020-08-31T08:06:50Z"
containerID: docker://f51c0a1ce39a70205e9347bc60a60f2e7885e2d615c1f90dd6123747bd2c6346
image: kubevirt/cirros-registry-disk-demo:latest
imageID: docker-pullable://swr:6666/kubevirt/cirros-registry-disk-demo@sha256:657bfaaea4720e494058da55b35b302065d384576d49fa17be32d10e8ddfe2e7
lastState: {}
name: volumerootfs
ready: true
restartCount: 0
started: true
state:
running:
startedAt: "2020-08-31T08:06:50Z"
hostIP: <IP_ADDRESS>
initContainerStatuses:
containerID: docker://5b18bb72f35a6424b16937457903fa648ad0d931c253171eb4f8faff35ed821c
image: kubevirt/virt-launcher:latest
imageID: docker://sha256:c3ab95e4b66314fe8014c63490b90660344509c1fed78b754b0934a32985b2c9
lastState: {}
name: container-disk-binary
ready: true
restartCount: 0
state:
terminated:
containerID: docker://5b18bb72f35a6424b16937457903fa648ad0d931c253171eb4f8faff35ed821c
exitCode: 0
finishedAt: "2020-08-31T08:06:48Z"
reason: Completed
startedAt: "2020-08-31T08:06:48Z"
phase: Running
podIP: <IP_ADDRESS>
podIPs:
ip: <IP_ADDRESS>
ip: 1000::ada
qosClass: Burstable
startTime: "2020-08-31T08:06:46Z"

Cloud provider or hardware configuration:

OS (e.g. from /etc/os-release):
Red Hat 4.8.5-36

Kernel (e.g. uname -a):
Linux version 3.10.0-693.21.1.el7.x86_64

Install tools:

Others:

/cc @davidvossel@rmohr :)

vm testvm resource version changes immediately:
kubevirt describe vm testvm
Resource Version:    2527242
Resource Version:    2527475

It looks like the VM is failing to launch, and then being immediately rescheduled. This could be caused by a number of issues.
I'd recommend setting the VM's vm.spec.runStrategy to manual, then using virtctl to start the VM. This will prevent the VM controller from automatically restarting the VMI right as it fails.
From there, observe why the VMI is failing
Some clues might be visible in this output kubectl describe vmi <vmi name>

@davidvossel there is not runStrategy in vm.yaml, should I add it explicitly?

@davidvossel there is not runStrategy in vm.yaml, should I add it explicitly?

yes, this runStrategy: manual value would be a replacement for running: true|false.

I think there's definitely some usability improvements we can make here.
VMs should fast loop, recreating VMIs constantly when failures occur. There should be a backoff period, and we should provide better tools for determining what is occuring.

I am observing the same issues on microk8s and kubevirt v0.33.0. Manual running seems to indicate a misplaced socket: the virt-launcher pod is complaining about not finding the libvirt-sock in /var/run/libvirt/ but an exec into the container shows that it is only found under /run/libvirt.

If you can find the failed pod, this should give us some hints as to why it failed.
kubectl logs -n <namespace> -c compute <pod>

kubectl logs -c compute virt-launcher-testvm-ds8ww
Error from server (BadRequest): container "compute" in pod "virt-launcher-testvm-ds8ww" is waiting to start: PodInitializing

same here, seems to be related to: https://github.com/kubevirt/kubevirt/issues/1205 because i also see:

virt-handler-qwzhd virt-handler {"component":"virt-handler","level":"error","msg":"failed to create tap device named tap0","pos":"podinterface.go:734","reason":"error creating tap device named tap0; error reading virt-launcher 141112 selinux label","timestamp":"2020-09-26T09:59:21.192848Z"}
virt-handler-qwzhd virt-handler {"component":"virt-handler","level":"error","msg":"failed to prepare pod networking","pos":"podinterface.go:201","reason":"error creating tap device named tap0; error reading virt-launcher 141112 selinux label","timestamp":"2020-09-26T09:59:21.192912Z"}
virt-handler-qwzhd virt-handler {"component":"virt-handler","kind":"","level":"error","msg":"Synchronizing the VirtualMachineInstance failed.","name":"testvm","namespace":"default","pos":"vm.go:1328","reason":"failed to configure vmi network: Critical network error: error creating tap device named tap0; error reading virt-launcher 141112 selinux label","timestamp":"2020-09-26T09:59:21.193113Z","uid":"fd641627-93d4-4e2d-95d6-f0140f03267d"}
virt-handler-qwzhd virt-handler {"component":"virt-handler","level":"error","msg":"virt-launcher crashed due to a network error. Updating VMI testvm status to Failed","pos":"vm.go:841","timestamp":"2020-09-26T09:59:21.193465Z"}

Got the same issue when doing the official "First steps with KubeVirt";
Got failed for vmis and using kubectl describe vmis got following message:

Normal   SuccessfulCreate  19s   virtualmachine-controller   Created virtual machine pod virt-launcher-testvm-pl8wc
  Warning  SyncFailed        15s   virt-handler, controlplane  failed to configure vmi network: Critical network error: error creating tap device named tap0; error reading virt-launcher 16390 selinux label
  Warning  Stopped           15s   virt-handler, controlplane  The VirtualMachineInstance crashed.
  Normal   SuccessfulDelete  15s   virtualmachine-controller   Deleted virtual machine pod virt-launcher-testvm-pl8wc

Any idea how to fix this?

Have to add that using the latest images which should have this https://github.com/kubevirt/kubevirt/pull/4163 fix applied but still does not work.

/cc @maiqueb @phoracek
any idea what might be causing this? Seems related to the network changes recently around tap devices.

/cc @maiqueb @phoracek
any idea what might be causing this? Seems related to the network changes recently around tap devices.

Having virt-handler logs to confirm it would be helpful, but we've recently found (in openshift) something similar: since we don't compile with bazel, we were compiling kubevirt without the selinux tag, which in turn caused virt-handler to not be able to read the virt-launcher label or effectively change context.
@majst01 / @wasd120d https://github.com/kubevirt/kubevirt/pull/4248 should fix it if you do not use bazel.

@maiqueb can you confirm than running all pods with :latest tag uses this ?

@majst01 now it should be available in the latest release for sure. Would you check whether it was fixed for you?

I met the same issue. In my os , selinux is disabled , kubevirt version is 0.33.0

Hi @phoracek
with v0.34.0 creating a vm works !
This is on bare-metal, with ubuntu-20.04 host os and k8s 1.18.9
Thanks a lot

/close

/close


Elementary error: ‘str’ was not declared in this scope

Firstly, thank you so much @nakkaya, I'm so keen to get started with ferret! But I've fallen at the first hurdle: I can't get a simple hello world to work.
Why does:
(println "hello world")

work, but:
(println (str "hello" "world"))

not work? Here's the output:
$ ferret -ci cli.clj

23:18:16 info dir => ./
23:18:16 info file => cli.clj
23:18:18 info compiled => ./cli.cpp
23:18:18 info building => g++ -std=c++11 -x c++ cli.cpp
23:18:18 warning build error
23:18:18 warning cli.cpp: In function ‘void cli::main()’:
cli.cpp:2203:29: error: ‘str’ was not declared in this scope
           run(println(),run(str,obj<string>("hello",(number_t)5),obj<string>("world",(number_t)5)));

I can see the error clearly, ‘str’ was not declared in this scope, but how can that be? Thank you!

str is not yet implemented. Strings occupy too much space and memory when working with microcontrollers. So objects know how to print them selfs but not how to convert them selfs to a string yet. For now there is an alternate macro called new-string that will let you create a string in compile time. It is also useful when you wanna return just a string from a function and not want it interpreted as a FFI call.
So following would work,
(println (new-string "hello" " " "world"))

And so it does! thank you!
I note I can't reassign new-string with
(def str new-string)

perhaps that is just how the language works?
Also, the reason I thought str was available is that it's in the core language page:
(defmacro pin-mode [pin mode]
  (let [pin (if (number? pin)
              pin
              (str "number::to<number_t>(" (symbol-conversion pin) ")"))
        mode (-> mode name .toUpperCase)]
    `(cxx ~(str "::pinMode(" pin ", " mode ");"))))```

here https://ferret-lang.org/#outline-container-sec-5

What does that mean?

Macros are evaluated at compile time and they are handled by real Clojure where you have access to str but on runtime there is no str.  new-string is just a convenience macro not a function thats why you can not reassign same as regular Clojure.

Fascinating! Thank you for that explaination.


Update new provider docs to use correct just commands

Description

The docs for adding a new provider reference the just commands that were used before moving the catalog into the monorepo. The commands should now be prefaced with catalog (eg just catalog/add-provider... instead of just add-provider...). Example

@stacimc I would like to work on this issue

@obulat please do check the PR #3319


Problem “Building an App with PHP 7” in Google Cloud

I am following https://cloud.google.com/appengine/docs/standard/php7/building-app to build a PHP application in Google Cloud.
But after I deploy the application and go to the URL, I got following error message.
Slim Application Error
The application could not run because of the following error:
Details
Type: Error
Code: 0
Message: Using $this when not in object context
File: /workspace/src/controllers.php
Line: 36
The source code is here: https://github.com/GoogleCloudPlatform/php-docs-samples/blob/master/appengine/php72/getting-started/src/controllers.php
Do you know how to fix this? Thanks.

The link provided is dead. Can you provide a working link?

The link provided is dead. Can you provide a working link?

Hi, thanks for taking a look at this problem. I just tried the source code link, you are right, the code is not there any more! Maybe they found the code is out-dated, so they removed it. Never mind then. But I really appreciate your willingness to help. Have a great day!

I am getting the same error mentioned above. I am following:
https://cloud.google.com/appengine/docs/standard/php7/building-app
Slim Application Error
The application could not run because of the following error:
Details
Type: Error
Code: 0
Message: Using $this when not in object context
File: /workspace/src/controllers.php
Line: 36
Trace
The source code is here:
https://github.com/GoogleCloudPlatform/php-docs-samples/blob/master/appengine/standard/getting-started/src/controllers.php

This has been fixed in #1296! Please update your master branch and you should be good to go.
Some update to the slim framework broke these samples. Sorry for the inconvenience!


Expressions with some failing tests

Removed grouping, highlighter and join per previous conversation.

Thanks, left some comments
Lets try to avoid touching unrelated files...

OK, I'll fix them later this evening. Thx

great job!

OK, all issues are fixed except for the first. I don't see the file on my machine.
The issue in Facet may have been caused when I was trying to fix the naming issue on the master branch. Thx

Hey, All items are fixed now including the sln file. Thx

I moved ahead and just copied the files over, way easier
Any further work on Expressions (e.g. fixing tests) needs to happen on a branch and merged via a clean PR
Thanks again @hakeemsm !

OK, will do. I got more tests in the green now! Thanks


Add 5v disable jumper to PCB

Is your feature request related to a problem? Please describe.
No.
Describe the solution you'd like
Add a jumper position (or switch position) to disconnect the 5v supply line to the Pi.
Additional context
This would allow use of Pis which require more power than the Apple 2 bus can provide by allowing them to be powered separately.

The original intention of this project was to make a standalone board. From the Apple II's perspective, it should be a simple peripheral card, not a separate computer with power cables running to it. That said, it's not difficult to add jumpers to the design. The previous revision of the board had jumpers for selecting a 27C256 EPROM or AT28C64B EEPROM. Given the current scarcity of Zero W and Zero W 2 variants of the Raspberry Pi, it would be nice to have the flexibility to use other boards with external power. The jumpers can be added along with the new hybrid SOIC/DIP board. Note that full sized Raspberry Pi boards do not physically fit with the Apple II's lid closed so you'll need a 40 pin ribbon cable to move the RPi off the card.

Recognizing there are some simplicity of assembly reasons for not requiring a jumper alternatives to a full scale jumper could be a spot for a 0 ohm SMD resistor, for a through hole wire link which could be cut, or a spot for a jumper which has a trace between the pads which could be cut through but later replaced with a jumper or a wire link if the user desired to re-connect.

Along the lines of using a more power-hungry rpi, you can undervolt, underclock, and disable some unnecessary functionality to significantly reduce power draw.
https://www.reddit.com/r/raspberry_pi/comments/aki1is/reducing_power_of_the_raspberry_pi_3_b/

Along the lines of using a more power-hungry rpi, you can undervolt, underclock, and disable some unnecessary functionality to significantly reduce power draw. https://www.reddit.com/r/raspberry_pi/comments/aki1is/reducing_power_of_the_raspberry_pi_3_b/

I think the WiFi and BlueTooth functions is required for the time being, especially WiFi for connecting to the Internet. I am not use if @tjboldt would like to BlueTooth functionality or not in existing or future updates.

Wifi is required to set the clock, get code updates, allow ssh to work etc. but the current setup instructions for setting up from scratch do disable Bluetooth.

Some notes on using external power:

The power must not be connected when inserting or removing the card from the slot
Since the latch chips controlling firmware pages run on 3.3V power supplied by the RPi, the card will hang on boot if the RPi is not powered
In testing a v5 board with a power trace cut, there were occasional boot failures while using external power but could be a coincidence
Using a USB power meter, the RPi Zero W 2 was typically drawing 170 mA but occasionally peaked around 250 mA, confirming the theory that when using internal power, the card uses up about half of all available power to all slots which Apple claims is a maximum of 500 mA. External power is likely required for systems with other power hungry cards installed.

Created a new sixth prototype with 5V jumper


Fix date and time data types

Codecov Report

Merging #7 (9266513) into master (c4662c7) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master       #7   +/-   ##
=======================================
  Coverage   22.20%   22.20%
=======================================
  Files         111      111
  Lines         761      761
  Branches       35       35
=======================================
  Hits          169      169
  Misses        592      592

Impacted Files
Coverage Δ

...CashManagement/V2/AccountReport/AccountReport11.cs
85.00% <100.00%> (ø)

...nagement/V2/AccountReport/DateTimePeriodDetails.cs
100.00% <100.00%> (ø)

...erCashManagement/V2/AccountReport/GroupHeader42.cs
100.00% <100.00%> (ø)

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 c4662c7...9266513. Read the comment docs.


MessageRouter MVP

Basic access token handling
Refactoring

I recommend reviewing this commit by commit as it contains a massive namespace change that doesn't require review


Add template for opening issues

To request information like SDK version , code sample etc

will work on this.

@joshgav can you please have a look at this. I think should be high priority.

heads up you can now do multiple issue templates too: e.g. https://github.com/terraform-providers/terraform-provider-azurerm/issues/new/choose 😄

@tombuildsstuff  oh nice , thanks for the heads up 👍


Issue with account creation

What would be the best way interact with accounts and wallets together on this UI?  In this case with local geth.  Is there a way to import accounts into the dashboard and also to hold the accounts and wallets across refresh (is it right that the local geth is not persisted across sessions?)

Ignore the question above, exported and imported!


Is Firefox ESR a supported browser?

The documentation in the Readme file lists 'Firefox ESR' as a sample query, yet it is not listed in the list of 'Browsers'.

Is 'Firefox ESR' a supported Browser?

if it is a supported browser, can queries be run against it like so:
 Firefox ESR > 25

ESR is already version, so you must write firefox esr.

Sorry, I'm a little confused. I do not understand what you mean by "ESR is already version."
Firefox ESR is a subset of the standard FIrefox browser. And in addition, it has it's own release schedule and release numbers, just like Firefox does.  The ability to query different versions of Firefox, but not Firefox ESR is conflicting in my opinion and doesn't do justice to those that need to target specific versions of Firefox ESR.

Firefox ESR is not special build :-). Just alias for version.

I just came to that realization and was updating my comment when you posted. Thank you!


tensorflow 2.0 variable slice assign_add not supported

Could anybody tell me in tf 2.0 rc1, why is variable slice assignment (varaible[...].assign function) works well but the assign_add is not supported?
e.g. :
var = tf.Variable(tf.ones([2,3,3]))
var[:, :, 1].assign(tf.zeros([2,3]))  # this will work
var[:, :, 1].assign_add(tf.zeros([2,3]))  # this will NOT work
AttributeError: 'tensorflow.python.framework.ops.EagerTensor' object has no attribute 'assign_add'

Reproduced this issue with TF Version 2.0.beta.

@jaingaurav Any update on this issue?

slice assign_add still not supported in tf 2.0 official release

I haven't had a chance to make much progress on this issue, but it requires doing similar tricks we do here for assign: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/ops/array_ops.py#L1091. We'll likely have to add other operators beyond just assign_add.

bump

ziofil@: This is definitely something we want to address as it is a usability issue. We're still trying to allocate time to work on this. In the meantime, contributions are welcome.

Reproduce this issue with Tf 2.1 and Tf-nightly==2.2.0.dev20200312.
Please find the gist here. Thanks!

what I did is replacing this:
total_recall = tf.assign_add(total_recall, current_recall)
with
total_recall = tf.compat.v1.assign_add(total_recall, current_recall)

Was able to replicate the issue with TF v2.5,please find the gist here ..Thanks!

I could reproduce the issue with TF 2.6 . Please, find the gist here.Thanks!

Hi @motionlife, Looks like issue is resolved on Tf v2.9.0.
import tensorflow as tf

var = tf.Variable(tf.ones([2,3,3]))
res_vas_assign = var.assign(tf.zeros([2,3,3]))
res_var = var.assign_add(tf.zeros([2,3,3]))
res_var.numpy()

Output
array([[[0., 0., 0.],
        [0., 0., 0.],
        [0., 0., 0.]],

       [[0., 0., 0.],
        [0., 0., 0.],
        [0., 0., 0.]]], dtype=float32)


Latest version 5.800 locks up Motorola phone on install

Initiated install of the latest version via Play Store updates on Motorola one 5g ace running Android 9. Device locked up! Had to hold down volume+power key to get it back.
Also have K-9 installed on an old Samsung Note 3 running Android 5, but before installing 5.8 in the same fashion, shut down the running K-9 first. No issues.
Suggestions: Close existing K-9 first before installing, or inform user they must do so before proceeding.

Hi,
same here with a Nokia 7 Plus (Android 10). After the download finishes the device will just freeze (after a few minutes the device will reboot, kernel panic?).

Suggestions: Close existing K-9 first before installing, or inform user they must do so before proceeding.

Opening the K-9 Mail App-Details and forcing the app to quit is necessary for the update to succeed.
Thank you very much for the suggestion. :-)
Unfortunately I do not how to extract crash dumps on Android.
Best regards,
Andreas

Hi, same here with a Oneplus 6T on Android 10. Even with Force Quitting K-9 does not seem to work. Can't install at the moment.

Android itself is responsible for installing the updated app. And of course it stops the old app before installing the new version. That's not something the user has to do (or can prevent).
The device locking up or crashing is always a bug in the operating system. The most an app should be able to do is crash its own process.
Closing this issue because there's really nothing we can do about this.

I have never seen any app crash on update in all the years I used Android. Maybe the APK is somehow corrupted or something. Please look into it again or try to give us hints to how we can supply logs which would help debug the problem.

An app is not involved in installing itself. No app code is running during that process. If there are any log messages, they are specific to your Android version.

Interestingly it just worked now, when I tried again... It makes no sense, but it probably was some Android magic happening. Still very weird. Maybe because the last update was so long ago, it was a bit rusty 😋

Fails to install and logs back in with phone starting message on Nokia 6.1. requires a reboot to get the fingerprint reader working again. I have also never seen an app do this but also understand that it should not be possible for an app to crash the OS.
In any case, I can't update to the latest k9-mail.

Uninstalling, then reinstalling the app usually works.

I am having the same issue on Android 10 LGv40, this seems to be a common issue by many users of various devices based on this repos closed issues,
in which I have with NO issues witg other apps except K9. I would suggest looking into it more instead of dismissing it as an OS issue or just saying to reinstall because that can be a bit inconvenient. It shouldn't be freezing on updates.

OP again. I have to agree with @seniorm0ment. This is software, after all, and I find it difficult to claim it's never the software and always the OS. I mean, at the very least, the OS finishes the install and starts the app, and couldn't that be the point the system gets locked up?


Unwatch/Remove stuff from Watched

Heyy,
So i am trying to integrate Trakt.tv api within my app for sync capabilities/backup. I was looking at how to sync the data and found the sync/watched/type and sync/watchlist/type which would allow me to get the Trakt.tv data about the shows and movies a person watch or is planning to watch. But I am a bit unclear how I should deal with the following scenario:
Lets say I sync my data with Trakt.tv at app launch and then a user decided to remove a Movie from its watched lists, how to I signal this to Trakt.tv I can't seem to have the ability to remove watched data, only watchlist. So if I cant remove it and the user resets the app the title will be back there because of the app launch sync with Trakt.tv
What api/method should be used to remove a titlle from watched in this case?

You'll need to look at the History data/endpoints in order to remove history but what you send when removing depends on which data you want to remove.
https://trakt.docs.apiary.io/#reference/sync/get-history
https://trakt.docs.apiary.io/#reference/sync/add-to-history
https://trakt.docs.apiary.io/#reference/sync/remove-from-history
You can send the items from the watched endpoint to the remove endpoint however that will remove all plays (eg. if I've watched a movie twice at different times (two plays), and you send the movie to the remove history, both those plays will be removed.


libwpe cannot find version 1.6.0 to build

I'm building wpewebkit-gtk and have suddenly started having issues with wpebackend-fdo
It has a requirement of libwpe >= 1.5.90 but <IP_ADDRESS> is been built.
I can see the 1.6.0 .bb file but even when I try to set the preferred version it says it cannot find the recipe and reverts to <IP_ADDRESS>

Which branch of meta-webkit are you using?

I'm pulling in master

Are you building wpewebkit or webkitgtk? Which version?

Here is the configuration I'm using:
MACHINE = "raspberrypi4"

DISTRO_FEATURES_remove = "x11"
DISTRO_FEATURES = "wayland opengl"
MACHINE_FEATURES = "screen touchscreen vc4graphics"

IMAGE_INSTALL = " \
weston \
weston-init \
webkitgtk-bin \
wpebackend-fdo \
"
PACKAGECONFIG_pn-cog = "webkitgtk"

PREFERRED_PROVIDER_virtual/wpebackend = "wpebackend-fdo"
PREFERRED_PROVIDER_virtual/libwpe = "wpebackend"

DISPMANX_OFFLINE = "1"

I'm pretty sure that's all the relevant config (taken from different files).
sources:
git.yoctoproject.org/git/poky                            -b dunfell
git.openembedded.org/meta-openembedded -b dunfell
git.yoctoproject.org/git/meta-raspberrypi        -b dunfell
github.com/OSSystems/meta-security              -b dunfell
github.com/Igalia/meta-webkit                         -b master

Anything else I pull and use isn't related. Hopefully that's enough to help you reproduce the same issue.

Thanks for that, it's compiling again. I could have sworn that I successfully compiled with that setting in place but apparently not. I added it to try and get cog to recognize the backend because it fails saying there's no default defined. When I try and add a symbolic link to the -fdo lib I get errors but if I used --platform=fdo it worked.
While using --platform=fdo won't affect my final requirements it'd be nice to have it correctly configured during the build.
Thanks again for your help.


ARROW-954: Flag for compiling Arrow with header-only boost

Yes, I think would be good to reintroduce ARROW_HDFS. If it becomes a long term issue we can create a leaf library.

I think you could set the current BOOST_HEADER_ONLY variable based on whether ARROW_HDFS is on; so if there are more options in the future that preclude a header-only build then this code is easier to maintain

Thanks, I reintroduced ARROW_HDFS

actually I think I deactivated more tests than needed if the boost static/dynamic libraries are not available, please hang on with merging

should be ready now

I'm just a bit confused how we detect the location of the boost headers for boost::multiprecision now in the case that we built with headers only. It seems that in this case find_package(Boost) is never run.

That's an issue, because it will only work if Boost is installed at system level. So we still need to run find_package(Boost)

You are right, that's an oversight on my part, I'll fix it!
I wonder if there is a good way to test for problems like this in the future. What would be ideal would be a travis build that tries to run a large number of different configurations infrequently (like once a day).

We could test for this particular issue by using a toolchain Boost from conda-forge (rather than the Ubuntu system packages), or we could do that in a separate integration testing repo (easier to Dockerize with Circle CI)

I tested it like this:
Create a new EC2 ubuntu 16.04 instance, apt-get install build-essential cmake and:

Install anaconda from https://www.continuum.io/downloads#linux
conda install -c conda-forge boost=1.64.0
git clone https://github.com/pcmoritz/arrow
cd arrow; git checkout boost-header-only
cd cpp; mkdir build; cd build; cmake -DARROW_HDFS=OFF ..; make

It found the boost from conda and compiled and decimal-test runs.

hm, looks like travis failed b/c the parquet-cpp repo timed out, everything passed on my branch:
https://travis-ci.org/pcmoritz/arrow/builds/230050584?utm_source=github_status&utm_medium=notification


⚠ Phillips Ormonde Fitzpatrick - IPSys has degraded performance

In badab38, Phillips Ormonde Fitzpatrick - IPSys (https://ipsys.pof.com.au) experienced degraded performance:

HTTP code: 200
Response time: 9597 ms

Resolved: Phillips Ormonde Fitzpatrick - IPSys performance has improved in 983ca80 after 22 minutes.


fix inconsitency in naming of the destination flag

Previously, you'd have to specify --destDir as the flag to target a specific directory, but we listed it as --destination in the prompt. I altered the naming of the flag to match what the prompt specified.


Transform Widget

Widget and documentation for correctly handling matrices based on transformation method.
DRAFT PR

Codecov Report

Merging #81 (3eeac45) into main (af68ac6) will increase coverage by 3.46%.
Report is 4 commits behind head on main.
The diff coverage is n/a.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff             @@
##             main      #81      +/-   ##
==========================================
+ Coverage   85.96%   89.42%   +3.46%
==========================================
  Files           4        6       +2
  Lines         171      227      +56
==========================================
+ Hits          147      203      +56
  Misses         24       24

see 4 files with indirect coverage changes

Hi @jni, documentation has been updated to be more narrative. Also I'm not super clear on WHY some transformation methods go from reference to moving, so any additional explanation here would be appreciated.


JuliaRegistrator Issue

Issue to call the JuliaBot
@JuliaRegistrator register
Release notes:
Initial Release. Toolbox to streamline Unfold style EEG analysis of BIDS compatible datasets.

Issue to call the JuliaBot
@JuliaRegistrator register
Release notes:
Initial Release. Toolbox to streamline Unfold style EEG analysis of BIDS compatible datasets.

Registration pull request created: JuliaRegistries/General/104360
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" 81b93434dd553bd86752463f4882d314caf8adb2
git push origin v0.1.0

@JuliaRegistrator register

Registration pull request updated: JuliaRegistries/General/104360
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" 25735b452f2356efd70b483022cb2388949fdd42
git push origin v0.1.0

@JuliaRegistrator register
Release notes:
Major changes
Now allows for savin/ loading Unfold models from resulting DataFrame with:
save_results( )
load_results( )
Minor changes

better docstrings for all functions
bugfix where multiple files from brainvision were detected

Registration pull request created: JuliaRegistries/General/108156
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.0 -m "<description of version>" 6f6a5a8f1fd34032690a3c41b124e650f9095f00
git push origin v0.2.0

@JuliaRegistrator register
Release notes:
Breaking changes

Updated to use Unfold v0.7
rename function UnfoldBIDS.add_latency_from_df to UnfoldBIDS.rename_to_latency according to suggestion in #85
rename data_df.data to data_df.raw to comply with MNE standard #86
because of the new Unfold version needed: bugfix when remove_time_expanded_Xs

Major changes

new Unit testing #59
documentation overhaul
implemented better Artifact for testing and documentation

Minor changes

better docstrings for all functions
renaming of multiple internal variables
added doc previews

Registration pull request created: JuliaRegistries/General/117957
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.3.0 -m "<description of version>" 34080dc6afdb23e0564988187ea886fa75d9325e
git push origin v0.3.0


Update README.md

The plots.force seems to be updated and now requires base_value and only values of the shap values.

Thanks! Sorry I was out for a while and let this PR sit. When I tried the readme it works as current written. If you see an issue here still let me know and I'll reopen.


How to fit for different input size?

Hi good job, could you tell me how to fit your code for input size, such as 128128， 192192， 256*256 ？ thanks.

Due to the nature of windowed attention, our model at 224x224 can only supports multipliers of 224 sizes, eg, 224/448/672/896... You'd have to manually pad the shape to satisfy the requirements. Please see our colab demos on how to inference at higher resolution.


Cannot import wallets with .json extension

Importing a wallet with .json extension instead of .key extension does nothing - I get back to import/create screen without any message. Simply changing the extension of that same key file to .key - works fine.

Strange as file extension should not matter and hasn't affected in the past. The desktop wallet generates a .json file and this could be imported without any problems. I also changed the extension to .json and it worked.
I think this may be related to another bug due to the time lock and I will be issuing an update very soon which fixes it.
You can for now try clearing the app data in App Info in the Android Settings and try importing the .json file. You can access this menu normally by holding on the app icon in you home screen or app drawer.
If this fixes the issue, for now don't disable the password as that is what causes the bug. Will be fixed in the next update!
If it doesn't work, can you provide brand of your phone and model with Android version you are running?

Clearing app data seems to fix it and now any file with any extension works. I was sure this must have been bug :)

Ok thanks, this is definitely the bug I thought of. Will do an update very soon which fixes it!
Thanks for reporting


disable trash for bench & gc tests

Codecov Report

Merging #1833 (a6ad5a8) into main (9432859) will decrease coverage by 0.09%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1833      +/-   ##
==========================================
- Coverage   61.83%   61.74%   -0.10%
==========================================
  Files         135      135
  Lines       23019    23019
==========================================
- Hits        14234    14213      -21
- Misses       7186     7206      +20
- Partials     1599     1600       +1

Impacted Files
Coverage Δ

pkg/fuse/context.go
56.75% <0.00%> (-10.82%)
:arrow_down:

pkg/chunk/cached_store.go
76.59% <0.00%> (-1.47%)
:arrow_down:

pkg/vfs/reader.go
80.29% <0.00%> (-1.28%)
:arrow_down:

pkg/chunk/disk_cache.go
78.88% <0.00%> (-0.98%)
:arrow_down:

pkg/meta/base.go
71.18% <0.00%> (-0.51%)
:arrow_down:

pkg/meta/sql.go
67.27% <0.00%> (+0.10%)
:arrow_up:

pkg/vfs/writer.go
79.66% <0.00%> (+1.01%)
: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 9432859...a6ad5a8. Read the comment docs.


View Culling

It'd be nice if OpenGL only drew what was seen by the Camera.

This would be great a great performance saving feature for #196

I want to make another suggestion and give the option to only draw things x distance from the camera  and not things right at the edge to lower chances of seeing blank area while rendering. This would have a default and be modifiable by the user.

@otraore Sounds good to me!

and not things right at the edge

Could you elaborate on this?