[Innovation] Is it possible to develop some apps on the unit?

Hi ！　Thanks for your great effort and Contribution!!
Seems there are a lot of new feature released since last time I installed this toolbox..
Below links are some modification I did via the old version tools.
I will try the new feature  later!  thank you guys again.
I raise this thread not for reporting issues, just wondering that  do you intend to investigate how to install a customized program on the unit,  is that possible based on your investigation?
I know it is running QNX OS,   is the default program/apps wrote by JAVA?
It will be a really Cool thing if we can develop the personalized apps on the unit. isn't it?
Meanwhile, I am thinking about how to hack the CarNet part,  (My 4 years CarNet subscription has been expired, not valid anymore, and VW china do not support renew the subscription.  )
Just an idea, If the unit supports installing apps,  then develop an apps that POSTing the data via CAN BUS to the IoT Module, to the cloud side.
anyway, this will be a big deal. but first Step.  if Unit is able to install/develop apps, that 's Cool.
Thanks!!
tools/SCREENSHOT_(Sdl_7DD2(Pb;Cmc;Psgpb;Pmfm))_TIME_2021_03_28_13_34_46_GEOCOORD_LAT_38.864_LONG_121.52_260390_Nr_107.png
tools/SCREENSHOT_(Sdl_7DD2(Pb;Cmc;Psgpb;Pmfm))_TIME_2021_03_28_13_34_50_GEOCOORD_LAT_38.864_LONG_121.52_264308_Nr_108.png
tools/SCREENSHOT_(Sdl_7DD2(Pb;Cmc;Psgpb;Pmfm))_TIME_2021_03_28_13_34_53_GEOCOORD_LAT_38.864_LONG_121.52_267663_Nr_109.png

You can always contribute to the repo if youve build something. We'll gladly add this to the toolbox


Current thread executor

Provides a current thread executor allowing users to spawn tasks that are guaranteed to run on the current thread.
This is based on the Tokio reform RFC but made some API tweaks.
Remaining

[ ] Get CI passing.
[ ] More tests.
[ ] Benchmark.
[ ] API bikeshedding.

@aturon thanks for the review. I’m currently out of town but will try to address shortly. Docs should definitely be improved before merging. I just wanted to get the code up ASAP for initial review. I should have included a doc checkbox in the original Pr.

I'm going to remove CurrentThread::block_on_all for now. It is pretty similar to block_with_init, so I think we should be conservative for now with the API.
The original reason for block_on_all was to drive a single future to completion, but that has been handled with future::blocking(fut).wait().
Either way, it can be added back later.

I don't love the name cancel_all_spawned as I think we have mixed up our terminology here.

In general, we have "executor" and "execute", but CurrentThread::spawn. We probably should converge to execute and move away from spawn

In general, we have "executor" and "execute", but CurrentThread::spawn. We probably should converge to execute and move away from spawn

If I saw execute i'd personally expect it to be a call to the method on the Executor trait.

@cramertj That is basically what it is.

I have made a number of API changes in this PR compared to the RFC:
CurrentThread instead of free functions
The PR just proposes a bucket of free functions. Instead, I put all of these functions on executor::CurrentThread. This type also is the implementor of the Executor trait.
I assume that at some point, there will also be executor::Pool as a facade over a customizable thread pool implementation.
Naming polish
I renamed spawn -> execute to bring it inline with the Executor trait. There are probably more tweaks besides this.
**Merged block_for_all and block_with_init.
Now there is only one blocking function. The original split makes more sense without the future::blocking helper.
**Pass &mut current_thread::Context to the block_with_init closure.
The RFC calls for passing &mut executor::Enter directly, however, this isn't very future proof. Instead, I define a new type that will eventually contain &mut executor::Enter. This way, if the current thread executor wants to eventually provide more context, it is able to do so without breaking changes.
I personally just picked Context without putting much thought into it, so if there are other ideas for naming, please post them.

Other than the spawn/execute issue, the other departures from the RFC are largely cosmetic and are fine by me.

@aturon I personally prefer the spawn terminology as well, however I think that having disjoint terminology is worse. Precise and consistent terminology is valuable. I made note of the naming issue in a tracking PR (#645).

@aturon OK, this PR should be good to go (assuming CI passes). Please provide final PR review.


Couldn't select my Ragnarok Client (Ragnarok Tab)

Hi, I couldn't select my ragnarok client no matter what I do. Can anyone help me fix this? The name of the ragnarok is God War RO. Its fairly new and here is the website http://www.godwarro.com/

Hello @xButaw
This happens because we don't have support for you server. Try to add support by yourself following this
https://www.youtube.com/watch?v=AH6QtJddd00


Create VertX Graal image for recommendation

Create a project which takes Recommendation VertX service and creates a Graal image.

Currently, it is not possible to compile a VertX application with GraalVM (rc7,8,9) because of usage of ByteBuffer classes.


fix: have docs icon link to docs home page instead of www

🚀 Deployed on https://663a9769b2d1c2604a217880--cozy-fox-0defec.netlify.app


gml cleanup

Changes

flattens keywords
adds self to variable.language

Checklist

[x] Added markup tests, or they don't apply here because...
[ ] Updated the changelog at CHANGES.md

@gnysek Typically we'd also order these lists by alpha now... is there any reason we shouldn't do that for GML as well?

Also can you help me understand what these lists are in the context of GML?

built ins
literals
symbols

Does GML refer to these as "symbols" or was that just the CSS scope chosen to represent them in our highlighter?
Languages typically do NOT have so many literals... I wonder if these are mis-categorized... perhaps they are language variables or language constants?

built ins are functions (so they all have round brackets after them)
things marked as literals are generally constatns, but some of them might be read-only global variables, or their values might change between compilations
things marked as symbols are global variables, or read-only global variables

So it's clear that these aren't literals... so what actual literals does GML support?  Things that have a discrete literal value like yes, no, true, null, infinity etc?

generally constatns, but some of them might be read-only global variables

What is the difference between constants and read-only global variables in GML?

https://github.com/highlightjs/highlight.js/pull/3198/commits/dc17919d1659bbe051553241137bafba3257ebdd
My attempt to clean up the classification:

LITERALS is now much tighter
Many literals (which appear to be largely but not exclusively enumerables) are now symbol
symbols from before are not variable.language

At a glance this seems better, though I'm still not sure it's perfect since I don't know GML. Thoughts?

Does GML have user defined functions?

Yes GML allows to create user defined functions, their syntax is:
function name(arguments) {....
name = function(arguments) {...
function name(arguments) constructor {....
function childname(arguments) : name(arguments) constructor {...
Read-only variables are those which value changes during program execution, but you cannot write any value to them.
Constants in GM are mostly replaced on compile time to literals (like in compiled code, there's no "pi" anymore, but 3.14, true becomes 1 and false becomes 0 - there's no separate boolean type here).

Yes GML allows to create user defined functions, their syntax is:

Are you interested in improving the GML grammar to support more language features, such as function titles, etc?

Does dc17919 look workable to you?


MudAutocomplete does not display a RequiredError

Bug type
Component
Component name
MudAutocomplete
What happened?
Here is an excerpt from my code.
<EditForm Model="@Model" OnValidSubmit="OnValidSubmit" Class="d-flex flex-column flex-xs-row mx-2 my-0 py-0" xs="12" md="12">     <MudGrid>         <DataAnnotationsValidator />         <MudItem xs="12" md="4">             <MudTextField T="string" Label=@localizer["Salutation"] InputType="InputType.Text"<EMAIL_ADDRESS>                         For="@(() => Model.Salutation)" AutoFocus="true" Required="true" />         </MudItem>         <MudItem xs="12" md="6">             <MudAutocomplete T="string"<EMAIL_ADDRESS>SearchFunc="@SearchCountry"                              Label=@localizer["Country"] ResetValueOnEmptyText="true" CoerceValue="false"                              CoerceText="false" Required="true" RequiredError=@localizer["Required"]                              Validation="@(new Func<string, IEnumerable<string>>(Validate))" />
When the Submit button is clicked, the message appears under the Salutation data field. The MudAutocomplete does not issue a message.
Expected behavior
I want the MudAutocomplete component to show that this data field is required.
Reproduction link
https://try.mudblazor.com/
Reproduction steps

Simply use the code shown above.

...
Relevant log output
No response
Version (bug)
5.1.5
Version (working)
No response
What browsers are you seeing the problem on?
Chrome
On what operating system are you experiencing the issue?
Other
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

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

Try <MudAutocomplete T="string?" ...


SAR 742: measure table refactor

Related Tickets

SAR-742

Other Repos' PR(s) Intended to Work With This PR
None
How Things Worked (or Didn't) Before This PR
Display table was getting messy. It has been separated into an overview and member table for the two distinct types of data. It also just has been completely rebuilt.
How Things Work Now (And How to Test)
Play around with the filtering and page shifting for me. 'yarn test' doesn't hurt either.
Readiness

[X] This PR passes all automated tests.
[X] This PR has no linting errors.
[ ] This PR's changes to configuration files have been documented in all appropriate places (such as but not limited to README.md), if applicable.

The code smells are identical and related to a bogus Sonarcloud ruling. Everything is gravy.


version 0.8.1

Pull Request Test Coverage Report for Build 109

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 95.697%

Totals

Change from base Build 107:
0.0%

Covered Lines:
467

Relevant Lines:
488

💛  - Coveralls


Numeric keypad not working properly in VNC Viewer

I have a strange issue when using the numeric keypad. For exemple the '4' erase the previous character, the '7' erase all characters.
I have the same configuration for VNC Viewer for this container and for your handbrake one but only have the issue with this one. I have 2 instance of this docker and have the issue on both. I don't have the issue with the WebGUI though.
I'm not really sure the issue is on the container side, but I'm not sure what I can do to fix it.
Does anybody else has this issue?

I just tried with another vnc client (Tiger VNC) and I have exactly the same issue.

Is this still an issue ?


🐛 [Bug]  in lowering graph for mini graph input.

compiled_cpp_mod = _C.compile_graph(module._c, _parse_compile_spec(spec))
RuntimeError: [Error thrown at core/partitioning/shape_analysis.cpp:68] Expected ivalues_maps.count(input) to be true but got false
Could not find torch::jit::Value* image_hw.1 produced from %image_hw.1 : int[] = aten::slice(%2061, %11, %self.backbone.conv1.bias.3, %12) # /data/czj1/code/2022.1/model/models_0427.py:265:19 in lowering graph for mini graph input.

I used Resnet18 for compiling, but show me this bug.  ps ,My model passed scripted_module.

@AllesOderNicht
Could you please share the Torch-TensorRT version that you are using ?
I think this should be fixed in our latest master branch.
Do you have a more detailed log ?


WIP - Deprecating Python2 and requiring ~=3.6

This removes the ability to install Reckoner in a python2 environment. There are notes in both the README and CONTRIBUTING docs, as well as disabling python2 in the setup.py.  CI for python2 has also been removed.
Example output when trying to pip install in python2:
 reactiveops/reckoner   sudermanjr/deprecate-python-2 ✘   .venv-2 
└─ pip install .
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Processing /Users/asuderma/repos/reactiveops/reckoner
ERROR: reckoner requires Python '~=3.6' but the running Python is 2.7.15

Setup.py changes based on docs here: https://packaging.python.org/guides/distributing-packages-using-setuptools/

This looks extremely awesome - I think the only other consideration is to mark a new version for this PR, and say that going forward from v1.3.0 there won't be any support for Python2 (something like that would be good in the changelog).


FAQ page contains a huge block of commented-out content

Left over by accident?

oops, double submit.


[NEMO-2186] Parallelism=1 for PCollectionView

JIRA: NEMO-286: Parallelism=1 for PCollectionView
Major changes:

Set Parallelism=1 for side input stages
Set CommPattern=Broadcast from/to side input stages

@taegeonum Please review this after #159 is merged.


aws eks named profile with kubeswitch store errors

I just came across kubeswitch and its an awesome project - thank you for this!
After i installed kubeswitch and set up the store for eks, and tried setting an alias for the context, i keep getting this error
→ [11:10:17] ~  ✗ s alias dev-admin="arn:aws:eks:us-west-2:xxxx:cluster/dev"
Set alias "dev-admin" for context "arn:aws:eks:us-west-2:xxxx:cluster/dev".
→ [11:10:21] ~  ✗ Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
BrokenPipeError: [Errno 32] Broken pipe

The shell blocks and until a return is pressed i can't proceed further. This only happens when setting aliases. Removing and listing aliases works fine.
Note: the context does get switched, and everything works fine. It's just during the setting of aliases that causes this issue.
→ [11:23:01] ~  ✗ aws --version
aws-cli/2.11.1 Python/3.11.2 Darwin/23.0.0 source/arm64 prompt/off

Hi, thanks for reporting. I currently cannot reproduce this issue, so I am waiting for more people reporting this behaviour.
In the meanwhile, I am afraid, you might have to not use aliases.

it seems that not many people have encountered this problem, so I'll close it for now. Please comment below if you see that same problem.


Small improvements to the encodings comparison

Small improvements to the encodings comparison #1588:

print RNG seeds
label inputs
use expected comparison ?=

Codecov Report

Merging #1681 (58b8b62) into unstable (263c2a6) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           unstable    #1681   +/-   ##
=========================================
  Coverage     75.35%   75.35%
=========================================
  Files           357      357
  Lines         11522    11522
  Branches        576      576
=========================================
  Hits           8682     8682
  Misses         2840     2840

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 263c2a6...58b8b62. Read the comment docs.


VIRUS!

 My friend, please go into the code and check it yourself. Please don't make comments if you don't know how to code.


Compilers segfault when compiling in plain or release mode

D bug entry: https://issues.dlang.org/show_bug.cgi?id=18026
Not much we can do...

This is much less of an issue now than it used to be. I'm not sure if it's because of changes in our codebase or in the compiler's, but not even the reduced examples in that bug report seem enough to trigger it anymore. I can compile my own dmd with digger and this project builds just fine with it, which simply wasn't the case previously.
I'm hesitant to close this when we don't know what actually changed, but there's little point having it open if it no longer applies. Reopen if it resurfaces.


[WRR] Prefer application_utilization to cpu_utilization

ORCA code is commented out yet.

Note that we can't merge this until the orca proto change has been imported.

Orca proto change is imported cl/538546518, enabling auto-merge.


Chunk Size for Einsum and Einsumv2 attention vs Resolution

Hi the Chunk size in python_coreml_stable_diffusion/attention.py is 512 only for 512x 512? How to change it for arbitrary resolution? I know its based on the sequence length but any reason for hardcoding to 512?? How to select the optimal chunksize for any resolution?

I had hardcoded 512 based on measurements for the 512x512 input configuration but it is adaptive to other resolutions so it doesn't need changing. (Total coincidence that 512 numbers match).
The optimal chunk size is a function of the ANE compilation process (black box to 3rd party) even if you know the hardware details so trial-and-error is your only affordance.
Rule of thumb: The smaller the chunk size, the faster you will likely get on the ANE, the slower you will likely get on the GPU, the more likely you will increase compilation time (to the order of several minutes).
My recommendation: Unless you are swinging for the fences at a record low latency, SPLIT_EINSUM (not V2 with chunking) is a good balance of low prediction latency and relatively low compilation latency for ANE.

Hey Thanks for your comments, i was trying to work with non-square resolutions and hence was wondering what would be a good way to compute the chunk sizes for these cases. eg: chunk size for 800x448

Aspect ratio does not matter as we flatten the data from 2D to 1D before each attention block.


Use the scale factor of the device's main screen when scaling the image.

This PR solves the image scaling issue I commented on #446.
Checklist

[x] I checked the Contributing Guidelines before creating this request.
[x] New extensions are written in Swift 4.
[x] New extensions support iOS 8.0+ / tvOS 9.0+ / macOS 10.10+ / watchOS 2.0+.
[x] I have added tests for new extensions, and they passed.
[x] All extensions have a clear comments explaining their functionality, all parameters and return type in English.
[x] All extensions are declared as public.
[x] I have added a changelog entry describing my changes.

          1 Warning

:warning:
Consider adding tests for new extensions or updating existing tests for a modified SwifterSwift extension

          4 Messages

:book:
Thank you for submitting a pull request to SwifterSwift. The team will review your submission as soon as possible.

:book:
Executed 487 tests, with 0 failures (0 unexpected) in 3.365 (3.928) seconds

:book:
Executed 457 tests, with 0 failures (0 unexpected) in 1.921 (2.336) seconds

:book:
Executed 331 tests, with 0 failures (0 unexpected) in 1.302 (1.681) seconds

  Generated by :no_entry_sign: Danger


[occm] Use kubetest2 for conformance test

Is this a BUG REPORT or FEATURE REQUEST?:
/kind feature
What happened:
https://github.com/kubernetes/test-infra/tree/master/kubetest#deprecation-notice
kubetest has been deprecated in favor of kubetest2.
What you expected to happen:
How to reproduce it:
Anything else we need to know?:
Environment:

openstack-cloud-controller-manager(or other related binary) version:
OpenStack version:
Others:

/remove-lifecycle stale

/remove-lifecycle stale

/remove-lifecycle stale


openxr: Add openxr replay support to Session

Narrow path implementation. Only entry-points used by a single test capture.  Android build not updated.

CI gfxreconstruct build queued with queue ID 202417.

@MarkY-LunarG  -- builds on Win and Linux not sure what is needed to build on Android ...

CI gfxreconstruct build # 4288 running.


Use Go types for selectors

In line after https://github.com/keybase/client/pull/4382
Now selectors for JSON and CSS use the type selectorEntryT instead of passing around jsonw handles.
selectors: [0, "data", "children", 0, "data", "author"]
Selectors []selectorEntryT `json:"selectors"
r? @oconnor663

Accidentally closed, can't reopen, go to https://github.com/keybase/client/pull/4451


Bugfix/deploy service account

Description
Update from https://github.com/dell/csm-replication/pull/62. There are two ways for installing csm-replication. This covers the all-in-one using repctl for installing instead of the installation script.
GitHub Issues
List the GitHub issues impacted by this PR:

GitHub Issue #

https://github.com/dell/csm/issues/600

Checklist:

[x] I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
[ ] I have verified that new and existing unit tests pass locally with my changes
[ ] I have not allowed coverage numbers to degenerate
[ ] I have maintained at least 90% code coverage
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[x] I have maintained backward compatibility

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

[x] Installed csm-replication using repctl. Ensured that the correct service account and secret are created and that replication is running correctly.

@falfaroc -- https://github.com/dell/csm/issues/463 is marked as fixed for CSM 1.5 release and is present as part of the ChangeLog. Please create another defect to indicate the remaining problem and tag the PR against that.

@harshaatdell Create the defect and updated the issue accordingly here.


Water way dissapearing only at a specific zoom

Hi there, thanks for creating Tegola its been great to use. I've recently discovered a stretch of river that disappears only at zoom 11.
Here it renders fine at zoom 10

But at zoom 11 a section of the river loses it's filling. There is still an outline of its shape however.

The river renders fine again at zoom 12.

Not sure if it helps but this is how it looks like visiting localhost:8080

Details
Zoom & Coords #12.15/51.46801/-0.23804
Machine: Local silicon mac on macOS Big Sur.
Tegola version: Built from source using the 0.13.0 tag.
Other info
I tried adding dont_simplify = true to my layer config but that did nothing.

This is my config for water ways.
Imposm
"water_ways": {
      "fields": [
        {
          "type": "id",
          "name": "osm_id",
          "key": null
        },
        {
          "type": "geometry",
          "name": "geometry",
          "key": null
        },
        {
          "type": "mapping_value",
          "name": "type",
          "key": null
        },
        {
          "type": "area",
          "name": "area",
          "key": null
        }
      ],
      "type": "polygon",
      "mapping": {
        "water": [
          "river",
          "canal",
          "stream",
          "stream_pool",
          "rapids",
          "lock",
          "fish_pass",
          "ditch"
        ],
        "waterway": [
          "river",
          "riverbank",
          "stream",
          "tidal_channel",
          "canal",
          "ditch",
          "fish_pass",
          "waterfall"
        ]
      }
    },

Tegola
[[providers.layers]]
	name = "water_ways"
	geometry_fieldname = "geometry"
	id_fieldname = "osm_id"
	sql = "SELECT
                     ST_AsBinary(geometry) AS geometry,
                     osm_id,
                     type,
                     area
                   FROM osm_water_ways
                   WHERE geometry && !BBOX!"

[[maps.layers]]
	name = "water_ways"
	provider_layer = "osm.water_ways"
	min_zoom = 8
	max_zoom = 9

[[maps.layers]]
	name = "water_ways"
	provider_layer = "osm.water_ways"
	min_zoom = 10
	max_zoom = 20

Styles
{
      "id": "water_ways",
      "type": "fill",
      "source": "lxqenljf0",
      "source-layer": "water_ways",
      "filter": [
        "all"
      ],
      "layout": {
        "visibility": "visible"
      },
      "paint": {
        "fill-color": "rgba(213, 213, 200, 1)"
      }
    },

And here is the map tile:
11_1022_681.zip
Any help would be greatly appreciated.

@adamakhtar what version of PostGIS are you using? Looks like you're using the postgis data provider which uses tegola's native geometry processing. Have you tried mvt_postgis yet?

Thanks @ARolek. My postgis version is 3.1.2 and is installed via brew. Does that explain anything?
I haven't heard of mvt_postgis so I just googled it. I was expecting it to be a library or alternative to postgis but that does not seem to be the case. It seems MVT is new functionality added to postgis. Is that correct? I can't find anything named specifically mvt_postgis though.
Are you referring to a function? If so how do I use mvt_postgis in my tegola setup? Any pointers on what to google would be most helpful.

@ARolek re: mvt_postgis I've found it via the docs here https://github.com/go-spatial/tegola/tree/v0.14.x/mvtprovider/postgis . I will give this a try tonight or tomorrow.

@adamakhtar yep, looks like you found the mvt_postgis provider. LMK if you have any issues getting it running.

@ARolek I got it running and the problem is now gone. I've also seen a big performance boost as well! Thank you very much for your help on this.

@adamakhtar glad that worked for you! I'm going to close this issue now. Enjoy the weekend!


Check Cargo.lock in as this is also a binary crate

As the very helpful .gitignore comment says:

Remove Cargo.lock from gitignore if creating an executable, leave it
for libraries.
More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html

Cargo ignores a crate's Cargo.lock when it's used as a dependency but it can use it for binaries (when passing the --locked argument).
I've also update the README install command to use --locked as it makes install more reproducible and less error-prone.

Speaking of the install command in the README...
$ cargo install --path . installs the binary from the source code but Cargo can install the binary without the need for downloading the code which is usually what most casual users want.
We should consider changing the README command to $ cargo install --locked carbonintensity-api. Main caveat is that this would install the latest released version.


MS ATP Mac Catalina (10.15.x) slows O365 Apps to almost unusable

Office for Mac 2019 becomes unusably slow with macOS Catalina (MacOS 10.15.x) and “Real Time Protection” being enabled in Microsoft ATP. This does not affect MacOS 10.14.x (Mojave) or 10.13.x (High Sierra) or 10.12.x (Sierra) as far as my testing shows...
When you disable the above feature – speed of operation of the apps returns to normal. ATP is all but useless at this point mind! Is there a fix for this?
I had in issue with my MacBook Book Pro (it went back to Apple for the Keyboard Recall). As this would take an estimated 10 days - I erased my old 2015 11" MacBook Air (2.2GHz i7, 8GB RAM, 500GB SSD), installed 10.15 clean on to it and setup Apps from scratch. I have all my docs in iCloud Drive / OneDrive so enabled, sync'd and all working well. then I installed ATP. At this point all O365 Apps (only these as far as I can tell) slow to a crawl. Outlook is especially bad. Moving from one folder to another takes 10s minimum and the beachball comes up. Turn off Real-Time Protection and folder come up in 1-2s depending on size as you would expect. Opening and working on Word / Excel docs also stops the hanging / beach balling issues. This is a clean install so not sure what more I could do.
I have raised with Outlook support who, having looked into it, suggested I raise the issue here.
Many thanks

@Wicked-Weasel - May we know which Microsoft document link you used in reference to this issue?
Please share it with us so we can investigate further. Thank you.

Hi there
Hi Oli, just want to send update that the issue is with Microsoft Defender ATP for macOS and was also published here: https://docs.microsoft.com/en-us/windows/security/threat-protection/microsoft-defender-atp/microsoft-defender-atp-mac#how-to-install-microsoft-defender-atp-for-mac
Please reach out to ATP support team for further assistance.
All the best,
Oli
Oli Saunders
DBMC Ltd
m. +44 (0)7973 626556
From: "Joyce Y."<EMAIL_ADDRESS>Reply to: MicrosoftDocs/windows-itpro-docs<EMAIL_ADDRESS>Date: Tuesday, 11 February 2020 at 02:58
To: MicrosoftDocs/windows-itpro-docs<EMAIL_ADDRESS>Cc: Oli Saunders<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/windows-itpro-docs] MS ATP Mac Catalina (10.15.x) slows O365 Apps to almost unusable (#6027)
@Wicked-Weaselhttps://github.com/Wicked-Weasel - May we know which Microsoft document link you used in reference to this issue?
Please share it with us so we can investigate further. Thank you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/windows-itpro-docs/issues/6027?email_source=notifications&email_token=AOQOOZZZJTEY7FEHARMEHK3RCIH7BA5CNFSM4KSLMC5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELLCK5Q#issuecomment-584459638, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOQOOZ5A7ORVPI2X7EHBQ4DRCIH7BANCNFSM4KSLMC5A.

@Wicked-Weasel - Thank you for submitting feedback.
I think the best way forward is if you can open a service ticket so this can get resolved ASAP. Based on outcome, let me know if it is something that can be called out in the docs.
Please follow this link to contact support for Windows 10 products:  https://support.microsoft.com/hub/4338813/windows-help?os=windows-10
If you don't mind please keep us posted here on the resolution so we can get the applicable information you are discovering back into the docs.


Add "Palettes" configuration option

Loving the new config. Any chance there could be a "palettes" option so we could select the colors available per field instance?

Not sure you're even open to this as a feature, but I took at a stab at it here https://github.com/Rias500/craft-colour-swatches/pull/19

Added in 1.2.1 👍


Initial version is ready

The initial version is ready to make public.

Ok, I merged it
ordered another RPI so I can try it out and start to learn python...
Graham.
On Mon, Mar 2, 2020 at 1:47 PM Matt Sargent<EMAIL_ADDRESS>wrote:

The initial version is ready to make public.
You can view, comment on, or merge this pull request online at:
https://github.com/graham22/ClassicMQTT/pull/4
Commit Summary

Initial Check in
Update for build
Update to detect not getting MODBUS data
Update .gitignore
Delete settings.json
Update classic_mqtt.py
Update remove pipenv
Update for Simple Distro
More updates
Update README.md
Update README.md
Update on re-connecting and logging
Update logging
Fixed reading of the app_rev and net_rev
Added more Error Handling
Update the date sent to the proper format
Added keyboard stopping and better mqtt error detection
Additonal comments and more logging
littles
more littles
added logging to data gathering
smalls
Revert "smalls"
smalls
Refactor to a single async thread
little
littles2
Update classic_mqtt.py
change initialization of dict
Update classic_mqtt.py
fixed passed in variables
Update classic_modbusdecoder.py
Update classic_mqtt.py
Update classic_mqtt.py
Update classic_mqtt.py
Final changesw and code pretty up
Update comment etc
Update README.md
Update README.md
Update README.md
Update README.md
Update README.md

File Changes

A code/Python/.gitignore
https://github.com/graham22/ClassicMQTT/pull/4/files#diff-9843ef3728f8b69c077e03177936b7a6
(139)
A code/Python/LICENSE.md
https://github.com/graham22/ClassicMQTT/pull/4/files#diff-9af76bc36d4166ae4655e80a965ca9c6
(21)
M code/Python/README.md
https://github.com/graham22/ClassicMQTT/pull/4/files#diff-78ed13b4dfe326085f9b8fb67aade80b
(26)
A code/Python/check_run_classic.sh
https://github.com/graham22/ClassicMQTT/pull/4/files#diff-eed23390eefe3e4b5cbf0a6063e6571f
(34)
A code/Python/classic_mqtt.py
https://github.com/graham22/ClassicMQTT/pull/4/files#diff-d875af59d6d60261ef50993d7773ff2e
(295)
A code/Python/support/init.py
https://github.com/graham22/ClassicMQTT/pull/4/files#diff-f840b8d7eac05860848906ed1ee55c3e
(0)
A code/Python/support/classic_jsonencoder.py
https://github.com/graham22/ClassicMQTT/pull/4/files#diff-270d3652237fc479a0b86bcdfe2ef62e
(122)
A code/Python/support/classic_modbusdecoder.py
https://github.com/graham22/ClassicMQTT/pull/4/files#diff-725edd3b5a87ac66cb351adafaa3a9eb
(192)

Patch Links:

https://github.com/graham22/ClassicMQTT/pull/4.patch
https://github.com/graham22/ClassicMQTT/pull/4.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/graham22/ClassicMQTT/pull/4?email_source=notifications&email_token=ABIYATJHM6HSQQZBDD4GN23RFP5L7A5CNFSM4K72JAVKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IRZFTCA,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABIYATLRIPHOBKOWLJPQCPTRFP5L7ANCNFSM4K72JAVA
.

--
Graham A. Ross
(613) 769-1331


Could not override 'config.task_specific_params.pooling_method' when lauching wandb agent

Hi I am trying to train models on MIMIC-IV via following tutorial. But failed. please help on it. thanks.
Here're the commands I ran:

clone ESGPT and MIMIC related repo.
built dataset and task dataframes.
under MIMICIV_FMs_public  ./scripts/pretrain.sh +cohort_name=try240521_0927
 ./scripts/launch_hyperparameter_tuning.sh cohort_name=try240521_0927.  ERROR https://github.com/mmcdermott/EventStreamGPT/blob/main/scripts/launch_wandb_hp_sweep.py does not exist any more. So I replace it with launch_pretraining_wandb_hp_sweep.py.
./scripts/launch_wandb_agent.sh --project MIMIC_FMs_public --entity xxxx cdby50ub

Step 5 failed with below error:
Could not override 'config.task_specific_params.pooling_method'.
To append to your config use +config.task_specific_params.pooling_method=max
Key 'pooling_method' is not in struct
    full_key: config.task_specific_params.pooling_method
    object_type=dict

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
2024-05-24 07:44:17,407 - wandb.wandb_agent - INFO - Running runs: ['cdby50ub']
2024-05-24 07:44:17,408 - wandb.wandb_agent - ERROR - Detected 3 failed runs in the first 60 seconds, shutting down.

Thanks @Rhett-Ying  -- apologies for the delay in response. I'll look into this soon -- don't hesitate to re-ping here as needed.

@mmcdermott do you have any findings for this issue? And one more question, how much GPU RAM is required to train or fine-tune the GPT model on my own? what kind of GPU and how much time it takes? A100?

@Rhett-Ying I used launch_hyperparameter_tuning.sh instead.
In MIMIC_FMs_public/configs/hyperparameter_sweep.yaml I changed:
- hyperparameter_sweep_base
+ pretraining_hyperparameter_sweep_base

As you mentioned, I also changed MIMIC_FMs_public/scripts/launch_hyperparameter_tuning.sh:
- $EVENT_STREAM_PATH/scripts/launch_wandb_hp_sweep \
+ $EVENT_STREAM_PATH/scripts/launch_pretraining_wandb_hp_sweep.py \

My pretraining command was then: ./scripts/launch_hyperparameter_tuning.sh cohort_name=mimiciv_esgpt parameters.optimization_config.num_dataloader_workers.value=15
Followed by launching workers (one per 24GB RTX6000 GPU): srun -p <your_partition> --mem=48G --gres=gpu:1 -c 16  ./scripts/launch_wandb_agent.sh healthyml/MIMIC_FMS_public/<your_sweep_id>
Note, depending on the hyperparameter search, some were OOM, and others were fine. Surprisingly, these all finished within ~5 hours per run (median around 1.5 hours). It will depend upon your hyperparameter search config/number of parameters/learning rate.


Supervisor problems (apparently)

Home Assistant release with the issue:

0.75.2 (supervisor : 123 HassOS 1.9)
Last working Home Assistant release (if known):
Previous to 0.75.0
Operating environment (Hass.io/Docker/Windows/etc.):

Hass.io
Component/platform:

Description of problem:
After the Hassio 0.75.0 disaster I did a fresh install of HassOS and flashed my latest snapshot (without home assistant 0.75.0 of course).
I first had problems with Home Assistant restarting approximately every 10 minutes just a few seconds after a "Login attempt or request with invalid authentication from <IP_ADDRESS>".
I found this post and applied the "add <IP_ADDRESS>/12 in trusted networks" workaround:
https://community.home-assistant.io/t/home-assistant-restarts-every-10-minutes/62951
That solved the problem.
Then I tried to install the lovelace migration addon, it started to be long and Home Assistant was not responding anymore. Manual reboot
I tried adding <IP_ADDRESS>/8 (from the default config of Samba share) to the trusted networks, rebooted and retried installing lovelace migration addon and this time got this error:

18-08-08 08:51:10 INFO (SyncWorker_3) [hassio.docker] Run command 'python3 -m homeassistant -c /config --script check_config' on homeassistant/raspberrypi3-homeassistant
18-08-08 08:51:42 INFO (SyncWorker_19) [hassio.docker.interface] Stop homeassistant/raspberrypi3-homeassistant docker application
18-08-08 08:51:49 INFO (SyncWorker_19) [hassio.docker.interface] Clean homeassistant/raspberrypi3-homeassistant docker application
18-08-08 08:51:51 INFO (SyncWorker_1) [hassio.docker.homeassistant] Start homeassistant homeassistant/raspberrypi3-homeassistant with version 0.75.2
18-08-08 08:53:32 INFO (MainThread) [hassio.homeassistant] Detect a running HomeAssistant instance
18-08-08 08:54:49 INFO (SyncWorker_8) [hassio.docker.interface] Pull image hassioaddons/lovelace-migration tag 0.1.1.
18-08-08 08:55:22 ERROR (SyncWorker_8) [hassio.docker.interface] Can't install hassioaddons/lovelace-migration:0.1.1 -> 500 Server Error: Internal Server Error ("readlink /var/lib/docker/overlay2/l: invalid argument").

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
# The only thing I changed to partially solve the problem
http:
  api_password: *********
  trusted_networks:
   - <IP_ADDRESS>/12
   - <IP_ADDRESS>/8

Traceback (if applicable):

Additional information:
It looks like some kind of write permission problem.

The Log posted above has a 2h offset, it was 10:54.

/move to home-assistant/hassos


Other players crash when excavating blocks on LAN worlds/dedicated servers

to reproduce have one player start a server (Open to LAN or dedicated server) & attempt to brush an excavation block with a second player nearby.
(The player who crashes (the one not excavating) needs to have the excavating player loaded in as well).
`Description: Ticking entity
java.lang.ClassCastException: class net.minecraft.class_745 cannot be cast to class net.capsey.archeology.entity.BrushingPlayerEntity (net.minecraft.class_745 and net.capsey.archeology.entity.BrushingPlayerEntity are in unnamed module of loader`
crash-2022-10-03_13.14.16-client.txt

I released new version with the fix (v0.2.4), hope now it doesn't crash! Close the issue if it worked


Made some changes

Added xox game code in c language
Added basic client server code in c#
created a gitignore file

could you label it hactoberfest accepted @StuntStorm


Fix bors timeouts

The name of the status of gitlab CI pipelines is inconsistent, so use a wildcard to match.
I'm not sure if this actually works, I'm basing this on the following:
https://forum.bors.tech/t/usage-with-gitlab-ci/245
and
https://github.com/bors-ng/bors-ng/pull/547

@stlankes Could you try if this works?

@stlankes Could you try if this works?

bors try

bors try

@stlankes It looks like this isn't working.
Could you enable static check names in your gitlab settings for uhyve?

This makes it possible to mark these status checks as Required on GitHub. With Static status check names enabled on the integration page, your GitLab instance host name is appended to a status check name, whereas in case of dynamic status check names, a branch name is appended.

After that, I think the previous version with git.rwth-aachen.de should be working and this PR could be closed.

@stlankes It looks like this isn't working.
Could you enable static check names in your gitlab settings for uhyve?

This makes it possible to mark these status checks as Required on GitHub. With Static status check names enabled on the integration page, your GitLab instance host name is appended to a status check name, whereas in case of dynamic status check names, a branch name is appended.

After that, I think the previous version with git.rwth-aachen.de should be working and this PR could be closed.


ExcelImport : Wrong exception message when validating column mapping

There is a small bug in file \ExcelImporter\Services\ImportExtension.cs, method GetImportParameters where the MemberNotFoundException report the wrong type which lead to confusion.
public static ImportParameter[] GetImportParameters(this ExcelImport excelImport){
	return excelImport.ExcelColumnMaps.Select(map => {
		var memberInfo = excelImport.Type.GetTypeInfo().Members.FirstOrDefault(info => map.PropertyName==info.Caption());
		if (memberInfo==null)
			throw new MemberNotFoundException(excelImport.GetTypeInfo().Type, map.PropertyName);
		return new ImportParameter(){MemberInfo=memberInfo,Map=map};
	}).ToArray();
}

It should be
throw new MemberNotFoundException(excelImport.Type, map.PropertyName);

thanks, I ll add it in the next minor.

eXpand.lab Installer 18.2.703.2 includes commit ExcelImport: Wrong exception message when validating column mapping #352 that relate to this task. Please test if it addresses the problem. If you use nuget add our LAB NugetServer as a nuget package source in VS.
. Thanks a lot for your contribution.


Gracefully handle database disconnect

Coverage: 93.691% (+0.0008%) from 93.69% when pulling bc56ae1ca9810e5cc173fe7bd660ef3c7d6e84fe on cody-database-disconnect into 5483371e52033919e13e8b1b4f50eb9a41bf354c on main.


ECS editorconfig import

Can you import .editorconfig settings into ecs.php?

No, that's not possible. But you can make custom script that generetes little ecs.php set from provided .editorconfig.


Contacts us links points no where.

It would be helpful if the contact us link directed users to where they could reach or contact you.

Hey thanks for pointing out. Currently there are no plans a including a contact us page that's why the link is empty but let's see if we can do it in future. For now please ignore that !

Okay, noted.


captured keys to stop sudden refresh while playing

Fixes Issue🛠

Closes #59
Description👨💻

Type of change📄

[] New feature (non-breaking change which adds functionality)

How this has been tested✅

Checklist✅

[] My code follows the style guidelines of this project
[] I have performed a self-review of my own code
[] I have commented my code, particularly in hard-to-understand areas
[] I have added demonstration in the form of GIF/video file
[] I am an Open Source Contributor

Screenshots/GIF📷

Create a new branch, don't push to the main branch of the repo @AK-shat-JAIN

ok sr


[Issue] Can't generate schemes from many files

Hi, error described in header
When i was tried to generate scheme from two files in build.yaml - it's create only one table (for item1)
So, i tried to disable item1 and build another time, but scheme patcher just dropped 'item1' table and created new table for item2
At the current moment, I decided to remove any 'table dropping' code from source code (just as temporary solution) and generate new table for each item in builder.yaml - it works
Seems like patcher can't recognize multiple schemes, i think it's error and it should be fixed

Added in version 0.7.0


Not sure

🧐 Have you read the FAQ and viewed similar issues?

[X] I have read the FAQ
[X] I have checked older issues, open and closed
[X] I did a clean install of SpotX as described in the FAQ

Сountry of your account
South Africa
What is your Spotify Plan?
Free
Do you have Spicetify installed?
No
ℹ Computer information
- Spotify: latest
- Windows: 10 Single language
- PowerShell: latest

📝 Description

not sure

...
📸 Screenshots

The new commit Install.ps1 to run.ps1 change the Install.ps1 to run.ps1
I think download that run.ps1 directly from this repo you can install it.


[GUI Update] Applications Details Panel

As a user, I want to view more details in my application, so that I can have a more comprehensive understanding of the application.

Complete under #80


Update iot-hub-cli-version-info.md

Fix some syntax.

@digimaun : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@digimaun : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Looks good. Thanks @digimaun


django admin -- encoding UTF8 LATIN1

I am using ckeditor in the admin.
base.html
<meta charset="utf-8">
settings.conf
CKEDITOR_CONFIGS = {
    'default': {
        'toolbar': 'full',
    },
}

When i write german umlaute in ckeditor, it still replaces them with for example ü = ü
Why is that? How can i prevent it?
If i want to edit and save an entry in django admin (containing a german Umlaut [ü]), it will cause an error:

character with byte sequence 0xe2 0x80 0x9e in encoding "UTF8" has no eqivalent in encoding "LATIN1"

i guess it has something to do with my postgresql database

Actually it had nothing to do with ckeditor. Ihad to change my postgres database encoding to UTF8


Performance bug in Android getAll()

There's a bug (?) in ContactsProvider.java where each piece of information in a contact record results in getPhotoURIFromContactURI() being called - i.e. If a contact has 1 name, 2 phone numbers and 2 email addresses, getPhotoURIFromContactURI() will be called 5 times for the same contact.  Multiple calls per contact only result in 1 file in the cache, but for each call the image is re-copied. (I've fixed this in my fork, and will submit a pull req, but thought this was important enough to post here now.)
ContactsProvider.java :
155:            if (!TextUtils.isEmpty(rawPhotoURI)) {
should read
155:             if (!TextUtils.isEmpty(rawPhotoURI) && TextUtils.isEmpty(contact.photoUri)) {

Hi. Thanks for looking at this. I can take a look at the code tomorrow. Unless you feel like submitting a PR?

https://github.com/rt2zz/react-native-contacts/pull/126
@morenoh149 this is a good one-liner.  would you like to review and push if it looks ok?

@npomfret looks like your one liner was in master already.

Great :) Could someone push a new release? We are still at 0.2.2...

done

Yes, sorry I should have close this.  It was included in the other performance fix I merged


fix: [no-unused-vars] Allow unused parameters

The Standard.js rules allow unused parameters in functions.
Typescript also has noUnusedParameters, so users can enable / disable that as they see fit. Whatever users choose, eslint-config-standard-with-typescript shouldn't conflict with Standard.js itself.

@mightyiam This is a rule that we hope to change at some point. Right now, we allow unused params just to support use of the express web framework which counts the number of arguments in a middleware function to determine if it is an error handler or not. It's a really bad design decision on the part of express and something they want to change.

Thank you for the explanation, @feross.


Let's support next versions of 4.1 as well

It's still a problem on 4.1.10.

I am for this PR but I am unsure the state of the CI. Can merge if that gets fixed.


down ratio and coordination order

(1)
It seems that down ratio is parameter to rescaling output resolution.
(4 --> input:608, output:152)
Is there any reason to consider down scaling?
(2)
If the coordination order of the custom dataset is not constant (eg. some clockwise and some counterclockwise), will this affect the performance of the model?

downscaling is natural for pyramid CNN to take advantage of different receptive field.
You may want to ensure vectors belong to the same category (same quadrant)


#1167

I want to be a member of Swift Global and be able to help the poor people of my country with my income

Me too !#@$


What License applies to this repository?

Hi,
What License does apply to this repository? Would you be able to add the LICENSE file to make this clear for others?

Hi,
The MIT License applies and the file has been added with the latest commit.
Thanks for the feedback!


Fix variable type inference precedence

PR Summary
Fixes https://github.com/PowerShell/PowerShell/issues/18689
So instead of using the first variable assignment before the cursor to infer the type, it instead takes the last variable assignment before the cursor.
Also removed a condition that could never be true because the loop before it always ensures that the parent property is null.

PR Context

PR Checklist

[X] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[X] Summarized changes
[X] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[X] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[X] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[X] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[ ] N/A or can only be tested interactively
OR
[X] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[X] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and opened an issue in the relevant tool repository. This may include:

[ ] Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode
(which runs in a different PS Host).

[ ] Issue filed:

[ ] Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.

[ ] Issue filed:

[ ] Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).

[ ] Issue filed:

[ ] Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

[ ] Issue filed:

Doesn't this approach of reversing the break this pattern of coding common to ps1 scripts?
'''Powershell
$script = '[CmdletBinding()]
param (
# PS1 Script Parameter
[Parameter()]
[hashtable]
$ParameterName
)

function Verb-Noun {
[CmdletBinding()]
param (
# PS1 Function Parameter
[Parameter()]
[string]
$ParameterName
)

}

$ParameterName.'

TabExpansion2 -inputScript $script -cursorColumn $script.Length | select -expandproperty CompletionMatches
'''

So, apparently VisitAssignmentStatement returns whatever is on the left: https://github.com/PowerShell/PowerShell/blob/master/src/System.Management.Automation/engine/parser/TypeInferenceVisitor.cs#L977
This caused some issues in my first test [string]$TestVar = "";[hashtable]$TestVar = @{};$TestVar where the typeinference saw it like the ast returned 3 types (string, hashtable x2) which was obviously not correct. If I fix that so AssignmentStatements return nothing then it's incorrect when used inside parentheses like this: $Var1 = ($Var2 = ls) because in that case the AssignmentStatement does return something.
@SeeminglyScience What's your thoughts on this? How do I fix this properly?

Doesn't this approach of reversing the order break this pattern of coding common to ps1 scripts?

Not this exact scenario because parameters are handled before variable assignments, so it will see the hashtable parameter before the other function parameter. But you are right that the approach isn't perfect. If you define a variable, and then a function like this:
[hashtable]$ParameterName=@{}
function Verb-Noun {
    [CmdletBinding()]
    param
    (
        [Parameter()]
        [string]
        $ParameterName
    )
}
$ParameterName.<Tab>

then it will see the function parameter instead of the script variable. I will need to look into that.

Mmmm tricky! I'm inclined to think that it should continue to infer the type on the RHS, but only of the closest assignment.
But then if you do
[string] $thing = 'something'
$thing = 10
$thing.<tab>

then you'll get int. And maybe that's fine but it sure doesn't feel good. The ideal thing would be if it looped through parents and looked through assignments to find the closest "declaration" but not recurse into the parent's children. That way you could avoid & { [string] $a = 10 }; $a = gci; $a.<tab> finding string.
Though even that's not necessarily perfect because then you'd miss declarations in a foreach loop. BUT you could argue that you should have the declaration outside of the loop, and it's fine to miss it in this case.
Sorry I got kind of ramble-y there, but does that make sense? Not in a "just go do that" kind of way, I'm still thinking over exactly what should be done, just kind of talking it out.

I found a simple solution, just add a special case for AssignmentStatements inside ParenExpressions. On a related note, do we have an official name for this: $Var1 = ($Var2 = ls). People on the internet call it "variable squeezing" but I haven't seen any official documents with this name.

I found a simple solution, just add a special case for AssignmentStatements inside ParenExpressions. On a related note, do we have an official name for this: $Var1 = ($Var2 = ls). People on the internet call it "variable squeezing" but I haven't seen any official documents with this name.

So Paren can force it in scenarios where it doesn't typically happen, but it's implicit with $var1 = $var2 = ls. I'm inclined to say the best solution would be to only look at the closest assignment prior to itself if that makes sense

I've reverted the changes related to the assignmentstatementast type inference. I will (probably) look into fixing it in the future but it doesn't belong in this PR.


Update needed for SharePoint URLs

For SharePoint this page shows:
tenant.sharepoint.com, tenant-my.sharepoint.com
But JSON lists:
"urls": [
"*.sharepoint.com"
],
Page update needed.
Regards

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

ID: 66bd8666-3566-a901-b25b-eb6baba6264a
Version Independent ID: e9f6310f-2207-8c81-d31a-3d5a80beb26b
Content: Office 365 URLs and IP address ranges - Microsoft 365 Enterprise
Content Source: microsoft-365/enterprise/urls-and-ip-address-ranges.md
Service: o365-administration
GitHub Login: @JoeDavies-MSFT
Microsoft Alias: josephd

creating a PR instead


Write a R program to convert days to seconds

Description
Write a R program to convert days to seconds
1 day = 24 hours = 1440 minutes = 86400 seconds
Input  : 5
Output : 432000

How to contribute

Save the solution in convert_days_to_seconds.r file
Add convert_days_to_seconds.r file in convert-days-to-seconds folder

!assign


not showing any clients

i've rebuilt the miner and everything and still nothing has shown up

i am on a digital ocean vps (ubuntu)   (if you have any other suggestions that come "plug and play" please comment)
im not sure what is wrong tho

And you've entered http://urlorip/api/endpoint.php into the builder? Also, change it to https if you have a certificate, if not then make sure that you use http. And are you sure that you have port 80 or 443 (https) open? If you don't have a certificate then also make sure that your webserver isn't force redirecting to https.


<Datepicker> Theme docs missing keys

Using the Theme here:https://www.flowbite-react.com/docs/components/datepicker#theme
i managed to change the UI of the Calendar but i cannot control the Input itself

Hi there, I don't think it's in the documentation (that's a bug) but you can alter the theme for the <input> itself: https://github.com/themesberg/flowbite-react/blob/main/src/components/Datepicker/Datepicker.tsx#L31
<Datepicker theme={{
  root: {
    input: "bg-pink-800"
  }
}} />

You can also use className if you find it easier:
<Datepicker className="[&_input]:bg-pink-800" />

I'm updating your issue to point out that we can't see this root.input key in the Datepicker Theme docs. Not sure why that's happening.

className="[&_input]:bg-pink-800"

the
<Datepicker theme={{
  root: {
    input: "bg-pink-800"
  }
}} />

is not working but using the className is working

Neither of them is working for me:
const datepickerTheme = {
    root: {
      input: "bg-pink-800"
    },
  };

<Datepicker id="datepick" theme={datepickerTheme} className="[&_input]:bg-pink-800" />

The output:


Github actions tests failing

All tests run fine locally, but fail on github actions: on both windows and linux.
On linux the error is Error: Process completed with exit code 134. which an online search suggests might be a memory error while on Windows I get Windows fatal exception: access violation on the first call to Scene() which should be where the atlas data from brainglobe atlas API are first downloaded.
I will investigate if the problem is with downloading, saving and accessing the atlas data.

Yep, the errors are due to failures during atlas download since this test is failing.
Any ideas, @adamltyson ?

Isn't the default atlas "allen_mouse_25um"?

it is, I've changed it to see if downloading a more lightweight atlas would help but it didn't: I get the same error with both.
Tests pass locally btw, so it's not a huge problem though it'd be nice to have it fixed

Btw this doesn't seem to be a problem with just downloading things since in my personal website I have an action which downloads about 300MB of data using refy. So I'm not sure what's going on here!

I asked about the default atlas, because the test has assert atlas.atlas_name == "allen_mouse_100um". Won't this always fail unless you specify the atlas?

I set it to be allen_mouse_100um for the tests: https://github.com/brainglobe/brainrender/blob/6decb9ce3e7a2d49abe3ee99baea4f492cfd1845/tests/init.py#L5

Ah, then I've got no idea. The atlas seems to download fine on GitHub actions for brainreg etc.


Pod Security Policies deprecated since version Kubernetes 1.21

[Enter feedback here]
In the documentation you mention, pod security policies, PSP is being deprecated in kubernetes version 1.21, its worth to mention it is deprecated since 1.21 and provide an alternative solution.

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

ID: e0fcc83c-c911-4d82-98af-ed8880ca6c4a
Version Independent ID: 00462d96-9a30-8cef-5932-c99bab237706
Content: Concepts - Security in Azure Kubernetes Services (AKS) - Azure Kubernetes Service
Content Source: articles/aks/concepts-security.md
Service: container-service
GitHub Login: @miwithro
Microsoft Alias: miwithro

@abengtss-max
Thanks for your feedback! We will investigate and update as appropriate.

@abengtss-max
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly.

@miwithro
Can you please check and add your comments on this doc update request as applicable.

@abengtss-max, Thanks for the feedback! The articles have been updated with more details on the deprecation timeline as well as an alternative option, Pod Security Admission.
#please-close


I'm having a problem with the MultiPrime package. Specifically, when I use the DPrime function, I don't get any results. I'm not sure what's causing this issue

I installed MultiPrime from PyPI and used it to design primers for a set of genomes manually (not the pipeline). However, I didn't get any results and the program consumed a lot of memory. What could be causing this issue? Are there any steps I can take to improve the performance?

Please update MultiPrime to version 2.3.6 or higher. I suggest using the following command: pip install multiPrime==2.3.8

Thanks, it works.
I have noticed that primers designed for specific genes or CDS tend to perform better than those designed for the entire genome. When I design primers for the same accession set, I achieve satisfactory coverage (>99%) when targeting genes or CDS, or specific regions of interest, compared to designing primers for the entire genome (~70%). Is this a common observation or are there factors that could be affecting primer performance?

I appreciate your attention to detail. It's important to note that the quality of the multiple sequence alignment greatly influences primer performance. Aligning longer or more input sequences can lead to worse alignments, which can negatively impact the number of candidate primers and their performance. Our team is committed to continuously improving the performance of MultiPrime.

It's a very good program. Thank you so much!

I don't have any further questions at this time. The program has met my needs perfectly!. Thank you so much!

I don't have any further questions at this time. The program has met my needs perfectly!. Thank you so much!

you are welcome.


kubeedge-counter-demo:Kubeedge -pi-counter is always pending

I want to run 'kubeedge-counter-demo', but 'Kubeedge -pi-counter' is pending in the end

That means the pod is not scheduled. Did you edit the deviceInstance yaml file with your edge node name?


Add validation for directories

Adds:
Directory validation
Make sure that you've checked the boxes below before you submit PR:

[x] Tests exist or have been written that cover this particular change.

Change Details:

Added directory validation using mostly the same way it was done for files.
Added tests.
Added it to the documentation.

@go-playground/admins

Coverage remained the same at 100.0% when pulling 94ba218708d36519fb048077914e5223e5225d72 on agalal:add-dir-validator into 774d09c3863ffb2e137ebe4c39ba27648d208f80 on go-playground:v9.


Adding a license

Is it possible to add a license file for this package? My companies automated ingestion process requires a LICENSE.md file.
I could send a pull request, if you can let me know the type of license for this package.
Thanks for this great package!

Using MIT, already added!


BUG: support for Matlab 7.3 SET files

Describe your issue.
We are running into issues reading and writing SET files that were created with Matlab 7.3 (using the HDF5 format). We were wondering whether there was a plan to support more recent versions of Matlab and the HDF5 format for electrophysiological recordings.
Here is part of a traceback we get when running scipy on such files:
  File "/opt/loris/bin/mri/python/lib/utilities.py", line 177, in update_set_file_path_info
    dataset = scipy.io.loadmat(set_file)
  File "/opt/loris/bin/mri/python_virtualenvs/loris-mri-python/lib/python3.8/site-packages/scipy/io/matlab/_mio.py", line 225, in loadmat
    MR, _ = mat_reader_factory(f, **kwargs)
  File "/opt/loris/bin/mri/python_virtualenvs/loris-mri-python/lib/python3.8/site-packages/scipy/io/matlab/_mio.py", line 80, in mat_reader_factory
    raise NotImplementedError('Please use HDF reader for matlab v7.3 files')
NotImplementedError: Please use HDF reader for matlab v7.3 files

Could you kindly let us know if that is on your roadmap and if it is, when approximately do you expect to have the fix out?
Thank you very much in advance for your feedback. Best,
Reproducing Code Example
dataset = scipy.io.loadmat(set_file)

### Error message

```shell
File "/opt/loris/bin/mri/python/lib/utilities.py", line 177, in update_set_file_path_info
    dataset = scipy.io.loadmat(set_file)
  File "/opt/loris/bin/mri/python_virtualenvs/loris-mri-python/lib/python3.8/site-packages/scipy/io/matlab/_mio.py", line 225, in loadmat
    MR, _ = mat_reader_factory(f, **kwargs)
  File "/opt/loris/bin/mri/python_virtualenvs/loris-mri-python/lib/python3.8/site-packages/scipy/io/matlab/_mio.py", line 80, in mat_reader_factory
    raise NotImplementedError('Please use HDF reader for matlab v7.3 files')
NotImplementedError: Please use HDF reader for matlab v7.3 files

### SciPy/NumPy/Python version information

1.9.3

closing as a duplicate of #11351
In the mean time maybe try http://www.h5py.org/ or https://github.com/skjerns/mat7.3


Reorganize ITensorNetworks and Optimizations modules

Looks good! I guess we'll want to try to test the rrules with ChainRulesTestUtils but we can do that later, for now it is enough to test it through the optimization tests.


Timing Support in VTT and SRT Writer

Some of the timing tests in IMSC 1 test suite do not retain correct timing when they are serialized to VTT and SRT.
Example: MediaParTiming001.ttml
MediaParTiming001.ttml
<?xml version="1.0" encoding="UTF-8"?>

<tt:tt xmlns:tt="http://www.w3.org/ns/ttml" xmlns:ttp="http://www.w3.org/ns/ttml#parameter" xmlns="http://www.w3.org/ns/ttml" xmlns:tts="http://www.w3.org/ns/ttml#styling" xmlns:ttm="http://www.w3.org/ns/ttml#metadata" ttp:profile="http://www.w3.org/ns/ttml/profile/imsc1/text" ttp:frameRate="24" xml:lang="en">

    <metadata>
      <ttm:title>Timing Test - Par - 001</ttm:title>
      <ttm:desc>Testing multiple elements in par</ttm:desc>
      <ttm:copyright>Copyright (C) 2008 W3C (MIT, ERCIM, Keio).</ttm:copyright>
    </metadata>

This text must appear at 10 seconds
and be remain visible to 20 seconds,

This text must appear at 5 seconds
and be remain visible to 15 seconds,

</tt:tt>

VTT Output
WEBVTT

1
00:00:05.000 --> 00:00:10.000
This text must appear at 5 seconds
and be remain visible to 15 seconds,

2
00:00:10.000 --> 00:00:15.000
This text must appear at 10 seconds
and be remain visible to 20 seconds,

This text must appear at 5 seconds
and be remain visible to 15 seconds,

3
00:00:15.000 --> 00:00:20.000
This text must appear at 10 seconds
and be remain visible to 20 seconds,

SRT Output
1
00:00:05,000 --> 00:00:10,000
This text must appear at 5 seconds
and be remain visible to 15 seconds,

2
00:00:10,000 --> 00:00:15,000
This text must appear at 10 seconds
and be remain visible to 20 seconds,

This text must appear at 5 seconds
and be remain visible to 15 seconds,

3
00:00:15,000 --> 00:00:20,000
This text must appear at 10 seconds
and be remain visible to 20 seconds,

@xchange11 What would you expect the output to be?
The text "This text must appear at 10 seconds and be remain visible to 20 seconds," remains visible from 00:00:10.000 to 00:00:20,000, albeit two different subtitles.
Similarly, the text "This text must appear at 5 seconds and be remain visible to 15 seconds," does remain visible from 00:00:05.000 to 00:00:15,000, albeit two different subtitles.

@xchange11 What would you expect the output to be?
The text "This text must appear at 10 seconds and be remain visible to 20 seconds," remains visible from 00:00:10.000 to 00:00:20,000, albeit two different subtitles.
Similarly, the text "This text must appear at 5 seconds and be remain visible to 15 seconds," does remain visible from 00:00:05.000 to 00:00:15,000, albeit two different subtitles.

That's right! Thanks! I overlooked that the subtitles have been generated created analogously to ISD's. I will check on the other timing examples.

@palemieux It would be great if you can also check on the following. From my view the SRT and VTT timing are not correct. The first subtitle should disappear at 10s but stays on screen until 15s.
Example MediaSeqTiming001
MediaSeqTiming001.ttml

      <metadata>
        <ttm:desc>default duration for seq in this context is indefinite</ttm:desc>
      </metadata>

This text must appear at 5 seconds
and be remain visible to 10 seconds,

This text must appear at 15 seconds
and be remain visible to 20 seconds,

VTT Output
WEBVTT

1
00:00:05.000 --> 00:00:15.000
This text must appear at 5 seconds
and be remain visible to 10 seconds,

2
00:00:15.000 --> 00:00:20.000
This text must appear at 15 seconds
and be remain visible to 20 seconds,

SRT Output
1
00:00:05,000 --> 00:00:15,000
This text must appear at 5 seconds
and be remain visible to 10 seconds,

2
00:00:15,000 --> 00:00:20,000
This text must appear at 15 seconds
and be remain visible to 20 seconds,

@xchange11 There is a bug re: handling of empty ISDs. Can you review the following PR? If so, we will port it to the VTT writer.
https://github.com/sandflow/ttconv/pull/331


docker-compose postgres error - no pg_hba.conf entry for host

Hello, thank you for great custom analytics tool. I wanted to boot it up using docker-compose, everything starts up just fine but when I try to login to default user account (admin/umami) I get following error
><EMAIL_ADDRESS>start /app
> next start

ready - started server on http://localhost:3000
PrismaClientUnknownRequestError: Error in connector: Error querying the database: db error: FATAL: no pg_hba.conf entry for host "<IP_ADDRESS>", user "umami", database "umami", SSL on
    at PrismaClientFetcher.request (/app/node_modules/@prisma/client/runtime/index.js:1:211253)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

I tried creating custom pg_hba.conf with host all all <IP_ADDRESS>/0 trust and attached it to database container
db:
    volumes:
      ...
      - ./pg_hba.conf:/var/lib/postgresql/data/pg_hba.conf

but still no luck. I checked inside a running container and file is attached correctly.

@spadgeaki Can you post the logs of the Postgres container please?

This is combined log from docker-compose
Attaching to umami_umami_1, umami_db_1
umami_1  |
umami_1  | ><EMAIL_ADDRESS>start /app
umami_1  | > next start
umami_1  |
umami_1  | ready - started server on http://localhost:3000
umami_1  | PrismaClientUnknownRequestError: Error in connector: Error querying the database: db error: FATAL: no pg_hba.conf entry for host "<IP_ADDRESS>", user "umami", database "umami", SSL on
umami_1  |     at PrismaClientFetcher.request (/app/node_modules/@prisma/client/runtime/index.js:1:211253)
umami_1  |     at processTicksAndRejections (internal/process/task_queues.js:97:5)
db_1     |
db_1     | PostgreSQL Database directory appears to contain a database; Skipping initialization
db_1     |
db_1     | 2020-08-24 09:20:02.281 UTC [1] LOG:  starting PostgreSQL 12.4 (Debian 12.4-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
db_1     | 2020-08-24 09:20:02.281 UTC [1] LOG:  listening on IPv4 address "<IP_ADDRESS>", port 5432
db_1     | 2020-08-24 09:20:02.282 UTC [1] LOG:  listening on IPv6 address "::", port 5432
db_1     | 2020-08-24 09:20:02.399 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
db_1     | 2020-08-24 09:20:02.635 UTC [25] LOG:  database system was shut down at 2020-08-24 09:19:42 UTC
db_1     | 2020-08-24 09:20:02.726 UTC [1] LOG:  database system is ready to accept connections

This is docker-compose.yml. I only tried adding that one line with config.
version: '3'
services:
  umami:
    build: .
    restart: unless-stopped
    ports:
      - "3111:3000"
    environment:
      DATABASE_URL: postgresql://umami:umami@db:5432/umami
      DATABASE_TYPE: postgresql
      HASH_SALT: fYj5vPe53mQ1z0Y94f$ghWElf22t9LoG528
    depends_on:
      - db
  db:
    image: postgres:latest
    restart: unless-stopped
    environment:
      POSTGRES_DB: umami
      POSTGRES_USER: umami
      POSTGRES_PASSWORD: umami
    volumes:
      - ./sql/schema.postgresql.sql:/docker-entrypoint-initdb.d/schema.postgresql.sql:ro
      - umami-db-data:/var/lib/postgresql/data
      - ./pg_hba.conf:/var/lib/postgresql/data/pg_hba.conf
volumes:
  umami-db-data:

Based on your logs it looks like the database is still starting up when you attempt to login. You shouldn't need a custom pg_hba.conf.
Can blow away the running containers and then try:
docker-compose up -d db
docker-compose logs -f

Once you see this log from Postgres: database system is ready to accept connections, you can run:
docker-compose up umami

That should hopefully work 🤞🏻

Unfortunately result is still the same. I think that docker-compose.yml is handling the correct order of starting up containers with:
depends_on:
      - db

If I try running it locally its working fine. I just doesn't work on our VPS. I will try reaching to our provider.

I think that docker-compose.yml is handling the correct order of starting up containers with (...)

It will handle the order for starting them, but doesn't provide a mechanism for container readiness. Even if the Postgres container starts up before Umami, that doesn't mean it's ready to accept connections.

It just doesn't work on our VPS. I will try reaching to our provider.

Which provider are you using? Which distribution of Linux? If you let me know, I can have a go replicating your issue 👍🏻

Closing for lack of follow up.

Hi to give closure to this issue - I found out that there was some local network firewall/config setup with really limited open ports. Thats why they didn't see each other. I just ran it on another server.


Documentation: mention prokaryotic analysis settings

Description of feature
First of all, we are mostly still running version 1.4.2 at our facility (I know, ancient; will be changed soon).
The default settings for 1.4.2 params.fc_count_type is exon. This is perfect for eukaryotes I assume, but not for most prokaryote genomes, because those are typically not spliced and (at least NCBI gff, in my experience) usually rather uses CDS or transcript. Meaning, running the pipeline with standard settings on prokaryotes will only output very few features (those few exon), in a recent case 43 of ~2300 transcripts.
The solution could be to add a small section in the documentation and/or do a sanity check counting the features compared to the total line count in the gtf.
Having said that, I am not sure how newer versions of the pipeline would handle this case. I assume that -featurecounts_feature_type has a similar function.
Additionally, --featurecounts_group_type usually does not appear in prokaryotic genomes and crashes the pipeline (at least 1.4.2), it would be nice if this could be handled more gracefully (again, maybe improved in newer versions).

Thanks @d4straub ! Yes, I agree we should improve and extend the documentation to include some description of how to tweak the parameters given a selection of common annotations. Maybe something we can tackle at the Hackathon? I haven't used prokaryotic annotations personally in ages but if you are able to get the latest version of the pipeline running with these parameters and have some recommendations then that would be great.
In recent versions of the pipeline featureCounts is just used to generate the biotype QC as mentioned in the docs and isn't used for any formal quantification.

Hello @drpatelh, I mainly work with prokaryotes and struggled with similar problems as Daniel but I could actually solve them in some cases and executed the newest version of rnaseq yesterday that worked rather nicely.
As Daniel mentioned exon is not the right feature for the --featurecounts_feature_type but transcript.
Maybe we can work on the documentation.

Because I havent used the newer (3.x) versions of the pipeline, most of my experience might be outdated. Why not go ahead with your experience with the current version and write it down? If over time someone has more information to add, than this can be always amended. Once I use a recent pipeline version I'll have a look, but it might take some time until I have my next bacterial RNA-Seq project going.

Of course I can do this but where should I actual write it? I'm familiar with the execution and documentations but not with the code or where to add my suggestions. Can you help me with that?

I thought somewhere around https://nf-co.re/rnaseq/usage#running-the-pipeline might be a good place, or probably below https://nf-co.re/rnaseq/usage#full-samplesheet a new paragraph?
That would mean modifying https://github.com/nf-core/rnaseq/blob/dev/docs/usage.md (dev branch, as linked here).
If you lack some basics, you could have a look at #bytesize talks, e.g. https://nf-co.re/events/2021/bytesize-4-github-contribution-basics

Thanks, that helps.

Yep, a new section in the usage docs would be fab. Maybe we can add a section after this one specifically for Bacterial genomes? Be great if you can post links to an example genome and annotation too so we can see exactly what we need to change and why.

@drpatelh Thought the same thing and added the pull request a minute ago. I can add an example genome and annotation from my test run from yesterday.

 Added paragraph about the usage of rnaseq with prokaryotic data based on Issue #765 #790

Added in https://github.com/nf-core/rnaseq/pull/790 https://github.com/nf-core/rnaseq/pull/820


AttributeError on paml import

This is inconsistent, but has shown up enough on different systems that it's worth reporting. After installation via git clone ... and pip3 install ., importing paml inside of a python environment with import paml produces this error:
AttributeError                            Traceback (most recent call last)
Input In [2], in <module>
----> 1 import paml

File /opt/conda/lib/python3.9/site-packages/paml/__init__.py:11, in <module>
      8 from sbol_factory import SBOLFactory, UMLFactory
      9 import sbol3
---> 11 import uml # Note: looks unused, but is used in SBOLFactory
     13 # Load the ontology and create a Python module called paml_submodule
     14 SBOLFactory('paml_submodule',
     15             posixpath.join(os.path.dirname(os.path.realpath(__file__)),
     16             'paml.ttl'),
     17             'http://bioprotocols.org/paml#')

File /opt/conda/lib/python3.9/site-packages/uml/__init__.py:9, in <module>
      6 import sbol3
      8 # Load ontology and create uml submodule
----> 9 SBOLFactory('uml_submodule',
     10             posixpath.join(os.path.dirname(os.path.realpath(__file__)),
     11             'uml.ttl'),
     12             'http://bioprotocols.org/uml#')
     14 # Import submodule symbols into top-level uml module
     15 from uml_submodule import *

File /opt/conda/lib/python3.9/site-packages/sbol_factory/sbol_factory.py:89, in SBOLFactory.__new__(cls, module_name, ontology_path, ontology_namespace, verbose)
     87 SBOLFactory.query = Query(ontology_path)
     88 symbol_table = {}
---> 89 for class_uri in SBOLFactory.query.query_classes():
     90     symbol_table = SBOLFactory.generate(class_uri, symbol_table, ontology_namespace)
     92 spec = importlib.util.spec_from_loader(
     93     module_name,
     94     OntologyLoader(symbol_table)
     95 )

File /opt/conda/lib/python3.9/site-packages/sbol_factory/query.py:59, in Query.query_classes(self)
     51 def query_classes(self):
     52     query = '''
     53         SELECT distinct ?cls
     54         WHERE
   (...)
     57         }}
     58         '''.format(str(Query.OPIL))
---> 59     response = self.graph.query(query)
     60     sbol_types = [str(row[0]) for row in response]
     61     return sbol_types

File /opt/conda/lib/python3.9/site-packages/rdflib/graph.py:1127, in Graph.query(self, query_object, processor, result, initNs, initBindings, use_store_provided, **kwargs)
   1124         pass  # store has no own implementation
   1126 if not isinstance(result, query.Result):
-> 1127     result = plugin.get(result, query.Result)
   1128 if not isinstance(processor, query.Processor):
   1129     processor = plugin.get(processor, query.Processor)(self)

File /opt/conda/lib/python3.9/site-packages/rdflib/plugin.py:107, in get(name, kind)
    104 except KeyError:
    105     raise PluginException(
    106         "No plugin registered for (%s, %s)" % (name, kind))
--> 107 return p.getClass()

File /opt/conda/lib/python3.9/site-packages/rdflib/plugin.py:69, in Plugin.getClass(self)
     67 def getClass(self):
     68     if self._class is None:
---> 69         module = __import__(self.module_path, globals(), locals(), [""])
     70         self._class = getattr(module, self.class_name)
     71     return self._class

File /opt/conda/lib/python3.9/site-packages/rdflib/plugins/sparql/__init__.py:33, in <module>
     23 """
     24 Custom evaluation functions
     25
     26 These must be functions taking (ctx, part) and raise
     27 NotImplementedError if they cannot handle a certain part
     28 """
     31 PLUGIN_ENTRY_POINT = 'rdf.plugins.sparqleval'
---> 33 from . import parser
     34 from . import operators
     35 from . import parserutils

File /opt/conda/lib/python3.9/site-packages/rdflib/plugins/sparql/parser.py:184, in <module>
    179 PN_PREFIX = Regex(u'[%s](?:[%s\\.]*[%s])?' % (PN_CHARS_BASE_re,
    180                                               PN_CHARS_re, PN_CHARS_re), flags=re.U)
    182 # [140] PNAME_NS ::= PN_PREFIX? ':'
    183 PNAME_NS = Optional(
--> 184     Param('prefix', PN_PREFIX)) + Suppress(':').leaveWhitespace()
    186 # [173] PN_LOCAL_ESC ::= '\' ( '_' | '~' | '.' | '-' | '!' | '$' | '&' | "'" | '(' | ')' | '*' | '+' | ',' | ';' | '=' | '/' | '?' | '#' | '@' | '%' )
    188 PN_LOCAL_ESC_re = '\\\\[_~\\.\\-!$&"\'()*+,;=/?#@%]'

File /opt/conda/lib/python3.9/site-packages/rdflib/plugins/sparql/parserutils.py:114, in Param.__init__(self, name, expr, isList)
    113 def __init__(self, name, expr, isList=False):
--> 114     self.name = name
    115     self.isList = isList
    116     TokenConverter.__init__(self, expr)

AttributeError: can't set attribute

The error appears related to the rdflib import, and I see there are already outstanding issues ( #78 ) and PRs ( #79, #82 ). Perhaps this is related?
Regardless, most of my team initially gets this error once they've installed paml, but are sometimes able to fix it by trying a seemingly-random collection of installs and uninstalls of various packages inside and outside of virtualenvs, conda environments, and even Docker containers. Two anecdotes:

One student on a mac reported that they stopped getting the error after they installed Anaconda
I was able to get the demo running inside of a Docker container running on my local machine, but when I deploy that container to a Heroku instance, I get the error above. Which is surprising, because running inside of a contained should produce a consistent environment

The desired behavior is, of course, that paml imports with no errors on all machines.

I suspect it's a red herring, but if it's useful, here is the Dockerfile I used:
# syntax=docker/dockerfile:1
FROM jupyter/minimal-notebook

USER root

RUN apt-get update && \
	apt-get install -y gcc graphviz

# set environment variables
ENV APP_HOME=/usr/src/app
ENV PYTHONDONOTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1

# set working directory
RUN mkdir -p $APP_HOME
WORKDIR $APP_HOME

# add and install requirements
COPY . .
RUN pip3 install .

# set up jupyter to run on port assigned to dyno
CMD jupyter lab --config=./jupyter_config

The file references a jupyter_config.py file, which just makes a few config changes to allow it to be deployed on the cloud. It contains the following:
import os
c = get_config()
# Kernel config
c.IPKernelApp.pylab = 'inline'  # if you want plotting support always in your notebook
# Notebook config
c.NotebookApp.notebook_dir = 'notebooks'
c.NotebookApp.allow_origin = u'IP ADDRESS' # replaced with public ip address
c.NotebookApp.ip = '*'
c.NotebookApp.allow_remote_access = True
c.NotebookApp.open_browser = False
# ipython -c "from notebook.auth import passwd; passwd()"
c.NotebookApp.password = u'PASSWORD' #replaced with hashed password
c.NotebookApp.port = int(os.environ.get("PORT", 8888))
c.NotebookApp.allow_root = True
c.NotebookApp.allow_password_change = True
c.ConfigurableHTTPProxy.command = ['configurable-http-proxy', '--redirect-port', '80']

Both files are in the top-level paml directory. I run docker build -t paml . to build the image and docker run -e PORT=8888 -p 8888:8888 paml to run it.

I'm pretty sure this will be addressed by fixing #78 : rdflib has been a bit of a moving target thanks to their recent major version change, and once we make the transition from 5 to 6 I suspect it will simplify.
@bbartley : I've marked #78 as critical

@tsdobbs I've upgraded PAML to use rdflib 6 -- please see if this update resolves your installation errors and please let me know if it doesn't!

Thanks @bbartley. It is importing now, at least on the Heroku dyno I tested it on.
It looks now like paml_check isn't importing though. Possibly related?
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Input In [19], in <module>
      9 from IPython.display import Markdown
     12 from paml.execution_engine import ExecutionEngine
---> 13 from paml_check.paml_check import check_doc
     14 from paml_convert.markdown.markdown_specialization import MarkdownSpecialization
     16 get_ipython().run_line_magic('load_ext', 'autoreload')

ModuleNotFoundError: No module named 'paml_check'

I propose a good metric for testing if all imports are working is if everything imports properly on the Google CoLab Notebook. If it works there, then at least we know that it can work on a fresh machine with minimal other dependencies.

If we were able to get PAML to run on anaconda, that might be a Good Thing, since
conda has a Z3 package, which means that installing paml-check will be easier.
I'm afraid I don't really understand conda packaging -- I just have had to use conda on some projects for data analysis because it makes installing the mkl libraries not impossible...

@rpgoldman I've moved the conda question to a new issue, since we need to be operational outside of conda as well.

@tsdobbs Is there anything remaining to be done to resolve this issue, or can it be closed?


Development/web serverparameters

@pwielders, sure I will check the changes against meta-wpe OE. Need a bumpups changes also for this. So will take care as part of bumpups


Don't gzip small responses

Describe the bug
gzip is means to make a response smaller. However, there is a small overhead for gzip itself making it unsuitable for very small responses.
To Reproduce

Which Couper version? 0.8
Provide your configuration file *.hcl. Remove sensitive data.

server "gzip" {
 endpoint "/" {
  response {
    body =  ""
  }
 }
}

Provide a curl call for reproduction

$ curl --compressed -i http://localhost:8080/
HTTP/1.1 200 OK
Content-Encoding: gzip
Content-Type: text/plain
Server: couper.io
Vary: Accept-Encoding
Date: Wed, 07 Apr 2021 15:59:25 GMT
Content-Length: 23

Couper sends 23 bytes of body (plus 22 bytes for the  Content-Encoding header).
Expected behavior
Very small responses like that should not be gzip'ed, regardless of the client's accept-encoding header.
We should use a minimal body length before choosing gzip. 60 bytes could be a good start. If the response to be send is shorter, don't gzip, don't set Content-Encoding: gzip and don't add accept-encoding to the Vary list.

Done with #256


RPS not increasing

Prerequisites

[X] I am using the latest version of Locust
[X] I am reporting a bug, not asking a question

Description
My locust test
from locust import FastHttpUser, task, constant_throughput

class TemplateRenderUserConstThroughput_02_1(FastHttpUser):
    wait_time = constant_throughput(0.1)
    @task
    def test_template_render_endpoint(self):
        self.client.get('abc')

Locust configuration-
Peak concurrency - 1000
spawn rate - 100
run time - 20m

Issue -
Now since I am using wait_time = constant_throughput(0.1), according to documentation this should ensure that locust is sending 100 requests/seconds for 20m.
At. 0th minute i have 50 pods running with RPS being shown as 30, within 5 minutes my application scales up to 300 pods but still the RPS reported by locust is 30. At 20th minutes as well the RPS is around 30.
Now after the test stops when I restart the test again before my application scales down, RPS that is shown by locust 150.
Expectation -
RPS should increase as the application scales ( in my scenario it should go from 30 -> 150.
)
Command line
locust -f locustfiles --class-picker
Locustfile contents
from locust import FastHttpUser, task, constant_throughput

class TemplateRenderUserConstThroughput_02_1(FastHttpUser):
    wait_time = constant_throughput(0.1)
    @task
    def test_template_render_endpoint(self):
        self.client.get('abc')

Python version
3.9
Locust version
2.18.1
Operating system
linux
Grphs
(This is another test that i did starting from 100 pods rather than 30, and this is at the time when the application scaled from 100 -> 300 pods. In this scenario the rps should also increase from 90 -> 150 )

as you can see that when the application scaled up response time got a sudden drop but the rps is still the same

Perhaps there are a lot of requests just never getting a response at all? Maybe try adjusting the connection timeout.

I added what you suggested and my new test looks like
from locust import FastHttpUser, task, constant_throughput
class TemplateRenderUserConstThroughput_02_1(FastHttpUser):
    wait_time = constant_throughput(0.1)

    connection_timeout = 10.0
    network_timtout = 10.9

    @task
    def test_template_render_endpoint(self):
        self.client.get('abc')

but the issue still persists

Check locusts logs. And can I see your screenshots without so much cropping? What service are you calling? Perhaps they do some kind of throttling?

Also, check https://github.com/locustio/locust/wiki/FAQ#increase-my-request-raterps


implement date sort and test

IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).
Fixes #547
Description
Clear and concise code change description.
Alternative(s) considered
Have you considered any alternatives? And if so, why have you chosen the approach in this PR?
Type
Choose one:  Feature
Screenshots (if applicable)
Checklist

[x] I have read and acknowledged the Code of conduct
[x] I have read How to Contribute
[x] I have read the Developer's guide
[x] I have signed the Google Individual CLA, or I am covered by my company's Corporate CLA
[ ] I have discussed my proposed solution with code owners in the linked issue(s) and we have agreed upon the general approach
[x] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the style guide of this project
[x] I have run ./gradlew check and ./gradlew connectedCheck to test my changes locally
[x] I have built and run the reference app(s) to verify my change fixes the issue and/or does not break the reference app(s)

Will add few more tests as discussed with @epicadk

@maanuanubhav999 , could you please assign this PR to your mentor for the first level review?

@Tarun-Bhardwaj hi, it is not related to GSoC.  Do you still want me to get a review from my mentor. thanks.

@Tarun-Bhardwaj hi, it is not related to GSoC. Do you still want me to get a review from my mentor. thanks.

Yes, that would help. Thanks!

All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter.
We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only @googlebot I consent. in this pull request.
Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the cla label to yes (if enabled on your project).
ℹ Googlers: Go here for more info.

@googlebot I consent

@googlebot I consent.

@maanuanubhav999 as discussed on slack this should solve it :). Can you please solve the merge conflicts?

Codecov Report

Merging #584 (7b86637) into master (844f397) will increase coverage by 0.12%.
The diff coverage is 88.88%.

:exclamation: Current head 7b86637 differs from pull request most recent head 420f584. Consider uploading reports for the commit 420f584 to get more accurate results

@@             Coverage Diff              @@
##             master     #584      +/-   ##
============================================
+ Coverage     53.89%   54.01%   +0.12%
+ Complexity      200      196       -4
============================================
  Files            48       48
  Lines          1013     1020       +7
  Branches        141      143       +2
============================================
+ Hits            546      551       +5
  Misses          383      383
- Partials         84       86       +2

Impacted Files
Coverage Δ

.../java/com/google/android/fhir/search/MoreSearch.kt
72.12% <85.71%> (+0.63%)
:arrow_up:

...n/java/com/google/android/fhir/search/SearchDsl.kt
68.11% <100.00%> (+0.95%)
:arrow_up:

...va/com/google/android/fhir/db/impl/DatabaseImpl.kt
37.20% <0.00%> (-4.66%)
:arrow_down:

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 844f397...420f584. Read the comment docs.


AtomValueList disabled domain reload compatibility

Fixes: #419 Fixes: #418
Minor fix, for an inaccuracy of #403

Ok, #421 will be changed to handle dead-references correctly - also for ValueLists.
I made the if statement more compact


#3203 render tex errors in red instead of throwing.

still throwing with \ though. In my opinion it's understandable.

needs to apply this to TeX in text cells, not just TeX cells.  See the text and formatting tutorial, you can put TeX in a text cell inside of $ characters.


Running the tests is slow in the US

@constantinpape I am trying to run the tests from San Francisco and it is very slow. @axtimwalde reported the same experience from within Janelia. I guess this is due to fetching the data from Europe? Do you have an idea what we could do to improve this?

-DskipTests 😉

mvn clean install takes 2 minutes for me here (with tests taking most of that time). Not sure if you count this as slow or fast. In any case, if you want to speed this up you could ask Josep if there's any setting on the EMBL S3 that would improve the data access speed in the us.
(But the far simpler solution is indeed -DskipTests and to rely on the CI to run the tests ;) )


Upgrade terraform-provider-vsphere to v2.4.0

This PR was generated via $ upgrade-provider pulumi/pulumi-vsphere.

Upgrading terraform-provider-vsphere from 2.3.1  to 2.4.0.
Fixes #265
Upgrading pulumi-terraform-bridge from v3.42.1 to v3.47.3.

Acceptance tests being skipped:
🚧 TestAccMinimal (0s)
      examples_test.go:28: Skipping: VSPHERE_SERVER is not set

That's be a blocker. Could you resolve please? Some ci-mgmt and password manager digging.

Will track enabling acceptance tests status here.


[FEATURE REQUEST] enum tables

Coming from a Hasura background, I'm used to being able to define enum tables.
An enum table is a table whose rows are understood to represent values in an enum type. Example:

I have a table color with three rows having primary key "red", "green" and "blue".
I have a table teacup whose row color has a foreign key to the table color.
I set an "enum table" flag for the color table somewhere (maybe in kysely-codegen config).

Then I'd like Kysely to recognize that db.selectFrom("teacup").select("color") has type ("red" | "green" | "blue")[].
This is the single feature I find myself missing from Hasura.

Kysely doesn't detect anything. It only operates on the types you provide it. Just provide the correct type for that column in your table interface and it already works. If you're using some type generator, note that they are all third party libraries and we don't maintain or develop them. We have no control over their features.


Change webpack test suite to run all tests and produce a compatibility report

What problem does this feature solve?
The webpack test suite we ported from the webpack repo contains all the tests that we aim to run. There is also https://rspack-cov.vercel.app/ which shows our current conformance.
Our current strategy for passing these tests is to actively turn these tests on. What we actually want is to run the whole suite and record all the passed and failed tests in a conformance report and have them stored within the repo. This will give us a diff for passing and failing tests for each PR.
This has the advantage of knowing our actual conformance, and also catch regressions where we pass or fail certain cases unknowingly.
I have success of doing this in the oxc project, e.g. https://github.com/oxc-project/oxc/blob/main/tasks/transform_conformance/babel.snap.md https://github.com/oxc-project/oxc/blob/main/tasks/prettier_conformance/prettier.snap.md
Current problems I see:

We need to commit the snapshot into the repo, which is not dx friendly
Need to spend more work if we don't require a snapshot

good summary!

Bump. I'm still cleaning up the webpack tests.

Update: need to have all the panics fixed before doing this.


Added lazy loading

Related Issue

Closes: #496
Hye @AKD-01 I have added lazy loading to the website to improve the website performance. Please review my pr and merge it. Thank you!
Checklist:

[x] My code adheres to the established style guidelines of this project.
[x] I have conducted a self-review of my code.
[ ] I have included comments in areas that may be difficult to understand.
[ ] I have made corresponding updates to the project documentation.
[x] My changes have not introduced any new warnings.

Screenshots

Original
Updated

Please provide any necessary screenshots to illustrate the changes made.

@AKD-01 Please review my pr and merge it. Thank you!

After applying these changes the app isn't working as it should have, it have a dark background, about page ui has become terrible i have to revert it for the same. You may check the view deployment section.

 This may be the reason behind it. No problem you can revert it and remove the tags if you want. Thank you!


Create .ojsnb notebooks to run them with new OJS kernel in VSCode IDE

Using updated Observable JS extension created by @GordonSmith:
https://marketplace.visualstudio.com/items?itemName=GordonSmith.observable-js

Custom deck.gl map rendered in VSCode notebook view with new OJS Notebook kernel: