Add login template

Desired Outcome

Users as players would have a template for login.
The template would have routing from the login page to the home page, and the other way around.

Implemented Changes

Add login.html template file
Add login, and logout paths to the meetballs/urls.py file.
Add login, logout methods to render relevant pages in the meet_balls_app/views.py file.
Modify base.html file with the relvant new href's for the login/logout botton.

Connected Issue/Story
Resolves #[74]
Dependencies

[x] This PR depends on other PR's
changes
[ ] This PR does not depend on other PR's

Definition of Done

Login page template should be added.
Relevant routing for the template should be added.
Small adjustments in the base.html should be done.
Relevant tests for the login mechanism should be added.

Test coverage

[x] This PR includes new unit and integration tests to go with the code
changes
[ ] The changes in this PR do not require tests

Documentation

[ ] Docs (e.g. READMEs) were updated in this PR
[ ] A follow-up issue to update official docs has been filed here: insert issue ID
[x] This PR does not require updating any documentation

Good job so far!
What else do you want to do in this PR? I see it tagged as 'Draft'

@yftacherzog @Yuval-Vino Any of you guys know why the checks aren't running?

@yftacherzog @Yuval-Vino Any of you guys know why the checks aren't running?

I'd assume it's the conflicts. Fetch upstream again and rebase.

@yftacherzog @Yuval-Vino We @IdanZimi  closed #71 add static player PR, and squashed the 2 commits here into 1.
Currently no conflicts, passed tests, ready to be reviewed.

@amitCohen2 @ZvikaNaorCohen @amitKaplansky  @MaayanMashhadi @Danielsio Hey team, please review our changes.

looks good! can you send screen shots of how the login looks like?

Looks good to me. Login page looks good, there are plenty of tests, static data is being added.
Great work.

looks good! can you send screen shots of how the login looks like?
Below view can be reached at /login path

After logging in, redirecting to home page. you can see the name of the logged in user at the navbar:

Looks good to me, I agree with Naor, good job :)


chore: bdd-nh-import-1570617087 to 0.0.1

chore: Promote bdd-nh-import-1570617087 to version 0.0.1

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

Needs approval from an approver in each of these files:

OWNERS

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


Unable to move forward with fake yaw enabled due to micromovement when knife is out

Quick fix I threw together I'm presuming this is a known issue but oh well:
`
// fake
if (C::Get(Vars.bAntiAimYawFake))
{
// determine max possible delta value of desynchronization
// it doesn't necessary to use exact value because server will always clamp higher values itself
const float flMaxDesyncDelta = GetMaxDesyncDelta(pAnimationState);
	// determine if we are pressing a movement button or not if we are
	const bool bPressingMove = (pCmd->nButtons & (IN_LEFT) || pCmd->nButtons & (IN_FORWARD) || pCmd->nButtons & (IN_BACK) ||
	pCmd->nButtons & (IN_RIGHT) || pCmd->nButtons & (IN_MOVELEFT) || pCmd->nButtons & (IN_MOVERIGHT) || pCmd->nButtons & (IN_JUMP));

	/*
	 * force game to always update lower body yaw when standing
	 * to do this we need to keep player velocity greater than (CS_PLAYER_SPEED_STOPPED = 1.0f)
	 *
	 * @ida: server.dll -> "F3 0F 10 05 ? ? ? ? 0F 2F 86 ? ? ? ? 72"
	 * @source: master/game/shared/cstrike15/csgo_playeranimstate.cpp#L2380
	 */
	if (pAnimationState->bOnGround && !pAnimationState->bOnLadder && pLocal->GetVelocity().Length2DSqr() < 25.f && !bPressingMove)
	{
		/*
		 * compute speed we need to force to reach desired velocity
		 * since duck have its own modifier on velocity (CS_PLAYER_SPEED_DUCK_MODIFIER = 0.34f)
		 * we should also take this into account, reciprocal of it is 2.94f, 1.01 * 2.94 = 2.97
		 */
		const float flWishSpeed = ((pCmd->nButtons & IN_DUCK) ? 2.97f : 1.01f);

		// switch direction every tick so we're "sliding" at same place
		pCmd->flForwardMove = ((pCmd->iCommandNumber & 1) ? +flWishSpeed : -flWishSpeed);
	}

	if (!*pbSendPacket)
		angModifiedView.y -= (bInverter ? +flMaxDesyncDelta : -flMaxDesyncDelta);

	angModifiedView.Normalize();
}

`

I didn't have anything like this the last time i checked, can u elaborate more on this?

I didn't have anything like this the last time i checked, can u elaborate more on this?

nothing much more than what i said tbh when i had fake yaw enabled for some reason and a knife out i just couldn't move forward or backwards due to micromovement its weird and i cant see whats causing it tbh

what else do you have enabled? where does it happens to you on local/community/valve server?

what else do you have enabled? where does this happens to you on local/community/valve server? also try if issue still persists on the latest commit for you.

### information:

latest commit
local server (haven't tested on a pub server)
only fake aa on + other features don't affect it


Imaging sensitivity

Want to yield a "map" of noise to add to a cube.

Is this just a matter of FT UV grid sensitivity to image ... ?


Spacing support for option names

Summary
Support not only work=Study-Something but also work=Study Something
Details
https://github.com/sorarideblog/youtube-study-space/blob/d7a53f5a0e81170f46279bdeedf62ddd5009e30a/system/core/utils/parser.go#L611-L650
Current system doesn't accept space for option.
In the case of Japanese, spacing is not necessary, but in other languages such as English and Korean, it is necessary to connect two words.
Also, as far as I know, the current system divides characters by spaces and check it has prefix.
I think you can put the function of rejoining the text in the current system or it'll be easy to use a regular expression.

https://pkg.go.dev/regexp#Regexp.FindStringSubmatch

Or I can create PR for this.

@gangjun06
Sorry for the late reply.
Exactly it's a nice idea for supporting Korean and English.
Since you probably know more about regular expressions than I do, will you create PR?
I welcome anytime.
If it seems difficult for you to do it, I will try in the future.


Manifest injection

R: @jeffposnick @addyosmani
Fixes #405
An early implementation of the manifest injection. This currently expects a file to read in and outputs to dest.

cc @jeffposnick added in the feature you requested and updated the comment.


AppImage for Linux

Providing an AppImage would have, among others, these advantages:

Works for most Linux distributions (including Ubuntu, Fedora, openSUSE, CentOS, elementaryOS, Linux Mint, and others)
One app = one file = super simple for users: just download one AppImage file, make it executable, and run
No unpacking or installation necessary
No root needed
No system libraries changed
Just one format for all major distributions
Works out of the box, no installation of runtimes needed (unlike Snap and Flatpak)
Optional desktop integration with appimaged
Optional binary delta updates, e.g., for continuous builds (only download the binary diff) using AppImageUpdate
Can optionally GPG2-sign your AppImages (inside the file)
Works on Live ISOs (unlike Flatpak)
Can use the same AppImages when dual-booting multiple distributions

Here is an overview of projects that are already distributing upstream-provided, official AppImages.
electron-builder has native support for generating AppImages from Electron-based applications.
If you have questions, AppImage developers are on #AppImage on irc.freenode.net.

As I say in the README.md, I did this project intending to learn how to use the Electron framework. That's the main cause why I don't provide AppImages or packages for other systems (such as Windows or macOS). The compilation of this packages is simple, and it's also explained in the README file. Indeed, this project uses electron-builder to compile itself into binary production-ready packages.


TimberHelper::transient doesn't update if timeout option is missing

Expected behavior

If transient_timeout option is missing  - transient should be deleted and generated correctly again. Similar to how it's implemented in core: https://core.trac.wordpress.org/browser/tags/4.7.3/src/wp-includes/option.php#L736
Actual behavior
 In case `transient_timeout` is missing -  `TimberHelper::transient` returns it's value, but doesn't proceeds with `handle_transient_locking` function. It happens since transient value still exists and WordPress could not delete it because timeout option is missing.
Steps to reproduce behavior

For example, if we have:
$data = TimberHelper::transient('theme_common_data', function() {
	return array(
		'home_url' => home_url(),
	);
}, 600);

and then we remove timeout option (or because of some glitch it disappears):

In this case TimberHelper::transient will always return the same value and it won't be updated, since the callback is not called.
What version of WordPress, PHP and Timber are you using?

WordPress 4.7.3, PHP 5.5.9, Timber Timber: 1.2.1
How did you install Timber? (for example, from GitHub, Composer/Packagist, WP.org?)

Composer

Actually I am not sure if that is an issue of TimberHelper. I will close this issue for now, but would like to hear your thoughts about it.


Replace meta examples relative path with cmake variable

fixes #4865

@gf712 is there any chance you can just create the cookbook and paste here one of the examples ? :)

@vigsterkr for the cookbook we don't show the load path. It'll be something like
features_train = features(f_feats_train)
features_test = features(f_feats_test)
labels_train = labels(f_labels_train)
labels_test = labels(f_labels_test)


Blog tags should be in Carpentries blue

See image - tags that are currently in gray as defined here should be in Carpentries blue.
@OscarSiba can you confirm that this should be  #001483 / rgb(0, 20, 131)?

Yes, that blue. Thanks @maneesha.

Thanks. This may not be ready for the first launch.  In that case we will come back to it later.


[BUG] Twitter icon change

Description
Twitter icon on user's profile is still old
for reference:
https://www.biodrop.io/eddiejaoude
I think this icon should be changed to the new one.
Screenshots

Do you want to work on this issue?
Yes
Additional information
No response

Thank you for raising.  However whether a user updates their Twitter logo from the flappy bird to the X is entirely up to them.
Users already have the ability to do so by editing their Links icon either via JSON or Forms, so I will close.


Visual Studio Code for .Net Framework WebApplication

I would like to ask how to run the WebAPI (Application) in the framework in OMINSHARP.
Run EXE and I've found the answer here（https://stackoverflow.com/questions/47707095/visual-studio-code-for-net-framework）
Can you provide some ideas

Closing due to lack of activity.


graph_from_xml not connecting network

This "bug" report is stretching the functionality of osmnx but here goes. My use case is taking a shapefile / geojson of the "official" rail network for NZ, converting to .osm format and then reading into osmnx. It is worth noting that getting the rail infrastructure with osmnx does work. I've pursued this option of reading data from a shapefile because it seems useful to see if shapefiles can be made into routable networks. Public sector in NZ serves a lot of infrastructure data via ArcGIS hub and the shapefile is a common format for open data of transport infrastructure.
Input
Shapefile data
Input conversion

Using ogr2osm to convert from geojson to .osm. ogr2osm

 python ogr2osm.py main_left_filtered.geojson

Reading into osmnx

Saved .osm read with graph_with_xml

rail_net_ox = ox.graph_from_xml("data/main_left_filtered.osm", simplify=True, retain_all=True)

What works

The graph seems to be read in sensibly though IDs are negative for some reason! I suspect this is a 'feature' of the ogr2osm conversion.

What doesn't work

I cannot route on this network. Some of the issues seem to be because one of the main trunk lines doesn't make it into the largest connected component for the North Island. I'm not sure why this happens? I've checked the spatial connectivity and there are no obvious gaps!

Environment

Python 3.6.10
osmnx 0.15.1

Any suggestions  / advice would be super helpful!
Thanks a lot!
Shrividya

I cannot route on this network. Some of the issues seem to be because one of the main trunk lines doesn't make it into the largest connected component for the North Island.

What specific origin/destination pairs are unsolvable? Try digging into your graph and identifying the point at which the main trunk line disconnects from the North Island's largest connected component. What specifically is missing there? Is there an specific edge missing? If so, what is that way's OSM ID? Can you find it in your .osm file?
Given the reliance on a 3rd party tool to convert geojson -> .osm XML, it's hard to guess where the problem might be. If you can reproduce the problem with an official .osm extract then I'd guess it's a bug in OSMnx. Otherwise, I'd guess it's not... but let me know what your investigation into the above questions uncovers and I can take a further look.

The problem appears to be the connectivity of this red edge here:

It's all one edge. That graph component that branches off of it to the east is not connected: the node in the middle of it (ID "-66793", assigned by the converter tool but meaningless as it's not a real OSM ID) is not part of the edge I've highlighted in red. Hence you cannot route anything out to that eastern branch.

Hiya,
Thanks so much for your quick response! I had a look at that edge. I wasn't able to see the disconnectivity though. How were you able to zoom in so far? In any case, do you think this is because of the ogr2osm tool? Afaik, the tool doesn't create OSMIDs, it just creates unique IDs.
I don't think the original network would have been disconnected so is there some reason why osmnx is not able to connect this edge? It seems to have connected the rest of the North Island rail network correctly..
Thanks again!
Shrividya

I just saved the graph to a geopackage, opened in QGIS, and explored around. If you track that node down on OSM and can pinpoint OSMnx as breaking this, we can reopen. But for now I'm going to close this as it looks like an issue with the input data.

I am facing out of memory error everytime I try to load an OSM XML file using below:
G = ox.graph.graph_from_xml(osm_file_path, bidirectional=False, simplify=True, retain_all=True, encoding='utf-8')
This mainly happens for bigger regions - anything bigger than 500MB - is there any filter available to be used to optimize the graph load

I am trying to use the graph_from_xml option to load data from osm files which was downloaded and converted from the geofabrik site for various countries - but I am constantly facing error while trying to load larger subregions larger than 500MB
few samples include:
north-america-mexico-latest.osm.pbf converted to north-america-mexico-latest.osm
north-america-canada-alberta-latest.osm.pbf converted to north-america-canada-alberta-latest.osm
asia-vietnam-latest.osm.pbf converted to asia-vietnam-latest.osm
However in cases where the file size is less than 300 MB I am able to load the graph using graph_from_xml
Below is the code snippet of my try statement:
try:
print(f"Starting OSM graph creation for {country_name}")
    # Create graph from OSM XML file
    G = ox.graph.graph_from_xml(osm_file_path, bidirectional=False, simplify=True, retain_all=True, encoding='utf-8')

FYI I have also tried to filter out on the tags - but still facing out of memory error - please let me know if there is a way to optimize the graph_from_xml call to filter the data to be loaded or any other inputs


Add JWT Support to Gateway

OSS now allows for JWT token validation in http API. We need to update to this latest version and wire in a signing key in order to validate tokens from future to() transformations.
Steps

Update to version of OSS which support jsonweb package.
Create implementation of jsonweb.KeyStore which provides a signing key from an environment var.
Create suitable environment variable for signing key (e.g. GATEWAY_JWT_SIGNING_KEY).
Configure AuthenticationHandler with a jsonweb.TokenParser which uses env var KeyStore implementation.

Success Criteria
With the appropriate signing key a token can be generated and access authorized via gateway.

fyi @pierwill


Cw log group kms key

Codecov Report

Merging #31 (c61f9d2) into master (7d365bb) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #31   +/-   ##
=======================================
  Coverage   90.97%   90.97%
=======================================
  Files         299      299
  Lines       35119    35123    +4
=======================================
+ Hits        31949    31953    +4
  Misses       3170     3170

Impacted Files
Coverage Δ

c7n/resources/cw.py
95.25% <100.00%> (+0.07%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7d365bb...c61f9d2. Read the comment docs.


Ignore dupliate system dump entry

In any case if host is reporting the same system entry
twice, ignore alreadsy reported entry
Tests:
Create a disruptive system dump and offload
Create a non-disruptive system dump and offload
A minor fix  a return was missing
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-debug-collector/+/50818/4..5/dump-extensions/openpower-dumps/dump_manager_system.cpp
Signed-off-by: Dhruvaraj Subhashchandran<EMAIL_ADDRESS>Change-Id: I31d92df43476a19880d084a68e5db17c5207bd81

This had issues


Test failures when running tests from the dummy app

Tests that require ember-template-compiler.js fail on master when I run them from the dummy test app in the browser (as in localhost:4200/tests)
Error message:
Cannot call `compile` without the template compiler loaded. Please load `ember-template-compiler.js` prior to calling `compile`.
➙  ember -v
version: 2.4.2
node: 4.3.0
os: darwin x64

All tests pass if I run in test environment (as in ember test --server)
I understand that most people run their tests the latter way, but In case anyone wants to run them from the browser, is there a downside to just including the ember-template-compiler.js in the ember-cli-build regardless of what environment we are running?

@migbar Shouldn't be a problem to always include the ember-template-compiler file regardless of the environment. I'll take a look at the PR later today.
Thanks for contributing


Fix reference dataset & Fix NPE bug for eacruntime

Ⅰ. Describe what this PR does
Fix reference dataset for eacruntime & Fix NPE bug for eacruntime
Ⅱ. Does this pull request fix one issue?

fixes #2575
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

/lgtm
/approve


[Bug]: shopify app dev spawns a ruby process that takes 99.1% of CPU usage on MacOS

Please confirm that you have:

[X] Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
[X] Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?
App
Expected behavior
CPU usage is way too high. It causes my MacOS fans to spin too loud and the machine to heat up too much.
Actual behavior
After running npm run dev (that runs shopify app dev) on latest version my PC heats up too much.
ps aux -o %cpu,%mem,rss,vsz,start_time,user,command returns:
USER               PID  %CPU %MEM      VSZ    RSS   TT  STAT STARTED      TIME COMMAND           %CPU %MEM    RSS      VSZ USER             COMMAND
redacted 56303  99,1  0,2 33731004  32524 s005  R    11:00     9:53.21 /Users/redacted  99,1  0,2  32524 33731004 redacted /Users/redacted/.rvm/rubies/ruby-3.0.0/bin/ruby /Users/redacted/Documents/web/

Note 99,1 of CPU usage
After terminating app with cmd+c, ruby process is still running (!)
Reproduction steps

run npm run dev in node template

Operating System
MacOS Ventura 13.2
Shopify CLI version (check your project's package.json if you're not sure)
latest
Shell
zsh
Node version (run node -v if you're not sure)
v16.14.2
What language and version are you using in your application?
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin21],

I'm eager to provide more details, the issue is easy to reproduce as it occurs every time I'm working with any app.

On the first run, ruby needs to compile native extensions, so it might take a few minutes to compile. If you wait a bit instead of Control-C, from the next time it should boot pretty quick. Let me know if that's not the case.

We use Ruby gems to provide theme editing functionality inside the cli. Some Ruby gems require compiling native extensions in C in order to work. So my hypothesis is that it was getting stuck while compiling some of these dependencies. Could you share a minimal repository where you see the issue?

Unfortunately not immediately as mostly I'm working on private projects, but I will try to reproduce the issue on the current template during the weekend. All I can share right now are what terminal return:
redacted 74332  96,1  0,0 33760520   7716 s009  R     4:16    35:50.66 /Users/redacted  96,1  0,0   7716 33760520 redacted /Users/redacted/.rvm/rubies/ruby-3.0.0/bin/ruby /Users/redacted/Documents/web/redacted-app/node_modules/@shopify/cli-kit/assets/cli-ruby/bin/shopify extension serve /Users/redacted/Documents/web/redacted-app/extensions/redacted-extension --api-key redacted --extension-id redacted

note the time is 35 minutes now
and here's the battery usage graph:

If you could guide me if there is any command that I could use to print logs just for that ruby build maybe we could shorten the time spent on this issue. Anyway I will keep you posted once I will be able to reproduce the issue on the plain template with some theme extensions in the background

One suggestion would be to run that command separately from the console. Does it print any output? If not, the next step would be to use GDB and inspect which system call is the Ruby process stuck in, you can follow many tutorials online, here's one for Ruby: https://www.mikeperham.com/2016/08/05/debugging-stuck-ruby-processes/

Perfect, thank you, will check and post the findings


Coarse Universe Respect Equity Market Hours DB Holidays

Expected Behavior
LEAN does not run a universe selection on a market holiday.
Actual Behavior
Looks like coarse selection run on an observed holiday resulting in 0-data available and deselecting all the assets in the universe.

Potential Solution
The observed holidays are already in the MHDB; we need to make the coarse iterator skip them;
https://github.com/QuantConnect/Lean/commit/3966c0e91f74b3be7bb36ed5dd6bd22aea2636d4
Reproducing the Problem
class NumberStocksInUniverce(QCAlgorithm):

    def Initialize(self):
        self.SetStartDate(2020, 6, 1)
        self.SetEndDate(2020,11,9)
        self.SetCash(10000)
        self.AddUniverse(self.CoarseSelection)
        self.UniverseSettings.Resolution = Resolution.Daily

    def CoarseSelection(self, coarse):

        AllSecurities = [ x for x in coarse ]
        self.Plot("Strategy Equity", "AllSecurities", len(AllSecurities))

        if len(AllSecurities) == 0:
            self.Debug(str(self.Time))

        Stocks = [x for x in AllSecurities if (x.HasFundamentalData) and (float(x.Price) > 0)]
        self.Plot("Strategy Equity", "Stocks", len(Stocks))

        StocksAboveFive = [x for x in Stocks if (x.HasFundamentalData) and (float(x.Price) > 5)]
        self.Plot("Strategy Equity", "StocksAboveFive", len(StocksAboveFive))

        TopDollarVolume = sorted(StocksAboveFive, key=lambda x: x.DollarVolume, reverse=True)[:500]
        self.Plot("Strategy Equity", "TopDollarVolume", len(TopDollarVolume))

        return  [x.Symbol for x in TopDollarVolume[:500]]

Checklist

[x] I have completely filled out this template
[x] I have confirmed that this issue exists on the current master branch
[x] I have confirmed that this is not a duplicate issue by searching issues

[x] I have provided detailed steps to reproduce the issue

This was caused as a result of the Market Hours Database not being updated to the most recent version in the cloud NAS, as well as a non-aggregated coarse file that is now being reprocessed.
Thankfully not a bug, so closing


Re-enable slang-test for WGSL

My previous commit disabled the WGSL test by a mistake. This commit fixes the mistake and run the slang-test for WGSL tests.
frexp and modf were still not working for the vector types.
And this commit fixes it.

I can confirm that CI now runs WGSL test,
passed test: 'tests/wgsl/math.slang'


[stable/mongodb-replicaset]Fix mongodb-replicaset bug in _helpers.tpl

Signed-off-by: aixeshunter<EMAIL_ADDRESS>
Is this a new chart

NOTE: We're experiencing a high volume of PRs to this repo and reviews will be delayed. Please host your own chart repository and submit your repository to the Helm Hub instead of this repo to make them discoverable to the community. Here is how to submit new chart repositories to the Helm Hub.

What this PR does / why we need it:
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)
Fix bug:
[root@master1 opt]# helm lint mongodb-replicaset/
==> Linting mongodb-replicaset/
[ERROR] templates/: parse error in "mongodb-replicaset/templates/_helpers.tpl": template: mongodb-replicaset/templates/_helpers.tpl:65: unexpected "-" in define clause

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign
/ok-to-test
/lgtm


Rename demo folders

To include description as per: https://github.com/chenglou/react-motion/issues/190

Thanks!

There is a problem with this renaming  #197


loadable/component Synchronously Load Component Failed with Error "Cannot convert undefined or null to object

I'm using the loadable/component library for server-side rendering (SSR) in my React application. However, I encountered an error when trying to synchronously load a component.
The error message is:
loadable-components: failed to synchronously load component, which expected to be available {
  fileName: './node_modules/MyComponent/index.tsx',
  chunkName: 'loadable_MyComponent',
  error: 'Cannot convert undefined or null to object'
}

If MyComponent export default MyComponent, it's worked, but if MyComponent only export const MyComponent, it's not work, Here is my usage:
// Bad
// MyComponent.tsx
export const MyComponent = () =>

;

const LoadableMyComponent = loadable(() =>
    import(/* webpackChunkName: "loadable_MyComponent" */ 'MyComponent').then(
        module => ({ default: module.MyComponent }),
    ),
);

// Good
// MyComponent.tsx
const MyComponent = () =>

;
export default  MyComponent;

const LoadableMyComponent = loadable(() =>
    import(/* webpackChunkName: "loadable_MyComponent" */ 'MyComponent'),
);

And I've already set up ChunkExtractor in the server-side code and properly configured loadable/babel-plugin in my Webpack and Babel configurations.
However, when running my application, I received the above error message indicating that loadable/component failed to synchronously load the MyComponent component. This error only occurs when the MyComponent component is inside the loadable function. If I remove MyComponent from the loadable function, the error doesn't occur.
I've checked that the module path is correct and it exports a React component correctly. The loadable-stats.json is also generated and referenced correctly in my application.
I'm looking for guidance to solve this issue. Any help would be greatly appreciated. Thanks.

const LoadableMyComponent = loadable(
    () => import(/* webpackChunkName: "loadable_MyComponent" */ 'MyComponent'),
    {
        resolveComponent: components => components.MyComponent,
    },
);

This can work!

This is expected way to handle named exports 😉


You have included the Google Maps API multiple times on this page

I know this issue happened to others but I am pretty stuck with it since days, can't find any solution.
Here is my @NgModule:
import { NgModule } from '@angular/core';
import { AgmCoreModule } from 'angular2-google-maps/core/index';

// Global vars
import appGlobals = require('./../globals');

@NgModule({
    imports:      [ AgmCoreModule.forRoot({
                        apiKey: appGlobals.googleMapsApiKey
                    }) ],
})

export class JobSearchModule {}

Here is my HTML:
<div class="col-md-12 google-maps-container">
        <sebm-google-map [latitude]="mapLat"
                         [longitude]="mapLng"
                         [mapDraggable]="false"
                         [zoom]="zoom"
                         [zoomControl]="false"
                         [streetViewControl]="false"
                         (mapClick)="mapClicked($event)">
            <sebm-google-map-marker [latitude]="mapLat"
                                    [longitude]="mapLng">

            </sebm-google-map-marker>
        </sebm-google-map>
    </div>

And here is a screenshot of what I have inside my HTML head tag:

So it looks like it is really including the API twice but I don't know why or how.

@escarabin the problem is that you import the module in a child module of your app. You have to import it inside your root module of the app. Closing this as this is no bug. Feel free to reopen. Thx!

hey @SebastianM! Thanks for the advice but I am still facing the issue.
Here is my configuration:

I need to use the angular2-google-maps in a child module called job-search-module.ts
I have a shared.module.ts which contains all of the components and modules that I use in several other modules.
My root module is app.module.ts

Now, when I import AgmCoreModule in my app.module.ts, I see an error saying that sebm-google-mapis not a part of my job-search-module.ts and no map is shown.
When I import AgmCoreModule in my shared.module.ts, I see "You have included the Google Maps API multiple times on this page".
What should I do then?
PS: I do not have the ability to re-open the issue

anyone? :( I am quite stuck with it right now

@escarabin i had similar problem. Try this.
You need to import maps in the root application module, so you do something like this:
@NgModule({
    declarations: [
        ...
    ],
    imports: [
        ...,
        AgmCoreModule.forRoot({
            apiKey: 'some key here'
        })
    ],

But then if you want to use maps in a component that does not belong to this module, go to that module and do this:
@NgModule({
    declarations: [
        SomeComponentThatHasMapsInItsHtml,
        .....
    ],
    imports: [
        AgmCoreModule,
        ...
    ],

To add why I think this works, is because you need to register the thing at the root of your application (so that google stuff is initialised with your key).
But you are using <seb-maps-smth-smth> in a component that belongs to another module, so you need to add the AgmCoreModule as an import so that it can find an exported component in this module that has selector seb-maps-smth-smth .
Hope that solves the issue

Thank you so much for the effor @EddyP23 but unfortunately I still see the error...is it really working on your side using<EMAIL_ADDRESS>It's very weird.
The problem is not the error itself but it also causes a bunch of completely random bugs on the page...
Also, you are talking about <seb-maps-smth-smth>. I don't use this tag and I don't see it in the docs. I'm using <sebm-google-map>

@escarabin Yes, I am using version 0.15.0.
By smth smth I do mean any seb-maps-{placeholder}  selector. My Html looks like:
<sebm-google-map #sebmGoogleMap
        [latitude]="myVar1"
        [longitude]="myVar2"
        (idle)='onIdle()'
        [zoom]='mapZoomLevel'
        [streetViewControl]='false'
        >
            <sebm-google-map-marker #marker
                [latitude]="myVar3"
                [longitude]="myVar4"
                ></sebm-google-map-marker>
    </sebm-google-map>

What error are you seeing now? I do believe this setup should work. Could you share more code?

I still see "You have included the Google Maps API multiple times on this page" error.
My HTML looks like this:
<sebm-google-map #sebmGoogleMap
                         [latitude]="mapLat"
                         [longitude]="mapLng"
                         [mapDraggable]="false"
                         [zoom]="zoom"
                         [zoomControl]="false"
                         [streetViewControl]="false"
                         (mapClick)="mapClicked($event)">
            <sebm-google-map-marker [latitude]="mapLat"
                                    [longitude]="mapLng">

            </sebm-google-map-marker>
</sebm-google-map>

Hm.. That is weird. Are you sure you don't have script tags importing google maps anywhere (e.g. in index.html) the old way? Something like this:
<script async defer
    src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&callback=initMap">
    </script>

I would also go through all the usages of AgmCoreModule to check that you are not importing it twice in some other place accidentally.

I have the same problem but I´m using google-places component too, then how can I define  a single API_KEY to avoid the duplicate error. For the google-places I declare the API_KEY on index file like . and in angula maps on  AgmCoreModule.forRoot({
apiKey: 'API_KEY'
})

I'm also having this issue. I've added the AgmCoreModule.forRoot({...}) in the app.module for my components, and I've checked for multiple google api calls.
Still returns the same error.

I am also having this issue. I've also added the AgmCoreModule.forRoot({...}) in the app.module for my components, and I've also checked for multiple google api calls.

Ok my mistake, if it helps anyone else here--try deleting your old script tag rather than commenting it out. For some reason, commenting it in the template was not removing it.

@EddyP23 , What can i do if im using skd autocomplete and agm maps?
Since it imports into index

Unfortunately I cannot just delete your old script tag because we have some legacy parts of our app that require the script tag being present. I'd suggest the lazy loader check if the api lib is present first before fetching. I'm kinda stuck right now and have to probably edit the source.

Below is my fairly nasty hack to allow for a) older dependencies that assume the api is included statically via a hardcoded <script src="" tag remain functioning and b) avoiding the You have included the Google Maps API multiple times on this page error.
Implement the Overrides
import { ModuleWithProviders } from '@angular/core';
import { AgmCoreModule } from '@agm/core';
import { MapsAPILoader } from '@agm/core/services/maps-api-loader/maps-api-loader';
import { LazyMapsAPILoaderConfigLiteral } from '@agm/core/services/maps-api-loader/lazy-maps-api-loader';

export class AgmCoreOverrideModule {
    static forRoot(lazyMapsAPILoaderConfig?: LazyMapsAPILoaderConfigLiteral): ModuleWithProviders {
        var module = AgmCoreModule.forRoot(lazyMapsAPILoaderConfig);

        // This is the magical path to what we need to override.
        // Future releases of Agm Core may totally break this.
        let provider: any = module.providers[2];
        provider.useClass = IgnoreIncludingApiLoader;

        return module;
    }
}

export class IgnoreIncludingApiLoader extends MapsAPILoader {
    load(): Promise<void> {
        // Do absolutely nothing.
        return new Promise<void>(resolve => resolve());
    }
}

Wire it up in app.module
@NgModule({
    imports: [
        AgmCoreOverrideModule.forRoot({
            apiKey: '<key>'  // Not really needed.
        })
    ],
    ...

I have been trying to resolve this issue from many days finally i arrived at the solution by comparing all the module file in the project.
Please check for all the modules in your package.
If you find the below code in multiple modules delete them and keep it only in one module.

platformBrowserDynamic().bootstrapModule(AppModule)
.catch(err => console.log(err));

Its better to keep only in  main.ts
Hope this solution helps you guys

I was able to resolve the problem in the escenario that @escarabin describes overriding the module.
import { ModuleWithProviders, Inject, Optional, NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { AgmCoreModule, LAZY_MAPS_API_CONFIG, MapsAPILoader } from '@agm/core';
import { LazyMapsAPILoader, LazyMapsAPILoaderConfigLiteral } from '@agm/core/services/maps-api-loader/lazy-maps-api-loader';
import { WindowRef, DocumentRef, BROWSER_GLOBALS_PROVIDERS } from '@agm/core/utils/browser-globals';
import { coreDirectives } from<EMAIL_ADDRESS>

@NgModule({ imports: [CommonModule, AgmCoreModule], exports: [AgmCoreModule]})
export class AgmOverrideModule {
  static forRoot(lazyMapsAPILoaderConfig?: LazyMapsAPILoaderConfigLiteral): ModuleWithProviders {
    return {
      ngModule: AgmOverrideModule, providers: [BROWSER_GLOBALS_PROVIDERS, { provide: MapsAPILoader, useClass: ApiLoader },
        { provide: LAZY_MAPS_API_CONFIG, useValue: lazyMapsAPILoaderConfig } ]}
  }
}

export class ApiLoader extends LazyMapsAPILoader {
  private static cargado: boolean;
  constructor( @Optional() @Inject(LAZY_MAPS_API_CONFIG) config: any, @Inject(WindowRef) w: WindowRef, @Inject(DocumentRef)  d: DocumentRef) {
    super(config, w, d);

  }
  load(): Promise<void> {
    if (ApiLoader.cargado) {
      return new Promise<void>(resolve => resolve());
    } else {
      return new Promise<void>((resolve, reject) => {
        super.load()
          .then(() => {
            ApiLoader.cargado = true;
            resolve();
          })
          .catch(err => {
            reject(err);
          });
      });
    }
  }
}

And importing the module in the shared module
    AgmOverrideModule.forRoot({
      apiKey: environment.claveMaps
    }),

Thank  you so much:).
On Mon, Mar 19, 2018 at 7:03 PM, Juliete<EMAIL_ADDRESS>wrote:

I was able to resolve the problem in the escenario that @escarabin
https://github.com/escarabin describes overriding the module.
import { ModuleWithProviders, Inject, Optional, NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { AgmCoreModule, LAZY_MAPS_API_CONFIG, MapsAPILoader } from '@agm/core';
import { LazyMapsAPILoader, LazyMapsAPILoaderConfigLiteral } from '@agm/core/services/maps-api-loader/lazy-maps-api-loader';
import { WindowRef, DocumentRef, BROWSER_GLOBALS_PROVIDERS } from '@agm/core/utils/browser-globals';
import { coreDirectives } from<EMAIL_ADDRESS>@NgModule({ imports: [CommonModule, AgmCoreModule], exports: [AgmCoreModule]})
export class AgmOverrideModule {
static forRoot(lazyMapsAPILoaderConfig?: LazyMapsAPILoaderConfigLiteral): ModuleWithProviders {
return {
ngModule: AgmOverrideModule, providers: [BROWSER_GLOBALS_PROVIDERS, { provide: MapsAPILoader, useClass: ApiLoader },
{ provide: LAZY_MAPS_API_CONFIG, useValue: lazyMapsAPILoaderConfig } ]}
}
}
export class ApiLoader extends LazyMapsAPILoader {
private static cargado: boolean;
constructor( @Optional() @Inject(LAZY_MAPS_API_CONFIG) config: any, @Inject(WindowRef) w: WindowRef, @Inject(DocumentRef)  d: DocumentRef) {
super(config, w, d);
}
load(): Promise {
if (ApiLoader.cargado) {
return new Promise(resolve => resolve());
} else {
return new Promise((resolve, reject) => {
super.load()
.then(() => {
ApiLoader.cargado = true;
resolve();
})
.catch(err => {
reject(err);
});
});
}
}
}
And importing the module in the shared module
AgmOverrideModule.forRoot({
  apiKey: environment.claveMaps
}),

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/SebastianM/angular-google-maps/issues/692#issuecomment-374212677,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AiXUoVhigXAsP1d3tYQsPwK8UP_T-lfXks5tf7OkgaJpZM4KMHK6
.

I also have the problem with version 1.0.0-beta.5 of the library. I investigated the problem and it doesn't occur in every case.
Here is the context, I have the main module that uses AgmCoreModule.forRoot:
@NgModule({
  imports: [
    (...)
    AgmCoreModule.forRoot({
      apiKey: environment.googleMaps.apiKey
    }),

and a lazy module that uses AgmCoreModule:
@NgModule({
  declarations: [
    (...)
  ],
  imports: [
    (...)
    AgmCoreModule,

I can reproduce the problem when first going to a page linked to the root module and then going to a page of the lay module.
I investigated a bit the problem and i appeared that the load method of the LayLoader of agm is called twice in this case in parallel:

one from the FitBoundsService

        var _this = this;
        this._boundsChangeSampleTime$ = new BehaviorSubject(200);
        this._includeInBounds$ = new BehaviorSubject(new Map());
        this.bounds$ = from(loader.load()).pipe(flatMap(function () { return _this._includeInBounds$; }), sample(this._boundsChangeSampleTime$.pipe(switchMap(function (time) { return timer(0, time); }))), map(function (includeInBounds) { return _this._generateBounds(includeInBounds); }), shareReplay(1));
    }```

* one from the `GoogleMapsAPIWrapper`

``` GoogleMapsAPIWrapper.prototype.createMap = function (el, mapOptions) {
        var _this = this;
        return this._zone.runOutsideAngular(function () {
            return _this._loader.load().then(function () {
                var map = new google.maps.Map(el, mapOptions);
                _this._mapResolver(map);
                return;
            });
        });
    };

Do you have an idea of how to fix this problem?
Thanks!


[firebase_database] Update firebase:firebase-database dependency to 19.2.1

Description
Adds ability to connect to Firebase Emulators with new firebase-database version as logged in changelogs here.
I did this for myself and decided to share it as a PR... it's my first time doing a PR so if this isn't merged that's fine but trying to help out others. If someone wants to help me out with this PR that'd be great.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[ ] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] If the pull request affects only one plugin, the PR title starts with the name of the plugin in brackets (e.g. [cloud_firestore])
[ ] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[ ] All existing and new tests are passing.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[ ] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
[ ] I updated CHANGELOG.md to add a description of the change.
[ ] I signed the CLA.
[ ] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[x] No, this is not a breaking change.

@googlebot I signed it!

Quick suggestion, update the PR title to something like "Update firebase:firebase-database dependency to 19.2.1"
I understand that the description reflects the reason you want this update, but it isn't a good summary of what this PR actually changes. Thanks for the PR!

I'm going to close this as we use the Firebase to get the database version here


Persistent mode signature added when it should not

Hey there, I'm having an issue when compiling a target with hfuzz-cc. It is adding the persistent signature (_HF_PERSISTENT_SIG) despite not using the feature (which leads to honggfuzz to autodetect and enable persistent mode when it is not the case).
Was there a change in that regard that I'm missing?
I looked a little bit into it and this commit 77ea4dc4b499799e20ba33ef5df0152ecd113925 seems to be causing the issue.

Thanks for the report. Yes, I think I know what's going on. Will look into it soon.

Should be fixed with https://github.com/google/honggfuzz/commit/4887bbeee207da835af743b9abcbb7f6fd6e54b4


Mask GroundTruth

I download the mask_dict.json from the google cloud, however, there seems to be some Encoding error， could you please provide a Annotation folder such as Youtube-vos and Davis?

Hi,
Thank you for your attention.
Please kindly verify the SHA256 sum of the mask_dict.json files to ensure the data intergrity:
f9d9b01a2a6d7a004e2e7a664ce2b9b1576218e975030f8e4df4f66111fb253f train/mask_dict.json
6e711a3f713cd95a825f536323e434b4d80f85a8e4e66d0cd662408e8779db50 valid_u/mask_dict.json

There should be no encoding error when using our code.
Additionally, we also provide ReferFormer_dataloader.py for reading .json, with which you can train ReferFormer on MeViS dataset.

But could you please provide a script to convert the mask_dict.json to mask annotation with jpg？ I have some trouble in this step.


Remove instructions on @imports

Doing those @imports in application.css.scss doesn't accomplish anything, beyond increasing the load time and size of the page through unused duplication.
Theme styles are loaded dynamically by the JS.

Thanks for the commits. I haven't maintained this or the parent library in over a year, although @massar has been doing some maintenance on epic-editor.js itself. Merging this PR. If you'd like to help take ownership of this gem, shoot me a message.

I think I'll pass on that for the moment, this is not a thing I'm using consistently enough to be able to take any better care of.  But thank you for the work you've done in getting this up in the first place.


Update RxSwift to 5.1.0

I think we can update the minor version for this change-set, right?

Thanks for your contribution. @farshadtx


Add event checking to density tests

Currently the density tests are ok if all the pods come up eventually.  We should verify there are no failure/error events while the pods are coming up.  This could indicate issues dealing with the number of pods and should be investigated.

#6638 has been merged, and there's already an issue filed for followup actions, so I think we can close this.


Support fallback fonts

I want to render an Emoji in same context.
added two functions.
int nvgAddFallbackFontId(NVGcontext* ctx,int baseFont,int fallbackFont);
int nvgAddFallbackFont(NVGcontext* ctx,const char* baseFont,const char* fallbackFont);

example
data->fontNormal = nvgCreateFont(vg, "sans", "../example/Roboto-Regular.ttf");
data->fontEmoji = nvgCreateFont(vg, "emoji", "../example/NotoEmoji-Regular.ttf");
//If not available codepoint in "sans" , fallback to "emoji"
nvgAddFallbackFontId(vg,data->fontNormal,data->fontEmoji);

@memononen I was wondering if you will merge this PR. I'm working on an app that needs to display multiple languages at once (with different font files) and it seems this PR is what I want for a long time. This PR also resolves the https://github.com/memononen/nanovg/issues/193 issue. Please let me know if you need any help to merge this PR. Thanks.

@olliwang thanks for pinging.  I think the implementation is fine in principle. Added few comments what to change to get the PR in.

@memononen Thanks for reply. I've tested the code and fixed the formats as suggested.


Update build and deployment guide (win64)

Uses Environment Variable for OpenCV and Qt allowing for it to be extracted anywhere else.
Resolved not being able to run trdrop from Qt Creator after building.
Uses Relative Path for deployment
Commented out mentions of ffmpeg because we're not using it for now

Updated docs preview:
https://github.com/illusion0001/trdrop/blob/build-doc/DEVELOPMENT.md
https://github.com/illusion0001/trdrop/blob/build-doc/DEPLOYMENT.md

Very nice!


haskellPackages.patat: Patch to bump dependencies, override pandoc

Description of changes
Adding a patch, overriding a dependency.

Things done
Added a second patch from the default upstream branch to fix the build until there's a new release. Also overrode the version of a dependency, namely pandoc, as its Stackage version is pointing to an older version that's no longer within the accepted version bounds of this package.

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.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.

Looks good, thank you!


GWT says, "soundManager: No Flash response within expected time. Likely causes: Flash blocked or JS-Flash security error."

Issue details
I get this on GWT:

soundManager: No Flash response within expected time. Likely causes: Flash blocked or JS-Flash security error.
soundManager.disable(): Shutting down  soundmanager2-jsmin.js:32:357
SoundManager 2 failed to load (Flash security/load error)

This causes the libGDX loading screen to not come up.
Reproduction steps/code
I observed it in this commit here of my project, but it happens on multiple projects and was happening on 1.9.6-SNAPSHOT.
It happens every time in FireFox and Edge but seems to happen randomly on Chrome. All on Windows 10.
Version of LibGDX and/or relevant dependencies
1.9.6
Please select the affected platforms

[ ] Android
[ ] iOS (robovm)
[ ] iOS (MOE)
[X] HTML/GWT
[ ] Windows
[ ] Linux
[ ] MacOS

duplicate #4590

Oh, it's the same issue? I wasn't sure because it gave a different error.


Dialog width sometimes increases before it close.

          Do this issue is happening to you? Click on the `Toplevel` button and after the `Dialog` is open click on the `Yes` button keeping the button pressed. You'll see that the `Dialog` width increasing before it close.

https://github.com/gui-cs/Terminal.Gui/assets/13117724/3f7f1565-cb3f-432c-8eb7-925371d1522b
Originally posted by @BDisp in https://github.com/gui-cs/Terminal.Gui/issues/3372#issuecomment-2034543312

It's actually the MessageBox code that's broken here.
The Ready handler needs to call d.LayoutSubviews.

It's actually the MessageBox code that's broken here.
The Ready handler needs to call d.LayoutSubviews.

Thanks. It's working well now. I think you was meaning the Loaded handler.

Fixed in #3370.


Do we need to compute second order derivative during training?

Hi~
I have a question about training procedure. Do we need to compute second order derivative during training, for this:

Hi huanran,
The second-order mixed partial derivative is required to optimize the parameters \theta. You may use the torch.autograd.grad function to implement the loss.

Thank you~


[Suggestion] Drop block itself only if loottable is empty

I think it would be nice to have this feature so people don't have to override the getDrop method to what was before

I think this will conflict with blocks that get changed drop with loot tables (this suggestion), but we will think about it. Probably an interface can solve this

Implemented in 1.4.6


Next.js next, please!

Hey @iwatsonpro, you should already be able to use Code Connect with Next.js without any issues, as Next.js is built on top of React! Please let us know if you have any issues.


Respect min-size when collapsing

Current behavior:
When collapsing a container, the size of the container is set to 0px.

Proposed behavior:
When collapsing a container, the size of the container equals the min-size. If no min size is set, the container collapses to 0px.

+1

Nice, thank you!

Landed in cce113b (I took the liberty of amending the commit message so it fits with the Angular standards, please do that in the future)

Would be nice to have this optional, since sometimes it is required to collapse completely even though a minimum size is desired when moving the splitbar.

@widmoser good point.  Think you can open a PR in the next few days?  I'll bring that in before the next release


Different error handling of kernel startup and restart

Testing #10923

Create a new folder and a ipynb file with content print(123) in the first cell
Run the cell against a valid kernel (Python 3.6+)
Add an email.py file in the same folder
Restart the kernel

Now I got error message
Failed to start the Kernel.
Cannot read properties of null (reading 'statusChanged').
View Jupyter [log](command:jupyter.viewOutput) for further details.

And in the Jupyter log it said
[E 10:34:35.419 NotebookApp] Error opening stream: HTTP 404: Not Found (Kernel does not exist: 4f479182-870f-4f57-a0b1-009e5853555e)

If we flip step 2 and 3, then we would get proper error message
Some of the following files found in the working directory may have prevented the Kernel from starting. Consider renaming them.
File(s): [~\email.py](file:///c%3A/Users/rebor/code/personal/notebooks/bugs/email.py?line=1) might need to be renamed.

Oh that's a weird error, never seen that before.

@DonJayamanne the minified call stack is probably not easy to debug but here we go
[W 10:23:53.249 NotebookApp] delete /crash-jvsc-aff3bb37-f306-4172-a13a-10309f640e4c1dddf7a0-dad1-4fb7-a857-903eb60a80ff.ipynb
[I 10:23:56.250 NotebookApp] KernelRestarter: restarting kernel (1/5), new random ports
[I 10:23:59.270 NotebookApp] KernelRestarter: restarting kernel (2/5), new random ports
[I 10:24:02.280 NotebookApp] KernelRestarter: restarting kernel (3/5), new random ports
[I 10:24:05.302 NotebookApp] KernelRestarter: restarting kernel (4/5), new random ports
[W 10:24:08.308 NotebookApp] KernelRestarter: restart failed
[W 10:24:08.308 NotebookApp] Kernel cd644242-67e4-4c86-9070-e6c3bad2759e died, removing from map.
info 10:24:53.251: Error waiting for restart session: TypeError: Cannot read properties of null (reading 'statusChanged')
error 10:24:53.256: Restart failed c:\Users\rebor\code\personal\notebooks\bugs\crash.ipynb [TypeError: Cannot read properties of null (reading 'statusChanged')
	at waitForIdleOnSession (c:\Users\rebor\.vscode-insiders\extensions\ms-toolsai.jupyter-2022.7.1002101047\out\extension.node.js:2:1923258)
	at async w.createRestartSession (c:\Users\rebor\.vscode-insiders\extensions\ms-toolsai.jupyter-2022.7.1002101047\out\extension.node.js:2:2198963)]
[W 10:24:53.264 NotebookApp] Timeout waiting for kernel_info reply from cd644242-67e4-4c86-9070-e6c3bad2759e
[I 10:24:53.265 NotebookApp] Kernel shutdown: 1f907204-3600-471b-846d-8ee18149ea43
warn 10:24:53.590: Error occurred while trying to restart the kernel, options.disableUI=false [TypeError: Cannot read properties of null (reading 'statusChanged')
	at waitForIdleOnSession (c:\Users\rebor\.vscode-insiders\extensions\ms-toolsai.jupyter-2022.7.1002101047\out\extension.node.js:2:1923258)
	at async w.createRestartSession (c:\Users\rebor\.vscode-insiders\extensions\ms-toolsai.jupyter-2022.7.1002101047\out\extension.node.js:2:2198963)]
warn 10:24:53.592: Kernel Error, context = restart [TypeError: Cannot read properties of null (reading 'statusChanged')
	at waitForIdleOnSession (c:\Users\rebor\.vscode-insiders\extensions\ms-toolsai.jupyter-2022.7.1002101047\out\extension.node.js:2:1923258)
	at async w.createRestartSession (c:\Users\rebor\.vscode-insiders\extensions\ms-toolsai.jupyter-2022.7.1002101047\out\extension.node.js:2:2198963)]
info 10:24:53.597: Process Execution: > ~\.conda\envs\testenv\python.exe -c "import ipykernel"
> ~\.conda\envs\testenv\python.exe -c "import ipykernel"
[E 10:24:53.593 NotebookApp] Error opening stream: HTTP 404: Not Found (Kernel does not exist: cd644242-67e4-4c86-9070-e6c3bad2759e)
info 10:24:54.136: Dispose Kernel 'c:\Users\rebor\code\personal\notebooks\bugs\crash.ipynb' associated with 'c:\Users\rebor\code\personal\notebooks\bugs\crash.ipynb'
info 10:24:54.136: Cancel pending cells

Stack trace was very helpful, was able to find the exact spot where things failed


Support switching plotting backends in hvPlot

HV allows one to use other renderer, for instance matplotlib. How do one can setup matplotlib with hvplot?

Has there been any movement on this? I am trying to run hvplot.save() and keep getting a 'Remote end closed connection without response' error. I have set dynamic=False, but since I am only trying to save a static png I thought changing the backend to Matplotlib might fix my issue.

There are now issues specific to Matplotlib (#243) and Plotly (#480) support so I'll close this as a duplicate.


HW01 Roman Vsemirnov

This HW took 2-3 hours for me to do

Good job overall, but there are some bits and bobs you can improve.

:+1:


Support xdebug?

I couldn't make xdebug work in official wordpress image. I wonder if it would be possible with frankenphp.

Hey, I'm curious, may I ask what your usecase is? Maybe a development image?

I just try debugging wp from local docker since I don't know better way to debug it when I need to work with API and redirect problem where I couldn't var_dump everything onto the page.

Super offtopic, but we usually use ddev.com for local development, maybe it helps you.
I wonder if people actually make the effort to build up to date development images, from my experience, they are rather cumbersome to maintain.

Ya. I like that . Adding xdebug since its supported in FrankenPHP.
You could reference this image as the start from on a new docker image.
There is a debug value in the environment variables which will turn on wp_debug as well as debug for Caddy.
I probably won't add xdebug to this image since that is a dev customization.  Should be a pretty quick add if you want to extend.
--
I would be open to a dev image if there's enough request for it.

If it was easy, I would submit a PR instead of an issue -_-

hm. Maybe there is an opportunity for a dev image.
I created a poll to see how much traction we can get on it.
https://github.com/StephenMiracle/frankenwp/discussions/16
I might be able to create some documentation on how to setup xdebug without having an officially supported image.
Please feel free to vote @ngdangtu-vn  and whomever else.

Hey @ngdangtu-vn & @PascaleBeier , can you check this PR when you have a chance.
It's an example with xdebug enabled.
Doesn't allow for multiple sites at this point. Will do that in another feature.
https://github.com/StephenMiracle/frankenwp/pull/17/files


The edit box USES 'use space' every time it executes a statement. There is no context cache

We set the fixed input space above the input box


Large Cluster State Renders Cluster Unresponsive

Describe the bug
Crashing nodes accumulate in cluster state as dead nodes for a long while. As the state grows it takes longer and more memory to synchronize across the cluster. Particularly when a new node is added (or restarts). We have seen initial sync times upwards of 20+ seconds when the cluster is under stress And the cluster state being in the 5-10MB range.  In many cases, this will cause kubernetes to kill the pod causing another restart. Which adds another dead + new node to the state.
This constant start up loop also puts a lot of pressure on the control plane and it can become slow to respond - At which point the cluster becomes mostly unresponsive.
We have seen this problem in situations when the database server (postgres) is unavailable or unresponsive for a period of time. It being down causes all things in the write path to crash repeatedly which leads to the growing state problem. The only course of action seems to be to stop everything / scale all components to 0 so there is no starting cluster state.

Steps to reproduce (if applicable)
Steps to reproduce the behavior:
Our ingestion setup is 3 metastore nodes, 1 postgres primary, 30 Indexer pods, and 1 control plane node. We typically are doing 500MB/s ingest across 3K indexes.
After running for some time, kill the postgres instance and let be down for 10 minutes to allow the cluster state accumulate a few hundred dead nodes. Restart postgres wait for ingestion to become healthy again.
Expected behavior
If it isn't really feasible to prune the dead node list or size of the state because of the details around scuttlebut, the cluster should be much more tolerable of the database being down. Crashing may not be the best course of action as it ultimately prevents the cluster from ever becoming healthy again.
Configuration:
// build info
{
  "build": {
    "build_date": "2024-09-19T16:35:19Z",
    "build_profile": "release",
    "build_target": "aarch64-unknown-linux-gnu",
    "cargo_pkg_version": "0.8.0",
    "commit_date": "2024-09-19T15:34:03Z",
    "commit_hash": "f3dd8f27129a418a0d30642f8e7da2235d37cfaf",
    "commit_short_hash": "f3dd8f2",
    "commit_tags": [
      "qw-airmail-20240919"
    ],
    "version": "0.8.0-nightly"
  },
  "runtime": {
    "num_cpus": 16,
    "num_threads_blocking": 14,
    "num_threads_non_blocking": 2
  }
}

-- node.yaml
version: '0.8'
listen_address: <IP_ADDRESS>
grpc:
  max_message_size: 100MiB # default 20 MiB
metastore:
  postgres:
    max_connections: 50
searcher:
  fast_field_cache_capacity: 4G # default 1G
  aggregation_memory_limit: 1000M # default 500M
  partial_request_cache_capacity: 64M # default 64M
  max_num_concurrent_split_searches: 20  # default 100
  split_cache:
    max_num_bytes: 7500G
    max_num_splits: 1000000
    num_concurrent_downloads: 6
indexer:
  enable_cooperative_indexing: true
  cpu_capacity: 1000m
  merge_concurrency: 3
ingest_api:
  max_queue_disk_usage: 8GiB # default 2Gib
  max_queue_memory_usage: 4GiB # default 1Gib
  shard_throughput_limit: 5mb #default 5mb
storage:
  s3:
    region: us-east-1
    endpoint: https://s3.amazonaws.com

related to #5135


How to filter out Kafka tombstones using bloglang?

I have some topics with tombstones which I can't seem to find a way to filter them out. The following is the code without any filterning attempts followed by different approaches I've tried:
root.doc = this
root.key = meta("kafka_key").parse_json()
root.topic = meta("kafka_topic")

Approach 1:
root.doc = this.or([])
root.key = meta("kafka_key").parse_json()
root.topic = meta("kafka_topic")
root = match {
    root.doc.length() == 0 => deleted()
}

Approach 2:
root.doc = this
root.key = meta("kafka_key").parse_json()
root.topic = meta("kafka_topic")
root = match {
    root.doc == null => deleted()
}

Approach 3:
root.doc = this.parse_json().or([]).catch([])
root.key = meta("kafka_key").parse_json()
root.topic = meta("kafka_topic")
root = match {
    root.doc.length() == 0 => deleted()
}

None of the above helped and they even filtered out records that were not tombstones.
The errors:
{"@timestamp":"2021-02-11T08:11:16Z","@service":"benthos","error":"failed to execute mapping query at line 1: failed to parse message as JSON: target message part does not exist","from_topic":"Topic-A","payload":"null","level":"ERROR","component":"benthos.pipeline.processor.1.0","message":"Error while processing a message"}

{"@timestamp":"2021-02-11T08:11:16Z","@service":"benthos","level":"ERROR","component":"benthos.pipeline.processor.0","message":"failed to execute mapping query at line 1: failed to parse message as JSON: target message part does not exist"}

What am I missing here?

Hey @drurenia, when you refer to a message with this Bloblang will attempt to parse the message as a structured object, but in the case of tombstone messages I believe the contents themselves are empty, which makes it invalid JSON and the mapping throws an error. The error message you receive is a bit cryptic (claiming there is no message part, when there actually is, it's just empty).
However, you can catch the error in order to prevent the mapping from failing, and then use the content() function to refer to the raw contents of messages for your filter mechanism:
root.doc = this.catch([])
root.key = meta("kafka_key").parse_json()
root.topic = meta("kafka_topic")
root = if content().length() == 0 {
  deleted()
}

There's a few things I can improve here, the first being that error message. The second thing I can do is allow deleted() as a catch argument, which would allow you to simplify this down to:
root = {"doc": this}.catch(deleted())
root.key = meta("kafka_key").parse_json()
root.topic = meta("kafka_topic")

Which would also catch invalid JSON documents at the same time.

Hey @Jeffail, indeed I was missing the content() part of it all and it did the trick for me.
Supporting deleted() as a catch argument is indeed much cleaner (+1)
Thank you once again for the fast and spot on answer!

Support for .catch(deleted()): https://github.com/Jeffail/benthos/commit/f771458e197681e9b86a5fe0a4371ad7ffae3b29
Improved error messages: https://github.com/Jeffail/benthos/commit/e9b5cd391dafe9415937526ecb2039983bfe7d52


Fix statistics when no trades

Might closes #94

Coverage decreased (-0.3%) to 88.542% when pulling 7f38bc82990658ab9f305bc0bf2ffdc7b709359f on femtotrader:display_price_only into a6ed026d1c3216c2c9ecdb9fce0a93286107f8c6 on mhallsmoore:master.

This PR contains an example with DisplayStrategy (an no other strategy).
So we can see tick / bar events
No trade occurs here so it's a good way to test that strategy doesn't raise any error when no trade occurs.


Handle melpa new fetchers (sourcehut, codeberg)

Melpa introduced two new fetchers sourcehut in melpa/melpa@a3645b0 and codeberg in melpa/melpa@962f7c8, this change broke melpa update script.
Cc: emacs maintainers @lovek323 @jwiegley @adisbladis

Have you tested them before and after? Otherwise LGTM

Have you tested them before

emacs-overlay uses nixpkgs melpa script nix-community/emacs-overlay#243, error is here: https://github.com/nix-community/emacs-overlay/actions/runs/3071700783/jobs/4962616731#step:6:45394
ERROR: (no-catch unknown-fetcher sourcehut)

and after

Yes, i tested it and it updated correctly.

I would recommend one of you subscribe to https://github.com/melpa/melpa/wiki/Downstream-Projects as a change like this may happen again in the future (https://github.com/nix-community/emacs-overlay/issues/238).


any larger model test?

Have you conducted efficiency test on more then 100B model?

If so, Can I get a sample configuration?

Hi! We didn't formalize any workloads but we experimented up to 120B. Feel free to email me<EMAIL_ADDRESS>if you're interested in learning more. The efficiency scales favorably -- MFU's tend to improve with larger models.
What is your hardware configuration? I'm happy to help you find a high performance configuration.


Error on use GetStorage

example:

GetStorage box = GetStorage();

Undefined class 'GetStorage'. Try changing the name to the name of an existing class, or creating a class with the name 'GetStorage'.

GetStorage is a separate package.
https://pub.dev/packages/get_storage

As described by Jason, GetStorage is a separate package.


Category health.

Is it please possible to have a Category health icon?
So if all the items in a Category are online then there's a green orb showing it's healthy.
If one is offline then it shows red?
That way when the category is minimised there's an easily visible indicator.

Is it please possible to have a Category health icon?
So if all the items in a Category are online then there's a green orb showing it's healthy.
If one is offline then it shows red?
That way when the category is minimised there's an easily visible indicator.

That's an interesting idea ! I'm not sure how we could implement it tho, it might be challenging

Simple idea, if all containers in the category are responding with result 200 it shows as healthy. If any isn't it shows as unhealthy. You could even colour the entire category pane so it's incredibly obvious.

You could even colour the entire category pane so it's incredibly obvious.

That will look very painful and bad I believe. I think we should add a small rounded line at the left of the category name (like a bar, but rounded).

I depends on the colouring, but I completely understand if anyone else thinks it would look bad.

As noted in #722, this should also accommodate for colorblind people and use the same solution implemented in #722 .

Blocked by #722

I’m planning to do this in #1119

Came here to ask for the same idea, but a single overall health indicator for every configured health check. A small indicator at the top of the page that tells me if I need to scan down from there to see what's busted.


hyprpm failed to build

please help me to fix this
hyprpm output
 → checking for updates for hyprgrass
 → Cloning https://github.com/horriblename/hyprgrass
✔ repository hyprgrass has updates.
 → Building hyprgrass
✔ found hyprload manifest
 → Building hyprgrass
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━  6 / 8  Updating hyprgrass[v] shell returned:  -> cd /tmp/hyprpm/update && PKG_CONFIG_PATH="/home/shadow/.local/share/hyprpm/headersRoot/share/pkgconfig" meson setup build
The Meson build system
Version: 1.4.0
Source dir: /tmp/hyprpm/update
Build dir: /tmp/hyprpm/update/build
Build type: native build
Project name: hyprgrass
Project version: 0.6.0
C compiler for the host machine: cc (gcc 13.2.1 "cc (GCC) 13.2.1 20230801")
C linker for the host machine: cc ld.bfd 2.42.0
C++ compiler for the host machine: c++ (gcc 13.2.1 "c++ (GCC) 13.2.1 20230801")
C++ linker for the host machine: c++ ld.bfd 2.42.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C++ supports arguments -std=c++23: YES
meson.build:8: WARNING: Consider using the built-in option for language standard version instead of using "-std=c++23".
Found pkg-config: YES (/usr/bin/pkg-config) 2.1.1
Run-time dependency hyprland found: YES 0.39.1
Found CMake: /usr/bin/cmake (3.29.2)
Run-time dependency wftouch found: NO (tried pkgconfig and cmake)

Executing subproject wf-touch

wf-touch| Project name: wf-touch
wf-touch| Project version: 0.0
wf-touch| C++ compiler for the host machine: c++ (gcc 13.2.1 "c++ (GCC) 13.2.1 20230801")
wf-touch| C++ linker for the host machine: c++ ld.bfd 2.42.0
wf-touch| Run-time dependency glm found: NO (tried pkgconfig and cmake)

subprojects/wf-touch/meson.build:6:6: ERROR: Dependency "glm" not found, tried pkgconfig and cmake

A full log can be found at /tmp/hyprpm/update/build/meson-logs/meson-log.txt

 -> cd /tmp/hyprpm/update && PKG_CONFIG_PATH="/home/shadow/.local/share/hyprpm/headersRoot/share/pkgconfig" ninja -C build
ninja: Entering directory `build'
ninja: error: loading 'build.ninja': No such file or directory

✖ Plugin hyprgrass failed to build.
  This likely means that the plugin is either outdated, not yet available for your version, or broken.
  If you are on -git, update first.
  Try re-running with -v to see more verbose output.
Fetching submodule subprojects/wf-touch
✔ updated hyprgrass
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  8 / 8  Done!
✔ Ensuring plugin load state
✔ Loaded hyprbars
✔ Loaded Hyprspace
✔ Plugin load state ensured

never mind i fixed it :face_in_clouds:


Command aliasing doesn't apply to help

We currently have q as an alias to quote. However, .help q doesn't recognise this and errors. Fix this.

This has been fixed already.


getData is calling on every page click

Hi Team,
When i click the pagination server side request is sent , How to prevent this ?

Hi @bgobi1991 ,
You can refer issue https://github.com/esvit/ng-table/issues/728.  Basically if data is small we can use client side pagination instead of server side pagination. Hope that helps!

@bgobi1991 I've added more information in #728


cert renew job failed on installing dependencies

failed on installing dependencies
Reproduction Steps

run renew cert job,
An unexpected error occurred:
--
980 | pkg_resources.ContextualVersionConflict: (cryptography 3.1.1 (/usr/local/lib/python3.7/dist-packages), Requirement.parse('cryptography>=3.2'), {'PyOpenSSL'})
981 | Please see the logfile '/tmp/tmpwtu2kod2/log' for more details.
982 | An unexpected error occurred:
983 | pkg_resources.ContextualVersionConflict: (cryptography 3.1.1 (/usr/local/lib/python3.7/dist-packages), Requirement.parse('cryptography>=3.2'), {'PyOpenSSL'})
984 | Please see the logfile '/tmp/tmp8vmdzb23/log' for more details.
985 | An unexpected error occurred:
986 | pkg_resources.ContextualVersionConflict: (cryptography 3.1.1 (/usr/local/lib/python3.7/dist-packages), Requirement.parse('cryptography>=3.2'), {'PyOpenSSL', 'pyOpenSSL'})
987 | Please see the logfile '/tmp/tmp10x2xjnx/log' for more details.
988 | An unexpected error occurred:
989 | pkg_resources.ContextualVersionConflict: (cryptography 3.1.1 (/usr/local/lib/python3.7/dist-packages), Requirement.parse('cryptography>=3.2'), {'PyOpenSSL'})
990 | Please see the logfile '/tmp/tmpjvcxn5u6/log' for more details.
991 | An unexpected error occurred:
992 | pkg_resources.ContextualVersionConflict: (cryptography 3.1.1 (/usr/local/lib/python3.7/dist-packages), Requirement.parse('cryptography>=3.2'), {'PyOpenSSL'})
993 | Please see the logfile '/tmp/tmpho5dbotb/log' for more details.

Error Log

Environment

CDK CLI Version:
Framework Version:
Node.js Version:
OS               :

Other

This is :bug: Bug Report

Still failing with below error,
pyopenssl 20.0.1 has requirement cryptography>=3.2, but you'll have cryptography 2.6.1 which is incompatible.
--
975 | Installing collected packages: PyOpenSSL, josepy, parsedatetime, configobj, distro, pytz, zope.interface, idna, urllib3, certifi, chardet, requests, requests-toolbelt, pyrfc3339, acme, zope.proxy, zope.deferredimport, zope.event, zope.deprecation, zope.hookable, zope.component, ConfigArgParse, certbot, jmespath, python-dateutil, botocore, s3transfer, boto3, certbot-dns-route53

Looks like there are built-in cryptography in amz linux 2. We have to explicitly pin both pyopenssl and cryptography.

Still failing with below error,
pyopenssl 20.0.1 has requirement cryptography>=3.2, but you'll have cryptography 2.6.1 which is incompatible.
--
975 | Installing collected packages: PyOpenSSL, josepy, parsedatetime, configobj, distro, pytz, zope.interface, idna, urllib3, certifi, chardet, requests, requests-toolbelt, pyrfc3339, acme, zope.proxy, zope.deferredimport, zope.event, zope.deprecation, zope.hookable, zope.component, ConfigArgParse, certbot, jmespath, python-dateutil, botocore, s3transfer, boto3, certbot-dns-route53

Looks like there are built-in cryptography in amz linux 2. We have to explicitly pin both pyopenssl and cryptography.

resolved by  #139

resolved by  #139


Add Github Actions

It checks and verifies that the build is able to be compiled successfully. (im so sorry for the amount of commits this took me a few tries)

I can't see any artifacts, where are they? (artifacts are file outputs of the ci, essentially the compiled executable)

Right now the it just does checks on commits and PRs and makes sure that they can be built without issue

Haven't reviewed in depth, but looks like a solid MVP of CI/CD from a high level. I'll review this more in depth after work.

Hmm, could we also build an AppImage and ship it as an artifact? I could send how I build the AppImage shipped in releases btw

I could try adding that. Mind sending that over to me either here or in DMs on discord (thebroz)

I could try adding that. Mind sending that over to me either here or in DMs on discord (thebroz)

I will do it when I get to my computer

I've made changes to the PR. The build is now made and is uploaded as a prerelease build and as an example is named Automatic Build (commit SHA) note that the content within the paratheses changes to the commit's SHA that triggered the build. Builds are made only when a change to /napture is detected. It also makes a tag called workflow-build-(commit SHA).

I'm researching a way on how to do automatic windows builds as well.

That's a lot of commits xD

50+ commits. im trying to get windows going rn but right now its really annoying because its just not downloading MSYS2.

Windows should be reconsidered and revisited later.

nice

im about to ruin it unfortunately

Some final tests still need to be made. I've ran one last workflow but I need to check it in the morning

So many commits lmfao

the commits never end

Hi, is this ready for review? I can take a look at it now.

At the moment I'm finishing up windows compilation. If you would like you can review the macOS and Linux workflows.

While this still LGTM and is entirely an MVP of CI/CD with releases, I do want to mention #157 being an issue that was requested and could be moderately resolved by adding a .deb artifact as well here. I think at some point integrating .deb and .rpm artifacts in CI/CD would be a good thing to do while we are still getting ready for stable production and cannot reasonably configure a PPA or repo to add allow users to add to their sources to install from apt or dnf

I'm going to try and add .deb and .rpm support.

I'm going to try and add .deb and .rpm support.

.deb support is waiting for my Ubuntu VM image to download,
.rpm support is right now.

I'm going to try and add .deb and .rpm support.

.deb support is now, but waiting for my Ubuntu VM image to download so I can test it. .rpm support is later.

I have added support for .deb, but it is untested.

I'm going to try and add .deb and .rpm support.

.deb support is now, but waiting for my Ubuntu VM image to download so I can test it. .rpm support is later.

I have added support for .deb, but it is untested, it will be tested when Boxes stops downloading the Ubuntu 24.04 ISO like a snail.

The download is very close to being done.

I'm going to try and add .deb and .rpm support.

.deb support is now, but waiting for my Ubuntu VM image to download so I can test it. .rpm support is later.

I have added support for .deb, but it is untested, it will be tested when Boxes stops downloading the Ubuntu 24.04 ISO like a snail.

Installing Ubuntu fails, and if we boot into the VM disk, it seems to never do anything in 5 minutes. Probably will just use Debian instead or use the live environment.

I'm going to try and add .deb and .rpm support.

.deb support is now, but waiting for my Ubuntu VM image to download so I can test it. .rpm support is later.

I have added support for .deb, but it is untested, it will be tested when Boxes stops downloading the Ubuntu 24.04 ISO like a snail.

Installing Ubuntu fails, and if we boot into the VM disk, it seems to never do anything in 5 minutes. Probably will just use Debian instead or use the live environment.

I'm going to use the testing Debian version instead of Ubuntu.

I'm going to try and add .deb and .rpm support.

.deb support is now, but waiting for my Ubuntu VM image to download so I can test it. .rpm support is later.

I have added support for .deb, but it is untested, it will be tested when Boxes stops downloading the Ubuntu 24.04 ISO like a snail.

Installing Ubuntu fails, and if we boot into the VM disk, it seems to never do anything in 5 minutes. Probably will just use Debian instead or use the live environment.

I'm going to use the testing Debian version instead of Ubuntu.

Either this VPN's download speed is faster or Ubuntu's servers have a speed issue, it felt slow to download Ubuntu.

The download is almost done.

I'm going to try and add .deb and .rpm support.

.deb support is now, but waiting for my Ubuntu VM image to download so I can test it. .rpm support is later.

I have added support for .deb, but it is untested, it will be tested when Boxes stops downloading the Ubuntu 24.04 ISO like a snail.

Installing Ubuntu fails, and if we boot into the VM disk, it seems to never do anything in 5 minutes. Probably will just use Debian instead or use the live environment.

I'm going to use the testing Debian version instead of Ubuntu.

The Debian testing ISO has finished downloading.

It didn't fail to install!

I have been stuck on trying to get my user into the sudoers list...

I have been stuck on trying to get my user into the sudoers list...

I fixed it.

I'm going to try and add .deb and .rpm support.

.deb support is now, but waiting for my Ubuntu VM image to download so I can test it. .rpm support is later.

I have added support for .deb, but it is untested, it will be tested when Boxes stops downloading the Ubuntu 24.04 ISO like a snail.

It's not working on my VM because it's missing the CC linker. I think that GitHub's Ubuntu image should include that.

I'm stuck on trying to install gtk4 and gtk4-sys complaining that I haven't installed gtk4 when I installed libgtk-4-1 and libgtk-4-1-dev

I fixed it by adding deb http://deb.debian.org experimental main to the sources list (using sudo apt edit-sources) and then installing libgtk-4-1 and libgtk-4-1-dev, it will upgrade the version, and that fixed the bug for me.

I have made the MVP for the base structure of the deb file. I will need to add the icons and the files needed to actually install napture.

I'm going to try and add .deb and .rpm support.

I want to add flatpak support later. It should be the priority because you can upload the flatpak to flathub and then everyone can use it.

While this still LGTM and is entirely an MVP of CI/CD with releases, I do want to mention #157 being an issue that was requested and could be moderately resolved by adding a .deb artifact as well here. I think at some point integrating .deb and .rpm artifacts in CI/CD would be a good thing to do while we are still getting ready for stable production and cannot reasonably configure a PPA or repo to add allow users to add to their sources to install from apt or dnf

I added .deb support.
The PR for it (the-broz/webx-github-actions#1) is ready for review because I haven't added .rpm support yet, I'll add support for .rpm and flatpaks in their own PRs.


exlude2test

confirm that entt::exclude<> works for more than 1 component and that exlusions will work on both sets of components. also will replicate parentheses warning

Coverage remained the same at 100.0% when pulling f6d78874e3c4a26abf9fe088e7b494f1a95348f9 on pgruenbacher:exclude2componentsTest into 1adbef7352502ee7f0c3cc6af16b95b428a4ab97 on skypjack:master.

https://travis-ci.org/skypjack/entt/jobs/525174949#L838
here's replicating the warning


Add twitter badge to homepage

Added twitter badge on homepage, along with meta tags for twitter/mastodon.

Should be good to merge.

Not clickable right now

@captn3m0 ^^

I'm coming to follow you on mastodon (@OPT_NC)

Is it still something we want to do ?

IRL, I stick on X/Twitter... not mastodon :thought_balloon:

Closing this, can be filed again if needed, maybe once we start using our accounts better.


EBeIrySwJAxwa8rJXkC_GAzXcVyzzgRcwWqn5OHx0tiarGe0XbJxQoLqNIwdMwqekNtfMOFZDA5Ex6N9

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Thank you for reaching out to the Native Checkout SDK team. This integration path is now inactive for new merchants.
If you are an existing merchant, please contact us here for further assistance.
New merchants can integrate the Native Checkout experience via the Braintree Android SDK or PayPal Android SDK.
For more information please see their respective developer documentation linked below.

Braintree Android SDK
PayPal Android SDK

****``https://www.instagram.com/reel/C9h5cbQMc2k/?igsh=MWQ1ZGUxMzBkMA==

****``https://www.instagram.com/reel/C9h5cbQMc2k/?igsh=MWQ1ZGUxMzBkMA==

Pilgrim’s Pride | Bursor & Fisher, P.A..pdf


[bug] Tauri 1.3.1 Error: Cannot find module '@tauri-apps/cli-win32-x64-msvc'

Describe the bug
When building the application in version 1.3.1 on different systems, such as a CI server for Windows and Mac, the build process encounters errors related to system architecture detection. The issue occurs specifically in version 1.3.1 and does not manifest in version 1.3.0, even with identical code. It is worth noting that while the build succeeds on a local M2 Mac using version 1.3.1, it fails on a VM Windows running on the same M2 Mac. The VM is running Windows 11.
Expected behavior
It should properly include this package '@tauri-apps/cli-win32-x64-msvc'.
Platform and versions
Mac:

› OS: Mac OS 13.3.1 X64
  › Node.js: 18.16.0
  › npm: 9.5.1
  › pnpm: Not installed!
  › yarn: Not installed!
  › rustup: 1.25.2
  › rustc: 1.67.1
  › cargo: 1.67.1
  › Rust toolchain: 1.67-aarch64-apple-darwin

Window VM:
Windows 11

CI Server:
We just use the basic github servers

https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners

Stack trace
C:\Users\genericuser\Desktop\app\node_modules\@tauri-apps\cli\index.js:250
    throw loadError
    ^
Error: Cannot find module '@tauri-apps/cli-win32-x64-msvc'
Require stack:
-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>    at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)
    at Module._load (node:internal/modules/cjs/loader:920:27)
    at Module.require (node:internal/modules/cjs/loader:1141:19)
    at require (node:internal/modules/cjs/helpers:110:18)
    at Object.<anonymous> (C:\Users\genericuser\Desktop\app\node_modules\@tauri-apps\cli\index.js:72:29)
    at Module._compile (node:internal/modules/cjs/loader:1254:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
    at Module.load (node:internal/modules/cjs/loader:1117:32)
    at Module._load (node:internal/modules/cjs/loader:958:12)
    at Module.require (node:internal/modules/cjs/loader:1141:19)

This has helped to fix the issue for me.
Just run this in your project directory:
npm install<EMAIL_ADDRESS>(You might want to choose a different version: https://libraries.io/npm/@tauri-apps%2Fcli-win32-x64-msvc)

Still not working
`mahar@Predator MINGW64 ~/projects/tauri-app
$ npm run tauri

<EMAIL_ADDRESS>tauri
tauri

C:\Users\mahar\projects\tauri-app\node_modules@tauri-apps\cli\index.js:250
throw loadError
^
Error: The specified module could not be found.
\?\C:\Users\mahar\projects\tauri-app\node_modules<EMAIL_ADDRESS>at Module._extensions..node (node:internal/modules/cjs/loader:1473:18)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12)
at Module.require (node:internal/modules/cjs/loader:1235:19)
at require (node:internal/modules/helpers:176:18)
at Object. (C:\Users\mahar\projects\tauri-app\node_modules@tauri-apps\cli\index.js:72:29)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12) {
code: 'ERR_DLOPEN_FAILED'
}
Node.js v20.11.0`

This has helped to fix the issue for me. Just run this in your project directory: npm install<EMAIL_ADDRESS>(You might want to choose a different version: https://libraries.io/npm/@tauri-apps%2Fcli-win32-x64-msvc)

I have a similar issue in a git-workflow, am trying to build for multi-platform:
locally i can build the application well:
`name: Release
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
release:
permissions:
contents: write
strategy:
fail-fast: false
matrix:
platform: [macos-latest, ubuntu-20.04, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
  - name: Checkout repository
    uses: actions/checkout@v4

  - name: Install dependencies (ubuntu only)
    if: matrix.platform == 'ubuntu-20.04'
    # You can remove libayatana-appindicator3-dev if you don't use the system tray feature.
    run: |
      sudo apt-get update
      sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev librsvg2-dev

  - name: Rust setup
    uses: dtolnay/rust-toolchain@stable

  - name: Rust cache
    uses: swatinem/rust-cache@v2
    with:
      workspaces: './src-tauri -> target'

  - name: Sync node version and setup cache
    uses: actions/setup-node@v4
    with:
      node-version: 'lts/*'
      cache: 'yarn' # Set this to npm, yarn or pnpm.

  - name: Install frontend dependencies
    # If you don't have `beforeBuildCommand` configured you may want to build your frontend here too.
    run: yarn install # Change this to npm, yarn or pnpm.

  - name: Build the app
    uses: tauri-apps/tauri-action@v0

    env:
      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    with:
      tagName: ${{ github.ref_name }} # This only works if your workflow triggers on new tags.
      releaseName: 'App Name v__VERSION__' # tauri-action replaces \_\_VERSION\_\_ with the app version.
      releaseBody: 'See the assets to download and install this version.'
      releaseDraft: true
      prerelease: false`

We're getting this error in our Gitlab CI on Windows with<EMAIL_ADDRESS>Was there ever a solution apart from "upgrading to 1.3.1"?


Provide backend functions to get safe versions of release info, and HTML from a pfsense doc page (redmine feature 5074)

Provide functions to get pfSense release info for GUI use.
See @jim-p comment on redmine 5074
It would be very useful when upgrading, to have easy access to the changelog from system -> system update.
But there's no easy way from the GUI to view the changelog for the current release, or, if a release was skipped, the skipped releases up to the current release.  We could just add a crude link, but the user might need more than one version's changes (if they skipped a release) and it's nicer anyway to present it in-GUI.
To make this possible, we first need to get the pfSense release info in usable form. This PR adds 3 underlying functions needed.  That way when there's a new version, system -> system update can make use of this info and provide an easy way to view relevant changelogs for the proposed update, in future. The functions added are:

get_release_list() - returns a list of releases taken directly from the doc page "Versions of pfSense and FreeBSD", including all table data (dates, status, doc pages of the release notes etc)
get_sanitised_doc_page() - returns a sanitised HTML version of a single doc page, such as the release notes for an update version.  All attribs (except a single valid href) and formatting/CSS are removed to make it easy to match the GUI's existing style/theme or add needed CSS.
update_all_release_details() - maintain a tiny cache ( ~ 20 pages x 2KB) for the bare release notes of known versions. Updated when user enters system -> system update. Cache is kept in /tmp/doc_pages_cache/PAGE@TIMESTAMP (controlled by $g['doc_pages_cache']).   As these doc pages are mostly static and the code checks last modified time, once cached we rarely need to update, so it should be extremely fast (immediate) after the 1st run.  Also as these pages are small and relatively few, and rarely added to, the cache won't grow large, nor will old pages become irrelevant easily, so no need for complex caching code. Pretty much just check for updates and not much more.  Stops the page from taking time to grab multiple static doc pages when we've almost certainly grabbed them previously and can reuse.

These aren't used yet, but adding them so that progress can be made on redmine 5074.
DATA SANITISING NOTE  - There is careful attention to sanitising , so that if there were a problem at the docs website end it doesn't create a vulnerability from reusing doc content in the router context. But as sanitising is easily done wrong, extra attention to check that it really is robust (and fix if it isn't) would be good.

Editing this to clean it up - will repost in a bit. Closed for now.


Error pulling image (latest) from neo4j

Getting the following error when pulling down the neo4j image:
Error pulling image (latest) from neo4j, Driver aufs failed to create image rootfs 3c3e582d88fad41cd2fc62d98ab54d4199030bff57b76a55c66b6946173909fa: open /mnt/sda1/var/lib/docker/aufs/layers/a582cd499e0ff0b0a2af94dbaef5f56fce1935b7c01429074c2d5abd1ea23d5a: no such file or directory

I would restart the VM and see if the error persists: docker-machine restart default
Closing this for now, but feel free to re-open it if you still experience errors


Docs URL is served even when set to None

Describe the bug
Even with docs_url set to None, the docs are still served.
Per the FastAPI documentation, the app should no longer serve docs with this option set.

You can disable it by setting docs_url=None.
https://fastapi.tiangolo.com/tutorial/metadata/#docs-urls

def docs_url_kwargs() -> dict:
    return  {
        "openapi_url": None,
        "docs_url": None,
        "redoc_url": None,
    }

application = FastAPI(
    title='Example FastApi',
    description='Nice',
    **docs_url_kwargs(),
)
application = VersionedFastAPI(
    application,
    version_format="{major}",
    prefix_format="/v{major}/api/",
    description='version',
    enable_latest=True,
    **docs_url_kwargs(),
)

To Reproduce
Set docs_url=None when instantiating the FastAPI app and VersionedFastAPI but still see the docs served at /docs.
Expected behavior
Expecting docs to no longer be served (for production use case).
Additional details
Issue may be here:
https://github.com/DeanWay/fastapi-versioning/blob/18d480f5bb067088f157f235a673cb4c65ec77d5/fastapi_versioning/versioning.py#L68-L73

That same bit of code seems to be the responsible for always making the documentation avaialable at /docs even when provided a different url via the docs_url parameter.
This:
https://github.com/DeanWay/fastapi-versioning/blob/18d480f5bb067088f157f235a673cb4c65ec77d5/fastapi_versioning/versioning.py#L71
Should probably check the docs_url of the FastAPI instance or take it from the kwargs of the VersionedFastAPI

I also have same problem - docs enabled, but:
app = FastAPI(docs_url=None, redoc_url=None, openapi_url=None)


[FLINK-3680][web frontend] Remove "(not set)" text in the Job Plan UI

This PR removes the "(not set)" text in the web frontend.
Currently it looks like this: https://issues.apache.org/jira/secure/attachment/12796006/Screen Shot 2016-03-29 at 8.13.12 PM.png
Now it looks like:

[x] General

The pull request references the related JIRA issue ("[FLINK-XXX] Jira title text")
The pull request addresses only one issue
Each commit in the PR has a meaningful commit message (including the JIRA id)

[x] Documentation

Documentation has been added for new functionality
Old documentation affected by the pull request has been updated
JavaDoc for public methods has been added

[x] Tests & Build

Functionality added by the pull request is covered by tests
mvn clean verify has been executed successfully locally or a Travis build has passed

@iampeter
Did you have a chance to take a look at this change?

Hi @greghogan
I've fixed the code according to your suggestion.
Could you give it another look?

Hi @iampeter
I've updated the PR according to you suggestion.

@mushketyk from my side looks good

JsonPlanGenerator.java:55 should be reverted to use NOT_SET.
index.js is changing jobServer from the empty string to 'http://localhost:8081/'.
vendor.js is upgrading the version of imagesLoaded from 4.1.0 to 4.1.1. In the past we have specified in flink-runtime-web/web-dashboard/bower.json to not upgrade point releases since the changes were obfuscating the remainder of the pull request. I have not noticed if we have subsequently followed up with a PR to upgrade the libraries. We may be at a good point in the 1.2 release cycle to do this now.

@greghogan right - missed the generated files. @mushketyk I suppose gulping will help

@iampeter @greghogan I've update the PR according to your review.

Would be cool if we could also merge this to release-1.1 if it is good to merge.

Merging this ...


Add Code of Conduct

Hey @MAVRICK-1 We recommend that every repo has a code of conduct. If you don’t feel comfortable creating your own Code of Conduct from scratch we highly recommend using one of the templates provided by GitHub. If you do use a template, please read through the template and ensure that you can and will abide by the Code of Conduct.
Please follow these instructions on how to add a Code of Conduct.
Sample: https://github.com/Recode-Hive/Stackoverflow-Analysis/blob/main/CODE_OF_CONDUCT.md

@aasthakourav20 this project has been withdraw from gssoc

But why ?

@aasthakourav20 I submitted the Codebin project for the MLH Code Snippet, but it hasn't been reviewed by the MLH team yet,
so i have to withdraw it , but also got another project https://github.com/MAVRICK-1/e-commerce_website


Investigate whether keys can be serialized with custom order using PropertyListEncoder (XML)

Currently, all keys are encoded in lexicographic/alphabetic order, which causes trouble with some parsers (e.g. Mixxx relies on tracks being listed before playlists and refactoring this is tricky, see https://github.com/mixxxdj/mixxx/pull/11452).
It would be cool if we could use a custom order, similar to the Apple Music/iTunes-generated XML, ideally without having to replace our Codable approach with manual, imperative XML serialization. Unfortunately, Foundation's PropertyListEncoder seems to offer few configuration options and delegates most of the heavy lifting to CoreFoundation.

This is fixed by using https://github.com/fwcd/swift-ordered-plist-encoder