how does gole work

not really an issue but i am wondering how does gole work without an external server? I thought you absolutely need a server which can actually forward ports and is globally accessible.
is it what server option is for? lets say i am trying to play a p2p game and both players need to know each other's ip and both are behind NAT and cannot forward ports.
how would i do that?

Server/Client option does not concern the hole punching process, it is for the tunneling process AFTER a hole has been punched through.
As the tunneling process, 'server' means whatever machine that is at the receiving end of subsequent connections.

lets say i am trying to play a p2p game and both players need to know each other's ip and both are behind NAT and cannot forward ports.
how would i do that?

LAN games usually have a host(server)/player(client) pair.

so does gole also handle the hole punching? i am having trouble understanding how if a pc which is behind several layers of NAT would be discoverable by another pc when some actual 3rd party server which actually is publicly accessible.
kind of like n2n.
i am actually trying to use a program that is peer to peer and none of the pcs are actually acting as server, its bidirectional. and when trying to establish a connection both need to know about each other ips. i understand if server mode is not for something like this. but i am wondering if it is possible.
with maybe this holepunch option.
I apologize for my ignorance, this is very interesting project, and this is also very clean implementation.

thanks for this information, i will read more on STUN and hole punching, i am closing the issue now.

@shawwwn

In Gole, both sides must know each other's public IPs and agree upon a pair of public ports prior to hole punch.

How does this work exactly? In using a STUN server, computer A will contact the STUN server, making a NAT hole in the process due to outgoing connection to STUN server, and the STUN server will reply an IP address and a port as seen by the STUN server to computer A, and also with computer B. And then those 2 computers that got their public IP address and port from the STUN server will use that to connect with each other.
By connecting to a STUN server, a hole is punched as the NAT will add an entry to its table.
In Gole, both sides know each other's public IPs and agree a pair of public ports, but how can Gole make an entry to the NAT table? Does computer A, knowing computer B's IP and port, will make a NAT entry without connection since computer B is behind NAT and can't open ports?

By connecting to a STUN server, a hole is punched as the NAT will add an entry to its table.

STUN is not involved in the actual hole punching process. Its purpose is to relay information to each other (such as each party's public IP address).
Let's imagine,
If both A and B are behind NAT, they have no way to know each other's public IP addresses other than contacting a public third party server C, hence the STUN server.

So Gole works like the chownat that the 2 computers try to contact with each other using UDP packets, hopefully, computer B's NAT will assume that the packets from computer A are "responses" from computer B's attempt to connect to computer A, and then computer B's NAT will add an entry to its table. Am I right?
The problem with that method is most of NAT today will randomize the source port, without a STUN server, you can't know what source port does the other computer have.
I have tried using Gole in 2 instance of GitHub Codespaces trying to connect with each other
gole -v tcp <IP_ADDRESS>:3333 <IP_ADDRESS>:4444 -op server -fwd=<IP_ADDRESS>:8080
gole -v tcp <IP_ADDRESS>:4444 <IP_ADDRESS>:3333 -op client -fwd=<IP_ADDRESS>:8080

But I can't make it holepunch.

So Gole works like the chownat that the 2 computers try to contact with each other using UDP packets, hopefully, computer B's NAT will assume that the packets from computer A are "responses" from computer B's attempt to connect to computer A, and then computer B's NAT will add an entry to its table. Am I right?

Yes.

The problem with that method is most of NAT today will randomize the source port, without a STUN server, you can't know what source port does the other computer have.

If you have no control over the source port number from where your packets initiate (i.e., bind() does not work as it suppose to), then the whole thing will not work, even with STUN.


Update .gitattributes

Attributes file needs to specify which large files to track.
https://akxlgames.medium.com/git-lfs-and-unity-74b11b0cd971

Thanks thannks homie <3


Need to be able to set Pusher cluster in config

When creating a Pusher app you have to choose your cluster. The original cluster is 'mt1', so any older app works. But new clusters default to 'us2', so they are currently unusable.
If you try to use a Pusher app from another cluster you get this error message in the console:
Pusher : Error : {"type":"WebSocketError","error":{"type":"PusherError","data":{"code":4001,"message":"Did you forget to specify the cluster when creating the Pusher instance?  App key abc.......... does not exist in this cluster."}}}

Should hopefully be as simple as adding that as a config option that defaults to 'mt1', and then having that sent up to the JS Pusher initialization.
Should also include the latest pusher JS source (v4.0).

closed.  You can now specify the cluster in the hyperloop config
Hyperloop.configuration do |config|
  config.transport = :pusher
  config.cluster = 'mt2' # defaults to 'mt1'
end


could not get rooms: redis: can't parse array/set/push reply: "%0"

./server --dev --redis-host=<IP_ADDRESS>:6379
2023-06-21T17:09:44.718+0800    INFO    livekit server/main.go:197      starting in development mode
2023-06-21T17:09:44.719+0800    INFO    livekit server/main.go:200      no keys provided, using placeholder keys        {"API Key": "devkey", "API Secret": "secret"}
2023-06-21T17:09:44.719+0800    INFO    livekit redis/redis.go:92       connecting to redis     {"simple": true, "addr": "<IP_ADDRESS>:6379"}
2023-06-21T17:09:45.867+0800    DEBUG   livekit service/signal.go:50    starting relay signal server    {"topic": "ND_zYPHVqvp"}
could not get rooms: redis: can't parse array/set/push reply: "%0"

We have similar problem, "could not get rooms: redis: can't parse array/set/push reply: "%0".
We had 1.2.0, and then upgraded to 1.4.2. Initially it was ok, but after restart we've got the error. Neither resetting DB, nor upgrading to 1.4.3 helped that. Then we rolled back to 1.2.0 and all starts to work again.

which version of Redis are you using?

Can you run the following in redis-cli?
<IP_ADDRESS>:6379> type rooms
<IP_ADDRESS>:6379> hvals rooms

and paste the responses? Here's what's expected:
<IP_ADDRESS>:6379> type rooms
hash

# when there are active rooms
<IP_ADDRESS>:6379> hvals rooms
1) "\n\x0fRM_6hPaxoWpjeMb\x12\x0bdavids-room\x18\xac\x02(\xc7\xe5\xa6\xa5\x062+meI0w0NjKoneJ2XNzx6xXDOzzErobhMKaKR6kVRzRmn:\x0c\n\naudio/opus:\x0c\n\nvideo/h264:\x0b\n\tvideo/vp8:\x0b\n\tvideo/vp9:\x0b\n\tvideo/av1"

# when there are no active rooms
<IP_ADDRESS>:6379> hvals rooms
(empty array)

@davidzhao Redis version 6.0.16.
<IP_ADDRESS>:6380> type rooms none <IP_ADDRESS>:6380> hvals rooms (empty array)
Starting with 1.4.3 gives the error, while switching to 1.2.0 keeps livekit running

ugh, turns out that it was KeyDB 6.0.16.


Extension missing from VSCodium

For reasons I do not understand, your wonderful extension is missing in VSCodium. Do you thing it would be possible to have it available in non-microsoft universe ?

@Riduidel Probably because there are some steps that need to be done to publish it to the Open VSX Marketplace.
@stuartcrobinson Please publish this extension to the Open VSX marketplace. Details below. Thanks!
Context
Unfortunately, as Microsoft prohibits usages of the Microsoft marketplace by any other products or redistribution of .vsix files from it, in order to use VS Code extensions in non-Microsoft products, we kindly ask that you take ownership of the VS Code extension namespace in Open VSX and publish this extension on Open VSX.
What is Open VSX? Why does it exist?
Open VSX is a vendor neutral alternative to the MS marketplace used by most other derivatives of VS Code like VSCodium, Gitpod, OpenVSCode, Theia-based IDEs, and so on.
You can read on about Open VSX at the Eclipse Foundation's Open VSX FAQ.
How can you publish to Open VSX?
The docs to publish an extension can be found here. This process is straightforward and shouldn't take too long. Essentially, you need an authentication token and to execute the ovsx publish command to publish your extension. There's also a doc explaining the whole process with an example GitHub Action workflow.


Add rshift operator and unit tests

Noticed that the rshift operator from v1.3 was not implemented in v2.2. I have implemented it in 2.2 similar to the original implementation and added unit tests.

Hi, thanks for this!
As it happens though there actually are still operators. When I started the re-write I decided to de-emphasize the operators because they weren't very "pythonic." But all the monads have an operator version in the operators sub-package. So instead of:
import pymonad.either

Do this:
import pymonad.operators.either

And you'll have the version of the monad with operators. My fault for not really documenting that anywhere.


pinned_views: Add backend for pinned views in left sidebar.

Add backend for pinned views in left sidebar.

Fixes part of #32077.

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Hi @alya, I’ve added a backend for the pinned-views feature in the PR. I’d love to get feedback on the current implementation, naming, and other aspects. Once we’re happy with the backend, we can move on to frontend integration. Let me know what you think!

Please ping @timabbott to take a look when conflicts are resolved.


support exception type error

Thanks for the PR. I need a test case for this, like this one: https://github.com/felixfbecker/vscode-php-debug/blob/master/src/test/adapter.ts#L199


Enable different tilesets

Currently, only one tileset (from Elite Command) is available. Users should be able to choose from a list of tilesets when starting a new game.

@djwhitt Are the tilesets from this GIF complete sets and available somewhere?

Those were just showing off the idea and weren't complete tilesets. I'm happy to add other tilesets though as people create them.

Since Zetawar could be used for teaching kids, and teachers understandably might not want to use a war game for that, something like a bug/nature tileset would be great to have. Maybe we could commission that later on down the line.


Version 7.8.1 crashes on startup (Mac OS)

Steps to reproduce

Run the grabber app v7.8.1
Crashes with message: "No Source Found. Do you have a configuration problem?"

I've tried redownloading and reinstalling the app twice, appears to be consistently broken for me on an M1 Max based Mac running Mac OS 12.3.1. Reverting back to v7.8.0 fixed the issue.
The only error I can see in the log is:
[00:03:44.347][Error] JavaScript helper file could not be opened

At least it's not just me, I definitely think there's something broken with the app that's being distributed at the moment, but at least reverting to 7.8.0 works, even if it's not ideal.

also having issue on 10.15 (Mac Mini 6,2 (2012) )

apparent root cause:
mac build is missing 'sites' resource
workaround:

download the sites folder: https://github.com/Bionus/imgbrd-grabber/tree/master/src/sites
move sites folder to ./Applications/Grabber/MacOS

grabber should now be able to open successfully

apparent root cause: mac build is missing 'sites' resource
Nice find! I'll try that later. Thanks @Fats-MD.

Based on how many issues are open I don't think the developers actually monitoring these issues, but hopefully one of them will notice this and release a working version of the app for the general public.

I still get the same error after Fats's suggestion including deleting settings.ini to reset to default settings still complains bout sourcing issue

@Fats-MD good catch! Interesting since I don't think anything changed for the .dmg generation in this release 🤔
I'll have a look ASAP and publish 7.8.2.
@raziel2001au I'm curious how many developers you thought work on this project? 😄

@raziel2001au I'm curious how many developers you thought work on this project? 😄

Haha, I didn't mean anything bad, I just noticed there were a lot of open issues so I wasn't expecting this one would get noticed. I'm glad I was wrong.


Parallel Tests

The PR allows for parallel test execution using pytest-xdist. However out of the box that extension does not ensure each test is running on its own GPU so we assign new tests to a free GPU using a pytest harness

Replaced by #518


Can't get current client from HttpActionAdapter

Hi! We using different direct clients for different platforms (mobile, web), and therefore it's important to obtain current client from HttpActionAdapter. For example, in case with mobile app (ParameterClient), I want to send json for unauthorized client, and for the web version (CookieClient) I need to send redirect to login page.
RequiresAuthenticationAction has list of currentClients it the 'unauthorized' method, but it not passing to 'adapt' method of HttpActionAdapter (http://puu.sh/nSEvC/5f6759e1fc.png). Is it possible to extend interface HttpActionAdapter with a List parameter?

Hi,
The idea behind the HttpActionAdapter (which is also used in other pac4j
implementations) is to deal only with proper HTTP responses generations /
transformations.
So the protected method is meant to be overriden in subclasses to have the
appropriate behaviour. Just let me know if that works smoothly or if we
need to revisit this for pac4j v1.9.
Thanks.
Best regards,
Jérôme
2016-03-24 22:25 GMT+01:00 ArkadyKarev<EMAIL_ADDRESS>
Hi! We using different direct clients for different platforms (mobile,
web), and therefore it's important to obtain current client from
HttpActionAdapter. For example, in case with mobile app (ParameterClient),
I want to send json for unauthorized client, and for the web version
(CookieClient) I need to send redirect to login page.
RequiresAuthenticationAction has list of currentClients it the
'unauthorized' method, but it not passing to 'adapt' method of
HttpActionAdapter (http://puu.sh/nSEvC/5f6759e1fc.png). Is it possible to
extend interface HttpActionAdapter with a List parameter?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/pac4j/play-pac4j/issues/103

Thanks you for quick reply, Jérôme!
Dealing with proper HTTP responses from HttpActionAdapter is nice and clear. May be in our case we need something like several different HttpActionAdapters for different implementation of DirectHttpClient (one HttpActionAdapter per each direct client). But I think that it's more complicated solution, than having info about current clients from HttpActionAdapter. As I wrote before, I would like to do different actions, when RequiresAuthenticationAction 'says' that client is unauthorized (depending on Client implementation). Actually, primary goal of that, is ability to send JSON with 401 status code for mobile application clients (that uses ParameterClient), and to send 302 status code for redirecting users to signin/signup page for web clients (that uses CookieClient). Could you give me advice or workaround how to achieve this, please? Ofcourse we always can handle json with 401 'unathorized' code in web clien too, like in mobile apps, and change windows.location to /signup, but sending 302 redirect to login page it's more proper way, I think. Or am I wrong? :) Your opinion very appreciated!
Thank you,
Arkady

Hi,
In fact, this behaviour already exists if you are not authenticated:

if you use an indirect client (let's say FacebookClient), you'll be
redirected to the Facebook login page; AJAX request are also detected and a
401 error is returned in that case
if you use a direct client, a 401 error page will be returned as
credentials should have been passed along the request and the
authentication should have already occured.

So I think what you need here is an IndirectCookieClient: it should be a
copy/paste from the CookieClient, but inheriting from IndirectHttpClient
and with the appropriate redirection.
Thanks.
Best regards,
Jérôme
2016-03-25 9:33 GMT+01:00 ArkadyKarev<EMAIL_ADDRESS>
Thanks you for quick reply, Jérôme!
Dealing with proper HTTP responses from HttpActionAdapter is nice and
clear. May be in our case we need something like several different
HttpActionAdapters for different implementation of DirectHttpClient (one
HttpActionAdapter per each direct client). But I think that it's more
complicated solution, than having info about current clients from
HttpActionAdapter. As I wrote before, I would like to do different actions,
when RequiresAuthenticationAction 'says' that client is unauthorized
(depending on Client implementation). Actually, primary goal of that, is
ability to send JSON with 401 status code for mobile application clients
(that uses ParameterClient), and to send 302 status code for redirecting
users to signin/signup page for web clients (that uses CookieClient). Could
you give me advice or workaround how to achieve this, please? Ofcourse we
always can handle json with 401 'unathorized' code in web clien too, like
in mobile apps, and change windows.location to /signup, but sending 302
redirect to login page it's more proper way, I think. Or am I wrong? :)
Your opinion very appreciated!
Thank you,
Arkady
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/pac4j/play-pac4j/issues/103#issuecomment-201200330

Brilliant!
Exactly that what looking for. Thank you, Jérôme! Everything works smoothly. But I've to write a little workaround, because IndirectHttpClient has extractor field with UsernamePasswordCredentials generic type. May I make pull request with the following code into one of pac4j repos (please point me at one, if you think that its good idea), and with changing UsernamePasswordCredentials type of generic to HttpCredentials in IndirectHttpClient.extractor field?
package security;

import org.pac4j.core.client.BaseClient;
import org.pac4j.core.client.ClientType;
import org.pac4j.core.client.RedirectAction;
import org.pac4j.core.context.WebContext;
import org.pac4j.core.exception.CredentialsException;
import org.pac4j.core.exception.RequiresHttpAction;
import org.pac4j.core.util.CommonHelper;
import org.pac4j.http.client.indirect.IndirectHttpClient;
import org.pac4j.http.credentials.TokenCredentials;
import org.pac4j.http.credentials.authenticator.TokenAuthenticator;
import org.pac4j.http.credentials.extractor.CookieExtractor;
import org.pac4j.http.credentials.extractor.Extractor;
import org.pac4j.http.profile.creator.ProfileCreator;

/**
 * Created by arkady on 25/03/16.
 */
public class IndirectCookieClient extends IndirectHttpClient<TokenCredentials> {
	private String realmName = "authentication required";
	private String cookieName;
	private String loginUrl;
	protected Extractor<TokenCredentials> extractor;

	public IndirectCookieClient() {
	}

	public IndirectCookieClient(final String cookieName, final String loginUrl, final TokenAuthenticator cookieAuthenticator) {
		setAuthenticator(cookieAuthenticator);
		this.cookieName = cookieName;
		this.loginUrl = loginUrl;
	}

	public IndirectCookieClient(final String cookieName, final String loginUrl, final TokenAuthenticator cookieAuthenticator,
						final ProfileCreator profileCreator) {
		setAuthenticator(cookieAuthenticator);
		setProfileCreator(profileCreator);
		this.cookieName = cookieName;
		this.loginUrl = loginUrl;
	}

	@Override
	protected void internalInit(WebContext context) {
		CommonHelper.assertNotBlank("cookieName", this.cookieName);
		CommonHelper.assertNotBlank("loginUrl", this.loginUrl);
		extractor = new CookieExtractor(this.cookieName, getName());

		//wa instead of super.internalInit(context), because we need to use extractor, with different generic type
		CommonHelper.assertNotNull("authenticator", getAuthenticator());
		CommonHelper.assertNotNull("profileCreator", getProfileCreator());
		//super.internalInit(context);
	}

	@Override
	protected boolean isDirectRedirection() {
		return true;
	}

	@Override
	protected RedirectAction retrieveRedirectAction(WebContext context) {
		return RedirectAction.redirect(this.loginUrl);
	}

	@Override
	protected TokenCredentials retrieveCredentials(WebContext context) throws RequiresHttpAction {
		final TokenCredentials credentials;
		try {
			// retrieve credentials
			credentials = extractor.extract(context);
			logger.debug("credentials : {}", credentials);

			if (credentials == null) {
				throw RequiresHttpAction.unauthorized("Requires authentication", context, this.realmName);
			}

			// validate credentials
			getAuthenticator().validate(credentials);
		} catch (final CredentialsException e) {
			throw RequiresHttpAction.unauthorized("Requires authentication", context,
					this.realmName);
		}

		return credentials;
	}

	@Override
	protected BaseClient newClient() {
		final IndirectCookieClient newClient = new IndirectCookieClient();
		newClient.setCookieName(this.cookieName);
		return newClient;
	}

	@Override
	public ClientType getClientType() {
		return ClientType.COOKIE_BASED;
	}

	public String getCookieName() {
		return cookieName;
	}

	public void setCookieName(String cookieName) {
		this.cookieName = cookieName;
	}

	public String getLoginUrl() {
		return loginUrl;
	}

	public void setLoginUrl(String loginUrl) {
		this.loginUrl = loginUrl;
	}
}

Good proposal, but the IndirectHttpClient has already been refactored to something more generc in the pac4j-core module and the problem has been fixed: https://github.com/pac4j/pac4j/blob/master/pac4j-core/src/main/java/org/pac4j/core/client/IndirectClient2.java#L29

Very nice! So what about IndirectCookieClient?

That's possible: the appropriate RedirectActionBuilder should be define according to the needs. Would you mind taking care of that?

Jérôme, actually I was wrong, when I said that everything works fine. RequiresAuthenticationAction class inside internallCall method makes decision to use or not session flag
final boolean useSession = useSession(context, currentClients); and just a little below, if useSession is 'true', it uses Pac4jConstants.USER_PROFILE constant to obtain UserProfile from session store. Could you give me a hint, or just point at right way, how I can put UserProfile into SessionStore? Or probably another solution, how I can implement cookie-based client with redirectUrl? I think may be I could extend FormClient and override something, but I would like to use long-life cookie-based tokens, with custom name. I didn't find any way to do that.

You must keep in mind the two kinds of clients:

indirect client are used for remote authentication that occurs once and need a callback endpoint, they are stateful
direct clients are used when authentication happens on every request (credentials must be provided on every request), they are stateless. A cache can be used for performance reasons.

The useSession flag is computed according to the clients configuration: if you have an indirect client, we'll look at the session while we don't for direct clients. If you need to use the session, either you need an indirect client or you need to save the profile in the context by yourself: new ProfileManager(context).save(true, profile).
In the next play-pac4j version (master, v2.2), you'll have multiple profiles and the ability to control if profiles are saved in session even for direct clients.


added learn.md

HI.I  added code of  finding simple interest.

Hi.I added code of finding simple interest.

HI.I added code of finding simple interest.

Hi .I added code of finding simple interest.


[Bug]: Received signal 11 SEGV_MAPERR when generating PDF in Docker on Cloud Run

Bug expectation
I expected the PDF to be generated as normal.
What happened instead was Chrome segfaulted and returned an error.
We are having issues generating PDFs using Puppeteer in Docker running on Cloud Run. The issue we're getting is that sometimes when attempting to generate a PDF, Chrome will instead segfault and produce an error. From this point onwards, Chrome will fail to generate any further PDFs and will segfault each time a request to do so is made. Even restarting the browser appears to have no effect, it will still segfault.
There are a few facts which make this issue tricky to diagnose:

It only happens in a container running in Docker on Cloud Run, not locally on our machines
It happens non-deterministically. Sometimes a container instance will start up fine and with no issues, Chrome being able to produce PDFs as expected. However, at other times, an instance will start up and then immediately segfault on the first request and on every further request. However, this is not a rare issue, it will always appear within the first few minutes of a new revision being deployed.
It is not repeatable for the same input. Requests which caused a failure the first time have been retried and gone through with no issues a second time, implying the issue is not with the input data.

An interesting thing to note is that the segfault always occurs on the first request to the instance, suggesting that the issue could be something to do with the startup behaviour of Chrome, perhaps some aspect of it not being quite ready when the request comes in?

RUN npm ci
COPY . .
RUN npm run build
EXPOSE 6003
CMD [ "npm", "start" ]

Any help is appreciated, thank you.
Bug behavior

[ ] Flaky
[x] PDF

Minimal, reproducible example
// This is roughly all we are doing with Puppeteer
// The HTML is being generated by React's server-side rendering
import puppeteer from 'puppeteer'

const html = '[html]';
const headerTemplate = '[header]';
const footerTemplate = '[footer]';

const browser = await puppeteer.launch({
	headless: true,
	args: [
		'--disable-gpu',
		'--disable-dev-shm-usage',
		'--disable-setuid-sandbox',
		'--no-sandbox',
	]
});

const page = await browser.newPage();

await page.setContent(html, { waitUntil: 'load' });

await page.pdf({
	path: 'out.pdf',
	format: 'A4',
	scale: 2/3,
	displayHeaderFooter: true,
	headerTemplate,
	footerTemplate,
	margin: {
		bottom: 105,
		left: 0,
		right: 0,
		top: 120,
	},
	printBackground: true,
	timeout: 300000,
});

Error string
Received signal 11 SEGV_MAPERR<PHONE_NUMBER>00
Puppeteer configuration
None
Puppeteer version
19.2.2
Node version
18.14.0
Package manager
npm
Package manager version
9.3.1
Operating system
Linux

Could you reproduce the issue using the latest official docker image we provide? https://github.com/puppeteer/puppeteer/pkgs/container/puppeteer

The stack trace looks similar to https://bugs.chromium.org/p/chromium/issues/detail?id=1326516

I see. Well, there is not much we can do. Perhaps you could leave a comment on the crbug.com above (it looks very similar) or could you please a file a new issue at crbug.com. If you can get a crash id from chrome://crashes, it'd help too.

Probably, a new issue makes sense because the reproduction steps are different.

Thanks, will check there. 👍

Please post a link to the bug report here, so that we can track it.

crbug.com bug report: https://crbug.com/1417256


Curious unused code snippet relating to querying jsonb fields

@JimFuller-RedHat I'm thinking this is related to something I'm working on, #888, and I'm curious why it's not in a comment. :smile:
https://github.com/trustification/trustify/blob/68d08bc52e6e65ac8d352ad524904df7a20d2cf8/modules/fundamental/src/purl/service/mod.rs#L336-L343

generally we still have work to do to port over calls with joins across 3 tables to just refer to qualified_purl purl column ... and yes you are right - that condition can now be removed - I will do that as part of PR I am cooking up in analysis graph area (adding cpe to each node).


Support an additional format for  element with react-i18next

This is an extension of #286
Is your feature related to a specific framework or general for this extension
react-i18next
Is your feature request related to a problem? Please describe.
Using i18n-ally for <Trans> elements.
Describe the solution you'd like
Add regex to support this format (which is supported by react-i18next.
<Trans>calculator.nearby_people_label</Trans>
Additional context

As you can see in this screenshot, <Trans>calculator.nearby_people_label</Trans> doesn't show the i18n-ally English translation, whereas the t() function calls do.

<Trans> parsing does work when the key is an attribute.

Thanks so much for tending to this so quickly! 🙏

Just wanted to report back that it's working great. Same screenshot as above, but now with the updated match pattern:


[Fix] - Blockquotes margin

I made a change that makes erases margin left and right from Blockquotes.
Before:

After:

@kognise I think that the indentation that provides the left border is sufficient for the 'blockquote' effect. Let me know your opinion!


Fixed typo

Fixed some typos.

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement
Learn more about why HashiCorp requires a CLA and what the CLA includes
Have you signed the CLA already but the status is still pending? Recheck it.


Forecasting Decline

The model is capable of forecasting growth where there is usually some maximum achievable value (a cap), but the same is true of decline where the will be some lower bound or floor. Is there a clean way of dealing with this scenario at present?
I guess as a work around I could subtract the input values from the max value in the time series, so that the "floor" becomes a "cap" but these feels a bit messy.
Additionally there might be scenarios where there is both a floor and a cap.

This is in #81, and I think there is a fairly simple solution; check out the notebook pdf that I just attached there and post over there if you are able to try it out.

Thanks perfect, of course the offset is a much better option!

This is now available in v0.2 in CRAN and pypi, documentation here:
https://facebookincubator.github.io/prophet/docs/saturating_forecasts.html


Okay

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]

Additional context
Add any other context about the problem here.

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]

Additional context
Add any other context about the problem here.

Run: backup photos

Did you file this intentionally @MTBirdman89a ? This looks like spam. Closing.


Changing UI/UX design of the home page

Issue Type:

[x]   Feature Request

Describe the bug
The home page is not according to the UI design , everything is blended
Possible solution

Breaking the sections into sub-sections so that they look more eye-catching
Changing the layout so that everything looks much more arranged

Screenshots

@himanshu007-creator please assign me this issue under the label LGMSOC

hi @gunjan-g, you can work on this issue, but send the changes to the development branch.

hi @gunjan-g, you can work on this issue, but send the changes to the development branch.

ok

solved by #436


Define a nat-discovery protocol for selecting public or private IP

This protocol is defined for the discovery 1:1 of the IP to be used. between private or public, and expected to be used
over an UDP port.
I have been thinking about the usability/security consequences. One important fact is that the implementation should only rely on the queries made, never on the queries received. So a gateway cannot be tricked into changing the IP being used (DoS)
We could use mTLS over TCP for this discovery if we wanted using the same proto definition, but I was talking about this with @nyechiel  and may be at this point it's more reasonable to keep it simple, unless we believe we'd be sharing anything that should not be on plain text.
I suggest the cluster / endpoint ids to, may be, be hashed.
Related-Issue: https://github.com/submariner-io/submariner/issues/1174
Closes-Issue: https://github.com/submariner-io/submariner/issues/1175
Signed-off-by: Miguel Angel Ajo<EMAIL_ADDRESS>

Converting to draft by now until I fully handle the protocol implementation.

@skitt although this is marked as draft, the first commit of the series is reviewable. I'd thank your feedback on it, specially the makefile changes.

Thank you for the comments @skitt still not applied in this push, I will handle them on monday

Although I want to add more testing on monday it's ready for review, please see there's two patches on the series. Sorry the second got painstakingly long :/
@tpantelis @sridhargaddam  I'd thank review, sorry for the size.

Created branch: z_pr1185/mangelajo/nat-discovery-proto
welcome back dude! ;)

Sorry, moving to draft, I uploaded changes that I didn't want to.

@sridhargaddam @tpantelis thanks for all the great feedback, I have work to do...


Setup data bindings for dynamically added object properties

Consider this sample page :
<template>
  <div>
    <text>A: {{ A.message }}</text>
    <text>B: {{ B.message }}</text>
    <text>C: {{ C.message }}</text>
    <text>D: {{ D.message }}</text>
  </div>
</template>

<script>
  module.exports = {
    data: {
      A: {},
      B: {},
      C: {
        message: 'initial'
      },
      D: {
        message: 'initial'
      }
    },

    created: function() {
      this.B.message = 'created'
      this.C.message = 'created'
    },

    ready: function() {
      this.A.message = 'ready'
      this.B.message = 'ready'
      this.C.message = 'ready'
    }
  }
</script>

I assigned A B C 's message property to be 'ready' in ready lifecircle hook. Regardless of whether I initialize the message property in data, I should get :
A: ready
B: ready
C: ready
D: initial

But it actually rendered as this :
A: undefined
B: created
C: ready
D: initial

In my opinion, the reason is weex currently can't setup data bindings for dynamically added properties.
Consider the case of A. Before running ready , the UI has already been rendered and A.message is undefined.  Because of there is no data binding for message property, even A.message changed to ready, it won't trigger UI updates.
Consider the case of B. When created is running, data binding has completed and haven't start rendering elements. B.message changed to created will take effects at the first rendering, but it has no data binding neither, reassign it in ready won't trigger UI updates.
C and D is normal case.

It's a feature. This behavior is acceptable.


Prevents inner href's from working

If you put click-outside on something that (for example) opens a dropdown, and that dropdown contains links with hrefs, those hrefs don't navigate (unless they only change the hash). E.g.

  Click here

Doesn't work

But only if you're already on /blah#!

This might help you
var eventHandler = function(e) {
//check the element is an anchor
if(e.target.tagName.toLowerCase() === 'a'){
return
}

@tandrewnichols testing this locally, all seems to work fine. I have added you example code to a jsfiddle and it seems to work ok: https://jsfiddle.net/iamadamjowett/7tdq66eq/


Generalized reshape_like operator

This PR implements this proposal for generalizing the reshape_like operator, so that it has more flexible handling of which dimensions of the input and target tensors are used in the reshaping process.
There are a few differences from the proposal in the previous discussion. For example, to be consistent with the inputs names of reshape_like (lhs and rhs instead of src and target), the parameters were called lhs_begin rather than src_begin etc.
I've also added tests for reshape_like, which didn't exist before, along with better documentation.
@ThomasDelteil, @taliesinb

Please see this 'sister' issue that designs what is effectively the dual of this feature: https://discuss.mxnet.io/t/proposal-new-merge-dims-reshaping-op/1524


Access root of remote

Need to be able to access the root of an SFTP remote, can't see any possible way of doing it in the browser. Normally achieved with rclone in the command line by going remote:/

yep, would be good


Wrong variable name references DOLCE_CUSTOM_TEPLATE_PATH

Wrong references throughout the code of DOLCE_CUSTOM_TEPLATE_PATH, as in missing M in TEPLATE
Nice job though with everything else 👍

Thanks, that was a picture-perfect copy&past error :)
Fixed in 1541b98 and released as 2.5.1


NocoDB error on deploy

When I try to deploy a NocoDB stack from App Templates, I get this error:
unable to fetch git repository id: failed to list repository refs: Get "https://github.com/xneo1/portainer_templates/info/refs?service=git-upload-pack": context deadline exceeded

See: https://github.com/Lissy93/portainer-templates?tab=readme-ov-file#raising-issues
Issues relating to specific images need to be raised upstream.
This repo just collates templates listed in the Sources into a single manifest, so once a fix has been pushed out upstream, it will be available here.


updated v1alpha scaffolding

This will fix #188

@laxmikantbpandhare there seems to be something wrong in the code where you are replacing the chunk of code. Refer to CI error: error updating kustomization.yaml files: remove config/default/kustomization.yaml patch and vars blocks: unable to find the content to be replaced\n"

@laxmikantbpandhare there seems to be something wrong where you are replacing the chunk of code. Refer to CI error: error updating kustomization.yaml files: remove config/default/kustomization.yaml patch and vars blocks: unable to find the content to be replaced\n"

@varshaprasad96 - there is something missing in testdata. I am looking into it. I did not get time.

There is no need to merge this PR and it can be closed as once Operator SDK's this PR gets merged then everything will be solved.
SDK is not updated yet with v2alpha that's why hybrid helm plugins are still scaffolding files with kustomizev1. Once this PR gets merged and hybrid helm points to the latest commit then there will be no issue at all on the hybrid-helm-plugins side.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1575

Relevant Lines:
1764

💛  - Coveralls


FIX Don't generate table alias for "from" statement that are not column names

Manual testing steps
This is updating a low level API that is widely use across tho codebase. There's not really any manual steps that could be taken ... aside from using the system.
Issues

#11276

Pull request checklist

[x] The target branch is correct
[x] All commits are relevant to the purpose of the PR (e.g. no debug statements, unrelated refactoring, or arbitrary linting)

Small amounts of additional linting are usually okay, but if it makes it hard to concentrate on the relevant changes, ask for the unrelated changes to be reverted, and submitted as a separate PR.

[x] The commit messages follow our commit message guidelines
[x] The PR follows our contribution guidelines
[x] Code changes follow our coding conventions
[x] This change is covered with tests (or tests aren't necessary for this change)
[x] Any relevant User Help/Developer documentation is updated; for impactful changes, information is added to the changelog for the intended release
[x] CI is green

Got a sink build here with this PR: https://github.com/archiprocode/recipe-kitchen-sink/actions/runs/10103439804
The Lining failure is pre-existing.


Convert website to Docusaurus (WIP)

SUMMARY
Convert entire website to Docusaurus (Part 1 of #36).
Explore a preview of this branch at https://enelson-rushstackiodocpreview.netlify.app/ (open side-by-side with existing https://rushstack.io to see current differences).
(UPDATE: You can now also view the site deployed to GitHub Pages, at https://elliot-nelson.github.io/rushstack.io-website/, using the pnpm deploy command provided by Docusaurus.  This may be the best test since it's closest to the final output.)
DETAILS

Install base Docusaurus setup.
Move all markdown docs to /docs, tweak and update as needed, regenerate API docs using the Docusaurus plugin implemented in https://github.com/microsoft/rushstack/pull/2979.
Configure main and API sidebars.
Configure URLs so all prior URLs are still valid (the URL /pages/help/support displays the markdown doc /docs/help/support.dm).
Move all the "Jekyll stuff" into folder old/ temporarily.  (Will be deleted, but may be useful as we discuss styling of the Docusaurus site).

REVIEWER NOTES
I've done my best to break up the changes into sensible commits, and I'm pretty sure I should be able to support living updates (clean merges in the /docs folder into this branch).  But it may not be completely reviewable in GitHub.
NEXT STEPS

Identify and fix all broken links (may require further edits to the Docusaurus plugin).
Tweak default styling to look more like the original rushstack site.
Confirm algolia search settings are corect.
Confirm that we can deploy cleanly to the existing GH Pages site (possibly, we could do a side-by-side subdomain deploy for safety?)
Final cleanup and merge.

The broken links I'm seeing in the API docs seem to mostly be existing issues, so this may be an opportunity to clean that up before releasing an updated site.
The biggest offenders are links to enum members, which should be fixed by https://github.com/microsoft/rushstack/pull/2999.


DELETE method not found on Ubuntu 16.04

Do you have some explanation that REST API DELETE method is recognised without any problems on windows 10/64bit, but on Ubuntu 16.04 the HTTP server claims "method doesn't exists"?
The version of bottle is the same 0.12.18

@marianlukac Could you provide an example? to be able to test it in multiple environments?

Please provide an example that triggers this behavior and re-open the issue.

Please provide an example that triggers this behavior and re-open the issue.


build-go.sh cmd/gendocs cmd/genman cmd/genbashcomp cmd/mungedocs failed

Verify-gendocs failed.
$  ./hack/verify-gendocs.sh
It looks as if you don't have a compiled gendocs, genman, genbashcomp or mungedocs binary

If you are running from a clone of the git repo, please run
'./hack/build-go.sh cmd/gendocs cmd/genman cmd/genbashcomp cmd/mungedocs'.

I run the cmd (from master/HEAD) then
$ ./hack/build-go.sh cmd/gendocs cmd/genman cmd/genbashcomp cmd/mungedocs
+++ [0809 10:34:54] Building go targets for linux/amd64:
    cmd/gendocs
    cmd/genman
    cmd/genbashcomp
    cmd/mungedocs
# k8s.io/kubernetes/pkg/kubectl
_output/local/go/src/k8s.io/kubernetes/pkg/kubectl/bash_comp_utils.go:26: cmd.Flags().StringSliceP undefined (type *pflag.FlagSet has no field or method StringSliceP)
_output/local/go/src/k8s.io/kubernetes/pkg/kubectl/bash_comp_utils.go:29: cmd.Flags().SetAnnotation undefined (type *pflag.FlagSet has no field or method SetAnnotation)
!!! Error in /home/emma/kubernetes/hack/lib/golang.sh:388
  'go install "${goflags[@]:+${goflags[@]}}" -ldflags "${goldflags}" "${nonstatics[@]:+${nonstatics[@]}}"' exited with status 2
Call stack:
  1: /home/emma/kubernetes/hack/lib/golang.sh:388 kube::golang::build_binaries_for_platform(...)
  2: /home/emma/kubernetes/hack/lib/golang.sh:523 kube::golang::build_binaries(...)
  3: ./hack/build-go.sh:26 main(...)
Exiting with status 1
!!! Error in /home/emma/kubernetes/hack/lib/golang.sh:444
  'kube::golang::build_binaries "$@"' exited with status 1
Call stack:
  1: /home/emma/kubernetes/hack/lib/golang.sh:444 kube::golang::build_binaries(...)
  2: ./hack/build-go.sh:26 main(...)
Exiting with status 1

Any ideas?

Sigh.  Yay go.  Make clean.
On Sat, Aug 8, 2015 at 7:45 PM, Emma He<EMAIL_ADDRESS>wrote:

Verify-gendocs failed.
$  ./hack/verify-gendocs.sh
It looks as if you don't have a compiled gendocs, genman, genbashcomp or mungedocs binary
If you are running from a clone of the git repo, please run
'./hack/build-go.sh cmd/gendocs cmd/genman cmd/genbashcomp cmd/mungedocs'.
I run the cmd (from master/HEAD) then
$ ./hack/build-go.sh cmd/gendocs cmd/genman cmd/genbashcomp cmd/mungedocs
+++ [0809 10:34:54] Building go targets for linux/amd64:
cmd/gendocs
cmd/genman
cmd/genbashcomp
cmd/mungedocs
k8s.io/kubernetes/pkg/kubectl
_output/local/go/src/k8s.io/kubernetes/pkg/kubectl/bash_comp_utils.go:26 http://k8s.io/kubernetes/pkg/kubectl_output/local/go/src/k8s.io/kubernetes/pkg/kubectl/bash_comp_utils.go:26: cmd.Flags().StringSliceP undefined (type *pflag.FlagSet has no field or method StringSliceP)
_output/local/go/src/k8s.io/kubernetes/pkg/kubectl/bash_comp_utils.go:29: cmd.Flags().SetAnnotation undefined (type *pflag.FlagSet has no field or method SetAnnotation)
!!! Error in /home/emma/kubernetes/hack/lib/golang.sh:388
'go install "${goflags[@]:+${goflags[@]}}" -ldflags "${goldflags}" "${nonstatics[@]:+${nonstatics[@]}}"' exited with status 2
Call stack:
1: /home/emma/kubernetes/hack/lib/golang.sh:388 kube::golang::build_binaries_for_platform(...)
2: /home/emma/kubernetes/hack/lib/golang.sh:523 kube::golang::build_binaries(...)
3: ./hack/build-go.sh:26 main(...)
Exiting with status 1
!!! Error in /home/emma/kubernetes/hack/lib/golang.sh:444
'kube::golang::build_binaries "$@"' exited with status 1
Call stack:
1: /home/emma/kubernetes/hack/lib/golang.sh:444 kube::golang::build_binaries(...)
2: ./hack/build-go.sh:26 main(...)
Exiting with status 1
Any ideas?
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/12442.

Did ./build/make-clean.sh.
Still the same output.

Oh.. make clean seems fine. Thx a lot.
Closing it.


Customise option

Description of the bug:
Customise option is not working properly.
Steps to reproduce the behaviour:

Go to 'https://spot-the-hole.web.app'
Click on 'customise'
See error

Expected behaviour:
It is supposed to respond as I click on any of the customise options.
Screenshot:

Desktop:

OS: Windows
Browser: Google Chrome
Version: 83.0.4103.106

@kaazima can you confirm if the bug still exists?

Yeah, customise option is working properly now. It looks perfect :)


Update step_03.ngdoc

Hello,
when I run protactor, I got this error message:
Failures:
1) PhoneCat App Phone list view should display the current filter value in the title bar
Message: ReferenceError: query is not defined
Stacktrace: ReferenceError: query is not defined

It's because query is not retrieved from model. So I added it.
Hope this helps

Closed with c2033d7.


Rota weeks - i.e. Every 8 weeks on the Monday and Wednesday of weeks 2,3 and 5

Is this possible? I couldn't see any way to do this in the RFC5545 spec either. Duration, DTSTART etc. are all the same. I couldn't think of any rule combination that could be used as a workaround and creating 8 separate, nearly identical, schedules doesn't seem very DRY.

Stack overflow question is here: http://stackoverflow.com/questions/31458120/does-the-icalendar-standard-support-rota-weeks-i-e-every-8-weeks-on-weeks-1-2
Apologies for polluting your issue tracker if this is more a question about the standard than your implementation.

Right, unfortunately I can't think of an answer for this either... But do let us know if you discover anything.


Fully document all the UI endpoints

Currently only the endpoints for the start of a user flow are documented in the readme, and furthermore their signatures are not documented. Further endpoints and their signatures are discoverable by traversing the user flow from the starting endpoint, but should also be fully documented.

Doing some Q&D documentation here:
Start login with a provider (one of Google, Globus, or OrcID):
~$ curl -v -d 'provider=Google' https://ci.kbase.us/services/auth/login/start/ 2>&1 |  grep Location
< Location: https://accounts.google.com/o/oauth2/v2/auth?scope=profile+email&state=[*snip*]&redirect_uri=https%3A%2F%2Fci.kbase.us%2Fservices%2Fauth%2Flogin%2Fcomplete%2Fgoogle&response_type=code&client_id=[*snip*]&prompt=select_account

For the case where the choice endpoint returns a create rather than a login entry:
$ curl -H "accept: application/json" --cookie "in-process-login-token=$IN_PROCESS_TOKEN" https://ci.kbase.us/services/auth/login/choice | python -m json.tool
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   416  100   416    0     0    883      0 --:--:-- --:--:-- --:--:--   881
{
    "cancelurl": "cancel",
    "create": [
        {
            "availablename": "A name based off the provider username that is currently available in kbase, although this info is immediately stale",
            "id": "ID goes here",
            "provemail": "provider email address,
            "provfullname": "provider full name",
            "provusername": "provider user name"
        }
    ],
    "createurl": "create",
    "creationallowed": true,
    "expires":<PHONE_NUMBER>057,
    "login": [],
    "pickurl": "pick",
    "provider": "Google",
    "redirecturl": null,
    "suggestnameurl": "suggestname"
}

Getting a name suggestion:
$ curl https://ci.kbase.us/services/auth/login/suggestname/some%20user$name
{"availablename":"someuser"}


Ollama support and support for Nomic Embedding.

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 [...]
Support for nomic Embedding. Considering it's pretty fast and accurate and recently included in Ollama, support would be a good alternative to other embedding models already there.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Integrate nomic embedding models.

👌 Sure, we'll try to include this in the next version

I added the   nomic-embed-text:latest  LLM  to ollama and in the taskingai models , its a very small embeding model , then I set up embedding reteieval and it work fine straight out of the box ! I hope this helps


Check whether examine rebuild on start is off

For sites with lots of content, having Examine rebuild enabled on start can really slow down boot time.

Closed, thanks @redmorello


Add Repairables tag

ItemExchange has a config-section that enumerates all repairable items. However, both the default config and CivDocker config lack Nether items.
iirc I wrote this config-section as a quick solution as [almost] every item-meta inherits both Damageable and Repairable, so you cannot do a quick and dirty instanceof test to determine whether an item can be damaged or repaired. I was able to come up with a solution a fair while ago for the Damageable problem (see here) by conditioning the return on the item material's maximum durability. Repairable however has remained ellusive.
I suggest therefore that REPAIRABLE be added to MoreTags and coming up with some reliable test so that there's no longer a need to manually test and update the config.

I'm closing this out as something that we won't fix. It could be revisited in the future, but it's not within our capacity to work on right now.


MongoDB connection error: Error: slash in host identifier

Hello, I'm running your node.js project with mongodb, express, but I get this error when I start the server:
MongoDB connection error: Error: slash in host identifier
[nodemon] app crashed - waiting for file changes before starting ...
this is my files:
mongoose.js file:
const { mongo, env } = require('./vars');

// set mongoose Promise to Bluebird
mongoose.Promise = Promise;

// Exit application on error
mongoose.connection.on('error', (err) => {
  console.error(`MongoDB connection error: ${err}`);
  process.exit(-1);
});

// print mongoose logs in dev env
if (env === 'development') {
  mongoose.set('debug', true);
}

/**
* Connect to mongo db
*
* @returns {object} Mongoose connection
* @public
*/
exports.connect = () => {
  mongoose.connect(mongo.uri, {
    keepAlive: 1,
    useMongoClient: true,
  });
  return mongoose.connection;
};

my var.js file:
const path = require('path');

// import .env variables
require('dotenv-safe').load({
  path: path.join(__dirname, '../../.env'),
  sample: path.join(__dirname, '../../.env.example'),
});

module.exports = {
  env: process.env.NODE_ENV,
  port: process.env.PORT,
  jwtSecret: process.env.JWT_SECRET,
  jwtExpirationInterval: process.env.JWT_EXPIRATION_MINUTES,
  masterAccount: process.env.MASTER_ACCOUNT_NUMBER,
  masterAccountPassword: process.env.MASTER_ACCOUNT_PASSWORD,
  mongo: {
    uri: process.env.NODE_ENV === 'test'
      ? process.env.MONGO_URI_TESTS
      : process.env.MONGO_URI,
  },
  logs: process.env.NODE_ENV === 'production' ? 'combined' : 'dev',
};

the index.js file:
Promise = require('bluebird'); // eslint-disable-line no-global-assign
const { port, env } = require('./config/vars');
const app = require('./config/express');
const mongoose = require('./config/mongoose');

// open mongoose connection
mongoose.connect();

// listen to requests
app.listen(port, () => console.info(`server started on port ${port} (${env})`));

/**
* Exports express
* @public
*/
module.exports = app;

thanks for you help

Make sure your MongoDB connection string is set in the environment variable the right way
MONGO_URI=mongodb://localhost:27017/e-wallet-app - use this if you have MongoDB installed and what to run locally
Or perhaps a MongoDB Altas connection string...

thanks for your help. but please can you explain me how to connect a bank
api to transfert money from bank account to  the eWallet and also to
transfert money from ewallet to bank account.
can you guide me throughout the configuration of your project, and help me
to adapt this project for the needs that are required for my presentation?
Le lun. 20 avr. 2020 à 21:36, Akinola Raphael<EMAIL_ADDRESS>a
écrit :

Make sure your MongoDB connection string is set in the environment
variable the right way
MONGO_URI=mongodb://localhost:27017/e-wallet-app - use this if you have
MongoDB installed and what to run locally
Or perhaps a MongoDB Altas connection string...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mmucito/ewallet-rest-api/issues/2#issuecomment-616794753,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM5RD2HK4LKUM6U7256T54DRNSW55ANCNFSM4MLHPQGQ
.

That a long process but send me an email at<EMAIL_ADDRESS>im willing to put you through

hi, i'm using angular 9 for views, but i don't understand how you display
the contents of a user's wallet. the method does not take an id parameter
or the customer object. but I applied the method and transmitted it to the
view, it doesn't display anything
Le mer. 22 avr. 2020 à 19:25, Akinola Raphael<EMAIL_ADDRESS>a
écrit :

That a long process but send me an email at<EMAIL_ADDRESS>im
willing to put you through
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mmucito/ewallet-rest-api/issues/2#issuecomment-617950910,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM5RD2BFNL4SIRYIR2OLM23RN4ZCXANCNFSM4MLHPQGQ
.

Note I didn’t write this API. You’re just fortunate I’m here and decided to help

ah ok, i see sorry to have confused you to the author of the API. thanks
for the help
Le jeu. 23 avr. 2020 à 13:18, Akinola Raphael<EMAIL_ADDRESS>a
écrit :

Note I didn’t write this API. You’re just fortunate I’m here and decided
to help
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mmucito/ewallet-rest-api/issues/2#issuecomment-618368996,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM5RD2DRO63BEROTCAMN2P3ROAWZBANCNFSM4MLHPQGQ
.


[CEP-389] Fix cached JWT

The issue happens because users JWT was cached instead of using service JWT.

@dlazarenko-macrometa - Let's close this PR since now it is invalid to merge <IP_ADDRESS> to master?


Kafka engine Polled batch of 0 messages

I have created a new Kafka engine, however when queried it doesn't fetch any messages
CREATE TABLE test_consumer (
    forDateTime UInt32,
    valueIn     String,
    valueOut    String,
    id2  Nullable(String)
)
    ENGINE = Kafka SETTINGS
        kafka_broker_list = 'kafka-1.domain.eu:9092,kafka-2.domain.eu:9092,kafka-3.domain.eu:9092',
        kafka_topic_list = 'my_topic',
        kafka_group_name = 'clickhouse.test.group1',
        kafka_format = 'JSONEachRow',
        kafka_row_delimiter = '\n',
        kafka_num_consumers = 3;

2019.02.28 00:59:18.739977 [ 304 ] {54a59bea-ed0a-4525-9820-c66be024fcc3} <Trace> StorageKafka (test_consumer): Setting brokers: kafka-1.domain.eu:9092,kafka-2.domain.eu:9092,kafka-3.domain.eu:9092
2019.02.28 00:59:18.740025 [ 304 ] {54a59bea-ed0a-4525-9820-c66be024fcc3} <Trace> StorageKafka (test_consumer): Setting Group ID: clickhouse.test.group1 Client ID: clickhouse
2019.02.28 00:59:18.740657 [ 304 ] {54a59bea-ed0a-4525-9820-c66be024fcc3} <Trace> StorageKafka (test_consumer): Setting brokers: kafka-1.domain.eu:9092,kafka-2.domain.eu:9092,kafka-3.domain.eu:9092
2019.02.28 00:59:18.740673 [ 304 ] {54a59bea-ed0a-4525-9820-c66be024fcc3} <Trace> StorageKafka (test_consumer): Setting Group ID: clickhouse.test.group1 Client ID: clickhouse
2019.02.28 00:59:18.741090 [ 304 ] {54a59bea-ed0a-4525-9820-c66be024fcc3} <Trace> StorageKafka (test_consumer): Setting brokers: kafka-1.domain.eu:9092,kafka-2.domain.eu:9092,kafka-3.domain.eu:9092
2019.02.28 00:59:18.741104 [ 304 ] {54a59bea-ed0a-4525-9820-c66be024fcc3} <Trace> StorageKafka (test_consumer): Setting Group ID: clickhouse.test.group1 Client ID: clickhouse
2019.02.28 00:59:28.071398 [ 111 ] {e1c5f859-c001-4ccd-b092-7ea43c43877e} <Debug> StorageKafka (test_consumer): Starting reading 1 streams
   Kafka
2019.02.28 00:59:28.571783 [ 111 ] {e1c5f859-c001-4ccd-b092-7ea43c43877e} <Trace> StorageKafka (test_consumer): Polled batch of 0 messages
2019.02.28 00:59:29.072022 [ 111 ] {e1c5f859-c001-4ccd-b092-7ea43c43877e} <Trace> StorageKafka (test_consumer): Polled batch of 0 messages
2019.02.28 00:59:29.572192 [ 111 ] {e1c5f859-c001-4ccd-b092-7ea43c43877e} <Trace> StorageKafka (test_consumer): Polled batch of 0 messages
2019.02.28 00:59:30.072391 [ 111 ] {e1c5f859-c001-4ccd-b092-7ea43c43877e} <Trace> StorageKafka (test_consumer): Polled batch of 0 messages
2019.02.28 00:59:30.572589 [ 111 ] {e1c5f859-c001-4ccd-b092-7ea43c43877e} <Trace> StorageKafka (test_consumer): Polled batch of 0 messages

I don't see anything else helpful in log.
I can see new messages flowing to the topic but clickhouse doesn't consume anything 🤔 What might be the reason?

Check if it is related to https://github.com/yandex/ClickHouse/issues/4442

I have not encountered such error yet. Only that "Polled batch of 0 messages"

And yes, I have found in error log, that I have incorrect column types. Defined. Then I saw

2019.02.28 11:17:20.473187 [ 777 ] {578bc0ef-be9f-4cf8-90e2-0fb1e4b95081}  HTTPHandler: Code: 27, e.displayText() = DB::Exception: Cannot parse input: expected { before: \0: (at row 2)

But adding kafka_row_delimiter = '\n', helped. Thanks


Final docs branch

Completed all the missing docs
Search, Key, Modal, Page, Drawer, Details, Dropdown
Fixes #51

@SikandarJODD all the docs complete with this PR


Add option to remove tutorial button from bank interface

Closes #11604

Needs rebase

This was added to the vanilla client in today's game update.


Create hoogle index

Addresses a part of #620.
This PR generates a Hoogle index for the Daml Finance library. In order to get this published, we shall

package it as part of the assembly build
make sure it is included in https://docs.daml.com/hoogle_db.tar.gz

The hoogle_db.tar.gz archive is created as part of the daml repo build process. I don't know how it is then made part of the docs website. We probably should touch base with Gary to understand the process.

@garyverhaegen-da we would like the Daml Finance documentation be searchable via Hoogle. To that end, I believe that the hoogle index needs to be added to https://docs.daml.com/hoogle_db.tar.gz.
I was wondering if

the creation of the above archive will also be moved to the docs.daml.com repo
if not, what could be a reasonable process to get the DF index included (load the Daml Finance assembly into the daml repo as a bazel dependency?)

So more specifically:

Merge this.
Change bin/build on the docs repo to open up the existing tarball, add this new file to ir, and re-tar it.

Thank you very much for looking into this Gary, my understanding of the process had stopped at step 1 😅
I'm happy we can integrate directly on docs.daml.com and do not need to go through the daml repo


execute "systemctl status gaiad" failed

CentOS Linux release 7.7.1908 (Core)
rly version
version: 0.3.0-1-g5879ef9
commit: 5879ef9375f7422c4aed677c5b7c22b94058ad18
cosmos-sdk: v0.34.4-0.20200423152229-f1fdde5d1b18
go: go1.14.1 linux/amd64
gaiad version --long
name: gaia
server_name: gaiad
client_name: gaiacli
version: 0.0.0-333-gd26d6ed
commit: d26d6eddcf8dbb87ed101f69419e3b79cdb568c6
build_tags: netgo,ledger
go: go version go1.14.1 linux/amd64
I try to join the testnet,
Everything looks like ok in Server Setup,
but when I execute "systemctl status gaiad", I get failed.
● gaiad.service - gaiad
Loaded: loaded (/etc/systemd/system/gaiad.service; disabled; vendor preset: disabled)
Active: activating (auto-restart) (Result: exit-code) since 五 2020-04-24 14:54:19 CST; 1s ago
Process: 602 ExecStart=/root/go/bin/gaiad start --pruning=nothing (code=exited, status=1/FAILURE)
Main PID: 602 (code=exited, status=1/FAILURE)
4月 24 14:54:19 iZ6we0wdz6sdpueno5relzZ systemd[1]: gaiad.service: main process exited, code=exited, status=1/FAILURE
4月 24 14:54:19 iZ6we0wdz6sdpueno5relzZ systemd[1]: Unit gaiad.service entered failed state.
4月 24 14:54:19 iZ6we0wdz6sdpueno5relzZ systemd[1]: gaiad.service failed.
I try to execute "/root/go/bin/gaiad start --pruning=nothing",
Then I get:
I[2020-04-24|14:54:31.421] starting ABCI with Tendermint                module=main
ERROR: error during handshake: error on replay: validator set is nil in genesis and still empty after InitChain
Do I do something wrong?

I changed version of gaia, but still failed.
name: gaia
server_name: gaiad
client_name: gaiacli
version: 0.0.0-180-g50be36d
commit: 50be36de941b9410a4b06ec9ce4288b1529c4bd4
build_tags: netgo,ledger
go: go version go1.14.1 linux/amd64

After re-setup 5-6 times,
delete the relayer repo: $GOPATH/src/github.com/iqlusioninc/relayer;
delete the relayer data path: /root/.relayer/;
delete the data path: /root/.gaiad/;
restart the server;
gaiad is running.
I don't really know what happened.

Thank you for the update here @wangfeiping! Glad you were able to get everything working.


Delete Dead Code from DI

Just deleting dead code. DefiniteInitialization has the property that MemoryInst is always a MarkUninitializedInst. So anything that will never run if MemoryInst is a MarkUninitializedInst is trivially dead.

This is the dead code removal moved out of #16844.

@swift-ci smoke test and merge


Allocate all groups in one go

With many groups and dynamic allocation allocating group by group is too slow.
This leaves a number of simplification opportunities untaken, but I wanted to keep this diff as small as possible.

I am unable to review all of this today, so just a comment on of the changes:
Cluster membership format is changed with this PR. Won't there be problems when upgrading, since the old code won't be able to read the new format? In that case, code for supporting the new cluster membership format needs to go in first, then the rest of the changes can be done.

I'm pretty sure it's ok since the specs without group were never returned out of the node repo before this PR - and could not be parsed at all since the constructor started with
        if (components.length < 4)
            throw new RuntimeException("Could not parse '" + stringValue + "' to a cluster membership. " +
                                       "Expected 'clusterType/clusterId/groupId/index[/retired][/exclusive][/stateful][/combinedId]'");

Yes, right, that looks good

@jonmv, @freva, @mpolden let me know if any of you want to look more at this before I merge.

I don't want to look more at it, unless you need to let old configservers handle the format written with // by upgraded servers with the new cluster membership format ... ?

... turns out it was easy to move storing of the reserved nodes to after assigning groups so I just did that.

There are.


2.1.1-RC1 release

One integration test is failing on Semaphore, verifying it locally.

Verified all the tests are passing locally.

Merging the PR as integration tests are passing. However, Semaphore is failing due to the unavailability of Windows machines during the build.


Explicit loading of the WASM module

In regards to https://github.com/denoland/deno/issues/11916, Deno DOM WASM has a negative impact on startup performance. So I'm thinking of making a third entry-point (as an alternative to deno-dom-wasm.ts) that exposes an init function that explicitly initializes the HTML parser. If you try parsing HTML before initializing a parser Deno DOM will throw an error.
Thoughts @jjallaire?

That would be absolutely be huge for us as the scenarios where we need the faster startup time are for the most part not ones where we even load deno_dom. So yes that would be excellent and we'd use it right away.

Okay, I just added deno-dom-wasm-noinit.ts for explicit initializing of the WASM module. Check how to use it https://github.com/b-fuze/deno-dom#webassembly-startup-penalty
Let me know if there are any issues

Brilliant! Thank you :-) We are now using this variation and it cut 500ms off of our 850ms startup time (on a fairly recent MB Pro laptop so even more time on the average user system).


Actually check current temperature.

Closes #14.

This requires https://github.com/momodalo/broadlinkjs/pull/4 to be included in broadlinkjs.


feat: Added tests for multi-platform dynamic IBM P&Z

Description
This PR adds two tests related to dynamic allocation in IBM P&Z platforms
Issue ticket number and link
https://issues.redhat.com/browse/STONEBLD-1859
https://issues.redhat.com/browse/STONEBLD-1858
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
locally with ginkgo --label-filter="multi-platform" --v ./cmd
Checklist:

[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added meaningful description with JIRA/GitHub issue key(if applicable), for example HASSuiteDescribe("STONE-123456789 devfile source")
[ ] I have updated labels (if needed)

/test e2e-on-pull-request

Are these tests only for dynamic provision or the whole process of a multi-arch build?

Are these tests only for dynamic provision or the whole process of a multi-arch build?

@tkdchen the whole suite contains tests for host-pool for aws as well, but the stories that current PR is addressing is dynamic allocation for ibmp and ibmz architectures

/lgtm
/approve

/approve


0.2.18 $stateChangeSuccess not fired during (fired before?) state's controller construction

We had this code in the constructor (TypeScript) of a controller which was working fine while we had a resolve defined on the controller's state that was doing an XHR request.
  this._stateChangeRemoveListener = $scope.$on('$stateChangeSuccess', () => {
    if ($state.current.name === this._currentState) {
      this._initialize();
    }
  });

The code is necessary not just for initial controller construction but also when we return to the state from a child state in which case the controller is not reconstructed and we want to re-initialize the state of the controller.
When we removed the resolve from the state, we noticed the $stateChangeSuccess event was no longer being fired or it had been fired prior to creating the listener in the controller's constructor.
I added back a fakeResolve on the state of:
      resolve: {
        fakeResolve: ['$q', '$timeout', function ($q:ng.IQService, $timeout:ng.ITimeoutService) {
          let deferred = $q.defer<any>();
          $timeout(() => {
            deferred.resolve(true);
          }, 200);
          return deferred.promise;
        }]
      },

And the $stateChangeSuccess handler was being triggered again (I could go as low as 140ms but I couldn't get consistent handler calls).
What is the proper way to initialize a controller that ensures that the stateChange has succeeded before running controller initialization logic?
I would have thought the controller construction sequence would not vary in relation to the stateChangeSuccess event.  Am I missing something in the documentation?
Thank you.

Could this be similar to #2048

I think this is very likely related to the code we added for #1643
I think we will be reverting that code in 0.2.19 in favor of exposing the animation promise: #2562
See also #2485
@rcollette can you try adding noanimation to your ui-view tag?
<div ui-view noanimation></div>

Sorry it took so long to respond.
I used noanimation but via hacking the source to just return the statics in the getRenderer method (would be nice if this could be done globally via a provider option).
That didn't help.   What I've been able to observe is that the $stateChangeSuccess handler in my view controller works  when line 3956 of the ui-view directive
        scope.$on('$stateChangeSuccess', function() {
          updateView(false);
        });

is called before $stateChangeSuccess is broadcast on line 3352.  It seems somewhat random as to when this happen and is infrequent when using 200ms in the fakeResolve timer I mentioned previously.   If I bump the timer up to 800ms, ui-view registers the handler every time prior to $stateChangeSuccess being raised.
It appears that $stateChangeSuccess is being raised before the root ui-view is compiled.

Oh, I see... you are trying to listen for the $stateChangeSuccess that triggered the ui-view to load?  That only works if loading the ui-view happens completely synchronously.  It's synchronous only in the most simple cases.  In general, you should assume that the ui-view could be loaded async could be async stuff between the state change and the ui-view loading.
If you examine these lines: https://github.com/angular-ui/ui-router/blob/legacy/src/viewDirective.js#L203-L205 , you can see that ui-view is indeed loaded in response to a $stateChangeSuccess event.


Change Neovim terminal black color

That's because due to conflict with Normal highlight group's background color. We can't distinguish them since they are the same.
Before

See background of 40m column.

After

Friendly ping @cocopon.

Merged! I used CursorLine background for ANSI black.

Thank you! It looks better now.


Missing tracking benchmark files

Hi,
The supported benchmark Tracking in the README.md is invalid and there is no corresponding coco_track folder on the GoogleDrive.
I wonder if there will be a plan of releasing it so we can benchmark on the tracking, thank you!

Hello,
The coco_track folder is now added. You can now evaluate supported methods on the EgoHumans test set.


chore(DNM): using latest cosmos proto builder for proto

Description
closes: #XXXX

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[ ] included the correct type prefix in the PR title
[ ] added ! to the type prefix if API or client breaking change
[ ] added appropriate labels to the PR
[ ] targeted the correct branch (see PR Targeting)
[ ] provided a link to the relevant issue or specification
[ ] added a changelog entry to CHANGELOG.md
[ ] included comments for documenting Go code
[ ] updated the relevant documentation or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed all author checklist items have been addressed
[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

@robert-zaremba  I am closing this pr , we will reopen this pr once we integrated cosmos v0.47


Password option doesn't appear to be working

Using this format in the text file for a password protected video: https://vimeo.com/12345678::PASSWORD
Is getting this error in Terminal:
[vimeo] Extracting URL: https://vimeo.com/12345678
[vimeo] 12345678: Downloading webpage
ERROR: [vimeo] 12345678: This video is protected by a password, use the --video-password option

you can change setting to show verbose
yt_dlp_options = {
...
"verbose": True,
...
}

Thanks @ammar0466 ! Changing that fixed the password issue.
Unfortunately, it's now throwing an error before it starts the download. It shows the destination of where the download will be, then just says ERROR.
I turned on verbose, not sure if you can tell what's wrong from this at all:
ERROR:  Traceback (most recent call last):   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 1567, in wrapper     return func(self, *args, **kwargs)   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 1723, in __extract_info     return self.process_ie_result(ie_result, download, extra_info)   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 1782, in process_ie_result     ie_result = self.process_video_result(ie_result, download=download)   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 2921, in process_video_result     self.process_info(new_info)   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 3369, in process_info     partial_success, real_download = self.dl(fname, new_info)   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/yt_dlp/YoutubeDL.py", line 3108, in dl     return fd.download(name, new_info, subtitle)   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/yt_dlp/downloader/common.py", line 455, in download     ret = self.real_download(filename, info_dict)   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/yt_dlp/downloader/dash.py", line 56, in real_download     return fd.real_download(filename, info_dict)   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/yt_dlp/downloader/external.py", line 50, in real_download     retval = self._call_downloader(tmpfilename, info_dict)   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/yt_dlp/downloader/external.py", line 294, in _call_downloader     return super()._call_downloader(tmpfilename, info_dict)   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/yt_dlp/downloader/external.py", line 145, in _call_downloader     cmd = [encodeArgument(a) for a in self._make_cmd(tmpfilename, info_dict)]   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/yt_dlp/downloader/external.py", line 316, in _make_cmd     cmd += self._configuration_args()   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/yt_dlp/downloader/external.py", line 129, in _configuration_args     return _configuration_args(   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/yt_dlp/utils/_utils.py", line 3539, in _configuration_args     return cli_configuration_args(argdict, keys, default, use_compat)   File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/yt_dlp/utils/_utils.py", line 3517, in cli_configuration_args     assert isinstance(argdict, dict) AssertionError

This because yt-dlp extractor setting
Try my fork on my github repo.
And also if downloaded content dont have sound you need to convert output to use AAC sound format.

Merged the fork, I'll try to test it out when I have the time 😄

That worked @ammar0466 thanks!!


UCP: Improve the heartbeat processing by not remove region from the tree

Description
We can improve the heartbeat processing by not removing the region from the tree.
Score

200

Recommended Skills

Go

Learning Materials
See https://github.com/pingcap/pd/issues/1846

/pick-up-challenge

/pick-up-challenge


avoid async-pool v0.5 for Ruby v2.x

the recently published async-pool v0.5 doesn't declare a Ruby v3.x requirement, but seems to need it

Apologies for this, I've yanked v0.5.0, so I believe you can revert this.

Apologies for this, I've yanked v0.5.0, so I believe you can revert this.

Thanks, @ioquatix! Reverted with 519d0d6bf050eb6050adc9a128a395f03946028c.


Gracenote fails

It seems plex has hardcoded the temporary location for the gracenote temporary transcodes to /tmp which if a slave does the work the master can't see the files. /tmp is a very tricky one for nfs or redirecting the file system due to it's heavy use by core apps.
e.g.
2016-01-06 12:11:26,728 - prt - INFO - Launching transcode_remote with args ['ssh'<EMAIL_ADDRESS>'-p', u'22', u"export LD_LIBRARY_PATH=/usr/lib/plexmediaserver:$LD_LIBRARY_PATH;cd /usr/lib/plexmediaserver;prt_local -i '' -threads 0 -y -f s16le -t 60 -loglevel quiet -loglevel_plex error -map_metadata -1 -ar 44100 -ac 2 **/tmp/**27f5-d15e-96c3-63d4.pcm"]
Hopefully they change that but will have a think on the best way to work round it in the meantime.

Actually, just after writing that issue...it seems I have a fix/workaround for it. It can be done manually but maybe I'll just add some code to automatically fix it on prt install and/or warn on run if the fix isn't there.
After my fix :
2016-01-08 15:07:21,067 - prt - INFO - Launching transcode_remote with args ['ssh'<EMAIL_ADDRESS>'-p', u'22', u"export LD_LIBRARY_PATH=/usr/lib/plexmediaserver:$LD_LIBRARY_PATH;cd /usr/lib/plexmediaserver;prt_local -i '' -threads 0 -y -f s16le -t 60 -loglevel quiet -loglevel_plex error -map_metadata -1 -ar 44100 -ac 2 **/opt/plex/tmp/**9851-a341-ac37-907e.pcm"]

can you assign this to me please @wnielson


Build CoreOS kernel

CoreOS support was requested at the KubeCon hackathon.

IIRC, I think this was for minikube. Which uses boot2docker no?


INSERT using f-string failing

I have a customer trying to use pymapd to do a insert operation and it's failing with exception:
2019-09-18T15:30:10.497444 1 16 MapDHandler.cpp:784 stdlog_begin sql_execute 108 0 omnisci admin 009-mie5 {"query_str"} {"
        insert into Forecast_PGW_C_Subs_Hist
        VALUES ('08/31/2019',123,234,345,456.70001220703125,567,12345)
    "}
2019-09-18T15:30:10.497934 I 16 Calcite.cpp:455 User admin catalog omnisci sql '
        insert into Forecast_PGW_C_Subs_Hist
        VALUES ('08/31/2019',123,234,345,456.70001220703125,567,12345)
    '
2019-09-18T15:30:10.502526 E 16 MapDHandler.cpp:4967 Exception: Exception occurred: org.apache.calcite.runtime.CalciteContextException: From line 1, column 13 to line 1, column 38: Column 'rowid' has no default value and does not allow NULLs
2019-09-18T15:30:10.502668 I 16 MapDHandler.cpp:784 stdlog sql_execute 108 5 omnisci admin 009-mie5 {"query_str"} {"
        insert into Forecast_PGW_C_Subs_Hist
        VALUES ('08/31/2019',123,234,345,456.70001220703125,567,12345)
    "}
2019-09-18T15:30:10.611998 1 16 MapDHandler.cpp:395 stdlog_begin disconnect 109 0 omnisci admin 009-mie5
2019-09-18T15:30:10.612052 I 16 MapDHandler.cpp:399 User admin disconnected from database omnisci

If I take the same INSERT code and run it through omnisql, it runs just fine. The piece of python code doing the insert is here:
    insertHist_i = f'''
        insert into Forecast_PGW_C_Subs_Hist
        VALUES (:dt,:histCap,:engCap,:lic,:engLimit,:histForecast,:actGrowth)
    '''

...

    # Copy last month from _Future to _Hist
    c.execute(insertHist_i,parameters={"dt":lastmo,"histCap":histCap,"engCap":engCap,"lic":lic,"engLimit":engLimit,"histForecast":histForecast,"actGrowth":subcnt})

Trimming the f-string fixes the issue. Affects pymapd 0.12.1 and 0.15.0

Thanks for the report @realtonyyoung. This error occurs here: https://github.com/omnisci/pymapd/blob/master/pymapd/cursor.py#L105
This bug should be fixed today and a new version of pymapd by the end of the week.


2.1.0-preview1 doesn't scaffold numeric field as decimal property

while scaffolding postgres 9.4 database, I received errors bellow
Could not find type mapping for column 'acc.treasury_stock.amount' with data type 'numeric(26,6)'. Skipping column.
Could not find type mapping for column 'acc.treasury_stock.price' with data type 'numeric(26,6)'. Skipping column.
Could not find type mapping for column 'dic.currency_rate.value' with data type 'numeric(28,6)'. Skipping column.
Could not find type mapping for column 'acc.stock_transit.amount' with data type 'numeric(26,6)'. Skipping column.
Could not find type mapping for column 'acc.stock_transit.price' with data type 'numeric(26,6)'. Skipping column.
Could not find type mapping for column 'stock.issue_request.offering_price' with data type 'numeric(26,4)'. Skipping column.
Could not find type mapping for column 'stock.issue.offering_price' with data type 'numeric(26,4)'. Skipping column.
Could not find type mapping for column 'acc.stock_investment.amount' with data type 'numeric(26,6)'. Skipping column.
Could not find type mapping for column 'acc.stock_investment.price' with data type 'numeric(26,6)'. Skipping column.
Could not find type mapping for column 'acc.authorized_capital.amount' with data type 'numeric(26,6)'. Skipping column.
Could not find type mapping for column 'acc.authorized_capital.price' with data type 'numeric(26,6)'. Skipping column.
Could not find type mapping for column 'corp.corporate_ballot_request.votes' with data type 'numeric(18,12)'. Skipping column.
Could not find type mapping for column 'stock.deal.value' with data type 'numeric(22,6)'. Skipping column.
Could not find type mapping for column 'stock.deal_request.value' with data type 'numeric(22,6)'. Skipping column.
Could not find type mapping for column 'stock.share_type.face_value' with data type 'numeric(26,4)'. Skipping column.

I'm using

Visual Studio 2017 15.7.0 Preview 1.0,
.NET Core SDK 2.1.300-preview1-008174

<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="2.1.0-preview1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="2.1.0-preview1-final" />

Thanks for raising, this is a known issue which was fixed for preview2 in 746fab1d23a8b0a9185b069956e53906e605d9b5.


Support multiple docset versions with something like a "versions" dropdown menu

Is your feature request related to a problem? Please describe.
When multiple versions of a docset exists, due to new releases over time, if the docs aren't making use of a hosting site like ReadTheDocs, then multiple versions can't be supported.
Describe the solution you'd like
A different Sphinx theme, sphinx-material, approaches this with an optional dropdown menu seen used on the demonstration site:

https://bashtage.github.io/sphinx-material/

Documentation on how the dropdown can be configured: https://bashtage.github.io/sphinx-material/customization.html#version-dropdown

It allows for multiple versions of the documentation to exist on the site under different sub-paths. This allows people to link directly to a target version when sharing links, in the event that functionality/documentation changes in a future release.
Describe alternatives you've considered
I'm not sure about how other themes may have implemented this kind of support, and what would be the best approach for furo to place it in the page: perhaps beneath the search bar? Maybe displayed with a different aesthetic that better blends within the theme?

Thanks for filing this issue!
I don't think this needs to be done at the theme level. It's already available via ReadTheDocs, and I'd prefer folks either replicate their approach or use ReadTheDocs directly. 🤷🏻♂
See https://pip.pypa.io/en/stable for an example of how that works, where you can select the other available versions using the JS-based dropdown that shows up in the bottom right.

Thanks for filing this issue!
I don't think this needs to be done at the theme level. It's already available via ReadTheDocs, and I'd prefer folks either replicate their approach or use ReadTheDocs directly. 🤷🏻♂
See https://pip.pypa.io/en/stable for an example of how that works, where you can select the other available versions using the JS-based dropdown that shows up in the bottom right.

Ah, that makes sense, with what is seen here:

https://github.com/pradyunsg/furo/blob/main/src/furo/theme/furo/sidebar/rtd-versions.html

So if someone wanted to display options for multiple hosted versions, on a site hosted elsewhere outside of RTD, they could perhaps create a custom partial for that situation. I may submit a PR in the future for an optional versions menu for those hosting the theme elsewhere.

Ah, that makes sense, with what is seen here:

https://github.com/pradyunsg/furo/blob/main/src/furo/theme/furo/sidebar/rtd-versions.html

So if someone wanted to display options for multiple hosted versions, on a site hosted elsewhere outside of RTD, they could perhaps create a custom partial for that situation. I may submit a PR in the future for an optional versions menu for those hosting the theme elsewhere.

TBH, I don't think that custom logic needs to live in Furo directly though. It's certainly possible to add custom elements in Furo's sidebar -- I wrote an entire section in the documentation, establishing expectations and explaining how to do that. IMO possible to make this reusable without having it be a part of Furo, and I'm happy to call out examples of how the customisation is done on that page.
My bias here is straightforward: I'd like to keep things at a minimum here because I only have so much time. The less that this theme provides/does directly, the easier it is for me to "keep the light on" for it. :)

What ReadTheDocs does is that they have an extension that adds the relevant JS/CSS/HTML for the version selector they provide. I'm not a 100% sure if that's reusable, but I do think the approach to take would be to make something that's not tied to Furo directly, but that works well with it (see https://github.com/pradyunsg/sphinx-inline-tabs for example).

TBH, I don't think that custom logic needs to live in Furo directly though. It's certainly possible to add custom elements in Furo's sidebar -- I wrote an entire section in the documentation, establishing expectations and explaining how to do that. IMO possible to make this reusable without having it be a part of Furo, and I'm happy to call out examples of how the customisation is done on that page.
My bias here is straightforward: I'd like to keep things at a minimum here because I only have so much time. The less that this theme provides/does directly, the easier it is for me to "keep the light on" for it. :)

What ReadTheDocs does is that they have an extension that adds the relevant JS/CSS/HTML for the version selector they provide. I'm not a 100% sure if that's reusable, but I do think the approach to take would be to make something that's not tied to Furo directly, but that works well with it (see https://github.com/pradyunsg/sphinx-inline-tabs for example).

All very good points. I'll close out the issue with that in mind. Thank you for making this so extensible, and for the great documentation so far!

All very good points. I'll close out the issue with that in mind. Thank you for making this so extensible, and for the great documentation so far!


Show signed in user below the "Logout" text in the Settings

It is (for some people) important to know if they are still authenticated with their OWN account, to prevent them from falling in paranoia.

UNTIL: 8 o'clock PM


More Realm isolation with admin/server email and social authentication

Scenario: one zulip server administering multiple realms on even distinct TLDs.
Said realms are not necessarily of same family, therefore need to be thoroughly isolated and may find it unprivate or untrustworthy or be spooked when things don't match up.
Oh, and it might be that all the dynamic email addresses point to the same admin
Suggested feature
1. ZULIP_ADMINISTRATOR =<EMAIL_ADDRESS>//as is right now
2. # ZULIP_ADMINISTRATOR_PER_REALM = 'chat@{realm_domain}' //overwrites 1
3. # ZULIP_ADMINISTRATOR_GET_FROM_ORG_SETTINGS = True //overwrites 2

In this way, this zulip settings caveat can be circumventable
# The email address for the person or team who maintains the Zulip
# installation. Note that this is a public-facing email address; it may
# appear on 404 pages,

Might be related to this (not sure)
https://github.com/zulip/zulip/issues/7814
For Social Authentication
E.g for github auth, it seems one github account is used for all realms.
It'd be less spooky and visually trustworthy if
Realm_2 example3 . com has its own github auth.
Maybe
1. SOCIAL_AUTH_GITHUB_KEY = "780987thgtf776uh09oiih" //is used if 2 is missing
2. SOCIAL_AUTH_GITHUB_KEY_GET_FROM_ORG = True //overwrites 1

and the same for the secret key
Thanks all, for the awesome and unprecedented work that is Zulip.

Right now, we use a separate generic non zulip org domain for the admin email, something like
ZULIP_ADMINISTRATOR =<EMAIL_ADDRESS>BTW, what is the legal limitations for us to use "zulip" in a domain name?

@donShakespeare thanks for the suggestions.  I don't think we're likely to add customization settings like this in the near future, as they might require a significant fork to python-social-auth.  I think a generic email address for the server administrators should work well for most applications, but if you have details on a specific situation where you need these, I'd be curious to hear about it.

BTW, what is the legal limitations for us to use "zulip" in a domain name?

If it might create confusion in the marketplace about whether your server is run by Kandra Labs (who run zulipchat.com), that's where trademark law enters the picture; naming a server for the example.com userbase e.g. zulip.example.com is recomended by our documentation and not a problem.  You can contact<EMAIL_ADDRESS>if you have an unusual situation.

Closing, since I don't think we have any plans to take action on this, and I think the current model is reasonable to have a single contact point of "who runs this Zulip hosting service / installation" for all the use cases I've seen clearly articulated.


Issue with Parameters Passed in the URL

I have checked the following:

[X] I use the newest version of bruno.
[X] I've searched existing issues and found nothing related to my issue.

Describe the bug
I added a parameter "q" directly into the URL bar to be executed without going through the query array as illustrated in the image below:

When I added another parameter from the query array, in my case it was the "options" attribute with the value "concise", it modified the value of the "q" attribute that I associated at the beginning, which caused a bug as illustrated in the image below:

.bru file to reproduce the bug
No response
Screenshots/Live demo link

Are you sure that your uri .... parameters are formed correctly ?
URIs include components and subcomponents that are delimited by characters in the "reserved" set. These characters are called "reserved" because they may (or may not) be defined as delimiters by the generic syntax, by each scheme-specific syntax, or by the implementation-specific syntax of a URI's dereferencing algorithm. If data for a URI component would conflict with a reserved character's purpose as a delimiter [emphasis added], then the conflicting data must be percent-encoded before the URI is formed.
I think you have a problem with the "==" in your string. The "sign" is a reserved sub-delim character
... and you need to do the percent-encoding / url-encoding
https://www.rfc-editor.org/rfc/rfc3986#section-2.1
Probably Bruno is not handling / showing the data for this reason not correctly in your first screenshot

I think this is a serious bug and important feature to fix, but it comes with a bunch of design decisions to make. The URL field should probably validate it's contents and notify user if the value is not correctly formatted URL - and what @Chibane690 inputs is in fact invalid.
Is bruno supposed to silently try to url encode the value of URL field? What request is actually being sent from this example? What if loading a bru file where the params section does not match url section? Which takes precedence? It would be nice to have an input from maintainers (@helloanoop) on their vision for this, so someone could pick this up.
A UI solution in this particular case would look something like this:

I downloaded the Postman client to perform the same test, and it worked well. It escaped the quotes but not the "==" when sending the request, rather than during inputting the request.
Here's a screenshot illustrating the request input:

And here's the image during the request emission:

The execution went smoothly without any bugs.

Just merged the PR #2139 from @pietrygamat
This will be available in the upcoming v1.28.0 release


dead code detection poc

not sure if i like this implementation as it makes the procbuilder more noisy imo, but this was the first solution to the problem i came up with
i could prepare this pr for when const-folding eventually becomes a thing, but im not sure if the emit signatures & logic will change for that, so i held off on that for now and added two todos

We already talked about it on Discord but I figured I should mention here that it currently seems to be broken due to switch cases.

Fails CI

I'm not a fan of this solution. I think once we keep a control flow graph, it would be better to add dead code detection through that.


FEATURE: View Monitoring Plan without Log In

Provide the ability to view monitoring plan data without having to log in the EASEY In
May be provided via EASEY Out
Will include mobile device capability
Will need a mobile first design to implement this functionality
Possible uses: replace FACT viewer, approve/submit mon. plans

No longer needed. This has been split by MP section


Test to use TFX 1.0.0

Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

@kindalime I can rebase and fix your branch, lmk if you are not working on it so I can safely do so


FIX: #523 correctly ignore JSON strings in decryption

This adds a check for JSON stringified objects before trying to decrypt. Addresses issue #523

Hi,
If you change from encrypted to unencrypted or vice-versa, you should perform a database migration to change those fields.
Alternatively, read without a schema and update the time.
Your PR suggests handling JSON encodings, but there could be any other formats that your PR won't address.
So I'd rather not apply the PR to handle just one such case out of a potential large set of encodings.