Drop '_id' in favor of just 'id' columns.

The underscore is some weird holdover from content providers.

Closed with db7afd3f0304c8d0ec0b74264d345fc64ad02eb8


Write "Getting started with developing on the HDMI2USB firmware" document

This should include;

Setting up the build environment

See https://github.com/timvideos/HDMI2USB-misoc-firmware/tree/master/scripts#building-hdmi2usb-misoc-firmware for start

Using git and github for things like sending pull requests

See the email I sent to GSoC students

Using github issues

See https://github.com/timvideos/HDMI2USB-misoc-firmware/blob/master/CONTRIBUTING.md
See https://github.com/timvideos/getting-started/blob/master/README.md

Getting travis setup on your forked repository for testing your patch while developing.

How to navigate the existing code

Explanation about migen / misoc
High level explanation of the directory structure
More?

@xfxf - You wrote the instructions for getting the stuff building. Do you want to attempt doing some of the rest of this?

Here is what I send the GSoC students;

As you are all working on the HDMI2USB project, we would like you to submit a patch to the HDMI2USB-misoc-firmware repository. We use the "fork and pull request" model, which GitHub describes at https://guides.github.com/activities/forking/. (There is also some good tips in https://guides.github.com/activities/contributing-to-open-source/)
The process for submitting your first patch is as follow;

Get the HDMI2USB-misoc-firmware setup on your machine.

You will need to be using Ubuntu Linux 14.04 (preferred, but later version can also work).

You should follow the instructions at https://github.com/timvideos/HDMI2USB-misoc-firmware/blob/master/scripts/README.md

The process requires you to download the "ISE WebPACK" which is 17Gb. This may take some of you a very long time to download, so you should start it ASAP!

Click the "Fork" button to create a copy of the repository under your own GitHub user.

This is where your work will be published and it is fine to push half finished or "work in progress" stuff to this repository (it won't disrupt the main repo).

Code which isn't published on GitHub "doesn't exist". You should commit and push your code often and frequently. You can clean it up at a later date.

You will need to update the git repo to point to your fork on GitHub.

There are some instructions at https://help.github.com/articles/fork-a-repo/
I use the following;
git remote rename origin upstream
git remote add origin https://github.com/YOUR_USERNAME/HDMI2USB-misoc-firmware.git
git fetch origin

Go to the issues list and filter for bugs which are labelled with "status-good-first-bug".

You can find some help for using the GitHub issue tracker at https://github.com/timvideos/getting-started and https://guides.github.com/features/issues/

When you start working on a bug, please leave a comment on the issue saying that you have started working on it and where to find the work in progress.

Fix the issue.

While we have tried to make sure all bugs marked as "Good First Bug" should be relatively simple for a new person to solve. However, sometimes we get it wrong! If an issue is taking you longer than 3-4 hours to fix (after you have set things up), then this might be the case. Please communicate with the TimVideos community and we'll help you figure out what is going on.

Try to keep your fix as small as possible. If you find yourself refactoring large amounts of code, you are probably not working on a "Good First Bug" any more.

Send a pull request.

Documentation on using pull requests can be found at https://help.github.com/articles/using-pull-requests/

The commit message, pull request subject and comments are as important as the code being submitted! Please make sure they;

Use correct spelling and grammar
Reference the issue they are fixing. (See https://help.github.com/articles/closing-issues-via-commit-messages/ and https://help.github.com/articles/autolinked-references-and-urls/#issues-and-pull-requests).
They describe why and how this fix does.

While we have tried to make the process for getting set up as smooth as possible, there is always the possibility that things don't work right. If you get stuck, please do ask for help! Obviously you should follow the tips given at https://code.timvideos.us/summer-of-code/#how-to-ask-for-help when asking!
You can ask for help on both the mailing list<EMAIL_ADDRESS>or on IRC (irc://irc.freenode.net/#timvideos). Generally you are likely to get a quicker to responds on IRC.


Are crashes counted toward max_actions?

I couldn't find much info in the docs about crashes. Do only non-crashing actions count towards max_actions?

max_actions is intended to limit the state space from growing too wild. max_actions limits the number of times the action gets triggered irrespective of whether the action completed or crashed or still in progress.

So I think I've found a case where the action is triggered more than max_action times.
When I run this fizz file the Human#0.Input action crashes twice and then runs again, despite Human.Input. max_actions=2.


New version: eat-pray-ai.yutu version 0.9.2

Pull request has been created with WinGet Releaser :rocket:
Microsoft Reviewers: Open in CodeFlow

/azp run


Default branch is not set correctly on newly initilized repos

The branch on a gitlab repo with default branch main was initialized with branch master as the HEAD.
Had to git checkout main to set the HEAD to the correct branch.

fixed in alpha2


Wiki Pages With Examples

Need wiki pages showing:

Examples for using http-builder-ng
Description of architecture and a brief description of the main API classes
Description of how to write encoders and parsers
Description of how to integrate a new http client library

This is basically done. More will come but I am going to close this specific issue in favor of "ongoing improvement" :-)


HYPERV - Add try catch in method Get-HostMemory

Need add try catch in https://github.com/LIS/LISAv2/blob/master/Libraries/HyperV.psm1#L901
Hit below exception -
08/21/2019 07:28:20 : [INFO ] HyperV Group LISAv2-TwoVM-lili-SB60-637019441004 Created with Instance ID: da702593-ffff-40c4-a561-a6d0cefc0fb0.
08/21/2019 07:28:21 : [INFO ] Checking if there is enough memory on localhost
08/21/2019 07:28:21 : [ERROR] Exception detected. Source : DeployVMs()
08/21/2019 07:28:21 : [ERROR] EXCEPTION : Cannot index into a null array.
08/21/2019 07:28:21 : [ERROR] Source : Line 904 in script .\Libraries\HyperV.psm1.
08/21/2019 07:28:21 : [INFO ] CURRENT - PASS    - 0
08/21/2019 07:28:21 : [INFO ] CURRENT - SKIPPED - 0
08/21/2019 07:28:21 : [INFO ] CURRENT - FAIL    - 0
08/21/2019 07:28:21 : [INFO ] CURRENT - ABORTED - 4
08/21/2019 07:28:21 : [INFO ] Test SB60 finished

Add try...catch statement cannot resolve this issue. The root cause is that the return value of Get-Counter is null if $HvServer is offline. Index into a null array is prohibited.
$availableMemory = [int](Get-Counter -Counter "\Memory\Available MBytes" -ComputerName $HvServer).CounterSamples[0].CookedValue

This patch #532 fixed the issue.


Git ignore file not working

Issue Type: Bug
Git tool in vscode track the files list in .gitignore.
This bug occurs after update.
Right click the file, add it to ignore again, didn't work.

VS Code version: Code 1.22.2 (3aeede733d9a3098f7b4bdc1f66b63b0f48c1ef9, 2018-04-12T16:38:45.278Z)
OS version: Windows_NT x64 6.1.7601

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz (4 x 2294)

Memory (System)
3.92GB (1.28GB free)

Process Argv
E:\devTools\Microsoft VS Code\Code.exe

Screen Reader
no

VM
50%

Extensions (4)

Extension
Author (truncated)
Version

vscode-eslint
dba
1.4.8

php-intellisense
fel
2.3.1

php-pack
fel
1.0.1

python
ms-
2018.3.1

Hi ODoraemon,
I'd like to take a look into this. I will edit soon with my findings.
Regards,
Michael & Joshua

Just to give my two cents on this issue :
This issue might happen because your file config.py has already been added to the repository. Gitignore ignores files that are untracked, and that means ignoring a file that was already in the repository won't work.
This may be why it doesn't work on either VSCode nor Git Bash, as both uses git to make their styling/git functionalities work.


Using existing origin access identity fails with explicit context

Found a bug? Maybe our Slack Community can help.

Describe the Bug
Code:
module "label" {
  source  = "cloudposse/label/null"
  version = "0.25.0"
  name        = "foo"
}
resource "aws_cloudfront_origin_access_identity" "this" {
  comment = module.label.id
}
module "cdn" {
  source  = "cloudposse/cloudfront-s3-cdn/aws"
  version = "0.82.5"
  # ...
  context = module.label.context
  cloudfront_origin_access_identity_iam_arn = aws_cloudfront_origin_access_identity.this.iam_arn
}

Gives error:
│ Error: Invalid count argument
│
│   on .terraform/modules/cdn/main.tf line 103, in resource "aws_cloudfront_origin_access_identity" "default":
│  103:   count = local.create_cloudfront_origin_access_identity ? 1 : 0
│
│ The "count" value depends on resource attributes that cannot be determined
│ until apply, so Terraform cannot predict how many instances will be
│ created. To work around this, use the -target argument to first apply only
│ the resources that the count depends on.

This local variable is defined as:
locals {
  enabled = module.this.enabled
  create_cloudfront_origin_access_identity = local.enabled && length(compact([var.cloudfront_origin_access_identity_iam_arn])) == 0 # "" or null
}

I'm not 100% clear why this fails, but I believe it's because module.this.enabled can't be determined from static data.
Environment (please complete the following information):
Anything that will help us triage the bug will help. Here are some ideas:
Terraform 1.2.6

Can this PR be merged? I'm running into that issue as well


feat: drop support for node 10, install with npm7

🧰 What's being changed?

[x] Drops support for Node 10
[x] Changes our lockfile and CI processes to use NPM 7.

🧪 Testing

[ ] Tests pass?

nuts to this


tableRow is undefined

Thank you for submitting an issue to jsPDF. Please read carefully.
Are you using the latest version of jsPDF?
yes
Have you tried using jspdf.debug.js?
yes
Steps to reproduce
Ideally a link too. Try fork this http://jsbin.com/rilace/edit?html,js,output
What I saw
What I expected
** detail **
jspdf.min.js :
msg:   r[o] is undefined
line: 97:3077
jspdf.debug.js :
msg:   headers[j] is undefined
line: 8220
rowData[headers[j].name] = tableRow.cells[j].textContent.replace(/\r?\n/g, '');

Your example code?


Translation: IT - Italiano

From now on, i'm officially working on the italian translation.

The translation is oficially over and ready to be used :)

Dear Nicky,
I completed the traslation at the end of April... but it's not been merged on the gh-pages, so I cannot show it to my italian friends, could you fix it please?
thank you :)

@antalele Oh my gosh I'm sorry! I really thought I'd already merged it on gh-pages but – ironically, given the topic of this interactive – I did not remember :(
I will merge it as soon as possible! For some really bizarre reason my computer can't access git repos on this library WiFi, and my home WiFi is down for the next week. I will find a coffeehouse in the next few days that can connect to git, merge the branch, and update you again.
Sorry again but thanks so much for waiting!


docs: add dotnet installation & example doc

Summary
Add documentation for .NET
Tests
Rendered website
Dependency changes
None.
AB#1885642

/azp run

Codecov Report

Merging #1567 (ecd462a) into master (db95a10) will decrease coverage by 11.22%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #1567       +/-   ##
===========================================
- Coverage   83.53%   72.31%   -11.23%
===========================================
  Files         305      286       -19
  Lines       15776    14792      -984
  Branches      732      732
===========================================
- Hits        13179    10697     -2482
- Misses       2597     4095     +1498

Impacted Files
Coverage Δ

...soft/azure/synapse/ml/cognitive/AudioStreams.scala
0.00% <0.00%> (-87.88%)
:arrow_down:

...ft/azure/synapse/ml/cognitive/AzureSearchAPI.scala
2.59% <0.00%> (-87.02%)
:arrow_down:

...synapse/ml/cognitive/TextAnalyticsSDKSchemas.scala
0.00% <0.00%> (-81.20%)
:arrow_down:

...osoft/azure/synapse/ml/cognitive/AzureSearch.scala
7.19% <0.00%> (-80.58%)
:arrow_down:

...e/synapse/ml/cognitive/FormRecognizerSchemas.scala
7.69% <0.00%> (-76.93%)
:arrow_down:

...se/ml/exploratory/DistributionBalanceMeasure.scala
20.73% <0.00%> (-75.61%)
:arrow_down:

...t/azure/synapse/ml/cognitive/SpeechToTextSDK.scala
16.47% <0.00%> (-74.12%)
:arrow_down:

...ure/synapse/ml/cognitive/FormOntologyLearner.scala
14.28% <0.00%> (-73.47%)
:arrow_down:

...napse/ml/exploratory/AggregateBalanceMeasure.scala
25.80% <0.00%> (-70.97%)
:arrow_down:

...synapse/ml/exploratory/FeatureBalanceMeasure.scala
24.54% <0.00%> (-70.91%)
:arrow_down:

... and 57 more

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 db95a10...ecd462a. Read the comment docs.


Allow for only single call to DisposeScope.dispose

IMHO, DisposeScope should be single use – we should be able to dispose() it only once. Trying to dispose() more than once should trigger some assertion or throw an exception.
Similar safety check is already in place here.
cc: @RobertOdrowaz

Additionally, I'd introduce DisposeScope.run:
/// Calls [block] only if this dispose scope is not disposed.
  Future<void> run(Future<void> Function(DisposeScope scope) block) async {
    if (!_isDisposed) {
      await block(this);
    }
  }

  void disposed(DisposeScope disposeScope) {
    disposeScope.addDispose(dispose);
  }

Fixed in #25.


SP&500 Historical volume incorrect

Hello,
Using the following code to download SP&500 historical data from yahoo:
from pandas_datareader import data as pdr
import fix_yahoo_finance as yf
yf.pdr_override()

Data = pdr.get_data_yahoo("^GSPC", start="2018-12-01", end="2018-12-11")

Results in something like this:
print(Data)
                   Open         High    ...        Adj Close     Volume
Date                                    ...
2018-12-03  2790.500000  2800.179932    ...      2790.370117 -108907296
2018-12-04  2782.429932  2785.929932    ...      2700.060059  204872704
2018-12-06  2663.510010  2696.149902    ...      2695.949951  846502704
2018-12-07  2691.260010  2708.540039    ...      2633.080078  -78277296
2018-12-10  2630.860107  2647.510010    ...      2637.719971 -143937296
2018-12-11  2664.439941  2674.350098    ...      2636.780029 -389097296

As can be seen in the output, all the info is fine except the volume, which is persistently incorrect and even is negative for several days. This problem does not exist when I review the same data from this quote directly from yahoo. https://finance.yahoo.com/quote/%5EGSPC/history/
Is there any solution to this problem?
Thanks!

I tried your above code, but the output looks good
$ python test.py
[*********************100%***********************]  1 of 1 downloaded
                   Open         High          Low        Close    Adj Close  \
Date
2018-11-30  2737.760010  2760.879883  2732.760010  2760.169922  2760.169922
2018-12-03  2790.500000  2800.179932  2773.379883  2790.370117  2790.370117
2018-12-04  2782.429932  2785.929932  2697.179932  2700.060059  2700.060059
2018-12-06  2663.510010  2696.149902  2621.530029  2695.949951  2695.949951
2018-12-07  2691.260010  2708.540039  2623.139893  2633.080078  2633.080078
2018-12-10  2630.860107  2647.510010  2583.229980  2637.719971  2637.719971

                Volume
Date
2018-11-30<PHONE_NUMBER>
2018-12-03<PHONE_NUMBER>
2018-12-04<PHONE_NUMBER>
2018-12-06<PHONE_NUMBER>
2018-12-07<PHONE_NUMBER>
2018-12-10<PHONE_NUMBER>

So I guees the problem is only happening to me and don't know what it is. Still executing the code and the same thing keeps happening, also tried using several enviroments.

I’ve closed all the issues as the library went through a complete rewrite yesterday. Please upgrade to the latest version (0.1.25) and reopen this issue if the problem persists

I've got the same problem. Don't know what to do.

Please upgrade to the latest version (currently 0.1.30) and report back if the problem persists.


[Buttons] Mixins for :host selectors

What is missing?
Mixins only work for regular elements selectors, not for :host. Probably not only buttons but also other components using pseudo selectors
What is wrong now ?
button mixins don't generate valid css for :host pseudo selector. It generates :host:hover instead of :host(:hover). Workaround is to add one more wrapping element in component template and use mixin on it
Possible Solution
Adding boolean argument to mixins or creating mixins specifically for :host.
I'm volunteering to supply PR if this is something Foundation wants.
Your Environment

Foundation version(s) used: 6.6.1
Browser(s) name and version(s): latest Chromium
Device, Operating System and version: xubuntu

Checklist

[x] I have read and follow the CONTRIBUTING.md document.
[x] There are no other issues similar to this one.
[x] The issue title and template are correctly filled.

Hi @TvrtkoM,
thanks for reporting this.
But I do not really understand what you mean. There is no :host in the scss files and css files at all:

Hi @TvrtkoM,
thanks for reporting this.
But I do not really understand what you mean. There is no :host in the scss files and css files at all:

Please provide some code so that we can reproduce this.

If you mean &:hover, these are the correct and normal selectors in SCSS.
So far we have no special support for Shadow DOM.
As Foundation Sites still has to support and supports IE 10 and 11 we do not provide such solutions so far. Also see https://caniuse.com/#feat=mdn-api_shadowroot_host

Related:
https://github.com/sass/sass/issues/1436#issuecomment-56225206
https://github.com/sass/sass/issues/1425

:host {
   @include button-hollow-style;
}

doesn't have e.g. :hover pseudo-class compiled to
:host(:hover) { /* ... */ }

but
:host:hover { /* ... */ }

But nevertmind, after thinking about this a bit, it would be pretty hard to implement it as mixin considering other usecases such as :hover(.class-name) { @include ...; }
Nevertheless it's something scss compiler will probably have to deal with.
Workaround is having additional element inside component shadow dom

As Foundation Sites still has to support and supports IE 10 and 11 we do not provide such solutions so far. Also see https://caniuse.com/#feat=mdn-api_shadowroot_host

Hope Foundation 7 will not have to support IE or Edge past Edge Chromium based. :)


Explicitly depend on htmlunit 2.20 to support jQuery 2.20

Backport of #40

I don't know how to fix Travis in this case...

@mkurz you can add a .travis.yml to this PR, so travis will use it to proper run the build.

@marcospereira The same like in the master branch?

Looks like the .travis.yml at the master will do the trick.

BTW, I think it would be ok if you cherry-pick commit 4e8e7b2b90dabac5c3bb7229247c95768489080a to 1.4.x branch and have it here without squashing.

@marcospereira Done

Build is green.


Add support for CLI directory recursion

refer to https://github.com/pgilad/leasot/issues/107
Included a simple test+fixtures to make sure the recursion works.

Looks awesome, I'll review it soon!

Thanks for the contribution!


Fail to create connection pool

Fail to create a new connection for the connection pool. Error:{"msg":"Failed to connect to localhost:8080 in less than 20s","message":"Failed to connect to localhost:8080 in less than 20s.","isOperational":true}

Please provide more information, there isn't much I can do to help you.
You probably didn't start RethinkDB or are using the wrong port.


Control dev

Control failures from cve_scan_v2 based on score.

The new cve_scan_v2 output does not always include a score, so we need to first figure out if we want to filter based on the keywords in the description, like Critical, Important, Moderate or add the score to the non verbose output of cve_scan_v2


fix a typo reseting -> resetting

fix a typo in line 264: reseting -> resetting

Please sign the commit


How to swipe?

It just doesn't swipe. It displays, scrolls and everything, but items just stay at the same place when trying to swipe them horizontally. Here's what I did:

Wrapped my adapter using RecyclerViewSwipeManager#createWrappedAdapter()
Attached my recycler using RecyclerViewSwipeManager#attachRecyclerView()
Used SwipeDismissItemAnimator as animator
Made my adapter implement SwipeableItemAdapter:

onGetSwipeReactionType() always returns RecyclerViewSwipeManager.REACTION_CAN_SWIPE_BOTH
onSetSwipeBackground() does nothing
onSwipeItem() always returns RecyclerViewSwipeManager.AFTER_SWIPE_REACTION_DEFAULT
onPerformAfterSwipeReaction() does nothing

Made my view holder extend AbstractSwipeableItemViewHolder:

Content layout is wrapped into a FrameLayout
Content layout is returned in getSwipeableContainerView()

Overrode getItemId(), returning a unique ID for each item

I also did the RecyclerViewTouchActionGuardManager thing from the example.
What did I miss?
My next step would by copying the whole example into my project and clean up line by line. This will take me hours. Any hints from anyone who went through this would be greatly appreciated.

@Override
public int onGetSwipeReactionType(ViewHolder viewHolder, int position, int x, int y) {
    // What did you return here?
    return RecyclerViewSwipeManager.REACTION_CAN_SWIPE_BOTH;
}

Returning always RecyclerViewSwipeManager.REACTION_CAN_SWIPE_BOTH, like in your code above.

Your adapter should have stable ids:
setHasStableIds(true);

@Liliniser: That was the missing piece. Thanks a lot, you've saved the day! :)


A couple of bug fixes for the ftp storages and added the use of "localtime()" to get the correct timestamp.

FTP and SFTP storages will be replaced by Django-Storage-Redux ones. Until they are not tested and changed, your contributions are very welcomed.
Can you rebase you commit to only one ? You made 3 commits for 1 line.

You can use git rebase for this usage. See here: http://stackoverflow.com/questions/6934752/combining-multiple-commits-before-pushing-in-git#answer-6934882

Ok. Thank you very much for your patience...


Presentations/csf 2018

Including CSF presentation into repository alongside Devcon presentation.

@daejunpark this adds the CSF presentation to the repository, along with a unified build system for presentations/media in the future. Let me know if you have questions, when you approve and tests pass I'll merge.


help-wanted: qustion about cilium service-mesh

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
is it possible to  configure CiliumEnvoyConfig like istio (VirtualService+ DestinationRule) , route traffic to service subset?
cilium slack discussion
Cilium Version
origin/master
commit b411ca306ce68a41e174f98dc42db8fa0be156af (origin/master, origin/HEAD)
Author: Paul Chaignon<EMAIL_ADDRESS>Kernel Version
Linux zhanghe 5.15.0-35-generic #36-Ubuntu SMP Sat May 21 02:24:07 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Kubernetes Version
n/a
Sysdump
No response
Relevant log output
No response
Anything else?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Thanks for your issue, I am exploring this, and will share my findings later on.

hi, @sayboras , could you sharing your slides or documentions about this ? thanks very much!

Sorry for late reply, I didn't explore on this further as there is another parallel work related to Gateway API #20655.
Multiple initiatives are going on in upstream Gateway API and GAMMA.

:), as far as i known, it's not possible, cause CiliumClusterwideEnvoyConfig/CiliumEnvoyConfig CRD using services field as an frontend service reference by resources, and every service in services field will be an envoy cluster resource, but istio split every k8s service by subset label seletor to different envoy cluster, they are  different controller logic.

:wave: sorry for late reply, I was on PTO during that time.
The changes for #20655 is merged to master, and will be part of 1.13.
I am closing the issue, feel free to re-open if you have any related concern. Thanks a lot.


Added documentation for loading the jaxb2-annotate-plugin

Figured this documentation may help others not have to spend a frustrating day getting the jaxb2-annotate-plugin to work.

Closing due to it being ignored. I guess documentation updates aren't welcome.


Digimesh Library default values should be bytes

For Python3 the digimesh module fails if given the defaults because they are currently strings and not bytes.

Hi @killian441 thanks for raising. Please do feel to fork/raise pull request if you have a proposed fix. Contributions are always welcome :-)

I have added Python 3 support to the DigiMesh class on PR #46.
Feel free to give it a test by cloning this branch while we wait for it to be approved to be merged with master:
https://github.com/nioinnovation/python-xbee/tree/issue45-digimesh-p3

Hi, thanks for putting together a pull-request. I had planned to do one when I had some free time, but this is all I would do. Looks good

No problem., this was a fairly simple one :-). Please do feel free to contribute if you see anything else amiss. This has now been merged in DigiMesh should now work with Python 3.
Jim


QUICKSTEP-24 Report generation support for work order execution statistics

This PR provides an initial version of the support required to report individual work order execution performance. Some highlights are described below:

A flag to enable work order profiling report generation.
At the end of each query, a report is generated which includes worker
ID, its NUMA socket, the query ID, the operator that produced the WorkOrder and the
execution time in microseconds.
The output is printed on stdout in CSV format as of now.

As this is a rudimentary support for the functionality, there is a lot of future work in this regards, which includes printing of CPU core information, printing operator name, allowing user to specify a file where the output can be written, extend the support for rebuild WorkOrder statistics etc.
Edit: Added query ID.

@hbdeshmukh This is a neat feature. LGTM. Will merge once Travis comes back green. (BTW, we don't need to edit the copyright files anymore, but don't worry about it in this PR.)

Hi @pateljm
I have made the requested changes. The API to get the stats is changed a bit. Now the functions printWorkOrderProfilingResults() and getProfilingResults() require a query ID to be passed, so that we can print results for queries with specific ID. Typically, in our experiments we ignore the first run of the query, so we can use the profiling results for subsequent runs.
I have performed basic testing on the command line with more than one queries as input and it worked alright.

Hi @pateljm
Rebased with master.


Unsupported method: TaskOperationDescriptor.getDependencies() with Gradle 6.8

The docs of TaskOperationDescriptor.getDependencies() say that this will happen if a Gradle version < 5.1 is targeted as there the capability was added.
But it happens with Gradle 6.8.
I didn't try this before, but I assume this used to work, thus reporting it as regression.

And the same for getOriginPlugin

And the same for getOriginPlugin

@Vampire Can you describe what you are trying to achieve? And which Gradle versions are in play.

@Vampire Can you describe what you are trying to achieve? And which Gradle versions are in play.

Only 6.8 and no specific goal.
I just played with getting a build as configuration cache safe as possible and thus needed to replace some code that was done at configuration time and needs to be done on every build with a build service that is registered as completion listener.
And in the listener I played with what info you get from the event.
To reproduce (sorry for the bad report before) just have this build.gradle.kts:
import org.gradle.kotlin.dsl.support.serviceOf
import org.gradle.tooling.events.FinishEvent
import org.gradle.tooling.events.OperationCompletionListener
import org.gradle.tooling.events.task.TaskOperationDescriptor

abstract class FooService : BuildService<BuildServiceParameters.None>, OperationCompletionListener {
    override fun onFinish(event: FinishEvent?) {
        val descriptor = event?.descriptor as? TaskOperationDescriptor
        println("event?.descriptor?.dependencies = ${descriptor?.dependencies}")
        println("event?.descriptor?.originPlugin = ${descriptor?.originPlugin}")
    }
}

serviceOf<BuildEventsListenerRegistry>()
    .onTaskCompletion(
        serviceOf<BuildServiceRegistry>()
            .registerIfAbsent("foo", FooService::class) { }
    )

and then execute the help task

Only 6.8 and no specific goal.
I just played with getting a build as configuration cache safe as possible and thus needed to replace some code that was done at configuration time and needs to be done on every build with a build service that is registered as completion listener.
And in the listener I played with what info you get from the event.
To reproduce (sorry for the bad report before) just have this build.gradle.kts:
import org.gradle.kotlin.dsl.support.serviceOf
import org.gradle.tooling.events.FinishEvent
import org.gradle.tooling.events.OperationCompletionListener
import org.gradle.tooling.events.task.TaskOperationDescriptor

abstract class FooService : BuildService<BuildServiceParameters.None>, OperationCompletionListener {
    override fun onFinish(event: FinishEvent?) {
        val descriptor = event?.descriptor as? TaskOperationDescriptor
        println("event?.descriptor?.dependencies = ${descriptor?.dependencies}")
        println("event?.descriptor?.originPlugin = ${descriptor?.originPlugin}")
    }
}

serviceOf<BuildEventsListenerRegistry>()
    .onTaskCompletion(
        serviceOf<BuildServiceRegistry>()
            .registerIfAbsent("foo", FooService::class) { }
    )

and then execute the help task

This also happens in 6.7.
It looks like this is something unfinished. The TODO here is saying a lot: https://github.com/gradle/gradle/blob/c20e0c8217c8ad9be34475dee8a25366bf542d71/subprojects/build-events/src/main/java/org/gradle/internal/build/event/DefaultBuildEventsListenerRegistry.java#L226
The event types are shared with TAPI, but the conversion is done in a different way and some information isn't available/lost.
@eskatos I'm guessing this is something low priority/only added to as we need something for CC.

@Vampire Can you describe what you are trying to achieve? And which Gradle versions are in play.

I'd like to add my similar use case.
I'm trying to calculate a critical path (#13931). To do so I need to know dependencies between tasks.
Didn't find a better workaround than resolving them in org.gradle.api.execution.TaskExecutionListener.afterExecute. You can take a look at this naive implementation here: https://github.com/avito-tech/avito-android/pull/973
But in this case, I'm facing other bugs: https://issuetracker.google.com/issues/142268503, https://issuetracker.google.com/issues/188457864
Maybe you can point on a correct way to find all predecessors of a task.

Issue still happens to this day with 7.5.1 gradle version. I'm assuming it's not expected to work, right? Is there a known alternative?


Issue starting the app

When i want to launch Palisade, it need .net 6
After download and install, same message appear.
After restart KO too.

Can you provid more informations? Windows version, dotnet version? Screenshot of the message would be cool.
Thanks a lot!

I'm not able to test on Win11 yet. If someone that can wants to take a look it would be cool.

On Win11 here and it worked for me, although the link to the missing frameworks didn't automatically open after clicking on "Yes".
However after downloading .net framework 6 palisades does now work for me.
@lyonelf after installing .net 6 sdk, can you run the command "dotnet" in cmd - does that give any errors?

Hm, actually, scratch that - Palisades opens, but dragging and dropping files into a palisade does nothing.

Hello, I had a similar problem, when I tried to run the program after installation it showed a message saying that I needed to download a .NET version to execute, but it did not lead me anywhere. I mannualy upadted the .net 6 version and installed the 8 version as well. Now Palisades runs and I can create 1 palisade "folder", but I cannot edit anything and the right mouse click does not work. I will attach some images and if theres any more help with info let me know, I really liked the program and would love to help even though I don't program in C#.
!


Support source, sink and function extension

The log sink is still not implement as sink interface?
The source & sink configuration is not consistent... Do we need to make them consistent?


[SPARK-30238][SQL] hive partition pruning can only support string and integral types

What changes were proposed in this pull request?

Check the partition column data type and only allow string and integral types in hive partition pruning.
Why are the changes needed?

Currently we only support string and integral types in hive partition pruning, but the check is done for literals. If the predicate is InSet, then there is no literal and we may pass an unsupported partition predicate to Hive and cause problems.
Does this PR introduce any user-facing change?

yes. fix a bug. A query fails before and can run now.
How was this patch tested?

a new test

cc @viirya @dongjoon-hyun

Test build #115249 has started for PR 26871 at commit 3c654a0.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/20058/
Test PASSed.

Thank you for pinging me, @cloud-fan .

Also, cc @wangyum since he is a release manager of 3.0.0-preview2.

Test build #115249 has finished for PR 26871 at commit 3c654a0.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged to master.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/115249/
Test PASSed.

LGTM too.

shall we merge it to 2.4? We support In and InSet in partition pruning since 2.3

Oh, sure! Could you make a PR in order to pass against branch-2.4 once more please?

LGTM too


otf2bdf: init at 3.1

Description of changes
Initial  packaging of otf2bdf,  a font conversion program taking scaleable fonts and generating a commonly used bitmap font format, "bdf".
Things done

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux
[x] x86_64-darwin
[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 229414 run on x86_64-linux 1

1 package built:

otf2bdf


[SPARK-32528][SQL][TEST][3.0] The analyze method should make sure the plan is analyzed

What changes were proposed in this pull request?
backport https://github.com/apache/spark/pull/29349 to 3.0.
This PR updates the analyze method to make sure the plan can be resolved. It also fixes some miswritten optimizer tests.
Why are the changes needed?
It's error-prone if the analyze method can return an unresolved plan.
Does this PR introduce any user-facing change?
no
How was this patch tested?
test only

cc @dongjoon-hyun

Got it. Thank you for pinging me, @cloud-fan .

Test build #127291 has started for PR 29400 at commit ac89655.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/31910/
Test PASSed.

Test build #127291 has finished for PR 29400 at commit ac89655.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged to branch-3.0.

Thank you so much, @cloud-fan !

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/127291/
Test PASSed.


add dmd.html

There's a redirect in place that detects the user's operating system and
goes to dmd-{windows,linux,...}.html. The redirect is fine and on the
online dlang.org it completely hides the dmd.html file that's being added
here. The file is needed, because dlang.org is also distributed as a bunch
of .html files as part of the dmd releases.
Not putting links to dmd-windows.html, etc into the file, because they'd
only be forgotten there.

Makes sense, thanks!

:white_check_mark:


Tools Section

I think I can improve the design of the Tool Section.

I think I can improve the design of the Tool Section.

 I can work on improving the tool section further. Can I please be assigned the tasks?

Hey @shivshankar9! I can work on improving the tool section further. Can I please be assigned the task?

Go ahead

I am already working on it
almost completed
??


Cloudant Document Creation Error - 413 (Request Entity Too Large)

Hi,
I've created a Bluemix App and using cloudantNoSQLDB service with a lite plan. Now one of my document is in excess of 5 mb (as it contains a few base64 encoded data of images) and when I try to create the doc, I get this 413 - Request Entity Too Large error.
Is it the type of plan I have that's restricting me to create documents of this big size? Please help.

@chintankshah
Yes, as per https://github.com/cloudant/java-cloudant/issues/317#issuecomment-261496308 I believe the Cloudant service on Bluemix is limited to 1 MB in a single request. You may be able to workaround the limit by uploading your document and attachments in separate requests.
For example:
Response response = db.save(myDocWithNoAttachments);
response = db.saveAttachment(att1InputStream, "myPic.jpeg", "image/jpeg", response.getId(), response.getRev());
response = db.saveAttachment(att2InputStream, "myOtherPic.jpeg", "image/jpeg", response.getId(), response.getRev());
// etc

If you want to discuss the actual plan limits further I suggest contacting Bluemix or Cloudant support as it is out of scope of the java-cloudant client.

Closing as answered, please re-open or open a new issue if there are additional questions.


Nativewind not working with an expo49 project. No such file or directory node_modules/.cache/nativewind/output.css

Describe the bug
I cannot get Nativewind to work with a simple expo 49 project. Looking for a happy path to getting Nativewind working on a expo49 project.
I encounter this issue error: Error: ENOENT: no such file or directory, open '/Users/test/untitled folder/my-app/node_modules/.cache/nativewind/output.css'
Full error message...
› Opening on Android...
✔ Select a device/emulator › Pixel_7 (device)
› Opening exp+my-app://expo-development-client/?url=http%3A%2F%2F<IP_ADDRESS>%3A8081 on Pixel_7
› Press ? │ show all commands
NativeWind: Rebuilding...
NativeWind: /Users/test/untitled folder/my-app/node_modules/tailwindcss/lib/cli/index.js:215
        throw err;
        ^

Error: ...
    at Object.assign.manualParsing [as type] (/Users/test/untitled folder/my-app/node_modules/tailwindcss/lib/cli/index.js:25:15)
    at /Users/test/untitled folder/my-app/node_modules/tailwindcss/lib/cli/index.js:192:40
    at Object.<anonymous> (/Users/test/untitled folder/my-app/node_modules/tailwindcss/lib/cli/index.js:217:3)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at Object.<anonymous> (/Users/test/untitled folder/my-app/node_modules/tailwindcss/lib/cli.js:6:22)

Node.js v18.12.1
Android Bundling failed 442ms
error: Error: ENOENT: no such file or directory, open '/Users/test/untitled folder/my-app/node_modules/.cache/nativewind/output.css'
    at Object.openSync (node:fs:600:3)
    at readFileSync (node:fs:468:35)
    at generateStyles (/Users/test/untitled folder/my-app/node_modules/nativewind/dist/metro/tailwind.js:86:44)
    at runTailwindCli (/Users/test/untitled folder/my-app/node_modules/nativewind/dist/metro/tailwind.js:49:5)
    at Object.getTransformOptions (/Users/test/untitled folder/my-app/node_modules/nativewind/dist/metro/index.js:43:40)
    at calcTransformerOptions (/Users/test/untitled folder/my-app/node_modules/metro/src/lib/transformHelpers.js:79:50)
    at Object.getTransformFn (/Users/test/untitled folder/my-app/node_modules/metro/src/lib/transformHelpers.js:113:57)
    at IncrementalBundler.buildGraphForEntries (/Users/test/untitled folder/my-app/node_modules/metro/src/IncrementalBundler.js:72:41)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async IncrementalBundler.buildGraph (/Users/test/untitled folder/my-app/node_modules/metro/src/IncrementalBundler.js:146:19)

Checking the node_modules/.cache/nativewind directory I see that there are two files in the nativewind folder: 1. input.css 2. output.js. There is no output.css as there error message states. Adding output.css to that folder causes Nativewind to error again here: node_modules/tailwindcss/lib/cli/index.js:215
To Reproduce
Steps to reproduce the behavior:

Go to https://github.com/7ammer/expo-nativewind-issues (setup by following this: https://docs.expo.dev/routing/installation/#quick-start)
npm install
npx expo run:android
See error - hopefully??

Expected behaviour
No error and works as expected
Additional context
Using "nativewind": "3.0.0-next.34"
I also tried the 2.0.11 version and got other issues.

If anyone has a working expo49/Nativewind project I could look at that runs on android I would be very grateful.

I've been trying to start a project following their doc instructions I've got no results as well.

I've been trying to start a project following their doc instructions I've got no results as well.

I've managed to successfully install version 2 on expo 49, but not 3 or 4 alpha

I've been trying to start a project following their doc instructions I've got no results as well.

I've managed to successfully install version 2 on expo 49, but not 3 or 4 alpha

Would it be possible to post a setup on how you got it working in with v2 on Android?

Describe the bug I cannot get Nativewind to work with a simple expo 49 project. Looking for a happy path to getting Nativewind working on a expo49 project.
I encounter this issue error: Error: ENOENT: no such file or directory, open '/Users/test/untitled folder/my-app/node_modules/.cache/nativewind/output.css'
Full error message...
› Opening on Android...
✔ Select a device/emulator › Pixel_7 (device)
› Opening exp+my-app://expo-development-client/?url=http%3A%2F%2F<IP_ADDRESS>%3A8081 on Pixel_7
› Press ? │ show all commands
NativeWind: Rebuilding...
NativeWind: /Users/test/untitled folder/my-app/node_modules/tailwindcss/lib/cli/index.js:215
        throw err;
        ^

Error: ...
    at Object.assign.manualParsing [as type] (/Users/test/untitled folder/my-app/node_modules/tailwindcss/lib/cli/index.js:25:15)
    at /Users/test/untitled folder/my-app/node_modules/tailwindcss/lib/cli/index.js:192:40
    at Object.<anonymous> (/Users/test/untitled folder/my-app/node_modules/tailwindcss/lib/cli/index.js:217:3)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at Object.<anonymous> (/Users/test/untitled folder/my-app/node_modules/tailwindcss/lib/cli.js:6:22)

Node.js v18.12.1
Android Bundling failed 442ms
error: Error: ENOENT: no such file or directory, open '/Users/test/untitled folder/my-app/node_modules/.cache/nativewind/output.css'
    at Object.openSync (node:fs:600:3)
    at readFileSync (node:fs:468:35)
    at generateStyles (/Users/test/untitled folder/my-app/node_modules/nativewind/dist/metro/tailwind.js:86:44)
    at runTailwindCli (/Users/test/untitled folder/my-app/node_modules/nativewind/dist/metro/tailwind.js:49:5)
    at Object.getTransformOptions (/Users/test/untitled folder/my-app/node_modules/nativewind/dist/metro/index.js:43:40)
    at calcTransformerOptions (/Users/test/untitled folder/my-app/node_modules/metro/src/lib/transformHelpers.js:79:50)
    at Object.getTransformFn (/Users/test/untitled folder/my-app/node_modules/metro/src/lib/transformHelpers.js:113:57)
    at IncrementalBundler.buildGraphForEntries (/Users/test/untitled folder/my-app/node_modules/metro/src/IncrementalBundler.js:72:41)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async IncrementalBundler.buildGraph (/Users/test/untitled folder/my-app/node_modules/metro/src/IncrementalBundler.js:146:19)

Checking the node_modules/.cache/nativewind directory I see that there are two files in the nativewind folder: 1. input.css 2. output.js. There is no output.css as there error message states. Adding output.css to that folder causes Nativewind to error again here: node_modules/tailwindcss/lib/cli/index.js:215
To Reproduce Steps to reproduce the behavior:

Go to https://github.com/7ammer/expo-nativewind-issues (setup by following this: https://docs.expo.dev/routing/installation/#quick-start)
npm install
npx expo run:android
See error - hopefully??

Expected behaviour No error and works as expected
Additional context Using "nativewind": "3.0.0-next.34" I also tried the 2.0.11 version and got other issues.

In your main branch
Change dependency in package.json
"nativewind": "^3.0.0-next.34",
to
"nativewind": "3.0.0-next.34",
and run npm install or yarn. It should work

@anurag-alla solution worked but is failing to build using eas, it getting stucked

We are closing all pre-v4.1 issues now that v4.1 is released. If the problem is still happening with the latest v4.1, please open a new issue and reference this one in the description.


Run Spectral as part of the action

Hi @guylev008 , great work!
Is there a reason why there are 2 separate steps, one for installing and second for running?
It could be just:
    - name: Install and Run Spectral
      uses: spectralops/spectral-github-action@v1
      with:
        spectral-dsn: ${{ secrets.SPECTRAL_DSN }}

which would install and run spectral.
Maybe it's to be able to send arguments to spectral? then again, this could be send as parameters under with: of the single action.

+1

@njenia @eladbash
I think it will be very difficult to maintain all of the Spectral commands and flags.
if we decide to support only a few commands it will limit the user only to those.


Added support for label detection in AnnotatedResponse

The AnnotatedResponse does now support also the label detection results.

I've just published v1.0.4 which includes your changes.  Thanks @4ctobias.


CIS-CAT-PRO audit finding <IP_ADDRESS>

Description:
Ensure journald is configured to write logfiles to persistent disk
Data from journald may be stored in volatile memory or persisted locally on the server. Logs in memory will be lost upon a system reboot. By persisting logs to local disk on the server they are protected from loss due to a reboot.
Writing log data to disk will provide the ability to forensically reconstruct events which may have impacted the operations or security of a system even after a system crash or reboot.
Edit the /etc/systemd/journald.conf file and add the following line:
Storage=persistent

Expected Behavior
No quotes around persistent.
Actual Behavior
Quotes around persistent.
Control(s) Affected
What controls are being affected by the issue: CIS <IP_ADDRESS>
Environment (please complete the following information):

Ansible Version:  [core 2.11.12]
Host Python Version: [Python 3.6.8]
Ansible Server Python Version: [Python 3.6.8]
Using branch: [release 2.2.1]
Additional Details:

Additional Notes
CIS-CAT_PRO is the official audit tool for CIS members.
Possible Solution
Enter a suggested fix here
- name: Insert correct line to /etc/systemd/journald.conf
  ansible.builtin.lineinfile:
    path: /etc/systemd/journald.conf
    create: true
    regexp: 'Storage='
    line: Storage=persistent
    state: present
    insertafter: ^#Storage
    validate: /usr/bin/bash -n %s

Contents of /etc/systemd/journald.conf after applying RHEL8-CIS on AlmaLinux 8.7:
#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See journald.conf(5) for details.

[Journal]
#Storage=auto
#Compress=yes
#Seal=yes
#SplitMode=uid
#SyncIntervalSec=5m
#RateLimitIntervalSec=30s
#RateLimitBurst=10000
#SystemMaxUse=
#SystemKeepFree=
#SystemMaxFileSize=
#SystemMaxFiles=100
#RuntimeMaxUse=
#RuntimeKeepFree=
#RuntimeMaxFileSize=
#RuntimeMaxFiles=100
#MaxRetentionSec=
#MaxFileSec=1month
ForwardToSyslog=yes
#ForwardToKMsg=no
#ForwardToConsole=no
#ForwardToWall=yes
#TTYPath=/dev/console
#MaxLevelStore=debug
#MaxLevelSyslog=debug
#MaxLevelKMsg=notice
#MaxLevelConsole=info
#MaxLevelWall=emerg
#LineMax=48K


There's no visual clue that Scalastyle has not  yet completed analyzing the code

When Scalastyle nature is added to a project, there's no visual indication that the code has not been analyzed yet.
After a while, the warnings appear, but meanwhile one is left wondering if one configured the Scalastyle plugin correctly.

Is there no indication in the progress bar?

there is no indication in the progress bar.

mar. 2017 18:50 skrev "Matthew Farwell"<EMAIL_ADDRESS>

Is there no indication in the progress bar?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/scalastyle/scalastyle-plugin/issues/23#issuecomment-284168178,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACq05tU-c9awo7ElmktYvmQH1wxD_c1oks5riaR5gaJpZM4MMafh
.

I'm getting Scalastyle right after the Scala Builder in the Progress bar, do you not get that at all, with Neon.

The Scala Builder is showing progress, but I get no indication that
Scalastyle is running.
On Mon, Mar 6, 2017 at 2:27 PM, Matthew Farwell<EMAIL_ADDRESS>wrote:

I'm getting Scalastyle right after the Scala Builder in the Progress bar,
do you not get that at all, with Neon.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/scalastyle/scalastyle-plugin/issues/23#issuecomment-284395405,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACq05iAmzl6EwKlpvkdd-Cgtw99FQ_7Uks5rjAnfgaJpZM4MMafh
.

--
Øyvind Harboe - Can Zylin Consulting help on your project?
http://www.zylin.com/

When I save a file, In the progress bar, I'm getting:
Running Scala Builder on yyy
Running Scala Builder on yyy: Invoking Scalastyle Builder
And then the error markers appear.
When you first add Scalastyle to a project, you'll need to rebuild to get all of the markers, but otherwise it should work.

It looks like sorting out the Scala programming style is quite some ways
down on the list of things for us right now, so I'll get back to this later.
Cheers,
On Mon, Mar 6, 2017 at 4:54 PM, Matthew Farwell<EMAIL_ADDRESS>wrote:

When I save a file, In the progress bar, I'm getting:
Running Scala Builder on yyy
Running Scala Builder on yyy: Invoking Scalastyle Builder
And then the error markers appear.
When you first add Scalastyle to a project, you'll need to rebuild to get
all of the markers, but otherwise it should work.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/scalastyle/scalastyle-plugin/issues/23#issuecomment-284438042,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACq05uFsPDEGNxrdxBHaKK0AZ_S_gZNwks5rjCxNgaJpZM4MMafh
.

--
Øyvind Harboe - Can Zylin Consulting help on your project?
http://www.zylin.com/


Added Dockerfile so dejavu can be ran through a docker container.

Added a Dockerfile to make it simpler to setup an environment with dejavu and all it's dependencies through docker. It also eliminates any complexity on getting it running on different OS versions. The docker image is built on top of a Fedora 22 image.

+1

Hi, just tried to run this docker image just now as it would be a great alternative for me rather than having to run fedora on a vm... but have ran into some error downloading the fedora version during the docker build - any idea what has gone wrong?

Thanks,


Create Dockerfile

Add simple Dockerfile for latest version

I think it's worth using a multi-stage build

I don't mind if you write your own, there was just no option at all and I had to write the simplest one for deployment on my server and share it

I think it's better to do something like below
FROM golang:alpine

WORKDIR /go

RUN go install github.com/xvzc/SpoofDPI/cmd/spoof-dpi@latest

ENV PATH="${HOME}/.spoof-dpi/bin:${PATH}"

EXPOSE 8080

this way, we can run it inside the container like this
$ docker build ./ -t spoof-dpi:latest
$ docker run -ti spoof-dpi:latest spoof-dpi --timeout 2000 --debug

FROM golang:1.21 as builder

WORKDIR /build

ADD . .

# or create Makefile target like `make build-docker`
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o spoof-dpi -ldflags="-s -w" cmd/spoof-dpi/main.go

FROM alpine:3.16

WORKDIR /spoof-dpi

COPY --from=builder /build/spoof-dpi .

ENTRYPOINT ["./spoof-dpi"]

Docker is a good idea!

Proposed more simple Dockerfile as suggested 👍


Return battery voltage, too

Please extend the structure SensorDataBattery with the voltage of the battery. The value is already present in the code, but it is not returned in SensorDataBattery.
    def _process_sensor_data(self, data):
        temperature, humidity, voltage = struct.unpack_from('<hBh', data)
        temperature /= 100
        voltage /= 1000

        # Estimate the battery percentage remaining
        battery = min(int(round((voltage - 2.1),2) * 100), 100) # 3.1 or above --> 100% 2.1 --> 0 %
        self._data = SensorDataBattery(temperature=temperature, humidity=humidity, battery=battery)

Thanks

View lywsd03mmc fork. With AtcMiThermometerClient you can retrieve thermometers data without connecting. Limitations : can't get firmware and hardware revisions, can't get history.
from lywsd03mmc import AtcMiThermometerClient
client = AtcMiThermometerClient()

client.get_datas()

for thermometer in client.thermometers:
    print('----\n', thermometer) # print all data `

Result:
Discovered device a4:c1:38:xx:xx:xx
Discovered device a4:c1:38:yy:yy:yy
Device disconnected
Proceed...
Discovered device a4:c1:38:xx:xx:xx
Discovered device a4:c1:38:yy:yy:yy
Received new data from a4:c1:38:xx:xx:xx
----
 mac:   A4:C1:38:xx:xx:xx - ATC_xxxxxx
temp:   22.8 °C
hum:    37 %
batt:   86 %
volts:  2.98 V
rssi:   -54 dB
skip:   False
----
 mac:   A4:C1:38:yy:yy:yy - ATC_yyyyyy
temp:   21.7 °C
hum:    42 %
batt:   88 %
volts:  2.996 V
rssi:   -71 dB
skip:   False


Have no ability to specify HostnameVerifier

@pstetsuk Can you provide some context on why you need to be able to specify HostnameVerifier? What scenario does this unblock for you?

Closing due to lack of response


[reactive-element] Allow StaticValues in css tagged template literals

Fixes #4415
Had to move the env variables to wireit to be able to run the tests on a windows machine.

Not sure why the build steps are failing. Works locally. The size check is expected to fail as the size increases by 40 bytes.

Huge thanks for the PR! I'm sad this ended up being more difficult than we original thought.
We're closing the PR as we would not like to introduce a package cross dependency, nor duplicate the code for static objects across both lit-html and reactive-element.


ja: Make docs/concepts/overview/working-with-objects/kubernetes-objects.md follow v1.18 of the original text

updated japanese docs/concepts/overview/working-with-objects/kubernetes-objects.md to follow v1.18 of the original text.
This resolves #23609 .

/assign @inductor

/approve


can't reload Office 365 Outlook Web App after auto-logout, need to restart Ferdi to log back in

Describe the bug

When reloading the Office 365 Outlook Web App after auto-logout, the service displays a web page with the following message:
Sorry, but we’re having trouble signing you in.
AADSTS50061: Unable to complete signout. The request was invalid.

I have to shutdown and restart Ferdi in order to log back in.
To Reproduce

Steps to reproduce the behavior:

Add Office 365 Outlook Web App as a service.
Login and leave Ferdi running for 24 hours.
One should eventually see a screen indicating that one has been logged out of Office 365.
Try to reload the service.

Expected behavior

Reloading the service should display service's login screen.
Screenshots

Desktop:

OS: Ubuntu 18.04.4
Ferdi Version 5.5.0 (x64)
Server Used: I use Ferdi without an account

Debug information: https://debug.getferdi.com/b8c4835a-10ad-4610-89e6-7d1339b30ecb
Additional context

I haven't observed this problem when I do the equivalent of reloading the Office 365 service after auto-logout with other messaging browsers such as Rambox (0.7.5-180).

This still is an issue as of today.

Again, this still is an issue as of today.

I have been using outlook in the latest nightly "Office 365 Outlook Web App" for the past week (the others have been deleted just a couple of hours ago since they were essentially duplicates). I have not had this issue. I have just also fixed the unread message badge/count - please upgrade to the latest nightly (or at least upgrade your service recipe) and report back if this is still broken.

@lebedov - have you tried with the latest nightly, and the newest version of the recipe? Closing the ticket for now, but if you can confirm that this is still happening with the latest nightly, please feel free to reopen the ticket. Please also post the versions of the recipes that you are using while doing so.


Detect static vars properly.

fixes #4

Thanks for the PR.
I wonder how Godot treats static variables, I would expect that we can get them somehow. This is the bruteforce method 😄 but if we dont find a way we probably need to it this way.

I found out how to fetch static variables without us parsing the whole source code manually.
For more check this PR out: https://github.com/Maran23/script-ide/pull/20
I will therefore close this, thanks for your contribution regardless!


Modem compatibility check

Hi, thanks for the project!
I have Quectel EP06-E modem and it doesn't seem to have AT commands required for the APDU backend.
I'm trying to guess it's firmware readiness for working LPA with external e-SIM.
The modem doesn't have an internal e-SIM and I don't have the external one either,
so I wonder if I could still run this mbimcli command to get some evidence of it's e-SIM support:
https://github.com/stich86/lpac-libmbim-wrapper/blob/4641f27e43478c79d37ab18e485bf75a9b5f7ffd/wrapper.py#L44
What do you think?

Logical channels are only fore eUICC (eSIM), so to test this wrapper you need at least an eSIM physical card (like the Lenovo one that is very cheap).
As I've written in my got, this card is correctly recognized as eSIM on both T99W175 (using physical SIM) and on Quectel RN502Q-GL (that doesn't have embedded eSIM but has AT commands)

Logical channels are only fore eUICC (eSIM), so to test this wrapper you need at least an eSIM physical card

Right, but if the firmware doesn't have eSIM support, maybe it won't even recognize that open-channel command and the error return code will be different?

Logical channels are only fore eUICC (eSIM), so to test this wrapper you need at least an eSIM physical card

Right, but if the firmware doesn't have eSIM support, maybe it won't even recognize that open-channel command and the error return code will be different?

That commands should be executed at low level over MBIM, but as I've said it should be tested.
I've a friend with EP-06, I'm asking him if he can give it to me for a while, so I can test the eSIM on it using MBIM.
I let you know if I can succeed on this test ;)

Many thanks, that would be awesome! :) :handshake:

I've a friend with EP-06, I'm asking him if he can give it to me for a while, so I can test the eSIM on it using MBIM.

If you have a chance to do that, please also check the fw revision with ATI command. Thanks!

I tested the T77W968 DW5821e, unfortunately it doesn't have the required AT commands (

all Foxconn modules don't have AT commands, you need to use MBIM to interact with eSIM :)

I tested the T77W968 DW5821e, unfortunately it doesn't have the required AT commands (

all Foxconn modules don't have AT commands, you need to use MBIM to interact with eSIM :)

Thank you so much for the tip, indeed everything worked as it should!

Can you confirm that is working with t77? Let me know I can add to the tested list devices
Thx :)

I tested the T77W968 DW5821e, unfortunately it doesn't have the required AT commands (

all Foxconn modules don't have AT commands, you need to use MBIM to interact with eSIM :)

Thank you so much for the tip, indeed everything worked as it should!
Confirm profiles shows, now I will test downloading of new profiles. Otherwise I didn't notice any errors. My device is defined as /dev/cdc-wdm0

Good
Pls send me full model numeber (if it's the eSIM version) and firmware
Thanks :)

Good
Pls send me full model numeber (if it's the eSIM version) and firmware
Thanks :)

ATI
Manufacturer: DELL
Model: 4116
Revision: T77W968.F<IP_ADDRESS>.2.GC.013  1  [May 31 2021 08:00:00]
SVN: 03
IMEI:<PHONE_NUMBER>54***
+GCAP: +CGSM
MPN: 01

May I ask? How many profiles can be loaded into the modem? Where to look for this information?

i think you have 8 slot on embedded eSIM

Thx!

Good news in my variant I was able to download the profile via profile download -s ***** -m *****

i think you have 8 slot on embedded eSIM

I've already downloaded 12 pieces, I'll keep checking capacity tomorrow )

Apparently my modem has 17 profiles, when trying to load one more profile, I get an authorization error with subject-code: 8.1, reason-code: 4.8.

I've a friend with EP-06, I'm asking him if he can give it to me for a while, so I can test the eSIM on it using MBIM.
I let you know if I can succeed on this test ;)

Hi @stich86, any news so far?

I'm still waiting modules to arrive

Added Quectel EP-06, it works as expected over MBIM, same behaviour with AT commands like RM502.
I'm closing this issue for now, if someone wants to add new modems to the list, please open a PR

Added Quectel EP-06, it works as expected over MBIM, same behaviour with AT commands like RM502.

Thanks, please share the firmware version (in parentheses around modem name in the table  ) - I reached Quectel support and judging from their response it should be sensitive.

Added Quectel EP-06, it works as expected over MBIM, same behaviour with AT commands like RM502.

Thanks, please share the firmware version (in parentheses around modem name in the table ) - I reached Quectel support and judging from their response it should be sensitive.

added :)

Oh, thanks - it's getting really interesting now,
your fw version is EP06ELAR04A05M4G,
whereas I got following reply from Quectel:

EP06ELAR04A06M4G version does not support LPAAT function and cannot be used in other ways.
EP06E uses RMNET dialing instead of MBIM dialing, and cannot manage ESIM through MBIM.
Qualcomm 9x40 platform originally did not support ESIM LPA, the current use is Quectel ESIM LPA solution, need to integrate the relevant database can be, the old version is not supported.

So your experience seems deviate from their response.. The more valuable it is!
PS:
it's still an open question if EP06ELAR04A06M4G and newer are actually work as well as EP06ELAR04A05M4G you have..

i think they talkigin about their LPA integration, what we are using here is a MBIM command to interact with eSIM.
For instance MiFi router that expose MBIM interface can interface with eSIM (like the one that i've tested), fun facts, it recognized eSIM also on Windows machine :)

For the reference, here was my original question to them:

I’m interested if external e-SIM can be used for EP06-E module, we need LPA (Local Profile Agent) functioning (eSIM profiles downloading, etc.).
I know some modules do not have AT commands required, but still can be used with e-SIM via MBIM or QMI protocols.
Could you clarify the situation for EP06-E module please?


Create Input Label Component

Overview
Create a reusable basic input label component.
Details
Name: <InputLabel /> or <Label />
Spec questions

Dependent on some Typography

text: <Text />

Variants
https://www.figma.com/file/R1a1bwODnzCHHHw0EJALAU/DAOhaus-v3-Pattern-Library-(In-Progress)?node-id=92%3A8758

w/ and w/out required indicator
w/ and without ToolTip

Props

labelText
toolTip

Maybe this Takes a component to append after the label
https://www.figma.com/file/R1a1bwODnzCHHHw0EJALAU/DAOhaus-v3-Pattern-Library-(In-Progress)?node-id=92%3A8758

isRequired

Resources/Design
PL Page: https://www.figma.com/file/R1a1bwODnzCHHHw0EJALAU/DAOhaus-v3-Pattern-Library-(In-Progress)?node-id=92%3A8758
Deliverable

Code/PR
Storybook deployment

We can probably merge this into the wrapper or tooltip. Most of the work is getting the tooltip working.

Input Label won't be able to compose a Body text component because it needs to be a  in order to be accessible.


TfLiteGpuDelegate Init: CONCATENATION: Node 2 is already a consumer of the value 0

2021-08-10 20:31:39.968 15740-15740/org.tensorflow.lite.examples.superresolution E/tflite: Following operations are not supported by GPU delegate:
DEPTH_TO_SPACE: Operation is not supported.
DEQUANTIZE:
13 operations will run on the GPU, and the remaining 23 operations will run on the CPU.
2021-08-10 20:31:39.968 15740-15740/org.tensorflow.lite.examples.superresolution E/tflite: TfLiteGpuDelegate Init: CONCATENATION: Node 2 is already a consumer of the value 0
2021-08-10 20:31:39.968 15740-15740/org.tensorflow.lite.examples.superresolution I/tflite: Created 0 GPU delegate kernels.
2021-08-10 20:31:39.968 15740-15740/org.tensorflow.lite.examples.superresolution E/tflite: TfLiteGpuDelegate Prepare: delegate is not initialized
2021-08-10 20:31:39.968 15740-15740/org.tensorflow.lite.examples.superresolution E/tflite: Node number 36 (TfLiteGpuDelegateV2) failed to prepare.
2021-08-10 20:31:39.968 15740-15740/org.tensorflow.lite.examples.superresolution E/tflite: Restored original execution plan after delegate application failure.
2021-08-10 20:31:39.969 15740-15740/org.tensorflow.lite.examples.superresolution E/super_resolution::: Failed to create TFLite interpreter

@impjdi could you take a look?

Please attach a tflite model.

demo_model.tflite.zip
@impjdi

Yeah, the CONCAT node is taking the input 4 times to stitch it together.  This doesn't work on the GPU.  From the shader's point of view, if a shader program takes in input A and input B, they have to be distinct GPU objects.
@renjie-liu I think TAC could mitigate this use case?  This i s applicable to any op that takes in the same intermediate tensor twice or more.

I am sorry, my delayed reply
so.  now what should i do for this case?

Can you elaborate what's happening in that network?  Why do you replicate the input 4 times and then add it with the output of your convolutions?
Anyway, one obvious trick is to do the replication of input_1 outside the network and then feed 2 input tensors to the network.  This might be the easiest.
The other trick is to enforce creation of other textures by ADD 0 or MUL 1 and feed that 4 times to a concat, so that the concat reads from 4 different locations rather than the same location 4 times.  However, I'm not sure whether tflite_convert would prune out that sort of trick...

Thanks for your reply, I will try to do as your recommendation
I want to train a model about image super-resolution. I am trying to combine residual and depth_to_space ops.
3 channels and 2x up-scale need 12 channels, so I replicate the input 4 times(outputs: 12channels)
then add with 12 feature channels , and as the final input of depth_to_space
I am a beginner of tf and don't know if there is something wrong，Any good suggestions?

Hm, I haven't worked with superres models in the past and can't say what's a good architecture =/
One thing to note is that DEPTH_TO_SPACE (and any kind of CONCAT, RESHAPE, TRANSPOSE) is bad for GPU performance.  It's generally okay on the CPU side, but GPU is often bounded by memory bandwidth, and those operations are not desired for GPU execution, and we typically ask our neural net architects to design networks around it if they are planning to use GPU primarily.

It seems impossible to achieve real-time superres on the CPU（>24fps or 30、60fps）. so I think GPU should be a good choice
However, I feel that TF’s support for mobile SR currently has many limitations.
Thank you very much for your reply。

@hongye007 I have the same problem when deploy super-resolution model on android device

I also met the same problem. It seems CONCAT is very common operation for superresolution, can tf give an elegant solution?


Settings/About Application/Email Email from address is email to in test

After configuring the SMTP username to be my own gmail address and specifying the from address as the "system" address, when I press Test I receive at the admin address mentioned in the "Email from address" field a mail coming from the "SMTP username" address.
I would have expected that the administrator address would have received a mail from the "Email from address".

It can be that gmail indeed does not use the "from" address and uses the username address to avoid being used for spam.
However, the admin should receive the test, not the from address...
/packages/server/routes/admin.js
line 163
   const email = {       from,       to: **from**,       subject: "Saltcorn test email",       html: "Hello from Saltcorn",     };

Great idea, I didn't think about that but of course we have the logged-in users email.

Implemented in #602

Thanks, perfect !


Enable codespace for hsds

This PR enables the hsds repo to be open in a github codespace.
The test suite (python testall.py) should work when run within the codespace.

When running the tests from a codespace, the point selection test keeps failing due to an import issue:
pointsel_test
Traceback (most recent call last):
  File "/workspace/tests/integ/pointsel_test.py", line 18, in <module>
    from hsds.util.arrayUtil import arrayToBytes
ModuleNotFoundError: No module named 'hsds'
Failed

I hadn't setup the codespace environment with the hsds package, so that caused the failure.
Seems like this is the only integ test using the hsds package, and it's not really needed anyway.  I just replaced the arrayToBytes() call with arr.tobytes() and everything passed.


3rd-party widget with UI-Template randomly works

Description
Hi Team:)
Description:
I'm experiencing an issue with refreshing a page to display a 3rd-party widget.
When I send a blank tab name ("") and an empty object ({"page":""}) to refresh the current page, nothing happens. I would expect the page to refresh to its current state, but it remains unchanged.  Only If I fully (re)deploy the flow, the page refreshes as expected, and the 3rd party Apex charts are displayed.
Is this a bug, or my misunderstanding? 10x!

My Flow:
[{"id":"66f2815f45de315a","type":"tab","label":"ApexCharts","disabled":false,"info":""},{"id":"66acd09844d1bc9f","type":"group","z":"66f2815f45de315a","name":"Apex Charts - Working -> FULL DEPLOY ONLY","style":{"fill":"#ffdf7f","label":true,"color":"#000000"},"nodes":["18d577dff2801366","19148e6cd030b507"],"x":174,"y":199,"w":304,"h":82},{"id":"b1f59cf9fea4b5bd","type":"group","z":"66f2815f45de315a","name":"Refresh - Currently Not Working","style":{"fill":"#bfc7d7","label":true,"color":"#000000"},"nodes":["051f6d9d5bb2493b","4c2965a88de29713","be1a08ccad4982be","a6851c8fd6641b76","822b415edcf6d177","edce923a801cac5c","6f417ba48d4920e5","5ffce296a4ea16d3"],"x":174,"y":19,"w":452,"h":162},{"id":"051f6d9d5bb2493b","type":"debug","z":"66f2815f45de315a","g":"b1f59cf9fea4b5bd","name":"debug 2","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":565,"y":100,"wires":[],"l":false},{"id":"4c2965a88de29713","type":"ui-button","z":"66f2815f45de315a","g":"b1f59cf9fea4b5bd","group":"803f59c7dbd916ed","name":"","label":"button","order":1,"width":0,"height":0,"passthru":false,"tooltip":"","color":"","bgcolor":"","className":"","icon":"","payload":"","payloadType":"str","topic":"topic","topicType":"msg","x":470,"y":60,"wires":[[]]},{"id":"f17104bfbd8a5e4d","type":"debug","z":"66f2815f45de315a","name":"debug 3","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":400,"y":320,"wires":[]},{"id":"18d577dff2801366","type":"ui-template","z":"66f2815f45de315a","g":"66acd09844d1bc9f","group":"803f59c7dbd916ed","dashboard":"","page":"3e4bc06a71ec37d0","name":"Apex","order":0,"width":0,"height":0,"head":"","format":"<template>\n\n
\n

\n
\n\n</template>\n\n\n\n\n\n\n","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","className":"","x":250,"y":240,"wires":[["19148e6cd030b507"]]},{"id":"19148e6cd030b507","type":"ui-template","z":"66f2815f45de315a","g":"66acd09844d1bc9f","group":"803f59c7dbd916ed","dashboard":"","page":"3e4bc06a71ec37d0","name":"Dummy","order":2,"width":0,"height":0,"head":"","format":"<template>\n\n
\n

\n
\n\n</template>\n\n\n\n\n\n\n \n\n\n\n\n\n","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","className":"","x":380,"y":240,"wires":[[]]},{"id":"89b15f8d32ffd963","type":"ui-event","z":"66f2815f45de315a","ui":"8f17c3ae8365e5e2","name":"","x":240,"y":320,"wires":[["f17104bfbd8a5e4d"]]},{"id":"be1a08ccad4982be","type":"inject","z":"66f2815f45de315a","g":"b1f59cf9fea4b5bd","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"{\"page\":\"\"}","payloadType":"json","x":280,"y":100,"wires":[["a6851c8fd6641b76"]]},{"id":"a6851c8fd6641b76","type":"ui-control","z":"66f2815f45de315a","g":"b1f59cf9fea4b5bd","name":"","ui":"8f17c3ae8365e5e2","events":"all","x":480,"y":100,"wires":[["051f6d9d5bb2493b"]]},{"id":"d2d8b1563dc5e415","type":"inject","z":"66f2815f45de315a","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"str","x":130,"y":640,"wires":[["d55dfe4d492c3d32"]]},{"id":"d55dfe4d492c3d32","type":"ui-template","z":"66f2815f45de315a","group":"ccc65df00716e4e8","dashboard":"","page":"3e4bc06a71ec37d0","name":"Apex","order":0,"width":0,"height":0,"head":"","format":"<template>\n\n
\n

\n
\n\n</template>\n\n\n\n\n\n\n","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","className":"","x":310,"y":640,"wires":[["f26fe2f12812ac69"]]},{"id":"f26fe2f12812ac69","type":"ui-template","z":"66f2815f45de315a","group":"ccc65df00716e4e8","dashboard":"","page":"3e4bc06a71ec37d0","name":"Dummy","order":2,"width":0,"height":0,"head":"","format":"<template>\n\n
\n

\n
\n\n</template>\n\n\n\n\n\n\n \n\n\n\n\n\n","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","className":"","x":460,"y":640,"wires":[["217ccc9496443bb4"]]},{"id":"217ccc9496443bb4","type":"debug","z":"66f2815f45de315a","name":"debug 5","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":600,"y":680,"wires":[]},{"id":"822b415edcf6d177","type":"inject","z":"66f2815f45de315a","g":"b1f59cf9fea4b5bd","name":"init","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":"1","topic":"","payload":"true","payloadType":"bool","x":290,"y":140,"wires":[["5ffce296a4ea16d3"]]},{"id":"edce923a801cac5c","type":"function","z":"66f2815f45de315a","g":"b1f59cf9fea4b5bd","name":"function 3","func":"msg.payload = {\n    pages: {\n       \n        hide: ['A']\n    },\n    groups: {\n     \n        hide: ['G2']\n    }\n}","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":385,"y":60,"wires":[["a6851c8fd6641b76"]],"l":false},{"id":"6f417ba48d4920e5","type":"inject","z":"66f2815f45de315a","g":"b1f59cf9fea4b5bd","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"true","payloadType":"bool","x":290,"y":60,"wires":[["edce923a801cac5c"]]},{"id":"5ffce296a4ea16d3","type":"function","z":"66f2815f45de315a","g":"b1f59cf9fea4b5bd","name":"show","func":"msg.payload = {\n    pages: {\n       \n        show: ['A']\n    },\n    groups: {\n     \n        show: ['G1']\n    }\n}\n\n\n","outputs":1,"timeout":0,"noerr":0,"initialize":"","finalize":"","libs":[],"x":385,"y":140,"wires":[["a6851c8fd6641b76"]],"l":false},{"id":"803f59c7dbd916ed","type":"ui-group","name":"G1","page":"3e4bc06a71ec37d0","width":"6","height":"1","order":-1,"showTitle":true,"className":""},{"id":"3e4bc06a71ec37d0","type":"ui-page","name":"A","ui":"8f17c3ae8365e5e2","path":"/","icon":"home","layout":"grid","theme":"5cb5c22366b1b908","order":-1,"className":""},{"id":"8f17c3ae8365e5e2","type":"ui-base","name":"UI Name","path":"/dashboard","includeClientData":true,"acceptsClientConfig":["ui-notification","ui-control"]},{"id":"ccc65df00716e4e8","type":"ui-group","name":"G2","page":"3e4bc06a71ec37d0","width":"6","height":"1","order":-1,"showTitle":true,"className":""},{"id":"5cb5c22366b1b908","type":"ui-theme","name":"Theme Name","colors":{"surface":"#ffffff","primary":"#0094ce","bgPage":"#eeeeee","groupBg":"#ffffff","groupOutline":"#cccccc"}}]
Epic/Story
No response
Have you provided an initial effort estimate for this issue?
I can not provide an initial effort estimate

Nt sure this is an issue with ui-template, but in fact I think it is a duplicate of https://github.com/FlowFuse/node-red-dashboard/issues/462 which I've just fixed. I'll be getting it out in a patch release today or tomorrow. If you can try that out (will be 0.11.2) then let me know if this is still an issue.
I have tested out a refresh being triggered by msg.payload = "" and it does working locally (having fixed #462) on my 0.11.2 development branch

I think I've got a similar issue. I am using a ui-template to display a still image from a camera using Vuetify. I have a button going to the ui-template to update the image, but it doesn't update. Refreshing the page works. This worked with Dashboard 1. A simple timestamp as text will update however.

I think I've got a similar issue. I am using a ui-template to display a still image from a camera using Vuetify. I have a button going to the ui-template to update the image, but it doesn't update. Refreshing the page works. This worked with Dashboard 1. A simple timestamp as text will update however

I do believe this is a different problem. What functionality are you running within ui-template? What payload are you sending to the template?

@thejollypop and @philosoma are you still seeing problems with this or can this issue be closed?

@thejollypop and @philosoma are you still seeing problems with this or can this issue be closed?

I went a different route so I am unfortunately unable to test if it's still an issue.


testing.TB implementation for developing testing utility

To test the behavior of "testing utility", another testing.TB impl will be useful.

[ ] add ability to report the line of the source code where fail or skip has marked

also, take testing.TB.Helper into account


Create pyinstaller exe

Any clue how to make a pyinstaller exe with this library? Everything works other than capture_keyboard, and it seems to only work on the original PC it was compiled on

Sorry for the late reply, ive been pretty busy.

Did you run the interception installer on the computer you are trying to run the binary on?
Do you have interception.dll in the correct location on the target computer?


Are cancelled auctions classed as failed?

Yes they are; raising a new PR to exclude cancelled auctions

Addressed in #100


error massage during compiling: 'ip_addr_t' does not name a type  ip_addr_t      dns_getserver(u8_t numdns);

Arduino: 1.8.5 (Mac OS X), Board: "WeMos D1 R2 & mini, 80 MHz, 921600, 4M (3M SPIFFS)"
Sketch wird kompiliert...
In file included from /Users/marlisdrechsler/Documents/Arduino/ESP-sc-gway/ESP-sc-gway.ino:63:0:
/Users/marlisdrechsler/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0-rc2/tools/sdk/lwip/include/lwip/dns.h:104:54: error: 'ip_addr_t' has not been declared
typedef void (*dns_found_callback)(const char *name, ip_addr_t *ipaddr, void *callback_arg);
^
/Users/marlisdrechsler/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0-rc2/tools/sdk/lwip/include/lwip/dns.h:108:43: error: 'ip_addr_t' has not been declared
void           dns_setserver(u8_t numdns, ip_addr_t *dnsserver);
^
/Users/marlisdrechsler/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0-rc2/tools/sdk/lwip/include/lwip/dns.h:109:1: error: 'ip_addr_t' does not name a type
ip_addr_t      dns_getserver(u8_t numdns);
^
/Users/marlisdrechsler/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0-rc2/tools/sdk/lwip/include/lwip/dns.h:110:56: error: 'ip_addr_t' has not been declared
err_t          dns_gethostbyname(const char *hostname, ip_addr_t *addr,
^
Fehler beim Kompilieren für das Board WeMos D1 R2 & mini.

Hi, can anybody help me to solve  this problem? When I had compiled and installed the version 5.3.1 every think was fine but by the latest version 5.3.2 this problem occurs .I nothing have change, the same notebook, IDE etc.
Thanks
Burkhard

Hi,
Did you specify  well and did you include all libraries?
ip-addr-t is not used in the gateway code, so only in DNS library. It seems the library cannot find the definitions.
Maarten

ok, I will check it. Thank You

Hi,
I get the exact same error... I have all the libraries installed, I believe. How did you solve this issue? I just can't get it to compile... Thanks a lot!
I am using a LOLIN D1 mini.
/Users/nameofuser/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/tools/sdk/lwip/include/lwip/dns.h:109:1: error: 'ip_addr_t' does not name a type
ip_addr_t      dns_getserver(u8_t numdns);
^
/Users/nameofuser/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/tools/sdk/lwip/include/lwip/dns.h:110:56: error: 'ip_addr_t' has not been declared
err_t          dns_gethostbyname(const char *hostname, ip_addr_t *addr,
^
Multiple libraries were found for "WiFiUdp.h"
Used: /Users/nameofuser/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WiFi
Not used: /Applications/Arduino.app/Contents/Java/libraries/WiFi
Not used: /Applications/Arduino.app/Contents/Java/libraries/WiFi
Not used: /Applications/Arduino.app/Contents/Java/libraries/WiFi
Not used: /Applications/Arduino.app/Contents/Java/libraries/WiFi
exit status 1
Error compiling for board WeMos D1 R2 & mini.

error: 'ip_addr_t' has not been declared
I had this issue many months ago. I thought that this problem was solved.
You need add one "include" line in ESP-sc-gway.ino like:
extern "C" { #include "user_interface.h" // !!! add in v5.2 - v5.3.3 #include "lwip/err.h" #include "lwip/dns.h" }
Versions 5.2; 5.3.1; 5.3.2 and 5.3.3 has this issue.
I hope this solve is help you.
With best wishes!

Hey @VladimirBakum
It works!!! Thanks a lot!!! Problem solved.
Can't get WiFiManager.h to work... no idea why. But no intention to dig into that. Can live without wifimanager ;-)
All the best, cheers


Uncaught Exception on 500 Error

Line 1157 raises an uncaught key error when a 500 is returned, as the request_id is not in the header. https://github.com/PagerDuty/pdpyras/blob/master/pdpyras.py#L1157
The request_id is already available, so this can simply read:
if int(status) == 500:
            self.log.error("PagerDuty API server error (%d)! "
                "For additional diagnostics, contact PagerDuty support "
                "and reference x_request_id=%s / date=%s",
                status, request_id, request_date)

I have a branch ready to go, but i don't have push access to this repo.

Hi @shonin,
Thanks for pointing this out! Easy fix.
Which API endpoint was being requested when this error came up? Our API should respond with this header.

It was the response plays end point, which I see intermittent problems with.


Only load conda environment if required

The build script for CI is useful to use locally. However, the conda path does not need to be the same on the local system. As such, we only source the conda environment in the case that we request it.
Locally, having conda available in PATH will prevent conda from being sourced again, meaning we can have a different conda environment installed on the system
Description

Moves the sourcing of an absolute path, available in the CI images, behind and if statement
Protects the loading of a conda installation, if one has already been found

/intelci: run


Exit application on login screen?

is this should be here?

steps

go to - https://www.flutterfolio.com/builds/latest/web-build-auto/#/?
on this gray area, right click

Cheers =)

It is meant to be in the Desktop builds, just not Web :) Thanks!

This is fixed in the latest version, 1.1.2, thanks for the report! Please re-open if you can still reproduce.


How to manually set PUE?

How can I manually set a PUE during log analysis, when the default is being used?

It can be modified in the constants.py file, if need be.

Great - I'll go through carbontracker.constants.PUE :)


[SPARK-8023][SQL] Add "deterministic" attribute to Expression to avoid collapsing nondeterministic projects.

This closes #6570.

Merged build triggered.

Merged build started.

Test build #33959 has started for   PR 6573 at commit 356cd22.

lgtm

Test build #33959 has finished for   PR 6573 at commit 356cd22.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.


AttributeError: 'NoneType' object has no attribute 'best_model_path' when checkpoint_callback = False

🐛 Bug
Model does not complete training on TPU and error's out with error AttributeError: 'NoneType' object has no attribute 'best_model_path' when checkpoint_callback=False.
To Reproduce
Steps to reproduce the behavior:
trainer=Trainer(tpu_cores=8, max_epochs=5, checkpoint_callback=False, distributed_backend='tpu')
trainer.fit(model)

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-6-6de8b6915beb> in <module>
      1 trainer = Trainer(tpu_cores=8, precision=16, max_epochs=5, checkpoint_callback=False, distributed_backend='tpu')
----> 2 trainer.fit(model)

/opt/conda/lib/python3.7/site-packages/pytorch_lightning/trainer/states.py in wrapped_fn(self, *args, **kwargs)
     32             if entering is not None:
     33                 self.state = entering
---> 34             result = fn(self, *args, **kwargs)
     35
     36             # The INTERRUPTED state can be set inside the run function. To indicate that run was interrupted

/opt/conda/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py in fit(self, model, train_dataloader, val_dataloaders, datamodule)
   1058             self.accelerator_backend.setup()
   1059             self.accelerator_backend.train(model)
-> 1060             self.accelerator_backend.teardown(model)
   1061
   1062         else:

/opt/conda/lib/python3.7/site-packages/pytorch_lightning/accelerators/tpu_backend.py in teardown(self, model)
     60
     61         # transfer back the best path to the trainer
---> 62         self.trainer.checkpoint_callback.best_model_path = best_path
     63         # todo, pass also bets score
     64

AttributeError: 'NoneType' object has no attribute 'best_model_path'

Expected behavior
Should complete training.
Additional context
Seems similar to https://github.com/PyTorchLightning/pytorch-lightning/issues/2547

@lezwon When I pass progress_bar_refresh_rate=0 to Trainer, fit and then call predict it still raises:
  File "/home/max/src/es/tune4.py", line 177, in test
    preds = trainer.predict(model, dataloaders=datamodule.val_dataloader())
  File "/home/max/anaconda3/envs/torch/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1025, in predict
    results = self.fit(model)
  File "/home/max/anaconda3/envs/torch/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 499, in fit
    self.dispatch()
  File "/home/max/anaconda3/envs/torch/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 543, in dispatch
    self.accelerator.start_predicting(self)
  File "/home/max/anaconda3/envs/torch/lib/python3.8/site-packages/pytorch_lightning/accelerators/accelerator.py", line 79, in start_predicting
    self.training_type_plugin.start_predicting(trainer)
  File "/home/max/anaconda3/envs/torch/lib/python3.8/site-packages/pytorch_lightning/plugins/training_type/training_type_plugin.py", line 122, in start_predicting
    self._results = trainer.run_predict()
  File "/home/max/anaconda3/envs/torch/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 817, in run_predict
    self.predict_loop.setup(model, max_batches, dataloaders)
  File "/home/max/anaconda3/envs/torch/lib/python3.8/site-packages/pytorch_lightning/trainer/predict_loop.py", line 58, in setup
    self.trainer._progress_bar_callback.on_predict_start(self.trainer, self.trainer.lightning_module)
AttributeError: 'NoneType' object has no attribute 'on_predict_start'

Hi, I would like to how was this resolved? @williamFalcon

Hi @rajdeep-biswas, this issue should be fixed in #2962. If you're still experiencing this issue, could you create a new GitHub issue with your environment info and a reproducible script?


failed to view b3dm 3dtiles

cannot view 3d tiles with multi-b3dm files inside, I don't know if this is version problem

Hi Manuel, can you share a url to the tileset?


zone.js promises overriding then callback context AKA (this)

Why execute this code:
https://github.com/angular/zone.js/blob/master/dist/zone.js#L595
and then:
https://github.com/angular/zone.js/blob/master/dist/zone.js#L391
Why you're overriding function context?

sry.. im getting errors and im sick, but was my fault :princess:


Adding the sign up and mobile sign up page, verification page,upload page

Resolves #23

Resolves #41
These are the screens for the verifcation page. @jeremiahlateef @Festusali

@Festusali I have changed the branch

Don't push to that branch @Preciousglows. I already have files there. It will override it. Create your own branch and push it there. @Festusali, please wait for her to change her brach before accepting the pull request. It will override everything I have put there.

I have changed the branch to #41.

@Preciousglows There are some significant changes I want you to make to your code before I accept it.

Don't use generic names for the class. Don't use names like form or input to name your classes.
Don't use a tag without using adding a class to it. Don't use span, form, h2 without adding a class to it.
I've used some of these classes on the template, so when you use a class I have already used, it affects all the elements with that class, the same goes for tags. That's why your footer changed while working on the sign-up page.
So, go back to your files and rename your classes. Your codes are not that long. I don't have the time to review and change everything as @iamjooshua also made the same mistakes.
Also, if you can, connect your repository to a server like netlify so you can view the live project.


"to-number" expression support

Dear Ondrej,
I have some filters with to-number expression as follows:
      "filter": [
        "all",
        [
          "==",
          [
            "to-number",
            [
              "get",
              "admin_level"
            ]
          ],
          2
        ],
        [
          "!=",
          [
            "to-number",
            [
              "get",
              "maritime"
            ]
          ],
          1
        ],
        [
          "!=",
          [
            "to-number",
            [
              "get",
              "disputed"
            ]
          ],
          1
        ]
      ],

I'll be so thankful if you add support for it too. ^_^ :pray:

I tried it, however it is totally untested - please can you try it?


{"status":500,"reason":"Cannot read properties of undefined (reading 'tier')"}

v1/profiles/ was the endpoint :(

24|Skyhelp | TypeError: Cannot read properties of undefined (reading 'tier')
24|Skyhelp |     at getPets (/root/SkyHelperAPI/stats/pets.js:166:75)
24|Skyhelp |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
24|Skyhelp |     at async Promise.all (index 7)
24|Skyhelp |     at async parseProfile (/root/SkyHelperAPI/utils/hypixel.js:222:115)
24|Skyhelp |     at async /root/SkyHelperAPI/routes/v1/profiles.js:19:21


Updated %patch macros for 4.18+ versions of RPM.

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[X] The toolchain has been rebuilt successfully (or no changes were made to it)
[X] The toolchain/worker package manifests are up-to-date
[X] Any updated packages successfully build (or no packages were changed)
[X] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[X] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[X] All package sources are available
[X] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[X] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[X] All source files have up-to-date hashes in the *.signatures.json files
[X] sudo make go-tidy-all and sudo make go-test-coverage pass
[X] Documentation has been updated to match any changes to the build system
[ ] Ready to merge

Summary

NOTE: the only changes in this PR are replacements of %patch[number] with %patch [number].
RPM 4.18+ is deprecating the %patch[number] notation in favour of %patch [number]. Updating all specs to follow that notation from now on.
Not incrementing the Release tag as this change is not adding any features to the packages.
#7693 is adding a PR check for the deprecated macro usage.
Change Log

Replaced all %patch[number] macros with %patch [number].

Does this affect the toolchain?

No.
Test Methodology

Full dev build.

Waiting for an update to our raw toolchain cache, so that it includes RPM 4.18+. Older versions won't work properly with the new format.

The build for patch itself seems to fail in the build toolchain step.

Yes, we're getting the raw toolchain updated now to fix this. Once that's done, I'll re-run the build.

The build for patch itself seems to fail in the build toolchain step.

Yes, we're getting the raw toolchain updated now to fix this. Once that's done, I'll re-run the build.

The builds seems to be fine now. Both toolchain and package builds finished.

Ignoring failing PR checks as they are unrelated to the changes:

CGManifest check fail because we just have some outdated URLs in the manifest (will need to be addressed separately).
The spec files check complains about the remaining legacy specs, where we weren't yet explicitly saying we verified the license information.