Deeplinking implementation causes other deeplinks to be unhandled (iOS/Android).

Report
Plugin Version
6.0.50
On what Platform are you having the issue?
Android & iOS.
What did you do?
Install the plugin using the steps provided within the documentation.
What did you expect to happen?
Appsflyer to run correctly.
What happened instead?
It does, however, the methods provided now override any incoming deeplink - So for instance logging in through Facebook, a deeplink back to the app with the login information is no longer handled correctly.
Please provide any other relevant information.
I have this within my iOS AppDelegate.m
// Add deep linking support
- (BOOL)application:(UIApplication *)app
   openURL:(NSURL *)url
   options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options
{
  if ([[FBSDKApplicationDelegate sharedInstance] application:app openURL:url options:options]) {
    return YES;
  }
  if ([RCTLinkingManager application:app openURL:url options:options]) {
    return YES;
  }
  // Appsflyer Deeplinking Support - 'redundant conditional'
  if ([AppsFlyerLib shared]) {
    [[AppsFlyerLib shared] handleOpenUrl:url options:options];
    return YES;
  }
  return NO;
}

I also have this within the MainActivity.java file for Android...
  // Appsflyer Android Deeplink support
  @Override
  public void onNewIntent(Intent intent) {
    super.onNewIntent(intent);
    // setIntent(intent); <--- breaking line
  }

It seems for iOS you can only have one method for handling deeplinks, but within that method, it needs to return a boolean for whichever package can handle the incoming link - Usually, these checks are done with conditionals which return booleans themselves, however with AppsFlyer's implementation, it doesn't. I've wrapped it like the above, however, i'm pretty sure it's picked up every time as the library itself is there, so that conditional seems pretty redundant. Assuming this is synchronous code, I'm hoping it being last will only run if the other two methods aren't valid for the specific deeplink for appsflyer - it's currently very hit and miss.
For Android, the setIntent() is causing FB & Google logins to fail (when the native apps are installed that can handle login - which ultimately means passing deeplinks around to go between apps) - Having a look at answers like this which shows that the implementation of onNewIntent, will let the new intent that comes in, be handled above anything that was running previously - which clearly isn't how we need to be handling the login, it needs to be running on the previous intent.
Looking at one of your contributor's answers previously, it seems that this line is needed to help override intent on cold startups.
I'm hoping that we can find a way to keep handling your deeplinks without it, however, causing side-effects with other deeplinks that come in such as FB/Google logins through their native apps. Perhaps (for android as an example) if your 'intent' object has a specific type or data we can look for, we can setIntent dependant on whether it's an appsflyer deeplink or not?

Hi @ciawalsh thanks for opening this issue.
we will check it and get back to you

Hi @ciawalsh, in order for you to get the best answers about native sdk questions you can contact our support team<EMAIL_ADDRESS>

Hi @ciawalsh and @amit-kremer93. I have this exact same use case on both platforms. Did you manage to solve it?

Same here, I wouldn't say this is completely native sdk topic
Same issue in unity plugin => https://github.com/AppsFlyerSDK/appsflyer-unity-plugin/issues/47

Same here, I wouldn't say this is completely native sdk topic
Same issue in unity plugin => https://github.com/AppsFlyerSDK/appsflyer-unity-plugin/issues/47

@ciawalsh How did you manage to solve it? I have the same problem.

Very late to respond, but they ended up removing AppsFlyer as it caused more problems then it solved. Especially as they relied on Social OAuth.
Sorry @filippobarcellos - The above was on a version of RN that was over 2 years old (pre 66), as were the OAuth logins, so I'm sure they've all had time to get their ducks in a row in the meantime. Perhaps reach out to @amit-kremer93 or<EMAIL_ADDRESS>if that issue really does still persist.


Remove CES survey code remnants

Removed the main CES contribution file, as well as two additional references to the CES survey.  The CES survey was already shut off by @digitarald via experiment, so the only thing to test is that these changes do not break the product.

Thanks @digitarald - here's a PR against distro with the recommended changes - https://github.com/microsoft/vscode-distro/pull/971.


监控k8s1.15 版本 schduller 和controller-manager 过一段时间失效

我的 k8s集群是1.15 的版本, 在使用Prometheus-operator时, 监控schduller和controller-manager时, 刚创建的第一天, 可以正常监控, service serviceMonitor  ep 都正常的. 第二天就看到ep丢失, service  和serviceMonitor状态还是正常的.

translate to English, feel free to tell me if I am wrong, see below:

My k8s cluster version is 1.15, when using Prometheus-operator to monitor schduller and controller-manager, they could be monitored on the first day, and Service/ServiceMonitor/Endpoints are all normal, but on the second day, value in Endpoints column is "None" when checked by "kubectl get ep -n kube-system", but Service/ServiceMonitor are normal

Judging by what you shared it looks like this never worked. Could you share the selector you use from the Service to select the pods, and an example of a controller-manager pod that you have in your cluster?

@VEH47 could you please provide info as @brancz mentioned?


Can't use it when I finish read the "Getting Started"

html

<link href="lib/vue-material.css" rel="stylesheet">

<md-button class="md-primary">Primary</md-button>

main.js
require(['../module/common'], function(common) {

    Vue.use(VueMaterial)

    Vue.material.theme.register('default', {
        primary: 'cyan',
        accent: 'pink'
    })
});

And nothing happend...

For both cases you need to use the theme that you've created:

To use with Require.js:
Instead of calling the Vue Material script inside your HTML file you'll need to require it inside your script:
require(['../module/common', 'lib/vue-material.js'], function(common) {
  Vue.use(VueMaterial)

  Vue.material.theme.register('default', {
    primary: 'cyan',
    accent: 'pink'
  })
});

To use without Require.js:
In this case you need to call the Vue Material inside your HTML (like you did):

Vue.use(VueMaterial)

Vue.material.theme.register('default', {
  primary: 'cyan',
  accent: 'pink'
})

Or you can use some vue-cli template:
I would recommend you to use (and learn) the vue-cli with one of the templates.

Tell me if this works for you.
Thanks!

@marcosmoura Thanks, but after I tried, It still not work for me. I didn't know where is wrong...

You didn't implemented like I said in the previous example. Take a look at the Require.js part. You should import Vue Material there too.
require(['../module/common', 'lib/vue-material.js'], function(common) {
  Vue.use(VueMaterial)

  Vue.material.theme.register('default', {
    primary: 'cyan',
    accent: 'pink'
  })
});

Also looks like that the CSS file it's not loaded. Can you take a look at this?

It works, thank you very much. And I have tried the vue-cli, it's very cool. Thanks! 👍


[stdlib]: better align Async{Throwing}Stream implementations

Removes some of the discrepancies between the throwing & non-throwing variants of AsyncStream. In particular, adds multi-consumer support to the throwing variant, and updates the docs. Additional minor refactoring of existing implementation to streamline the code.
Fixes #76547

ping @ktoso @FranzBusch (or lmk if i should @ someone else)

I'll look at it but we've all just been at the swift on server conference so we've been offline a bit these days. I'll be able to review shortly once I'm back home on Monday, sorry for the delay :)

@ktoso low-priority ping

Please unmark this "draft" if it's expecting reviews -- a draft basically signals "not ready to review" @jamieQ :)
Thanks for the ping and your work here! I pined some other folks who are more up to date about the plans about the stream type

@FranzBusch @phausler do either of you have feedback to share on this? thanks in advance!

@FranzBusch @phausler – wondering if either of you have bandwidth to provide feedback on this effort in the relatively-near term. if not, is there someone you'd suggest i try to involve instead? thanks!


How to implement MAAC/MFAC for Gaussian Squeezing?

Hi I recently get some confusion when trying to reproduce your work, particular about experiment (1) on gaussian squeezing. According to my understanding in order to implement MAA2C algorithm as described in the DeepMind's NeurIPS 17 paper, the critic network should represent the Q-value function which takes joint action of the players into input. However, it seems that gaussian squeeze task is a stateless environment. According to your implementation details, there is a discount factor \gamma for AC methods but not for Q-learning method. So how do you define the state for gaussian squeezing? And if it is stateless, how can one use A2C methods?

The same question? How can we get the code for gaussian squeezing?


comments

added 2 new comments, erased space in one old comment. very significant.

I think until you allow this I cant pull request. In GitHub (desktop) it won't let me pull, just add to this page....
I created a new commit, and it has now joined this pull request.


[Update] Refactor product links in ChainListRow component

#4638  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @jnsdls and the rest of your teammates on  Graphite


[ENHANCEMENT] Speaking speed feature

It would be great if you guys implemented a feature that allows to change the speaking speed of audio generated by edge tts before rvc conversion. This feature is implemented in this repository https://github.com/kryef/edge-tts-webui and works great.

Thanks for your recommendation! In the next applio release this feature will be added.


Pre filter existing torrents for fuzzy matching using existing regex

Fixes long standing bug-ish behavior from discord. Fuzzy matching would get equal quality matches between multiple episodes from the same season, and would always pick the first alphabetically. This attempts to filter the potential matches with the same regex used for parsing torznab searches.
If the parsing fails (no results), search with all torrents fuzzy anyway.

LGTM pending the helper function extraction

also it looks like you got a typescript error:
13.95 src/torrent.ts(209,4): error TS2550: Property 'replaceAll' does not exist on type 'string'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2021' or later.

also it looks like you got a typescript error:

tbh I don't know what's causing this nor how to fix it. replaceAll literally works a few lines later so this one is lost on me.

Do you need to change your target library? Try changing the 'lib' compiler option to 'es2021' or later.

I think we just need to tell typescript we're using a later version of javascript than it thinks:
{compilerOptions: {..., lib: "es2021"}}

LGTM - have you tested it out? might need to hardcode some stuff in order to do so

Yes. While I don't know whether it's more successful or not, I confirmed that it can find matches via RSS


updatePresence returning 'undefined' for 'statuses' field

With the updatePresence option on, api.listen() returns the following when a user comes online:
{ type: 'presence',
  timestamp: [timestamp],
  userID: '[user ID]',
  statuses: undefined }

when in the docs it says that it should return

An object with the following fields: fbAppStatus, messengerStatus, otherStatus, status and webStatus. All can contain any of the following values: "active", "idle", "invisible", "offline".

Is this a bug, am I doing something wrong, or is it just FBM being frivolous?

I think the error is at line 651 of utils.js.
function formatPresence(presence, userID) {
  return {
    type: "presence",
    timestamp: presence.la * 1000,
    userID: userID,
    statuses: presence.a // <--
  };
}

I did some snooping in the messenger.com and facebook.com requests and there isn't a p key in the presence response for the numbers - only a numeric a key which I believe is 0 for active and 2 for idle/away. I haven't tested it yet though, mostly because I don't know how to test local changes to node.js packages 😛
Here's a response I got when someone became online:
for (;;); {"t":"msg","seq":3139,"u":[user id],"ms":[{"overlay":{"[user id]":{"la":1482908493,"vc":10,"s":"push","a":2}},"type":"buddylist_overlay"}]}
And here's one I got when someone went idle (after five minutes):
for (;;); {"t":"msg","seq":3160,"u":[user id],"ms":[{"overlay":{"[user id]":{"la":1482908493,"vc":10,"s":"push","a":0}},"type":"buddylist_overlay"}]}

It looks like facebook no longer sends seperate data for 'active on facebook.com', 'active on messenger.com', 'active on mobile' etc and just combines them into a single 'is user active parameter'.

yep that fixed it, I'll send a pull request with an update for the docs.

Excuse me. What is 'presence.a' means? It's ever seen 0 and 2. :)


[SDK] Consolidate more tests - reduce contract deployment

Problem solved
Short description of the bug fixed or feature added

PR-Codex overview
This PR focuses on cleaning up and enhancing tests related to ERC721 and ERC1155 contracts in the thirdweb package. It includes the removal of obsolete tests and the addition of new functionality checks, particularly around contract deployment and NFT minting.
Detailed summary

Deleted obsolete test files for ERC721 and ERC20.
Updated mintAdditionalSupplyToBatch.test.ts to include checks for contract names.
Enhanced tests for DropERC1155 and TokenERC1155 to verify deployed names.
Removed tests for deployERC721 that were reliant on secret keys.
Added new tests for minting NFTs in token721.test.ts, covering both object and string inputs.
Ensured compatibility checks for NFT functions in the new tests.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#5258  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @kien-ngo and the rest of your teammates on  Graphite

Merge activity

Nov 1, 2:08 PM EDT: The merge label 'merge-queue' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.


Shared Folder - "Open all in new dashboard" should work in both IE and Firefox

Please fix "Open all in new dashboard" button/link so that it works in IE and Firefox.
Also fix styling so that it matches that of the "Get Shareable Link" button.
Currently the mouse turns into a text cursor when hovering over the words in the "Open..." button.  This does not look right.

OBE - Menu Option has been removed


[QT-Wallet] In "Accounts" page, UI needs updates.

Description:
In Accounts page, observed the following issues,

Needs description about the ACCOUNTS page.
Page UI need to be aligned, observing lot of empty spaces in the right side of the Table .

Please refer screenshot for more details .

for the width issue, can you evenly space the columns horizontally to take up 100% width always?

thanks @vinayaga07 for bringing up some design considerations !

It is current default values, seems like issue is addressed.

None default we can't fix


Feature request : set log level for the exporter

Hello everyone,
We deployed vmware_exporter as a container, and all logs generated by our containers are automatically collected.
In the case of vmware_exporter, we see a lot of logs, every scape generates multiple lines of logs, all beginning with INFO : ....
This is usefull for debug, but in production it just wastes space. I would just like to be able get WARN and ERROR messages for example.
I could be wrong but I don't think I can configure this for this exporter.

You can use vmware_exporter -l WARN to set log level to warning+
https://github.com/pryorda/vmware_exporter/blob/f32eaa902fabb0cc084b8801f427faed4b84a936/vmware_exporter/vmware_exporter.py#L2040-L2041

Sorry for the late response, this is what I needed, thanks a lot! :)


Tidy up scif branch in soil mask repo (part 2)

Follow-on from https://github.com/AgPipeline/issues-and-projects/issues/138

[ ] Add metadata in recipe.scif (see configuration.py)
[ ] Update README.md with new instructions

this is obsolete; scif stuff is all in drone makeflow repo now


Refactor file_io_s3_test.rs to reuse container for test.

In #428 we did a refactoring to reuse containers for tests, which improves our tests speed on macos. But file_io_s3_test.rs is still missing, and we should continue the work.

I'll take a crack at this


npm install tgsnake@laters

npm ERR! code ETARGET
npm ERR! notarget No matching version found for tgsnake@laters.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

@AbhijithNT kagett

@AbhijithNT try with npm install tgsnake

@AbhijithNT try npm install tgsnake@latest


Live site won't work on Android

The live site won't load on my android

What works on my Android

I launchedthe app on my andorid tablet
map displays, pans, zooms
symbols display

What doesn't work on my Android

Unable to log in

@cara-lgrow When I tried on my iPhone, I forgot the www. and I got the error message too many redirects. Is that what you experienced?

yes! this is happening on android and iphone.

The too many redirects problem is caused by / fixed by a setting for your domain in GoDaddy. If you could get us the login, it's a 5 min change. Otherwise, you'll have to have your IT fix it.

I will msg naveed at ocean omega. they are in control of the godaddy login information. They can't give us the login information because it is associated with an account that is responsible for all there clients.

Thanks, Mike! @Wilfongjt, I believe this issue can be closed.

@Wilfongjt I was able to sign in on my Android tablet.


consider providing (templates for) best practice container spec?

In https://github.com/docker/swarmkit/pull/1965 I ended up copying chunks of github.com/docker/docker/oci/DefaultSpec into [my containerd executor for swarmkit(https://github.com/ijc25/swarmkit/blob/4e1ce17f7f27e246298e9f78b61d6eb6fdb7d218/agent/exec/containerd/adapter.go#L345..L410), which makes me a touch uncomfortable.
I wonder if perhaps there is scope for pulling out the common (i.e. obvious/non-opinionated) bits out of that code into some central location, such as a containerd package, where it can be used as a base?
Or perhaps this is more of a https://github.com/opencontainers/runc thing? Although I expect the further down the stack we go the less common ground there will be.
/cc @stevvooe

I think it is something that we can pull out into our client libs that will give a good default spec.  Docker has good defaults that have worked for the majority of use cases and is secure so we should use that as our base.  It should not go to OCI.

I think this is covered more than adequately by spec_unix.go:createDefaultSpec() now. I'll close.


Intellisense not showing certain modules

I installed protobuf 2.6.1 via pip in PTVS, and it installed correctly. Intellisense does not know about the module though (even after multiple "Refresh DB" clicks under the Intellisense tab). It always shows the standard error:
Unable to resolve "google.protobuf". Intellisense may be missing for this module
I am able to import and use the module if I run python from the command line. Under Diagnostic Info in PTVS, I also see the package installed:
Installed Packages:
Name,Version,InterpreterName,InterpreterVersion,InterpreterArchitecture,Installer,Elevated,InstallResult
Successful Installations
astroid,1.4.1,CPythonInterpreterFactory,2.7,X86,Existing,False,0
colorama,0.3.3,CPythonInterpreterFactory,2.7,X86,Existing,False,0
cycler,0.9.0,CPythonInterpreterFactory,2.7,X86,Existing,False,0
jinja2,2.7.3,CPythonInterpreterFactory,2.7,X86,Existing,False,0
lazy-object-proxy,1.2.1,CPythonInterpreterFactory,2.7,X86,Existing,False,0
markupsafe,0.23,CPythonInterpreterFactory,2.7,X86,Existing,False,0
matplotlib,1.5.0,CPythonInterpreterFactory,2.7,X86,Existing,False,0
numpy,1.10.1,CPythonInterpreterFactory,2.7,X86,Existing,False,0
p4python,2014.2.962887,CPythonInterpreterFactory,2.7,X86,Existing,False,0
pip,7.1.2,CPythonInterpreterFactory,2.7,X86,Existing,False,0
protobuf,2.6.1,CPythonInterpreterFactory,2.7,X86,Existing,False,0
pylint,1.5.1,CPythonInterpreterFactory,2.7,X86,Existing,False,0
pyparsing,2.0.6,CPythonInterpreterFactory,2.7,X86,Existing,False,0
python-dateutil,2.4.2,CPythonInterpreterFactory,2.7,X86,Existing,False,0
pytz,2015.7,CPythonInterpreterFactory,2.7,X86,Existing,False,0
scikit-learn,0.17,CPythonInterpreterFactory,2.7,X86,Existing,False,0
setuptools,18.7.1,CPythonInterpreterFactory,2.7,X86,Existing,False,0
six,1.10.0,CPythonInterpreterFactory,2.7,X86,Existing,False,0
wheel,0.26.0,CPythonInterpreterFactory,2.7,X86,Existing,False,0
wrapt,1.10.5,CPythonInterpreterFactory,2.7,X86,Existing,False,0
Failed Installations
I'm running PTVS 2.2. Any idea what the issue is?
Thanks for your help!

Guessing it's a namespace package, since you're importing a different name from the package. (This is where a fake package is created at runtime and there's no __init__.py file in the google folder where there normally would be - currently we don't detect these properly unless you add the __init__.py.)
This is already tracked by #572


[Bug]: LyCORIS extension deprecated, should not be suggested to the user

What happened?
Visiting any page for a LyCORIS (LoCon / LoHA) model shows the following info:

This should no longer be shown, and shouldn't have been for months, as for version 1.5.0 of the webui, support was implemented natively, and furthermore the extension is now deprecated.
Steps to reproduce the problem
n/a
What should have happened?
The extension should not be recommended to the user.
What platforms do you use to access the site?
Windows
What browsers do you use to access the site?
Mozilla Firefox
Additional information, context and logs
The webui has gotten several issue reports due to this. See https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/13085 as a recent example.

Thanks for the heads up. We've removed this notice.


Add NetBSD install

saturn-cli now available on NetBSD. Merge log for your reference, http://mail-index.netbsd.org/pkgsrc-changes/2023/10/02/msg283126.html
Please consider adding the install instructions to README.md, thanks!

I'm probably going to slap in a small heading about operating system installs after the fact (we distribute releases in .deb and .rpm too). This is awesome! Thank you!

Thanks!
If you don't mind one question ...
I was asked if the application supports CalDAV? Any insights?
Thank you.

Not directly, it supports google calendar currently. I plan on making it support proton calendar too. If you want, put in a separate ticket for caldav and I will look into it. It already supports some iCal features as a part of the google stuff; I imagine it's only a jaunt from that.
------- Original Message -------
On Monday, October 2nd, 2023 at 6:59 AM, pin @.***> wrote:

Thanks!
If you don't mind one question ...
I was asked if the application supports CalDAV? Any insights?
Thank you.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you modified the open/close state.Message ID: @.***>

Thanks.

It would be great for the README to be clear about CalDAV.  It's the standard approach, vs something google-proprietary, so it's an obvious question.  I can certainly understand you solving what you need for your environment and don't mean to criticize that choice, but I suspect large amounts of your "CLI nerd" audience will be wanting to use this with self-hosted CalDAV.

Yeah I'm not really big on guessing what people want. If they want it, they can put it in the issues list.
------- Original Message -------
On Monday, October 2nd, 2023 at 7:48 AM, Greg Troxel @.***> wrote:

It would be great for the README to be clear about CalDAV. It's the standard approach, vs something google-proprietary, so it's an obvious question. I can certainly understand you solving what you need for your environment and don't mean to criticize that choice, but I suspect large amounts of your "CLI nerd" audience will be wanting to use this with self-hosted CalDAV.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you modified the open/close state.Message ID: @.***>

hey @0323pin, JFYI that there will be another release later today, a somewhat large bug regarding notifications for recurring tasks (see #61). Just figured I should tell you as you just did this.

@erikh thanks. I'll update the package accordingly. I've added this repository to my RSS feeds, so I can see when updates are available. Anyway, thanks for the heads-up 👍

And, forgot to post this earlier. Updated, https://mail-index.netbsd.org/pkgsrc-changes/2023/10/03/msg283182.html
I'll keep it up-to-date. Check repology.org when in doubt :)


current_observation error

I tried running this example. When I run it I get the following error.
ERROR: Wunderground error: the index 'current_observation' does not exist (line 148)
Here is the terminal output:
2015-05-22 08:14:42 UTC-5 	[Agent] 	Weather Agent Running
2015-05-22 08:14:42 UTC-5 	[Agent] 	Restored Location String: 61072
2015-05-22 08:14:42 UTC-5 	[Status] 	Device connected
2015-05-22 08:14:42 UTC-5 	[Device] 	Ready, running impOS 138d21b - release-30.22 - Fri Oct 17 12:15:01 2014
2015-05-22 08:14:42 UTC-5 	[Agent] 	Agent getting current conditions for 61072
2015-05-22 08:14:42 UTC-5 	[Agent] 	http://api.wunderground.com/api//YOUR WEATHERUNDERGROUND KEY/conditions/q/61072.json
2015-05-22 08:14:42 UTC-5 	[Agent] 	ERROR: Wunderground error: the index 'current_observation' does not exist (line 148)
2015-05-22 08:14:43 UTC-5 	[Agent] 	Weather Agent Running
2015-05-22 08:14:43 UTC-5 	[Agent] 	Restored Location String: 61072
2015-05-22 08:14:43 UTC-5 	[Agent] 	Agent getting current conditions for 61072
2015-05-22 08:14:43 UTC-5 	[Agent] 	http://api.wunderground.com/api//YOUR WEATHERUNDERGROUND KEY/conditions/q/61072.json
2015-05-22 08:14:43 UTC-5 	[Status] 	Device connected
2015-05-22 08:14:43 UTC-5 	[Device] 	Ready, running impOS 138d21b - release-30.22 - Fri Oct 17 12:15:01 2014
2015-05-22 08:14:43 UTC-5 	[Agent] 	ERROR: Wunderground error: the index 'current_observation' does not exist (line 148)

Judging by the URLs being posted to the log above, it looks like you haven’t added your Weather Underground API key to the code (line 13). The response from the Weather Underground server will be an error message of some kind and so lack a 'current_observation' value – hence the agent error you're seeing above.
You can register for a Weather Underground API key (for free) here: http://api.wunderground.com/weather/api/

PS. There are two slashes in the URL, between api and YOUR, which may be a bug - I need to check.

My apologies for submitting this. I am usually very through in what I do. There is nothing wrong with it.
//Add your own wunderground API Key here.
Added mine, and now works just fine.
Again, Sorry....


Remove dependency that requires libstdc++

Removes the dependency that caused the additional runtime dependency on libstdc++ by disabling the default features of the hf tokenizer.
Discussion

This removes a feature that is using a C++ dependency and is supposed to accelerate the tokenizer. As the tokenizer is likely to be a significant bottleneck for embedding texts using a HF model, this is an issue.
We should at least rerun the movies vector indexing and check that it still works correctly and that it has a runtime in the ballpark of what it used to be.

bors merge


Initial test pass

@spankenstein Breaking changes for this Release are only on a few of the flags passed to main.go. I had to do a cleanup because I made the previously global variables local to the Core struct for testing, and I changed some names while I was there for consistency.

Coverage increased (+5.5%) to 23.361% when pulling<PHONE_NUMBER>82b06c17a26942a59ebeafb7d08db7 on initial_test_pass into 44b384b45bf9fae2e1f6894d6a595047a3233b10 on master.


Plugin OAuth2 not work with consumer and credentials, Service or Ingress

NOTE: GitHub issues are reserved for bug reports only.
For anything else, please join the conversation
in Kong Nation https://discuss.konghq.com/c/kubernetes.

Summary
I configure the plugin of oauth2 with the ingress/services and when consuming the api, it is not secure
Kong Ingress controller version
0.4.0
Kong or Kong Enterprise version
1.1.2
Kubernetes version
Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.1", GitCommit:"b7394102d6ef778017f2ca4046abbaa23b88c290", GitTreeState:"clean", BuildDate:"2019-04-08T17:11:31Z", GoVersion:"go1.12.1", Compiler:"gc", Platform:"windows/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.2", GitCommit:"66049e3b21efe110454d67df4fa62b08ea79a19b", GitTreeState:"clean", BuildDate:"2019-05-16T16:14:56Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}
paste kubectl version output
Environment

Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

What happened
The plugin the Oauth2 not work
Expected behvaior
Steps To Reproduce

I have the following yaml

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: codificacion
spec:
rules:

host: foo.bar
http:
paths:

path: /
backend:
serviceName: codificacion-service
servicePort: 8002

apiVersion: configuration.konghq.com/v1
kind: KongConsumer
metadata:
name: consumer-macordova
username: macordova
apiVersion: configuration.konghq.com/v1
kind: KongCredential
metadata:
name: oauth2-consumer-macordova
consumerRef: consumer-macordova
type: oauth2
config:
name: credentials-oauth2
client_id: client_id_01
client_secret: client_secret_01
redirect_uris: http://localhost:8000/
apiVersion: configuration.konghq.com/v1
kind: KongPlugin
metadata:
name: auth-oauth2
config:
scopes: read,write
mandatory_scope: true
token_expiration: 180
enable_password_grant: true
accept_http_if_already_terminated: true
global_credentials: true
auth_header_name: authorization
refresh_token_ttl: 1209600
plugin: oauth2

then I apply the change to ingress
kubectl patch ingress codificacion -p "{"metadata":{"annotations":{"plugins.konghq.com":"auth-oauth2"}}}"

when calling the api this does not request authorization

Hey do you closed this issue because you got it working?  Do you mind sharing how did you make it worked?

This was the way I solved it. Hope it helps.
`apiVersion: configuration.konghq.com/v1
kind: KongConsumer
metadata:
name: test-consumer
namespace: test
username: test
custom_id: test-credential
apiVersion: configuration.konghq.com/v1
kind: KongCredential
metadata:
name: test-credential
namespace: test
consumerRef: test-consumer
type: oauth2
config:
name: test-credential
client_id: test
client_secret: test
redirect_uris:

"http://test"
`

Just for the record, KongCredential is deprecated, hence one should now use a k8s secret:
---
kind: Secret
apiVersion: v1
metadata:
  name: test-credential
  namespace: test
data:
  client_id: dGVzdC1sb2dpbg==         # test-login
  client_secret: dGVzdC1wYXNzd29yZA== # test-password
  kongCredType: b2F1dGgy              # oauth2
  name: dGVzdC1jb25zdW1lcg==          # test-consumer
  redirect_uris: aHR0cDovL3Rlc3Q=     # http://test
type: Opaque
---
apiVersion: configuration.konghq.com/v1
kind: KongConsumer
metadata:
  annotations:
    kubernetes.io/ingress.class: kong
  name: test-consumer
  namespace: test
credentials:
  - test-credential
username: test-consumer

Thanks for the record, here is the doc reference
https://docs.konghq.com/kubernetes-ingress-controller/1.3.x/concepts/custom-resources/#kongcredential-deprecated

Just for the record, I just found out how to type secrets without having to base64 encode everything and also that to add multiple redirect_uris, one has to separate them using comas. Example, similar as above,but with more redirect_uris
---
kind: Secret
apiVersion: v1
metadata:
  name: test-credential
  namespace: test
stringData:
  client_id: test-login
  client_secret: test-password
  kongCredType: oauth2
  name: test-consumer
  redirect_uris: http://test1.com,http://test2.com,http://test3.com
type: Opaque
---
apiVersion: configuration.konghq.com/v1
kind: KongConsumer
metadata:
  annotations:
    kubernetes.io/ingress.class: kong
  name: test-consumer
  namespace: test
credentials:
  - test-credential
username: test-consumer


FDC #1 (Fallback and Damage Control)

Replaces #424

The current version only checks for the attribute localStorage. That helps to see if Local Storage is supported by the browser, but not if it is available. E.g. the user/browser might have disabled access.
There is an example on MDN to verify that Local Storage is supported and available. Note that their example also does return true for the case that Local Storage is supported, enabled, but the quota is exceeded. Which makes sense - that scenario needs to be handled differently.
There is also an npm package that is based on the same example, which might require less maintenance: https://www.npmjs.com/package/storage-available

I'm actually using the MDN storage Available function in saveState, I moved the script to index.html to ensure that it runs first. I'll just copy the storage available function into index.html.

That version is better and catches every occasion of LocalStorage not working as expected. However, it is also (erroneously) reporting an exceeded quota to the user as "local storage disabled" - but that's not a compatibility issue.


V3 tree shaking and gl-matrix

I was building sth regl related for jscad and seen that regl-renderer uses some fork of gl-matrix, as probably an old way to reduce size of the bundle. Also jscad has copy of glmatrix functions....
nowdays when we have build tools that easily do tree shaking with ES imodules it would be a good idea to start using gl-matrix directly again in jscad V3.  While testing how tree shaking performs also take steps that jscad remains easy to tree shake.
for example, gl-matrix has deployed esm and cjs variants for each version so this type of improvement does not have to impact old usage patterns.
naively importing gl-matrix and using just one function creates a 35KB bundle (not minified)
import {mat4} from 'gl-matrix';

export function testGl(a,b){
  return mat4.add(a,b)
}

but these two variants work nicely with esbuild and treeshaking produces only 600B of code (not minified)
import * as mat4 from 'gl-matrix/esm/mat4.js';

export function testGl(a,b){
  return mat4.add(a,b)
}

or
import {add} from 'gl-matrix/esm/mat4.js';

export function testGl(a,b){
  return add(a,b)
}

produces this:
(() => {
  // ../../node_modules/gl-matrix/esm/mat4.js
  function add(out, a, b) {
    out[0] = a[0] + b[0];
    out[1] = a[1] + b[1];
    out[2] = a[2] + b[2];
    out[3] = a[3] + b[3];
    out[4] = a[4] + b[4];
    out[5] = a[5] + b[5];
    out[6] = a[6] + b[6];
    out[7] = a[7] + b[7];
    out[8] = a[8] + b[8];
    out[9] = a[9] + b[9];
    out[10] = a[10] + b[10];
    out[11] = a[11] + b[11];
    out[12] = a[12] + b[12];
    out[13] = a[13] + b[13];
    out[14] = a[14] + b[14];
    out[15] = a[15] + b[15];
    return out;
  }

  // gltest.js
  function testGl(a, b) {
    return add(a, b);
  }
})();

@hrgdavor what are you using in jscadui now?
it may be possible to switch some of the math to glmatrix as the libraries seem to be heading the same direction now.

@z3dev yes, I am using gl-matrix in the above mentioned treeshaking friendly way .. for example here
https://github.com/hrgdavor/jscadui/blob/main/packages/orbit/src/calcCamPos.js
... a bit of digression:
I also am doing this freaky thing for one specific combined operation I need...
https://github.com/hrgdavor/jscadui/blob/main/packages/orbit/fromXZRotation.gen.js


Cooperation between you and Typedapi

Hi,
I am gonna (miss)use your issue tracker to start this conversation as I am not able to find any mail address or Gitter channel. So, mea culpa :).
Do you know Typedapi? It is basically the same idea, bringing Servant to Scala. But so far (at least in its release branch 0.1.0-release) it supports the server and client side and the following frameworks/libs: akka-http, http4s and Scalaj-Http. Furthermore, it compiles to JavaScript with ScalaJS.
It seems to me that your project is at the beginning (?). Maybe a cooperation between the two projects makes sense to not develop the same thing twice. And especially running in the same problems twice :D.
Let me know what you think.

Hi.
Yeah, I definitely hear about your awesome project and would gladly cooperate.
My project is about 1.5 year old. It was an internal Tinkoff bank project. I had intent to publish it from the very start, but it is not so easy in bank business.
I have published it without the history to hide sensitive informarion, so it misses previous 225 commits 😀

Hi @Odomontois ,
I realized you support swagger generation. There are also plans to add it to my lib but I haven't found a (satisfying) solution for the following problem:

How to add comments?

I mean, it is "simple" enough to generate the basic documentation from the type/value information available, but what I found crucial is to have comments. Otherwise, it is hard for people to realy understand what is happening.
Did you find a way to incorporate comments into your (did see it so far but maybe I missed it) without cluttering the api declaration? I still haven't found a satifying way.

Hi. Sorry for the late answer. Haven't been fully integrated OSS with my life
I have couple of distinct solutions here.
First are implicits with default arguments like here
https://github.com/TinkoffCreditSystems/typed-schema/blob/master/src/main/scala/ru/tinkoff/tschema/swagger/SwaggerTypeable.scala#L212
and here
https://github.com/TinkoffCreditSystems/typed-schema/blob/master/src/main/scala/ru/tinkoff/tschema/swagger/SwaggerTypeable.scala#L269
Second one, more like runtime one - injecting definitions from .properties bundles created like that https://github.com/TinkoffCreditSystems/typed-schema/blob/master/src/main/scala/ru/tinkoff/tschema/swagger/PathDescription.scala
Here the example of injecting https://github.com/TinkoffCreditSystems/typed-schema/blob/master/examples/src/main/scala/ru/tinkoff/tschema/examples/TestServer.scala#L22
And here is examples of .property file
https://github.com/TinkoffCreditSystems/typed-schema/tree/master/examples/src/main/resources


Turtle-configurable URI prefix support for entities sent to client.

Solves #322 .

So the entities are rewritten on the server based on the prefix definitions, right?


MonadReader instance not found for RWST

I am not sure why the instance is not being picked up. The state and writer instances work just fine. The following example shows the issue when env <- ask is uncommented.
module Example.RWS where

import Prelude

import Control.Monad.Eff.Console
import Control.Monad.RWS.Trans
import Control.Monad.Reader (ask)
import Control.Monad.State (get)
import Control.Monad.Writer (tell)

import Data.Identity

testRWST :: RWST String (Array String) String Identity String
testRWST = do
  tell ["one"]
  tell ["two"]
  state <- get
  tell [state]

  -- No instance found for Control.Monad.Reader.Class.MonadReader _39
  -- (Control.Monad.RWS.Trans.RWST Prim.String (Prim.Array Prim.String) Prim.String Data.Identity.Identity)
  -- env <- ask

  pure "a"

main = do
  let see = runIdentity $ runRWST testRWST "env" "state"
  print see.log

Maybe I am missing something here?

I think you need to "do something" with env so a type can be inferred for it, so it's not left as _39.

I think you're right! Sorry about that. Looks like a non issue. Worked with:
env <- ask :: RWST String (Array String) String Identity String

I've been tripped up by that one so many times lately :smile:

Definitely just tripped me up! Thanks for the help :)


How to convert this old values to new ?

Hello. I have something like this in my container's config:
config:
  lxc.aa_profile = unconfined
  raw.lxc: |-
    lxc.cgroup.devices.allow = a
    lxc.mount.auto=proc:rw sys:rw
    lxc.cap.drop =
devices:
  ...

But unfortunately, when I'm trying to attach this config to a container, it fails because of an error: Failed to get raw.lxc
LXD version: 3.3
What should I change in config's section to make it work?

lxc.aa_profile should be under raw.lxc and be renamed to lxc.apparmor.profile.
https://discuss.linuxcontainers.org/t/lxc-2-1-has-been-released/487 has the list of old and new names.

@stgraber There are no mappings for other keys!


pip-compile with no setup.py

What's the problem this feature will solve?
With a mostly empty setup.py, say __import__("setuptools").setup(), and all requirements in setup.cfg, pip-compile setup.py works as expected.
But this mostly empty setup.py less and less usefull, as it's allowed to not have one since setuptools 40.0.9 while using PEP517/518 builds.
But without this setup.py I think we have no way to tell pip-compile: "Generate a requirements.txt for this given project.".
Describe the solution you'd like
I think it would be great to allow something like pip-compile PATH with a path to a project, like . for the current project.

Duplicate of https://github.com/jazzband/pip-tools/issues/1047.

Duplicate of https://github.com/jazzband/pip-tools/issues/1047.


Follow-up to PR 33280, Blog 1.23 lead interview transcript

This is a follow-up PR to PR https://github.com/kubernetes/website/pull/33280, a blog post for the Kubernetes podcast from Google interview with the 1.23 release lead, me.
This PR adds the suggestions from the review of PR https://github.com/kubernetes/website/pull/33280
/cc @craigbox
/area blog

/lgtm

oops, sorry was a bit quick on the lgtm. sorry @craigbox didn't meant to step on toes. Feel free to revert if you don't agree with the changes.


Combobox items cannot be modified

After being appended there's no way to remove an item from a combobox. EditableCombobox has this issue as well.

API is missing on libui. I posted an issue there.


Every time trying tuning the parameter, opts.train.learningRate, I cannot make like your SRnet-v1-color-128.

Every time trying tuning the parameter, opts.train.learningRate, I cannot make like your SRnet-v1-color-128.

This is your convergence graph for the result of Mat-data.
Before you modify last one program, this was thing which you did upload, the mat file.
I did change the parameter opts.train.learningRate.
opts.train.learningRate = [1e-5ones(1,5) 1e-6ones(1,2)];
opts.train.learningRate = [1e-5ones(1,4) 1e-6ones(1,1)];
opts.train.learningRate = [1e-5ones(1,2) 1e-6ones(1,1)];
opts.train.learningRate = [1e-5ones(1,3) 1e-6ones(1,1)];
opts.train.learningRate = [1e-5ones(1,2) 1e-6ones(1,2)];
opts.train.learningRate = [1e-5ones(1,3) 1e-6ones(1,2)];
%opts.train.learningRate = [1e-5ones(1,5) 1e-6ones(1,1)];
%opts.train.learningRate = [1e-5ones(1,5) 1e-6ones(1,4)];
%opts.train.learningRate = [1e-5ones(1,6) 1e-6ones(1,1)];
%opts.train.learningRate = [1e-5ones(1,6) 1e-6ones(1,2)];
%opts.train.learningRate = [1e-3ones(1,1) 1e-3ones(1,1)];
%opts.train.learningRate = [1e-5ones(1,1) 1e-6ones(1,2)];
%opts.train.learningRate = [1e-6ones(1,3) 1e-7ones(1,1)];
%opts.train.learningRate = [1e-5ones(1,3) 1e-5ones(1,1)];
%opts.train.learningRate = [1e-5ones(1,3) 1e-7ones(1,1)];
%opts.train.learningRate = [1e-4ones(1,3) 1e-7ones(1,1)];
%opts.train.learningRate = [1e-3ones(1,8) 1e-8ones(1,3)];
%opts.train.learningRate = [1e-4ones(1,3) 1e-7ones(1,2)];
%opts.train.learningRate = [1e-4ones(1,5) 1e-7ones(1,1)];
Any one did not like your result.
Do you remeber what the parameter was onopts.train.learningRate ?
thank you for your help, every time.

@star4s
I just used the learning Rate setting in my github code.
How does your curve look like? Is it similar to mine?
(P.s. Different machines may have different random seeds. Every batch contains the images random sampled.  So it may be a little different.)

This is the result for
opts.train.learningRate = [1e-5ones(1,3) 1e-7ones(1,1)];
.


Minor fixes around PDB (pod-distruption-budget) syncing:

Call comparison function in the case of the sync as well as for update
Include full cluster name in PDB name
Assign cluster labels to the PDB object

Coverage remained the same at 7.892% when pulling 8810ee54d28618922266a95119323a384f013f2f on fix_pdb_sync into c17aabb6427f7f0c847675d5598d8aaecbf8e240 on master.

👍


object equality?

I've read through the nan docs and some of the v8 docs and I don't see how to ensure that objects exposed as js objects will correctly implement equality checks. I only get a true result from equality when checking against the same instance even if the values are the same. This makes the objects not play well with the new Map class as keys.

The comparator for ES6 maps is called SameValueZero
https://github.com/v8/v8-git-mirror/blob/master/src/objects.cc#L870-886
https://github.com/v8/v8-git-mirror/blob/master/src/runtime.js#L783-789
From what I can tell at a glance, it only seems to work on numbers and strings, but the specs say objects should work as keys.

It appears to use the javascript implementation of SameValueZero https://github.com/v8/v8-git-mirror/blob/master/src/runtime.js#L783-789
As you can see, what you want is not possible in ES 6, objects are only equal if they refer to the same instance.
> var map = new Map();
< undefined
> var obj = {foo : 'bar'};
< undefined
> map.set(obj, 'value');
< Map {Object {foo: "bar"} => "value"}
> map.get(obj)
< "value"
> map.get({foo : 'bar'});
< undefined

I don't see how to ensure that objects exposed as js objects will correctly implement equality checks.

Do you mean structural equality or identity equality?  ES6 maps and sets only support the latter.

Quick as a fox.
I speculate that this could be (sort of) worked around by computing a hash based on the object properties and using that hash as the key. If two objects hash to the same value, consider them equal.

You would have to recurse into properties though and take into account that semantically { x: 1, y: 2 } is different from { y: 2, x: 1 }.  Hence why ES6 only supports identity equality: less headaches.


[FieldMethod, FieldHashKey] Don't raise offense when method/hash key name conflicts with keyword

Don't raise an offense for FieldMethod and FieldHashKey when the resolver method resolves using a method or hash key whose name conflicts with a Ruby or GraphQL-Ruby keyword.
For example,
field :context, String, null: true, resolver_method: :user_context
def user_context
  object.context
end

would originally correct to:
field :context, String, null: true, resolver_method: :user_context, method: :context

which would incorrectly resolve using the context instance method instead of returning object.context.
Solution
The list of keywords is taken from https://github.com/rmosolgo/graphql-ruby/blob/a08c86f097395e27272fdead5037d7b3ef03401e/lib/graphql/schema/member/has_fields.rb#L53-L67
Both cops will now simply skip every time the suggested method / hash key name would conflict with a keyword.

LGTM, thank you!


superiors, inferiors, numerators, denominators and fractions are inconsistent

Roboto has 5 sets of superior, inferior, numerator, denominator figures and basic math symbols.
Some of these sets are incomplete.
There’s a tiny offset difference between the superiors and numerators but the fraction 'numr' feature mixes both for its numerators.
The 'sups', 'subs' and 'sinf' features are missing.
The "*superior" group of superiors:
zerosuperior
onesuperior
twosuperior
threesuperior
fivesuperior
sixsuperior
sevensuperior
eightsuperior
ninesuperior
equalsuperior
minussuperior
parenleftsuperior
parenrightsuperior
plussuperior
But foursuperior is called uni2074.
There are a few inferior figures and symbols with "inferior" in their names:
oneinferior
sixinferior
nineinferior
parenleftinferior
This set is incomplete is completed by inferior figures and symbols with "sub" in their names:
zerosub
twosub
threesub
fivesub
eightsub
sevensub
foursub
plussub
minussub
equalsub
parenrightsub
The "sub" suffix is also used for combining diacritics below.
There are numerators with ".frac" in their names:
zero.frac
four.frac
five.frac
six.frac
seven.frac
eight.frac
nine.frac
The name is unclear, they should be renamed with .numr.
The 'numr' feature uses these and onesuperior twosuperior threesuperior which are superiors (different offset).
There are denominators with ".sup" in their names:
zero.sup
one.sup
two.sup
three.sup
four.sup
five.sup
six.sup
seven.sup
eight.sup
nine.sup
This is misleading, they should be renamed with .dnom.
The 'dnom' feature uses these as denominators.
The cmap has 2070 00B9 00B2 00B3 2074..207E 2080...208E mapped to
zerosuperior
onesuperior
twosuperior
threesuperior
uni2074
fivesuperior
sixsuperior
sevensuperior
eightsuperior
ninesuperior
plussuperior
minussuperior
equalsuperior
parenleftsuperior
parenrightsuperior
zerosub
oneinferior
twosub
threesub
foursub
fivesub
sixinferior
sevensub
eightsub
nineinferior
plussub
minussub
equalsub
parenleftinferior
parenrightsub
The fraction feature does not give fraction that look like the precomposed fractions: ¼ ½ ¾ ⅐ ⅑ ⅒ ⅓ ⅔ ⅕ ⅖ ⅗ ⅘ ⅙ ⅚ ⅛ ⅜ ⅝ ⅞ ⅟ ↉. The first two lines are the precomposed fractions and the last three are using the 'frac' feature.

These should be adjusted (spacing or kerning) so they, or any other fraction, look like the precomposed ones.

Just saw some of this was in #22 already


Update UX to Support Linking

https://github.com/decentralized-identity/universal-resolver/issues/54
It would be nice to be able to easily link to a Resolved DID.
There should be a button with the text "Share" or similar, that copies a url of the form:
https://uniresolver.io/#did:btcr:xxcl-lzpq-q83a-0d5
It should be accent colored to draw attention to it.
There should also be a QR Code which maps to an endpoint which either resolves to https://uniresolver.io/#did:btcr:xxcl-lzpq-q83a-0d5 or the json representation, depending on request headers.
This will allow clients to decide if they want to show the DID or get its data.

hmm was going to close this as #67 appears to do this however the QR code that is displayed right now using my iOS camera app displays "no usable data"

Well the QR code only contains the DID itself, e.g. did:ion:EiClkZMDxPKqC9c-umQfTkR8vvZ9JPhl_xLDI9Nfk38w5w. This was an experimental idea, I imagine that your iOS scanner and most other apps doesn't understand this.
So perhaps it would make more sense to put the same URL into the QR code that you also get from the new "Copy link to result" button, i.e. https://dev.uniresolver.io/#did:ion:EiClkZMDxPKqC9c-umQfTkR8vvZ9JPhl_xLDI9Nfk38w5w?

I generally tend to encode DIDs as URLs so that any phone that scans them, can open them as a link.

This functionality was added in https://github.com/decentralized-identity/universal-resolver-frontend/pull/65 and in https://github.com/decentralized-identity/universal-resolver-frontend/commit/a6da930ca0bff21beadfadabfc1c321ddfa757b7. Closing.


Put db & binary version info in REST summary

Good idea.

Closed by https://github.com/Granola-Team/mina-indexer/pull/1112


Rendering of UTF8 broken? Or maybe terminal color?

I added a small block to my notebooks to display package versions (since in the rendered variant I am hiding the loading block now), but it seems to show the UTF8 symbols wrong.
In there rendered PlutoStaticHTML I get

which in Pluto looks much nicer

not that the colours are so important, but at least the symbols correct would be nice – though the color commands might be what we see here?
Also PlutoStaticHTML seems to be stuck on 0.19.16 while 0.19.19 is out, Is such a strict compat necessary? You could set it to 0.19 (and not do updates for every patch of Pluto).

These are indeed terminal colors. According to https://github.com/rikhuijzer/PlutoStaticHTML.jl/pull/88/files, the with_terminal patch is applied if <script type="text/javascript" id="plutouiterminal"> is found in the body of the HTML. Maybe that goes wrong. I don't know where exactly it is not working for you so I cannot reproduce currently.

Also PlutoStaticHTML seems to be stuck on 0.19.16 while 0.19.19 is out, Is such a strict compat necessary? You could set it to 0.19 (and not do updates for every patch of Pluto).

If it wasn't necessary, I wouldn't have done it. PlutoStaticHTML depends on a lot of Pluto internals which may change at any moment.

The code will be put into all notebooks at some point, but the screenshot above is from
https://github.com/JuliaManifolds/Manopt.jl/blob/kellertuer/costgrad-and-cache/tutorials/Optimize!.jl#L76
once run with docs/make.jl from the same branch – the screenshot from Pluto is made from the same notebook run with Pluto 0.19.16


chore: add app navigation

Add a navigation for entire app
Use button for debug link's conditional rendering until user's auth logic will be implemented

Thanks for your contribution :)


Workflows: NonRetryableErrors Section Improvement

Summary
Reenforce that for NonRetryableErrors, users need to manage the error or the Workflow will fail

@cloudflare/pcx-technical-writing can you please check this and merge?

@bruxodasilva I've approved the PR, but I can't merge it since @elithrar requested changes.
He must approve or else we'll need a repo admin to merge.


Can't sign loaded transaction in multisig setup

Following situation:
Have a 2/4 multisig setup / native segwit.
Each signer is using a Bitbox02 HWW.
The other Keystores are imported by sharing xpubs
Multisig setup is correct, receiving addresses match and some TX have been successfully signed.
Test cases:
Test 1 ☑
Keystore 1 creates PSBT and signs.
Sends PSBT to Keystore 2
Keystore 2 signed transaction and broadcasts
Test 2 ☑
Keystore 2 creates PSBT and signs.
Sends PSBT to Keystore 1
Keystore 1 signed transaction and broadcasts
Test 3 ❌
Keystore 2 creates PSBT and signs.
Sends PSBT to Keystore 3
Keystore 3 cannot sign transaction.
Following error messages occurs: No key found for input 0
Test 4 ❌
Keystore 4 creates PSBT and signs.
Sends PSBT to Keystore 2
Keystore 2 cannot sign transaction.
Following error messages occurs: No key found for input 0
In test 3 and 4, the same transaction has been loaded into the same multisig setup but on Electrum. There the signing of the transaction works without errors.
Further comments
Not sure if that's a hint, but I inspected the input of the failing TX and the Witnessscript shows the following
OP_2 <pubkey1> <pubkey2> <pubkey3> <pubkey4> OP_4 OP_CHECKMULTISIG
Where all pubkey show a different order than the pubkeys for the address in question shown in electrum.

Sparrow
Electrum

pubkey1
Position 2

pubkey2
Position 4

pubkey3
Position 1

pubkey4
Position 3

The problem I suspect is that you have not correctly saved the master fingerprint to all of the keystores in Sparrow. Why not just import the Bitbox02s as normal?
The error is coming from HWI: https://github.com/bitcoin-core/HWI/blob/0d846a64967697eacd999cf7967fc6a5ba5b6282/hwilib/devices/bitbox02.py#L676
The method that returns the correct pubkey depends on master fingerprint in the PSBT input's provided keys matching the master fingerprint on the device.
Electrum does not use HWI, and probably uses a looser policy.

Thanks @craigraw that fixed indeed the issue


[Spark_Unbound.Arrays] Try to use unsigned Integer instead of Natural for array length

Probably a new type must be created to get the full range of Integer as unsigned. Natural only allows half, restricting the length of an array significantly.
Something like type u64 is mod 2 ** 64;, but try to use Integer base instead of hardcoding 64.

created types
type Big_Natural is range 0 .. Integer'Base'Range_Length**2;

type Big_Positive is range 1 .. Big_Natural'Last;

Now how can one bring those values to Big_Integer if the conversion only supports Integer?
Creating a record that is split in two Natural/Positive fields and then MSB and LSB are validated separately?

Changed to Long_Integer as base with commit 21d6b80


Embed block

I have the following test note:

#flashcards
Favorited quote ?::[[Quotes#^5a0bf2]]

Any chance I can see the content of [[Quotes#^5a0bf2]] in the solution or at least see it after putting the mouse on it. I just want to don't repeat myself.

@Klaudioz Works with transclustions, e.g., ![[Quotes#^5a0bf2]], if you do not mind having the contents in the card note.

Hi!
I have the same problem: I don't know how to use the whole block as an answer. I tried:
Why we are using hooks?::![[Why we are using hooks]]
But the result is the same as @Klaudioz had.

Ah, my bad. I didn't update plugins for some time :)...
After updating the plugin, everything works fine.
Thanks for such a great plugin!

Hi @Klaudioz, @vasalx's / @dominik-selmeci's solution should fix this, closing..


add way to skip variable substitution using a escape char

idea is to add an escape char as shown below
${var} will be translated to ${var}
OR
$${var} will be translated to ${var}
Since the template processor relies on minitemplator project refer to issue 3.

In order to escape a variable so that in the same time it not will be translated and not will be considered a confluence's macro, use the syntax below
$\{varName\}


any updates?

hi,
i found your config by accident :D
i'm very impressed by it and saw your note that you need to update the documentation. (its already cool that it exist in such a complex config)
are you still planing it? and did you really changed nothing in the last 2 month? :D

Hi! Thanks for the compliments. flk is currently going under a rewrite to follow https://github.com/divnix/hive conventions. Quite a lot of things have changed, so here is a non exhaustive list:

Added a home profile for https://github.com/hyprwm/Hyprland
Added a nixos profile for tui-greet.
Use https://github.com/zhaofengli/colmena instead of deploy-rs.
No longer depends on https://github.com/divnix/digga. Instead I rewrote flk to use https://github.com/divnix/std, which is what https://github.com/divnix/hive based on.
Secure boot support with https://github.com/DeterminateSystems/bootspec-secureboot!
Theming with https://github.com/danth/stylix.
dan-nixpkgs is now https://github.com/danielphan2003/fog. It's where I keep my package sources up to date using https://github.com/berberman/nvfetcher.

Now that you mentioned it, I usually push new changes every two months since I made so many changes and I use a Yubikey to sign my commit, so I tend to push all the changes as a single commit to save the hassle.
Worry not, I have been close to finalise the tree to the point where I can confidently push the upcoming changes to main branch. In the meantime I will try to push the unfinished changes to a separate tree as https://github.com/danielphan2003/flk/tree/22.11 (the .11 isn't actually November, I just followed Nixpkgs's upcoming stable branch name, which is release-22.11). After that, I will continue to std-ify the tree until it can be deployed with Colmena and usable in nix repl, at which it will be merged into main branch.

Hello daniel,
Thanks for this detailed answer. And I'm very happy about it :D
I try to answer, but English is not my native tongue
that I only will see updates every two months is quite sad :( But I can understand.
At the moment, I use my fork of https://github.com/Misterio77/nix-config

Great news I use Hyprland myself, and I like it.
I use greetd as well. Good choice! But with gtk at the moment.
I read some stuff about colmena; it looks interesting. I didn't get into the deploy stuff yet. But I start a new job tomorrow, and learning about it can come in handy.
digga sounded good.. but I had some trouble with it. Std looks like the future. I don't like the documentation. It's very cryptic. So I look forward to your comments and documentation :)
I didn't spend time on secure boot yet. I'm happy that btrfs(including opt-in root on boot delete) with impermanence is working in my config.
because the author of the config I forked is the author is nix-colors, I'm at the moment using it. But I saw stylix already, and it's on my todo list :D
I like your approach to updating the cachix. I dislike having hundreds of CI commits in my repo.. so it's a nice solution that you handle it by another repo.

Looking forward to your config; maybe I will rewrite mine and for yours. I learn a lot about nix by dissecting configs and changing them to my needs. Flakes and digga / std are complex beasts that are easier to understand with good examples, at least for me.
stuff that I need to add to my fork of your config
looking forward to your WIP tree.

nix(on darwin, ubuntu and wsl). Darwin is sometimes not so straightforward. I hope it works well with std.
I want to replace tailscale with www.netbird.io (it supports Linux kernel wireguard, tailscale only supports the golang version)
looking forward to trying streaming and gaming on Linux :D
the other is mostly copy-paste, I think

br
kai

Do you know when you will add the experimental branch? I want to rework my config and hope for some inspiration and base :)

I'm currently still doing some major reworks after seeing https://github.com/GTrunSec/cells-lab, but for now I will upload the zip file here

Places of interest are cells/nixos/*, cells/home/*, cells/flk/hosts/* and cells/flk/users/*

haha GTrunSec already made me rewriting my config already 1 time .. so i know how you feel :D any timeframe when you will be done with the major rework?

are you still working on this?

There has been little progress been made to finalize the APIs and std cells since I can only work with this at weekends. I'm sadly not actively planning things out because of my uni life, and rethinking https://github.com/divnix/digga into std takes more time than I had originally thought.
That said, I will upload the code later since finishing this alone would be possible, but having some help from https://github.com/divnix/hive and the DivNix's Matrix chat would surely get the job done faster.

nice i will check it right now :D

oh nice update :D
how useable is it now?

oh nice update :D
how useable is it now?

Pretty much everything works, including custom channel for each host as well as your  own overlays and packages are also available. This wouldn't be possible without https://github.com/divnix/hive, but in order to pass specialArgs to nixos module ({profiles, suites, inputs, self, ...}) I had to fork it at https://github.com/danielphan2003/hive/tree/evalConfigArgs. My flake outputs with hive are almost exactly the same as when I used digga (nixos or home{,Portable}Configurations, pkgs, packages etc.) except for packages where I think I have to use exportPackages from https://github.com/gytis-ivaskevicius/flake-utils-plus.
You can use https://github.com/zhaofengli/colmena instead of nixos-rebuild and deploy-rs. Note that hive's generated {colmena,nixos}Configurations has a form of {cell}-o-{target} so you have to specify that in your command. For example, I have a cell called themachine, and I also have a {colmena,nixos}Configurations file that has a themachine attrs, so I run sudo colmena apply-local --target themachine-o-themachine. I might open an issue about this in hive to simplify things.

The first moment, I was a little confused that I saw so many digga "references".
i have some Linux machines and servers. But my main Computer is a Mac, does it supports darwinConfigurations?

The first moment, I was a little confused that I saw so many digga "references".

No worries. If you were to take any repo built with digga and run nix flake show, the output would be similar to mine, which is why I'm replacing digga in the first place.
Being built on std, it makes sense to unify how and where to look for type-specific dotfiles such as NixOS's vs. Darwin's vs. Home Manager's hosts/users/modules/profiles etc, instead of relying on passing framework-specific inputs so that the framework can do its job while limiting options for any outputs other than that framework outputs.

i have some Linux machines and servers. But my main Computer is a Mac, does it supports darwinConfigurations?

You can adapt https://github.com/danielphan2003/hive/blob/evalConfigArgs/make-mead.nix so that it uses Darwin-specific modules or builder instead. See how I used it to generate the output for nixosConfigurations at my flake.nix. I don't have any Mac but I think hive would love to see an implementation for this.

i guess you patched something here locally?
https://github.com/danielphan2003/flk/blob/e3e6197677355fea5f816126f60086c62bf2e344/flake.nix#L78

You can adapt<EMAIL_ADDRESS>so that it uses Darwin-specific modules or builder instead. See how I used it to generate the output for nixosConfigurations at my flake.nix. I don't have any Mac but I think hive would love to see an implementation for this.

okay I will work on makeCider for darwin :D

i run into this error

i guess you patched something here locally?
https://github.com/danielphan2003/flk/blob/e3e6197677355fea5f816126f60086c62bf2e344/flake.nix#L78

Ah yes, the changes are available at https://github.com/danielphan2003/devos-ext-lib/tree/stdify

yeah i just updated the source 1 minute before you posted :D

yeah i just updated the source 1 minute before you posted :D
but the error is still the same :(
sorry to bother you with my problems
I think it has todo with the fact that I entered the directory on darwin
edit: looks like it works fine in linux builds fine but I get the next error when I try to launch std
error: attribute 'default' missing

       at /nix/store/74zk8l7g93zh1y48iilw9nzgcx7cjz30-cells/flk/overlays.nix:30:21:

           29|
           30|     devos-ext-lib = inputs.devos-ext-lib.overlays.default;
             |                     ^
           31|
(use '--show-trace' to show detailed location information)
2022/11/29 23:43:37 exit status 1

Fixed with latest commit in flk

Hi! I'm also impressed by your nix code. Not a lot of people are using std. You will probably like kriomOS when it's ready. How can we get in touch? I use matrix, check my links. I can read your horoscope if you want on my astrology podcast, or we can talk on my coding podcast, or just chat. Cam Eun! :wink:


fix storage should aggregate on replace column

We can skip aggregate on replace column, otherwise it would generate
wrong result. e.g. a row in UNIQUE is deleted by delte_sign_column,
then it would be returned.
Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[x] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[x] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[x] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[x] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[x] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

This issue seems related to this PR


Improve animation for "You're Connected" Text

Currently this animation could just use a bit of slight improvement and maybe some upgrades when the time comes. Related to #39 that was merged recently 👍

Can I work on this?

@Arindam200 once the issue #37 is done then we can revisit this one here and get it assigned to you 👍

I have made the PR for #37

I have made the PR for #37

Awesome should be reviewing and merging today 👍

@Arindam200 have you already started working on this?

Today, I'll start working on it.


docs: grammatical errors fixed

First thing, PLEASE READ THIS: ReactPlay Code Review Checklist

Description
This para in readme.md file is updated..
It will open the cypress dashboard, through which you need to select E2E Testing.  Once you are done selecting the browser you need to click on Start E2E Testing in <SELECTED_BROWSER_NAME>. Selected browser will popup and you can able to see a list of cypress tests, click on the test to start testing.!
Fixes #571
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] I have performed a self-review of my own code
[x] My changes generate no new warnings

made the suggested changes.

@all-contributors please add @KashishLakhara04  for Code


Cake 5 composer requires branch that doesn't exist

I saw there is no official release for Cake 5 yet, but there are two cake 5 branches in progress. Since I'm developing a site that won't launch anytime soon, I wanted to use the cake-5-update branch so that I can still include your plugin as of now (and update later with the official release).
But the cake-5 branche(s) requires a cakephp branch (cakephp[5.x-dev]) that doesn't exists anymore. Is it possible to update this to the official cakephp5.x release branch?

https://github.com/FriendsOfCake/bootstrap-ui/releases/tag/5.0.0

Awesome, thanks!


Add paging user list

Resolves #319
Adds server-side paging to the admin user-table to prevent memory problems.
Additionally filtering projects by user-membership is now done in the DB with GQL, so we don't have an N-projects*M-users on the server or client.
Only return explicitly requested query-params prevented the new user-search query-param from landing in the project filter bar. In other scenarios we could pick the required params/props higher up, but this seems like a good default behaviour anyway and fixes the problem.

@hahn-kev ready for another review 😁


Pitfall using OPENROWSET as Remote Execution to Insert and return Inserted ID

The power of SQL Server / SQLNCLI connections with a connection string and Dynamic SQL capability allows for great creativity - BUT beware! Not all is as it seems.  Refer https://www.sqlservercentral.com/forums/topic/call-a-insert-procedure-with-openrowset
If you are using OpenRowset to return a PrimaryKey from a row you inserted remotely - you get the values but if you are not careful - the data is not persisted!
The information in the link is still valid, and is from 2013.
Try execute the following a single command at a time[, else the Query Analyser fails to parse the SQL and the statement causes an error.]
SELECT * FROM OPENROWSET(
'SQLNCLI11',
'Server=LocalHost;trusted_connection=Yes;Integrated Security=SSPI',
'Insert into Tempdb.dbo.TempT (RunDate)
OUTPUT INSERTED.*
SELECT CONVERT(DATETIME, GETDATE()) EventDate')
SELECT * FROM  TempDB.dbo.TempT
DROP TABLE tempdb.dbo.TempT
There is a way to perpetuate the data:
CREATE TABLE TempDB.dbo.TempT (ID INT IDENTITY(1,1) PRIMARY KEY, RUNDATE DATETIME)
SELECT * FROM OPENROWSET(
'SQLNCLI11',
'Server=LocalHost;trusted_connection=Yes;Integrated Security=SSPI',
'Insert into Tempdb.dbo.TempT (RunDate)
OUTPUT INSERTED.*
SELECT CONVERT(DATETIME, GETDATE()) EventDate; commit')
SELECT * FROM  TempDB.dbo.TempT
DROP TABLE tempdb.dbo.TempT

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

ID: 8339bb92-236a-4ae2-39ed-1207bead3cba
Version Independent ID: 71aab847-7d4e-083f-127d-dc3833451ca5
Content: Use BULK INSERT or OPENROWSET(BULK...) to import data to SQL Server - SQL Server
Content Source: docs/relational-databases/import-export/import-bulk-data-by-using-bulk-insert-or-openrowset-bulk-sql-server.md
Product: sql
Technology: data-movement
GitHub Login: @markingmyname
Microsoft Alias: maghan

@Alocyte -- thank you for your detailed feedback.
@markingmyname -- please look into this issue #4278.

@Alocyte it is not clear to me that this is a documentation issue or a product bug. We will need to investigate further - and this may take some time

@CarlRabeler No rush, mate.
The article on SQLServerCentral I quote, was created January 15, 2013 at 5:12 am

also with no response as to why 'commit" was needed

@CarlRabeler Indeed - this is the critical aspect. Most peculiar. A commit, for an atomic implicit transaction? Spooky stuff.

@Alocyte,
This seems to be a bug.
Thanks for the feedback! However, this area is primarily for doc issues. To report product issues, the best way to reach out to the SSMS Team is at UserVoice.
They can give you better guidance.
If you do file a UV comment, please feel free to add it back to this conversation.

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion, and we will reopen the issue. To see what the community is wanting, please visit the UserVoice site.


Network errors when trying to estimate fees

Summary
When trying to estimate fees I have come across a few issues with incorrect request
Incorrect parameter blockTag
InvokeStandardAccount#estimateFee
Error returned:
{"code": "StarkErrorCode.MALFORMED_REQUEST", "message": "Query fields should be a subset of {'blockHash', 'blockNumber'}; got: {'blockTag'}."}
RCA: blockNumber should be used instead of blockTag
Missing type
Invoke:GatewayProvider#getEstimateFee(request: InvokeTransaction, blockNumber: Int)
Error returned:
{"code": "StarkErrorCode.MALFORMED_REQUEST", "message": "Transaction of version 1 is expected to contain the `type` field."}
RCA: missing type in the request body

The first issue should be fixed by https://github.com/software-mansion/starknet-jvm/pull/159.

Second issue should be fixed by #161 If the error still persists, feel free to reopen this issue.


Modal dialog isn't showed calling Drab.Modal.alert/4

I cannot be able to show a simple modal dialog using the Drab.Modal module. My set is:
Elixir: 1.6.4
Phoenix: 1.3
Drab: 0.7.3
File PageCommander.ex:
defmodule FrontendWeb.PageCommander do
  use Drab.Commander

  def test_modal(socket, sender) do
    Drab.Modal.alert(socket, "This is a test")
  end
end

File PageController.ex:
defmodule FrontendWeb.PageController do
  use Drab.Controller
  ...
end

File index.htm.drab:
 <button type="button"  drab="click: test_modal">Test Drab Modal</button>

Clicking the button nothing appears on the page, but the button goes disabled. Looking at the page source, the code for bootstrap modal is correctly being inserted after the button is clicked, though the modal doesn't show up:

        <button type="button" class="close" data-dismiss="modal" aria-label="Close">×</button>

--TITOLO--

        <form>

BODY

          <input id="__drab_modal_hidden_input" type="submit" style="position: absolute; left: -9999px; width: 1px; height: 1px;">
        </form>

        <button id="_drab_modal_button_ok" name="ok" type="submit" class="btn btn-primary drab-modal-button" data-dismiss="modal">OK</button>

If I try to display a bootstrap modal in the standard way, it shows up correctly. I'm using Bootstrap 4, installed trough npm. Others drab elements coded in the same app works well, so I think it is maybe a bug or a version conflict.

Let me say that Drab is a outstanding package, terribly useful, with simple and elegant api. I think it should become a standard element of  the elixir/phoenix ecosystem, as ecto and other packages are!
This way it would have a perfect integration with Phoenix, following better its evolution.
I don't know how, but I think that Drab users should press Jose/Chris to think seriously about this.

For Modal, you need to have jquery installed and exposed as global (see README, installation section). Also, this module is not loaded by default:
use Drab.Commander, modules: [Drab.Query, Drab.Modal]

This is because each module has a corresponding javascript part, which need to be loaded. By default, Drab.Live and Drab.Element are loaded, leaving the rest - including Drab.Modal optional.
https://hexdocs.pm/drab/Drab.html#module-modules
I will leave this issue opened, as it should be better explained in the docs (in every optional module doc).

Oh yes, I've missed that part of documentation, thank you! Adding
use Drab.Commander, modules: [Drab.Live, Drab.Element, Drab.Query, Drab.Modal]

to my Commander resolves my issue.
Maybe can be useful to add a reminder on every Module documentation that it is necessary to load the module, giving the above sample

Let me say that Drab is a outstanding package, terribly useful, with simple and elegant api. I think it should become a standard element of the elixir/phoenix ecosystem, as ecto and other packages are!
This way it would have a perfect integration with Phoenix, following better its evolution.
I don't know how, but I think that Drab users should press Jose/Chris to think seriously about this.

Ecto is not a part of Phoenix! And I think also Drab should not be, not everyone needs it. But it would be nice to have something like --with-drab in the phx.new task :) I will propose after 1.0.


Add menuconfig option to exclude web assets from build

I got tired of waiting for my build so wanted to easily switch between embedded and locally hosted webapp.
This PR add a new menu option to menuconfig to allow quick UI configuration changes
CONFIG_ESP32M_UI allows the webapp to be excluded from the build
CONFIG_ESP32M_WS_API allows the ws server to be disabled
[ It turns out that the CONFIG_* variables are not visible in the project CMakeLists.txt,  so "webui" cannot be conditionally included in EXTRA_COMPONENT_DIRS.  Since the call to idf_component_register() is what makes the variables visible,  I put the condition into the webui component CMakeLists.txt itself. ]
I modified the basic and olimex example apps to include these changes, with the default being both enabled.
Maybe worth renaming Kconfig to Kconfig.proj so that  "ESP32 Manager configuration" sits at the top level?

getting rid of #if 's in main is a worthy cause indeed, was just trying to implement what your docs suggested (which have an error btw,remove #include <ui.hpp> should read remove #include <dist/ui.hpp>).

Generate noop initUi() in scripts/build-ui.py and don't call yarn build if CONFIG_ESP32M_UI=n

sounds like a plan, will close this PR.
And thanks again for the thought you have put into this code, which gets more obvious the more time one spends with it.


thread: remove win32 SetThreadDescription

only available on newer systems

Hi! I have just seen this commit and wanted to share some code, that we in another project to automatically detect availability of this function:
    // SetThreadDescription is only available on Windows 10 and later
    using SetThreadDescription_t = decltype(&SetThreadDescription);

    const HMODULE hKernel = GetModuleHandle("KernelBase.dll");
    if (hKernel == nullptr) {
        return;
    }

    const auto SetThreadDescription_p = reinterpret_cast<SetThreadDescription_t>(GetProcAddress(hKernel, "SetThreadDescription"));
    if (SetThreadDescription_p == nullptr) {
        return;
    }

    auto wName = std::wstring(Name.begin(), Name.end());

    SetThreadDescription_p(GetCurrentThread(), wName.c_str());

Maybe this helps to bringt back this function 😄


Develop Dashboard

The dashboard is mostly done. There are a few tweaks that need to be made in order to ensure security. I will merge it to main once I'm done with my research and am confident that it is decently secure.
development:
{t:600}
security research:
{t:240}


Improve flush API docs

This change is

Current coverage is 82% (diff: 100%)

Merging #1834 into master will decrease coverage by <1%

@@             master      #1834   diff @@
==========================================
  Files           276        276
  Lines         18373      18373
  Methods        2848       2848
  Messages          0          0
  Branches       2107       2107
==========================================
- Hits          14996      14988     -8
+ Misses         2897       2890     -7
- Partials        480        495    +15

Powered by Codecov. Last update 9c1d7b4...5a609ff


Fix metadata name in MovieWriter.xml

Fixes the generated class docs for MovieWriter to match #66156.

Thanks!


fix(GroupTheory/GroupAction/Basic): correct name from to_additive

correct AddAction.mem_fixedPoints_iff_card_orbit_eq_zero to AddAction.mem_fixedPoints_iff_card_orbit_eq_one,
as it was wrongly chosen from MulAction.mem_fixedPoints_iff_card_orbit_eq_one by to_additive tag

maintainer merge

bors r-
bors r+


Lab 03 ungraded testing compilation error

Hello, I've been experiencing this error when I try to submit my Lab 3 code through the new "lab 3 ungraded testing" submission portal, and I have not seen this error in any other thread..has anyone experienced this before? What could've resulted in this error?

Also I could compile the files with javac *.java, and there were no issues when I ran checkstyle *.java. I tried to submit the same files into the new "project" submission portal, and this error does not show up, hence I'm really confused about this. Would greatly appreciate any help !!

That. Is. So. Odd.

hmm i've never seen this before either.. it seems like there might have been a mix-up where the linker is trying to process a Java source file (BlindlyWait.java) as if it were a linker script, which is causing confusion. To fix this, perhaps try 1) making sure your file is saved with the correct file extension (.java) and 2) double-check the command you're using to compile your Java file (javac YourFile.java). make sure you're not accidentally trying to compile it with a different compiler

updates on this, i submitted yesterday and this error doesnt show up no more..unsure what caused the error and no idea how it was fixed but thanks anyways!


bct_minimal no longer working?

I'm trying to set the bct_ prefixed parameters and seem like they have no effect on my app image. The white border keep showing no matter what I'm trying.
`

<com.beardedhen.androidbootstrap.BootstrapCircleThumbnail
    android:layout_width="50dp"
    android:layout_height="50dp"
    app:bootstrapBrand="danger"
    bootstrap:bct_minimal="true"
    android:layout_margin="3dp"
    />

`

The API has changed in v2.0.0, either revert to v1.2.3, or update to bootstrap:hasBorder="false". Check the example code or feel free to comment again if this doesn't solve your problem.


Cannot login, new username

Subject: Cannot login, new username
Description:
Sign up and login for first time
Results:
Just created an account, confirmed email address and when I try to login, I get a "cannot find user" message.
(BTW, for security reasons is not recommended to disclose what the exact issue was when loggin in.. I can help with that if you need to!) ;)
Backend version: develop-527c08b3
Frontend version: develop-a38d3ac0
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0
Page: https://couchers.org/login
User:

Can't reproduce


Enhance bopomofo input experience

， should be removed from bopomofo text because there is no way to input it
Accent 5 ˙ should be after bopomoto
Remove unnecessary spaces between characters

Released as 0.1.1.


Deploy demo of Datasette on every commit that passes tests

We can use Travis CI and Zeit Now to ensure there is always a live demo of current master. We can ship archived demos for releases as well.

This very nearly works...

https://latest.datasette.io/
https://f0c1722.datasette.io/

But... https://f0c1722.datasette.io/-/versions isn't showing the correct note:
{
    "datasette": {
        "version": "0.22.1"
    }
    ...

There should be a "note" field there with the full commit hash.

It looks like all of my test deploys ended up going to the same Zeit deployment ID: https://zeit.co/simonw/datasette-latest/rbmtcedvlj
This is strange... the Dockerfile should be different for each one (due to the differing version-note).
https://github.com/simonw/datasette/commit/db1e6bc182d11f333e6addaa1a6be87625a4e12b#diff-34418c57343344c73271e13b01b7fcd9R255

The command "datasette publish now fixtures.db -m fixtures.json --token=$NOW_TOKEN --branch=$TRAVIS_COMMIT --version-note=$TRAVIS_COMMIT" exited with 0.

Partial log of the datasette publish now output:
> Step 5/7 : RUN datasette inspect fixtures.db --inspect-file inspect-data.json
>  ---> Running in d373f330e53e
>  ---> 09bab386aaa3
> Removing intermediate container d373f330e53e
> Step 6/7 : EXPOSE 8001
>  ---> Running in e0fe37b3061c
>  ---> 47798440e214
> Removing intermediate container e0fe37b3061c
> Step 7/7 : CMD datasette serve --host <IP_ADDRESS> fixtures.db --cors --port 8001 --inspect-file inspect-data.json --metadata metadata.json --version-note f0c17229b7a7914d3da02e087dfd0e25d8321448

So it looks like --version-note is being correctly set there.

Aha! ```1.03s$ now alias --token=$NOW_TOKEN

Error! Couldn't find a deployment to alias. Please provide one as an argument.
The command "now alias --token=$NOW_TOKEN" exited with 1.```
That explains it. I need to set the same alias in my call to datasette publish.

That fixed it! https://958b75c.datasette.io/-/versions
{
  "python": {
    "version": "3.6.5",
    "full": "3.6.5 (default, Jun  6 2018, 19:19:24) \n[GCC 6.3.0 20170516]"
  },
  "datasette": {
    "version": "0+unknown",
    "note": "958b75c69841ef5913da86e0eb2df634a9b95fda"
  },
  "sqlite": {
    "version": "3.16.2",
    "fts_versions": [
      "FTS5",
      "FTS4",
      "FTS3"
    ],
    "extensions": {
      "json1": null
    }
  }
}


can't run it in low resources machine

hello mate,
you are doing great work here, just question!
since 1.4 to 1.6 version was working good in low resources vps, but now 1.7
does not work at all!
any suggestions?

Can you give me a bit more details on what happens?

it looks like new version 1.7 consuming resources especially RAM.
I run aquatone 1.7 on vps server with 1 GB ram but does not work


Inline field highlighting interacts badly with notes about C++

What happened?
Hello Dataview folks,
The syntax for inline dataview fields is identical to the scope operator in C++. (PHP also uses this operator.) Code blocks inside parenthesized C++ expressions that use the scope operator in the right spot cause Dataview to force it to display incorrectly (in Live Preview mode, at least -- the only mode I regularly use).
A code block that exhibits this problem:
if (!base::FeatureList::IsEnabled(features::kExampleFeature)) {
  return false;
}

This is not a contrived example -- this got in my way (that snippet is only slightly modified from my actual note) and I have no practical choice but to shut off Dataview until it's patched, since I've got a lot of notes quoting snippets of C++ and they need to not get damaged.
I'd like an option to disable inline field highlighting in code blocks in Live Preview.
DQL
No response
JS
No response
Dataview Version
0.5.61
Obsidian Version
1.4.14
OS
MacOS

I'd like an option to disable inline field highlighting in code blocks in Live Preview.

I think that's possible, but wouldn't it make more sense to fix the upstream inline fields parser so that it ignores code blocks (or add an option to do that)?
Your note currently has '(features::kExampleFeature)' as its metadata, which is an incorrect behavior.

Anyway, I sent a PR that disables the inline fields' live preview so that ive preview and reading view behave the same way.

I met the same problem. The "::" symbol is used to denote types in haskell.
class Foldable (t :: * -> *) where
	fold :: Monoid m => t m -> m
	foldMap :: Monoid m => (a -> m) -> t a -> m

I encounter the same issue with PHP code.
Unfortunately, I cannot use dataview as long there isn't an option to disable this.

Fixed/released as 0.5.62.

Fixed/released as 0.5.62.

I am still experiencing this issue in 0.5.64

@harryjduke have you been able to find a fix? I'm currently experiencing the same thing when I try to use :: within inline code to denote a scope resolution operator in C++. It keeps rendering as the example in the attached images...

images.

Fixed/released as 0.5.62.

I am still experiencing this issue in 0.5.64

Hi, I thought I was still having the issue too but then I realized I was reading the Dataview settings incorrectly... Try this configuration:

Fixed/released as 0.5.62.

I am still experiencing this issue in 0.5.64

Hi, I thought I was still having the issue too but then I realized I was reading the Dataview settings incorrectly... Try this configuration:

I believe that would work but then I'd have to disable inline queries which I'd rather not do
There is a toggle just below your screenshot that says: 'Codeblock Inline Queries
If enabled, inline queries will also be evaluated inside full codeblocks.'
I have it disabled but still get the highlighting in codeblocks. I think the toggle does what it says it does but it just doesn't disable highlighting, which it logically should

I would like to resume this discussion. I have the same issue. Trying to reference a Rust function inline (e.g.: fmt::Display) results in a Dataview inline field "Display". There could be a toggle to disable this behavior as I use squared brackets for inline values.


Error when installing (The conversion specified is invalid)

I started install.bat (as administrator) from the most recent version (1.4.0) and ran into this error. The error message says something like "The conversion specified is invalid"
Is this normal, or am I doing something wrong?

Also, it tries to install VC_redist.x64 every time I run it? Shouldn't it be installed after the first time?

I don't know if the PowerShell script is supposed to do the same thing, but for me, it seems to:

I tried to reinstall from install.bat and it worked for me.
Are you 32 or 64 bits ?

It looks like your powershell is not able to find some registry keys we try to get to detect if your system has MS Visual C++ 2019 already installed. That's why probably it runs the installation everytime.

I tried to reinstall from install.bat and it worked for me. Are you 32 or 64 bits ?

I am on a 64 bit System

It looks like your powershell is not able to find some registry keys we try to get to detect if your system has MS Visual C++ 2019 already installed. That's why probably it runs the installation everytime.

Is there a way to fix that?

Can you run this PowerShell command ?
Get-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*

same error
Get-ItemProperty: Unable to cast object of type 'System.Int64' to type 'System.Int32'

Something strange on your machine.
Could you try this one ?
Get-Item HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*, HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Where-Object { $_.GetValue("DisplayName") -like "Microsoft Visual C++*2019*"}

seems to run fine:
    Hive: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall

Name                           Property
----                           --------
{2c673fb6-3e65-4751-965d-33d30 BundleCachePath      : C:\ProgramData\Package
b68a8a6}                       Cache\{2c673fb6-3e65-4751-965d-33d30b68a8a6}\VC_redist.x64.exe
                               BundleUpgradeCode    : {{C146EF48-4D31-3C3D-A2C5-1E91AF8A0A9B}}
                               BundleAddonCode      : {}
                               BundleDetectCode     : {}
                               BundlePatchCode      : {}
                               BundleVersion        : 14.29.30139.0
                               BundleProviderKey    : VC,redist.x64,amd64,14.29,bundle
                               BundleTag            :
                               EngineVersion        : <IP_ADDRESS>18
                               DisplayIcon          : C:\ProgramData\Package
                               Cache\{2c673fb6-3e65-4751-965d-33d30b68a8a6}\VC_redist.x64.exe,0
                               DisplayName          : Microsoft Visual C++ 2015-2019 Redistributable (x64) -
                               14.29.30139
                               DisplayVersion       : 14.29.30139.0
                               Publisher            : Microsoft Corporation
                               ModifyPath           : "C:\ProgramData\Package
                               Cache\{2c673fb6-3e65-4751-965d-33d30b68a8a6}\VC_redist.x64.exe" /modify
                               NoElevateOnModify    : 1
                               QuietUninstallString : "C:\ProgramData\Package
                               Cache\{2c673fb6-3e65-4751-965d-33d30b68a8a6}\VC_redist.x64.exe" /uninstall /quiet
                               UninstallString      : "C:\ProgramData\Package
                               Cache\{2c673fb6-3e65-4751-965d-33d30b68a8a6}\VC_redist.x64.exe"  /uninstall
                               Resume               : 3
                               Installed            : 1

That fixed the installation error, thanks!


10.12 patches

I managed to get portaudio compiled by modifying portaudio_configure_sdk.patch file but get an error during espeak.  I think I just need to link in the portaudio library but does it need to be installed first?
c++  -o speak speak.o compiledict.o dictionary.o intonation.o readclause.o setlengths.o numbers.o synth_mbrola.o synthdata.o synthesize.o translate.o mbrowrap.o tr_languages.o voices.o wavegen.o phonemelist.o klatt.o sonic.o -lstdc++ -lportaudio -lpthread
ld: library not found for -lportaudio
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [speak] Error 1
[ERRO] Error while compiling espeak

Yeah running a sudo make install after compiling portaudio did the trick.


Refactor Script Library

SUMMARY

Consolidate Pre-Fetch Scripts into Library, support CONFIG and PKGPATH variables (defaults)

consolidate powershell pre-fetch script into one script that accepts 1+ package downloads as a parameter, and deafults CONFIG
move pre-fetch scripts to scirpts/

Consolidate Install/Configure/Setup into Provision Library
Use hostname based provisioning scripts
Move packages out of JSON into CSV
Move ip address out of JSON into CSV
Move setup hostname/ssh script into provisioning library, support auto-fetching packages
Move setup vim configuration into provisioning library
Simplify Vagrantfile into dynamic vagrant file

Trusty version completed.

Updated in https://github.com/darkn3rd/learn-chefserver/pull/6


Question:: Terraform 0.12 Support

Are there plans to support terraform 0.12?

Sorry found this so feel free to ignore this question...
https://github.com/hashicorp/terraform-aws-consul/pull/138


the same URL is repeated twice in the gemspec

i think this is a typo?

Hi @ghiculescu!
Thanks for the PR! This does indeed look like an issue:
$ gem install secure_headers
Fetching: useragent-0.16.8.gem (100%)
Fetching: secure_headers-5.0.3.gem (100%)

**********
:wave: secure_headers 5.0 introduces a lot of breaking changes (in the name of security!). It's highly likely you will need to update your secure_headers cookie configuration to avoid breaking things. See the upgrade guide for details: https://github.com/twitter/secureheaders/blob/master/docs/upgrading-to-4-0.md https://github.com/twitter/secureheaders/blob/master/docs/upgrading-to-4-0.md
**********

Successfully installed useragent-0.16.8
Successfully installed secure_headers-5.0.3
2 gems installed

Copy paste considered harmful. Oh man, secure_headers 4.0 was such a mess 🤪
On Thu, Nov 23, 2017 at 2:54 PM Jacob Bednarz<EMAIL_ADDRESS>wrote:

Hi @ghiculescu https://github.com/ghiculescu!
Thanks for the PR! This does indeed look like an issue:
$ gem install secure_headers
Fetching: useragent-0.16.8.gem (100%)
Fetching: secure_headers-5.0.3.gem (100%)

:wave: secure_headers 5.0 introduces a lot of breaking changes (in the name of security!). It's highly likely you will need to update your secure_headers cookie configuration to avoid breaking things. See the upgrade guide for details: https://github.com/twitter/secureheaders/blob/master/docs/upgrading-to-4-0.md https://github.com/twitter/secureheaders/blob/master/docs/upgrading-to-4-0.md

Successfully installed useragent-0.16.8
Successfully installed secure_headers-5.0.3
2 gems installed
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/twitter/secureheaders/pull/374#issuecomment-346714596,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAbYBCoOluRKp2BfHARhtqllVBgE7K_sks5s5hPWgaJpZM4QpQt2
.

@ghiculescu would you be able to update the URL to point at the 5.x upgrade docs? https://github.com/twitter/secureheaders/blob/master/docs/upgrading-to-5-0.md

@jacobbednarz done!

LGTM ✨

Thanks!


Update travis-ci configuration

Build Mockito 2 is added.

Something seems to be wrong?

Mockito 2 module is built only in case profile "mockito2" is used. Otherwise normal build is execute with mockito 1.10 as dependence.
I found out it when I tried execute Mockito 2 build from master and saw compilation errors, but build was marked as Success.
About jdks, Powermock modifies byte code, so it could be issues which depends on environment.

Sorry, I answered from mobile and didn't see that build is failed. I find  reason and now commit fix.

As you may see everything is okay, now. By the way, I've removed build on other idk except oraclejdk8

I'll clear commit history and open new pull request.

Great!


[stable/sonarqube] Sonar certs

What this PR does / why we need it:
This fix provides simple support for custom ca certificates by generating a new cacerts file from the custom ca certificates provided and then using this.
I've changed how the environment variable are set to provide a clean break and allow SONARQUBE_WEB_JVM_OPTS to be set from a special location that can have the cacerts integrated with it.
New keys:

caCerts.secret - A secret containing a number of certificate keys to be added to cacerts
jvmOpts - Values to use for SONARQUBE_WEB_JVM_OPTS
env - Environment variables

Removed keys:

customCerts
extraEnv

Which issue this PR fixes

fixes #19894

Special notes for your reviewer:
I've made this a semver major change as I've changed some key behaviour to make the automatic integration of cacerts work correctly. This should have happened on the recent postgresql change to this chart.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

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

/assign @rjkernick

@rjkernick I've fixed the conflicts please could you review?

@tsiddique could you take a look at this please?

/ok-to-test

/lgtm