Laravel will be supported?

Hi,
It seems Laravel support is nice, Not much changing codes I guess and I hope.

I've deployed a VPS for a customer wishing to run a Laravel app. I just created the site with --mysql and made one manual adjustment (ee site edit) in order to change the website root from htdoc to htdocs/public.
To me, it seems there is no need to change how EasyEngine works just because of Laravel.

I guess idea is to remove need to make that once change required. :-)
Anything that cannot be accomplished in a single command is not "easy". ;-)
If you make any other changes/tweak, please report here.

For Laravel that's all that was needed.
Perhaps you could:
ee site create example.com --laravel

Then EE would download latest version of Laravel Framework, unpack it and create the vhost with the correct root location.

@janiosarmento @rahul286
Thanks for your back and best job,before EE, I try to use docker to my development environment,just now I really want to try EE in my poor computer with Ubuntu, so slowly as my computer is，I usually used Homestead.box by vagrant to develop my laravel things.
There is a question，which way is best on ee,Operation environment or Development environment?
Is it can used for some php service on about 1000 IP/day?
Certainly,I aim for develop but not make LEMP etc.
The end, I'am glad to meet EE in this Internet Times.

@rahul286, there are additional steps on configuring Laravel that could be accomplished by EE (setting up database and email per project).
Unfortunately I can't tell what are the necessary changes, since my customer did all of them as soon as I configured Nginx to serve his app. :( Perhaps @wedojava can enlighten us on this subject.

+1 any updates/news on this?

Just managed to get Laravel going on EasyEngine v3.7.4.
Steps:

sudo apt-get install php-cli php-mbstring php7.0-mbstring php-xml php7.0-xml
(keep existing config)

Install composer https://www.digitalocean.com/community/tutorials/how-to-install-and-use-composer-on-ubuntu-16-04

sudo ee site create example.com --mysql

sudo rm -rf htdocs
Yes, delete htdocs folder of /var/www/example.com

sudo composer create-project --prefer-dist laravel/laravel htdocs
From /var/www/example.com

sudo chown -R www-data:www-data htdocs

sudo ee site edit example.com -> change root folder to /htdocs/public

Laravel as a site type might be introduced in EasyEngine v4. We can discuss that after v4 is released.
Thanks for the comments. Closing this issue for now, feel free to continue the discussion.

Setting up a basic Laravel site is already possible, but what I miss is setting up with a container for Redis queues and or the option to set up a Laravel Horizon container.


Identify community members that usually update specific packages.

I like the idea of having designated community members that usually update specific packages. Some people here know a lot about how certain apps install (Visual Studio and Python are two example off the top of my head) and it would be nice to have that written down somewhere. Not to pin responsibility on anyone, of course (anyone can open a PR for anything they want presuming the ISV hasn't claimed the ID), but having a designated .package or .maintainer file that says "@jedieaston knows about this, mention them in issues" wouldn't be a bad idea.
Chocolatey has something similar, see the "Package Maintainers" section to the left of this page.
Originally posted by @jedieaston in https://github.com/microsoft/winget-pkgs/issues/29258#issuecomment-933615046

I'm not sure how we would go about this, but it is interesting. Maybe we could mention previous authors for manifests/packages when a PR is created.

I love this idea. I also think it would be great to include it for some of the other files in the repository such as the files in /Tools or even the pipeline definitions.
I think mentions would be good, but this could also be used for package-level moderation, where if a user is a maintainer of a package, they are able to approve requests for that package only.

And something like bot Mentioning of mod if someone opens an issue regarding that package?

I think new people should be flagged for manual review, with existing people having less scrutiny,
I see the fact that anyone can issue a PR to be quite a security issue, especially if this starts getting the use that the community wants.
There are numerous was to subvert an installer URL that looks plausible on a cursory glance. Having any new contributor require greater scrutiny would be 1 step to providing some security

I think new people should be flagged for manual review, with existing people having less scrutiny,
I see the fact that anyone can issue a PR to be quite a security issue, especially if this starts getting the use that the community wants.
There are numerous was to subvert an installer URL that looks plausible on a cursory glance. Having any new contributor require greater scrutiny would be 1 step to providing some security

All urls are scanned with multiple antivirus providers, and every package hash is also validated. On top of that, every PR has to be approved by one of the community moderators after they test the package on one (or more) virtual machines to ensure that the package is exactly what the submitter is claiming it to be. So the actual risk of a malicious application making it into the repository is actually very low


[Auto-generated] Check & update dependencies (pyproject.toml)

Update dependencies (pyproject.toml)
Automatically created PR based on the 'CI - Check pyproject.toml dependencies' workflow in SINTEF/ci-cd.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (545889e) 82.25% compared to head (1cf8041) 82.17%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@                    Coverage Diff                    @@
##           ci/dependabot-updates     #382      +/-   ##
=========================================================
- Coverage                  82.25%   82.17%   -0.08%
=========================================================
  Files                         44       44
  Lines                       1257     1257
=========================================================
- Hits                        1034     1033       -1
- Misses                       223      224       +1

Flag
Coverage Δ

linux
82.17% <ø> (ø)

linux-strategies
84.50% <ø> (ø)

windows
?

windows-strategies
?

Flags with carried forward coverage won't be shown. Click here to find out more.
see 1 file with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Shared lint config amongst projects

Hey guys,
I tried finding an answer to this question but I couldn't so apologies if this is a duplicate issue.
I've got a few different repos and I'd like them all to share the same Config file, but I'd also like to avoid duplicating the config file for maintainability sake.
My plan was:

Create a repo dedicated for .sass-lint.yml
Publish package to NPM
Install package (sass lint config)
Point Sass Lint to this config

Steps 1–3 have worked out fine 👌
The issue I am having is with step 4.
I've tried a few different ways, but essentially, this is what I am trying:
Script in package.json
{
  "scripts": {
    "sass-lint": "sass-lint -c ./.sass-lint.yml './src/**/*.s+(a|c)ss' --verbose --no-exit"
  }
}

Local .sass-lint.yml in root
options:
  config-file<EMAIL_ADDRESS>  merge-default-rules: true

I would like to be able to use the config-file option to point to an external config file and be able to extend it by setting new rules in the local .sass-lint.yml. I am currently doing this with eslint, the same concept.
What's actually happening is that Sass Lint completely ignored the external config.
version of Sass Lint: 1.7.0
Any help will be much appreciated!

I'll have a look into it, we haven't officially added support for extending configurations as you can in eslint yet but it's strange that your config file path you specified isn't being read.

Thanks @DanPurdy

FYI #140 and #139 are probably relevant here too. I'll take a look at your config declaration and see what is going on later tonight.

Thanks, I'll follow those

Ok @peduarte You've uncovered a bug that I'm amazed we haven't been testing for or caught!
It does indeed seem that if you specify a config file within a config file it is ignored! Passing this option through as an option directly to our methods is working fine but we never actually check to see if this property exists in your config. I'm just going to look at how this would/should work when implemented and will have this fixed up and ready soon. Thanks again 👍

No worries! ✌

Hopefully #733 should solve your problem. It allows you to specify config files to extend from within your project config file (as many 'extends' as you like too.).
This will be mainly feature filler into we roll out proper config extends in a similar vein to how eslint does it.

@DanPurdy Sweet man! I'll wait when it's merged and give it a go! Will you let me know when a new version has been published to npm?

@peduarte sass-lint 1.8.0 is out now


Document get_shard_id_for_distribution_column

Fixes #225
I documented the function in the UDF reference section because I don't know a concrete activity or user goal that requires its use. If someone knows more about the context we can move my change to a more relevant part of the docs.

Maybe we should also add this to Cluster Management? I don't know what the title would be yet.
There we'd want a more end-to-end solution. The UDF and example you've shown just shows the shard-id. We can then also show a query for that Id in pg_dist_shard/pg_dist_shard_placement to show the physical location of that shard?
We could also add an FAQ entry (e.g.: How can I find which shard a partition column maps to?)
which could link to that information.

See what you think about this for a start. It adds slightly more context.


Windows not able to run composer due to missing CA Certificate File

Issues:
On a Windows server it appears that it is unable to run the command using the PHAR file without errors due to the fact that composer is looking for a CA certificate file.  There isn't an obvious way of getting around this and still using the tool.  What would be helpful since this is a problem, is to allow users to disable the need for this process to run over tls.  And infact there is a way to do this in the composers config file, but since it is embedded in the PHAR file, you cannot edit it.  I have found that a work around is running the process and letting it fail.  Once that happens, it generates the composer.json file and you can edit it as I have below and it will take those settings that one time.  However, this is only a work around as you would have to do this each time, since when the process is finished the composer.json file is overwritten back to defaults.  But it does work for that one time.
Request:
It would be great if there was an option in the generate command to modify what gets added into the composer.json file somehow, so that you could pass in the disable-tls flag as "true".  This would fix the issue.
Here is a snippit with the corrected composer.json to allow the process to not need to check the CA Certificate.
“description”: “….”
"config": {
"disable-tls": true
},
"require": {
"php": ">=5.3.3",
"ext-soap": "*",
"wsdltophp/packagebase": "dev-master"
},

@faithfulman18 are you able to try the generation with this branch, feature/issue-67? Using the new option named composer-settings with the value config.disable-tls:true such as:
php console generate:package --urlorpath="**" --destination="**" --composer-name="**" --composer-settings="config.disable-tls:true"
let me know how it works,
thx

fixed in 1.9.0 and 2.4.0


ccache: 4.8.1 -> 4.8.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for ccache is: Compiler cache for fast recompilation of C/C++ code
meta.homepage for ccache is: https://ccache.dev
meta.changelog for ccache is: https://ccache.dev/releasenotes.html#_ccache_4_8_2
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 4.8.2 with grep in /nix/store/89x48q3rd5j1d3i6yyns7qrq0gcqd884-ccache-4.8.2
found 4.8.2 in filename of file in /nix/store/89x48q3rd5j1d3i6yyns7qrq0gcqd884-ccache-4.8.2

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

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath
ccache
ccacheStdenv
ccacheWrapper
redpanda-server

Instructions to test this update (click to expand)

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

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

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

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package failed to build:

redpanda-server

3 packages built:

ccache
ccacheStdenv
ccacheWrapper

Maintainer pings
cc @kira-bruneau @r-burns for testing.

Result of nixpkgs-review pr 238192 run on aarch64-darwin 1

3 packages built:

ccache
ccache.man
ccacheStdenv


Render all pages instead of a single page

Hi,
I was able to render and restyle the viewer but for a single page. My issue is how can i render all the pages for now only One page is render and the next page only comes after the navigation buttons are pressed. Is there any prop like showAllPages which will render all pages and we can change the pages while scrolling up and down. If there is none can you guide me in right direction.
Thanks

You have to render all the pages once the pdf is loaded and its not a good idea as it will be slow for large pdf files. However you can load a set of pages (e.g 5) at once and display. As of now such functionality is not available but can be added in future.

Hello, @ansu5555. I have issue. I need render all pages from pdf-file and i used this library. Its functionality added now?

Hello, @ansu5555. I have issue. I need render all pages from pdf-file and i used this library. Its functionality added now?

No, It's still in progress and will be added soon

Hi everyone, the pages functionality is available?

Hello, @ansu5555. I have issue. I need render all pages from pdf-file and i used this library. Its functionality added now?

No, It's still in progress and will be added soon

Hi. Do you have any news about rendering all pages?

No it's still in development.

Added in version 2.1.1, its has a thumbnail view for all the pages


Stackable Animations

@hobnob has put some lovely new syntax into the in-flight roguelike demo that allows you do do things like this (made up, illustrative):
myText.moveTo(x, y).fadeIn(5 seconds)

But if you did:
myText.moveTo(x, y).fadeIn(5.seconds, runningTime).fadeOut(5.seconds, runningTime)

Both those animations would action in parallel, we have no way to stack animations so that they run sequentially.
I did bodge something together with Signals many moons ago for a different demo, but it would be nice to have some sort of official support with nice syntax.

This will be out in the next release as a feature called Timelines.


Checksum mismatch when installing php libraries during provisionning

@georgesbiaux It works fine for me, have you tried recently ?


Materials are not superimposed during the procedural generation of the road

When generating roads with the help of my tool, materials are not superimposed on the resulting roads, and even if you specify materials in GSDRoad head-on
Read Material 1
Road Shoulder 1
Road Market 1
And update them with the Set All Materials() method
, then nothing happens
How does the asset load materials on the road and how to change them through the script?

https://cdn.discordapp.com/attachments/956903155969425408/1001124894874013737/7.mp4

https://cdn.discordapp.com/attachments/956903155969425408/1001124901891096606/8.mp4

https://cdn.discordapp.com/attachments/956903155969425408/1001124915249950740/9.mp4

https://cdn.discordapp.com/attachments/956903155969425408/1001124923886022727/10.mp4

https://cdn.discordapp.com/attachments/956903155969425408/1001124927157575772/11.mp4


I want email address, name  of logged in user.

I am able to get access token but my requirement is to store email and name as well.
Please help me out asap.
i want user details after signin/login.
your earlier response is highly appreciated and that would help me on time.
thanks

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

ID: 1e64f07f-17a1-ba44-bcd4-e08bd2b12b0e
Version Independent ID: 5165a1cd-4299-2f0e-efeb-b12bde97e8b7
Content: How to use Outlook REST APIs in a PHP app
Content Source: docs/rest/php-tutorial.md
Product: outlook
GitHub Login: @jasonjoh
Microsoft Alias: jasonjoh

This forum is for issues with the documentation, not for support. Getting user details can be done with Graph per https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/user_get. If you're having trouble implementing that with PHP, I'd suggest asking a question on Stack Overflow with the microsoft-graph tag.


support column comments

Is your feature request related to a problem? Please describe.
There are many databases that allows commenting on columns, either during CREATE TABLE or after table creation through commands like COMMENT ON.
During CREATE TABLE
CREATE TABLE <table_name> (v INT(11) COMMENT 'table comment')

ALTER TABLE <table_name> MODIFY v INT(11) COMMENT = "new table comment"

COMMENT ON
COMMENT ON TABLE vehicles IS 'This table contains information about vehicles registered with MovR.';

 And COMMENT ON is in favor of by primarily the PG and Oracle families while big data and MySQL families prefer the other. Snowflake supports the both.
I personally prefer Snowflake's syntax that combines both conventions:
COMMENT [IF EXISTS] ON <object_type> <object_name> IS '<string_literal>';

CREATE [ OR REPLACE ] <object_type> [ IF NOT EXISTS ] <object_name>
  [ <object_type_properties> ]
  [ <object_type_params> ]
  [ COMMENT = '<string_literal>' ]

DESC TABLE mytable;

Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response

I have a concern that probably many users will use tools like DBeaver to read/write comments, so we'd better maintain PG compatibility for this feature.

Just adding some links:
https://www.postgresql.org/docs/16/sql-comment.html
https://www.postgresql.org/docs/16/functions-info.html#FUNCTIONS-INFO-COMMENT-TABLE
https://www.postgresql.org/docs/16/catalog-pg-description.html
The PostgreSQL doc suggests comments are not limited to columns, and they are stored separately then joined, rather than as an attribute of column.


Disabled checkbox/radio input styles are coupled to the [disabled] attribute selector

Problem
The disabled styles applied whenever we have a disabled checkbox or radio input are tied to these elements having the disabled attribute set. Specifically, for checkbox & radio, in lib/build/less/components/radio-checkbox.less, we have the following:
.d-checkbox,
.d-radio {

  ...

  &[disabled] {
        border-color: var(--ash-dark);
        background-color: var(--ash-dark);
        cursor: not-allowed;
    }
}

I'd like a way to be able to apply those same styles without forcing me to add the disabled attribute on their elements. This is important because adding the disabled attribute causes accessibility issues by preventing the user from tabbing to the disabled element (the browser just skips over them), and one of my feature's requirements is to be able to disable a checkbox input without preventing the user from focusing on it.
Solution
A quick, backwards-compatible solution would be to create a mixin with those same styles, and then adding new --disabled classes for anyone to use. IMO, we should remove the [disabled] selectors in order to raise awareness about the accessibility consequences of using on it, but that's a different topic.
.disabled-input-styles {
        border-color: var(--ash-dark);
        background-color: var(--ash-dark);
        cursor: not-allowed;
}

.d-checkbox,
.d-radio {

  ...

  &[disabled] {
        .disabled-input-styles()
    }
}

.d-checkbox--disabled,
.d-radio--disabled {
       .disabled-input-styles()
}

Hey @modialpad. Really appreciate the thought you put into this. Can you help us understand what specific accessibility issues this is causing? Could you also help us understand the use case your requirements are trying to satisfy and whether this use case is common? Why does a disabled checkbox or radio input need to be focusable?
It'd be helpful to understand because using the disabled attribute seems to be the common method for doing this. In fact, in looking at the US Web Design System, the US Health & Human Services Design System, IBM's Carbon, Microsoft's Fluent, and SalesForce's Lightning, all of them disable their checkboxes and radios this way.
However, I did find what appears to be an example of what you're talking about in Deque's Pattern Library, though their mark-up is a different pattern than what Dialtone has.
In either case, your solution appears to address style, but what about behavior? Even if these disabled components were focusable, assistive technology would still need to read out that the input is disabled, right? And wouldn't we need to prohibit that disabled input's content for being submitted by any associated form? The implications here seem bigger than just style.
Looping @dbecherdialpad in in case he has thoughts.

Hey @modialpad. Really appreciate the thought you put into this. Can you help us understand what specific accessibility issues this is causing? Could you also help us understand the use case your requirements are trying to satisfy and whether this use case is common? Why does a disabled checkbox or radio input need to be focusable? ...

@dialpad-drew Thank you for your reply!
So one of the features I’m working on right now involves showing an info tooltip when the :focus event is activated on a certain disabled checkbox. Because of other functional reqs, we’ve disabled that checkbox, and we’d like to let the user know why that checkbox cannot be checked by showing a tooltip when they either :hover or :focus on that element.
Since I’ve added the disabled attribute to that checkbox though, the browser never activates the :focus event when the user tries to tab over to that element (the browser just skips over disabled elements), and as a result the user never sees that tooltip. This is an accessibility issue, and recently I’ve read a very good article that describes a similar issue with disabled attributes here: https://css-tricks.com/making-disabled-buttons-more-inclusive/#aria-to-the-rescue
I’m not pushing for a breaking change in this case. We can keep the [disabled] selectors as they are for now, until we’ve looked into other options into how we can do this before introducing a breaking change. For now, what I want are the disabled styles themselves, the ones below here:
 border-color: var(--ash-dark);
 background-color: var(--ash-dark);
 cursor: not-allowed;

To be copied into a separate class that I can apply/remove to an element to visually convey that it’s disabled/enabled. I recommend calling it something like .d-checkbox--disabled or something similar. The logic to handle accessibility (correct usage of aria-* attributes, etc.), event handling/behaviour and the like will no longer be dialtone’s concern , it’s on the consumer’s side now to ensure this in their usage of elements/components.

I do think we'll want something like this, but maybe not until we figure out the dialtone-vue implementation. To Drew's point it is a bit different than the button case.

The logic to handle accessibility (correct usage of aria-* attributes, etc.), event handling/behaviour and the like will no longer be dialtone’s concern , it’s on the consumer’s side now to ensure this in their usage of elements/components.

Just a nit, but we'll want to handle as much of this as we can in the checkbox Vue component, so technically it will be our concern.

Hey @modialpad , which feature is this for? And which designer are you working with?


Addition of the backbone Resnet_fpn

This PR deals with the addition of the backbone of the:

Stage 1 : Resnet_fpn which acts as the backbone for the LoFTR algorithm in important feature detection using convnets.
This PR has added only "ResNet+FPN, output resolution are 1/8 and 1/2." for the time being , if it's fine I will add " """ResNet+FPN, output resolution are 1/16 and 1/4." which is along the similar lines and also important. Accompanied tests haven't been added till now as I wasn't sure about them.

Reference: "https://github.com/arcAman07/kornia/blob/master/kornia/feature/loftr/backbone/resnet_fpn.py".
Tagging the mentors for review: @johnnychen94 @DhairyaLGandhi
Closes #2

Code Updated with the above necessary changes. Should I merge it? @DhairyaLGandhi


GH-29537: [R] Support mutate/summarize with implicit join

Rationale for this change
Since it doesn't look like Acero will be getting window functions any time soon, implement support in mutate() for transformations that involve aggregations, like x - mean(x), via left_join.
What changes are included in this PR?
Following #41223, I realized I could reuse that evaluation path in mutate(). Evaluating expressions accumulates ..aggregations and mutate_stuff; in summarize() we apply aggregations and then mutate on the result. If expressions in the mutate_stuff reference columns in the original data and not just the result of aggregations, we reject it.
Here, if there are aggregations, we apply them on a copy of the query up to that point, and join the result back onto the query, then apply the mutations on that. It's not a problem for those mutate expressions to reference both columns in the original data and the results of the aggregations because both are present.
There are ~three~ two caveats:

Join has non-deterministic order, so while mutate() doesn't generally affect row order, if this code path is activated, row order may not be stable. With datasets, it's not guaranteed anyway.
~Acero's join seems to have a limitation currently where missing values are not joined to each other. If your join key has NA in it, and you do a left_join, your new columns will all be NA, even if there is a corresponding value in the right dataset. I made https://github.com/apache/arrow/issues/41358 to address that, and in the meantime, I've added a workaround (https://github.com/apache/arrow/pull/41350/commits/b9de50452e926fe5f39aeb3887a04e203302b960) that's not awesome but has the right behavior.~ Fixed and rebased.
I believe it is possible in dplyr to get this behavior in other verbs: filter, arrange, even summarize. I've only done this for mutate. Are we ok with that?

Are these changes tested?
Yes
Are there any user-facing changes?
This works now:
library(arrow)
library(dplyr)

mtcars |>
  arrow_table() |>
  select(cyl, mpg, hp) |>
  group_by(cyl) |>
  mutate(stdize_mpg = (mpg - mean(mpg)) / sd(mpg)) |>
  collect()
#> # A tibble: 32 × 4
#> # Groups:   cyl [3]
#>      cyl   mpg    hp stdize_mpg
#>    <dbl> <dbl> <dbl>      <dbl>
#>  1     6  21     110      0.865
#>  2     6  21     110      0.865
#>  3     4  22.8    93     -0.857
#>  4     6  21.4   110      1.14
#>  5     8  18.7   175      1.41
#>  6     6  18.1   105     -1.13
#>  7     8  14.3   245     -0.312
#>  8     4  24.4    62     -0.502
#>  9     4  22.8    95     -0.857
#> 10     6  19.2   123     -0.373
#> # ℹ 22 more rows

Created on 2024-04-23 with reprex v2.1.0

GitHub Issue: #29537

Sounds good. I have in mind one more refactoring to do to try to simplify the different evaluation paths after this, and that will mean putting in a place to check in filter and arrange whether someone has passed in aggregations and error informatively (or eventually add support for it, should we ever decide to).


Fixed category slug which is not translation based #4698

Bug
Link: #4698

@devansh-webkul
slug is not accepting the value in ar locale and also need to fix the validation https://prnt.sc/10djgf9

Hi @vaishaliwebkul,
Mentioned changes have been done.

@devansh-webkul
getting 404 page when view category slug is in  ar locale https://prnt.sc/10iwykd

@vaishaliwebkul,
Not able to reproduce that.


gendata.py with torchvision.datasets.MNIST

tensorflow.examples.tutorials.mnist is deprecated. I have replaced it with torchvision.datasets.MNIST.

Thanks! Did you check that it works the same ? Is the normalization of the data the same ? (Just to be sure)

I merely replace tensorflow.examples.tutorials.mnist by torchvision.datasets.MNIST and nothing else is done. It is not normalized, as in the original example, i.e. image values on range 0 to 255.
I tested it in Google Colaboratory, since it provides convenient GPU access.
https://drive.google.com/file/d/1O3zXW63VjEefYVAui81bnfHF0YL1iNga/view?usp=sharing
I run it on the unrotated images. CNN gets 97% accuracy and Spherical CNN gets 96%. It seems working.
By the way, I actually did think about the normalization on the images, but it is more sophisticated and requires more testing, so I think it should be a separate commit. Here is my primary thought. Average on S2 is indeed the (l=0, m=0) spherical harmonics coefficient, up to the normalization convention on spherical harmonics. Therefore we already have all the ingredient to do average. Then we can normalize any spherical image in this way:
from s2cnn.soft.s2_fft import S2_fft_real
import torch

def s2_average(x):
  return S2_fft_real(1)(x)[0,0]

x = torch.rand(60,60)*255
x_mean = s2_average(x)
x_sd = s2_average((x - x_mean).pow(2)).sqrt()
y = (x - x_mean)/x_sd

s2_average(y) # should be 0.0
s2_average(y.pow(2)) # should be 1.0

Do you think normalizating spherical images in this way makes sense?

Yes it makes sense


Interactives UX: Pre fill answers when user has successfully completed

Pre fills answers on all three interactives when student has successfully completed the interactive

@AndrewJakubowicz most definitely re tests and I'm going to follow up in a second PR for those - they'll be end by end of week!

Merging in - let me know if you want to discuss https://github.com/codecombat/codecombat/pull/5497#discussion_r304634308 further


Can't get Operator to start on EKS

I opened an internal ticket here: https://issues.couchbase.com/browse/K8S-210
But this is probably a better place to put this so we can collaborate with our partners.  My current theory is that I got caught in the 1.7/1.9 transition.  I'm blowing everything away and making a fresh 1.9 cluster using the latest doc at the moment.

Yay.  I got a real error message on 1.9:

Bens-MacBook:~ ben$ kubectl describe pod couchbase-operator-5897bd4d8d-c5rmb
Name:           couchbase-operator-5897bd4d8d-c5rmb
Namespace:      default
Node:           ip-10-0-130-68.us-west-2.compute.internal/<IP_ADDRESS>
Start Time:     Thu, 15 Mar 2018 19:51:50 -0700
Labels:         name=couchbase-operator
                pod-template-hash=1453680848
Annotations:    <none>
Status:         Running
IP:             <IP_ADDRESS>
Controlled By:  ReplicaSet/couchbase-operator-5897bd4d8d
Containers:
  couchbase-operator:
    Container ID:   docker://df64023966014b2041c72ad41d0dd51ce508cf442a48614c5dc4671c4a88944a
    Image:          couchbase/k8s-operator:beta
    Image ID:       docker-pullable://couchbase/k8s-operator@sha256:7b847e956c7feb8e05c3c3a029bfbb1a7a62eb7a1d728f52984d5ffa4f622317
    Port:           8080/TCP
    State:          Running
      Started:      Thu, 15 Mar 2018 19:51:54 -0700
    Ready:          False
    Restart Count:  0
    Readiness:      http-get http://:readiness-port/readyz delay=3s timeout=1s period=3s #success=1 #failure=19
    Environment:
      MY_POD_NAMESPACE:  default (v1:metadata.namespace)
      MY_POD_NAME:       couchbase-operator-5897bd4d8d-c5rmb (v1:metadata.name)
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-cmrsn (ro)
Conditions:
  Type           Status
  Initialized    True
  Ready          False
  PodScheduled   True
Volumes:
  default-token-cmrsn:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  default-token-cmrsn
    Optional:    false
QoS Class:       BestEffort
Node-Selectors:  <none>
Tolerations:     <none>
Events:
  Type     Reason                 Age                From                                                Message
  ----     ------                 ----               ----                                                -------
  Normal   Scheduled              5m                 default-scheduler                                   Successfully assigned couchbase-operator-5897bd4d8d-c5rmb to ip-10-0-130-68.us-west-2.compute.internal
  Warning  FailedScheduling       5m                 default-scheduler                                   Binding rejected: Operation cannot be fulfilled on pods/binding "couchbase-operator-5897bd4d8d-c5rmb": pod couchbase-operator-5897bd4d8d-c5rmb is already assigned to node "ip-10-0-130-68.us-west-2.compute.internal"
  Normal   SuccessfulMountVolume  5m                 kubelet, ip-10-0-130-68.us-west-2.compute.internal  MountVolume.SetUp succeeded for volume "default-token-cmrsn"
  Normal   Pulling                5m                 kubelet, ip-10-0-130-68.us-west-2.compute.internal  pulling image "couchbase/k8s-operator:beta"
  Normal   Pulled                 5m                 kubelet, ip-10-0-130-68.us-west-2.compute.internal  Successfully pulled image "couchbase/k8s-operator:beta"
  Normal   Created                5m                 kubelet, ip-10-0-130-68.us-west-2.compute.internal  Created container
  Normal   Started                5m                 kubelet, ip-10-0-130-68.us-west-2.compute.internal  Started container
  Warning  Unhealthy              48s (x99 over 5m)  kubelet, ip-10-0-130-68.us-west-2.compute.internal  Readiness probe failed: HTTP probe failed with statuscode: 500
Bens-MacBook:~ ben$

This seems to be the key error from the above.  It's starting to look like something isn't quite right with the VPC CFT.

Binding rejected: Operation cannot be fulfilled on pods/binding "couchbase-operator-5897bd4d8d-c5rmb": pod couchbase-operator-5897bd4d8d-c5rmb is already assigned to node "ip-10-0-130-68.us-west-2.compute.internal"
  Normal   SuccessfulMountVolume  5m                 kubelet, ip-10-0-130-68.us-west-2.compute.internal  MountVolume.SetUp succeeded for volume "default-token-cmrsn"

Made a fresh cluster.  Same thing.  I tried this without the DNS thing since no one can explain to me what it does.
Bens-MacBook:~ ben$ kubectl get pods
NAME                                  READY     STATUS    RESTARTS   AGE
couchbase-operator-5897bd4d8d-9hvk5   0/1       Running   0          1m
Bens-MacBook:~ ben$ kubectl describe pods
Name:           couchbase-operator-5897bd4d8d-9hvk5
Namespace:      default
Node:           ip-10-0-139-228.us-west-2.compute.internal/<IP_ADDRESS>
Start Time:     Fri, 16 Mar 2018 17:08:03 -0700
Labels:         name=couchbase-operator
                pod-template-hash=1453680848
Annotations:    <none>
Status:         Running
IP:             <IP_ADDRESS>
Controlled By:  ReplicaSet/couchbase-operator-5897bd4d8d
Containers:
  couchbase-operator:
    Container ID:   docker://c9071b9c043ade7c858182b8de834e58320cc695b6486a5f0970de7474a4037b
    Image:          couchbase/k8s-operator:beta
    Image ID:       docker-pullable://couchbase/k8s-operator@sha256:7b847e956c7feb8e05c3c3a029bfbb1a7a62eb7a1d728f52984d5ffa4f622317
    Port:           8080/TCP
    State:          Running
      Started:      Fri, 16 Mar 2018 17:08:07 -0700
    Ready:          False
    Restart Count:  0
    Readiness:      http-get http://:readiness-port/readyz delay=3s timeout=1s period=3s #success=1 #failure=19
    Environment:
      MY_POD_NAMESPACE:  default (v1:metadata.namespace)
      MY_POD_NAME:       couchbase-operator-5897bd4d8d-9hvk5 (v1:metadata.name)
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-9kx99 (ro)
Conditions:
  Type           Status
  Initialized    True
  Ready          False
  PodScheduled   True
Volumes:
  default-token-9kx99:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  default-token-9kx99
    Optional:    false
QoS Class:       BestEffort
Node-Selectors:  <none>
Tolerations:     <none>
Events:
  Type     Reason                 Age               From                                                 Message
  ----     ------                 ----              ----                                                 -------
  Normal   Scheduled              2m                default-scheduler                                    Successfully assigned couchbase-operator-5897bd4d8d-9hvk5 to ip-10-0-139-228.us-west-2.compute.internal
  Warning  FailedScheduling       2m                default-scheduler                                    Binding rejected: Operation cannot be fulfilled on pods/binding "couchbase-operator-5897bd4d8d-9hvk5": pod couchbase-operator-5897bd4d8d-9hvk5 is already assigned to node "ip-10-0-139-228.us-west-2.compute.internal"
  Normal   SuccessfulMountVolume  2m                kubelet, ip-10-0-139-228.us-west-2.compute.internal  MountVolume.SetUp succeeded for volume "default-token-9kx99"
  Normal   Pulling                2m                kubelet, ip-10-0-139-228.us-west-2.compute.internal  pulling image "couchbase/k8s-operator:beta"
  Normal   Pulled                 2m                kubelet, ip-10-0-139-228.us-west-2.compute.internal  Successfully pulled image "couchbase/k8s-operator:beta"
  Normal   Created                2m                kubelet, ip-10-0-139-228.us-west-2.compute.internal  Created container
  Normal   Started                2m                kubelet, ip-10-0-139-228.us-west-2.compute.internal  Started container
  Warning  Unhealthy              1m (x20 over 2m)  kubelet, ip-10-0-139-228.us-west-2.compute.internal  Readiness probe failed: HTTP probe failed with statuscode: 500
Bens-MacBook:~ ben$

Not doing so well getting logs to figure out what has happened.  Something is very wrong with the pod:
Bens-MacBook:~ ben$ kubectl get pods
NAME                                  READY     STATUS    RESTARTS   AGE
couchbase-operator-5897bd4d8d-9hvk5   0/1       Running   0          5m
Bens-MacBook:~ ben$ kubectl logs couchbase-operator-5897bd4d8d-9hvk5
Error from server (Timeout): the server was unable to return a response in the time allotted, but may still be processing the request (get pods couchbase-operator-5897bd4d8d-9hvk5)
Bens-MacBook:~ ben$

Logs and exec aren't supported yet, so that explains that...

I guess we're going to debug this elsewhere...


Feature Request: cache system with precious memory usage limitation

Currently every sst is opened in mmap mode, we can't control the memory usage of agatedb with this mode, it will use as much as it can. This may cause OOM when agatedb embedded in other system (like in mongo's early days', its mmap engine caused many issues).
Implement a cache system that can control its total memory usage is very important for a storage engine, especially on the cloud environment where the resource is strictly limited. RocksDB's block-cache is good reference, it can limit the total memory usage and provide impressive access performance.

Need to consider how to cache vlog. Currently vlog is not organized as "blocks".

Need to consider how to cache vlog. Currently vlog is not organized as "blocks".

Yes, currently Titan( TiKV's key value separation engine ) also doesn't cache blob files. But it is necessary to consider how to  cache vlog, maybe just using system's page cache is feasible?

Suppose value is large (default 1KiB), just okay to store it as one item in cache per value? And the ValuePtr can be the key in cache.
Maybe one cache for block and one cache for vlog value or just use one cache (use the cache_id concept in rocksdb).
But through this way, value cache can only work for user query (which get vptr first) while the backgroud gc that iter on vlog cannot visit the cache, still issue I/O on disk. (well...seems no iter impl for vlog, I need to have a look to its format)
(BTW, it seems that agatedb haven't implement vlog gc and I'm not familiar with badger...)


i18n(ja): Update /basics/astro-syntax.mdx, /basics/rendering-modes.mdx translation

Description
Add new Japanese translations to existing files
Since the contents of multiple files were updated, it was also reflected in Japanese.
Original English version:
src/content/docs/ja/basics/astro-syntax.mdx
src/content/docs/ja/basics/rendering-modes.mdx

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

ja
basics/astro-syntax.mdx
Localization changed, will be marked as complete.

ja
basics/rendering-modes.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


The visibility of message when in consumerQueue (Question)

Hello everyone! When reading the source code about consumerQueue, I found thet the reputMessageService relies on the commitLog.getMaxOffset() to append message to consumer queue. However, the value of  commitLog.getMaxOffset() may just change before the message actually been flushed to the disk or replicated by the slave. So will that be possible that the consumer will see the message that has not been flushed and duplicated by the slave?
I checked that the logic of ha service and handleDiskFlush happened after changing the commitLog' maxOffset and the reputMessage service is concurrent with those logics. Did I miss something?

org.apache.rocketmq.store.CommitLog#asyncPutMessages

First is here, org/apache/rocketmq/store/CommitLog#putMessage, It could be seen that the message appending operation in point A(I annotated in the following code), and the disk flushing operation and ha waiting operation in point B.
However, the reputMessageService (org.apache.rocketmq.store.DefaultMessageStore.ReputMessageService), which did the reput operation in another thread. I mean if this service is fast enough, some of the message appended after pointA may already been push to the consumerQueue, which could be seen by the consumer. However, those messages may have not flushed or replicated to slaves. If something broke there, could that be possible the message is consumed but not recored in the broker?
`public PutMessageResult putMessage(final MessageExtBrokerInner msg) {
.............
//The following do the appendmessage operation with the mappedfile (point A)
    MappedFile unlockMappedFile = null;
    MappedFile mappedFile = this.mappedFileQueue.getLastMappedFile();

    putMessageLock.lock(); //spin or ReentrantLock ,depending on store config
    try {
        long beginLockTimestamp = this.defaultMessageStore.getSystemClock().now();
        this.beginTimeInLock = beginLockTimestamp;

        // Here settings are stored timestamp, in order to ensure an orderly
        // global
        msg.setStoreTimestamp(beginLockTimestamp);

        if (null == mappedFile || mappedFile.isFull()) {
            mappedFile = this.mappedFileQueue.getLastMappedFile(0); // Mark: NewFile may be cause noise
        }
        if (null == mappedFile) {
            log.error("create mapped file1 error, topic: " + msg.getTopic() + " clientAddr: " + msg.getBornHostString());
            beginTimeInLock = 0;
            return new PutMessageResult(PutMessageStatus.CREATE_MAPEDFILE_FAILED, null);
        }

        result = mappedFile.appendMessage(msg, this.appendMessageCallback);

   ..............

    if (elapsedTimeInLock > 500) {
        log.warn("[NOTIFYME]putMessage in lock cost time(ms)={}, bodyLength={} AppendMessageResult={}", elapsedTimeInLock, msg.getBody().length, result);
    }

    if (null != unlockMappedFile && this.defaultMessageStore.getMessageStoreConfig().isWarmMapedFileEnable()) {
        this.defaultMessageStore.unlockMappedFile(unlockMappedFile);
    }

    PutMessageResult putMessageResult = new PutMessageResult(PutMessageStatus.PUT_OK, result);

    // Statistics
    storeStatsService.getSinglePutMessageTopicTimesTotal(msg.getTopic()).incrementAndGet();
    storeStatsService.getSinglePutMessageTopicSizeTotal(topic).addAndGet(result.getWroteBytes());
   //Here it actually do the disk flush and ha handling and waiting  (pointB)
    handleDiskFlush(result, putMessageResult, msg);
    handleHA(result, putMessageResult, msg);

    return putMessageResult;
}`

org.apache.rocketmq.store.CommitLog#asyncPutMessages
I did not find the code you said

First is here, org/apache/rocketmq/store/CommitLog#putMessage, It could be seen that the message appending operation in point A(I annotated in the following code), and the disk flushing operation and ha waiting operation in point B.
However, the reputMessageService (org.apache.rocketmq.store.DefaultMessageStore.ReputMessageService), which did the reput operation in another thread. I mean if this service is fast enough, some of the message appended after pointA may already been push to the consumerQueue, which could be seen by the consumer. However, those messages may have not flushed or replicated to slaves. If something broke there, could that be possible the message is consumed but not recored in the broker?
public PutMessageResult putMessage(final MessageExtBrokerInner msg) {
        //.............
       **//The following do the appendmessage operation with the mappedfile (point A)**

        MappedFile unlockMappedFile = null;
        MappedFile mappedFile = this.mappedFileQueue.getLastMappedFile();

        putMessageLock.lock(); //spin or ReentrantLock ,depending on store config
        try {
            long beginLockTimestamp = this.defaultMessageStore.getSystemClock().now();
            this.beginTimeInLock = beginLockTimestamp;

            // Here settings are stored timestamp, in order to ensure an orderly
            // global
            msg.setStoreTimestamp(beginLockTimestamp);

            if (null == mappedFile || mappedFile.isFull()) {
                mappedFile = this.mappedFileQueue.getLastMappedFile(0); // Mark: NewFile may be cause noise
            }
            if (null == mappedFile) {
                log.error("create mapped file1 error, topic: " + msg.getTopic() + " clientAddr: " + msg.getBornHostString());
                beginTimeInLock = 0;
                return new PutMessageResult(PutMessageStatus.CREATE_MAPEDFILE_FAILED, null);
            }

            result = mappedFile.appendMessage(msg, this.appendMessageCallback);

       ..............

        if (elapsedTimeInLock > 500) {
            log.warn("[NOTIFYME]putMessage in lock cost time(ms)={}, bodyLength={} AppendMessageResult={}", elapsedTimeInLock, msg.getBody().length, result);
        }

        if (null != unlockMappedFile && this.defaultMessageStore.getMessageStoreConfig().isWarmMapedFileEnable()) {
            this.defaultMessageStore.unlockMappedFile(unlockMappedFile);
        }

        PutMessageResult putMessageResult = new PutMessageResult(PutMessageStatus.PUT_OK, result);

        // Statistics
        storeStatsService.getSinglePutMessageTopicTimesTotal(msg.getTopic()).incrementAndGet();
        storeStatsService.getSinglePutMessageTopicSizeTotal(topic).addAndGet(result.getWroteBytes());

       **//Here it actually do the disk flush and ha handling and waiting  (pointB)**
        handleDiskFlush(result, putMessageResult, msg);
        handleHA(result, putMessageResult, msg);

        return putMessageResult;
    }

if the brokerRole is SYNC_MASTER and flushDiskType is SYNC_FLUSH，the situation you said will not happen.
others,maybe something like what you said will happen

Is there any code that indicates the SYNC_MASTER and SYNC_FLUSH mechanism? I rechecked that the reputMessageService(org.apache.rocketmq.store.DefaultMessageStore.ReputMessageService) relies on the commitedOffset to transfer commitlog to consumerQueue. It could be traced from ReputMessageService#doReput(). The SelectMappedBufferResult result = DefaultMessageStore.this.commitLog.getData(reputFromOffset); in doReput() finally use commitedOffset as the bound to do the reput. However, The commitedOffset is updated by the CommitRealTimeService (org.apache.rocketmq.store.CommitLog.CommitRealTimeService). This service will just update the commitedOffset periodly, which does not consider if the data is actually flushed to the disk. The flush operation is actually happened in another thread. There is no syncronization between them. So in this case, even in the SYNC_MASTER and SYNC_FLUSH settings, there is no gurantee to make the reputService waitfor the disk flush and slave replication.
I wonder if I miss something or this is what actually what rocketmq is designed.

Is there any code that indicates the SYNC_MASTER and SYNC_FLUSH mechanism? I rechecked that the reputMessageService(org.apache.rocketmq.store.DefaultMessageStore.ReputMessageService) relies on the commitedOffset to transfer commitlog to consumerQueue. It could be traced from ReputMessageService#doReput(). The SelectMappedBufferResult result = DefaultMessageStore.this.commitLog.getData(reputFromOffset); in doReput() finally use commitedOffset as the bound to do the reput. However, The commitedOffset is updated by the CommitRealTimeService (org.apache.rocketmq.store.CommitLog.CommitRealTimeService). This service will just update the commitedOffset periodly, which does not consider if the data is actually flushed to the disk. The flush operation is actually happened in another thread. There is no syncronization between them. So in this case, even in the SYNC_MASTER and SYNC_FLUSH settings, there is no gurantee to make the reputService waitfor the disk flush and slave replication.
I wonder if I miss something or this is what actually what rocketmq is designed.

update broker config。you can see the configuration of the broker。
they don`t wait,because only these two places are ok, the message is send successfully。You should look at the entire process of sending messages, not just this place

emm, what do you mean by "only these two places are ok, the message is send successfully "? the broker sends to the producer or sends to the consumer?
I know the ack message will be sent to producer when these two places are ready. But when the consumer pulls the message from the broker, I do not find the code that gurantee thoses two places are ready.

emm, what do you mean by "only these two places are ok, the message is send successfully "? the broker sends to the producer or sends to the consumer?
I know the ack message will be sent to producer when these two places are ready. But when the consumer pulls the message from the broker, I do not find the code that gurantee thoses two places are ready.

you are right。I reviewed the relevant code，It is possible that the message was consumed without flashing the disk and backing up to the standby node。But the message will still be flashed and synchronized to the standby node at the end

So, would you think it is useful to add configuration and related code for this issue, so it could avoid the case. The Kafka provides guarantee like this.

So, would you think it is useful to add configuration and related code for this issue, so it could avoid the case. The Kafka provides guarantee like this.

I think you can try


[YBUG.IO] Can you explain or provide a...

Can you explain or provide a link to explain why the SOV token should be considered useful? What is it actually used for?
Source url: https://live.sovryn.app/
Reported by<EMAIL_ADDRESS>Reported at: 22 Apr at 14:48 UTC
Location: GB, England, Ruislip
Browser: Chrome 89.0.4389.114
OS: Android 11
Screen: 393x830
Viewport: 393x679
Screenshot:

For more details please visit report page on Ybug:
https://ybug.io/dashboard/reports/detail/x8mpb3b9n23zrk2jpz3d

@t-z-u we already have this information visible further down the page in "Stake & Vote" section, but may be worth including a link to it here just above the "Buy SOV" button (e.g. "What is SOV? Click here to find out more"). Close this ticket if you don't think it's needed, or a solution is already in the roadmap


[SPARK-5200] Disable web UI in Hive ThriftServer tests

Disables the Spark web UI in HiveThriftServer2Suite in order to prevent Jenkins test failures due to port contention.

Test build #25400 has started for   PR 3998 at commit a384416.

This patch merges cleanly.

LGTM

Test build #25400 has finished for   PR 3998 at commit a384416.

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

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

Alright, I'm going to merge this now; let's see if this fixes some of the flakiness in the maintenance branches.

@JoshRosen in #3946, I have added some thrift-server UI tests. Should I remove them?


JIT mode

What version of @tailwindcss/aspect-ratio are you using?
Playground
What version of Node.js are you using?
Playground
What browser are you using?
Chrome
What operating system are you using?
macOS
Reproduction repository
https://play.tailwindcss.com/lja9H4c3N2
Describe your issue
Does the plugin work with JIT mode? I'm trying to use it with custom classes, but it doesn't seem to work

Same here. Couldn't figure out how to make it works with JIT.

Plugin applies class with css variables but it does not affect layout.

Hey all. We just published v0.3.0 which adds support for using arbitrary values. This does require Tailwind CSS v3.0.0-alpha.1 so be sure to check out the release notes for that: https://github.com/tailwindlabs/tailwindcss/releases/tag/v3.0.0-alpha.1
And here's a demo: https://play.tailwindcss.com/eXlnpPcULI

@bradlc how about tailwind 2.2.17 ?


webui support

proper web ui support, or a gui would be a very welcomed addition to this.

HCP-Diffusion-webui is release now HCP-Diffusion-webui


glTF-Blender-Exporter isn't compatible with Blender 2.8

Traceback (most recent call last):
  File "/home/anthorx/.config/blender/2.80/scripts/addons/io_scene_gltf2/__init__.py", line 328, in execute
    return gltf2_export.save(self, context, export_settings)
  File "/home/anthorx/.config/blender/2.80/scripts/addons/io_scene_gltf2/gltf2_export.py", line 78, in save
    prepare(export_settings)
  File "/home/anthorx/.config/blender/2.80/scripts/addons/io_scene_gltf2/gltf2_export.py", line 42, in prepare
    filter_apply(export_settings)
  File "/home/anthorx/.config/blender/2.80/scripts/addons/io_scene_gltf2/gltf2_filter.py", line 109, in filter_apply
    current_blender_mesh = current_blender_object.to_mesh(bpy.context.scene, True, 'PREVIEW')
TypeError: Object.to_mesh(): error with argument 2, "scene_layer" -  Function.scene_layer expected a SceneLayer type, not bool

location: <unknown location>:-1

Again, in Blender 2.78 it works fine

Hmm, I thought we tested this but it seems this we need some changes for 2.80.

We just tested the glTF node group with Blender 2.80. But as there are major changes with the Blender 2.80 Python interface, the exporter does not yet work with 2.80.

Blender 2.80 is still a year away from release, I wouldn't recommend trying to get the API lined up until things get a lot more stable there.
But... Breaking news... Blender 2.79 has been released today as the newest stable download of Blender.  The new version includes the "Principled BSDF" shader for the Cycles engine.  This means that users downloading the default stable release of Blender as of today get a package that includes a PBR shader node for Cycles.  I realize this node doesn't have feature-parity with the Khronos custom node, but, I think it would help this exporter gain more traction if it could be made to work for as many fields as possible on this node.

Indeed @emackey! This was discussed on #57.

Yeah somehow #57 got closed.  I would think that core support for 2.79 would be a short-term goal now, meaning, support export from the Principled BSDF node out-of-the-box, without referencing any Khronos-supplied *.blend files or nodes.  Just like the OBJ and COLLADA and other exporters, it should "just work" directly from user-constructed scenes, without importing any assets.  I think that would go a long way towards marketing this exporter as general-purpose, enabled by default for all users.

@emackey Thanks for the info.

Sorry to jump in, I know that isn't the exact subject of the issue. Will the blender exporter export EEVEE PBR material directly, or will it use it's own node as it does for 2.7x ?

You may wish to have a look at #101, @Ybalrid. My understanding is that the glTF-specific nodes group approach will disappear in 2.8.

Noticed FBX and OBJ import/export now work in the latest experimental builds. Any chance the glTF importer/exporter could get updated (at least to test)?

@SurlyBird It's on the roadmap, but I can't promise a date.  Active development has moved to the glTF-Blender-IO repo, which will replace this repo when it's ready for production use.

Resolved in


Laravel ban triggers errors on composer install.

A time ago. I created a pr for support Laravel ban on 5.5-dev.
REF: https://github.com/cybercog/laravel-ban/pull/8
But now it triggers errors. So here is the stacktrace.

```laravel/framework 5.5.x-dev
    - don't install illuminate/database v5.4.19|don't install laravel/framework 5.5.x-dev
    - don't install illuminate/database v5.4.9|don't install laravel/framework 5.5.x-dev
    - Installation request for laravel/framework 5.5.* -> satisfiable by laravel/framework[5.5.x-de
v].
PS C:\Users\Gebruiker\Desktop\petition> composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for cybercog/laravel-ban dev-laravel-5.5 -> satisfiable by cybercog/lara
vel-ban[dev-laravel-5.5].
- cybercog/laravel-ban dev-laravel-5.5 requires cybercog/laravel-ownership ^3.0 -> satisfiable
by cybercog/laravel-ownership[3.0.0].
- Conclusion: remove laravel/framework 5.5.x-dev
- cybercog/laravel-ownership 3.0.0 requires illuminate/database ~5.2.0|~5.3.0|~5.4.0 -> satisfi
able by illuminate/database[5.2.x-dev, 5.3.x-dev, 5.4.x-dev, v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.
2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7, v5.3.
0, v5.3.16, v5.3.23, v5.3.4, v5.4.0, v5.4.13, v5.4.17, v5.4.19, v5.4.9].
- don't install illuminate/database 5.2.x-dev|don't install laravel/framework 5.5.x-dev
- don't install illuminate/database 5.3.x-dev|don't install laravel/framework 5.5.x-dev
- don't install illuminate/database 5.4.x-dev|don't install laravel/framework 5.5.x-dev
- don't install illuminate/database v5.2.0|don't install laravel/framework 5.5.x-dev
- don't install illuminate/database v5.2.19|don't install laravel/framework 5.5.x-dev
- don't install illuminate/database v5.2.21|don't install laravel/framework 5.5.x-dev
- don't install illuminate/database v5.2.24|don't install laravel/framework 5.5.x-dev
- don't install illuminate/database v5.2.25|don't install laravel/framework 5.5.x-dev
- don't install illuminate/database v5.2.26|don't install laravel/framework 5.5.x-dev
- don't install illuminate/database v5.2.27|don't install laravel/framework 5.5.x-dev
- don't install illuminate/database v5.2.28|don't install laravel/framework 5.5.x-dev
- don't install illuminate/database v5.2.31|don't install laravel/framework 5.5.x-dev
- don't install illuminate/database v5.2.32|don't install laravel/framework 5.5.x-dev
- don't install illuminate/database v5.2.37|don't install laravel/framework 5.5.x-dev
- don't install illuminate/database v5.2.43|don't install laravel/framework 5.5.x-dev
- don't install illuminate/database v5.2.45|don't install laravel/framework 5.5.x-dev
- don't install illuminate/database v5.2.6|don't install laravel/framework 5.5.x-dev
- don't install illuminate/database v5.2.7|don't install laravel/framework 5.5.x-dev
- don't install illuminate/database v5.3.0|don't install laravel/framework 5.5.x-dev
- don't install illuminate/database v5.3.16|don't install laravel/framework 5.5.x-dev
- don't install illuminate/database v5.3.23|don't install laravel/framework 5.5.x-dev
- don't install illuminate/database v5.3.4|don't install laravel/framework 5.5.x-dev
- don't install illuminate/database v5.4.0|don't install laravel/framework 5.5.x-dev
- don't install illuminate/database v5.4.13|don't install laravel/framework 5.5.x-dev
- don't install illuminate/database v5.4.17|don't install laravel/framework 5.5.x-dev
- don't install illuminate/database v5.4.19|don't install laravel/framework 5.5.x-dev
- don't install illuminate/database v5.4.9|don't install laravel/framework 5.5.x-dev
- Installation request for laravel/framework 5.5.* -> satisfiable by laravel/framework[5.5.x-dev].```

@Tjoosten You are right. I've forgot about ownership package dependency. I was thinking to duplicate only required ownership codebase in laravel-ban package to make them independent from each other.

No problem. Its just a friendly reminder my friend

Closing this issue since it's related to another package and has PR for it already,

Alright. Thanks for your effort
2017-06-14 23:28 GMT+02:00 Pe Ell<EMAIL_ADDRESS>
Closed #10 https://github.com/cybercog/laravel-ownership/issues/10.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cybercog/laravel-ownership/issues/10#event-1124095565,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE6y6U7D--FOHfrFIDYdzuy2Tz7JBfdQks5sEFBvgaJpZM4N5Fgc
.


host_inventory/linux/virtualization: Fallback to systemd-detect-virt

In detecting virtualization, if system-product-name from DMI is unknown to Specinfra, fallback to systemd-detect-virt, which has better heuristics. It currently returns {system: nil} in such a case.

Thanks!

Released as v2.88.2.


Roll engine 3ef5007d90cf..644db5a49c35 (10 commits)

https://github.com/flutter/engine/compare/3ef5007d90cf...644db5a49c35
git log 3ef5007d90cf270ecd280db807c855e4b15d7f51..644db5a49c35e952e6fa9ccbe722e98e982f7ec5 --no-merges --oneline
644db5a49 Standardize TimePoint implementaion on std::chrono (flutter/engine#8913)
1c8e31b4f Make sure Window.dpr still has a setter (flutter/engine#8912)
ad02f3cc1 Roll src/third_party/dart 678f4bb926..a0290f823c (1 commits)
ccfc02a8a Roll src/third_party/skia dfda5f57bf25..dbded16fadde (1 commits) (flutter/engine#8918)
f901126cc Roll src/third_party/skia b9330017c070..dfda5f57bf25 (2 commits) (flutter/engine#8917)
c12b917e9 Roll src/third_party/dart ef0c812b0d..678f4bb926 (11 commits)
ee45100b5 Roll src/third_party/skia 15c91422339a..b9330017c070 (11 commits) (flutter/engine#8915)
812616a67 Fix TimePoint on Windows (flutter/engine#8910)
30885db99 Roll src/third_party/dart f7bf890ff7..ef0c812b0d (13 commits)
78adbf78d Add web sdk implementation. (flutter/engine#8891)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (chinmaygarde@google.com), and stop
the roller if necessary.

Auto-roller completed checks. About to merge.


Make Instances of Objects with a Constructor Function

var Car = function() {
this.wheels = 4;
this.engines = 1;
this.seats = 1;
};
// Only change code below this line.
var Car = function() {
this.wheels = 4;
};
// New instance of Car object.
var myCar = new Car();
//Add the property "engines" to myCar, and make it a number.
myCar.engines = 1;
Have tried all solutions and feel I am staring too hard at this to get the final instruction
Then give myCar a nickname property with a string value. I know this should be simple but however I try to call it it will not accept.
Have tried (function() {return JSON.stringify(myCar);})(); at end as others have given in solutions - console.log is not even accepted here, Preventing me moving on.

Adding a property to an object can be done through dot-notation. Something like the following will satisfy the final instruction:
myCar.nickname = "Bob Ryan";

Thanks and happy coding!

no it doesn't. I thought this should do it and is exactly what I have .

The answer is above you @jel111 . Good Luck!!!!!

how is it that changing nickName from camelCase to nickname satisfied the problem?

i'm kinda confused?

You need to use "nickname" (literally. it is written in red). So don't use any property (which is what I did. for e.g. I used .cover or .mirror but that gave me the same string error). They want you to use the word nickname.

they have asked to  assign variable as myCar and constructor as Car.this is how it works below
var Car = function() {
this.wheels = 4;
this.engines = 1;
this.seats = 5;
};
// Only change code below this line.
var myCar = new Car();
myCar.nickname = "hourglass23";

Doesn't work for me...doesnt accept solution and console shows nothing.

A common error with this problem is forgetting to put a semicolon after you create a new instance. This can seem a little picky since javascript's automatic semicolon insertion should be taken place here.
// TypeError: "Beast" is not a function - (notice the missing semicolon)
myCar.nickname = "Beast"
// Correct solution with no errors
myCar.nickname = "Beast";


fix(http): Don't enforce HTTP scheme in connector

Fixes an issue introduced in #1310: Now that the HttpConnector is being created manually, the HTTP scheme enforcement must be disabled.

What are the other URI schemes? ws?

What are the other URI schemes? ws?

HTTPS


[UnitTest] Fuzz based on seed rather than random value.

Some extensions to run tests in parallel (e.g. pytest-xdist) require that test collection be deterministic.  Using the random seed as the test parameter instead of the random value makes the test collection be deterministic.

That's correct.  I initially added this test to validate copying across a few orders of magnitude, and a fixed input size would work just as well.  If we want to have the test be randomized per run, we could remove the call to np.random.seed.  I'm fine with it either way, or switching to a fixed array.
Most of the other unit tests don't run into the xdist incompatibility, because they didn't change the name of the test being run.  It only became an issue here because the seed value was included in the parametrized test name.  I've found it really useful to be able to use xdist to speed up local test times.  Other than some false positives from running out of GPU memory, most of the other tests are xdist-friendly.

I think there was some discussion of using xdist, and it has been part of the docker image since https://github.com/apache/tvm/pull/6736.  If I recall correctly, the main limitations are the lower resource CI machines, and false positives from multiple simultaneous tests that each use lots of GPU memory.

we want to add it since we have a lot of CPU headroom we're not using for tests in most cases, but there are a bunch of pitfalls like this waiting around that someone has to wade through and we haven't gotten around to it yet


Ensemble learner through hill climbing

Suppose:

We initialize an ensemble with some estimators having default settings.
Fit and Predict. Compute the training error.
Randomly pick new parameter settings.
do 2.

set a learning rate e.
while error < threshold:
a. update every parameter i with -(error(n) - error(n-1)) * (param_i(n) - param_i(n-1)) * e
b. Fit and Predict. Compute the training error.
Problem.
All parameters changes are directed based on total error score. So if some parameter a is on it's way to a good place, but some other parameter throws the scores off, a will be thrown off too.

I am not sure if this is exactly what you are looking for, but the optunity library implements a few algorithms for hyper parameter optimisation and the docs have some interesting papers referenced. I am not sure how these would behave in ensemble learning though, I have never tried it out for that purpose!

@gf712 sorry for the massive delay in the response. Thanks for the reference, it looks interesting! Probably not going to be integrated into the core code, but might be a nice complement for users.


Expose the resource types in addition to the api group/version in templates

Ported #5842 to Helm v3
Note, dep pruning unused packages was pruning packages used in
tests. Disabled pruning unused code.

What this PR does / why we need it:
Special notes for your reviewer:
If applicable:

[x] this PR contains documentation
[x] this PR contains unit tests
[ ] this PR has been tested for backwards compatibility

@hickeyma done.

LGTM, thanks @mattfarina. Good to merge.


dist is not a 2.0 build?

I have the impression that the "built" version available in dist is not the latest 2.0 build, is it? The header says 1.2.3 and it seems some code like _prettify is missing.

You were right, I totally forgot to package it in the 2.0.0 version.
This should be fixed now with 2.0.1 version.
Best


Add new tests for Get-ChildItem (FileSystemProvider)

PR Summary
Add new tests for better code coverage in SessionStateContainer.cs and FileSystemProvider.cs.
PR Context
I prepare a code to address issue #9119 but we have not tests to cover the code paths at all. To avoid regressions we should merge the new tests before new code will be pulled.
Some bugs (#9126 and #3304) was discovered, the new tests was marked as pending.
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

[ ] 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 enumerated concerns in the summary. This may include:

Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode (which runs in a different PS Host).
Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.
Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).
Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

@SteveL-MSFT Please continue your review.

@SteveL-MSFT Please continue your review.


Feat swagger

PR checklist
Please tick all of the below (if a certain item is not required for this PR please tick the box anyway)
Docs

[x] If you added new code; is it self documenting? (all the variable names clear, comments added where appropriate)
[x] If you touched existing code; did you refactor existing naming, added comments where necessary?

Tests

[x] If your ticket adds new functionality; have you added unit tests to verify behaviour?
[ ] If your ticket alters user interaction with the UI; have you added integration tests?
[ ] Do your tests check for every convievable user behabviour? (all behaviours the user can perform)

Typing

[x] If you added new code; have you added typing?
[x] If you touched existing code; have you improved its typing?

Styling

[ ] If new styles were created; Did you refactor/add more styles in css-in-js style?
[ ] Are all fonts, sizes, colours, margins, paddings in line with designs?
[ ] Did you perform a visual comparison of the implementation with the designs?

This PR does the following:

cleans up and refactors imports
code splitting with import()
restructure how "apps" are rendered and where things like redux are introduced
new scripts for starting/building apps: npm run <APP_NAME> <SCRIPT> (ex: npm run dashboard build)
build-small script (no source maps)
fix for URL parsing (supports both normal and hash-based routing)

@imsergiy could you

make sure the README snippet work under the debugging tool (see Han's message in slack)
resolve the failing checks above

Thanks!


Fix 2 build error; Use interface when ever possible.

Fix 2 build error with following error message.
src/controllers/user.ts:96:5 - error TS2345: Argument of type '{ email: any; password: any; }' is not assignable to parameter of type 'Partial'.
Object literal may only specify known properties, and 'email' does not exist in type 'Partial'.

96     email: req.body.email,
~~~~~~~~~~~~~~~~~~~~~
src/controllers/user.ts:106:16 - error TS7006: Parameter 'err' implicitly has an 'any' type.
106     user.save((err) => {
~~~
npm ERR! code ELIFECYCLE

Use interface when ever possible, refactor the model of user, make it more understandable.
Use the name User to represent the TypeScript type User.
Use the name UserDocument to represent the mongoose documents which can be saved and retrieved from database.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: foolisheep sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Hi, I'm not able to re-produce these errors on master. It looks like you've made quite a few changes in this PR, which makes it tricky to merge right now (lots of merge conflicts)
Is there any chance you can show me how to re-produce this issue?

Going to close this due it lack of a response - thanks for trying to help out though!


Assignment of integration domains with functions

Hi,
thanks at first for all your effort writing this library!
My problem is about integrating a set of functions over different domains (in my case the different cells of a tetrahedron mesh). The used functions are only defined on parts of the domain, so it does not make sense to integrate them over the whole domain.
Giving quadpy the set of functions and the set of domains as input, it will now compute the integrals of all functions over all domains, which seems a bit wasteful in terms of performance (the result is 0 mostly). Is there a possibility to assign the subdomains with their functions so the additional integrals are not computed any more?
I could of course use a for loop over all subdomains, but this seems a bit adverse for the performance because it is not vectorized.
Thanks!

I understand the problem. I can't think of a better way than looping right now, tbh. The thing is that you have different domains and different functions, so the integrals have nothing to do with each other, except perhaps that you want to use the same scheme for every integration. Hm.

Hm okay, I see. Then I will stick to the for loop for now. Thanks nevertheless for the quick answer!

The used functions are only defined on parts of the domain, so it does not make sense to integrate them over the whole domain.

Are you talking about FEM trial/test functions here actually?

Almost, in this case its (SWG) basis functions for Method of Moments.

Ah okay. I'm not familiar with that.


SASS cache location

I have standard Rails 4.2 app, without compass.
I found similar question but with compass usage.
Recently in the project directory appears folder ".sass-cache".
All what i want , it's just move it to tmp.
In application.rb tried:
module Sirius41
  class Application < Rails::Application
    ...
    config.sass.cache_location = Rails.root.join('tmp', '.sass-cache').to_s
    ap config.sass
  end
end

sass_options = {:cache_path => Rails.root.join('tmp', '.sass-cache').to_s}

But it don't change the cache location.
Rails sass config values:
{
 :preferred_syntax => :scss,
   :cache => true,
   :read_cache => true,
   :line_comments => true,
   :load_paths => [],
   :logger => #<Sass::Rails::Logger:0x007f80d9148118     @log_level=:debug>,
   :cache_location => "/home/anton/rubyprojects/sirius42/tmp/.sass-cache"
}

Are you sure that this directory is being create by sass-rails? By the default configuration and the fact that any of my projects have this folder I think it is something else that is creating. Could you create an example application that reproduces it?

I created new project with only one additional gem 'haml'.
And added one partial
/app/views/layouts/_material_circle.html.haml
Inside haml template there is scss.
This is file is the reason of creation ".sass-cache"
https://github.com/oslyak/sass-test

I see. This seems to be related with haml. Is you able to reproduce it with ERB?

No, I don't

I see. Maybe you should open an issue on the haml repository since it is specific for haml.
Thank you for reporting.


[Broker] no-persistent topic support terminate

#11834

Could you please add a test for it?

Ok, I'll add it

The problem with non-persistent topics is that the termination will be lost at the next broker restart or topic failover so it would not make much practical sense.

Got it, I will close this pr.


Can't login after entering wrong password

When I enter a wrong password and log in, nothing happens. No error message, nothing. So I correct my password but now I'm unable to login (no error message shows up). I have to restart X to do so. Is it just me or is it a bug?

This bug is "fixed" by adding
else {
   login.init();
}

to the if statement in window.authentication_complete().
I say "fixed" because the user gets no feedback about the incorrect password, and can continue typing and backspacing if he/she does so immediately before the field is automatically cleared. I'd like to clean up this behavior some, then I'll send a PR.

any progress on this bug?


feat(website): add scrape sitemap function

Because

we want website component to improve better scrap function

This commit

add sitemap task in website component

@chuang8511 Please rebase the PR. Thanks!

rebased


Retrieve human-readable names for the list of runtime versions (#34)

Closing as it was already solved in the booster-catalog-service


IGNITE-16573 Support schema changes concerning externalizability status

https://issues.apache.org/jira/browse/IGNITE-16573

Thanks for the review


chore: bdd-spring-1590028178 to 0.0.1

chore: Promote bdd-spring-1590028178 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Error controlling media: Can't use DBus for media and Pulseaudio is not installed

What type of installation are you running?
Desktop
Which Linux OS are you using?
Ubuntu 24.04
Which version of LNXLink has the issue?
2024.7.0
Describe the problem
I can't control media.
Additional context
No response
Configuration
mqtt:
  prefix: lnxlink
  clientId: rog2
  server: redacted
  port: redacted
  auth:
    user: redacted
    pass: redacted
    tls: true
    keyfile: ''
    certfile: ''
    ca_certs: ''
  discovery:
    enabled: true
  lwt:
    enabled: true
    qos: 1
    retain: false
update_interval: 5
hass_url: null
hass_api: null
modules:
- audio_select
- camera_used
- cpu
- disk_usage
- display_env
- gpu
- idle
- inference_time
- media
- memory
- network
- required_restart
- screen_onoff
- speaker_used
- suspend
- sys_updates
- temperature
- wifi
- update
custom_modules: null
exclude:
- bash
- battery
- boot_select
- brightness
- fullscreen
- gpio
- ir_remote
- keep_alive
- keyboard_hotkeys
- mouse
- notify
- power_profile
- screenshot
- send_keys
- speech_recognition
- statistics
- systemd
- webcam
- xdg_open
settings:
  systemd: null
  gpio:
    inputs: null
    outputs: null
  hotkeys: null
  disk_usage:
    include_disks: []
    exclude_disks: []
  statistics: null
  bash:
    allow_any_command: false
    expose: null
  mounts:
    autocheck: false
    directories: []
  ir_remote:
    receiver: null
    transmitter: null
    buttons: []

Logs
Jul 08 16:01:32 rog2 lnxlink[127495]: ERROR:lnxlink:Pulseaudio is not installed on your system: 'NoneType' object has no attribute 'Pulse'
Jul 08 16:01:32 rog2 lnxlink[127495]: WARNING:dbus_idle:Could not load DBusIdleMonitor
Jul 08 16:01:32 rog2 lnxlink[127495]: WARNING:dbus_idle:Could not load XprintidleIdleMonitor
Jul 08 16:01:32 rog2 lnxlink[127495]: WARNING:dbus_idle:Could not load X11IdleMonitor
Jul 08 16:01:32 rog2 lnxlink[127495]: WARNING:dbus_idle:Could not load WindowsIdleMonitor
Jul 08 16:01:32 rog2 lnxlink[127495]: ERROR:lnxlink:Can't use DBus for media
Jul 08 16:01:32 rog2 lnxlink[127495]: ERROR:lnxlink:Error with addon Media Info: 'NoneType' object has no attribute 'Mixer', Traceback (most recent call last):
Jul 08 16:01:32 rog2 lnxlink[127495]:   File "/home/user/.local/share/pipx/venvs/lnxlink/lib/python3.11/site-packages/lnxlink/__main__.py", line 121, in run_module
Jul 08 16:01:32 rog2 lnxlink[127495]:     pub_data = method()
Jul 08 16:01:32 rog2 lnxlink[127495]:                ^^^^^^^^
Jul 08 16:01:32 rog2 lnxlink[127495]:   File "/home/user/.local/share/pipx/venvs/lnxlink/lib/python3.11/site-packages/lnxlink/modules/media.py", line 100, in get_info
Jul 08 16:01:32 rog2 lnxlink[127495]:     "volume": self._get_volume(),
Jul 08 16:01:32 rog2 lnxlink[127495]:               ^^^^^^^^^^^^^^^^^^
Jul 08 16:01:32 rog2 lnxlink[127495]:   File "/home/user/.local/share/pipx/venvs/lnxlink/lib/python3.11/site-packages/lnxlink/modules/media.py", line 136, in _get_volume
Jul 08 16:01:32 rog2 lnxlink[127495]:     mixer = self.lib["alsaaudio"].Mixer()
Jul 08 16:01:32 rog2 lnxlink[127495]:             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jul 08 16:01:32 rog2 lnxlink[127495]: AttributeError: 'NoneType' object has no attribute 'Mixer'

I am a bit confused of your logs and the configuration because you have ignored media and it shows up in the logs. Also it would be useful to have the full logs from when service starts.
For graphical interfaces, the display_env module is required for the other modules to work.
Also make sure the dependencies are installed:
sudo apt install patchelf meson libdbus-glib-1-dev libglib2.0-dev libcairo2-dev libgirepository1.0-dev
sudo apt install libasound2-dev upower xdotool xdg-utils python3-pyaudio portaudio19-dev

In case this doesn't work, you could try installing the python dependencies manually like so:
/home/user/.local/share/pipx/venvs/lnxlink/bin/python -m pip install pyalsaaudio

Running the 2 apt install showed all those packages were already installed.
Running the pip install returned an error:
Collecting pyalsaaudio
  Using cached pyalsaaudio-0.11.0.tar.gz (311 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: pyalsaaudio
  Building wheel for pyalsaaudio (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for pyalsaaudio (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [12 lines of output]
      running bdist_wheel
      running build
      running build_ext
      building 'alsaaudio' extension
      creating build
      creating build/temp.linux-x86_64-cpython-311
      gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/nix/store/5xynf9c9ml7d97q70kpq9rpqqmx13xl8-libxcrypt-4.4.36/include -fPIC -I/home/user/.local/share/pipx/venvs/lnxlink/include -I/nix/store/7hnr99nxrd2aw6lghybqdmkckq60j6l9-python3-3.11.9/include/python3.11 -c alsaaudio.c -o build/temp.linux-x86_64-cpython-311/alsaaudio.o
      alsaaudio.c:28:10: fatal error: alsa/asoundlib.h: No such file or directory
         28 | #include <alsa/asoundlib.h>
            |          ^~~~~~~~~~~~~~~~~~
      compilation terminated.
      error: command '/home/user/.nix-profile/bin/gcc' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pyalsaaudio
Failed to build pyalsaaudio
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (pyalsaaudio)

I noticed an error on the journalctl logs, which indicates a similar problem for installing pyalsaaudio:
Jul 08 20:11:16 rog2 systemd[4567]: Started lnxlink.service - LNXlink.
Jul 08 20:11:16 rog2 lnxlink[191541]: INFO:lnxlink:LNXlink 2024.7.0, Python 3.11.9
Jul 08 20:11:16 rog2 lnxlink[191541]: ERROR:lnxlink:Can't import package dbus-python: libsystemd.so.0: cannot open shared object file: No such file or directory
Jul 08 20:11:16 rog2 lnxlink[191541]: ERROR:lnxlink:Can't use DBus for system monitor
Jul 08 20:11:16 rog2 lnxlink[191541]: ERROR:lnxlink:Can't import package pulsectl: libpulse.so.0: cannot open shared object file: No such file or directory
Jul 08 20:11:16 rog2 lnxlink[191541]: ERROR:lnxlink:Pulseaudio is not installed on your system: 'NoneType' object has no attribute 'Pulse'
Jul 08 20:11:16 rog2 lnxlink[191541]: ERROR:lnxlink:Can't import package dbus-python: libsystemd.so.0: cannot open shared object file: No such file or directory
Jul 08 20:11:16 rog2 lnxlink[191541]: INFO:lnxlink:Installing 'pyalsaaudio>=0.9.2'...
Jul 08 20:11:17 rog2 lnxlink[191541]: ERROR:lnxlink:Can't install package pyalsaaudio
Jul 08 20:11:17 rog2 lnxlink[191541]: ERROR:lnxlink:Can't import package mpris2: libsystemd.so.0: cannot open shared object file: No such file or directory

I did have excluded and included modules, I fixed that, I'll update the issue description.

Ok, it is related to nixpkgs. I'm on Ubuntu but using nixpkgs for pretty much everything. After changing the path to prefer the system installed Python the pip install command worked. I'll figure out what is happening and post an update.

I'm closing the issue, it was entirely related to Nix and Nixpkgs.
I completely removed Python from my home-manager installation, but it's dependencies were still a problem when building native python dependencies. Only when I completely removed any reference to Nix from the path did the project build and work.
I'm not sure why this is hapening, I haven't had similar problems with other languages, but I do know these things can happen with Nix.
The thing that helped me was your tip to use python -m pip install directly, which allowed me to evolve my investigation. Thanks for that.

I am not familiar with Nix Package Manager, but I am happy that you finally managed to get it running.


Is there a way to redirect all requests to index.html to support client side routing?

The -P flag, yes.

But the server crashes when if I try to access <IP_ADDRESS>/something (when something is handled by client side)
stack trace:
http-server -P /
Starting up http-server, serving ./
Available on:
  http://<IP_ADDRESS>:8080
  http://<IP_ADDRESS>:8080
Unhandled requests will be served from: /
Hit CTRL-C to stop the server
[Sat May 13 2017] "GET /boo" "Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0"
/usr/lib/node_modules/http-server/node_modules/requires-port/index.js:13
  protocol = protocol.split(':')[0];
                     ^

TypeError: Cannot read property 'split' of null
    at required (/usr/lib/node_modules/http-server/node_modules/requires-port/index.js:13:22)
    at Object.common.setupOutgoing (/usr/lib/node_modules/http-server/node_modules/http-proxy/lib/http-proxy/common.js:102:7)
    at Array.stream (/usr/lib/node_modules/http-server/node_modules/http-proxy/lib/http-proxy/passes/web-incoming.js:120:14)
    at ProxyServer.<anonymous> (/usr/lib/node_modules/http-server/node_modules/http-proxy/lib/http-proxy/index.js:80:21)
    at Array.<anonymous> (/usr/lib/node_modules/http-server/lib/http-server.js:109:13)
    at dispatch (/usr/lib/node_modules/http-server/node_modules/union/lib/routing-stream.js:119:21)
    at g (events.js:292:16)
    at emitNone (events.js:86:13)
    at emit (events.js:185:7)
    at /usr/lib/node_modules/http-server/node_modules/union/lib/routing-stream.js:114:23

@dumptyd as you've found, -P is not what you want. That's for proxying other endpoints and / isn't one.
Would you mind giving PR #369 a try for your use case and reporting thoughts over there?
Thanks!
🎩

We've added the recommendation to use 404.html as the fallback URL. It prevents over catching (at multiple URLs) of a single "fallback" response, still provides the option to later create static (or server-side rendered) resources at each URL (which is far better for production environments), and still plays nice with pushState() usage.


Twitter link in the navigation bar

Twitter icon in the navigation bar takes you away from the website.

I gave it a try. The wazimap base template is structured in such a way that you can't override the twitter logo section. To change it, I had to override the whole head block.
Have a look at this commit
For the time being, this is the only way. Should I merge it? @prashishh
I have opened a new issue on the wazimap repo  regarding this.

Great job! Did you verify responsiveness of the new code block?
With this customization, we can be creative to what we can add in the navigation bar instead of the twitter handle.

It's responsive. Yes, I'll push it to the main repo then?

Please go ahead.
On Oct 18, 2016 8:57 AM, "Amit Chaudhary"<EMAIL_ADDRESS>wrote:

It's responsive. Yes, I'll push it to the main repo then?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Code4Nepal/nepalmap_app/issues/67#issuecomment-254553536,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA6-B1hb86mNBH4hCUJeMbRDJ5fdzJ7Qks5q1OxkgaJpZM4KZawS
.


[RESOLVED] High ICMP ping response time

Problem started at 08:10:29 on 2023.05.03
Problem name: High ICMP ping response time
Host: HP_iLO
Severity: Warning
Operational data: Value: 644ms
Original problem ID: 20233
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23268&eventid=20233

Problem has been resolved in 5m 0s at 08:15:29 on 2023.05.03
Problem name: High ICMP ping response time
Host: HP_iLO
Severity: Warning
Original problem ID: 20233