jquery.datetimepicker.js:1760 Uncaught TypeError: Cannot read property 'formatDate' of null     at jquery.datetimepicker.js:1760

Hello, everyone. I searched the issues and found issue #573, has the solution to solve this. However, after applying the solution, the style of html is totally abnormal. My code is like this:
<!DOCTYPE html>
<html>
  <head>
    <title></title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <link ref="stylesheet" type="text/css" href="source/jquerydatetimepicker/jquery.datetimepicker.css">
  </head>
  <body>
    <input id="datetimepicker" type="text" >
  </body>
  <script src="source/jquery-3.1.0.js"></script>
  <script src="source/moment.js"></script>
  <script src="source/jquerydatetimepicker/jquery.datetimepicker.js"></script>
    <script>
      $.datetimepicker.setDateFormatter({
          parseDate: function (date, format) {
              var d = moment(date, format);
              return d.isValid() ? d.toDate() : false;
          },
          formatDate: function (date, format) {
              return moment(date).format(format);
          },
      });
      $('#datetimepicker').datetimepicker();
    </script>
</html>

Here is the source code. And it looks like this:

the solution on me does worst, the data is all weird, visualization is fine by the way

The workaround also does not work properly for me.
As with @ramwin's screenshot, the minutes are shown as "i".
I think this project is dead.
So many issues and it's also still using jQuery 1.10.2, which is more than 5 years old now.
Even jQuery 2.x no longer receives patches.
I'm now going to use this one myself.

The workaround also does not work properly for me.
As with @ramwin's screenshot, the minutes are shown as "i".
I think this project is dead.
I'm now going to use this one myself.

I switched from this project to date range picker, you can set singleDatePicker as true, then it works like a datetimepicker.

@monlouisj that didn't work for me.

@monlouisj nailed it

@monlouisj thanks!

@monlouisj thanks...

I also met this issue, the solution was to include "jquery.datetimepicker.full.js" instead of "jquery.datetimepicker.js".

I changed my code using jquery.datetimepicker.full.js but the html is still broken. Here is the code.

I also met this issue, the solution was to include "jquery.datetimepicker.full.js" instead of "jquery.datetimepicker.js".

This saved me from 4 hours of searching and implemening different things. Cheers

I also met this issue, the solution was to include "jquery.datetimepicker.full.js" instead of "jquery.datetimepicker.js".

I changed my code using jquery.datetimepicker.full.js but the html is still broken. Here is the code.

You can write
$.datetimepicker.setDateFormatter('moment');
instead of $.datetimepicker.setDateFormatter
be sure it work!

I try to use jquery.datetimepicker.full.min.js and still ok, looks like we all that wrong. we use the file on the main dir instead of on the build directory?
Let's wait the maintainer to confirm this, I did like to suggest to explicitly note this on the documentation, so the future user won't end up on this kind of errors.

@Alru33 thank you.. I spent too long looking at the source code and your line solved my problem.

I also met this issue, the solution was to include "jquery.datetimepicker.full.js" instead of "jquery.datetimepicker.js".

my man

I just got this problem. And i solved it by following these steps on this page.
https://www.jqueryscript.net/time-clock/Clean-jQuery-Date-Time-Picker-Plugin-datetimepicker.html
it work for me 🗡

I also met this issue, the solution was to include "jquery.datetimepicker.full.js" instead of "jquery.datetimepicker.js".

my man

This is the solution. jut in case

I also met this issue, the solution was to include "jquery.datetimepicker.full.js" instead of "jquery.datetimepicker.js".


New version: ManuelLaggner.tinyMediaManager version 5.0

Pull request has been created with Komac v1.11.0 :rocket:

Resolves: #132337

Hi @BiosPlus,

This PR's version number 5.0 has 2 parameters (sets of numbers between dots - major, minor, etc), which is greater than the current manifest's version v4, which has 1 parameters.

Is this intentional?
(Automated response - build 510)

Whoops, missed this.
The previous versions of this manifest only tracked one digit for versions (v4), that old manifest has been removed and wanted to instill this for version 5.0 and onwards


npm ERR! Conflicting peer dependency<EMAIL_ADDRESS>

Environment
nuxt3.6
Reproduction
npm i @auth/core will install v 0.10 which is incompatible with this library. Works locally but crashes while building on vercel-edge
Describe the bug
npm ERR! Conflicting peer dependency<EMAIL_ADDRESS>npm ERR! node_modules/@auth/core
npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/@hebilicious/authjs-nuxt
npm ERR!     dev<EMAIL_ADDRESS>from the root project

Additional context
No response
Logs
No response

What is the issue with 0.10.0 ?

If you use:
    "@auth/core": "^0.10.2",
    "@hebilicious/authjs-nuxt": "^0.2.0-beta.5",

At least on vercel-edge the deployment fails immediately, these are the logs:

There was a reference about this also here

Fixed with beta.6 thanks!


"Forgot password"-Screen

User story

As a Siemens employee
I need to be able to reset my password
So that I can get access to the application in case that I forgot my password

Acceptance criteria

[x] There is a field where I can enter my E-Mail
[x] There is a button "Recover password" which can be pressed
[x] There is a link back to the login page
The connection to Siemens MyID should not be done (yet)

Definition of done

Documentation for that feature is done
Feature branch has been merged
Code has been reviewed by at least one other team member
Unit tests are written

Please feel free to review :)


Fix passing a custom output path to the vex plugin

follow-up on #86

Thanks. You can follow progress at https://ci2.apache.org/#/builders/3


Feature request: Make it possible to add a X509Certificate2 to a HttpClient instance using the IHttpClientFactory

When using the IHttpClientFactory , it is not possible to add a X509Certificate2 to the returned HttpClient. At present, I can only do this by using the ConfigurePrimaryHttpMessageHandler or creating a new HttpRequestMessage and adding the certificate as a header.

@rynowak
At possible it is not possible to add a certificate to the HttpClient when creating this using the IHttpClientFactory.
I can do it like this:
var clientCertificate = new X509Certificate2("child_b_from_a_dev_damienbod.pfx", "1234");

var handler = new HttpClientHandler();
handler.ClientCertificates.Add(clientCertificate);
handler.SslProtocols = SslProtocols.Tls11 | SslProtocols.Tls12;
handler.CheckCertificateRevocationList = false;
handler.ServerCertificateCustomValidationCallback = (message, cert, chain, errors) => { return true; };

var httpClient = new HttpClient(handler);

or like this which is not ideal for all solutions as the certificate is added for all HttpClient instances.
var clientCertificate = new X509Certificate2("child_a_dev_damienbod.pfx", "1234");
var handler = new HttpClientHandler();
handler.ClientCertificates.Add(clientCertificate);
handler.SslProtocols = SslProtocols.Tls11 | SslProtocols.Tls12;
handler.CheckCertificateRevocationList = false;
handler.ServerCertificateCustomValidationCallback = (message, cert, chain, errors) => { return true; };

services.AddHttpClient("api", c =>
{
}).ConfigurePrimaryHttpMessageHandler(() => handler);

It would be nice to have something like this:
var client = _clientFactory.CreateClient(handler);

@rynowak just released this makes no sense, using a named HttpClient with ConfigurePrimaryHttpMessageHandler can do exactly this.


the "override" keyword doesn't suggest super methods if the class constructor has multiline comment

When the constructor (Command) has a multiline comment:

When I remove the constructor comment:

TestCodeHint.zip
I've attached an example .as file to reproduce the problem.

Adding example code below so that I don't need to redownload the .zip file, if I ever need to revisit this issue in the future.
package
{
	import flash.events.EventDispatcher;

	public class TestCodeHint extends EventDispatcher
	{
		/**
		 * any comment
		 */
		public function TestCodeHint():void
		{
			super();

		}

		override
	}
}


Need for or_where

Looking to solve the issue for implementing or_where
I have written a few failing tests with or_where.
Will look to solve.
Using this PR as an open form of communication in the interim.
or_where seems to fail when reducing inside normalize query -- merge_keys

normalized_query.ex :336

stacktrace:
       (mongodb_ecto) lib/mongo_ecto/normalized_query.ex:448: Mongo.Ecto.NormalizedQuery.error/2
       (elixir) lib/map.ex:495: Map.update/4
       (elixir) lib/enum.ex:1755: Enum."-reduce/3-lists^foldl/2-0-"/3
       (mongodb_ecto) lib/mongo_ecto/normalized_query.ex:232: Mongo.Ecto.NormalizedQuery.query/3
       (mongodb_ecto) lib/mongo_ecto/normalized_query.ex:50: Mongo.Ecto.NormalizedQuery.all/2
       (mongodb_ecto) lib/mongo_ecto.ex:570: Mongo.Ecto.execute/6
       (ecto) lib/ecto/repo/queryable.ex:130: Ecto.Repo.Queryable.execute/5
       (ecto) lib/ecto/repo/queryable.ex:35: Ecto.Repo.Queryable.all/4
       test/mongo_ecto_test.exs:81: (test)

Writing a test inside normalized_query_new_test for or_where
I'm not 100% on what the expected format should be.
the Mongo syntax would be something like $or: [ { quantity: { $lt: 20 } }, { price: 10 } ]
  test "or_where" do
    query = Schema |> or_where([r], r.x == 42) |> or_where([r], r.y != 43)
                   |> select([r], r.x) |> normalize
    assert_fields query, query: %{"$or": [ [y: ["$ne": 43]], [x: 42]]}

    query = Schema |> or_where([r], r.x == 5) |> or_where([r], r.x == 10) |> normalize
    assert_fields query, query: %{"$or": [ [x: 5], [x: 10] ] }
  end

Make sure you write a test for a single or_where as well. It shouldn't end up having an "$or" in it at all.

Is there any update on this?

closing due to inactivity. Please feel free to re-open this and rebase off master.


feat: remove useless cjs dependencies

Pull request checklist
Please check if your PR fulfills the following requirements:

[ x] The changes have been tested successfully.

update of #91

@mlynch please could you take a look at this pull request? It is more than a year that I have to patch this package to make it work.
Thanks!


add configs for web embed mode

Description
Adds 2 new configs for the Web embed mode that were recently added to oCIS (see https://github.com/owncloud/ocis/pull/7670):

mode Defines the mode in which Web will be running.
embedTarget Defines how Web is being integrated when running in embed mode.

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Technical debt
[ ] Tests only (no source changes)

@JammingBen
may I ask you to add a second section to the helm chart instead?
the current version would eigther deploy embedd mode or web - not both.

@JammingBen may I ask you to add a second section to the helm chart instead? the current version would eigther deploy embedd mode or web - not both.

As far as I understood this PR only gives the ability to set this config, but it will default to empty (=not being set). I don't know much about helm charts though, maybe some of our experts can verify this?
If my assumption is correct it means Web will run in normal mode. The embed mode can then always be activated via the query param mode=embed (and optionally embed-target=location).

In order to proceed with this PR we need to answer:
* should the chart always ship a full oC Web on the `externalDomain`? (I think it wouldn't make much sense to not ship a full oC Web!? Reasons welcome why it makes sense to only ship oC Web embed)

YES please always ship Web.

Pushed again because the structure of the config changed a bit with https://github.com/owncloud/ocis/pull/7766.


Auth._loadRoles should not query the same role twice.

This fixes bug #1365 By not triggering a _getAllRoleNamesForId for roleID's that have already been queried.

Very cool!

What happens when new roles are created and added into the hierarchy or removed from the hierarchy?

Current coverage is 93.11%

Merging #1366 into master will increase coverage by +0.01% as of 1fe12b7

@@            master   #1366   diff @@
======================================
  Files           84      84
  Stmts         5411    5415     +4
  Branches       997     999     +2
  Methods          0       0
======================================
+ Hit           5038    5042     +4
  Partial          9       9
  Missed         364     364

Review entire Coverage Diff as of 1fe12b7

Powered by Codecov. Updated on successful CI builds.

Its on a per Auth._loadRoles caching, so each new request will still do the full new query.
It is just trying to limit the same query from happening multiple times in the Auth._loadRoles

Alright! LGTM!

It would probably be a good idea to sometime in the future cache the results of these _loadRoles on a per user basis, in my application right now I can get upwards of 1000 _Role queries in a single query. Not too sure how Parse.com did it, but it was much faster on there than it is on ParseServer

Caching is quite a challenge in a distributed environment. But we definitely should look into it.

That being said, the Cache class could support easily role hierarchies, and we could invalidated the same way we invalidate users. If that's something you wanna tackle, feel free to get going.

This commit actually solves most of our performance problems with Roles in our production environment :)
It would be tricky to trigger cache invalidations on multiple VM's when a one VM changes a Role or User.
Looking of the invalidation code you have already for the User, you would run into this problem when you have more than one instance of the ParseServer.
Do you have anywhere where devs on this project talk (Gitter/IRC/Slack/?), as talking more about this  here isnt really ideal.

Shoot me a mail.


lxqt-panel: fix for explicit (a C++11 keyword) being used as variable

It is needed to override "explicit" as this is a C++ keyword. But it
is used as variable name in xkb.h. This is causing a failure in C++
compile time.  Similar bug here:
https://bugs.freedesktop.org/show_bug.cgi?id=74080
Workaround from
https://github.com/lxde/lxqt-panel/commit/ec62109e0fa678875a9b10fc6f1975267432712d.
Motivation for this change
Things done

[x] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Fixes https://github.com/NixOS/nixpkgs/issues/24337.
/cc @zetok

Works fine for me.


texlive.dvisvgm.pkgs: fix build with clang 16

Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

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

7 packages marked as broken and skipped:

manim
manim.dist
xyce
xyce-parallel
xyce-parallel.doc
xyce.doc
yosys-bluespec

2 packages failed to build:

blahtexml
blahtexml.doc

9 packages built:

advi
ne
nuweb
texliveFull
texliveFull.info
texliveFull.man
texliveMedium
texliveMedium.info
texliveMedium.man

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

7 packages marked as broken and skipped:

manim
manim.dist
xyce
xyce-parallel
xyce-parallel.doc
xyce.doc
yosys-bluespec

11 packages built:

advi
blahtexml
blahtexml.doc
ne
nuweb
texliveFull
texliveFull.info
texliveFull.man
texliveMedium
texliveMedium.info
texliveMedium.man


Rename interfaces to ..Interface

What do you think about following the internal PHP-FIG conventions and naming all interfaces ..Interface?
I would also move the interfaces one level deeper, LinkingInterface into mcordingley\Regression\Linking and RegressionStrategyInterface into mcordingley\Regression\RegressionStrategy
See https://github.com/php-fig/fig-standards/blob/master/bylaws/002-psr-naming-conventions.md
It would make the code just a little bit more readable.

I'm all for following standards and a community-level style-guide, even if that means having to adapt my own personal style. However, the PHP-FIG conventions on this feel redundant. I'm not sure how I feel about that, yet.

No problem, just a suggestion.
Should you decide to do it, it's easier to do it now, before it's stable.

Nope, it feels cleaner to do it this way. I also renamed the RegressionStrategy to something more descriptive while I was at it.

Thumbs up, the renaming made it clearer.

Iterate to perfection. :)
On Tue, Mar 3, 2015 at 11:16 AM, Revisor<EMAIL_ADDRESS>wrote:

Thumbs up, the renaming made it clearer.
—
Reply to this email directly or view it on GitHub
https://github.com/mcordingley/Regression/issues/1#issuecomment-76976786
.

--
Michael Cordingley
740.707.7809


New version: gilbertchen.duplicacy.cli version 3.2.3

Pull request has been created with komac v2.2.1 :rocket:
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:
(Automated response - build 886.)


Navbar Modularize

In preparation for navbar bugfixes, optimization is necessary to collect all relevant styling, html and scripts into locations that make sense. Visit http://<IP_ADDRESS>:8000/ and verify the footer and navbar behave as expected. Note there is a pre-existing 1-2 pixel jump between Discover and the other entries, which will be adjusted when all pages are on the same base template. This is a step in that direction.
username czo_sierra pw czone123
Quite a bit of deep, underlying code has moved around, so this is to verify nothing has broken. Maybe also just perform a cursory hop across all the main pages and ensure no styling has gone awry in unexpected areas.

@hydrocheck This is also ready for a review, per our temporary Feb/March CUAHSI processes, working closely with RENCI.

METRIC
VALUE

NEW CODE SMELLS
0

NEW BUGS
13

NEW VULNERABILITIES
0

NEW SECURITY HOTSPOTS
0

NEW DUPLICATED LINES DENSITY
8.2063305978898

https://sonarqube.cuahsi-workstation.com:9000/dashboard?id=hydroshare-4162

@cuahsimarko PR and regression testing suggests this is good. 👍


Added some wordpress and Wocommerce docs

Added 3 docs for woocommerce on the hypernode platform.

How to use "Converter for Media – Optimize images | Convert WebP & AVIF" plugin
How to Set Up a cron job for WordPress/WooCommerce on Hypernode
How to Use Redis with WooCommerce and WordPress on Hypernode

Run mdformat --check docs/
Error: File
"/home/runner/work/hypernode-docs-next/hypernode-docs-next/docs/ecommerce-applications/woocommerce/how-to-use-redis-with-woocommerce-and-wordpress-on-hypernode.md"
is not formatted.
Error: File
"/home/runner/work/hypernode-docs-next/hypernode-docs-next/docs/ecommerce-applications/woocommerce/how-to-configure-converter-for-media-plugin-for-wordpress-woocommerce.md"
is not formatted.
Error: File
"/home/runner/work/hypernode-docs-next/hypernode-docs-next/docs/ecommerce-applications/woocommerce/how-to-set-up-a-cron-job-for-wordpress-woocommerce-on-hypernode.md"
is not formatted.
Error: Process completed with exit code 1.


removed end date for when banning users

removed the end date fields for when banning users
fixed issue #379

Closing, the celts admins decided they wanted to require end date


This maybe caused by not completely installed ancypwn. [SOLUTION]

$ sudo ancypwn run .
sh: xhost: command not found
This maybe caused by not completely installed ancypwn.
Have you read https://github.com/Escapingbug/ancypwn?

 Sorry for late reply, I was on some CTFs these two days. I will fix this right away. I really should consider this situation ahead. :)

Could you please provide me with more information about your running environment? I only considered Xorg actually, as I saw your missing "xhost", I think this might be some environment differences. I might add more support for other environment if it is possible.

ENVIRONMENT
VALUE

OS
Mac OS X

OS_Version
10.14.2

OS_Build_Version
18C54

Terminal
xterm-256color

Terminal_Program
Apple_Terminal

Terminal_Program_VersionShell
421.1

Shell
bash

Docker_Version
18.09.0

Docker_Build
4d60db4

This is my environment.
If you need other my environment information, anytime contact me. :D

Ok, macos is not supported yet. But I'm working on it. My teammate has already get it running and with the terminal support. I will do some updates shortly after I solved this unfinished CTF challenge..

I have done some basic stuff on macos, but yet I have no device to debug. On readme I have written some macos instructions to setup terminal support, but as far as I know xquatz actually have a DISPLAY environment set to a socket file. I was wondering if this socket file is usable within docker.
I was wondering if you could help me on this, to try the xquatz, and mount the socket file inside the docker container. And inside the docker container, setup the DISPLAY environment to point to the path to that socket file (within docker), see if lxterminal work.
Apparently my teammates have abandoned me...

...

Nevermind, my team mate has been back.


Next due date updates slowly

System Health details
System Information

version
core-2024.2.2

installation_type
Home Assistant Container

dev
false

hassio
false

docker
true

user
root

virtualenv
false

python_version
3.12.1

os_name
Linux

os_version
4.4.302+

arch
x86_64

timezone
Europe/Budapest

config_dir
/config

Home Assistant Community Store

GitHub API
ok

GitHub Content
ok

GitHub Web
ok

GitHub API Calls Remaining
4970

Installed Version
1.34.0

Stage
running

Available Repositories
1409

Downloaded Repositories
34

HACS Data
ok

AccuWeather

can_reach_server
ok

remaining_requests
29

Home Assistant Cloud

logged_in
false

can_reach_cert_server
ok

can_reach_cloud_auth
ok

can_reach_cloud
ok

Dashboards

dashboards
4

resources
20

views
25

mode
storage

Recorder

oldest_recorder_run
February 18, 2024 at 18:55

current_recorder_run
February 28, 2024 at 11:24

estimated_db_size
1180.21 MiB

database_engine
sqlite

database_version
3.44.2

Spotify

api_endpoint_reachable
ok

Checklist

[X] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of currently previous issues..

Describe the issue
This might not be a bug per se, but perhaps just a lack of understand on my part. I'm trying to figure out when and how exactly chores should have their next due dates updated. Generally, chores do seem to work fine on my installation, their next due dates just update really slowly.

For chores that I freshly create, it takes them a while to receive their first due dates. It shows as "Unknown" for quite some time. (This is what the logs below show, two new chores with no due dates determined, even after restarting HA.)
Here's a chore I created 15 minutes ago which still doesn't have any due date, and therefore doesn't show up on my dashboard either:

For existing chores that have due dates that I complete, it also takes them a while (several hours in some cases) for their next due date to be updated.
Here's an older screenshot where I completed a chore well before its due date, 11 days early. The chore is set up to every 14 days, so its next due date should be in March after completing it on the 18th of February. However, it still showed up with a due date of the 29th for at least half a day. It eventually updated, but I don't know when and how.

Is it possible I have something set up incorrectly? Is there something I could do (like call a service manually) to force chores to update their due dates?
Reproduction steps

Create a new chore
Look at its next due date shortly after its creation
It just shows up as "Unknown"

Debug logs
2024-02-28 11:25:01.568 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.weekly_plant_watering, old_state=None, new_state=<state sensor.weekly_plant_watering=unknown; last_completed=None, last_updated=None, overdue=False, overdue_days=None, next_due_date=None, offset_dates=None, add_dates=None, remove_dates=None, unit_of_measurement=days, device_class=chore_helper__schedule, icon=mdi:watering-can-outline, friendly_name=Weekly plant watering @ 2024-02-28T11:25:01.567935+01:00>>
2024-02-28 11:25:01.572 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=min_max>
2024-02-28 11:25:01.574 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up trend.binary_sensor
2024-02-28 11:25:01.577 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.triweekly_plant_watering, old_state=None, new_state=<state sensor.triweekly_plant_watering=unknown; last_completed=None, last_updated=None, overdue=False, overdue_days=None, next_due_date=None, offset_dates=None, add_dates=None, remove_dates=None, unit_of_measurement=days, device_class=chore_helper__schedule, icon=mdi:watering-can-outline, friendly_name=Triweekly plant watering @ 2024-02-28T11:25:01.577002+01:00>>
2024-02-28 11:25:24.764 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event chore_helper_loaded[L]: entity_id=sensor.weekly_plant_watering, due_dates=[]>
2024-02-28 11:25:24.765 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.weekly_plant_watering, old_state=<state sensor.weekly_plant_watering=unknown; last_completed=None, last_updated=None, overdue=False, overdue_days=None, next_due_date=None, offset_dates=None, add_dates=None, remove_dates=None, unit_of_measurement=days, device_class=chore_helper__schedule, icon=mdi:watering-can-outline, friendly_name=Weekly plant watering @ 2024-02-28T11:25:01.567935+01:00>, new_state=<state sensor.weekly_plant_watering=unknown; last_completed=None, last_updated=2024-02-28T11:25:24.764716+01:00, overdue=False, overdue_days=None, next_due_date=None, offset_dates=None, add_dates=None, remove_dates=None, unit_of_measurement=days, device_class=chore_helper__schedule, icon=mdi:watering-can-outline, friendly_name=Weekly plant watering @ 2024-02-28T11:25:01.567935+01:00>>
2024-02-28 11:25:24.765 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event chore_helper_loaded[L]: entity_id=sensor.triweekly_plant_watering, due_dates=[]>
2024-02-28 11:25:24.766 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sensor.triweekly_plant_watering, old_state=<state sensor.triweekly_plant_watering=unknown; last_completed=None, last_updated=None, overdue=False, overdue_days=None, next_due_date=None, offset_dates=None, add_dates=None, remove_dates=None, unit_of_measurement=days, device_class=chore_helper__schedule, icon=mdi:watering-can-outline, friendly_name=Triweekly plant watering @ 2024-02-28T11:25:01.577002+01:00>, new_state=<state sensor.triweekly_plant_watering=unknown; last_completed=None, last_updated=2024-02-28T11:25:24.766093+01:00, overdue=False, overdue_days=None, next_due_date=None, offset_dates=None, add_dates=None, remove_dates=None, unit_of_measurement=days, device_class=chore_helper__schedule, icon=mdi:watering-can-outline, friendly_name=Triweekly plant watering @ 2024-02-28T11:25:01.577002+01:00>>

Diagnostics dump
No response

I am also seeing this issue where my next due dates are not updating after marking chores as complete. I didn’t have this issue the first day of installing but now a few days later it’s taking forever to update. Love the chore system, but this needs a fix to really be useable.

Hm, the dates should be calculated anytime the state is updated. This normally happens automatically, but there is also an update_state service which can be used to update it anytime.
When you're experiencing the delays in updating, does it fix it by calling the update service, or is the update not working even then?

I am also facing this issue. I have been playing a bit with this chore system and kinda of trying to find a way to define the date when the chore was complete because I probably will not right way mark it as completed. So I wanted to create some sort of interface where I could define the date in case I completed let's say 2 days ago today and I want to register that as my date of completion instead of current date.
I used the chore_helper.complete service and included last_completed attribute and it worked in the sense the "Last completed" date changed to the one I defined but the next due date did not change right way. I even tried the chore_helper.update_state service and still no change on the due date.
I even tried yesterday using the chore_helper.complete service without defining the last_completed, so the current date would be used and again the due date did not change. In fact, it seems that it got updated but only at midnight.

Sorry somethings are in portuguese but I think you get the idea. This is an After 2 weeks chore to clean my cat's litter box. The due date before was 23rd July as you can see I even tried to play with the chore_helper.remove_date service.
I also tried to define it as an After 14 days chore with an alternative chore and still got the same issue. I set it as completed and then 6 minutes after not updating the due date, I called the chore_helper.update_state service and as you can see from the print below it still says 13 days and the due date set to 30th July, when should be 14 days and due date 31st July. My guess is it will be corrected at midnight today.

Hope this helps you debug it.
I really like this chore system and I hope this is a minor bug that could be easily spotted.
Keep up with the good work!


onActivityResult is not called

I try today to upload video to server using MediaPicker framework i use "net.alhazmy13.MediaPicker:libary:2.4.0" but the  onActivityResult is not called i checked the permission it is granted i dont know what is the issue
  addImageDialog.findViewById(R.id.btnUploadVideo).setOnClickListener(new View.OnClickListener() {             @Override             public void onClick(View v) {                 new VideoPicker.Builder(getActivity())                         .mode(VideoPicker.Mode.CAMERA_AND_GALLERY)                         .directory(VideoPicker.Directory.DEFAULT)                         .extension(VideoPicker.Extension.MP4)                         .enableDebuggingMode(true)                         .build();             }         });

i also facing this problem

Can you please test the last Version 2.4.4
This issue should be fixed

Using fragment get the result main activity onActivityResult method.

Can you please make public imageConfig in Builder,
so i can call startActivityForResult() in fragment.

Can you please make public imageConfig in Builder,
so i can call startActivityForResult() in fragment.

Cloud you please elaborate this .? what you are saying .

starActivityfor result from fragment create new empty activity for get the path end then return result to fragment


bodyAsString can only be called once

Describe the bug
If you call bodyAsString in a Middleware (for example, to log the request), and then call it again in the actual processing of the request, the second call hangs forever.
To Reproduce
Steps to reproduce the behaviour:

Create a middleware that calls bodyAsString
Apply the middleware twice
Send a request

Expected behaviour
bodyAsString can be called any number of times.

I just stumbled into the exact same issue


{"message": "media_needs_reupload", "media": {"upload_id": "1581248903578", "device_timestamp": "1581248903578"}, "error_title": "bad image input extra:{}", "status": "ok"}

i try upload image with new endpoint  "rupload_igphoto/". But configurephotorequest doesn't work. I receive this error {"message": "media_needs_reupload", "media": {"upload_id": "1581248903578", "device_timestamp": "1581248903578"}, "error_title": "bad image input extra:{}", "status": "ok"}

Hi please see #393 .
I opened #411 you may use my fork for media uploads.

Addressed in rewrite or no longer relevant.


Comparing okio's okhttp3 and retrofit in performing network calls

Article checklist
Attention
Our Peer Reviewer and Content Moderator teams do NOT provide any revisions services. All revisions and edits should be completed on your own forked repo (as to not take up room in the queue) in order for our team to review them all in a timely manner.
ANY ARTICLE SUBMITTED WITH GLARING ERRORS WILL BE IMMEDIATELY CLOSED.

As a rule of thumb - please be sure to only submit articles (pull requests) that are fully polished and ready to be published. Be sure to go through our resources documents for extra and 3rd party (vetted) resources to help improve overall technical writing.

Pre-submission checks

Please ensure that you have only one open topic suggestion (issue) + in-review article (linked pull request) at a time. This will ensure that we complete the review process in a timely manner from inception to publishing

If you have not already, please go over our Resources Page for more tips and tricks on how to improve your overall technical writing so reviews are swifter, increase the chance of a payout and provide more value to our readers.

For first-time contributors and for more details on our submission guidelines, see our Contributing Guidelines.

Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[x] Is your article properly formatted in Markdown? - see Github Markdown guide

[x] Have you used our preferred heading structure? - H3 (###) and up

[x] Does your article follow any of the suggested structure formats? - see example formats

[x] Is your article over 750 words? - Tool: Wordcounter.net

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[x] Have you included a hero image that is 600x400 pixels, under 300KB in size, and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[x] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[x] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[x] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes

Remove the backticks and add the issue number below to link and close your Topic Suggestion (issue) when your article has been published (PR has been merged). See this video for more details.

This closes #6129

Finally, delete the article checklist notes in blockquotes and submit your PR. We look forward to reviewing your article.

Happy new month @Kayere have made the requested changes and this is a duplicate of #6487 sorry for the previous inconveniences.
Thank you.

Hello @Kayere hope you are doing great .I created duplicate of #6487 few days ago and i thought i should remind you, could you please review it kindly

Plagiarism check done ✅


Added retention docs

@sahilTakiar can you review?

Coverage decreased (-0.2%) to 46.642% when pulling 276a03e29690f58be8b6d79c2a4e1d177d2abef8 on pcadabam:master into 39a22e52a67efe4b5395549221b8529e7ac8dbfb on linkedin:master.

Just one high level comment, I would suggest using three tick marks to surround code blocks, rather than using  - the three tick marks are the standard way of creating code blocks, and it supports syntax highlighting automatically - https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#code
Also "Table of COntents" should be "Table of Contents", and "Intrduction" should be "Introduction"

Fixed. Merging.


vagrant up -- ansible fail: Group tls does not exist

VirtualBox: 5.0.24 r108355
Vagrant: 1.8.1
git hash: 0581400b1f5b06084bcd7036e5a4d21062fcdb3a
failed: [control-01] => {"failed": true}
msg: Group tls does not exist
failed: [worker-001] => {"failed": true}
msg: Group tls does not exist
failed: [edge-001] => {"failed": true}
msg: Group tls does not exist
failed: [kubeworker-001] => {"failed": true}
msg: Group tls does not exist

@tomsherrod What task is this failing on?

I tried vagrant again on another mac, difference - vagrant 1.8.4, same result.
TASK: [certificates | create tls group] ***************************************
skipping: [worker-001]
skipping: [kubeworker-001]
skipping: [control-01]
skipping: [edge-001]
(some other tasks scroll by)
TASK: [consul | add consul user to tls group] *********************************
failed: [control-01] => {"failed": true}
msg: Group tls does not exist
failed: [worker-001] => {"failed": true}
msg: Group tls does not exist
failed: [kubeworker-001] => {"failed": true}
msg: Group tls does not exist
failed: [edge-001] => {"failed": true}
msg: Group tls does not exist
FATAL: all hosts have already failed -- aborting

I did a fresh pull:  git rev-parse HEAD = 1fd4bc67cff7f9023454b8de325351f46abc3ee5

Huh, I don't know why it would skip that task, there's no when: clause or anything. I assume it's probably not running any of the tasks in that role.
A temporary workaround would be to disable security (specifically disable consul ssl).

Oh, it might be skipping the certificates role because do_consul_ssl is disabled. Are you running without security enabled? If so, give it a shot with security enabled.

Enabled security by editing provision.sh, ./security-setup --enable=true.
Certificates role is still skipped.
Fails:
TASK: [docker | setup private docker registry credentials]

fatal: [control-01] => {'msg': "AnsibleUndefinedVariable: One or more
undefined variables: 'docker_registries' is undefined", 'failed': True}
fatal: [control-01] => {'msg': "AnsibleUndefinedVariable: One or more
undefined variables: 'docker_registries' is undefined", 'failed': True}
fatal: [worker-001] => {'msg': "AnsibleUndefinedVariable: One or more
undefined variables: 'docker_registries' is undefined", 'failed': True}
fatal: [worker-001] => {'msg': "AnsibleUndefinedVariable: One or more
undefined variables: 'docker_registries' is undefined", 'failed': True}
fatal: [kubeworker-001] => {'msg': "AnsibleUndefinedVariable: One or more
undefined variables: 'docker_registries' is undefined", 'failed': True}
fatal: [kubeworker-001] => {'msg': "AnsibleUndefinedVariable: One or more
undefined variables: 'docker_registries' is undefined", 'failed': True}
fatal: [edge-001] => {'msg': "AnsibleUndefinedVariable: One or more
undefined variables: 'docker_registries' is undefined", 'failed': True}
fatal: [edge-001] => {'msg': "AnsibleUndefinedVariable: One or more
undefined variables: 'docker_registries' is undefined", 'failed': True}
FATAL: all hosts have already failed -- aborting
On Fri, Jul 1, 2016 at 3:12 PM, Langston Barrett<EMAIL_ADDRESS>wrote:

Oh, it might be skipping the certificates role because do_consul_ssl is
disabled. Are you running without security enabled? If so, give it a shot
with security enabled.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/CiscoCloud/mantl/issues/1628#issuecomment-230026326,
or mute the thread
https://github.com/notifications/unsubscribe/AHYTXQVTSXgAXRIB9Iv1DmZaiXYaaps1ks5qRWaXgaJpZM4JCrGN
.

@tomsherrod That looks like a very different error.

@siddharthist Note certificates are still skipped and doesn't make it to the consul task. Yes, very different error. Did I enable security correctly by modifying the parameter to security-setup in provision.sh?
I'm stumped by why ansible is skipping certificates. If the ansible parameters were written to the control machine, debugging may be easier. I plan to crack that later today, as in assembling the parameters and running it by hand, unless you have a better recommendation?

@tomsherrod Yeah, I don't know why it would still skip generating certificates. Have you fully destroyed and recreated the VM? sometimes there can be some weirdness from doing multiple ansible runs on the same VM. Your solution should enable security. You might also try running security-setup on your host first.

Probably your using old mantl.yml and certificates role is missing from runlist in it (check sample.yml)
Disable docker_private_registry from security.yml if your not using one. Otherwise define docker_registries variable in it.


[Docs] Table widget is missing a gif

Documentation Link
https://docs.appsmith.com/widget-reference/table

I want to take up this issue

@kichloo Since there are other issues already assigned to you. Can we start by closing them before claiming more? Don't worry, there will always be a lot of issues that you can work on.

Hello @mohanarpit, @Nikhil-Nandagopal, Can I take this up, if it's up for grabs?

@mohanarpit Ok!

@mohanarpit Can I please take this issue as there is 1 issue I don't know much about which will be unassigned.

@mohanarpit  Can i take this issue? or is it done

Hi, @mohanarpit @Nikhil-Nandagopal I would like to work on this issue.

I have raised the PR for this issue https://github.com/appsmithorg/appsmith-docs/pull/32

@Nikhil-Nandagopal Kindly assign this issue.

PR : https://github.com/appsmithorg/appsmith-docs/pull/37

@Nikhil-Nandagopal Sorry to say but it's literally happened the 2 time. In the previous case also, I, as per the contribution guidelines waited for the issue to get assigned to me while another person comes and makes a PR directly, without even writing a single line regarding assignment and incidentally, it is accepted. This is literally the 2 time now.

@Nikhil-Nandagopal Sorry to say but it's literally happened the 2 time. In the previous case also, I, as per the contribution guidelines waited for the issue to get assigned to me while another person comes and makes a PR directly, without even writing a single line regarding assignment and incidentally, it is accepted. This is literally the 2 time now.

@kichloo sorry this happened to you. It was my understanding that you already had other issues you were working on and the claims on this issue were missed by us. As a community, if someone has an issue assigned and a separate pr arises we'll favor the assignee. While if it isn't assigned and a pr arises, we'll favor the pr.
That being said, we have a lot of open issues so I'd be happy to assign an issue or 2 to you right now if you comment on the ones you can pick up. 🙂


Rollback to the initial settings in case of failure

The initial settings are preserved and reapplied in case of failures in applying the nmstate provider.

recheck

recheck


Yhertekin homework 2

why did you define all relations as on_delete=models.DO_NOTHING?

I don't know much about databases, I didn't want the tables to be corrupted.


design review changes: search field

By creating this pull request you agree to the terms in CONTRIBUTING.md.
https://github.com/Infineon/.github/blob/master/CONTRIBUTING.md
--- DO NOT DELETE ANYTHING ABOVE THIS LINE ---
CONTRIBUTING.md also tells you what to expect in the PR process.
Description
design review changes implemented

📦 Published PR as canary version: 20.19.1--canary.508.bb4d7f07dc87f3b5a90abef7987c318c3e1e32b8.0

:sparkles: Test out this PR locally via:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

text is overflowing. line-height or text-font needs to be adjusted.

font color is wrong.


Feature Resolver signature

Hey, awsome work. How hard would it be to add the resolver's spec signature ? Right now there's only the node's arguments passed to the resolver. I'm particularly interested in passing the query's full node AST (and its children)...
(I just discovered your lib, i'm trying to build somthing like join-monster for haskell, I'll look into your lib's code later)

hi, thank you for getting in touch, i don't really understand.
can you give me an example?

So what is currently in the lib is this as far as resolvers are concerned:
resolveDeity :: DeityArgs -> IORes Deity
resolveDeity args = gqlResolver $ askDB (name args) (mythology args)

askDB :: Text -> Maybe Text -> IO (Either String Deity)
askDB = ...

Whereas in javascript for instance, we'd have this:
function resolveDeity (source, args, context, resolveInfo) {
  // whatever, args contains DeityArgs structure
}

The important bits I'm missing from the haskell side are the context and resolveInfo object. resolveInfo essentially has the query's parsed content. For example if the query was like:
query deity {
  id
  name
}

The resolveInfo object would contain info like:
 { fieldName: 'deity',
   fieldNodes:
    [ { kind: 'Field',
        alias: null,
        name: [Object],
        arguments: [Array],
        directives: [],
        selectionSet: null,
        loc: [Object] } ],
   returnType: Deity,
   parentType: RootQuery,
   path: { prev: undefined, key: 'deity' },
// more things such as the entire GQL schema
}

And the context object is simply a global object passed down to each resolver (it's useful to pass around an authorization token).

Also considering I shared my end goal: the idea is to attach a typeclass (or something like that) to each graphql object within the graphql schema to allow a query resolver to build an SQL query based on what's been asked on the client

i like you idea. it would be great to have something like that in haskell, but there is some problems too.
technically it is possible
data Query = Query {
   user:: Context Args -> ResolverMonad User
}

where
data Context args = Context {
   args:: args,
   source:: ValidOperation,
   schema:: GQLTypeLib,
}

but:

internal AST is different from graphql.js and is not final version. so i lose freedom internally refactoring library without breaking changes.
validation and resolving are separated and occurs in different step of execution.

parsing :: requestString -> RawOperation
validation :: (RawOperation , GQLTypeLib) -> ValidOperation
execution :: (ValidOperation, resolvers) -> JSON

to add every resolver possibility to access GQLSchema on every resolving. may couse performance problem.

OK thanks for the explanation. I'll look into it and see what's possible. For what it's worth, have look at the other graphql libs (https://github.com/haskell-graphql/graphql-api, https://github.com/dmjio/graphql-meta) before starting this one ?

i looked user interface only on: graphql-api , wrote simple api with it, but after that and decided to write my own GraphQL library

I totally understand that, but my idea is necessarily tying things with the AST's types so it's fine if it breaks

okey. let see:
then you should look:
https://github.com/morpheusgraphql/morpheus-graphql/blob/1279e132e693a6a88e2affa4aa5b1b72f97f8920/src/Data/Morpheus/Execution/Server/Resolve.hs#L110
there you can pass schema to Resolvers in this case to: encodeQuery for query and encodeOperation for muatation and subscription
module Ecnode derives Resolvers
with Generics   and generates from it Morpheus Value (Value is almost same with JSON value.)
https://github.com/morpheusgraphql/morpheus-graphql/blob/1279e132e693a6a88e2affa4aa5b1b72f97f8920/src/Data/Morpheus/Execution/Server/Encode.hs#L85
Encode (a -> b) (ResolveT m value)
a : arguments
b: result Type

after all to give user correct introspection you may need to adapt:
https://github.com/morpheusgraphql/morpheus-graphql/blob/1279e132e693a6a88e2affa4aa5b1b72f97f8920/src/Data/Morpheus/Execution/Server/Introspect.hs#L86

i would propose that you open your own fork for it. if you have any question i would be glad to answer you.

one possible way could be to define Custom Resolver
data Context = Context {
  contextSchema    :: DataTypeLib,
  contextSelection :: Selection,
   ...
}

data ContextRes m a = ContextRes {
  unContextRes  :: Context -> m a
}

and then we can use it as resolver
data User m = User {
   name :: UserArgs -> m Text ,
  ..... other fields
}

sqlGetName :: Context  -> IORes Text
sqlGetName context = ...

userResolver :: UserArgs -> ContextRes IORes (User (ContextRes IORes))
userResolver _userArgs = CotextRes $  \userContext -> User { name, ... other fields }
   where
      name _nameArgs = ContextRes sqlGetName
      .... other resolvers

rootResolver :: GQLRootResolver IO () () (Query (ContextRes IORes)) () ()
rootResolver = ....

so you can enable or disable Context on query just with a Type  on a GQLRootResolver

enable context to query : Query (ContextRes IORes)
disable context to query : Query IORes

with this way we should write less code, and is more flexible :)
can be also used with template Haskell generated resolvers

Thanks for all the directions, I'll look into it.

So I studied the internals of the lib a little bit, I have trouble understanding why fullSchema and parse & validate request are happening in a

So I studied the internals of the lib a little bit, there are a few things I don't understand yet:

how do you model in the schema the presence of an argument in a nested object ? (e.g. query test { myObj { id name myNestedObject (filterId: ID) { anotherName } }}
How is filterId represented here, I've only came accross root (mutation/query/subscription level argument) in the examples

why is this:
https://github.com/morpheusgraphql/morpheus-graphql/blob/1279e132e693a6a88e2affa4aa5b1b72f97f8920/src/Data/Morpheus/Execution/Server/Resolve.hs#L104-L120
Not isolated in a function ? (I mean is there a reason or is it "just because")

Your last proposition still requires to change execOperator right ? Cause the context and the selection sets still have to be passed ...

anyway. if you think something does not seems to be okey, refactor it. or if you have some questions, i would be glad to answer you either hier or in slack

Right I'm experimenting/trying things so far :)

hi, i am refactoring and i think it would be soon ready for exposing internal types that you may need

Ok, let me know when you think the "Data.Morpheus.Types.Internal.AST.Selection" is "ready-ish" I'd like to add haddock comments first (as a separate PR)

Hi. I think that selection is close to final version. From now I think There will only litle changes

after all we don't need to extend resolver signature at all. look at PR #372

Sounds good to me ! Thanks !

done


Adds how to specify Redis host to README

Pull Request Test Coverage Report for Build 339

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 96.633%

Totals

Change from base Build 336:
0.0%

Covered Lines:
438

Relevant Lines:
438

💛  - Coveralls


Polyloss

Thank you for your work. can you please provide polyloss PyTorch for image segmentation? Thank you

@Ehteshamciitwah
here you go:)
https://paperswithcode.com/paper/polyloss-a-polynomial-expansion-perspective-1


Kramdown does not seem to render math blocks

[ ] This is a question about using the theme.
[ ] I believe this to be a bug with the theme --- not Jekyll, GitHub Pages or one of the bundled plugins.
[x] This is a feature request.
[x] I have updated all gems with bundle update.
[x] I have tested locally with bundle exec jekyll build.

Environment informations

Minimal Mistakes version: 4.1.1
github-pages or jekyll gem version: github-pages 91
Operating system: OS x Sierra 10.12.2

Expected behavior

Kramdown does not render math when using the $$ \equation $$ syntax as prescribed on https://kramdown.gettalong.org/syntax.html#math-blocks.
Steps to reproduce the behavior
Here is a link to my repo. As you can see under e.g. under inverted pendulum.md there should be two bits of math $$ x_t $$ and $$\theta_t$$ which should display as math. But when building (or serving), it does not render.
I have forked Minimal Mistakes and implemented as shown. Everything else works fine.
Here are my _congif.yml settings for markdown:
Conversion
markdown: kramdown
highlighter: rouge
lsi: false
excerpt_separator: "\n\n"
incremental: false
Markdown Processing
kramdown:
input: GFM
hard_wrap: false
auto_ids: true
footnote_nr: 1
entity_output: as_char
toc_levels: 1..6
smart_quotes: lsquo,rsquo,ldquo,rdquo
enable_coderay: false

As per Krandown's docs you need to add the MathJax JavaScript library for it work. https://www.mathjax.org/

For scripts that I want to add on every page, I usually add them to the _include/scripts.html page.  I've also done some IF statements (which I'm sure are not the best way to do this) to see if I'm loading the main page or a "Search" page as seen on my repo: scripts.html

You can add it to scripts.html or any of the two custom includes I've added to the theme for injecting scripts in the head or footer.
/_includes/head/custom.html
/_includes/footer/custom.html

I'd add it using a conditional like @justinrummel suggested to avoid embedding the script on pages that don't need MathJax.
/_includes/scripts.html is probably the best place for it, but it can be added to one of the custom includes if you want to maintain to avoid messing with the main theme files.
Either way something like this:
{% if page.mathjax %}
<script type="text/javascript" async
  src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
{% endif %}

And then in your post/page's YAML Front Matter you'd add mathjax: true if you wanted the script embedded.

@mmistakes perfect. That solution works like a charm. Thanks.

I have a question related to this topic.  If I enable the mathjax like what @mmistakes  said,  the math equations can show up normally on the page of posts.  But the the author profile is gone in the post that is using the single layout.  As long as I remove the equation, the author profile will show up.  It seem the $$ causes the problem.  Any solution to this problem?  Thank you ~

@yuzhangbit You have an example? My gut is telling me there's something with the MathJax script or possibly some sort of CSS interference. But without seeing the code it's hard to say.

@mmistakes  Thanks for your reply.
This is my repo.
Here is the example post.
If you remove the latex math code
$$SE2$$
$$SE3$$

the author profile will show up.
I add the MathJax script
{% if page.mathjax %}
<script type="text/javascript" async
  src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
{% endif %}

to this file.

@yuzhangbit Does that post have the equation added? I'm not seeing any sort of layout issues and the author sidebar is present.

Yes.  There are two latex math symbols(se2, se3).  The sidebar doesn't show up in the desktop browser.  I am using Chrome.

I just tried it in Chrome on the desktop and the sidebar is there.

You sure you don't have any sort of adblocker extensions installed? They often kill social links and that would explain why the sidebar is gone. Other than that I really don't have any other suggestions as I can't seem to reproduce the issue.

@mmistakes   Thank you very much!   It seems it's the chrome extensions cause the problem.

So I rolled back to the non-beta version of Chrome and was able to reproduce it. The sidebar is there, but it disappears after the MathJax script loads and messes with the page's CSS.
It's doing a whole lot of stuff that hides the sidebar.

You can edit the CSS for the .sidebar to fix it. Though this smells like a browser bug to me so it should be fixed when Chrome rolls out 57, as it works fine there and other browsers like Safari.
Removing the following from _sass/_sidebar.scss worked for me:
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);

@mmistakes Ya, this works!  :+1:   The latest stable version of Opera browser is also able to reproduce this issue.

Hi, I'm trying to render LaTex to one of my posts and I seem to be having trouble. Following mmistakes comment on Dec 28, 2016, I did the following:
To /_includes/scripts.html, I added these few lines:
{% if page.mathjax %}
<script type="text/javascript" async
  src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
{% endif %}

Then to my post, I added mathjax: true in the front matter.
The github markdown file is here and the corresponding website page is here.
I'd sincerely appreciate any assistance.

@benslack19 Check your browser's console logs. I believe mathjax.org shut down their hosted copy of MathJax.js. You'll need to load the script from somewhere else.

Try this instead:
{% if site.mathjax == true %}
<!-- MathJax -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
{% endif %}

OK thanks @mmistakes. I tried the snippet of code but still had some trouble. From looking at this page, I tried changing the link in src to this
https://rawgit.com/mhchem/MathJax-mhchem/master/mhchem.js
or this
https://cdnjs.cloudflare.com/ajax/libs/mathjax-mhchem/3.3.0/mhchem.js
and in both cases, I kept the suffix ?config=TeX-AMS-MML_HTMLorMML but it's still not working for me. Any other suggestions? Sorry I'm mostly just doing trial and error to troubleshoot.

@benslack19 Other than the snippet I posted above that I have no other advice. I don't personally use LaTex so I'm not going to be much help.
As this isn't a theme issue I'd suggest asking for help on either the Jekyll Talk forums or search through Stackoverflow. This seems like a MathJax issue and you'll likely find help if you widen your search some.

This makes sense, thanks.

Hi @mmistakes just wanted to let you know that I got this working. I followed this and the solution from @yuzhangbit.
You can add it to scripts.html or any of the two custom includes I've added to the theme for injecting scripts in the head or footer.
/_includes/head/custom.html
The solution you posted above (dnjs.cloudflare.com hosting) worked when I put it  in the /_includes/head/custom.html.
Thank you!

Hi @asarkar ,
I hadn't updated my blog in a while but my last post had some rendering of Latex code.
You can see the actual webpage here and how I wrote it in my markdown here.
You can see from the above conversation where I faced some sticking points. Hope this is useful and good luck.
Cheers,
Ben

I tried above a few codes, but could not able to solve for mine. Later use below code, which solved the mathjax problem.
`
{% if page.mathjax %}

{% endif %}
`

Thank you @sudhirln92. I was updating something else and that snippet helped.

Note that MathJax 3 is a complete rewrite of MathJax 2, and there are many breaking changes. They provide a website for converting your v2 config to v3.
https://mathjax.github.io/MathJax-demos-web/convert-configuration/convert-configuration.html


Improve video ID parsing for YouTube URLs

The current way doesn't support URLs which have more than one query argument like https://www.youtube.com/watch?v=xxxxxxx&foo=bar.
WordPress ticket: https://core.trac.wordpress.org/ticket/37363

Thanks. I'll get this in with a few other pulls.


Message branch

Add error messages and merge with main branch

I like how you did the login page!


Update the document to state clearly that 'Enable Profiler' button is not needed in AppInsights-Profiler-AspNetCore for Linux

@CawaMS As we discussed offline, could you please update the document, find a proper place to state this clear? Thanks!

https://docs.microsoft.com/en-us/azure/application-insights/app-insights-profiler-aspnetcore-linux#known-issues


Add Excel Export functionality to DynamicForms

Dynamic Forms lacks a submissions export feature.
I achieved it locally with OpenXml and it exports submissions in an xlsx spreadsheet.
here is the diff
Is the community interested by a PR for that ?

Go for it.

Thank you very much. Can add import excel data at the same time? I once submitted in orchard core! But the core version does not have this plan!
非常感谢，可以同时实现excel数据导入吗？我曾在orchard core中提交！但core版本没有此相计划！

I don't see any use case of importing submissions from an external source, and importing is much more complicated then exporting.
It could be ported to Orchard Core when DynamicForm will be ready.

I actually do see a use case for importing from an eternal source, but perhaps the Recipes feature is good enough. You would have to generate a recipe from an Excel file of course. Not sure if that part should be part of the core distribution. At the same time, if Excel export is supported, why not also import? I think they should either both be part of it, or none.

I'm sorry, I don't program, I'm the user. Thank you very much for sharing. EXCEL dynamic forms are a very good thing if they are everywhere. Try to use simple OA system such as contact form, customer profile information, etc. , very good, expecting
非常抱歉，我并不会编程，我是使用者，非常感谢所有共享，EXCEL 动态表单若能到处是一个非常好的东西，在尝试用于简单的OA系统中比如联系表单、客户资料信息、等，非常好，期待

@pgy866   https://github.com/salween/ToolsConvert   这是一个orchard xml和csv格式互转的工具  你可以试试看能不能满足你的要求

@li0803
非常感谢您！发现这么美好的一个开箱即用的工具！可以我的一些需求！
Thank you very much! Discover such a wonderful tool out of the box! Can some of my needs!

@TFleury
@TFleury If, for development functions, it is recommended to generate an EXCEL fixed template corresponding to the imported ORCHARD through a dynamic form and then import the data. PS: I don't know how to program. I don't know whether it can be implemented. I just saw it on other projects.
如果，开发功能，建议：通过动态表单生成一个对应导入ORCHARD的EXCEL固定模板，然后在导入数据。PS: 并不会编程的我，不知道是否可以实现，只是在其它项目看到过，是这种方式实现

Fixed by #8012.


OGC { Maps, Features, Coverage, Records } Support

Is your feature request related to a problem? Please describe.
The OGC has moved on from WMS, WFS, WCS and Catalogues and as the default Javascript library I would love to be able to use the new standards with my favorite tool.
Describe the solution you'd like
Given the OGC APIs standards are web friendly (json/geojson responses over XML and many others) I would love to see basic support for the four major APIs, being Maps, Features, Coverages and Records mirroring the WMS WFS WCS and GetCapabilities parser (which now would be much easier to implement) so I can start building demos for the ECMWF, OGC, WMO and ECCC.

@itsgifnotjiff Contributions to add support for more of the new OGC standards are always welcome. And since the basic concepts are already available in OpenLayers, you can build applications on top of these new standards now already, because in the end it's just http, urls, images and geojson.

Yes sir, I am just not sure if I can simply use a WMS layer in OpenLayers to call and interact with an OGC Maps service. I've noticed the new OGCMapTiles example and wanted to know if the rest of the APIs are in the roadmap to 8.x. Thank you again MR. @ahocevar for your wonderful work.

@itsgifnotjiff For the Maps API, you'd have to use an Image layer and a custom ImageUrlFunction. The roadmap is determined by what gets contributed, so if you or someone else adds an OGCMap layer by means of a pull request, it will get added.

I'm working on an OGC Features API example which uses the bbox loading strategy. I'll hopefully submit a PR shortly.


missing gpg key on repos.influxdata.com

Steps to reproduce:
# http get https://repos.influxdata.com/influxdb.key
HTTP/1.1 404 Not Found
Age: 7
Connection: keep-alive
Content-Length: 347
Content-Type: text/html; charset=utf-8
Date: Thu, 26 Jan 2023 19:51:36 GMT
Server: AmazonS3
Via: 1.1 f1e707a645d1b585e3b6fc5ef39d2e56.cloudfront.net (CloudFront)
X-Amz-Cf-Id: VNl6Uis29fgUQB4G5seZW8DhqrQ1Txg8Ewo5fHTuYXgoaQVFmnf7zw==
X-Amz-Cf-Pop: WAW51-P1
X-Cache: Error from cloudfront

<title>404 Not Found</title>

404 Not Found

Code: NoSuchKey

Message: The specified key does not exist.

Key: influxdb.key

RequestId: KXFTHXE1SVEH27TY

HostId: z/u4O2ohPBpN58z3aFzpSmXg3N7yw3LSElvqgWBs7eZEJx3R2xzDeO4YOt3phTPv6j0bI4iJ3pc=

Expected behavior:
according to documentation, a valid gpg key should be available with this url
Actual behavior:
http 404 instead of gpg key

According to their blog post on Jan 24 they've rotated their signing keys. But the key at the new URL 404s as well.

wget https://repos.influxdata.com/influxdata-archive_compat.key
--2023-01-26 22:02:00--  https://repos.influxdata.com/influxdata-archive_compat.key
Resolving repos.influxdata.com (repos.influxdata.com)... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
Connecting to repos.influxdata.com (repos.influxdata.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-01-26 22:02:00 ERROR 404: Not Found.

and docs still point to old url

Keys are back online here.
Both the old key and the new key, this is going to get confusing for people. ;-)

On my Raspberry Pi 4B Debian Bullseye 11 (64bit)
The wget command don´t work anymore.
I have the Install Instructions from here:
https://portal.influxdata.com/downloads/
Ubuntu & Debian ARM64
`# influxdata-archive_compat.key GPG fingerprint:
9D53 9D90 D332 8DC7 D6C8 D3B9 D8FF 8E1F 7DF8 B07E
wget -q https://repos.influxdata.com/influxdata-archive_compat.key
echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null
echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
It works only with Root:sudo wget -q https://repos.influxdata.com/influxdata-archive_compat.key`
previously it worked without root.

This part doesn´t work on Rpi4B 64bit Raspian OS latest updates.
wget -q https://repos.influxdata.com/influxdata-archive_compat.key
only works with:
sudo wget -q https://repos.influxdata.com/influxdata-archive_compat.key

@Starfoxfs Are you running that command inside a directory that is root owned? There is nothing server side that would know if you are running under sudo or not.

Hi,
no in /home directory

no in /home directory

You need to be within user home directory and not within /home
cd
wget -q https://repos.influxdata.com/influxdata-archive_compat.key

Ah thanks @Joulinar
That was the Problem, /home is also root owned /home/user isn´t.

This all appears to be working and properly documented, please open a new issue if further issues arise.


Implemented custom fmt in java date format

I added custom date format support in Java SimpleDateFormat.
Example:
❯ echo<PHONE_NUMBER>.2188597 | ./ts2d
"2022-08-13 10:40:43.002188597 +0800 HKT"

❯ echo<PHONE_NUMBER>.2188597 | ./ts2d -f "2006-01-02T15:04:05-07:00"
"2022-08-13T10:40:43+08:00"

❯ echo<PHONE_NUMBER>.2188597 | ./ts2d -jf "yyyy/MM/dd 'at' hh:mm:ss a z"
"2022/08/13 at 10:40:43 AM HKT"

Ref:
Java SimpleDateFormat
Go Layout

@s-ichikawa Please take a look if you have time 🙇

@jlwt90 thanks!


Investigate using glitch to make prototypes. AKA A Glitch in the System

What
A spike into using Glitch for prototypes and/or prototype training, avoiding the need to install anything, and making sharing a prototype much simpler too.
Why
It was suggest as part of the ideation session we ran after the prototype kit research in Q4.
Doing this would remove a lot of the installation requirements and the steps involved in publishing prototypes.
We need to first investigate what the pros and cons would be to using glitch as opposed to running the kit locally.
Done when

[ ] Spike planned in
[ ] Spike done
[ ] Findings written up and shared

Just tested v13 on Glitch, it works fine, some notes:

You have to create a prototype on the terminal locally first, then upload that to GitHub, then Import. This step would be much easier with a template repo (#1265)
Manage Prototype pages don't work online (by design) so there's no way to create pages from templates
Using Node 10, surprised it works at all:

No Node version was specified; we are using default version 10. You can change this in package.json: https://glitch.happyfox.com/kb/article/59-can-i-change-the-version-of-node-js-my-project-uses/
node v10.24.1, with pnpm

The fact they default to an extremely old Node is a bit worrying
npm run dev in the Glitch Terminal does not work:

npm run dev

> @ dev /app
> govuk-prototype-kit dev

GOV.UK Prototype Kit 13.0.1

starting...
(node:684) UnhandledPromiseRejectionWarning: TypeError: this.breakLines(...).flat is not a function
    at ScreenManager.forceLineReturn (/rbd/pnpm-volume/33a80c4f-8867-4246-8864-379df70650ee/node_modules/.registry.npmjs.org/inquirer/8.2.5/node_modules/inquirer/lib/utils/screen-manager.js:172:56)
    at ScreenManager.render (/rbd/pnpm-volume/33a80c4f-8867-4246-8864-379df70650ee/node_modules/.registry.npmjs.org/inquirer/8.2.5/node_modules/inquirer/lib/utils/screen-manager.js:81:20)
    at ConfirmPrompt.render (/rbd/pnpm-volume/33a80c4f-8867-4246-8864-379df70650ee/node_modules/.registry.npmjs.org/inquirer/8.2.5/node_modules/inquirer/lib/prompts/confirm.js:70:17)
    at ConfirmPrompt._run (/rbd/pnpm-volume/33a80c4f-8867-4246-8864-379df70650ee/node_modules/.registry.npmjs.org/inquirer/8.2.5/node_modules/inquirer/lib/prompts/confirm.js:51:10)
    at Promise (/rbd/pnpm-volume/33a80c4f-8867-4246-8864-379df70650ee/node_modules/.registry.npmjs.org/inquirer/8.2.5/node_modules/inquirer/lib/prompts/base.js:61:12)
    at new Promise (<anonymous>)
    at ConfirmPrompt.run (/rbd/pnpm-volume/33a80c4f-8867-4246-8864-379df70650ee/node_modules/.registry.npmjs.org/inquirer/8.2.5/node_modules/inquirer/lib/prompts/base.js:60:12)
    at defer (/rbd/pnpm-volume/33a80c4f-8867-4246-8864-379df70650ee/node_modules/.registry.npmjs.org/inquirer/8.2.5/node_modules/inquirer/lib/ui/prompt.js:105:30)
    at Observable._subscribe (/rbd/pnpm-volume/33a80c4f-8867-4246-8864-379df70650ee/node_modules/.registry.npmjs.org/rxjs/7.8.0/node_modules/rxjs/dist/cjs/internal/observable/defer.js:8:31)
    at Observable._trySubscribe (/rbd/pnpm-volume/33a80c4f-8867-4246-8864-379df70650ee/node_modules/.registry.npmjs.org/rxjs/7.8.0/node_modules/rxjs/dist/cjs/internal/Observable.js:41:25)
(node:684) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)
(node:684) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.


'problem+json' error format

All our APIs are protected via oauth2 and we make use of this gem.
The OAuth2::Error class is expecting the error response to always have an error, error_description parameter
Our APIs make use of the problem+json as a structured format for error messages.
I was reading through the oauth2 spec and if I understood the spec correctly it says that the resource error response format can look however you want it to be.
Maybe it would be great to support different error formats like problem+json
PS. All thanks for the hard work that goes into this gem ❤

Interesting idea.  I would have guessed, based solely on your description that "error response format" would be referring to the content and format of the response body, rather than the CONTENT_TYPE.  I would need to review the spec to understand what the requirements are for CONTENT_TYPE.


Appstudio update mvp-test-component

Pipelines as Code configuration proposal

Pipelines as Code CI/mvp-test-component-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
13 seconds
init

✅ Succeeded
21 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
26 seconds
deprecated-base-image-check

✅ Succeeded
28 seconds
sanity-inspect-image

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
10 seconds
sbom-json-check

✅ Succeeded
36 seconds
sanity-label-check

✅ Succeeded
6 seconds
sanity-optional-label-check

✅ Succeeded
4 seconds
show-summary


ClientError: Response error with status code 503: Service Unavailable

Issue description
Wed, 29 Dec 2021 10:16:26 GMT
ClientError: Response error with status code 503: Service Unavailable
Wed, 29 Dec 2021 10:16:26 GMT
ClientError: Response error with status code 503: Service Unavailable
Wed, 29 Dec 2021 10:16:26 GMT
ClientError: Response error with status code 503: Service Unavailable
Wed, 29 Dec 2021 10:16:26 GMT
ClientError: Response error with status code 503: Service Unavailable
Wed, 29 Dec 2021 10:16:16 GMT
ClientError: Response error with status code 503: Service Unavailable
Wed, 29 Dec 2021 10:16:16 GMT
ClientError: Response error with status code 503: Service Unavailable
Firefly version
Firefly v1.3.0
OS details
Mac Os X 10.13.6
Can the issue be reliably reproduced?
Yes
Steps to reproduce the issue

Open Firefly wallet
Go to "Staking"
Check network status
Check error log

Expected behaviour
Network status should be "connected" and Wed, 29 Dec 2021 10:16:26 GMT
ClientError: Response error with status code 503: Service Unavailable should NOT happen.
Actual behaviour
Network status is "Disconnected"
Errors
Wed, 29 Dec 2021 10:16:26 GMT
ClientError: Response error with status code 503: Service Unavailable

I have the same issue.

This is not a bug with firefly, the network is currently not issues new milestones. Please follow official IOTA channels to be notified when this issue is resolved. https://twitter.com/iota/status/1476130331812106244?s=20

i am the same


featurewiz ignores category columns

before starting SULOV, it ignores category columns. My dataset has 100 catroy calumn and 200 float columns instead of checking 300 it checks 200 columns.

Hi @reza1615
Thanks for trying out featurewiz and making a pull request 👍
SULOV does not handle categories - this is by design since people didn't like my automatically converting categoricals into numbers by label encoding. If you wanted SULOV to handle categericals, please convert them to numeric using label encoding before calling featurewiz.
Thanks for the feedback.
AutoVimal

My dataframe has 12408 columns which 536 of them are binary features.
Here is my process:
1- Set binary columns dtype as categoy

2- After running fw.featurewiz it droped 536 columns before SULV (12404 - 1 (target) -  536 (dtype category)= > 11867)

For decision-tree Algorithms  such as xgboost having category dytpe usully bring better performance and speed and spliting. please read


Support for subsplits and ability to turn off IGT

I added try-catch around IGT similar to other GetAddress calls, but also I don't find the IGT useful so I added an option to turn it off.  It is on by default.
Also I like what Bonus did with the categories, but it overrode the support for subsplits.  Any split starting with "-" is treated as a subsplit by the LiveSplit subsplit component, so if you name it "-Bombs", then it will show as "Bombs" in LiveSplit but it is treated as a subsplit.  The underlying segment name is still "-Bombs" though which means the auto-splitter can't match it up with anything in the json.  Added logic to removing leading hyphens so it can match up the split segment names.
Also added many definitions to the Super Metroid json file.

The IGT should probably be on the json in some form and not in the component code.
Maybe could you do a separate pr for subsplits?

I liked the idea to move the IGT definitions to the json file.  That allows users to choose if they want IGT or not and also removes the ugly "if super metroid" check from the code.  This is what it looks like in json:
"igt": {
"framesAddress": "0x09DA",
"secondsAddress": "0x09DC",
"minutesAddress": "0x09DE",
"hoursAddress": "0x09E0"
},
I haven't done a lot of testing, but the testing I have done shows it sets IGT when this is present and doesn't set it when this is not present.

This should probably be an option in the setting to activate or not, could be annoying to have rewrite this if you want IGT later x)

Added an "active" property similar to the autostart section.  Also took this opportunity to turn IGT off by default.

Thanks :)


Add quality badge

@pallotron Enjoy!

Thank you for your pull request.  As you may know, we require contributors to sign our Contributor License Agreement, and we don't seem to have you on file and listed as active anymore.  In order for us to review and merge your code, please email<EMAIL_ADDRESS>with your details so we can update your status.

I don't see the value added by that badge, also considering that there are other more mature static analyzers. At some point we will probably publish metrics about the code quality, but for the moment I am going to close this PR.


cache: Return IndexExistsError immediately

Don't put them in an array of errs and return that because it can't be
type asserted back to IndexExistsError and, in turn, won't manifest as an ovsdb.ConstraintViolation in the client.
Signed-off-by: Dave Tucker<EMAIL_ADDRESS>

/cc @jcaamano thanks for finding this one!

Pull Request Test Coverage Report for Build 989766351

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
9 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.08%) to 75.874%

Files with Coverage Reduction
New Missed Lines
%

cache/cache.go
9
75.39%

Totals

Change from base Build 968814293:
-0.08%

Covered Lines:
3082

Relevant Lines:
4062

💛  - Coveralls


Align image

Just downloaded this plugin and I'm pretty new to latex, so I don't know if there's an obvious answer to this question. I'm trying to align the image generated from \begin{tikzpicture} to the left, not just nodes or equations but the whole image. I've searched on google but none of the results helped. Any response would be appreciated, thanks.

Figured out a solution. Had to add a css snippet that removed the left margin from the svg block:
.markdown-rendered .block-language-tikz svg {
    margin-left: 0;
}


add support for Evolution X tiramisu [skip ci]

Signed-off-by: NRanjan-17<EMAIL_ADDRESS>

@Apon77

Merge Please


Reproducible data ingestion benchmarks

Why are we implementing it? (sales eng)
Some people experience lower ingestion rates than we list in our "Scaling Out Data Ingestion" section due to factors they can adjust.
Communication goals (e.g. detailed howto vs orientation)
Give not just numbers, but benchmarks that users can reproduce so that they can more easily compare their own applications with our provided scenarios. This will help them debug the bottleneck.
Good locations for content in docs structure
Most likely in the "Real-Time Inserts" section of "Scaling Out Data Ingestion."
How does this work? (devs)
Example sql
Corner cases, gotchas
Are there relevant blog posts or outside documentation about the concept/feature?
Link to relevant commits and regression tests if applicable

Closing as this is a dup of #245


Uncaught ReferenceError: iziToast is not defined

Hey,
I have the error Uncaught ReferenceError: iziToast is not defined.
My Code from example:
<script>             iziToast.show({                 title: 'Hey',                 message: 'What would you like to add?'             });         </script>
Thanks for help!

What was your problem ?

I have the same problem ...
How did you resolve your problem?


Update HomeContent.js

Added missing bracket in the Example2 component

The original code is correct. The parentheses correctly wrap the video => ... function, not the <Video /> tag. The <Video /> tag doesn't need to be wrapped by anything here.
{videos.map(video =>
  <Video key={video.id} video={video} />
)}


Generalize to N disks?

Hello Andreas,
I'm following your install notes here -- https://andreas.scherbaum.la/post/2024-07-22_install-debian-bookworm-on-a-software-raid-and-efi/ -- do you think it would be safe to generalize this to multiple disks?
Cheers!

One way to do this is by making $device_second a list of devices, and then loop over the list.
I don't have a test environment for this though.

Super -- thanks kindly for your note.  I found your writeup to be the best, but in the end needed to get this machine up kinda fast, and so gave up on EFI.  I'm booting it off of BIOS, and then have it directly to BTRFS.
I'll have to give learning EFI stuff another shot in the future.

Thanks!


How did you do the visualization in a way that shows images?

How did you do the visualization in a way that shows images?

The code for visualizing the segmentation result is incorporated in test_s3dis_6fold.py (called at line #55-#57).


I'm getting putIfAbsent missing when running the connector in MSK Connect

Describe the bug
I'm getting this error when setting up eventbridge kafka connector on AWS MSK connect. I tried different AWS MSK cluster versions and different configurations. It's running fine when i create the connector in an EC2 instance. MSK connect runs in Kafka connect v2.7.1. I tried running msk cluster also with the same version but it didn't work.
[Worker-asdfadsf] Caused by: java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.JsonNode com.fasterxml.jackson.databind.node.ObjectNode.putIfAbsent(java.lang.String, com.fasterxml.jackson.databind.JsonNode)
at software.amazon.event.kafkaconnector.EventBridgeWriter.createJsonPayload

@isaacraja thx for reaching out! I'll consult with the MSK team and report back!

Yes. I used with-dependencies.jar. I'm not bundling anything else with the plugin. Just the with-dependencies.jar file as a msk connect plugin and  created a msk connector using that plugin.

Strange, will consult with the MSK Connect team as we tested the connector w/out problem.

It's running fine when i create the connector in an EC2 instance

You mean running Kafka Connect on EC2? Btw: that error is a Java runtime error, not related to the connector at all, but we'll figure.

Yeah, I ran Kafka connect in an EC2 instance and installed eventbridge-kafka-connector and no issues there.

Btw: that error is a Java runtime error, not related to the connector at all, but we'll figure.
Oh, ok. Thanks.

Btw, I added jackson-core-2.15.2.jar, jackson-databind-2.15.2.jar, jackson-annotations-2.15.2.jar to the custom plugin, and it started working in MSK connect.

Btw, I added jackson-core-2.15.2.jar, jackson-databind-2.15.2.jar, jackson-annotations-2.15.2.jar to the custom plugin, and it started working in MSK connect. Thanks for the pointer.

Thank you for your feedback! I'll bring this up with the MSK team, but looks like you're good now? Happy streaming and let us know if you need something.
Btw: we're close to cutting our next release which improves batching.

@isaacraja are we good to close this one then? Thx again for using the connector!

@kristianhellum thx for reaching out (reopening this issue).
I have pinged the MSK team again, also looping in @maschnetwork and @agebhar1 for thoughts on our dependency on jackson here (@agebhar1 was planning to do some benchmarking in #39 before we remove this dependency/replace it with another solution).

@isaacraja is using Kafka connect v2.7.1 released in 09/2021 which ships an older version of Jackson. Jackson's version should be [2.10.x][https://mvnrepository.com/artifact/org.apache.kafka/connect-json/2.7.1]. The missing method putIfAbsent was introduced in Version 2.13.
@kristianhellum the drop of Jackson in AWS SDK has no impact on this issue. Jackson is included within a relocated package.

SDK Footprint Changes
Because the SDK now includes its own “shaded” copy of Jackson, the footprint (total jar size) of the SDK will change. ...

The Benchmark requires some effort in time.  @embano1, if it's urgent we can also include Jackson 'shaded'.

if it's urgent we can also include Jackson 'shaded'

I'm a bit reluctant to include that dependency in our JAR because

in sources/sinks it's generally recommended to exclude it (typically provided by the Connect framework)
it can cause all sorts of troubleshooting issues that shaded deps bring, i.e., complicating troubleshooting/reproducibility of bug reports on our end
it increases package size (ok, that's probably minor)

@kristianhellum I keep you posted on the MSK response. Anything else we can do for you here?

@embano1 Nothing more you can do for us now, thanks. We'll watch this issue and #39 , wait for your decision and act accordingly.
FYI I was told we are using Kafka 3.1 in the environment where the issue is occurring.

@isaacraja @kristianhellum I created https://github.com/awslabs/eventbridge-kafka-connector/pull/123 which should fix the issue you're seeing. Once merged, I'll create a new v1.1.1 release so you can deploy and verify.

@isaacraja @kristianhellum new release https://github.com/awslabs/eventbridge-kafka-connector/releases/tag/v1.1.1

Let us know if it fixes your issue

@embano1
We have tested with v1.1.1 without adding the jackson dependencies, it indeed solved the problem for us.
Thanks a lot 👍

Fantastic! Going to resolve this then. Thx for your quick feedback 🙏


Sticky table header

When scrolling up and down in the table view, the table header should stay visible.
Unfortunately this seems not so easy.

http://jsfiddle.net/drueter/yqgB5/16/
https://github.com/jmosbech/StickyTableHeaders
http://tympanus.net/codrops/2014/01/09/sticky-table-headers-columns/

https://github.com/bebraw/reactabular/issues/50


fix CI not running on bors branches

Looks like this was broken in #4930 as prAndBorsIo was added but not used.
Also removed nix from the task name. I do not see what purpose it has and it makes the names unnecessarily long. Also we happen to need the old names in #5018.

bors r+


Test Only: Mon Sys ID and Comp ID dropdown not displaying options

Issue:
When a user wishes to add Test Data under the QA Module, then the Mon Sys ID and the Component ID dropdowns are not displaying any options for selection
Steps to Recreate:

Login to ECMPS
Access the QA Test Data Module, select and checkout a Configuration (E C Gaston)
Click on Add for any of the Test Data Type and review the Mon Sys ID and Component ID dropdowns
You will notice that there are no options to select from

Reference Screenshot:

Bug resolved. Mon Sys ID and the Component ID drop downs are displaying options


Major analysis refactor

I recommend not using the GitHub review page for this one :)
This is the first part of refactoring legacy code out of the analysis engine and injecting it where needed. The Analyzer project is going to be the project where all of this code goes, and I'll create a new one in stage two for the a new analysis host.
This also switches the tests to use the new analysis engine rather than completion DBs. All those tests should be good now, but there is going to be more fallout that I haven't tidied up yet. I'll try to get to anything blocking in this PR, but plan on deferring most to the next stage that will include splitting the legacy tests into their own assemblies.

        // Use the NoPackageManager instance so that we get a

comment out-of-date

Refers to: Python/Product/Analyzer/Interpreter/LegacyDB/PythonInterpreterFactoryWithDatabase.cs:239 in 30eeb99. [](commit_id = 30eeb99a4b49cf9d2fb50f3db6b6aa3e4ca5a914, deletion_comment = False)

        return new PythonTypeDatabase(null, BaselineDatabasePath, isDefaultDatabase: true);

This will initialize _factory to null, and this code will NRE:
public Version LanguageVersion {
get {
return _factory.Configuration.Version;
}
}

Refers to: Python/Product/Analyzer/Interpreter/LegacyDB/PythonTypeDatabase.cs:366 in 30eeb99. [](commit_id = 30eeb99a4b49cf9d2fb50f3db6b6aa3e4ca5a914, deletion_comment = False)

    IEnumerable<IPackageManager> GetPackageManagers(IPythonInterpreterFactory factory);

Some package manager lifetime questions:
Every time this gets called, new package managers are created. So should the caller call dispose on all of them?
Also, since package managers are only created on demand, and they are responsible for watching file system, does this mean that if the environment window has never been opened, that the interpreter factory will not be notified of changes if user installs a package via command-line?

Refers to: Python/Product/VSInterpreters/Interpreter/IInterpreterOptionsService.cs:49 in 30eeb99. [](commit_id = 30eeb99a4b49cf9d2fb50f3db6b6aa3e4ca5a914, deletion_comment = False)

    IEnumerable<IPackageManager> GetPackageManagers(IPythonInterpreterFactory factory);

Oh I see that the interpreter node in solution explorer will have a reference to the first package manager and enables notifications, so projects should be ok.

In reply to: 352518487 [](ancestors = 352518487)

Refers to: Python/Product/VSInterpreters/Interpreter/IInterpreterOptionsService.cs:49 in 30eeb99. [](commit_id = 30eeb99a4b49cf9d2fb50f3db6b6aa3e4ca5a914, deletion_comment = False)

        foreach (var c in x) {

what if x was null?

Refers to: Python/Product/Analysis/OverloadResult.cs:66 in 30eeb99. [](commit_id = 30eeb99a4b49cf9d2fb50f3db6b6aa3e4ca5a914, deletion_comment = False)

    IEnumerable<IPackageManager> GetPackageManagers(IPythonInterpreterFactory factory);

Yes. I need to document this better, but essentially you shouldn't need to Dispose() a package manager until you've called EnableNotifications (and then disposal should be the same as DisableNotifications)

In reply to: 352523366 [](ancestors = 352523366,352518487)

Refers to: Python/Product/VSInterpreters/Interpreter/IInterpreterOptionsService.cs:49 in 30eeb99. [](commit_id = 30eeb99a4b49cf9d2fb50f3db6b6aa3e4ca5a914, deletion_comment = False)

        foreach (var c in x) {

We check at the start of the function

In reply to: 352525302 [](ancestors = 352525302)

Refers to: Python/Product/Analysis/OverloadResult.cs:66 in 30eeb99. [](commit_id = 30eeb99a4b49cf9d2fb50f3db6b6aa3e4ca5a914, deletion_comment = False)

static class Conda {

The whole class is unused, might as well delete it.

Refers to: Python/Product/PythonTools/PythonTools/Project/Conda.cs:27 in 23ed888. [](commit_id = 23ed88870dbfaed710f67d488939c714159e1388, deletion_comment = False)

                _packageManager.InstalledPackagesChanged -= InstalledPackagesChanged;

Don't know if you've updated this in response to my other comment, but call Dispose/DisableNotifications here?

Refers to: Python/Product/PythonTools/PythonTools/Project/InterpretersNode.cs:110 in 23ed888. [](commit_id = 23ed88870dbfaed710f67d488939c714159e1388, deletion_comment = False)


Update getting-started.xml

Correct the statement upside down

I am looking for a person who can confirm this translation.
Is correct this fix ?

i think it will better than the old statement order to understand the meaning and read smoothly

@dengchuan Thanks for your contributing and comment.
Sorry... I don't know difference with before because I don't have skill for understanding Chinese.
Someone, please confirm this.

@kazuki43zoo , @dengchuan adjusted the order of some words to fit Chinese grammar.

I think it's OK to merge Chinese doc PRs.
If there is a better translation, someone else will send another PR. :)

@dengchuan @winters1224 @harawata thanks !!


Points are not parsed in xaml if using a space for point separator

Xaml like:
<Polygon xmlns="https://github.com/avaloniaui" Points="10 20 30 40" />
is producing exception - System.FormatException
Wpf parses this without error.
Note: if xaml is: <Polygon xmlns="https://github.com/avaloniaui" Points="10,20 30,40" />
it's working

I'm getting the same error (System.FormatException - Invalid point) with this:
<Polygon Points="0,0 80,50, 0,100" Stroke="Black" Fill="Black" />

But @donandren's second example works for me. Do I need to change my formatting?

Weird - if I copy and paste that line it throws the exception on startup. But If I delete all the points and type them in again manually it works. Any reason why it wouldn't be able to process the points when copy & pasted?

I'm getting the same error

PR #3814 was merged to 0.10, I don't think it was backported to 0.9.


allow use multi events

watcher.on() should allow pass several events.
example:
watcher.on(['add', 'change','unlink'], file => console.log(file))
// or
watcher.on('add change unlink', file => console.log(file))

That's not provided by the Node.js EventEmitter API, and not necessary to add here. Feel free to create your own simple wrapper that would handle this for you.


align TYPE expressions

I think this is what the pretty printer does? so this will avoid future diffs

corresponding ajson mirror PR = https://github.com/abapGit/ajson_mirror/pull/113


Allow import/require in Player.js for modularity of user code

Originally mentioned in https://github.com/olistic/warriorjs/issues/39, it would be a great improvement to code organization if users like myself could split our code into modules (*.js and *.mjs) that could be loaded into the Player.js file (via import and/or require).
It doesn't appear that this is supported at the moment.  That means that a lot of code ends up in Player.js.  At various times while playing, I've been in the neighborhood of 250 lines.

Hello @JayAndCatchFire and thanks for creating this issue. I'm open to receive a PR that implements this.

I'll be happy to take a crack at it, but I can't guarantee anything forthcoming immediately.  So much to do and so little time.  So if anyone else sees this ticket and wants to try their hand, please do!

Please comment here if you grab this so I mark it as claimed.

looks like this can be achieved using vm.Module, but this is an experimental feature. I think this would also have to be feature flagged.

Pleasee i need some of this!!!! :)))))

@netzulo  you can work around it by importing your code as a string and call eval(code)

I published a tutorial on how this can be achieved using a module bundler here.

News on this? If a contributor can point me on the right direction I'm available to implement it this weekend


docs(cli): remove the "url" from the help string of "gas config"

Pull Request Test Coverage Report for Build 878046632

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 81.619%

Totals

Change from base Build 878034312:
0.0%

Covered Lines:
4294

Relevant Lines:
5261

💛  - Coveralls


Jameswtruher/documentupdates

add examples for creating Pester tests, showing how tests may be skipped in bulk. It also corrects some of the bad links that were in the doc and addressed the conflicts with #2244

Hi @JamesWTruher, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Jim Truher). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;


HttpServer.requestHandler() accepts null

For no readily-apparent reason, the parameter of HttpServer.requestHandler() is of optional type, meaning it accepts null.
I can't imagine what motivation I might have for setting the request handler to null, except for the desire to get a java.lang.IllegalStateException.
Worse, it means that the type of the request handler parameter (HttpServerRequest) can't be inferred by Ceylon, so I have to write:
    server.requestHandler((HttpServerRequest request) {
        ...
    });

Instead of just:
    server.requestHandler((request) {
        ...
    });

So I think it's clear that the parameter type should be made non-optional here.

We can change the request handler to be non nullable, however the thing is that it is possible to set a null handler on a server although most of the time no null handlers will set.

@vietj is it ever useful to set a null handler?

in this case I think it is not, so I will make the change in vertx core.

Great, thanks :)

just for my understanding, I don't understand why:
shared void setHandler(Anything<String>? handler) { ... }

prevents to infer the String type when a function is passed.
My reasoning is that if a function is passed (and not null) then it has to have String as argument.

@vietj I guess you're using some knowledge about the disjointness of Null and Callable there, that the type arg inference algorithm doesn't use.
Perhaps it could.

https://github.com/eclipse/vert.x/commit/bb44eb6ff024a338da6824da7169a324cfc87954

@vietj FTR, the typechecker now does the reasoning you suggest when inferring parameter types.